diff options
author | Dan Timoney <dtimoney@att.com> | 2021-04-05 13:53:27 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-05 13:53:27 +0000 |
commit | fd5fd074bfc28609fab61a0bf1674aaf0fe18682 (patch) | |
tree | a59a37371e65406d1bbaa007f8effd23f39b0ed0 /platform-logic | |
parent | 643e032e9078ab47e1abb1f088aaec58a3361c7c (diff) | |
parent | 5d94258701fd00424ccfb15415f534a0f0e5bb4a (diff) |
Merge "RAN Slice DG - Bug fixes"
Diffstat (limited to 'platform-logic')
13 files changed, 5788 insertions, 4146 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 c974dd01..ae0385bc 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": "761c81c0.93298", + "id": "ef2ca718.430178", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 118.4375, - "y": 113.4375, - "z": "73e537e.8932bc8", + "x": 174.16665649414062, + "y": 88.6111068725586, + "z": "8810ce64.4a102", "wires": [ [ - "9f552ddd.503aa" + "f487ed1.d8ff91" ] ] }, { - "id": "9f552ddd.503aa", + "id": "f487ed1.d8ff91", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -22,2492 +22,2872 @@ "comments": "", "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>", "outputs": 1, - "x": 203.4375228881836, - "y": 180.43746948242188, - "z": "73e537e.8932bc8", + "x": 259.1666793823242, + "y": 155.61107635498047, + "z": "8810ce64.4a102", "wires": [ [ - "f4b6fe3c.09964" + "54b7eb6a.51cd34" ] ] }, { - "id": "f4b6fe3c.09964", + "id": "54b7eb6a.51cd34", "type": "method", "name": "method", "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 137.4375, - "y": 240.43743515014648, - "z": "73e537e.8932bc8", + "x": 193.16665649414062, + "y": 215.61104202270508, + "z": "8810ce64.4a102", "wires": [ [ - "43cfd799.e43718" + "fc53b74f.5bca78" ] ] }, { - "id": "43cfd799.e43718", + "id": "fc53b74f.5bca78", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 159.9375114440918, - "y": 320.93750381469727, - "z": "73e537e.8932bc8", + "x": 215.66666793823242, + "y": 296.11111068725586, + "z": "8810ce64.4a102", "wires": [ [ - "f0cba510.d429c8", - "61526ba5.4b2eb4", - "1045a904.a81917", - "db76a950.2c38e8", - "952aa6bf.fd8938", - "d3040b3a.dd43a8", - "66891c41.e89ca4", - "a052b62c.1fa458", - "67aabd43.7b3e14", - "198c87cb.f1d948", - "d302afcf.237ef", - "f2b8e61a.a5c8c8", - "738ca283.54ba9c", - "c80b56a5.99a988", - "1c09cf50.00c361", - "20d20dea.8129f2", - "a16a753b.c1e978", - "ef19e8dd.548808", - "b72487f2.f75598", - "8eaff649.12a058", - "f53bf76b.8dba48" + "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" ] ] }, { - "id": "f0cba510.d429c8", + "id": "522069f6.36a2c8", "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": 741.6875, - "y": 501.6875081062317, - "z": "73e537e.8932bc8", + "x": 797.4167175292969, + "y": 491.3055667877197, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "61526ba5.4b2eb4", + "id": "48244fcd.67686", "type": "record", "name": "record configdb RestAPI params", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$ranNFNSSIId`\" />", "comments": "", "outputs": 1, - "x": 681.6875152587891, - "y": 552.687527179718, - "z": "73e537e.8932bc8", + "x": 737.4166717529297, + "y": 527.8611340522766, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1045a904.a81917", + "id": "b7808f5b.51c85", "type": "execute", - "name": "Get nearRTRIC for TrackingArea", + "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": 671.6875915527344, - "y": 604.6875576972961, - "z": "73e537e.8932bc8", + "x": 727.416748046875, + "y": 579.8611645698547, + "z": "8810ce64.4a102", "wires": [ [ - "12546ac7.74cd65", - "dcd91128.9ebfa" + "a9b256ac.842128", + "66038c0.8eb0274" ] ] }, { - "id": "12546ac7.74cd65", + "id": "a9b256ac.842128", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 970.5055961608887, - "y": 622.5055813789368, - "z": "73e537e.8932bc8", + "x": 1026.2347526550293, + "y": 597.6791882514954, + "z": "8810ce64.4a102", "wires": [ [ - "2520024f.3e60fe" + "498f20b0.325db" ] ] }, { - "id": "2520024f.3e60fe", + "id": "498f20b0.325db", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1140.5054931640625, - "y": 623.505696773529, - "z": "73e537e.8932bc8", + "x": 1196.2346496582031, + "y": 598.6793036460876, + "z": "8810ce64.4a102", "wires": [ [ - "c854edfe.78e89", - "80b014dc.086ba8" + "cc79fe58.bd76a", + "95d36220.b628d" ] ] }, { - "id": "c854edfe.78e89", + "id": "cc79fe58.bd76a", "type": "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": 1363.5052909851074, - "y": 568.5056805610657, - "z": "73e537e.8932bc8", + "x": 1419.234447479248, + "y": 543.6792874336243, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "80b014dc.086ba8", + "id": "95d36220.b628d", "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", + "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": 1359.283432006836, - "y": 639.5056881904602, - "z": "73e537e.8932bc8", + "x": 1415.0125885009766, + "y": 614.6792950630188, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "dcd91128.9ebfa", + "id": "66038c0.8eb0274", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 976.5055503845215, - "y": 562.5056653022766, - "z": "73e537e.8932bc8", + "x": 1032.234706878662, + "y": 537.6792721748352, + "z": "8810ce64.4a102", "wires": [ [ - "62e0747d.afde9c" + "560cf38c.29b49c" ] ] }, { - "id": "62e0747d.afde9c", + "id": "560cf38c.29b49c", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 1256.5056266784668, - "y": 468.5057191848755, - "z": "73e537e.8932bc8", + "x": 1312.2347831726074, + "y": 443.6793260574341, + "z": "8810ce64.4a102", "wires": [ [ - "11953360.467cdd", - "cf52b92f.10a1a8" + "7dbe505c.27a84", + "1d2d8078.f320b" ] ] }, { - "id": "11953360.467cdd", + "id": "7dbe505c.27a84", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>", "comments": "", - "x": 1434.50541305542, - "y": 422.6167459487915, - "z": "73e537e.8932bc8", + "x": 1490.2345695495605, + "y": 397.7903528213501, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "db76a950.2c38e8", + "id": "38be2a26.e07a36", "type": "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 terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-input.common-header.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-input.payload`\"/>", + "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": 646.4375, - "y": 129.43748664855957, - "z": "73e537e.8932bc8", + "x": 702.1666564941406, + "y": 104.61109352111816, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "952aa6bf.fd8938", + "id": "33072642.74859a", "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' />", + "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />", "comments": "", - "x": 685.437255859375, - "y": 172.43749904632568, - "z": "73e537e.8932bc8", + "x": 741.1664123535156, + "y": 147.61110591888428, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "d3040b3a.dd43a8", + "id": "d77970c5.107ab", "type": "execute", "name": "execute jsonStringToCtx", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />", + "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": 690.4372711181641, - "y": 217.18748474121094, - "z": "73e537e.8932bc8", + "x": 746.1664276123047, + "y": 192.36109161376953, + "z": "8810ce64.4a102", "wires": [ [ - "34ba53e7.4fbc7c" + "16633e83.085581" ] ] }, { - "id": "66891c41.e89ca4", + "id": "65905504.7752bc", "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", + "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": 661.1872253417969, - "y": 316.1770477294922, - "z": "73e537e.8932bc8", + "x": 705.8052749633789, + "y": 281.3506450653076, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "a052b62c.1fa458", + "id": "253dd730.841928", "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": 681.1872100830078, - "y": 357.1874132156372, - "z": "73e537e.8932bc8", + "x": 734.694221496582, + "y": 322.36106872558594, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "67aabd43.7b3e14", + "id": "72519e66.86268", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>", "comments": "", "outputs": 1, - "x": 654.6872825622559, - "y": 408.18753147125244, - "z": "73e537e.8932bc8", + "x": 703.7499370574951, + "y": 367.80558586120605, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "34ba53e7.4fbc7c", + "id": "16633e83.085581", "type": "other", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 956.9372825622559, - "y": 219.18747425079346, - "z": "73e537e.8932bc8", + "x": 1012.6664390563965, + "y": 194.36108112335205, + "z": "8810ce64.4a102", "wires": [ [ - "5b6cca11.9cad94" + "ad1a2b92.a458a8" ] ] }, { - "id": "5b6cca11.9cad94", + "id": "ad1a2b92.a458a8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1156.9374389648438, - "y": 221.9374704360962, - "z": "73e537e.8932bc8", + "x": 1212.6665954589844, + "y": 197.11107730865479, + "z": "8810ce64.4a102", "wires": [ [ - "98c043ee.951b8", - "423b0303.ed9b0c" + "31ecc915.f91656", + "298f13d.da229ec" ] ] }, { - "id": "98c043ee.951b8", + "id": "31ecc915.f91656", "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", + "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": 1346.937515258789, - "y": 183.43750476837158, - "z": "73e537e.8932bc8", + "x": 1402.6666717529297, + "y": 158.61111164093018, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "423b0303.ed9b0c", + "id": "298f13d.da229ec", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for terminateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n", + "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": 1346.18745803833, - "y": 247.43752098083496, - "z": "73e537e.8932bc8", + "x": 1401.9166145324707, + "y": 222.61112785339355, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "198c87cb.f1d948", + "id": "ae36073a.d61748", "type": "for", "name": "foreach NearRTRIC", - "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n", + "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n", "comments": "", "outputs": 1, - "x": 424.3750915527344, - "y": 1045.3125171661377, - "z": "73e537e.8932bc8", + "x": 480.104248046875, + "y": 1020.4861240386963, + "z": "8810ce64.4a102", "wires": [ [ - "bb11e40f.ebaa68", - "623b8887.a167d8", - "52b3e00e.e5abf" + "4a455a.c97ffaa8", + "4a7a46d9.0a7f98", + "616b13a5.03b89c", + "a26eb581.df1338" ] ] }, { - "id": "bb11e40f.ebaa68", + "id": "4a455a.c97ffaa8", "type": "block", "name": "Process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 689.6250305175781, - "y": 1038.7444477081299, - "z": "73e537e.8932bc8", + "x": 745.3541870117188, + "y": 1013.9180545806885, + "z": "8810ce64.4a102", "wires": [ [ - "4e224bda.30d0a4", - "d8c32c5c.092ed", - "8b1c383c.6f0db8" + "3ab9892a.507f56", + "60a218b5.42f148", + "6d4f086f.3c1ab8" ] ] }, { - "id": "4e224bda.30d0a4", + "id": "3ab9892a.507f56", "type": "execute", "name": "read CUCP list size", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1035.875015258789, - "y": 908.4943561553955, - "z": "73e537e.8932bc8", + "x": 1091.6041717529297, + "y": 883.6679630279541, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "d8c32c5c.092ed", + "id": "60a218b5.42f148", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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": 995.3749961853027, - "y": 955.9944334030151, - "z": "73e537e.8932bc8", + "x": 1051.1041526794434, + "y": 931.1680402755737, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "8b1c383c.6f0db8", + "id": "6d4f086f.3c1ab8", "type": "for", "name": "foreach CUCP", "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n", "comments": "", "outputs": 1, - "x": 1012.1251220703125, - "y": 1005.9944341182709, - "z": "73e537e.8932bc8", + "x": 1067.8542785644531, + "y": 981.1680409908295, + "z": "8810ce64.4a102", "wires": [ [ - "52cdfc02.d2b554" + "c042879b.9ee0c8" ] ] }, { - "id": "52cdfc02.d2b554", + "id": "c042879b.9ee0c8", "type": "block", "name": "block : process CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1223.125015258789, - "y": 969.244327545166, - "z": "73e537e.8932bc8", + "x": 1278.8541717529297, + "y": 944.4179344177246, + "z": "8810ce64.4a102", "wires": [ [ - "646b737c.114bfc", - "a4f6f876.fca2c8", - "705aec8e.889684", - "effc97f7.aa0768" + "b1097c38.58417", + "f20f72c3.586ff", + "12c2d2c7.ff60fd", + "8168d645.c4e9d8" ] ] }, { - "id": "646b737c.114bfc", + "id": "b1097c38.58417", "type": "execute", "name": "read CUCP name", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />", "comments": "", "outputs": 1, - "x": 1477.8750228881836, - "y": 705.9943523406982, - "z": "73e537e.8932bc8", + "x": 1533.604263305664, + "y": 674.501335144043, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "705aec8e.889684", + "id": "12c2d2c7.ff60fd", "type": "record", "name": "record", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n", + "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/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": 1449.625114440918, - "y": 754.4943389892578, - "z": "73e537e.8932bc8", + "x": 1505.3542709350586, + "y": 729.6679458618164, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "effc97f7.aa0768", + "id": "8168d645.c4e9d8", "type": "execute", "name": "read cellCU list size", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1486.8750228881836, - "y": 802.2443542480469, - "z": "73e537e.8932bc8", + "x": 1542.6041793823242, + "y": 777.4179611206055, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "a4f6f876.fca2c8", + "id": "f20f72c3.586ff", "type": "for", "name": "for cellCUList", "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n", "comments": "", "outputs": 1, - "x": 1461.8749923706055, - "y": 854.9943695068359, - "z": "73e537e.8932bc8", + "x": 1517.604148864746, + "y": 830.1679763793945, + "z": "8810ce64.4a102", "wires": [ [ - "e61d08b.c8d36f8" + "846567ee.819058" ] ] }, { - "id": "e61d08b.c8d36f8", + "id": "846567ee.819058", "type": "block", "name": "block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1676.8750343322754, - "y": 855.2443866729736, - "z": "73e537e.8932bc8", + "x": 1732.604190826416, + "y": 830.4179935455322, + "z": "8810ce64.4a102", "wires": [ [ - "d3fb7cf3.0407", - "90d4169b.0cd418" + "958049c8.3f4fa8", + "a603b30f.95aef", + "ba2b4d57.e2ac" ] ] }, { - "id": "d3fb7cf3.0407", + "id": "958049c8.3f4fa8", "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 '`\" />", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />", "comments": "", "outputs": 1, - "x": 1908.2781448364258, - "y": 828.3415851593018, - "z": "73e537e.8932bc8", + "x": 1949.5630798339844, + "y": 769.0709629058838, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "90d4169b.0cd418", + "id": "ba2b4d57.e2ac", "type": "for", "name": "foreach PLMNInfo", "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n", "comments": "", "outputs": 1, - "x": 1922.8615798950195, - "y": 892.091628074646, - "z": "73e537e.8932bc8", + "x": 1978.5907363891602, + "y": 867.2652349472046, + "z": "8810ce64.4a102", "wires": [ [ - "1306eaa1.403c05" + "d8d6c45.3f70e38" ] ] }, { - "id": "1306eaa1.403c05", + "id": "d8d6c45.3f70e38", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2100.750556945801, - "y": 814.8694171905518, - "z": "73e537e.8932bc8", + "x": 2156.4797134399414, + "y": 790.0430240631104, + "z": "8810ce64.4a102", "wires": [ [ - "d2c18ab3.c24978", - "eaa59340.e8939", - "980da038.262e2" + "a9bbaf09.71923", + "11976132.1e5c0f", + "20bb732f.19585c" ] ] }, { - "id": "980da038.262e2", + "id": "20bb732f.19585c", "type": "execute", "name": "read sNSSAI from getNFNSSIRIC-configdb-response", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />", "comments": "", "outputs": 1, - "x": 2435.6394119262695, - "y": 770.0916481018066, - "z": "73e537e.8932bc8", + "x": 2506.9241333007812, + "y": 803.0430192947388, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "d2c18ab3.c24978", + "id": "a9bbaf09.71923", "type": "record", "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/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": 2306.639518737793, - "y": 838.0915994644165, - "z": "73e537e.8932bc8", + "x": 2365.7020378112793, + "y": 836.5985450744629, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "eaa59340.e8939", + "id": "11976132.1e5c0f", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 2345.5283584594727, - "y": 902.6471662521362, - "z": "73e537e.8932bc8", + "x": 2401.2575149536133, + "y": 877.8207731246948, + "z": "8810ce64.4a102", "wires": [ [ - "4f3107a.2937ef8" + "5b09ebc6.efe9e4" ] ] }, { - "id": "4f3107a.2937ef8", + "id": "5b09ebc6.efe9e4", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2535.000556945801, - "y": 902.8694953918457, - "z": "73e537e.8932bc8", + "x": 2590.7297134399414, + "y": 878.0431022644043, + "z": "8810ce64.4a102", "wires": [ [ - "1d241be7.c8bbc4" + "d7a8b93a.948468" ] ] }, { - "id": "1d241be7.c8bbc4", + "id": "d7a8b93a.948468", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2755.625, - "y": 900.625, - "z": "73e537e.8932bc8", + "x": 2811.3541564941406, + "y": 875.7986068725586, + "z": "8810ce64.4a102", "wires": [ [ - "a302bf1.efd614", - "3fd39755.b5cbf8", - "3a12865a.0d117a", - "299e60f.af51ea", - "ba736919.8a3b38", - "bccb9a19.543658", - "29628860.8b8dc8", - "a04a1ff1.c04b6", - "45de62b8.cced2c" + "6c62ceff.19a3d", + "a8c3eb35.841368", + "33dff673.7b4ada", + "55ec219e.8af69", + "93fa1df2.1b084", + "901e14df.7d5258", + "a24b8d43.bcbfe", + "460302ae.396fcc", + "c7140a97.a32808" ] ] }, { - "id": "45de62b8.cced2c", + "id": "c7140a97.a32808", "type": "record", "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/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": 2950.625, - "y": 895.625, - "z": "73e537e.8932bc8", + "x": 3006.3541564941406, + "y": 870.7986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "a04a1ff1.c04b6", + "id": "460302ae.396fcc", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2978.625, - "y": 963.625, - "z": "73e537e.8932bc8", + "x": 3034.3541564941406, + "y": 938.7986068725586, + "z": "8810ce64.4a102", "wires": [ [ - "27bc8985.294fc6", - "3ce10ed5.092432" + "4d052798.d7d948", + "74f67b3.0788684" ] ] }, { - "id": "27bc8985.294fc6", + "id": "4d052798.d7d948", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3186.625, - "y": 928.624755859375, - "z": "73e537e.8932bc8", + "x": 3242.3541564941406, + "y": 903.7983627319336, + "z": "8810ce64.4a102", "wires": [ [ - "5c98a9b7.805fb8" + "aaadbb43.ac8a08" ] ] }, { - "id": "5c98a9b7.805fb8", + "id": "aaadbb43.ac8a08", "type": "execute", "name": "generate patch PLMNInfoListEntry ToNRCellCU", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n", "comments": "", "outputs": 1, - "x": 3506.625, - "y": 943.625, - "z": "73e537e.8932bc8", + "x": 3562.3541564941406, + "y": 918.7986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "c0149f76.a0f0e", + "id": "1b8ce5f9.2c88ca", "type": "execute", "name": "generate patchPLMNInfoList.ToNRCellCU", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 3685.125030517578, - "y": 1001.6249389648438, - "z": "73e537e.8932bc8", + "x": 3740.8541870117188, + "y": 976.7985458374023, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "986e780a.2b92f8", + "id": "ca26c0f6.4566f", "type": "execute", "name": "populate mountName", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>", "comments": "", "outputs": 1, - "x": 3629.125431060791, - "y": 1054.62513256073, - "z": "73e537e.8932bc8", + "x": 3684.8545875549316, + "y": 1029.7987394332886, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "ceac5f2d.de7c3", + "id": "146ea38c.756e1c", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3378.125, - "y": 1031.625, - "z": "73e537e.8932bc8", + "x": 3433.8541564941406, + "y": 1006.7986068725586, + "z": "8810ce64.4a102", "wires": [ [ - "c0149f76.a0f0e", - "986e780a.2b92f8" + "1b8ce5f9.2c88ca", + "ca26c0f6.4566f" ] ] }, { - "id": "3ce10ed5.092432", + "id": "74f67b3.0788684", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3174.625, - "y": 1030.625, - "z": "73e537e.8932bc8", + "x": 3230.3541564941406, + "y": 1005.7986068725586, + "z": "8810ce64.4a102", "wires": [ [ - "ceac5f2d.de7c3" + "146ea38c.756e1c" ] ] }, { - "id": "a302bf1.efd614", + "id": "6c62ceff.19a3d", "type": "execute", "name": "read cellCU", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />", "comments": "", "outputs": 1, - "x": 2945.625, - "y": 1063.625, - "z": "73e537e.8932bc8", + "x": 3001.3541564941406, + "y": 1038.7986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "ba736919.8a3b38", + "id": "93fa1df2.1b084", "type": "execute", "name": "prepare idGNBCUCPFunction", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n", "comments": "", "outputs": 1, - "x": 2972.625, - "y": 1127.625, - "z": "73e537e.8932bc8", + "x": 3028.3541564941406, + "y": 1102.7986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "bccb9a19.543658", + "id": "901e14df.7d5258", "type": "execute", "name": "prepare idNRCellCU", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n", "comments": "", "outputs": 1, - "x": 2933.625259399414, - "y": 1173.1250286102295, - "z": "73e537e.8932bc8", + "x": 2989.3544158935547, + "y": 1148.298635482788, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "29628860.8b8dc8", + "id": "a24b8d43.bcbfe", "type": "execute", "name": "prepare mcc", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ", "comments": "", "outputs": 1, - "x": 2899.3750610351562, - "y": 1254.8750562667847, - "z": "73e537e.8932bc8", + "x": 2955.104217529297, + "y": 1230.0486631393433, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "3fd39755.b5cbf8", + "id": "a8c3eb35.841368", "type": "execute", "name": "prepare mnc", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", "comments": "", "outputs": 1, - "x": 2888.12548828125, - "y": 1315.125072479248, - "z": "73e537e.8932bc8", + "x": 2943.8546447753906, + "y": 1290.2986793518066, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "3a12865a.0d117a", + "id": "33dff673.7b4ada", "type": "record", "name": "record API params", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n", "comments": "", "outputs": 1, - "x": 2884.625, - "y": 1383.625, - "z": "73e537e.8932bc8", + "x": 2940.3541564941406, + "y": 1358.7986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "299e60f.af51ea", + "id": "55ec219e.8af69", "type": "execute", - "name": "activate PLMNInfoListEntry ToNRCellCU", + "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": 2924.6251068115234, - "y": 1446.6249732971191, - "z": "73e537e.8932bc8", + "x": 2980.354263305664, + "y": 1421.7985801696777, + "z": "8810ce64.4a102", "wires": [ [ - "2cf676c2.3fd4ea", - "f8fba380.e8c38" + "c4715537.4d9d28", + "6fe83c14.47c9a4" ] ] }, { - "id": "f8fba380.e8c38", + "id": "6fe83c14.47c9a4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3140.62508392334, - "y": 1325.6249732971191, - "z": "73e537e.8932bc8", + "x": 3196.3542404174805, + "y": 1300.7985801696777, + "z": "8810ce64.4a102", "wires": [ [ - "930a46d3.3df258" + "912dcb56.c269b8" ] ] }, { - "id": "930a46d3.3df258", + "id": "912dcb56.c269b8", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3290.625358581543, - "y": 1284.625156402588, - "z": "73e537e.8932bc8", + "x": 3346.3545150756836, + "y": 1259.7987632751465, + "z": "8810ce64.4a102", "wires": [ [ - "debf2a5f.a15d48", - "62751a13.a72014", - "cf52b92f.10a1a8" + "cd61ffc8.1b20e", + "bfb86283.3c1ca", + "1d2d8078.f320b" ] ] }, { - "id": "62751a13.a72014", + "id": "bfb86283.3c1ca", "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": 3456.625114440918, - "y": 1250.625156402588, - "z": "73e537e.8932bc8", + "x": 3512.3542709350586, + "y": 1225.7987632751465, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "debf2a5f.a15d48", + "id": "cd61ffc8.1b20e", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>", "comments": "", - "x": 3461.6249923706055, - "y": 1345.6252174377441, - "z": "73e537e.8932bc8", + "x": 3517.354148864746, + "y": 1320.7988243103027, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "54cfb6bf.e47b78", + "id": "2b3fb6b4.a0e59a", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>", "comments": "", "outputs": 1, - "x": 3546.6249618530273, - "y": 1438.625400543213, - "z": "73e537e.8932bc8", + "x": 3602.354118347168, + "y": 1413.7990074157715, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "188f83ea.3d48fc", + "id": "74c7cb25.bf1b14", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3348.624900817871, - "y": 1441.6252784729004, - "z": "73e537e.8932bc8", + "x": 3404.3540573120117, + "y": 1416.798885345459, + "z": "8810ce64.4a102", "wires": [ [ - "54cfb6bf.e47b78" + "2b3fb6b4.a0e59a" ] ] }, { - "id": "2cf676c2.3fd4ea", + "id": "c4715537.4d9d28", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3175.625114440918, - "y": 1442.6252174377441, - "z": "73e537e.8932bc8", + "x": 3231.3542709350586, + "y": 1417.7988243103027, + "z": "8810ce64.4a102", "wires": [ [ - "188f83ea.3d48fc" + "74c7cb25.bf1b14" ] ] }, { - "id": "d302afcf.237ef", - "type": "set", - "name": "set status as ACTIVE", - "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />", - "comments": "", - "x": 693.4375, - "y": 454.375, - "z": "73e537e.8932bc8", - "wires": [] - }, - { - "id": "f2b8e61a.a5c8c8", + "id": "e8706dc4.5a81b", "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", + "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n", "comments": "", "outputs": 1, - "x": 698.1250152587891, - "y": 263.4375057220459, - "z": "73e537e.8932bc8", + "x": 753.8541717529297, + "y": 238.6111125946045, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "623b8887.a167d8", + "id": "4a7a46d9.0a7f98", "type": "block", "name": "Process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 690.6250534057617, - "y": 1180.6250257492065, - "z": "73e537e.8932bc8", + "x": 746.3542098999023, + "y": 1155.7986326217651, + "z": "8810ce64.4a102", "wires": [ [ - "5edb379d.514778", - "4d3d871.621e378", - "b3a7abd3.ab2ac8" + "4fc4f5dc.4d5aac", + "c239af8f.4c02d", + "a2079e60.52fde" ] ] }, { - "id": "5edb379d.514778", + "id": "4fc4f5dc.4d5aac", "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": 1021.625057220459, - "y": 1080.6250228881836, - "z": "73e537e.8932bc8", + "x": 1077.3542137145996, + "y": 1055.7986297607422, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "4d3d871.621e378", + "id": "c239af8f.4c02d", "type": "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": 978.6251220703125, - "y": 1131.8750252723694, - "z": "73e537e.8932bc8", + "x": 1034.3542785644531, + "y": 1107.048632144928, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b3a7abd3.ab2ac8", + "id": "a2079e60.52fde", "type": "for", "name": "foreach CUUP", "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n", "comments": "", "outputs": 1, - "x": 1004.1250152587891, - "y": 1180.6250247955322, - "z": "73e537e.8932bc8", + "x": 1059.8541717529297, + "y": 1155.7986316680908, + "z": "8810ce64.4a102", "wires": [ [ - "b36e4008.81623" + "dbbdd777.2bef48" ] ] }, { - "id": "b36e4008.81623", + "id": "dbbdd777.2bef48", "type": "block", "name": "block : process CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1227.6250610351562, - "y": 1163.8750705718994, - "z": "73e537e.8932bc8", + "x": 1283.3542175292969, + "y": 1139.048677444458, + "z": "8810ce64.4a102", "wires": [ [ - "22f58645.55e61a", - "62e419e7.9c4ab8", - "7516a8f.7a59058", - "5c4c4274.95bb3c" + "a133ebb1.7208f8", + "4f005e6b.cdbf2", + "bd72fca6.c509e", + "7a4b5310.f8c63c" ] ] }, { - "id": "22f58645.55e61a", + "id": "a133ebb1.7208f8", "type": "execute", "name": "read CUUP id", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />", "comments": "", "outputs": 1, - "x": 1471.625, - "y": 939.125, - "z": "73e537e.8932bc8", + "x": 1527.3541564941406, + "y": 914.2986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "62e419e7.9c4ab8", + "id": "4f005e6b.cdbf2", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n", "comments": "", "outputs": 1, - "x": 1467.625, - "y": 993.125, - "z": "73e537e.8932bc8", + "x": 1523.3541564941406, + "y": 968.2986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "7516a8f.7a59058", + "id": "bd72fca6.c509e", "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": 1518.625, - "y": 1058.125, - "z": "73e537e.8932bc8", + "x": 1574.3541564941406, + "y": 1033.2986068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "5c4c4274.95bb3c", + "id": "7a4b5310.f8c63c", "type": "for", "name": "foreach pLMNInfo", "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n", "comments": "", "outputs": 1, - "x": 1504.625, - "y": 1113.125, - "z": "73e537e.8932bc8", + "x": 1560.3541564941406, + "y": 1088.2986068725586, + "z": "8810ce64.4a102", "wires": [ [ - "2c5e82ef.5ab08e" + "20e32925.344246" ] ] }, { - "id": "2c5e82ef.5ab08e", + "id": "22705dcb.70b392", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1743.75, - "y": 1110.3125, - "z": "73e537e.8932bc8", + "x": 1799.4791564941406, + "y": 1085.4861068725586, + "z": "8810ce64.4a102", "wires": [ [ - "d7e78b50.130018", - "ae1fc405.ff2a58", - "ce7f221.e3090e" + "8429c3b8.a1992", + "91e2f682.5ee478", + "19245baa.f98764", + "760fbb9c.1fe0f4", + "c1d6662b.ac2dc8", + "4ae26bfb.2cf8b4" ] ] }, { - "id": "d7e78b50.130018", + "id": "8429c3b8.a1992", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1957.000259399414, - "y": 1111.0626487731934, - "z": "73e537e.8932bc8", + "x": 2012.7294158935547, + "y": 1086.236255645752, + "z": "8810ce64.4a102", "wires": [ [ - "43dda371.85d0cc", - "b28fc0c6.768a6" + "8ddc5a57.7d51f8", + "5dcf9efb.36263" ] ] }, { - "id": "43dda371.85d0cc", + "id": "8ddc5a57.7d51f8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2170.000141143799, - "y": 1078.5622673034668, - "z": "73e537e.8932bc8", + "x": 2225.7292976379395, + "y": 1053.7358741760254, + "z": "8810ce64.4a102", "wires": [ [ - "92eabe0e.0ecdb" + "b493fd94.6742b" ] ] }, { - "id": "92eabe0e.0ecdb", + "id": "b493fd94.6742b", "type": "execute", "name": "generate patch PLMNInfoListEntry CUUP URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n", "comments": "", "outputs": 1, - "x": 2495.0000228881836, - "y": 1033.5625715255737, - "z": "73e537e.8932bc8", + "x": 2550.729179382324, + "y": 1008.7361783981323, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1e03d99f.4b54d6", + "id": "8f6ac090.b47a3", "type": "execute", "name": "generate patchPLMNInfoList.TogNBCUUP", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", "comments": "", "outputs": 1, - "x": 2605.7495651245117, - "y": 1116.3122825622559, - "z": "73e537e.8932bc8", + "x": 2661.4787216186523, + "y": 1091.4858894348145, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "cfddd286.9a08f", + "id": "ac53172f.a81cc8", "type": "execute", "name": "populate mountName", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>", "comments": "", "outputs": 1, - "x": 2589.7500858306885, - "y": 1184.3125429153442, - "z": "73e537e.8932bc8", + "x": 2645.479242324829, + "y": 1159.4861497879028, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1e46f7a0.12e1b8", + "id": "8cd56360.4c754", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2329.999870300293, - "y": 1175.062283039093, - "z": "73e537e.8932bc8", + "x": 2385.7290267944336, + "y": 1150.2358899116516, + "z": "8810ce64.4a102", "wires": [ [ - "1e03d99f.4b54d6", - "cfddd286.9a08f" + "8f6ac090.b47a3", + "ac53172f.a81cc8" ] ] }, { - "id": "b28fc0c6.768a6", + "id": "5dcf9efb.36263", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2155.500015258789, - "y": 1164.31254196167, - "z": "73e537e.8932bc8", + "x": 2211.2291717529297, + "y": 1139.4861488342285, + "z": "8810ce64.4a102", "wires": [ [ - "1e46f7a0.12e1b8" + "8cd56360.4c754" ] ] }, { - "id": "ae1fc405.ff2a58", + "id": "91e2f682.5ee478", "type": "execute", "name": "prepare idGNBCUUPFunction", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n", "comments": "", "outputs": 1, - "x": 1983.4375, - "y": 1241.875, - "z": "73e537e.8932bc8", + "x": 2081.3887939453125, + "y": 1199.2708134651184, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "ce7f221.e3090e", + "id": "19245baa.f98764", "type": "execute", "name": "patch PLMNInfoListEntry gNBCUUP", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-gNBCUUP-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />", "comments": "", "outputs": 1, - "x": 1999.4375, - "y": 1298.875, - "z": "73e537e.8932bc8", + "x": 2030.7222900390625, + "y": 1312.937484741211, + "z": "8810ce64.4a102", "wires": [ [ - "aee81218.72027", - "7d297bbe.d06bd4" + "607507d2.076828", + "a4ba49bc.319898" ] ] }, { - "id": "aee81218.72027", + "id": "607507d2.076828", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2301.4376525878906, - "y": 1300.8752393722534, - "z": "73e537e.8932bc8", + "x": 2357.1668090820312, + "y": 1276.048846244812, + "z": "8810ce64.4a102", "wires": [ [ - "8453c6af.a13a18" + "3b8c2bff.4a8384" ] ] }, { - "id": "7d297bbe.d06bd4", + "id": "a4ba49bc.319898", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2295.437530517578, - "y": 1367.8751783370972, - "z": "73e537e.8932bc8", + "x": 2351.1666870117188, + "y": 1343.0487852096558, + "z": "8810ce64.4a102", "wires": [ [ - "d8b21643.b8fd78" + "897bf22d.1244" ] ] }, { - "id": "8453c6af.a13a18", + "id": "3b8c2bff.4a8384", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2478.437774658203, - "y": 1289.875117301941, - "z": "73e537e.8932bc8", + "x": 2534.1669311523438, + "y": 1265.0487241744995, + "z": "8810ce64.4a102", "wires": [ [ - "1de38af1.68ef85", - "484c6fd2.3298c", - "cf52b92f.10a1a8" + "dcb187c6.3c2a98", + "6fe85c0b.cfed34", + "1d2d8078.f320b" ] ] }, { - "id": "d8b21643.b8fd78", + "id": "897bf22d.1244", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2475.437530517578, - "y": 1372.8749952316284, - "z": "73e537e.8932bc8", + "x": 2531.1666870117188, + "y": 1348.048602104187, + "z": "8810ce64.4a102", "wires": [ [ - "bd12c7c4.296008" + "b6c60408.ac42f8" ] ] }, { - "id": "bd12c7c4.296008", + "id": "b6c60408.ac42f8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>", "comments": "", "outputs": 1, - "x": 2628.437225341797, - "y": 1372.8752393722534, - "z": "73e537e.8932bc8", + "x": 2684.1663818359375, + "y": 1348.048846244812, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1de38af1.68ef85", + "id": "dcb187c6.3c2a98", "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": 2683.1877365112305, - "y": 1290.3753967285156, - "z": "73e537e.8932bc8", + "x": 2738.916893005371, + "y": 1265.5490036010742, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "484c6fd2.3298c", + "id": "6fe85c0b.cfed34", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>", "comments": "", - "x": 2688.1879234313965, - "y": 1236.3755326271057, - "z": "73e537e.8932bc8", + "x": 2743.917079925537, + "y": 1211.5491394996643, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "52b3e00e.e5abf", + "id": "616b13a5.03b89c", "type": "block", "name": "Process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 685.0000076293945, - "y": 1329.0625247955322, - "z": "73e537e.8932bc8", + "x": 740.7291641235352, + "y": 1304.2361316680908, + "z": "8810ce64.4a102", "wires": [ [ - "7e06ceca.74922", - "1051a27a.b8e44e", - "352a5eb7.c4dff2" + "10fb2c3d.dfce64", + "70cc2ee.327ead", + "6a2616fc.39c188" ] ] }, { - "id": "7e06ceca.74922", + "id": "10fb2c3d.dfce64", "type": "execute", "name": "read DUlist size", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1017.7500305175781, - "y": 1235.0625114440918, - "z": "73e537e.8932bc8", + "x": 1073.4791870117188, + "y": 1210.2361183166504, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1051a27a.b8e44e", + "id": "70cc2ee.327ead", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n", "comments": "", "outputs": 1, - "x": 990.750057220459, - "y": 1278.562572479248, - "z": "73e537e.8932bc8", + "x": 1046.4792137145996, + "y": 1253.7361793518066, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "352a5eb7.c4dff2", + "id": "6a2616fc.39c188", "type": "for", "name": "foreach DU", "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n", "comments": "", "outputs": 1, - "x": 1002.7500305175781, - "y": 1329.8125, - "z": "73e537e.8932bc8", + "x": 1058.4791870117188, + "y": 1304.9861068725586, + "z": "8810ce64.4a102", "wires": [ [ - "e932e598.a8e4d8" + "56903078.1f15a" ] ] }, { - "id": "e932e598.a8e4d8", + "id": "56903078.1f15a", "type": "block", "name": "block : process gNBDU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1283.75, - "y": 1330.8124694824219, - "z": "73e537e.8932bc8", + "x": 1339.4791564941406, + "y": 1305.9860763549805, + "z": "8810ce64.4a102", "wires": [ [ - "67418177.4b675", - "76ffbff1.a238b", - "4501d8aa.3adbf8", - "48d81af7.03f064" + "8815af69.bf19a", + "6c129f65.c2cb9", + "d9dc2c7b.dd00a", + "dc885ed2.b0e5d" ] ] }, { - "id": "67418177.4b675", + "id": "8815af69.bf19a", "type": "execute", "name": "read DU id", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />", "comments": "", "outputs": 1, - "x": 1562.7498245239258, - "y": 1326.8117713928223, - "z": "73e537e.8932bc8", + "x": 1618.4789810180664, + "y": 1301.9853782653809, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "76ffbff1.a238b", + "id": "6c129f65.c2cb9", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n", "comments": "", "outputs": 1, - "x": 1535.7498245239258, - "y": 1377.8117713928223, - "z": "73e537e.8932bc8", + "x": 1591.4789810180664, + "y": 1352.9853782653809, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "4501d8aa.3adbf8", + "id": "d9dc2c7b.dd00a", "type": "execute", "name": "read cellDU list size", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n ", "comments": "", "outputs": 1, - "x": 1576.7498245239258, - "y": 1426.8117713928223, - "z": "73e537e.8932bc8", + "x": 1632.4789810180664, + "y": 1401.9853782653809, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "48d81af7.03f064", + "id": "dc885ed2.b0e5d", "type": "for", "name": "for cellDUList", "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n", "comments": "", "outputs": 1, - "x": 1566.7498245239258, - "y": 1470.8117713928223, - "z": "73e537e.8932bc8", + "x": 1622.4789810180664, + "y": 1445.9853782653809, + "z": "8810ce64.4a102", "wires": [ [ - "98b4252b.430ee8" + "cf6daf94.a4519" ] ] }, { - "id": "98b4252b.430ee8", + "id": "cf6daf94.a4519", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1726.499885559082, - "y": 1470.5618963241577, - "z": "73e537e.8932bc8", + "x": 1782.2290420532227, + "y": 1445.7355031967163, + "z": "8810ce64.4a102", "wires": [ [ - "13016587.c7632a", - "c22a6693.7c9d58" + "cd3443f.60a62c", + "fa791c73.94b2e", + "a86c8a66.29e048" ] ] }, { - "id": "13016587.c7632a", + "id": "cd3443f.60a62c", "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 '`\" />", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />", "comments": "", "outputs": 1, - "x": 1974.6875, - "y": 1470.3125, - "z": "73e537e.8932bc8", + "x": 2030.4166564941406, + "y": 1445.4861068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "c22a6693.7c9d58", + "id": "fa791c73.94b2e", "type": "for", "name": "foreach PLMNInfo", "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n", "comments": "", "outputs": 1, - "x": 1953.0208740234375, - "y": 1540.3125, - "z": "73e537e.8932bc8", + "x": 2008.7500305175781, + "y": 1515.4861068725586, + "z": "8810ce64.4a102", "wires": [ [ - "ae921aff.c45078" + "313e638f.f742ec" ] ] }, { - "id": "ae921aff.c45078", + "id": "313e638f.f742ec", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2138.4096603393555, - "y": 1534.3402099609375, - "z": "73e537e.8932bc8", + "x": 2194.138816833496, + "y": 1509.513816833496, + "z": "8810ce64.4a102", "wires": [ [ - "7383ae7b.5b99f", - "7503b7ce.7796d8", - "e0761d19.bc37e" + "52e7e56.cbb151c", + "e0f61457.8125e8", + "91bf12a7.d0c93" ] ] }, { - "id": "e0761d19.bc37e", + "id": "e0f61457.8125e8", "type": "execute", "name": "read sNSSAI from getNFNSSIRIC-configdb-response", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />", "comments": "", "outputs": 1, - "x": 2513.2986068725586, - "y": 1453.3128719329834, - "z": "73e537e.8932bc8", + "x": 2565.694496154785, + "y": 1449.5976209640503, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "7383ae7b.5b99f", + "id": "cf30123e.20ea6", "type": "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": 2374.2986030578613, - "y": 1511.3127517700195, - "z": "73e537e.8932bc8", + "x": 2430.027759552002, + "y": 1486.4863586425781, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "7503b7ce.7796d8", + "id": "52e7e56.cbb151c", "type": "switchNode", "name": "is NSSAI exists", "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n", "comments": "", "outputs": 1, - "x": 2369.43758392334, - "y": 1560.8682289123535, - "z": "73e537e.8932bc8", + "x": 2425.1667404174805, + "y": 1536.041835784912, + "z": "8810ce64.4a102", "wires": [ [ - "8ded1517.4c32d8" + "3a8ebde1.e6da42" ] ] }, { - "id": "8ded1517.4c32d8", + "id": "3a8ebde1.e6da42", "type": "outcome", "name": "True", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2543.909828186035, - "y": 1553.5905861854553, - "z": "73e537e.8932bc8", + "x": 2599.638984680176, + "y": 1528.764193058014, + "z": "8810ce64.4a102", "wires": [ [ - "50499d51.fe3e14" + "274d0a32.b45fa6" ] ] }, { - "id": "50499d51.fe3e14", + "id": "274d0a32.b45fa6", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2717.937629699707, - "y": 1549.56272315979, - "z": "73e537e.8932bc8", + "x": 2773.6667861938477, + "y": 1524.7363300323486, + "z": "8810ce64.4a102", "wires": [ [ - "4efbb0f2.f7229", - "67913975.042ea8", - "b11b382e.43f478", - "9472e52c.249c78", - "7eb7f6b8.3dba48", - "9a055ee1.e66aa", - "b402baa1.acbe58", - "b43da734.c06b08", - "3b663477.76ed6c" + "71cdbc0a.3622b4", + "ec44bdd1.bcf45", + "b4f0ef58.afece", + "38f96ec1.612702", + "87bfb017.e52f5", + "622005bb.6ae9cc", + "ef70ea15.eee9e8" ] ] }, { - "id": "67913975.042ea8", + "id": "5253749f.cf47cc", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n", "comments": "", "outputs": 1, - "x": 2930.4379959106445, - "y": 1518.3127232789993, - "z": "73e537e.8932bc8", + "x": 2986.167152404785, + "y": 1493.486330151558, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "4efbb0f2.f7229", + "id": "71cdbc0a.3622b4", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2934.6875076293945, - "y": 1576.3127555847168, - "z": "73e537e.8932bc8", + "x": 2990.416664123535, + "y": 1551.4863624572754, + "z": "8810ce64.4a102", "wires": [ [ - "c638f3de.dea5", - "78e627e0.d15b08" + "3f634a3a.bbc3a6", + "e495c954.919aa8" ] ] }, { - "id": "c638f3de.dea5", + "id": "3f634a3a.bbc3a6", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3143.937999725342, - "y": 1531.3122968673706, - "z": "73e537e.8932bc8", + "x": 3199.6671562194824, + "y": 1506.4859037399292, + "z": "8810ce64.4a102", "wires": [ [ - "a42b1236.4707e" + "42c47733.226eb8" ] ] }, { - "id": "78e627e0.d15b08", + "id": "e495c954.919aa8", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3138.937999725342, - "y": 1592.8129997253418, - "z": "73e537e.8932bc8", + "x": 3194.6671562194824, + "y": 1567.9866065979004, + "z": "8810ce64.4a102", "wires": [ [ - "8131e6bc.784858" + "605bb58c.b455ec" ] ] }, { - "id": "a42b1236.4707e", + "id": "42c47733.226eb8", "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": 3490.187759399414, - "y": 1530.0627536773682, - "z": "73e537e.8932bc8", + "x": 3545.9169158935547, + "y": 1505.2363605499268, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "8131e6bc.784858", + "id": "605bb58c.b455ec", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3316.4375762939453, - "y": 1599.3126335144043, - "z": "73e537e.8932bc8", + "x": 3372.166732788086, + "y": 1574.486240386963, + "z": "8810ce64.4a102", "wires": [ [ - "1754b665.854bca", - "b0b55a4d.efcde8" + "18b79e75.37e392", + "f0161312.03f32" ] ] }, { - "id": "1754b665.854bca", + "id": "18b79e75.37e392", "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": 3598.437942504883, - "y": 1588.0626335144043, - "z": "73e537e.8932bc8", + "x": 3654.1670989990234, + "y": 1563.236240386963, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b0b55a4d.efcde8", + "id": "f0161312.03f32", "type": "execute", "name": "populate mountName", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>", "comments": "", "outputs": 1, - "x": 3548.688247680664, - "y": 1648.5626649856567, - "z": "73e537e.8932bc8", + "x": 3604.4174041748047, + "y": 1623.7362718582153, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b11b382e.43f478", - "type": "execute", - "name": "read cellDU", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />", - "comments": "", - "outputs": 1, - "x": 2926.5625, - "y": 1638.125, - "z": "73e537e.8932bc8", - "wires": [ - [] - ] - }, - { - "id": "9472e52c.249c78", + "id": "ec44bdd1.bcf45", "type": "execute", "name": "prepare idGNBDUFunction", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n", "comments": "", "outputs": 1, - "x": 2981.5625610351562, - "y": 1703.1249380111694, - "z": "73e537e.8932bc8", + "x": 3037.291717529297, + "y": 1678.298544883728, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "7eb7f6b8.3dba48", + "id": "b4f0ef58.afece", "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": 2954.562744140625, - "y": 1758.124939918518, - "z": "73e537e.8932bc8", + "x": 3010.2919006347656, + "y": 1733.2985467910767, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "9a055ee1.e66aa", + "id": "38f96ec1.612702", "type": "execute", "name": "prepare mcc", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ", "comments": "", "outputs": 1, - "x": 2934.5624389648438, - "y": 1821.1252460479736, - "z": "73e537e.8932bc8", + "x": 2990.2915954589844, + "y": 1796.2988529205322, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b402baa1.acbe58", + "id": "87bfb017.e52f5", "type": "execute", "name": "prepare mnc", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", "comments": "", "outputs": 1, - "x": 2936.5626831054688, - "y": 1879.1248788833618, - "z": "73e537e.8932bc8", + "x": 2992.2918395996094, + "y": 1854.2984857559204, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b43da734.c06b08", + "id": "622005bb.6ae9cc", "type": "record", "name": "record API params", - "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n", + "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": 2941.5623168945312, - "y": 1947.1253700256348, - "z": "73e537e.8932bc8", + "x": 2997.291473388672, + "y": 1922.2989768981934, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "3b663477.76ed6c", + "id": "ef70ea15.eee9e8", "type": "execute", "name": "patch PLMNInfoListEntry ToNRCellDU", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellDU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />", "comments": "", "outputs": 1, - "x": 2998.5623474121094, - "y": 2022.374755859375, - "z": "73e537e.8932bc8", + "x": 3054.29150390625, + "y": 1997.5483627319336, + "z": "8810ce64.4a102", "wires": [ [ - "e9376312.2afc9", - "3fa0b327.7d77bc" + "31094a59.71c6b6", + "e17e12d8.7bf9b" ] ] }, { - "id": "3fa0b327.7d77bc", + "id": "e17e12d8.7bf9b", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3265.5623474121094, - "y": 1922.374755859375, - "z": "73e537e.8932bc8", + "x": 3321.29150390625, + "y": 1897.5483627319336, + "z": "8810ce64.4a102", "wires": [ [ - "7812bc5b.b7e9e4" + "cb59d78a.e2f718" ] ] }, { - "id": "7812bc5b.b7e9e4", + "id": "cb59d78a.e2f718", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3423.5625915527344, - "y": 1870.374755859375, - "z": "73e537e.8932bc8", + "x": 3479.291748046875, + "y": 1845.5483627319336, + "z": "8810ce64.4a102", "wires": [ [ - "dc07a63a.07b3e8", - "b8e4a7fe.f431d8", - "cf52b92f.10a1a8" + "d2c3eb8a.9f6058", + "dca325ed.2d4808", + "1d2d8078.f320b" ] ] }, { - "id": "b8e4a7fe.f431d8", + "id": "dca325ed.2d4808", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>", "comments": "", - "x": 3589.5623474121094, - "y": 1836.374755859375, - "z": "73e537e.8932bc8", + "x": 3645.29150390625, + "y": 1811.5483627319336, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "dc07a63a.07b3e8", + "id": "d2c3eb8a.9f6058", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>", "comments": "", - "x": 3594.562225341797, - "y": 1931.3748168945312, - "z": "73e537e.8932bc8", + "x": 3650.2913818359375, + "y": 1906.5484237670898, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "bbe2b1be.4721c", + "id": "ae420b40.974238", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>", "comments": "", "outputs": 1, - "x": 3578.562225341797, - "y": 2017.375, - "z": "73e537e.8932bc8", + "x": 3634.2913818359375, + "y": 1992.5486068725586, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "dbdffb78.99de48", + "id": "b31a279f.84d848", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3432.5623474121094, - "y": 2018.3747584819794, - "z": "73e537e.8932bc8", + "x": 3488.29150390625, + "y": 1993.548365354538, + "z": "8810ce64.4a102", "wires": [ [ - "bbe2b1be.4721c" + "ae420b40.974238" ] ] }, { - "id": "e9376312.2afc9", + "id": "31094a59.71c6b6", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3264.5623474121094, - "y": 2021.374755859375, - "z": "73e537e.8932bc8", + "x": 3320.29150390625, + "y": 1996.5483627319336, + "z": "8810ce64.4a102", "wires": [ [ - "dbdffb78.99de48" + "b31a279f.84d848" ] ] }, { - "id": "738ca283.54ba9c", + "id": "9227e420.d769d8", "type": "execute", "name": "get PLMNId URL", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfileId`\"/>", "comments": "", "outputs": 1, - "x": 646.2500305175781, - "y": 661.8750114440918, - "z": "73e537e.8932bc8", + "x": 701.9791870117188, + "y": 637.0486183166504, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "c80b56a5.99a988", + "id": "118a9166.3752bf", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n", "comments": "", "outputs": 1, - "x": 619.7500305175781, - "y": 717.3750429153442, - "z": "73e537e.8932bc8", + "x": 675.4791870117188, + "y": 692.5486497879028, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "1c09cf50.00c361", + "id": "30fa502.42137b", "type": "execute", "name": "Get PLMN from Sliceprofile id", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>", "comments": "", "outputs": 1, - "x": 688.5000152587891, - "y": 770.874979019165, - "z": "73e537e.8932bc8", + "x": 744.2291717529297, + "y": 746.0485858917236, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "20d20dea.8129f2", + "id": "87dd3f2b.2826d", "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", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n", "comments": "", "outputs": 1, - "x": 641.5000076293945, - "y": 828.8750276565552, - "z": "73e537e.8932bc8", + "x": 697.2291641235352, + "y": 785.1598272323608, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "a16a753b.c1e978", + "id": "e73bf4c7.eb1d48", "type": "execute", "name": "find MCC", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />", "comments": "", "outputs": 1, - "x": 634.7500152587891, - "y": 888.1250905990601, - "z": "73e537e.8932bc8", + "x": 682.7014083862305, + "y": 822.1875896453857, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "ef19e8dd.548808", + "id": "51734263.da003c", "type": "execute", "name": "find MNC", "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />", "comments": "", "outputs": 1, - "x": 634.7500686645508, - "y": 939.1249685287476, - "z": "73e537e.8932bc8", + "x": 679.3681449890137, + "y": 860.9653186798096, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "b72487f2.f75598", + "id": "7056f58c.cbd93c", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>", "comments": "", "outputs": 1, - "x": 631.743537902832, - "y": 996.118483543396, - "z": "73e537e.8932bc8", + "x": 668.5838088989258, + "y": 895.7365913391113, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "cf52b92f.10a1a8", + "id": "1d2d8078.f320b", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4067.5, - "y": 1668.9285888671875, - "z": "73e537e.8932bc8", + "x": 4123.229156494141, + "y": 1644.102195739746, + "z": "8810ce64.4a102", "wires": [ [ - "862727fd.1c2328", - "ba2f13e6.fb244", - "48d208ea.6b73a8" + "95d91ff1.aee05", + "860df61e.6c4d98", + "fb12db36.56d558" ] ] }, { - "id": "862727fd.1c2328", + "id": "95d91ff1.aee05", "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", + "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": 4446.643783569336, - "y": 1526.5425758361816, - "z": "73e537e.8932bc8", + "x": 4502.372940063477, + "y": 1501.7161827087402, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "ba2f13e6.fb244", + "id": "860df61e.6c4d98", "type": "record", - "name": "record configdb RestAPI parms", + "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": 4450.214241027832, - "y": 1592.2146625518799, - "z": "73e537e.8932bc8", + "x": 4505.943397521973, + "y": 1567.3882694244385, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "48d208ea.6b73a8", + "id": "fb12db36.56d558", "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-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\"/>", "comments": "", "outputs": 1, - "x": 4376.642807006836, - "y": 1670.6432371139526, - "z": "73e537e.8932bc8", + "x": 4432.371963500977, + "y": 1645.8168439865112, + "z": "8810ce64.4a102", "wires": [ [ - "866030e9.b444e", - "4f0f6de5.73b094" + "9980158f.406e88", + "67b08216.a3393c" ] ] }, { - "id": "866030e9.b444e", + "id": "9980158f.406e88", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4614.071365356445, - "y": 1653.3572883605957, - "z": "73e537e.8932bc8", + "x": 4669.800521850586, + "y": 1628.5308952331543, + "z": "8810ce64.4a102", "wires": [ [ - "52d6b739.76f9c8" + "87660bcc.628228" ] ] }, { - "id": "52d6b739.76f9c8", + "id": "87660bcc.628228", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4806.499732971191, - "y": 1644.071725845337, - "z": "73e537e.8932bc8", + "x": 4862.228889465332, + "y": 1619.2453327178955, + "z": "8810ce64.4a102", "wires": [ [ - "cb07e63f.970f58" + "71da56df.06b538" ] ] }, { - "id": "cb07e63f.970f58", + "id": "71da56df.06b538", "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": 5008.2136154174805, - "y": 1632.785837650299, - "z": "73e537e.8932bc8", + "x": 5063.942771911621, + "y": 1607.9594445228577, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "589e3583.45b27c", + "id": "a4c90aa5.4590d8", "type": "record", "name": "record", "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>", "comments": "", "outputs": 1, - "x": 5002.35689163208, - "y": 1707.785903930664, - "z": "73e537e.8932bc8", + "x": 5058.086048126221, + "y": 1682.9595108032227, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "e5f066ec.ee08a8", + "id": "c87cca3b.177cf8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4818.356742858887, - "y": 1713.2143459320068, - "z": "73e537e.8932bc8", + "x": 4874.085899353027, + "y": 1688.3879528045654, + "z": "8810ce64.4a102", "wires": [ [ - "589e3583.45b27c" + "a4c90aa5.4590d8" ] ] }, { - "id": "4f0f6de5.73b094", + "id": "67b08216.a3393c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4608.356689453125, - "y": 1717.071584701538, - "z": "73e537e.8932bc8", + "x": 4664.085845947266, + "y": 1692.2451915740967, + "z": "8810ce64.4a102", "wires": [ [ - "e5f066ec.ee08a8" + "c87cca3b.177cf8" ] ] }, { - "id": "8eaff649.12a058", + "id": "1f3735d.7ce59ca", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 615, - "y": 1646.0714111328125, - "z": "73e537e.8932bc8", + "x": 670.7291564941406, + "y": 1621.245018005371, + "z": "8810ce64.4a102", "wires": [ [ - "e7d5db02.65b2d8", - "dad1b3aa.d6985", - "e85cda54.0fe538", - "b91c3aef.b188c8" + "a80d850.d925878", + "9999f77f.9d0b48", + "2c826e96.56d782", + "fb15841c.d43108" ] ] }, { - "id": "e85cda54.0fe538", + "id": "2c826e96.56d782", "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": 895.0011444091797, - "y": 1495.970895767212, - "z": "73e537e.8932bc8", + "x": 950.7303009033203, + "y": 1471.1445026397705, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "e7d5db02.65b2d8", + "id": "a80d850.d925878", "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": 891.9999771118164, - "y": 1650.0715942382812, - "z": "73e537e.8932bc8", + "x": 947.729133605957, + "y": 1625.2452011108398, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "dad1b3aa.d6985", + "id": "9999f77f.9d0b48", "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-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`\"/>", "comments": "", "outputs": 1, - "x": 761.0000762939453, - "y": 1767.0712985992432, - "z": "73e537e.8932bc8", + "x": 816.7292327880859, + "y": 1742.2449054718018, + "z": "8810ce64.4a102", "wires": [ [ - "2999f62a.11666a", - "a0ffbca7.ce015" + "2063bf67.d5503", + "ee4d36f.2eaa2c8" ] ] }, { - "id": "2999f62a.11666a", + "id": "2063bf67.d5503", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 926.0000762939453, - "y": 1747.0712976455688, - "z": "73e537e.8932bc8", + "x": 981.7292327880859, + "y": 1722.2449045181274, + "z": "8810ce64.4a102", "wires": [ [ - "77937eda.00d3c" + "7b7497de.9bd2e8" ] ] }, { - "id": "a0ffbca7.ce015", + "id": "ee4d36f.2eaa2c8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 917.9999694824219, - "y": 1820.0712480545044, - "z": "73e537e.8932bc8", + "x": 973.7291259765625, + "y": 1795.244854927063, + "z": "8810ce64.4a102", "wires": [ [ - "bbd0fc65.b213e" + "9a9bad68.9f109" ] ] }, { - "id": "bbd0fc65.b213e", + "id": "9a9bad68.9f109", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1063.999813079834, - "y": 1825.0713567733765, - "z": "73e537e.8932bc8", + "x": 1119.7289695739746, + "y": 1800.244963645935, + "z": "8810ce64.4a102", "wires": [ [ - "3b8c718a.3fa84e" + "6a0f5572.75136c" ] ] }, { - "id": "77937eda.00d3c", + "id": "7b7497de.9bd2e8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1074.9999771118164, - "y": 1743.0714330673218, - "z": "73e537e.8932bc8", + "x": 1130.729133605957, + "y": 1718.2450399398804, + "z": "8810ce64.4a102", "wires": [ [ - "88a2ea8a.397928", - "f5257e8c.2252a" + "a9943a91.4d4d58", + "9f7d08ba.2c9008" ] ] }, { - "id": "88a2ea8a.397928", + "id": "a9943a91.4d4d58", "type": "returnFailure", "name": "return failure", "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />", "comments": "", - "x": 1221.9995956420898, - "y": 1754.071174621582, - "z": "73e537e.8932bc8", + "x": 1277.7287521362305, + "y": 1729.2447814941406, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "3b8c718a.3fa84e", + "id": "6a0f5572.75136c", "type": "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": 1224.9997329711914, - "y": 1831.0712490081787, - "z": "73e537e.8932bc8", + "x": 1280.728889465332, + "y": 1806.2448558807373, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "f5257e8c.2252a", + "id": "9f7d08ba.2c9008", "type": "set", "name": "set", "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>", "comments": "", - "x": 1209.5102043151855, - "y": 1658.0606660842896, - "z": "73e537e.8932bc8", + "x": 1265.2393608093262, + "y": 1633.2342729568481, + "z": "8810ce64.4a102", "wires": [] }, { - "id": "b91c3aef.b188c8", + "id": "fb15841c.d43108", "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": 914.339599609375, - "y": 1586.0567483901978, - "z": "73e537e.8932bc8", + "x": 970.0687561035156, + "y": 1561.2303552627563, + "z": "8810ce64.4a102", "wires": [ [] ] }, { - "id": "f53bf76b.8dba48", + "id": "63bf8010.4abdc", "type": "returnSuccess", "name": "return success", "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />", "comments": "", - "x": 272.5, - "y": 1162.5, - "z": "73e537e.8932bc8", + "x": 328.2291564941406, + "y": 1137.6736068725586, + "z": "8810ce64.4a102", "wires": [] + }, + { + "id": "4119896c.9c68b8", + "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", + "wires": [ + [] + ] + }, + { + "id": "9549e73d.16fbf8", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "7ab6a74c.7816e8", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "a4f056d4.272128", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "19abab8d.4a9414", + "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", + "wires": [ + [] + ] + }, + { + "id": "a26eb581.df1338", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 651.9443969726562, + "y": 977.4999389648438, + "z": "8810ce64.4a102", + "wires": [ + [ + "19abab8d.4a9414" + ] + ] + }, + { + "id": "760fbb9c.1fe0f4", + "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", + "wires": [ + [] + ] + }, + { + "id": "c1d6662b.ac2dc8", + "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", + "wires": [ + [] + ] + }, + { + "id": "4ae26bfb.2cf8b4", + "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", + "wires": [ + [] + ] + }, + { + "id": "edc43ccd.f324e", + "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", + "wires": [ + [] + ] + }, + { + "id": "59abfdfd.c246c4", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "33d0ad10.4a9b82", + "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", + "wires": [ + [ + "81194fd7.433ad", + "9078ea63.753fd8" + ] + ] + }, + { + "id": "81194fd7.433ad", + "type": "outcome", + "name": "True", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 2158.805805206299, + "y": 1000.277868270874, + "z": "8810ce64.4a102", + "wires": [ + [ + "22705dcb.70b392" + ] + ] + }, + { + "id": "20e32925.344246", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1766.1109619140625, + "y": 1005.2777099609375, + "z": "8810ce64.4a102", + "wires": [ + [ + "edc43ccd.f324e", + "59abfdfd.c246c4", + "33d0ad10.4a9b82" + ] + ] + }, + { + "id": "9078ea63.753fd8", + "type": "outcome", + "name": "false", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 2339.4443359375, + "y": 971.9443969726562, + "z": "8810ce64.4a102", + "wires": [ + [ + "3f6d8320.acc2dc" + ] + ] + }, + { + "id": "3f6d8320.acc2dc", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "91bf12a7.d0c93", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "a603b30f.95aef", + "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", + "wires": [ + [] + ] + }, + { + "id": "a86c8a66.29e048", + "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", + "wires": [ + [] + ] + }, + { + "id": "1c30356c.7a78eb", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "ea6a18bc.839118", + "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", + "wires": [ + [ + "24f480c0.215e", + "d5be92c1.19ca2" + ] + ] + }, + { + "id": "24f480c0.215e", + "type": "outcome", + "name": "True", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 940.8333168029785, + "y": 360.8333568572998, + "z": "8810ce64.4a102", + "wires": [ + [ + "cbae8ce4.fffa9" + ] + ] + }, + { + "id": "d5be92c1.19ca2", + "type": "outcome", + "name": "False", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 943.0554618835449, + "y": 419.7222442626953, + "z": "8810ce64.4a102", + "wires": [ + [ + "dbb21ae4.bc9e08" + ] + ] + }, + { + "id": "db9bee55.c76d8", + "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", + "wires": [] + }, + { + "id": "6250ead9.88d1e4", + "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", + "wires": [] + }, + { + "id": "cbae8ce4.fffa9", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1150.8333168029785, + "y": 348.6110668182373, + "z": "8810ce64.4a102", + "wires": [ + [ + "db9bee55.c76d8" + ] + ] + }, + { + "id": "dbb21ae4.bc9e08", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1147.5000610351562, + "y": 405.2777953147888, + "z": "8810ce64.4a102", + "wires": [ + [ + "6250ead9.88d1e4" + ] + ] } ]
\ 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 05f2a9fa..89529cba 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": "9b55580c.dc7868", + "id": "2dfc5b0b.ec8224", "type": "method", "name": "method", "xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 519.6875, - "y": 162.1875, - "z": "902b25ae.7c3098", + "x": 489.75, + "y": 118.75, + "z": "31bddc6e.92f4e4", "wires": [ [ - "acdac80e.5e42e8" + "247328c5.ba9438" ] ] }, { - "id": "4d472553.b1ccac", + "id": "b6487754.5db3b8", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 143.68749618530273, - "y": 67.18747234344482, - "z": "902b25ae.7c3098", + "x": 113.74999618530273, + "y": 23.749972343444824, + "z": "31bddc6e.92f4e4", "wires": [ [ - "bcc30cd5.e5721" + "82838432.ed47a8" ] ] }, { - "id": "bcc30cd5.e5721", + "id": "82838432.ed47a8", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -38,6011 +38,6323 @@ "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": 276.6874694824219, - "y": 164.18755340576172, - "z": "902b25ae.7c3098", + "x": 246.74996948242188, + "y": 120.75005340576172, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9b55580c.dc7868" + "2dfc5b0b.ec8224" ] ] }, { - "id": "7cb7391a.ea19a8", + "id": "42a8caed.839ec4", "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": 205.1771240234375, - "y": 1105.1877908706665, - "z": "902b25ae.7c3098", + "x": 401.18428897857666, + "y": 2618.2783002853394, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "8c61fa98.9efce8", + "id": "5b220736.b731c8", "type": "comment", "name": "instantiateRANSliceAllocate", "info": "", "comments": "", - "x": 488.6875, - "y": 104.19787216186523, - "z": "902b25ae.7c3098", + "x": 458.75, + "y": 60.760372161865234, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "7c37311a.46de7", + "id": "d0e38993.01ada8", "type": "block", "name": "Get NRT RIC Details", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1772.6875343322754, - "y": 203.0971794128418, - "z": "902b25ae.7c3098", + "x": 1742.7500343322754, + "y": 159.6596794128418, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5c0edd59.54cef4", - "9e5d517d.2afd1", - "ee3e4e58.ed089" + "12450733.f75379", + "e163b647.a94fa8", + "f6251c0a.11848" ] ] }, { - "id": "5c0edd59.54cef4", + "id": "12450733.f75379", "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": 2133.6875, - "y": 149.09719848632812, - "z": "902b25ae.7c3098", + "x": 2103.75, + "y": 105.65969848632812, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9e5d517d.2afd1", + "id": "e163b647.a94fa8", "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": 2130.6876258850098, - "y": 214.09716892242432, - "z": "902b25ae.7c3098", + "x": 2100.7501258850098, + "y": 170.65966892242432, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ee3e4e58.ed089", + "id": "f6251c0a.11848", "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": 2099.6877250671387, - "y": 292.0972080230713, - "z": "902b25ae.7c3098", + "x": 2069.7502250671387, + "y": 248.6597080230713, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e168ab22.35af68", - "4a09228b.75779c" + "e6ddbbe3.4f56a8", + "906abd01.93ba9" ] ] }, { - "id": "e168ab22.35af68", + "id": "e6ddbbe3.4f56a8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2330.6875648498535, - "y": 234.09719944000244, - "z": "902b25ae.7c3098", + "x": 2300.7500648498535, + "y": 190.65969944000244, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e9923685.fe42d8" + "946b85c6.250528" ] ] }, { - "id": "4a09228b.75779c", + "id": "906abd01.93ba9", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2327.6875038146973, - "y": 333.0970878601074, - "z": "902b25ae.7c3098", + "x": 2297.7500038146973, + "y": 289.6595878601074, + "z": "31bddc6e.92f4e4", "wires": [ [ - "527357e4.7db0d8" + "716258eb.5561b8" ] ] }, { - "id": "e9923685.fe42d8", + "id": "946b85c6.250528", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2535.6876068115234, - "y": 183.09724044799805, - "z": "902b25ae.7c3098", + "x": 2505.7501068115234, + "y": 139.65974044799805, + "z": "31bddc6e.92f4e4", "wires": [ [ - "885c8e67.f3093", - "fccad887.77f638", - "b1d10830.075248" + "67bb1305.fdbe4c", + "9605c336.f4132", + "66a87a6d.5e0334" ] ] }, { - "id": "527357e4.7db0d8", + "id": "716258eb.5561b8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2476.687349319458, - "y": 326.09722232818604, - "z": "902b25ae.7c3098", + "x": 2446.749849319458, + "y": 282.65972232818604, + "z": "31bddc6e.92f4e4", "wires": [ [ - "372c69da.d08e66", - "dc0b962f.fe79d8" + "6afbdaf8.da38e4", + "83f76cfe.8e1f6" ] ] }, { - "id": "885c8e67.f3093", + "id": "67bb1305.fdbe4c", "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": 2550.687240600586, - "y": 269.0972056388855, - "z": "902b25ae.7c3098", + "x": 2520.749740600586, + "y": 225.6597056388855, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "372c69da.d08e66", + "id": "6afbdaf8.da38e4", "type": "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": 2606.6871643066406, - "y": 326.09720611572266, - "z": "902b25ae.7c3098", + "x": 2576.7496643066406, + "y": 282.65970611572266, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "fccad887.77f638", + "id": "9605c336.f4132", "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": 2649.6873054504395, - "y": 108.20828056335449, - "z": "902b25ae.7c3098", + "x": 2619.7498054504395, + "y": 64.77078056335449, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "dc0b962f.fe79d8", + "id": "83f76cfe.8e1f6", "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": 2594.465389251709, - "y": 380.0972194671631, - "z": "902b25ae.7c3098", + "x": 2564.527889251709, + "y": 336.6597194671631, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c571f1cb.9bec7", + "id": "f9edcbd8.44efc8", "type": "for", "name": "For ConfigDB Entries", "xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >", "comments": "", "outputs": 1, - "x": 1285.687587738037, - "y": 2023.1981143951416, - "z": "902b25ae.7c3098", + "x": 1255.750087738037, + "y": 1979.7606143951416, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6eaee2f0.3a641c", - "acdc7000.c7b38", - "61110f78.23196", - "6ff3ec5.6618514", - "7a5b63bc.bc8eac", - "f234e7a5.4abc18", - "821e1619.c04cd8", - "1854a4d1.e4860b" + "bff1438c.17c1f", + "93aa602f.23bb3", + "72ee2e5d.d63f8", + "ed7bb90c.416bf8", + "e38fa06c.cfb8e", + "9b04b4b9.e26cc8", + "2cddbb62.24c094", + "1e215b54.d1fd75" ] ] }, { - "id": "6eaee2f0.3a641c", + "id": "bff1438c.17c1f", "type": "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": 1659.6877212524414, - "y": 813.1980800628662, - "z": "902b25ae.7c3098", + "x": 1629.7502212524414, + "y": 769.7605800628662, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "acdac80e.5e42e8", + "id": "247328c5.ba9438", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 154.68746948242188, - "y": 284.1978759765625, - "z": "902b25ae.7c3098", + "x": 124.74996948242188, + "y": 240.7603759765625, + "z": "31bddc6e.92f4e4", "wires": [ [ - "7c37311a.46de7", - "3ca985.9188367c", - "da29413f.2288b", - "7cb7391a.ea19a8" + "d0e38993.01ada8", + "a082b876.60bb28" ] ] }, { - "id": "3ca985.9188367c", + "id": "a082b876.60bb28", "type": "block", "name": "Instantiate RAN Slice", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1283.6874198913574, - "y": 575.197910785675, - "z": "902b25ae.7c3098", + "x": 1253.7499198913574, + "y": 531.760410785675, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c571f1cb.9bec7", - "56dbce13.96d8" + "f9edcbd8.44efc8", + "4c0c2de1.b5cae4", + "fca4410e.81eec", + "42a8caed.839ec4", + "fcfa141f.a66e98", + "747fc783.b27538" ] ] }, { - "id": "acdc7000.c7b38", + "id": "93aa602f.23bb3", "type": "block", "name": "DU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1861.6875305175781, - "y": 5766.198069810867, - "z": "902b25ae.7c3098", + "x": 1831.7500305175781, + "y": 5722.760569810867, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e5b52736.da9698", - "2fba2f45.d5d4d", - "8f19388a.9d9248", - "12595c79.e5ffd4" + "a76664db.00f1a8", + "ada2f18d.00ff4", + "71d566f6.b21868", + "e8650d98.8b48d" ] ] }, { - "id": "777713b7.b7c1bc", + "id": "dc885bdf.64ac08", "type": "block", "name": "Add RRM Policy Ratio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3524.687919616699, - "y": 7075.197937011719, - "z": "902b25ae.7c3098", + "x": 3494.750419616699, + "y": 7031.760437011719, + "z": "31bddc6e.92f4e4", "wires": [ [ - "41983400.d0dacc", - "fd68e057.cace2", - "3d3b8ccb.697394", - "2c341fd9.a1f2a", - "738c87bd.a64908", - "f98ffee5.a6648", - "28385a6a.9d07a6" + "b5fc10ca.8202", + "77a647be.bbc0d8", + "3b33540e.f9db0c", + "2ffed6c7.a7c78a", + "e3302aed.994658", + "7a67cf55.9d9bc", + "6e5bd7f0.460b38" ] ] }, { - "id": "f7d0e858.fffb58", + "id": "5f986a22.155474", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3569.688247680664, - "y": 6403.198240280151, - "z": "902b25ae.7c3098", + "x": 3539.750747680664, + "y": 6359.760740280151, + "z": "31bddc6e.92f4e4", "wires": [ [ - "dc57bcba.03b6b", - "516f12f6.7f38ac" + "c65491f.de0da7", + "6790dc69.741c74" ] ] }, { - "id": "dc57bcba.03b6b", + "id": "c65491f.de0da7", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3812.688331604004, - "y": 6407.1982421875, - "z": "902b25ae.7c3098", + "x": 3782.750831604004, + "y": 6363.7607421875, + "z": "31bddc6e.92f4e4", "wires": [ [ - "65b4fbc1.48ad94" + "8ec5f289.8ed37" ] ] }, { - "id": "516f12f6.7f38ac", + "id": "6790dc69.741c74", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3797.688331604004, - "y": 6481.198244094849, - "z": "902b25ae.7c3098", + "x": 3767.750831604004, + "y": 6437.760744094849, + "z": "31bddc6e.92f4e4", "wires": [ [ - "58b548f8.42a708" + "8acae8dd.cd5fc8" ] ] }, { - "id": "2fba2f45.d5d4d", + "id": "ada2f18d.00ff4", "type": "for", "name": "For DUList Entries", "xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >", "comments": "", "outputs": 1, - "x": 1961.6879119873047, - "y": 6080.198064804077, - "z": "902b25ae.7c3098", + "x": 1931.7504119873047, + "y": 6036.760564804077, + "z": "31bddc6e.92f4e4", "wires": [ [ - "d23dfe52.c5e2d" + "17adcc01.db14f4" ] ] }, { - "id": "e5b52736.da9698", + "id": "a76664db.00f1a8", "type": "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": 2154.688087463379, - "y": 5462.198851585388, - "z": "902b25ae.7c3098", + "x": 2124.750587463379, + "y": 5418.761351585388, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8f19388a.9d9248", + "id": "71d566f6.b21868", "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": 2156.687843322754, - "y": 5396.199828147888, - "z": "902b25ae.7c3098", + "x": 2126.750343322754, + "y": 5352.762328147888, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "b14c4fb8.0f7ea", + "id": "57adc502.e5ab0c", "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": 3934.6872787475586, - "y": 5901.198174238205, - "z": "902b25ae.7c3098", + "x": 3904.7497787475586, + "y": 5857.760674238205, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "e527dfb7.00473", + "id": "ed592596.55d168", "type": "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": 3532.6875953674316, - "y": 6017.198064804077, - "z": "902b25ae.7c3098", + "x": 3502.7500953674316, + "y": 5973.760564804077, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "667f5064.c3558", + "id": "37bd151b.5b947a", "type": "block", "name": "cellDUList Level Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3557.6875915527344, - "y": 5956.198063850403, - "z": "902b25ae.7c3098", + "x": 3527.7500915527344, + "y": 5912.760563850403, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b14c4fb8.0f7ea", - "a230a043.2eaba", - "c5040802.d23048", - "7cbc5437.94e35c", - "af1da22d.9c281", - "a8487ef8.2b79a", - "949e516.74f10b" + "57adc502.e5ab0c", + "d2f8fe10.664ec", + "c7502a44.641788", + "c1fd27a8.e9f508", + "16f04221.a3a90e", + "4c3c3137.16424", + "8518254b.e757f8" ] ] }, { - "id": "a230a043.2eaba", + "id": "d2f8fe10.664ec", "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": 3963.6874198913574, - "y": 5939.197892189026, - "z": "902b25ae.7c3098", + "x": 3933.7499198913574, + "y": 5895.760392189026, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c5040802.d23048", + "id": "c7502a44.641788", "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": 3962.6874351501465, - "y": 5978.1978940963745, - "z": "902b25ae.7c3098", + "x": 3932.7499351501465, + "y": 5934.7603940963745, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "7cbc5437.94e35c", + "id": "c1fd27a8.e9f508", "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": 3942.6874084472656, - "y": 6016.197909355164, - "z": "902b25ae.7c3098", + "x": 3912.7499084472656, + "y": 5972.760409355164, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "af1da22d.9c281", + "id": "16f04221.a3a90e", "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": 3957.68741607666, - "y": 6064.197638511658, - "z": "902b25ae.7c3098", + "x": 3927.74991607666, + "y": 6020.760138511658, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "a8487ef8.2b79a", + "id": "4c3c3137.16424", "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": 3928.6874961853027, - "y": 6141.1979694366455, - "z": "902b25ae.7c3098", + "x": 3898.7499961853027, + "y": 6097.7604694366455, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ef0d45d0.c227c8", + "id": "cc88732c.bbd22", "type": "for", "name": "For List of Cells", "xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >", "comments": "", "outputs": 1, - "x": 2385.6785430908203, - "y": 6053.198175907135, - "z": "902b25ae.7c3098", + "x": 2355.7410430908203, + "y": 6009.760675907135, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e6aa0194.b688d" + "97772f2.bb417d" ] ] }, { - "id": "4ecd2413.c1ac2c", + "id": "cba44296.54dd8", "type": "block", "name": "pLMNInfoList Level Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3704.6774520874023, - "y": 6176.1982979774475, - "z": "902b25ae.7c3098", + "x": 3674.7399520874023, + "y": 6132.7607979774475, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6a533f97.bbca", - "e26a3ab6.e3ec18" + "3f365070.f58e8", + "a37d1e6b.14457" ] ] }, { - "id": "6a533f97.bbca", + "id": "3f365070.f58e8", "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": 4025.6771087646484, - "y": 6202.197905957699, - "z": "902b25ae.7c3098", + "x": 3995.7396087646484, + "y": 6158.760405957699, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "4ffa841.be4377c", + "id": "fb95281e.12ec48", "type": "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": 3715.6774520874023, - "y": 6228.198663711548, - "z": "902b25ae.7c3098", + "x": 3685.7399520874023, + "y": 6184.761163711548, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "209f9a9d.45d496", + "id": "7ec9d87.9722628", "type": "for", "name": "For pLMNInfoListEntries", "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >", "comments": "", "outputs": 1, - "x": 3773.677589416504, - "y": 6350.1988887786865, - "z": "902b25ae.7c3098", + "x": 3743.740089416504, + "y": 6306.7613887786865, + "z": "31bddc6e.92f4e4", "wires": [ [ - "534925b1.ff4eac" + "aa2f36ed.2e3728" ] ] }, { - "id": "ab7fb11e.93a44", + "id": "dbaff64f.d0cbd8", "type": "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": 3484.677177429199, - "y": 6075.198066711426, - "z": "902b25ae.7c3098", + "x": 3454.739677429199, + "y": 6031.760566711426, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "534925b1.ff4eac", + "id": "aa2f36ed.2e3728", "type": "block", "name": "pLMNInfoList Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4014.677276611328, - "y": 6344.1988887786865, - "z": "902b25ae.7c3098", + "x": 3984.739776611328, + "y": 6300.7613887786865, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e394fe37.60982", - "d8184272.b7dad" + "67a2822c.dd523c", + "e4c89a77.ec2d78" ] ] }, { - "id": "e394fe37.60982", + "id": "67a2822c.dd523c", "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": 4177.677032470703, - "y": 6288.198236942291, - "z": "902b25ae.7c3098", + "x": 4147.739532470703, + "y": 6244.760736942291, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "2cb3565.2aa22aa", + "id": "b8820cea.673bd", "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": 3815.6774520874023, - "y": 6302.198663711548, - "z": "902b25ae.7c3098", + "x": 3785.7399520874023, + "y": 6258.761163711548, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "d8184272.b7dad", + "id": "e4c89a77.ec2d78", "type": "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": 4198.6770362854, - "y": 6366.198240280151, - "z": "902b25ae.7c3098", + "x": 4168.7395362854, + "y": 6322.760740280151, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "61110f78.23196", + "id": "72ee2e5d.d63f8", "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": 1626.6771926879883, - "y": 635.1980495452881, - "z": "902b25ae.7c3098", + "x": 1596.7396926879883, + "y": 591.7605495452881, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "e26a3ab6.e3ec18", + "id": "a37d1e6b.14457", "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": 4002.677276611328, - "y": 6266.198070526123, - "z": "902b25ae.7c3098", + "x": 3972.739776611328, + "y": 6222.760570526123, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8eaa1c1c.14269", + "id": "4447b92c.657c38", "type": "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": 3949.688991546631, - "y": 6838.531585693359, - "z": "902b25ae.7c3098", + "x": 3922.75150680542, + "y": 6807.094183921814, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "bab76bad.343f18", + "id": "e6e49003.d5a5", "type": "block", "name": "Add PLMNInfoList Entry", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3540.6882400512695, - "y": 6509.541993141174, - "z": "902b25ae.7c3098", + "x": 3510.7507400512695, + "y": 6466.104493141174, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8eaa1c1c.14269", - "a4893e7f.04d2f", - "7ff22b7e.1f2a54", - "dd2c078e.f88808", - "4deb83df.1e115c", - "84761029.df42", - "f7d0e858.fffb58", - "216ab62b.ce4cba" + "4447b92c.657c38", + "d32c8459.8c3d48", + "b33cdfdd.f7d2d", + "383555c0.d4271a", + "fc362fb4.96ccf", + "8f5f2097.29129", + "5f986a22.155474", + "1967df78.6fe681", + "74e612c5.e7937c", + "2a14e7a6.3d9048" ] ] }, { - "id": "216ab62b.ce4cba", + "id": "1967df78.6fe681", "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": 4032.688331604004, - "y": 6929.54200553894, - "z": "902b25ae.7c3098", + "x": 4002.750831604004, + "y": 6886.10450553894, + "z": "31bddc6e.92f4e4", "wires": [ [ - "226d46d0.76372a", - "519b13de.daec6c" + "28f306b8.0b6cfa", + "ec256297.26097" ] ] }, { - "id": "a4893e7f.04d2f", + "id": "d32c8459.8c3d48", "type": "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": 3950.6883392333984, - "y": 6779.5419998168945, - "z": "902b25ae.7c3098", + "x": 3920.750955581665, + "y": 6770.104926109314, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "65b4fbc1.48ad94", + "id": "8ec5f289.8ed37", "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": 4083.6883392333984, - "y": 6409.198241710663, - "z": "902b25ae.7c3098", + "x": 4053.7508392333984, + "y": 6365.760741710663, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "7ff22b7e.1f2a54", + "id": "b33cdfdd.f7d2d", "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": 3919.6779251098633, - "y": 6566.19824552536, - "z": "902b25ae.7c3098", + "x": 3889.7404251098633, + "y": 6522.76074552536, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "dd2c078e.f88808", + "id": "383555c0.d4271a", "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": 3928.6779251098633, - "y": 6615.198246955872, - "z": "902b25ae.7c3098", + "x": 3898.7404251098633, + "y": 6571.760746955872, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "4deb83df.1e115c", + "id": "fc362fb4.96ccf", "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": 3929.6779251098633, - "y": 6665.198247909546, - "z": "902b25ae.7c3098", + "x": 3899.7404251098633, + "y": 6621.760747909546, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "84761029.df42", + "id": "8f5f2097.29129", "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": 3973.6779251098633, - "y": 6724.1982498168945, - "z": "902b25ae.7c3098", + "x": 3901.740520477295, + "y": 6664.760687828064, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "226d46d0.76372a", + "id": "28f306b8.0b6cfa", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4330.68807220459, - "y": 6866.53126335144, - "z": "902b25ae.7c3098", + "x": 4300.75057220459, + "y": 6823.09376335144, + "z": "31bddc6e.92f4e4", "wires": [ [ - "11af60c5.a0690f" + "64511141.a9dd5" ] ] }, { - "id": "519b13de.daec6c", + "id": "ec256297.26097", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4369.688186645508, - "y": 6950.531273603439, - "z": "902b25ae.7c3098", + "x": 4339.750686645508, + "y": 6907.093773603439, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a81131d0.a2b47" + "e947e8c2.7e7678" ] ] }, { - "id": "11af60c5.a0690f", + "id": "64511141.a9dd5", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4592.687969207764, - "y": 6751.531345129013, - "z": "902b25ae.7c3098", + "x": 4562.750469207764, + "y": 6708.093845129013, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1c6bfd4c.8f7553", - "b1d10830.075248" + "d7d646b5.aa1cb8", + "66a87a6d.5e0334" ] ] }, { - "id": "a81131d0.a2b47", + "id": "e947e8c2.7e7678", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4551.687698364258, - "y": 6905.531273603439, - "z": "902b25ae.7c3098", + "x": 4521.750198364258, + "y": 6862.093773603439, + "z": "31bddc6e.92f4e4", "wires": [ [ - "396ad31a.e7209c" + "d18e1dde.6dcb8" ] ] }, { - "id": "1c6bfd4c.8f7553", + "id": "d7d646b5.aa1cb8", "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": 4757.687969207764, - "y": 6834.531833410263, - "z": "902b25ae.7c3098", + "x": 4727.750469207764, + "y": 6791.094333410263, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "396ad31a.e7209c", + "id": "d18e1dde.6dcb8", "type": "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": 4718.687698364258, - "y": 6916.531761884689, - "z": "902b25ae.7c3098", + "x": 4688.750198364258, + "y": 6873.094261884689, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1a12247f.0c1f1c", + "id": "35e89268.2bab8e", "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": 4244.677688598633, - "y": 6468.198243141174, - "z": "902b25ae.7c3098", + "x": 4214.740188598633, + "y": 6424.760743141174, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "58b548f8.42a708", + "id": "8acae8dd.cd5fc8", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3961.6775970458984, - "y": 6470.1982436180115, - "z": "902b25ae.7c3098", + "x": 3931.7400970458984, + "y": 6426.7607436180115, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1a12247f.0c1f1c", - "e91f6157.8739d" + "35e89268.2bab8e", + "2242253b.9dbe3a" ] ] }, { - "id": "e91f6157.8739d", + "id": "2242253b.9dbe3a", "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": 4208.677688598633, - "y": 6525.198244094849, - "z": "902b25ae.7c3098", + "x": 4178.740188598633, + "y": 6481.760744094849, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "a88e4c32.9feca", + "id": "f2a5a2b4.67d09", "type": "comment", "name": "Connect to AddPLMNInfoList Entry", "info": "when able to talk to latest SDNC", "comments": "", - "x": 3971.6775970458984, - "y": 6889.531586647034, - "z": "902b25ae.7c3098", + "x": 3941.7400970458984, + "y": 6846.094086647034, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "41983400.d0dacc", + "id": "b5fc10ca.8202", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3823.6773376464844, - "y": 7038.864778518677, - "z": "902b25ae.7c3098", + "x": 3793.7398376464844, + "y": 6995.427278518677, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a7e9a49e.5766b8", - "2ca9e596.83624a" + "452f2805.a844c8", + "95c48eca.99d86" ] ] }, { - "id": "a7e9a49e.5766b8", + "id": "452f2805.a844c8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 4018.6773643493652, - "y": 6998.864686012268, - "z": "902b25ae.7c3098", + "x": 3988.7398643493652, + "y": 6955.427186012268, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a5001704.618c28" + "4b8f8a8f.60d4d4" ] ] }, { - "id": "2ca9e596.83624a", + "id": "95c48eca.99d86", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3998.6773376464844, - "y": 7077.864777565002, - "z": "902b25ae.7c3098", + "x": 3968.7398376464844, + "y": 7034.427277565002, + "z": "31bddc6e.92f4e4", "wires": [ [ - "d91e9481.d88018" + "7177df25.583b7" ] ] }, { - "id": "f98ffee5.a6648", + "id": "7a67cf55.9d9bc", "type": "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": 3971.678508758545, - "y": 7320.19810295105, - "z": "902b25ae.7c3098", + "x": 3945.740940093994, + "y": 7306.761425971985, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "548fc503.fed9ec", + "id": "efe99400.a55b08", "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": 4035.677406311035, - "y": 7589.208359479904, - "z": "902b25ae.7c3098", + "x": 4005.739906311035, + "y": 7545.770859479904, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b89dae36.2219e" + "62e033be.60e86c" ] ] }, { - "id": "738c87bd.a64908", + "id": "e3302aed.994658", "type": "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": 3962.67720413208, - "y": 7270.208518028259, - "z": "902b25ae.7c3098", + "x": 3937.739963531494, + "y": 7265.771679878235, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "a5001704.618c28", + "id": "4b8f8a8f.60d4d4", "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": 4304.67733001709, - "y": 6996.86475944519, - "z": "902b25ae.7c3098", + "x": 4274.73983001709, + "y": 6953.42725944519, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "fd68e057.cace2", + "id": "77a647be.bbc0d8", "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": 3996.6671142578125, - "y": 7131.864763259888, - "z": "902b25ae.7c3098", + "x": 3966.7296142578125, + "y": 7088.427263259888, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3d3b8ccb.697394", + "id": "3b33540e.f9db0c", "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": 3989.6671142578125, - "y": 7185.864765167236, - "z": "902b25ae.7c3098", + "x": 3959.7296142578125, + "y": 7142.427265167236, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "2c341fd9.a1f2a", + "id": "2ffed6c7.a7c78a", "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": 3968.6671142578125, - "y": 7222.864767074585, - "z": "902b25ae.7c3098", + "x": 3938.7296142578125, + "y": 7179.427267074585, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8e44bb3f.07fc88", + "id": "93ff5f0e.d1aff", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4371.677215576172, - "y": 7336.198103904724, - "z": "902b25ae.7c3098", + "x": 4341.739715576172, + "y": 7292.760603904724, + "z": "31bddc6e.92f4e4", "wires": [ [ - "78ce529c.b5eb4c" + "b76aa88d.340ea8" ] ] }, { - "id": "b89dae36.2219e", + "id": "62e033be.60e86c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4372.677284240723, - "y": 7615.197861433029, - "z": "902b25ae.7c3098", + "x": 4342.739784240723, + "y": 7571.760361433029, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e97ab652.68dad8" + "fc528a53.b4a488" ] ] }, { - "id": "78ce529c.b5eb4c", + "id": "b76aa88d.340ea8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4741.67724609375, - "y": 7284.197723388672, - "z": "902b25ae.7c3098", + "x": 4711.73974609375, + "y": 7240.760223388672, + "z": "31bddc6e.92f4e4", "wires": [ [ - "21ed8761.906908", - "b1d10830.075248" + "48958e08.127d6", + "66a87a6d.5e0334" ] ] }, { - "id": "e97ab652.68dad8", + "id": "fc528a53.b4a488", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4552.677040100098, - "y": 7612.197861433029, - "z": "902b25ae.7c3098", + "x": 4522.739540100098, + "y": 7568.760361433029, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e1713853.eb6908" + "92a6544d.2f6e78" ] ] }, { - "id": "21ed8761.906908", + "id": "48958e08.127d6", "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": 4863.67724609375, - "y": 7339.198211669922, - "z": "902b25ae.7c3098", + "x": 4833.73974609375, + "y": 7295.760711669922, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "e1713853.eb6908", + "id": "92a6544d.2f6e78", "type": "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": 4701.677341461182, - "y": 7638.198054075241, - "z": "902b25ae.7c3098", + "x": 4671.739841461182, + "y": 7594.760554075241, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "78b72f70.df293", + "id": "71b52357.9b731c", "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": 4496.667045593262, - "y": 7044.865069389343, - "z": "902b25ae.7c3098", + "x": 4466.729545593262, + "y": 7001.427569389343, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d91e9481.d88018", + "id": "7177df25.583b7", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 4191.666988372803, - "y": 7072.864777565002, - "z": "902b25ae.7c3098", + "x": 4161.729488372803, + "y": 7029.427277565002, + "z": "31bddc6e.92f4e4", "wires": [ [ - "78b72f70.df293", - "bf8a823c.8747d" + "71b52357.9b731c", + "ec97c9d8.bdd3d8" ] ] }, { - "id": "bf8a823c.8747d", + "id": "ec97c9d8.bdd3d8", "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": 4433.667022705078, - "y": 7106.864716529846, - "z": "902b25ae.7c3098", + "x": 4403.729522705078, + "y": 7063.427216529846, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "91afe5ee.e5d078", + "id": "c8cb00aa.8de63", "type": "comment", "name": "Connect to RRM P{olicy Ratio", "info": "when able to talk to latest SDNC", "comments": "", - "x": 4029.667434692383, - "y": 7362.198103427887, - "z": "902b25ae.7c3098", + "x": 4002.729953765869, + "y": 7339.76118183136, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "12595c79.e5ffd4", + "id": "e8650d98.8b48d", "type": "block", "name": "rrmPolicyDedicatedRatio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2199.6877822875977, - "y": 5591.8768310546875, - "z": "902b25ae.7c3098", + "x": 2169.7502822875977, + "y": 5548.4393310546875, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a9fc9cb9.5e7e7", - "7ed57e69.91b45", - "2737179d.208e58", - "c754692b.16ebf8", - "d4c104c7.d53b38", - "34c9e22.b0a7c1e", - "a8816efe.70be4", - "503469f8.a36558", - "b2653495.ee3a68", - "c8829055.def5d", - "86314876.701b88" + "30be453f.79612a", + "6b8f92e1.d3e39c", + "a7e55b88.9f3938", + "9c9d24ce.6b8158", + "8ba8984c.7273f8", + "30a32a4f.fc97b6", + "e75abab8.bb4fa8", + "89a393da.6bdb3", + "9aa5fe1e.3ade1", + "40e27ea8.8753", + "aab698e2.383438" ] ] }, { - "id": "949e516.74f10b", + "id": "8518254b.e757f8", "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": 3931.687469482422, - "y": 6100.19788646698, - "z": "902b25ae.7c3098", + "x": 3901.749969482422, + "y": 6056.76038646698, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "384dc047.829b8", + "id": "f439a732.953948", "type": "set", "name": "set rrmPolicyDedicatedRatio", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />", "comments": "", - "x": 3918.6875, - "y": 5805.319305419922, - "z": "902b25ae.7c3098", + "x": 3888.75, + "y": 5761.881805419922, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "cd351bf8.951728", + "id": "5bd2ba56.8a2e44", "type": "set", "name": "set rrmPolicyDedicatedRatio", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />", "comments": "", - "x": 3911.6874237060547, - "y": 5852.319272041321, - "z": "902b25ae.7c3098", + "x": 3881.7499237060547, + "y": 5808.881772041321, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "a9fc9cb9.5e7e7", + "id": "30be453f.79612a", "type": "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": 2332.687599182129, - "y": 5900.320433616638, - "z": "902b25ae.7c3098", + "x": 2302.750099182129, + "y": 5856.882933616638, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "6ff3ec5.6618514", + "id": "ed7bb90c.416bf8", "type": "block", "name": "CUCP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1640.677001953125, - "y": 1995.5313415527344, - "z": "902b25ae.7c3098", + "x": 1610.739501953125, + "y": 1952.0938415527344, + "z": "31bddc6e.92f4e4", "wires": [ [ - "dca924ce.cf3b88", - "13149dbf.08acd2", - "90e74ebf.2438f", - "afae25e6.704988" + "f52401df.36618", + "12d52c68.25f2d4", + "187667ff.f5fc98", + "e5be1f67.3e688" ] ] }, { - "id": "38695b2f.9cf444", + "id": "693ce36a.89a61c", "type": "block", "name": "Add RRM Policy Ratio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3112.6771812438965, - "y": 3094.531373023987, - "z": "902b25ae.7c3098", + "x": 3082.7396812438965, + "y": 3051.093873023987, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9335dca3.45bd6", - "f3fb275c.f8fdd8", - "d0126428.24a5c8", - "7a45049.92618fc", - "6d9e0bbf.a1c084", - "bbf33189.fcb8c", - "9eacc78.b4d3538" + "dc4d84e2.862bd8", + "6847be11.b65c6", + "216e0f62.007e2", + "da838b27.79ba08", + "9971d3d2.6c8c9", + "d4571a85.3f3498", + "a4240e73.e3e13", + "c203b93f.b77d58" ] ] }, { - "id": "a4761f36.1c551", + "id": "30d11169.fb414e", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3125.6771812438965, - "y": 2356.5316772460938, - "z": "902b25ae.7c3098", + "x": 3095.7396812438965, + "y": 2313.0941772460938, + "z": "31bddc6e.92f4e4", "wires": [ [ - "64f10df2.771e84", - "a8e816d1.35e078" + "292dbae2.579a76", + "864e224.2825ce" ] ] }, { - "id": "64f10df2.771e84", + "id": "292dbae2.579a76", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3315.67716217041, - "y": 2326.531460762024, - "z": "902b25ae.7c3098", + "x": 3285.73966217041, + "y": 2283.093960762024, + "z": "31bddc6e.92f4e4", "wires": [ [ - "41d16d53.0c7bc4" + "ef0b16.078054e8" ] ] }, { - "id": "a8e816d1.35e078", + "id": "864e224.2825ce", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3295.6771354675293, - "y": 2405.5315523147583, - "z": "902b25ae.7c3098", + "x": 3265.7396354675293, + "y": 2362.0940523147583, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f17ca77b.126288" + "53151d68.0cce74" ] ] }, { - "id": "13149dbf.08acd2", + "id": "12d52c68.25f2d4", "type": "for", "name": "For CUCPList Entries", "xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >", "comments": "", "outputs": 1, - "x": 1910.6769943237305, - "y": 1990.5314636230469, - "z": "902b25ae.7c3098", + "x": 1880.7394943237305, + "y": 1947.0939636230469, + "z": "31bddc6e.92f4e4", "wires": [ [ - "3e090a8.0bf96f6", - "394741f5.1610ae", - "ac6edb03.ebd528", - "36a33a87.4a36c6", - "2ba5e1ca.ee1a1e", - "f6a71d42.4e0ed" + "7435cbfc.002264", + "b09f02aa.f65fa", + "be036a9c.3b40a8", + "b0770eda.4ce2f", + "caa7ac88.f72a6" ] ] }, { - "id": "dca924ce.cf3b88", + "id": "f52401df.36618", "type": "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": 1825.6771278381348, - "y": 1898.5315990447998, - "z": "902b25ae.7c3098", + "x": 1795.7396278381348, + "y": 1855.0940990447998, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "90e74ebf.2438f", + "id": "187667ff.f5fc98", "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": 1780.6771240234375, - "y": 1860.5311107635498, - "z": "902b25ae.7c3098", + "x": 1750.7396240234375, + "y": 1817.0936107635498, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c0801b19.dc2eb8", + "id": "91f9c4f9.c5af18", "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": 2590.6767807006836, - "y": 1708.5317194461823, - "z": "902b25ae.7c3098", + "x": 2560.7392807006836, + "y": 1665.0942194461823, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3e090a8.0bf96f6", + "id": "7435cbfc.002264", "type": "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": 2208.6772079467773, - "y": 1863.5315389633179, - "z": "902b25ae.7c3098", + "x": 2158.739767074585, + "y": 1871.0940828323364, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "394741f5.1610ae", + "id": "b09f02aa.f65fa", "type": "block", "name": "cellCUCPList Level Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2257.677001953125, - "y": 1811.5314025878906, - "z": "902b25ae.7c3098", + "x": 2227.739501953125, + "y": 1768.0939025878906, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c0801b19.dc2eb8", - "80872174.c153d", - "c8c3cee2.3f217", - "4b4ccc06.c4c234", - "66ee23cb.5bd3cc", - "fe65a996.9bb588" + "91f9c4f9.c5af18", + "c8c59219.15acd", + "9d4b73ca.86735", + "82b9cfae.eb4f6", + "71467edd.f8544", + "7ac6372d.01c678" ] ] }, { - "id": "80872174.c153d", + "id": "c8c59219.15acd", "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": 2619.6768188476562, - "y": 1751.5313425064087, - "z": "902b25ae.7c3098", + "x": 2589.7393188476562, + "y": 1708.0938425064087, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c8c3cee2.3f217", + "id": "9d4b73ca.86735", "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": 2634.6771202087402, - "y": 1800.5314645767212, - "z": "902b25ae.7c3098", + "x": 2604.7396202087402, + "y": 1757.0939645767212, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "4b4ccc06.c4c234", + "id": "82b9cfae.eb4f6", "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": 2660.677001953125, - "y": 1849.5315856933594, - "z": "902b25ae.7c3098", + "x": 2630.739501953125, + "y": 1806.0940856933594, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "66ee23cb.5bd3cc", + "id": "71467edd.f8544", "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": 2673.677001953125, - "y": 1941.5314645767212, - "z": "902b25ae.7c3098", + "x": 2643.739501953125, + "y": 1898.0939645767212, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ac6edb03.ebd528", + "id": "be036a9c.3b40a8", "type": "for", "name": "For List of Cells ", "xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >", "comments": "", "outputs": 1, - "x": 2333.6669921875, - "y": 2220.531463623047, - "z": "902b25ae.7c3098", + "x": 2303.7294921875, + "y": 2177.093963623047, + "z": "31bddc6e.92f4e4", "wires": [ [ - "815e12b6.09871", - "11592c65.f83e64" + "2b4f5d02.d7a8a2", + "723f389b.c9aee8" ] ] }, { - "id": "9457acbe.1a0a8", + "id": "43de4319.f2835c", "type": "block", "name": "pLMNInfoList Level Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3287.6667442321777, - "y": 2085.5313720703125, - "z": "902b25ae.7c3098", + "x": 3257.7292442321777, + "y": 2042.0938720703125, + "z": "31bddc6e.92f4e4", "wires": [ [ - "4eff6cee.3d0f64" + "8c8c92e3.16fea" ] ] }, { - "id": "4eff6cee.3d0f64", + "id": "8c8c92e3.16fea", "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": 3552.666759490967, - "y": 2063.5313625335693, - "z": "902b25ae.7c3098", + "x": 3522.729259490967, + "y": 2020.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "5c2fb30d.b20c7c", + "id": "42670d1b.290fc4", "type": "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": 3254.666759490967, - "y": 2143.5313625335693, - "z": "902b25ae.7c3098", + "x": 3224.729259490967, + "y": 2100.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "29ccde77.0e44f2", + "id": "9eeec0a0.6b81b", "type": "for", "name": "For pLMNInfoListEntries", "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >", "comments": "", "outputs": 1, - "x": 3285.666759490967, - "y": 2241.5313625335693, - "z": "902b25ae.7c3098", + "x": 3255.729259490967, + "y": 2198.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b91b7b4d.300488" + "f1e12bbf.000418" ] ] }, { - "id": "36a33a87.4a36c6", + "id": "b0770eda.4ce2f", "type": "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": 2204.6667671203613, - "y": 1929.5312638282776, - "z": "902b25ae.7c3098", + "x": 2157.7293014526367, + "y": 1912.0938386917114, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "b91b7b4d.300488", + "id": "f1e12bbf.000418", "type": "block", "name": "pLMNInfoList Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3505.666759490967, - "y": 2237.5313625335693, - "z": "902b25ae.7c3098", + "x": 3475.729259490967, + "y": 2194.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a2d6da5b.3ae1e8", - "ffc4e90.df7dc18" + "ef055b5d.37b838", + "82f3fec7.f69a3" ] ] }, { - "id": "a2d6da5b.3ae1e8", + "id": "ef055b5d.37b838", "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": 3679.6668128967285, - "y": 2193.5313625335693, - "z": "902b25ae.7c3098", + "x": 3649.7293128967285, + "y": 2150.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "eadd0de2.36656", + "id": "e4a1222.4e90fe", "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": 3357.666759490967, - "y": 2192.5313625335693, - "z": "902b25ae.7c3098", + "x": 3327.729259490967, + "y": 2149.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "ffc4e90.df7dc18", + "id": "82f3fec7.f69a3", "type": "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": 3682.666759490967, - "y": 2257.5313625335693, - "z": "902b25ae.7c3098", + "x": 3652.729259490967, + "y": 2214.0938625335693, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3ea41bb7.cbb074", + "id": "2e48d946.b49ed6", "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": 3529.6667518615723, - "y": 2123.5313472747803, - "z": "902b25ae.7c3098", + "x": 3499.7292518615723, + "y": 2080.0938472747803, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8a3e7f77.42275", + "id": "badb5a95.895c38", "type": "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": 3464.6779861450195, - "y": 2691.8649291992188, - "z": "902b25ae.7c3098", + "x": 3436.740509033203, + "y": 2653.4275579452515, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8c000271.a879b", + "id": "3720d02.3d9933", "type": "block", "name": "Add PLMNInfoList Entry", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3171.6768531799316, - "y": 2632.8754329681396, - "z": "902b25ae.7c3098", + "x": 3141.7393531799316, + "y": 2589.4379329681396, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8a3e7f77.42275", - "5927378d.939d58", - "434c52b8.30bbac", - "55eff8af.8f9c28", - "9e070b11.ab4d88", - "ecfa804e.3731c", - "a4761f36.1c551", - "5d4cbeb7.88345" + "badb5a95.895c38", + "7ff8fd12.b22684", + "ad4133a5.00b32", + "c7e816d4.c50918", + "ffaa552a.06e018", + "402b90f1.93729", + "30d11169.fb414e", + "f5938498.7f8c28", + "cd16980f.b7b198" ] ] }, { - "id": "5d4cbeb7.88345", + "id": "f5938498.7f8c28", "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": 3573.6775436401367, - "y": 2771.8753929138184, - "z": "902b25ae.7c3098", + "x": 3543.7400436401367, + "y": 2728.4378929138184, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1d18d8e0.adbca7", - "cb5c5e75.b19fc" + "e03fe0bf.9cb58", + "f1d776a3.94d638" ] ] }, { - "id": "5927378d.939d58", + "id": "7ff8fd12.b22684", "type": "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": 3457.677104949951, - "y": 2639.8755283355713, - "z": "902b25ae.7c3098", + "x": 3430.739471435547, + "y": 2621.4381170272827, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "41d16d53.0c7bc4", + "id": "ef0b16.078054e8", "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": 3600.677089691162, - "y": 2326.5316104888916, - "z": "902b25ae.7c3098", + "x": 3570.739589691162, + "y": 2283.0941104888916, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "434c52b8.30bbac", + "id": "ad4133a5.00b32", "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": 3482.6668815612793, - "y": 2462.5314326286316, - "z": "902b25ae.7c3098", + "x": 3452.7293815612793, + "y": 2419.0939326286316, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "55eff8af.8f9c28", + "id": "c7e816d4.c50918", "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": 3470.666877746582, - "y": 2508.531493663788, - "z": "902b25ae.7c3098", + "x": 3440.729377746582, + "y": 2465.093993663788, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9e070b11.ab4d88", + "id": "ffaa552a.06e018", "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": 3457.6668796539307, - "y": 2549.5315551757812, - "z": "902b25ae.7c3098", + "x": 3427.7293796539307, + "y": 2506.0940551757812, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ecfa804e.3731c", + "id": "402b90f1.93729", "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": 3465.666877746582, - "y": 2590.5314331054688, - "z": "902b25ae.7c3098", + "x": 3435.729377746582, + "y": 2547.0939331054688, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1d18d8e0.adbca7", + "id": "e03fe0bf.9cb58", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3689.67720413208, - "y": 2569.8647356033325, - "z": "902b25ae.7c3098", + "x": 3659.73970413208, + "y": 2526.4272356033325, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c5269c26.ffbc9" + "bc01695c.17eda8" ] ] }, { - "id": "cb5c5e75.b19fc", + "id": "f1d776a3.94d638", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3982.67724609375, - "y": 2791.864827156067, - "z": "902b25ae.7c3098", + "x": 3952.73974609375, + "y": 2748.427327156067, + "z": "31bddc6e.92f4e4", "wires": [ [ - "56b64eb2.42618" + "67edba55.0f1914" ] ] }, { - "id": "c5269c26.ffbc9", + "id": "bc01695c.17eda8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3823.67720413208, - "y": 2576.864857673645, - "z": "902b25ae.7c3098", + "x": 3793.73970413208, + "y": 2533.427357673645, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b3033a41.743ed8", - "b1d10830.075248" + "7d23854e.2153cc", + "66a87a6d.5e0334" ] ] }, { - "id": "56b64eb2.42618", + "id": "67edba55.0f1914", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4157.67692565918, - "y": 2788.864827156067, - "z": "902b25ae.7c3098", + "x": 4127.73942565918, + "y": 2745.427327156067, + "z": "31bddc6e.92f4e4", "wires": [ [ - "efa2ca14.3ff558" + "2b0fa264.58105e" ] ] }, { - "id": "b3033a41.743ed8", + "id": "7d23854e.2153cc", "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": 3969.6768798828125, - "y": 2676.8649377822876, - "z": "902b25ae.7c3098", + "x": 3939.7393798828125, + "y": 2633.4274377822876, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "efa2ca14.3ff558", + "id": "2b0fa264.58105e", "type": "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": 4312.677577972412, - "y": 2780.865152835846, - "z": "902b25ae.7c3098", + "x": 4282.740077972412, + "y": 2737.427652835846, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "afae25e6.704988", + "id": "e5be1f67.3e688", "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": 1895.6667137145996, - "y": 1945.5316009521484, - "z": "902b25ae.7c3098", + "x": 1865.7292137145996, + "y": 1902.0941009521484, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "e3534b46.dbb5e8", + "id": "5048398.65af5c8", "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": 3795.666816711426, - "y": 2370.531491279602, - "z": "902b25ae.7c3098", + "x": 3765.729316711426, + "y": 2327.093991279602, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "f17ca77b.126288", + "id": "53151d68.0cce74", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3488.6667861938477, - "y": 2400.5315523147583, - "z": "902b25ae.7c3098", + "x": 3458.7292861938477, + "y": 2357.0940523147583, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e3534b46.dbb5e8", - "aed19f7a.4e233" + "5048398.65af5c8", + "ef998573.20c7a8" ] ] }, { - "id": "aed19f7a.4e233", + "id": "ef998573.20c7a8", "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": 3739.6672172546387, - "y": 2423.5316848754883, - "z": "902b25ae.7c3098", + "x": 3709.7297172546387, + "y": 2380.0941848754883, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "56dbce13.96d8", + "id": "4c0c2de1.b5cae4", "type": "block", "name": "Get Cells List in TA", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1556.6669692993164, - "y": 494.5316410064697, - "z": "902b25ae.7c3098", + "x": 1526.7294692993164, + "y": 451.0941410064697, + "z": "31bddc6e.92f4e4", "wires": [ [ - "13bd29d8.5a4c26", - "8027218b.03a2d", - "61e369e5.906d38" + "2e49351c.8b4f6a", + "41b2dc48.ae3844", + "2bdf1089.1dbd6" ] ] }, { - "id": "13bd29d8.5a4c26", + "id": "2e49351c.8b4f6a", "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": 1812.667091369629, - "y": 354.5315799713135, - "z": "902b25ae.7c3098", + "x": 1782.729591369629, + "y": 311.0940799713135, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8027218b.03a2d", + "id": "41b2dc48.ae3844", "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": 1837.667091369629, - "y": 456.53179359436035, - "z": "902b25ae.7c3098", + "x": 1807.729591369629, + "y": 413.09429359436035, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "61e369e5.906d38", + "id": "2bdf1089.1dbd6", "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": 1839.667091369629, - "y": 539.5316944122314, - "z": "902b25ae.7c3098", + "x": 1809.729591369629, + "y": 496.09419441223145, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e17d3c01.908be", - "b3f0fa67.29eee8" + "38701ca5.035a84", + "298ad075.22203" ] ] }, { - "id": "e17d3c01.908be", + "id": "38701ca5.035a84", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2116.6667861938477, - "y": 473.5317783355713, - "z": "902b25ae.7c3098", + "x": 2086.7292861938477, + "y": 430.0942783355713, + "z": "31bddc6e.92f4e4", "wires": [ [ - "76085849.956628" + "80062724.79bfd8" ] ] }, { - "id": "b3f0fa67.29eee8", + "id": "298ad075.22203", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2065.6666946411133, - "y": 619.5316944122314, - "z": "902b25ae.7c3098", + "x": 2035.7291946411133, + "y": 576.0941944122314, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b8b9a0fa.ca06c" + "7d92bda8.bea974" ] ] }, { - "id": "76085849.956628", + "id": "80062724.79bfd8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2491.6667556762695, - "y": 466.5317325592041, - "z": "902b25ae.7c3098", + "x": 2461.7292556762695, + "y": 423.0942325592041, + "z": "31bddc6e.92f4e4", "wires": [ [ - "36a58df0.f17ed2", - "10ac2eac.3e2841", - "b1d10830.075248" + "5cba5943.00bfd8", + "97c3b3de.5d5c5", + "66a87a6d.5e0334" ] ] }, { - "id": "b8b9a0fa.ca06c", + "id": "7d92bda8.bea974", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2211.6665115356445, - "y": 597.531816482544, - "z": "902b25ae.7c3098", + "x": 2181.7290115356445, + "y": 554.094316482544, + "z": "31bddc6e.92f4e4", "wires": [ [ - "73aeebfb.f154f4", - "a9d16f95.fd651", - "2ad6acbd.2fabe4" + "2583460a.31e17a", + "f633cc88.f08ce", + "482c00b3.a99bb" ] ] }, { - "id": "36a58df0.f17ed2", + "id": "5cba5943.00bfd8", "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": 2427.6665115356445, - "y": 544.531717300415, - "z": "902b25ae.7c3098", + "x": 2397.7290115356445, + "y": 501.09421730041504, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "73aeebfb.f154f4", + "id": "2583460a.31e17a", "type": "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": 2371.6664810180664, - "y": 592.5317249298096, - "z": "902b25ae.7c3098", + "x": 2341.7289810180664, + "y": 549.0942249298096, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "10ac2eac.3e2841", + "id": "97c3b3de.5d5c5", "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": 2471.666847229004, - "y": 404.64277839660645, - "z": "902b25ae.7c3098", + "x": 2441.729347229004, + "y": 361.20527839660645, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "a9d16f95.fd651", + "id": "f633cc88.f08ce", "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": 2391.4448013305664, - "y": 736.5317554473877, - "z": "902b25ae.7c3098", + "x": 2361.5073013305664, + "y": 693.0942554473877, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "6b88aba6.7fe364", + "id": "5b4f2276.238c9c", "type": "comment", "name": "Connect to AddPLMNInfoList Entry", "info": "when able to talk to latest SDNC", "comments": "", - "x": 3469.666576385498, - "y": 2730.8646507263184, - "z": "902b25ae.7c3098", + "x": 3439.729076385498, + "y": 2687.4271507263184, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "9335dca3.45bd6", + "id": "dc4d84e2.862bd8", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3324.666576385498, - "y": 2888.198024749756, - "z": "902b25ae.7c3098", + "x": 3294.729076385498, + "y": 2844.760524749756, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f6e9e01c.b2ece", - "89c6bbd8.aba4a8" + "df69ccb0.f6e95", + "49b75895.dc6b68" ] ] }, { - "id": "f6e9e01c.b2ece", + "id": "df69ccb0.f6e95", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3519.666603088379, - "y": 2848.197932243347, - "z": "902b25ae.7c3098", + "x": 3489.729103088379, + "y": 2804.760432243347, + "z": "31bddc6e.92f4e4", "wires": [ [ - "30137ea9.9f0302" + "f9b90f89.dfe03" ] ] }, { - "id": "89c6bbd8.aba4a8", + "id": "49b75895.dc6b68", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3499.666576385498, - "y": 2927.1980237960815, - "z": "902b25ae.7c3098", + "x": 3469.729076385498, + "y": 2883.7605237960815, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a913fc61.3c3fe" + "171a8238.8ed7ee" ] ] }, { - "id": "bbf33189.fcb8c", + "id": "d4571a85.3f3498", "type": "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": 3480.667324066162, - "y": 3153.5313663482666, - "z": "902b25ae.7c3098", + "x": 3441.730197906494, + "y": 3128.0944323539734, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9eacc78.b4d3538", + "id": "a4240e73.e3e13", "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": 3709.666591644287, - "y": 3224.5416202545166, - "z": "902b25ae.7c3098", + "x": 3679.729091644287, + "y": 3181.1041202545166, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c8e8a63e.f50a68", - "ab3506c9.47f948" + "240a81c0.aae5ee", + "d2bab658.94cc58" ] ] }, { - "id": "6d9e0bbf.a1c084", + "id": "9971d3d2.6c8c9", "type": "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": 3472.666591644287, - "y": 3109.5416202545166, - "z": "902b25ae.7c3098", + "x": 3447.7290992736816, + "y": 3094.1042585372925, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "30137ea9.9f0302", + "id": "f9b90f89.dfe03", "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": 3802.666576385498, - "y": 2843.1980240345, - "z": "902b25ae.7c3098", + "x": 3772.729076385498, + "y": 2799.7605240345, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "f3fb275c.f8fdd8", + "id": "6847be11.b65c6", "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": 3515.656337738037, - "y": 2979.1981143951416, - "z": "902b25ae.7c3098", + "x": 3485.718837738037, + "y": 2935.7606143951416, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d0126428.24a5c8", + "id": "216e0f62.007e2", "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": 3496.656337738037, - "y": 3018.1978702545166, - "z": "902b25ae.7c3098", + "x": 3466.718837738037, + "y": 2974.7603702545166, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "7a45049.92618fc", + "id": "da838b27.79ba08", "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": 3490.656337738037, - "y": 3066.1981143951416, - "z": "902b25ae.7c3098", + "x": 3447.7188453674316, + "y": 3014.760753631592, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c8e8a63e.f50a68", + "id": "240a81c0.aae5ee", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3760.666706085205, - "y": 3032.5314836502075, - "z": "902b25ae.7c3098", + "x": 3730.729206085205, + "y": 2989.0939836502075, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8fce53d8.97b78" + "68c4033d.7fdb5c" ] ] }, { - "id": "ab3506c9.47f948", + "id": "d2bab658.94cc58", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3997.666835784912, - "y": 3196.5313663482666, - "z": "902b25ae.7c3098", + "x": 3967.729335784912, + "y": 3153.0938663482666, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8ecd0b54.ddcb28" + "8d54746e.c7e3d8" ] ] }, { - "id": "8fce53d8.97b78", + "id": "68c4033d.7fdb5c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3908.666706085205, - "y": 3059.5314836502075, - "z": "902b25ae.7c3098", + "x": 3878.729206085205, + "y": 3016.0939836502075, + "z": "31bddc6e.92f4e4", "wires": [ [ - "11a4fc22.3da314", - "b1d10830.075248" + "8ee7b6d7.607f18", + "66a87a6d.5e0334" ] ] }, { - "id": "8ecd0b54.ddcb28", + "id": "8d54746e.c7e3d8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4161.666347503662, - "y": 3201.5313663482666, - "z": "902b25ae.7c3098", + "x": 4131.728847503662, + "y": 3158.0938663482666, + "z": "31bddc6e.92f4e4", "wires": [ [ - "879e3e32.676fa" + "33a34a60.ed6ef6" ] ] }, { - "id": "11a4fc22.3da314", + "id": "8ee7b6d7.607f18", "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": 4047.66646194458, - "y": 3131.5314836502075, - "z": "902b25ae.7c3098", + "x": 4017.72896194458, + "y": 3088.0939836502075, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "879e3e32.676fa", + "id": "33a34a60.ed6ef6", "type": "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": 4261.666835784912, - "y": 3126.5316104888916, - "z": "902b25ae.7c3098", + "x": 4231.729335784912, + "y": 3083.0941104888916, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1eff2712.6c5d49", + "id": "3f6b3705.1fbef8", "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": 3998.65629196167, - "y": 2898.1980152130127, - "z": "902b25ae.7c3098", + "x": 3968.71879196167, + "y": 2854.7605152130127, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "a913fc61.3c3fe", + "id": "171a8238.8ed7ee", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3692.6562271118164, - "y": 2922.1980237960815, - "z": "902b25ae.7c3098", + "x": 3662.7187271118164, + "y": 2878.7605237960815, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1eff2712.6c5d49", - "6f0d53b2.5498dc" + "3f6b3705.1fbef8", + "43e85ed7.f0175" ] ] }, { - "id": "6f0d53b2.5498dc", + "id": "43e85ed7.f0175", "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": 3935.6562995910645, - "y": 2957.1980743408203, - "z": "902b25ae.7c3098", + "x": 3905.7187995910645, + "y": 2913.7605743408203, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "5a25ed39.1c1e04", + "id": "af1059f8.164e98", "type": "comment", "name": "Connect to RRM P{olicy Ratio", "info": "when able to talk to latest SDNC", "comments": "", - "x": 3680.656093597412, - "y": 3169.5311222076416, - "z": "902b25ae.7c3098", + "x": 3650.718593597412, + "y": 3126.0936222076416, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "fe65a996.9bb588", + "id": "7ac6372d.01c678", "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": 2663.6769981384277, - "y": 1892.5315256118774, - "z": "902b25ae.7c3098", + "x": 2633.7394981384277, + "y": 1849.0940256118774, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "7a5b63bc.bc8eac", + "id": "e38fa06c.cfb8e", "type": "block", "name": "CUUP", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1918.7082176208496, - "y": 3580.2762393951416, - "z": "902b25ae.7c3098", + "x": 1888.7707176208496, + "y": 3536.8387393951416, + "z": "31bddc6e.92f4e4", "wires": [ [ - "65b52fa1.e8d33", - "3666b58a.81631a", - "220480e4.8c61f", - "5181ac1d.ed2ff4" + "9444fa49.a707f8", + "47b4319c.969d2", + "ed72307d.17b2b", + "98c34e97.ceaaf" ] ] }, { - "id": "8ddb5614.3de118", + "id": "e53dbaf9.038488", "type": "block", "name": "Add RRM Policy Ratio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3280.7085037231445, - "y": 5047.276567697525, - "z": "902b25ae.7c3098", + "x": 3250.7710037231445, + "y": 5003.839067697525, + "z": "31bddc6e.92f4e4", "wires": [ [ - "3379298c.52f936", - "76bc8b9a.3f3004", - "d3541253.4f9bb", - "361fb395.a5791c", - "edfdce45.75f4d", - "118fcf84.9fd48" + "636fb849.56f758", + "65b89c6c.04f254", + "5cd2e725.961368", + "fb1e8e10.fdf87", + "3533f4b4.5e3efc", + "c65188a1.aafd58", + "7d94ef90.fbe44" ] ] }, { - "id": "bf809c90.42251", + "id": "637b56cc.2f2318", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3476.708240509033, - "y": 4292.277310371399, - "z": "902b25ae.7c3098", + "x": 3446.770740509033, + "y": 4248.839810371399, + "z": "31bddc6e.92f4e4", "wires": [ [ - "71c9ac87.b33454", - "8374849a.f832d8" + "7d3669f7.645788", + "f76d35d2.489e68" ] ] }, { - "id": "71c9ac87.b33454", + "id": "7d3669f7.645788", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3717.708240509033, - "y": 4224.277310848236, - "z": "902b25ae.7c3098", + "x": 3687.770740509033, + "y": 4180.839810848236, + "z": "31bddc6e.92f4e4", "wires": [ [ - "32b24e5c.05a992" + "61b659d.02055a8" ] ] }, { - "id": "8374849a.f832d8", + "id": "f76d35d2.489e68", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3698.7083625793457, - "y": 4318.277188301086, - "z": "902b25ae.7c3098", + "x": 3668.7708625793457, + "y": 4274.839688301086, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f977adf0.37736" + "6780c92e.405f18" ] ] }, { - "id": "3666b58a.81631a", + "id": "47b4319c.969d2", "type": "for", "name": "For List of CUUP's", "xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >", "comments": "", "outputs": 1, - "x": 2564.708251953125, - "y": 3674.277069091797, - "z": "902b25ae.7c3098", + "x": 2534.770751953125, + "y": 3630.839569091797, + "z": "31bddc6e.92f4e4", "wires": [ [ - "d2cecf2b.2bb8a", - "90d738c0.a94778", - "96687382.cb959", - "9ce0499f.441d98", - "60df4d88.f18d84", - "8ddb5614.3de118", - "25a1224d.f5effe", - "98c42098.224dc" + "b07ca192.e4316", + "c679ff37.2806e", + "19087847.949fa8", + "faf61bb4.0e5e48", + "4a9aa312.80092c", + "e53dbaf9.038488", + "7fdef424.c87d8c", + "bc78a26a.a6aa1" ] ] }, { - "id": "65b52fa1.e8d33", + "id": "9444fa49.a707f8", "type": "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": 2987.7081031799316, - "y": 3427.2765417099, - "z": "902b25ae.7c3098", + "x": 2957.7706031799316, + "y": 3383.8390417099, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "220480e4.8c61f", + "id": "ed72307d.17b2b", "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": 2990.7080078125, - "y": 3384.2766246795654, - "z": "902b25ae.7c3098", + "x": 2960.7705078125, + "y": 3340.8391246795654, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d2cecf2b.2bb8a", + "id": "b07ca192.e4316", "type": "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": 3474.7080078125, - "y": 3840.2771129608154, - "z": "902b25ae.7c3098", + "x": 3444.7705078125, + "y": 3796.8396129608154, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "90d738c0.a94778", + "id": "c679ff37.2806e", "type": "block", "name": "cellCUUPList Level Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3440.7081451416016, - "y": 3769.2767436504364, - "z": "902b25ae.7c3098", + "x": 3410.7706451416016, + "y": 3725.8392436504364, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9c1c4dbc.6f1aa", - "8ad1610c.a953", - "d9417f9f.3f6f5", - "e771c65b.e15c38" + "1e4ae8d1.80cf97", + "e05a0b3d.0f1238", + "c0a8aaf5.d129e8", + "951a0f11.4543b" ] ] }, { - "id": "9c1c4dbc.6f1aa", + "id": "1e4ae8d1.80cf97", "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": 3877.708251953125, - "y": 3688.276580810547, - "z": "902b25ae.7c3098", + "x": 3847.770751953125, + "y": 3644.839080810547, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8ad1610c.a953", + "id": "e05a0b3d.0f1238", "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": 3898.708339691162, - "y": 3783.2767276763916, - "z": "902b25ae.7c3098", + "x": 3868.770839691162, + "y": 3739.8392276763916, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d9417f9f.3f6f5", + "id": "c0a8aaf5.d129e8", "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": 3916.708106994629, - "y": 3827.2766478061676, - "z": "902b25ae.7c3098", + "x": 3886.770606994629, + "y": 3783.8391478061676, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9ce0499f.441d98", + "id": "faf61bb4.0e5e48", "type": "for", "name": "For pLMNInfoListEntries", "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >", "comments": "", "outputs": 1, - "x": 3479.697856903076, - "y": 4078.2767384052277, - "z": "902b25ae.7c3098", + "x": 3449.760356903076, + "y": 4034.8392384052277, + "z": "31bddc6e.92f4e4", "wires": [ [ - "dbfbeb43.7417f8" + "ef221db.09757e" ] ] }, { - "id": "96687382.cb959", + "id": "19087847.949fa8", "type": "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": 3479.6979789733887, - "y": 3932.276615858078, - "z": "902b25ae.7c3098", + "x": 3449.7604789733887, + "y": 3888.839115858078, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "dbfbeb43.7417f8", + "id": "ef221db.09757e", "type": "block", "name": "pLMNInfoList Parms", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3730.6980323791504, - "y": 4077.276689529419, - "z": "902b25ae.7c3098", + "x": 3700.7605323791504, + "y": 4033.839189529419, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5f513a26.25b6f4", - "24e06964.c1f256" + "9cd1a916.bb2538", + "b3f1c9a1.633608" ] ] }, { - "id": "5f513a26.25b6f4", + "id": "9cd1a916.bb2538", "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": 3944.697998046875, - "y": 4028.2768115997314, - "z": "902b25ae.7c3098", + "x": 3914.760498046875, + "y": 3984.8393115997314, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ca42709e.0785", + "id": "ffabc2db.105a8", "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": 3547.6980171203613, - "y": 4133.276689529419, - "z": "902b25ae.7c3098", + "x": 3517.7605171203613, + "y": 4089.839189529419, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "24e06964.c1f256", + "id": "b3f1c9a1.633608", "type": "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": 3948.6980590820312, - "y": 4112.276323318481, - "z": "902b25ae.7c3098", + "x": 3918.7605590820312, + "y": 4068.8388233184814, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "801640dd.e846b", + "id": "718e5a7c.375fa4", "type": "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": 3860.708881378174, - "y": 4638.609990596771, - "z": "902b25ae.7c3098", + "x": 3795.7717094421387, + "y": 4624.172580718994, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "60df4d88.f18d84", + "id": "4a9aa312.80092c", "type": "block", "name": "Add PLMNInfoList Entry", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3419.707996368408, - "y": 4477.620929718018, - "z": "902b25ae.7c3098", + "x": 3389.770496368408, + "y": 4434.183429718018, + "z": "31bddc6e.92f4e4", "wires": [ [ - "801640dd.e846b", - "8e8f2b00.5422e8", - "a1cbea3c.4bd528", - "ff1f90d8.cddac", - "817fe7bf.d5e428", - "bf809c90.42251", - "91a146e3.3ed648" + "718e5a7c.375fa4", + "99cafb05.71b3e8", + "f86ececf.85d0a", + "249c17b6.aeeba8", + "5643ab16.0bf484", + "637b56cc.2f2318", + "51d5ead6.304654", + "f82f8d1d.c78b4", + "35b1d16a.ddd30e" ] ] }, { - "id": "91a146e3.3ed648", + "id": "51d5ead6.304654", "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": 3820.7083702087402, - "y": 4676.620819091797, - "z": "902b25ae.7c3098", + "x": 3787.770793914795, + "y": 4683.183139801025, + "z": "31bddc6e.92f4e4", "wires": [ [ - "50eda65d.caeea8", - "d62b8e0f.9d22d" + "8c7cd9fd.ba3b68", + "2531f1fe.f8aa5e" ] ] }, { - "id": "8e8f2b00.5422e8", + "id": "99cafb05.71b3e8", "type": "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": 3853.7080001831055, - "y": 4586.620589733124, - "z": "902b25ae.7c3098", + "x": 3797.7706718444824, + "y": 4576.183139801025, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "32b24e5c.05a992", + "id": "61b659d.02055a8", "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": 4029.70804977417, - "y": 4224.276947975159, - "z": "902b25ae.7c3098", + "x": 3999.77054977417, + "y": 4180.839447975159, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "a1cbea3c.4bd528", + "id": "f86ececf.85d0a", "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": 3879.69779586792, - "y": 4411.276870727539, - "z": "902b25ae.7c3098", + "x": 3849.76029586792, + "y": 4367.839370727539, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ff1f90d8.cddac", + "id": "249c17b6.aeeba8", "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": 3845.69779586792, - "y": 4473.276872634888, - "z": "902b25ae.7c3098", + "x": 3815.76029586792, + "y": 4429.839372634888, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "817fe7bf.d5e428", + "id": "5643ab16.0bf484", "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": 3842.69779586792, - "y": 4522.276874542236, - "z": "902b25ae.7c3098", + "x": 3812.76029586792, + "y": 4478.839374542236, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "50eda65d.caeea8", + "id": "8c7cd9fd.ba3b68", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 4078.7088623046875, - "y": 4503.609588623047, - "z": "902b25ae.7c3098", + "x": 4048.7713623046875, + "y": 4460.172088623047, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f3d112ea.3b22c" + "73579bb4.c27694" ] ] }, { - "id": "d62b8e0f.9d22d", + "id": "2531f1fe.f8aa5e", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4119.709228515625, - "y": 4661.610687255859, - "z": "902b25ae.7c3098", + "x": 4089.771728515625, + "y": 4618.173187255859, + "z": "31bddc6e.92f4e4", "wires": [ [ - "eb86fb9d.0d6478" + "7d79e256.c1cc7c" ] ] }, { - "id": "f3d112ea.3b22c", + "id": "73579bb4.c27694", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4292.70849609375, - "y": 4429.610321044922, - "z": "902b25ae.7c3098", + "x": 4262.77099609375, + "y": 4386.172821044922, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c1afefb4.2e65b", - "b1d10830.075248" + "6b7bc12.2cce34", + "66a87a6d.5e0334" ] ] }, { - "id": "eb86fb9d.0d6478", + "id": "7d79e256.c1cc7c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4133.7086181640625, - "y": 4724.610809326172, - "z": "902b25ae.7c3098", + "x": 4103.7711181640625, + "y": 4681.173309326172, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9e864169.bffa8" + "bc579d8f.77a4b" ] ] }, { - "id": "c1afefb4.2e65b", + "id": "6b7bc12.2cce34", "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": 4279.7081298828125, - "y": 4558.610321044922, - "z": "902b25ae.7c3098", + "x": 4249.7706298828125, + "y": 4515.172821044922, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "9e864169.bffa8", + "id": "bc579d8f.77a4b", "type": "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": 4280.708984375, - "y": 4712.610809326172, - "z": "902b25ae.7c3098", + "x": 4250.771484375, + "y": 4669.173309326172, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9fe99981.e04838", + "id": "4d04c3f0.7c798c", "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": 4224.697803497314, - "y": 4287.276948928833, - "z": "902b25ae.7c3098", + "x": 4194.760303497314, + "y": 4243.839448928833, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "f977adf0.37736", + "id": "6780c92e.405f18", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3879.6976356506348, - "y": 4319.276950836182, - "z": "902b25ae.7c3098", + "x": 3849.7601356506348, + "y": 4275.839450836182, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9fe99981.e04838", - "94679fe6.5eca2" + "4d04c3f0.7c798c", + "2803f005.e7db4" ] ] }, { - "id": "94679fe6.5eca2", + "id": "2803f005.e7db4", "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": 4143.698131561279, - "y": 4351.276950836182, - "z": "902b25ae.7c3098", + "x": 4113.760631561279, + "y": 4307.839450836182, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "62ddf420.39034c", + "id": "6f315841.f55be8", "type": "comment", "name": "Connect to AddPLMNInfoList Entry", "info": "when able to talk to latest SDNC", "comments": "", - "x": 3738.6977195739746, - "y": 4725.610262870789, - "z": "902b25ae.7c3098", + "x": 3541.7603607177734, + "y": 4581.172827720642, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "3379298c.52f936", + "id": "636fb849.56f758", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 3512.69775390625, - "y": 4874.942841291428, - "z": "902b25ae.7c3098", + "x": 3482.76025390625, + "y": 4831.505341291428, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f2e68b46.921588", - "3daadbf9.2c88a4" + "cf20eb87.2cfa88", + "a3da901f.8750f" ] ] }, { - "id": "f2e68b46.921588", + "id": "cf20eb87.2cfa88", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 3707.697780609131, - "y": 4834.942748785019, - "z": "902b25ae.7c3098", + "x": 3677.760280609131, + "y": 4791.505248785019, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8c799358.477f7" + "ab136f2d.0dda9" ] ] }, { - "id": "3daadbf9.2c88a4", + "id": "a3da901f.8750f", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3687.69775390625, - "y": 4913.942840337753, - "z": "902b25ae.7c3098", + "x": 3657.76025390625, + "y": 4870.505340337753, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b916fbdd.ddf7b8" + "7eb814ab.2771bc" ] ] }, { - "id": "edfdce45.75f4d", + "id": "3533f4b4.5e3efc", "type": "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": 3667.698860168457, - "y": 5138.276465654373, - "z": "902b25ae.7c3098", + "x": 3636.761631011963, + "y": 5138.839032173157, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "118fcf84.9fd48", + "id": "c65188a1.aafd58", "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": 3728.6986083984375, - "y": 5245.287207841873, - "z": "902b25ae.7c3098", + "x": 3698.7611083984375, + "y": 5201.849707841873, + "z": "31bddc6e.92f4e4", "wires": [ [ - "955b4a61.d1a788", - "391460fe.fd237" + "244d663b.29b63a", + "c50b357b.640508" ] ] }, { - "id": "361fb395.a5791c", + "id": "fb1e8e10.fdf87", "type": "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": 3658.698127746582, - "y": 5082.286719560623, - "z": "902b25ae.7c3098", + "x": 3636.760898590088, + "y": 5088.849347114563, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8c799358.477f7", + "id": "ab136f2d.0dda9", "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": 3990.69775390625, - "y": 4829.942840576172, - "z": "902b25ae.7c3098", + "x": 3960.76025390625, + "y": 4786.505340576172, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "76bc8b9a.3f3004", + "id": "65b89c6c.04f254", "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": 3706.687469482422, - "y": 4983.943256616592, - "z": "902b25ae.7c3098", + "x": 3676.749969482422, + "y": 4940.505756616592, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d3541253.4f9bb", + "id": "5cd2e725.961368", "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": 3660.687629699707, - "y": 5027.943579912186, - "z": "902b25ae.7c3098", + "x": 3630.750129699707, + "y": 4984.506079912186, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "955b4a61.d1a788", + "id": "244d663b.29b63a", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3987.69815826416, - "y": 5055.27617764473, - "z": "902b25ae.7c3098", + "x": 3957.76065826416, + "y": 5011.83867764473, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6f5bc786.ba1a98" + "c3acf846.120a28" ] ] }, { - "id": "391460fe.fd237", + "id": "c50b357b.640508", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4050.698127746582, - "y": 5242.276587724686, - "z": "902b25ae.7c3098", + "x": 4020.760627746582, + "y": 5198.839087724686, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e2d54569.52bd08" + "c8c8d59d.156ea8" ] ] }, { - "id": "6f5bc786.ba1a98", + "id": "c3acf846.120a28", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4207.697914123535, - "y": 5044.27666592598, - "z": "902b25ae.7c3098", + "x": 4177.760414123535, + "y": 5000.83916592598, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c4d35a92.f669a8", - "b1d10830.075248" + "706ba4f6.aeadac", + "66a87a6d.5e0334" ] ] }, { - "id": "e2d54569.52bd08", + "id": "c8c8d59d.156ea8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4212.6975173950195, - "y": 5226.276953935623, - "z": "902b25ae.7c3098", + "x": 4182.7600173950195, + "y": 5182.839453935623, + "z": "31bddc6e.92f4e4", "wires": [ [ - "bd5425c.9ac7dd8" + "3ac0c705.8d1378" ] ] }, { - "id": "c4d35a92.f669a8", + "id": "706ba4f6.aeadac", "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": 4216.697883605957, - "y": 5122.276953935623, - "z": "902b25ae.7c3098", + "x": 4186.760383605957, + "y": 5078.839453935623, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "bd5425c.9ac7dd8", + "id": "3ac0c705.8d1378", "type": "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": 4365.698127746582, - "y": 5208.277564287186, - "z": "902b25ae.7c3098", + "x": 4335.760627746582, + "y": 5164.840064287186, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "5c081526.c0ccbc", + "id": "112bd2b7.effc5d", "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": 4104.6874923706055, - "y": 4880.942960500717, - "z": "902b25ae.7c3098", + "x": 4074.7499923706055, + "y": 4837.505460500717, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "b916fbdd.ddf7b8", + "id": "7eb814ab.2771bc", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3833.6874771118164, - "y": 4879.94296002388, - "z": "902b25ae.7c3098", + "x": 3803.7499771118164, + "y": 4836.50546002388, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5c081526.c0ccbc", - "be23b8b6.bc2618" + "112bd2b7.effc5d", + "c5cd0154.f8143" ] ] }, { - "id": "be23b8b6.bc2618", + "id": "c5cd0154.f8143", "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": 4057.687484741211, - "y": 4961.943288087845, - "z": "902b25ae.7c3098", + "x": 4027.749984741211, + "y": 4918.505788087845, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "e13d63cc.2f08c", + "id": "16bd915c.7af4bf", "type": "comment", "name": "Connect to RRM P{olicy Ratio", "info": "when able to talk to latest SDNC", "comments": "", - "x": 3681.6875, - "y": 5189.275977373123, - "z": "902b25ae.7c3098", + "x": 3651.750217437744, + "y": 5166.838788032532, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "5181ac1d.ed2ff4", + "id": "98c34e97.ceaaf", "type": "block", "name": "rrmPolicyDedicatedRatio", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2956.708595275879, - "y": 3528.9539098739624, - "z": "902b25ae.7c3098", + "x": 2926.771095275879, + "y": 3485.5164098739624, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6b8f2f7f.8ad82", - "227aa86c.d8ef18", - "f7883b36.3134a8", - "7041c873.f89558", - "3d1dff1c.05b3", - "6d6a083f.f9e168" + "19c19a35.5cad36", + "c953b38d.85576", + "a414850b.c4cd88", + "32cae5c5.7e7d1a", + "b963aa6e.8101c8", + "bcf57d53.05917", + "77abb0d0.a567d" ] ] }, { - "id": "3d1dff1c.05b3", + "id": "b963aa6e.8101c8", "type": "set", "name": "calculation rrm5", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />", "comments": "", - "x": 3214.7090187072754, - "y": 3639.7314977645874, - "z": "902b25ae.7c3098", + "x": 3184.7715187072754, + "y": 3596.2939977645874, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "f7883b36.3134a8", + "id": "a414850b.c4cd88", "type": "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`\"/>", + "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": 3174.7087783813477, - "y": 3688.3986110687256, - "z": "902b25ae.7c3098", + "x": 3144.7712783813477, + "y": 3644.9611110687256, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "e771c65b.e15c38", + "id": "951a0f11.4543b", "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": 3932.708106994629, - "y": 3868.2766535282135, - "z": "902b25ae.7c3098", + "x": 3902.770606994629, + "y": 3824.8391535282135, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "41ac7ea3.696a9", + "id": "5ef4a2e0.956c1c", "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": 3938.9310340881348, - "y": 3955.952590942383, - "z": "902b25ae.7c3098", + "x": 3908.9935340881348, + "y": 3912.515090942383, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3557a927.df2d96", + "id": "4fa04909.4d61f8", "type": "comment", "name": "Assumption pLMNId in configDB resp", "info": "Assumed that configDB responnse will include pLMNId...currently, it is not there", "comments": "", - "x": 3959.930877685547, - "y": 3913.9523088932037, - "z": "902b25ae.7c3098", + "x": 3929.993377685547, + "y": 3870.5148088932037, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "2ad6acbd.2fabe4", + "id": "482c00b3.a99bb", "type": "for", "name": "For list of cells", "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >", "comments": "", "outputs": 1, - "x": 2410.687599182129, - "y": 661.1979541778564, - "z": "902b25ae.7c3098", + "x": 2380.750099182129, + "y": 617.7604541778564, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1f922426.507abc", - "27fc8871.d307b8" + "fa9a1c79.c47f9", + "8e69f314.3d09" ] ] }, { - "id": "27fc8871.d307b8", + "id": "8e69f314.3d09", "type": "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": 2583.6874771118164, - "y": 694.1979084014893, - "z": "902b25ae.7c3098", + "x": 2553.7499771118164, + "y": 650.7604084014893, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1f922426.507abc", + "id": "fa9a1c79.c47f9", "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": 2589.6875381469727, - "y": 594.8645191192627, - "z": "902b25ae.7c3098", + "x": 2559.7500381469727, + "y": 551.4270191192627, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c40929f9.0b2a08", + "id": "50d46848.fea658", "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": 845.6875267028809, - "y": 178.1978702545166, - "z": "902b25ae.7c3098", + "x": 815.7500267028809, + "y": 134.7603702545166, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "815e12b6.09871", + "id": "2b4f5d02.d7a8a2", "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": 2617.687255859375, - "y": 2086.531463623047, - "z": "902b25ae.7c3098", + "x": 2587.749755859375, + "y": 2043.0939636230469, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "da29413f.2288b", + "id": "fca4410e.81eec", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 485.1812210083008, - "y": 822.2021484375, - "z": "902b25ae.7c3098", + "x": 443.743935585022, + "y": 2524.514754295349, + "z": "31bddc6e.92f4e4", "wires": [ [ - "457f7456.b4ff3c", - "6c379f3a.5b25f" + "55d7d722.afc748", + "a02d6d9b.7741d", + "38713bdf.fc26f4", + "6638da42.a61714" ] ] }, { - "id": "b5ab3dde.02dc7", + "id": "38713bdf.fc26f4", "type": "set", "name": "set tmp variables for SO response", - "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n\n\npayloadJson.input.callbackURL\n\n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>", + "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": 765.1823654174805, - "y": 672.1016330718994, - "z": "902b25ae.7c3098", + "x": 751.7451372146606, + "y": 2390.4143056869507, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "457f7456.b4ff3c", + "id": "55d7d722.afc748", "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`\" />", + "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": 762.1811981201172, - "y": 826.2023315429688, - "z": "902b25ae.7c3098", + "x": 720.7439126968384, + "y": 2528.514937400818, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "6c379f3a.5b25f", + "id": "a02d6d9b.7741d", "type": "execute", "name": "Send to SO", "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>", "comments": "", "outputs": 1, - "x": 631.1812973022461, - "y": 943.2020359039307, - "z": "902b25ae.7c3098", + "x": 589.7440118789673, + "y": 2645.51464176178, + "z": "31bddc6e.92f4e4", "wires": [ [ - "928f6977.fc9dd8", - "107091de.7fc13e" + "8eb44ef7.0e68e", + "a6f444a.e2714b8" ] ] }, { - "id": "928f6977.fc9dd8", + "id": "8eb44ef7.0e68e", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 796.1812973022461, - "y": 923.2020349502563, - "z": "902b25ae.7c3098", + "x": 754.7440118789673, + "y": 2625.5146408081055, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9022a5d7.ad8d88" + "390993f4.f32f9c" ] ] }, { - "id": "107091de.7fc13e", + "id": "a6f444a.e2714b8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 788.1811904907227, - "y": 996.2019853591919, - "z": "902b25ae.7c3098", + "x": 746.7439050674438, + "y": 2698.514591217041, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6bccd1d2.fb033" + "c970aa9b.8e53e8" ] ] }, { - "id": "6bccd1d2.fb033", + "id": "c970aa9b.8e53e8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 934.1810340881348, - "y": 1001.202094078064, - "z": "902b25ae.7c3098", + "x": 892.743748664856, + "y": 2703.514699935913, + "z": "31bddc6e.92f4e4", "wires": [ [ - "2e80126d.30463e" + "c2dd6f6f.5e324" ] ] }, { - "id": "9022a5d7.ad8d88", + "id": "390993f4.f32f9c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 945.1811981201172, - "y": 919.2021703720093, - "z": "902b25ae.7c3098", + "x": 903.7439126968384, + "y": 2621.5147762298584, + "z": "31bddc6e.92f4e4", "wires": [ [ - "888dd8e7.3f1488", - "620f8a78.798f44" + "9217688c.4b1008", + "f20e3a7c.d71c38" ] ] }, { - "id": "888dd8e7.3f1488", + "id": "9217688c.4b1008", "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": 1092.1808166503906, - "y": 930.2019119262695, - "z": "902b25ae.7c3098", + "x": 1050.7435312271118, + "y": 2632.5145177841187, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "2e80126d.30463e", + "id": "c2dd6f6f.5e324", "type": "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 \"/>", + "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": 1095.1809539794922, - "y": 1007.2019863128662, - "z": "902b25ae.7c3098", + "x": 1053.7436685562134, + "y": 2709.5145921707153, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "b1d10830.075248", + "id": "66a87a6d.5e0334", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 5659.177593231201, - "y": 3362.198055267334, - "z": "902b25ae.7c3098", + "x": 5629.240093231201, + "y": 3318.760555267334, + "z": "31bddc6e.92f4e4", "wires": [ [ - "72b89811.4b4a88", - "db97eac3.7fe718", - "656d3999.1ed298" + "8e91d256.3a991", + "52e6e776.6b8ff8", + "c39f2a40.0d4338" ] ] }, { - "id": "72b89811.4b4a88", + "id": "8e91d256.3a991", "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": 5977.178569793701, - "y": 3286.097713470459, - "z": "902b25ae.7c3098", + "x": 5947.241069793701, + "y": 3242.660213470459, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "db97eac3.7fe718", + "id": "52e6e776.6b8ff8", "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": 5952.1774559021, - "y": 3383.1983909606934, - "z": "902b25ae.7c3098", + "x": 5922.2399559021, + "y": 3339.7608909606934, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "656d3999.1ed298", + "id": "c39f2a40.0d4338", "type": "execute", "name": "Send to SO", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>", "comments": "", "outputs": 1, - "x": 5867.177467346191, - "y": 3480.198268890381, - "z": "902b25ae.7c3098", + "x": 5837.239967346191, + "y": 3436.760768890381, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f6394491.915808", - "e5d8aced.33583" + "3973db50.db4944", + "6ca09d2d.2b81d4" ] ] }, { - "id": "f6394491.915808", + "id": "3973db50.db4944", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 6093.17747592926, - "y": 3457.1982378959656, - "z": "902b25ae.7c3098", + "x": 6063.23997592926, + "y": 3413.7607378959656, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f0f4d1bf.0e515" + "b2f52415.77f748" ] ] }, { - "id": "e5d8aced.33583", + "id": "6ca09d2d.2b81d4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 6083.17733001709, - "y": 3565.1981773376465, - "z": "902b25ae.7c3098", + "x": 6053.23983001709, + "y": 3521.7606773376465, + "z": "31bddc6e.92f4e4", "wires": [ [ - "ca53c9b3.99fc38" + "d4c09302.533e8" ] ] }, { - "id": "ca53c9b3.99fc38", + "id": "d4c09302.533e8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 6233.177116394043, - "y": 3584.1982383728027, - "z": "902b25ae.7c3098", + "x": 6203.239616394043, + "y": 3540.7607383728027, + "z": "31bddc6e.92f4e4", "wires": [ [ - "7c8b83a1.3f85cc" + "7718eeb.9773a1" ] ] }, { - "id": "f0f4d1bf.0e515", + "id": "b2f52415.77f748", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 6244.177345275879, - "y": 3452.198359966278, - "z": "902b25ae.7c3098", + "x": 6214.239845275879, + "y": 3408.760859966278, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5c210ccd.aff244" + "c0cbe14e.3bfef" ] ] }, { - "id": "5c210ccd.aff244", + "id": "c0cbe14e.3bfef", "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": 6410.177024841309, - "y": 3455.1981773376465, - "z": "902b25ae.7c3098", + "x": 6380.239524841309, + "y": 3411.7606773376465, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "7c8b83a1.3f85cc", + "id": "7718eeb.9773a1", "type": "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": 6397.177131652832, - "y": 3590.1981773376465, - "z": "902b25ae.7c3098", + "x": 6367.239631652832, + "y": 3546.7606773376465, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "f234e7a5.4abc18", + "id": "9b04b4b9.e26cc8", "type": "block", "name": "nearRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1738.6774368286133, - "y": 939.5313358306885, - "z": "902b25ae.7c3098", + "x": 1708.7399368286133, + "y": 896.0938358306885, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6bfd09e4.03ef08", - "8fe051f9.03a9b", - "b4b69ea1.a2b28", - "58c5284d.881c98", - "fd7aef73.25f1c", - "998f959.4540068", - "25223fa4.5b85b", - "bae48b05.1444f8" + "698340b7.95f0b", + "ecf2b536.b43778", + "5253cdae.f2a184", + "14249543.1865eb", + "f28d8b51.14d098", + "a0ae288c.6dddb8", + "459edc30.350eb4", + "7576daab.ddacb4" ] ] }, { - "id": "821e1619.c04cd8", + "id": "2cddbb62.24c094", "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": 1623.6771926879883, - "y": 682.8646297454834, - "z": "902b25ae.7c3098", + "x": 1593.7396926879883, + "y": 639.4271297454834, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1854a4d1.e4860b", + "id": "1e215b54.d1fd75", "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": 1681.6772232055664, - "y": 741.8645992279053, - "z": "902b25ae.7c3098", + "x": 1651.7397232055664, + "y": 698.4270992279053, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "6bfd09e4.03ef08", + "id": "698340b7.95f0b", "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": 2142.010566711426, - "y": 790.8646602630615, - "z": "902b25ae.7c3098", + "x": 2112.073066711426, + "y": 747.4271602630615, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "8fe051f9.03a9b", + "id": "ecf2b536.b43778", "type": "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": 2094.343936920166, - "y": 947.5315551757812, - "z": "902b25ae.7c3098", + "x": 2064.406436920166, + "y": 904.0940551757812, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "b4b69ea1.a2b28", + "id": "5253cdae.f2a184", "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": 1828.343894958496, - "y": 1672.8646049499512, - "z": "902b25ae.7c3098", + "x": 1798.406394958496, + "y": 1629.4271049499512, + "z": "31bddc6e.92f4e4", "wires": [ [ - "87ff0779.cbac38", - "55ae56ce.79fec8" + "ccfdc6e4.ecc4a8", + "f14cacdf.d4853" ] ] }, { - "id": "87ff0779.cbac38", + "id": "ccfdc6e4.ecc4a8", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2483.3445053100586, - "y": 1533.8648490905762, - "z": "902b25ae.7c3098", + "x": 2453.4070053100586, + "y": 1490.4273490905762, + "z": "31bddc6e.92f4e4", "wires": [ [ - "ee4e4e9f.c6bec" + "d68e78f8.556d88" ] ] }, { - "id": "55ae56ce.79fec8", + "id": "f14cacdf.d4853", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2688.3445053100586, - "y": 1631.8647270202637, - "z": "902b25ae.7c3098", + "x": 2658.4070053100586, + "y": 1588.4272270202637, + "z": "31bddc6e.92f4e4", "wires": [ [ - "4c51533c.b4860c" + "89921f68.bd454" ] ] }, { - "id": "4c51533c.b4860c", + "id": "89921f68.bd454", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2841.3442611694336, - "y": 1620.8648490905762, - "z": "902b25ae.7c3098", + "x": 2811.4067611694336, + "y": 1577.4273490905762, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9dab1909.0a7508" + "847e71f9.bd7d9" ] ] }, { - "id": "9dab1909.0a7508", + "id": "847e71f9.bd7d9", "type": "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": 3005.3445053100586, - "y": 1624.8649711608887, - "z": "902b25ae.7c3098", + "x": 2975.4070053100586, + "y": 1581.4274711608887, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3c3f81dc.4f06de", + "id": "2ee5a246.e4ae5e", "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": 2898.3442611694336, - "y": 1568.8648188114166, - "z": "902b25ae.7c3098", + "x": 2868.4067611694336, + "y": 1525.4273188114166, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "ee4e4e9f.c6bec", + "id": "d68e78f8.556d88", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2845.3447494506836, - "y": 1467.8648490905762, - "z": "902b25ae.7c3098", + "x": 2815.4072494506836, + "y": 1424.4273490905762, + "z": "31bddc6e.92f4e4", "wires": [ [ - "3c3f81dc.4f06de", - "29b81bf8.69c344", - "b1d10830.075248" + "2ee5a246.e4ae5e", + "e1463232.79e2e", + "66a87a6d.5e0334" ] ] }, { - "id": "29b81bf8.69c344", + "id": "e1463232.79e2e", "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": 2969.3445053100586, - "y": 1426.975841730833, - "z": "902b25ae.7c3098", + "x": 2939.4070053100586, + "y": 1383.538341730833, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "82c9288a.fb72f8", + "id": "185b7860.0df718", "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": 3098.708751678467, - "y": 3244.729292869568, - "z": "902b25ae.7c3098", + "x": 3068.771251678467, + "y": 3201.291792869568, + "z": "31bddc6e.92f4e4", "wires": [ [ - "3d4f192d.3fb076", - "382d8b4f.fc3224" + "5293dd57.cb4384", + "4a259a45.b004e4" ] ] }, { - "id": "3d4f192d.3fb076", + "id": "5293dd57.cb4384", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3962.708339691162, - "y": 3284.7293643951416, - "z": "902b25ae.7c3098", + "x": 3932.770839691162, + "y": 3241.2918643951416, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b9ea760d.1e4648" + "c5de671e.67f058" ] ] }, { - "id": "b9ea760d.1e4648", + "id": "c5de671e.67f058", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 4190.708583831787, - "y": 3276.7293643951416, - "z": "902b25ae.7c3098", + "x": 4160.771083831787, + "y": 3233.2918643951416, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8b73f84d.3023e8", - "14c41321.adb8dd", - "b1d10830.075248" + "dc4a3d5b.317f5", + "b4128647.0adca8", + "66a87a6d.5e0334" ] ] }, { - "id": "14c41321.adb8dd", + "id": "b4128647.0adca8", "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": 4305.708339691162, - "y": 3189.8402042388916, - "z": "902b25ae.7c3098", + "x": 4275.770839691162, + "y": 3146.4027042388916, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "8b73f84d.3023e8", + "id": "dc4a3d5b.317f5", "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": 4373.708339691162, - "y": 3296.7291202545166, - "z": "902b25ae.7c3098", + "x": 4343.770839691162, + "y": 3253.2916202545166, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "382d8b4f.fc3224", + "id": "4a259a45.b004e4", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3967.708339691162, - "y": 3332.7291202545166, - "z": "902b25ae.7c3098", + "x": 3937.770839691162, + "y": 3289.2916202545166, + "z": "31bddc6e.92f4e4", "wires": [ [ - "10bfd748.b33be9" + "bb02605b.20166" ] ] }, { - "id": "10bfd748.b33be9", + "id": "bb02605b.20166", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4132.708339691162, - "y": 3331.7293643951416, - "z": "902b25ae.7c3098", + "x": 4102.770839691162, + "y": 3288.2918643951416, + "z": "31bddc6e.92f4e4", "wires": [ [ - "de16b1ed.2bdca" + "5022ff42.bad8c" ] ] }, { - "id": "de16b1ed.2bdca", + "id": "5022ff42.bad8c", "type": "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": 4284.708339691162, - "y": 3344.7293643951416, - "z": "902b25ae.7c3098", + "x": 4254.770839691162, + "y": 3301.2918643951416, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "2ba5e1ca.ee1a1e", + "id": "468e3df.8ba99c4", "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": 2559.67724609375, - "y": 3316.1977672576904, - "z": "902b25ae.7c3098", + "x": 2529.73974609375, + "y": 3272.7602672576904, + "z": "31bddc6e.92f4e4", "wires": [ [ - "fad13440.269eb8", - "98b96937.cec128" + "7076cc4b.baa534", + "578aa57.849c45c" ] ] }, { - "id": "cb33327d.34fde", + "id": "77147047.45798", "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": 4284.677486419678, - "y": 3382.198085784912, - "z": "902b25ae.7c3098", + "x": 4254.739986419678, + "y": 3338.760585784912, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "b5c2ceaa.f317f", + "id": "c3576560.944748", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 4209.677265167236, - "y": 3440.0872478485107, - "z": "902b25ae.7c3098", + "x": 4179.739765167236, + "y": 3396.6497478485107, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e4d48f34.65c4d", - "cb33327d.34fde", - "b1d10830.075248" + "5846a7d8.b38b28", + "77147047.45798", + "66a87a6d.5e0334" ] ] }, { - "id": "e4d48f34.65c4d", + "id": "5846a7d8.b38b28", "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": 4376.677379608154, - "y": 3474.086709022522, - "z": "902b25ae.7c3098", + "x": 4346.739879608154, + "y": 3430.649209022522, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "41725221.8703bc", + "id": "7ea675cb.f14f5c", "type": "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": 3960.67728805542, - "y": 3508.086887359619, - "z": "902b25ae.7c3098", + "x": 3930.73978805542, + "y": 3464.649387359619, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "427887d0.7997a8", + "id": "509bc2ed.a56b5c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3801.6778717041016, - "y": 3464.087466239929, - "z": "902b25ae.7c3098", + "x": 3771.7403717041016, + "y": 3420.649966239929, + "z": "31bddc6e.92f4e4", "wires": [ [ - "41725221.8703bc", - "f9fddf37.3168b" + "7ea675cb.f14f5c", + "1d8c20d1.e76c7f" ] ] }, { - "id": "98b96937.cec128", + "id": "578aa57.849c45c", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3708.677536010742, - "y": 3396.08588886261, - "z": "902b25ae.7c3098", + "x": 3678.740036010742, + "y": 3352.64838886261, + "z": "31bddc6e.92f4e4", "wires": [ [ - "427887d0.7997a8" + "509bc2ed.a56b5c" ] ] }, { - "id": "fad13440.269eb8", + "id": "7076cc4b.baa534", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3709.677490234375, - "y": 3350.087028026581, - "z": "902b25ae.7c3098", + "x": 3679.739990234375, + "y": 3306.649528026581, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b5c2ceaa.f317f" + "c3576560.944748" ] ] }, { - "id": "f9fddf37.3168b", + "id": "1d8c20d1.e76c7f", "type": "set", "name": "Increment RRMPolicyID", "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />", "comments": "", - "x": 4012.9097023010254, - "y": 3459.6525707244873, - "z": "902b25ae.7c3098", + "x": 3982.9722023010254, + "y": 3416.2150707244873, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "25a1224d.f5effe", + "id": "7fdef424.c87d8c", "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": 3241.208740234375, - "y": 5278.728973388672, - "z": "902b25ae.7c3098", + "x": 3211.271240234375, + "y": 5235.291473388672, + "z": "31bddc6e.92f4e4", "wires": [ [ - "185ddb88.ea33c4", - "97fb1354.77edc" + "b13259a7.104668", + "3c7be5e5.f1e28a" ] ] }, { - "id": "185ddb88.ea33c4", + "id": "b13259a7.104668", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3973.20849609375, - "y": 5372.729461669922, - "z": "902b25ae.7c3098", + "x": 3943.27099609375, + "y": 5329.291961669922, + "z": "31bddc6e.92f4e4", "wires": [ [ - "27099b52.371f54" + "acb2f0f.fae091" ] ] }, { - "id": "97fb1354.77edc", + "id": "3c7be5e5.f1e28a", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4122.208339691162, - "y": 5536.729120254517, - "z": "902b25ae.7c3098", + "x": 4092.270839691162, + "y": 5493.291620254517, + "z": "31bddc6e.92f4e4", "wires": [ [ - "89255e74.25f6a" + "6d4762b8.821e9c" ] ] }, { - "id": "27099b52.371f54", + "id": "acb2f0f.fae091", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 4288.20849609375, - "y": 5376.729461669922, - "z": "902b25ae.7c3098", + "x": 4258.27099609375, + "y": 5333.291961669922, + "z": "31bddc6e.92f4e4", "wires": [ [ - "525024f4.8142ac", - "49e56573.095a6c", - "b1d10830.075248" + "c512462e.10afa8", + "b0e63396.e6e5a", + "66a87a6d.5e0334" ] ] }, { - "id": "89255e74.25f6a", + "id": "6d4762b8.821e9c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4252.208301544189, - "y": 5574.729118347168, - "z": "902b25ae.7c3098", + "x": 4222.270801544189, + "y": 5531.291618347168, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a29ca619.bdcb68" + "bebfadb2.a8e7f" ] ] }, { - "id": "a29ca619.bdcb68", + "id": "bebfadb2.a8e7f", "type": "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": 4377.208305358887, - "y": 5544.729119300842, - "z": "902b25ae.7c3098", + "x": 4347.270805358887, + "y": 5501.291619300842, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "525024f4.8142ac", + "id": "c512462e.10afa8", "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": 4374.20849609375, - "y": 5456.728973388672, - "z": "902b25ae.7c3098", + "x": 4344.27099609375, + "y": 5413.291473388672, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "49e56573.095a6c", + "id": "b0e63396.e6e5a", "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": 4299.20849609375, - "y": 5276.840789794922, - "z": "902b25ae.7c3098", + "x": 4269.27099609375, + "y": 5233.403289794922, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "67e438.a4e90bc8", + "id": "db20d75d.ce0f88", "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": 4373.178031921387, - "y": 5592.198033332825, - "z": "902b25ae.7c3098", + "x": 4343.240531921387, + "y": 5548.760533332825, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "95754fba.5a5f2", + "id": "ada4f18d.169c3", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 4316.177051544189, - "y": 5655.087194442749, - "z": "902b25ae.7c3098", + "x": 4286.239551544189, + "y": 5611.649694442749, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9283420f.90c31", - "67e438.a4e90bc8", - "b1d10830.075248" + "e2489529.b6c888", + "db20d75d.ce0f88", + "66a87a6d.5e0334" ] ] }, { - "id": "9283420f.90c31", + "id": "e2489529.b6c888", "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": 4437.177707672119, - "y": 5719.086545944214, - "z": "902b25ae.7c3098", + "x": 4407.240207672119, + "y": 5675.649045944214, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "b6d43562.8da1d8", + "id": "d4be6336.cf825", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3863.177536010742, - "y": 5600.08588886261, - "z": "902b25ae.7c3098", + "x": 3833.240036010742, + "y": 5556.64838886261, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b8e7e139.a820c" + "e7ce1da2.8a13c" ] ] }, { - "id": "b8e7e139.a820c", + "id": "e7ce1da2.8a13c", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3833.177936553955, - "y": 5689.087196350098, - "z": "902b25ae.7c3098", + "x": 3803.240436553955, + "y": 5645.649696350098, + "z": "31bddc6e.92f4e4", "wires": [ [ - "99ee0b30.21c278", - "4af7cad8.b168f4" + "9647b14a.d965", + "1f0ec6dd.ef96d9" ] ] }, { - "id": "99ee0b30.21c278", + "id": "9647b14a.d965", "type": "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": 3989.1779403686523, - "y": 5724.087198257446, - "z": "902b25ae.7c3098", + "x": 3959.2404403686523, + "y": 5680.649698257446, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "4af7cad8.b168f4", + "id": "1f0ec6dd.ef96d9", "type": "set", "name": "Increment RRMPolicyID", "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />", "comments": "", - "x": 4040.4103660583496, - "y": 5653.652298927307, - "z": "902b25ae.7c3098", + "x": 4010.4728660583496, + "y": 5610.214798927307, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "98c42098.224dc", + "id": "bc78a26a.a6aa1", "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": 2943.177490234375, - "y": 5463.197723388672, - "z": "902b25ae.7c3098", + "x": 2913.239990234375, + "y": 5419.760223388672, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b6d43562.8da1d8", - "db71a012.a8d53" + "d4be6336.cf825", + "bc4aea3e.bd7348" ] ] }, { - "id": "db71a012.a8d53", + "id": "bc4aea3e.bd7348", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3868.343837738037, - "y": 5536.531366348267, - "z": "902b25ae.7c3098", + "x": 3838.406337738037, + "y": 5493.093866348267, + "z": "31bddc6e.92f4e4", "wires": [ [ - "95754fba.5a5f2" + "ada4f18d.169c3" ] ] }, { - "id": "1e2624bc.08e57b", + "id": "f6e543ed.b731d", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3004.0121994018555, - "y": 7197.868667125702, - "z": "902b25ae.7c3098", + "x": 2974.0746994018555, + "y": 7154.431167125702, + "z": "31bddc6e.92f4e4", "wires": [ [ - "68a2055c.8324ac", - "247f52a6.d210de", - "3c8016e1.7e4eda" + "54fcde3d.51a82", + "bac17c31.f6a07", + "24179795.306db8" ] ] }, { - "id": "68a2055c.8324ac", + "id": "54fcde3d.51a82", "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": 3130.012855529785, - "y": 7094.76710319519, - "z": "902b25ae.7c3098", + "x": 3100.075355529785, + "y": 7051.32960319519, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "247f52a6.d210de", + "id": "bac17c31.f6a07", "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": 3292.01220703125, - "y": 7222.868667602539, - "z": "902b25ae.7c3098", + "x": 3262.07470703125, + "y": 7179.431167602539, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "3c8016e1.7e4eda", + "id": "24179795.306db8", "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": 3111.011806488037, - "y": 7385.868060588837, - "z": "902b25ae.7c3098", + "x": 3081.074306488037, + "y": 7342.430560588837, + "z": "31bddc6e.92f4e4", "wires": [ [ - "67176900.692a28", - "4bb30a20.fd00c4" + "5a3a158a.7f287c", + "dd4b974d.052b68" ] ] }, { - "id": "67176900.692a28", + "id": "5a3a158a.7f287c", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3221.012294769287, - "y": 7297.867816925049, - "z": "902b25ae.7c3098", + "x": 3191.074794769287, + "y": 7254.430316925049, + "z": "31bddc6e.92f4e4", "wires": [ [ - "ec3bac39.eb6f3" + "c61001ea.8d307" ] ] }, { - "id": "4bb30a20.fd00c4", + "id": "dd4b974d.052b68", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3163.0121726989746, - "y": 7471.867698192596, - "z": "902b25ae.7c3098", + "x": 3133.0746726989746, + "y": 7428.430198192596, + "z": "31bddc6e.92f4e4", "wires": [ [ - "bb630b2f.d39c58" + "ee722f3f.17e4b" ] ] }, { - "id": "bb630b2f.d39c58", + "id": "ee722f3f.17e4b", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3294.012233734131, - "y": 7426.868675470352, - "z": "902b25ae.7c3098", + "x": 3264.074733734131, + "y": 7383.431175470352, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c12c978e.a2c5a8" + "15701927.bacde7" ] ] }, { - "id": "ec3bac39.eb6f3", + "id": "c61001ea.8d307", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3330.012477874756, - "y": 7366.868549823761, - "z": "902b25ae.7c3098", + "x": 3300.074977874756, + "y": 7323.431049823761, + "z": "31bddc6e.92f4e4", "wires": [ [ - "46997fe6.10f98" + "400844d1.94f3bc" ] ] }, { - "id": "46997fe6.10f98", + "id": "400844d1.94f3bc", "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": 3419.011562347412, - "y": 7298.868671417236, - "z": "902b25ae.7c3098", + "x": 3389.074062347412, + "y": 7255.431171417236, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "c12c978e.a2c5a8", + "id": "15701927.bacde7", "type": "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": 3327.0123558044434, - "y": 7508.867943286896, - "z": "902b25ae.7c3098", + "x": 3297.0748558044434, + "y": 7465.430443286896, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "5b2d29b9.d5d748", + "id": "e6f86b7.2174698", "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": 2396.0116577148438, - "y": 6958.2013421058655, - "z": "902b25ae.7c3098", + "x": 2366.0741577148438, + "y": 6914.7638421058655, + "z": "31bddc6e.92f4e4", "wires": [ [ - "301fe555.0c0cfa", - "aa644f83.0309a" + "97008b18.a73178", + "461677bf.ac5688" ] ] }, { - "id": "301fe555.0c0cfa", + "id": "97008b18.a73178", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2561.011215209961, - "y": 7019.200692176819, - "z": "902b25ae.7c3098", + "x": 2531.073715209961, + "y": 6975.763192176819, + "z": "31bddc6e.92f4e4", "wires": [ [ - "fa193ec0.cb98c" + "f78bfa4d.4350e8" ] ] }, { - "id": "aa644f83.0309a", + "id": "461677bf.ac5688", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2611.011703491211, - "y": 6931.200689077377, - "z": "902b25ae.7c3098", + "x": 2581.074203491211, + "y": 6887.763189077377, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a8e481f1.8acce" + "f4eaf28a.f9642" ] ] }, { - "id": "fa193ec0.cb98c", + "id": "f78bfa4d.4350e8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2801.0108947753906, - "y": 6987.201992511749, - "z": "902b25ae.7c3098", + "x": 2771.0733947753906, + "y": 6943.764492511749, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9939206e.90172", - "616d73fd.d9184c", - "1e2624bc.08e57b" + "c8641e05.94a71", + "830f1fd.e1002e", + "f6e543ed.b731d" ] ] }, { - "id": "a8e481f1.8acce", + "id": "f4eaf28a.f9642", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2774.0108947753906, - "y": 6920.200688362122, - "z": "902b25ae.7c3098", + "x": 2744.0733947753906, + "y": 6876.763188362122, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6c95ea9.62c8314" + "3e200c7b.43ea54" ] ] }, { - "id": "6c95ea9.62c8314", + "id": "3e200c7b.43ea54", "type": "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": 2951.010898590088, - "y": 6938.198084831238, - "z": "902b25ae.7c3098", + "x": 2921.073398590088, + "y": 6894.760584831238, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9939206e.90172", + "id": "c8641e05.94a71", "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": 2745.010726928711, - "y": 7072.200693130493, - "z": "902b25ae.7c3098", + "x": 2715.073226928711, + "y": 7028.763193130493, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "616d73fd.d9184c", + "id": "830f1fd.e1002e", "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": 2966.010902404785, - "y": 7001.311367034912, - "z": "902b25ae.7c3098", + "x": 2936.073402404785, + "y": 6957.873867034912, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "5e57c34c.a9820c", + "id": "8eefb89d.e77ed8", "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": 2764.980619430542, - "y": 7238.669610977173, - "z": "902b25ae.7c3098", + "x": 2735.043119430542, + "y": 7195.232110977173, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "edd977a5.d9d7b8", + "id": "4225598a.b281e8", "type": "block", "name": "block", "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2632.979637145996, - "y": 7293.557470321655, - "z": "902b25ae.7c3098", + "x": 2603.042137145996, + "y": 7250.119970321655, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c29532e2.752ab", - "5e57c34c.a9820c", - "1e2624bc.08e57b" + "b99a50ea.e814c", + "8eefb89d.e77ed8", + "f6e543ed.b731d" ] ] }, { - "id": "c29532e2.752ab", + "id": "b99a50ea.e814c", "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": 2789.980453491211, - "y": 7341.557635307312, - "z": "902b25ae.7c3098", + "x": 2760.042953491211, + "y": 7298.120135307312, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "f2b387bc.0cf748", + "id": "fab55e02.199fc", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2516.9802856445312, - "y": 7081.556161880493, - "z": "902b25ae.7c3098", + "x": 2487.0427856445312, + "y": 7038.118661880493, + "z": "31bddc6e.92f4e4", "wires": [ [ - "7873ca91.325bf4" + "bf9269f9.bafb08" ] ] }, { - "id": "7873ca91.325bf4", + "id": "bf9269f9.bafb08", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2604.9809379577637, - "y": 7184.556816101074, - "z": "902b25ae.7c3098", + "x": 2575.0434379577637, + "y": 7141.119316101074, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e6d656d8.45e6b8", - "ac782866.0f7e58" + "8d18e590.f2c8b8", + "3af6bc11.bd5b74" ] ] }, { - "id": "e6d656d8.45e6b8", + "id": "8d18e590.f2c8b8", "type": "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": 2748.981269836426, - "y": 7184.55763053894, - "z": "902b25ae.7c3098", + "x": 2719.043769836426, + "y": 7141.12013053894, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "ac782866.0f7e58", + "id": "3af6bc11.bd5b74", "type": "set", "name": "Increment RRMPolicyID", "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />", "comments": "", - "x": 2775.2130393981934, - "y": 7130.122570037842, - "z": "902b25ae.7c3098", + "x": 2745.2755393981934, + "y": 7086.685070037842, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "fd33cb6f.3ded88", + "id": "895f527d.d940b", "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": 2333.9803924560547, - "y": 7176.668144226074, - "z": "902b25ae.7c3098", + "x": 2304.0428924560547, + "y": 7133.230644226074, + "z": "31bddc6e.92f4e4", "wires": [ [ - "f2b387bc.0cf748", - "deee3d1f.6cfed" + "fab55e02.199fc", + "b6fd820a.f16da" ] ] }, { - "id": "deee3d1f.6cfed", + "id": "b6fd820a.f16da", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2474.1464233398438, - "y": 7284.001482009888, - "z": "902b25ae.7c3098", + "x": 2444.2089233398438, + "y": 7240.563982009888, + "z": "31bddc6e.92f4e4", "wires": [ [ - "edd977a5.d9d7b8" + "4225598a.b281e8" ] ] }, { - "id": "11592c65.f83e64", + "id": "723f389b.c9aee8", "type": "for", "name": "For cellCU List", "xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >", "comments": "", "outputs": 1, - "x": 2435.67724609375, - "y": 2381.197967529297, - "z": "902b25ae.7c3098", + "x": 2405.73974609375, + "y": 2337.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [ - "6d3df173.ba33b" + "d92187a4.7413b8" ] ] }, { - "id": "4f758702.366db8", + "id": "f5854662.99b7c8", "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": 2744.67724609375, - "y": 2185.197967529297, - "z": "902b25ae.7c3098", + "x": 2714.73974609375, + "y": 2141.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "8d416ae.e851798", + "id": "9b7dfa39.f41048", "type": "switchNode", "name": "switch", "xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n", "comments": "", "outputs": 1, - "x": 2683.677734375, - "y": 2437.197967529297, - "z": "902b25ae.7c3098", + "x": 2653.740234375, + "y": 2393.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [ - "75490c66.5c3324" + "a9b92d8e.d993e" ] ] }, { - "id": "75490c66.5c3324", + "id": "a9b92d8e.d993e", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2787.677734375, - "y": 2346.197967529297, - "z": "902b25ae.7c3098", + "x": 2757.740234375, + "y": 2302.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [ - "a1e72fb9.52301" + "a2be3521.533978" ] ] }, { - "id": "a1e72fb9.52301", + "id": "a2be3521.533978", "type": "block", "name": "UpdateCell", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2865.67724609375, - "y": 2258.197967529297, - "z": "902b25ae.7c3098", + "x": 2835.73974609375, + "y": 2214.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [ - "9457acbe.1a0a8", - "5c2fb30d.b20c7c", - "29ccde77.0e44f2", - "8c000271.a879b", - "38695b2f.9cf444", - "82c9288a.fb72f8" + "43de4319.f2835c", + "42670d1b.290fc4", + "9eeec0a0.6b81b", + "3720d02.3d9933", + "693ce36a.89a61c", + "185b7860.0df718", + "7233cdcc.752724", + "9897c340.16354", + "ee67a809.993f68", + "468e3df.8ba99c4" ] ] }, { - "id": "6d3df173.ba33b", + "id": "d92187a4.7413b8", "type": "block", "name": "Block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2549.677001953125, - "y": 2293.197967529297, - "z": "902b25ae.7c3098", + "x": 2519.739501953125, + "y": 2249.760467529297, + "z": "31bddc6e.92f4e4", "wires": [ [ - "4f758702.366db8", - "8d416ae.e851798" + "f5854662.99b7c8", + "9b7dfa39.f41048" ] ] }, { - "id": "8425da92.7a9e78", + "id": "a6d601ba.ec478", "type": "for", "name": "For cellDU List", "xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >", "comments": "", "outputs": 1, - "x": 2776.9317932128906, - "y": 6088.204414367676, - "z": "902b25ae.7c3098", + "x": 2746.9942932128906, + "y": 6044.766914367676, + "z": "31bddc6e.92f4e4", "wires": [ [ - "b5e6fb5a.51c538", - "629b34f2.2fd88c" + "39421f45.02d9a", + "fb18168b.716488" ] ] }, { - "id": "66a46d20.11c034", + "id": "27b39eb1.609b52", "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": 2894.9321212768555, - "y": 6165.201812744141, - "z": "902b25ae.7c3098", + "x": 2864.9946212768555, + "y": 6121.764312744141, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "9f56eefc.0ef96", + "id": "4c21699b.3d4ae8", "type": "switchNode", "name": "switch", "xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">", "comments": "", "outputs": 1, - "x": 2799.931480407715, - "y": 6275.201816558838, - "z": "902b25ae.7c3098", + "x": 2769.993980407715, + "y": 6231.764316558838, + "z": "31bddc6e.92f4e4", "wires": [ [ - "fa86b606.ee0bb8" + "2cd9428f.6a27ae" ] ] }, { - "id": "fa86b606.ee0bb8", + "id": "2cd9428f.6a27ae", "type": "outcomeTrue", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 3013.9318084716797, - "y": 6233.201816558838, - "z": "902b25ae.7c3098", + "x": 2983.9943084716797, + "y": 6189.764316558838, + "z": "31bddc6e.92f4e4", "wires": [ [ - "e263970f.8596a8" + "b7851daf.42887" ] ] }, { - "id": "e263970f.8596a8", + "id": "b7851daf.42887", "type": "block", "name": "UpdateCell", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3181.9321365356445, - "y": 6242.202469825745, - "z": "902b25ae.7c3098", + "x": 3151.9946365356445, + "y": 6198.764969825745, + "z": "31bddc6e.92f4e4", "wires": [ [ - "777713b7.b7c1bc", - "bab76bad.343f18", - "fcf80190.e2d04" + "dc885bdf.64ac08", + "e6e49003.d5a5", + "b7d90552.4f9088" ] ] }, { - "id": "b5e6fb5a.51c538", + "id": "39421f45.02d9a", "type": "block", "name": "Block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2557.931465148926, - "y": 6216.201814651489, - "z": "902b25ae.7c3098", + "x": 2527.993965148926, + "y": 6172.764314651489, + "z": "31bddc6e.92f4e4", "wires": [ [ - "66a46d20.11c034", - "9f56eefc.0ef96", - "1c2e5305.7e243d" + "27b39eb1.609b52", + "4c21699b.3d4ae8", + "4e2a9c06.892864" ] ] }, { - "id": "f6a71d42.4e0ed", + "id": "caa7ac88.f72a6", "type": "block", "name": "rrmPolicyRatioPerCELLCU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2255.6772384643555, - "y": 1989.1979675292969, - "z": "902b25ae.7c3098", + "x": 2225.7397384643555, + "y": 1945.7604675292969, + "z": "31bddc6e.92f4e4", "wires": [ [ - "847e898e.fa1d88", - "c2f343dc.d033a", - "a8fc4e9e.b1862", - "7c08382c.91f848" + "df339859.cd7108", + "e6a94407.4cdb08", + "15cfd76e.da6de9", + "16357bcb.90eca4" ] ] }, { - "id": "847e898e.fa1d88", + "id": "df339859.cd7108", "type": "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": 2410.6770668029785, - "y": 2119.642526626587, - "z": "902b25ae.7c3098", + "x": 2380.7395668029785, + "y": 2076.205026626587, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "6d6a083f.f9e168", + "id": "bcf57d53.05917", "type": "set", "name": "Calculate for RRM1", - "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />\n", + "xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n", "comments": "", - "x": 3209.677833557129, - "y": 3432.1978063583374, - "z": "902b25ae.7c3098", + "x": 3179.7402000427246, + "y": 3374.7602109909058, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "2737179d.208e58", + "id": "a7e55b88.9f3938", "type": "set", "name": "Calculate RRM Parms1", "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n", "comments": "", - "x": 2593.677589416504, - "y": 5376.199584007263, - "z": "902b25ae.7c3098", + "x": 2563.740089416504, + "y": 5332.762084007263, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "7ed57e69.91b45", + "id": "6b8f92e1.d3e39c", "type": "set", "name": "calculation10", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n", "comments": "", - "x": 2539.67765045166, - "y": 5888.199339866638, - "z": "902b25ae.7c3098", + "x": 2509.74015045166, + "y": 5844.761839866638, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "620f8a78.798f44", + "id": "f20e3a7c.d71c38", "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": 1079.6914253234863, - "y": 834.191403388977, - "z": "902b25ae.7c3098", + "x": 1038.2541399002075, + "y": 2536.504009246826, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "28385a6a.9d07a6", + "id": "6e5bd7f0.460b38", "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": 4064.6885986328125, - "y": 7405.187688827515, - "z": "902b25ae.7c3098", + "x": 4034.7510986328125, + "y": 7361.750188827515, + "z": "31bddc6e.92f4e4", "wires": [ [ - "216292d7.896d1e", - "8e44bb3f.07fc88" + "2ee59766.3183e8", + "93ff5f0e.d1aff" ] ] }, { - "id": "216292d7.896d1e", + "id": "2ee59766.3183e8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4489.687637329102, - "y": 7395.1772747039795, - "z": "902b25ae.7c3098", + "x": 4459.750137329102, + "y": 7351.7397747039795, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8ee41f0f.eec2" + "36d2a2ed.a2b1be" ] ] }, { - "id": "8ee41f0f.eec2", + "id": "36d2a2ed.a2b1be", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4675.686992645264, - "y": 7388.177272796631, - "z": "902b25ae.7c3098", + "x": 4645.749492645264, + "y": 7344.739772796631, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5a8e355.56c9ecc" + "71ec7cd4.449e14" ] ] }, { - "id": "5a8e355.56c9ecc", + "id": "71ec7cd4.449e14", "type": "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": 4855.687652587891, - "y": 7405.177272796631, - "z": "902b25ae.7c3098", + "x": 4825.750152587891, + "y": 7361.739772796631, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "fed970eb.2cb8b", + "id": "6638da42.a61714", "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": 784.5208206176758, - "y": 762.1874856948853, - "z": "902b25ae.7c3098", + "x": 736.0836381912231, + "y": 2435.5001821517944, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "d23dfe52.c5e2d", + "id": "17adcc01.db14f4", "type": "block", "name": "Action Per DU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2107.187557220459, - "y": 5953.521139621735, - "z": "902b25ae.7c3098", + "x": 2077.250057220459, + "y": 5910.083639621735, + "z": "31bddc6e.92f4e4", "wires": [ [ - "667f5064.c3558", - "e527dfb7.00473", - "ab7fb11e.93a44", - "ef0d45d0.c227c8" + "37bd151b.5b947a", + "ed592596.55d168", + "dbaff64f.d0cbd8", + "cc88732c.bbd22" ] ] }, { - "id": "e6aa0194.b688d", + "id": "97772f2.bb417d", "type": "block", "name": "Activies Per Call", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2599.854202270508, - "y": 6048.5210518836975, - "z": "902b25ae.7c3098", + "x": 2569.916702270508, + "y": 6005.0835518836975, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8425da92.7a9e78" + "a6d601ba.ec478" ] ] }, { - "id": "fcf80190.e2d04", + "id": "b7d90552.4f9088", "type": "block", "name": "ConfigDB DU", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2231.521415710449, - "y": 7030.188662528992, - "z": "902b25ae.7c3098", + "x": 2201.583915710449, + "y": 6986.751162528992, + "z": "31bddc6e.92f4e4", "wires": [ [ - "5b2d29b9.d5d748", - "fd33cb6f.3ded88" + "e6f86b7.2174698", + "895f527d.d940b", + "8ebf3662.c1bef8" ] ] }, { - "id": "629b34f2.2fd88c", + "id": "fb18168b.716488", "type": "block", "name": "Block", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 3052.8544540405273, - "y": 6090.18804359436, - "z": "902b25ae.7c3098", + "x": 3022.9169540405273, + "y": 6046.75054359436, + "z": "31bddc6e.92f4e4", "wires": [ [ - "4ecd2413.c1ac2c", - "4ffa841.be4377c", - "209f9a9d.45d496" + "cba44296.54dd8", + "fb95281e.12ec48", + "7ec9d87.9722628" ] ] }, { - "id": "1c2e5305.7e243d", + "id": "4e2a9c06.892864", "type": "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": 2828.854652404785, - "y": 6212.188142776489, - "z": "902b25ae.7c3098", + "x": 2798.917152404785, + "y": 6168.750642776489, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "58c5284d.881c98", + "id": "14249543.1865eb", "type": "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": 2098.187732696533, - "y": 735.5209064483643, - "z": "902b25ae.7c3098", + "x": 2068.250232696533, + "y": 692.0834064483643, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "fd7aef73.25f1c", + "id": "f28d8b51.14d098", "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": 2123.854320526123, - "y": 895.8543066978455, - "z": "902b25ae.7c3098", + "x": 2093.916820526123, + "y": 852.4168066978455, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "998f959.4540068", + "id": "a0ae288c.6dddb8", "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": 2145.854259490967, - "y": 836.5208797454834, - "z": "902b25ae.7c3098", + "x": 2115.916759490967, + "y": 793.0833797454834, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "25223fa4.5b85b", + "id": "459edc30.350eb4", "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": 2102.1876335144043, - "y": 1001.5209407806396, - "z": "902b25ae.7c3098", + "x": 2072.2501335144043, + "y": 958.0834407806396, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c2f343dc.d033a", + "id": "e6a94407.4cdb08", "type": "set", "name": "calculation1", "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />", "comments": "", - "x": 2461.5208129882812, - "y": 1958.187484741211, - "z": "902b25ae.7c3098", + "x": 2431.5833129882812, + "y": 1914.749984741211, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "a8fc4e9e.b1862", + "id": "15cfd76e.da6de9", "type": "set", "name": "calculation2", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />", "comments": "", - "x": 2488.5208168029785, - "y": 1998.8541526794434, - "z": "902b25ae.7c3098", + "x": 2458.5833168029785, + "y": 1955.4166526794434, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "7c08382c.91f848", + "id": "16357bcb.90eca4", "type": "set", "name": "calculation3", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />", "comments": "", - "x": 2499.5207443237305, - "y": 2049.8540954589844, - "z": "902b25ae.7c3098", + "x": 2469.5832443237305, + "y": 2006.4165954589844, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "6b8f2f7f.8ad82", + "id": "19c19a35.5cad36", "type": "set", "name": "Calculate for RRM2", - "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' />", + "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />", "comments": "", - "x": 3235.719150543213, - "y": 3491.719168663025, - "z": "902b25ae.7c3098", + "x": 3205.781650543213, + "y": 3448.281668663025, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "227aa86c.d8ef18", + "id": "c953b38d.85576", "type": "set", "name": "Calculate for RRM3", "xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />", "comments": "", - "x": 3249.7192764282227, - "y": 3544.719045639038, - "z": "902b25ae.7c3098", + "x": 3219.7817764282227, + "y": 3501.281545639038, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "7041c873.f89558", + "id": "32cae5c5.7e7d1a", "type": "set", "name": "calculation rrm4", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />", "comments": "", - "x": 3221.7187843322754, - "y": 3582.7189245224, - "z": "902b25ae.7c3098", + "x": 3191.7812843322754, + "y": 3539.2814245224, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "c754692b.16ebf8", + "id": "9c9d24ce.6b8158", "type": "set", "name": "Calculate RRM Parms2", "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n", "comments": "", - "x": 2602.218849182129, - "y": 5421.2196034789085, - "z": "902b25ae.7c3098", + "x": 2572.281349182129, + "y": 5377.7821034789085, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "d4c104c7.d53b38", + "id": "8ba8984c.7273f8", "type": "set", "name": "Calculate RRM Parms3", "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />", "comments": "", - "x": 2592.2189712524414, - "y": 5476.219481408596, - "z": "902b25ae.7c3098", + "x": 2562.2814712524414, + "y": 5432.781981408596, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "34c9e22.b0a7c1e", + "id": "30a32a4f.fc97b6", "type": "set", "name": "Calculate RRM Parms4", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n", "comments": "", - "x": 2592.218849182129, - "y": 5527.219481468201, - "z": "902b25ae.7c3098", + "x": 2562.281349182129, + "y": 5483.781981468201, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "a8816efe.70be4", + "id": "e75abab8.bb4fa8", "type": "set", "name": "Calculate RRM Parms5", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />", "comments": "", - "x": 2580.2189712524414, - "y": 5587.2196034789085, - "z": "902b25ae.7c3098", + "x": 2550.2814712524414, + "y": 5543.7821034789085, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "503469f8.a36558", + "id": "89a393da.6bdb3", "type": "set", "name": "Calculate RRM Parms6", "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />", "comments": "", - "x": 2618.218849182129, - "y": 5637.2196034789085, - "z": "902b25ae.7c3098", + "x": 2588.281349182129, + "y": 5593.7821034789085, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "b2653495.ee3a68", + "id": "9aa5fe1e.3ade1", "type": "set", "name": "Calculate RRM Parms7", "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n", "comments": "", - "x": 2605.2187881469727, - "y": 5707.219969749451, - "z": "902b25ae.7c3098", + "x": 2575.2812881469727, + "y": 5663.782469749451, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "c8829055.def5d", + "id": "40e27ea8.8753", "type": "set", "name": "calculation8", "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n", "comments": "", - "x": 2576.2187881469727, - "y": 5771.218993186951, - "z": "902b25ae.7c3098", + "x": 2546.2812881469727, + "y": 5727.781493186951, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "86314876.701b88", + "id": "aab698e2.383438", "type": "set", "name": "calculation9", "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n", "comments": "", - "x": 2564.219337463379, - "y": 5822.218871116638, - "z": "902b25ae.7c3098", + "x": 2534.281837463379, + "y": 5778.781371116638, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "4b439c28.506134", + "id": "c9d7fe47.3d02", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2119.718677520752, - "y": 1088.2656090259552, - "z": "902b25ae.7c3098", + "x": 2089.781177520752, + "y": 1044.8281090259552, + "z": "31bddc6e.92f4e4", "wires": [ [ - "4f278b05.5b4c64", - "a0050f49.222f8" + "a6bb398c.0e2218", + "65da8016.0706" ] ] }, { - "id": "4f278b05.5b4c64", + "id": "a6bb398c.0e2218", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2309.7186584472656, - "y": 1058.2653925418854, - "z": "902b25ae.7c3098", + "x": 2279.7811584472656, + "y": 1014.8278925418854, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c1d4b126.a640e" + "75736bcf.0344b4" ] ] }, { - "id": "a0050f49.222f8", + "id": "65da8016.0706", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 2289.7186317443848, - "y": 1137.2654840946198, - "z": "902b25ae.7c3098", + "x": 2259.7811317443848, + "y": 1093.8279840946198, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1cdc5318.81c31d" + "58d9f085.06279" ] ] }, { - "id": "98860cef.b1782", + "id": "4505db0d.830094", "type": "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": 2310.719326019287, - "y": 1283.5988628864288, - "z": "902b25ae.7c3098", + "x": 2280.781826019287, + "y": 1240.1613628864288, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "bae48b05.1444f8", + "id": "7576daab.ddacb4", "type": "block", "name": "Add sliceprofile NRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1985.718360900879, - "y": 1289.6093802452087, - "z": "902b25ae.7c3098", + "x": 1955.780860900879, + "y": 1246.1718802452087, + "z": "31bddc6e.92f4e4", "wires": [ [ - "98860cef.b1782", - "d3e629c1.e96e28", - "4b439c28.506134", - "89dc1157.f3333" + "4505db0d.830094", + "1be6ba4f.cfb5d6", + "c9d7fe47.3d02", + "49e5b0f3.e36d3" ] ] }, { - "id": "89dc1157.f3333", + "id": "49e5b0f3.e36d3", "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": 2381.719566345215, - "y": 1349.6095132827759, - "z": "902b25ae.7c3098", + "x": 2351.782066345215, + "y": 1306.1720132827759, + "z": "31bddc6e.92f4e4", "wires": [ [ - "17e2a7f9.72ef98", - "b58624a.eb28dd8" + "79d43b06.14aef4", + "205de973.d7e946" ] ] }, { - "id": "d3e629c1.e96e28", + "id": "1be6ba4f.cfb5d6", "type": "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": 2310.7189025878906, - "y": 1217.6095135211945, - "z": "902b25ae.7c3098", + "x": 2280.7814025878906, + "y": 1174.1720135211945, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "384192c5.becd5e", + "id": "e0f5bd66.0c47f", "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": 2697.7186241149902, - "y": 958.2657337486744, - "z": "902b25ae.7c3098", + "x": 2667.7811241149902, + "y": 914.8282337486744, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "17e2a7f9.72ef98", + "id": "79d43b06.14aef4", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2781.7186889648438, - "y": 1227.598783493042, - "z": "902b25ae.7c3098", + "x": 2751.7811889648438, + "y": 1184.161283493042, + "z": "31bddc6e.92f4e4", "wires": [ [ - "c4bc2b8a.7b7028" + "e2b34084.73b04" ] ] }, { - "id": "b58624a.eb28dd8", + "id": "205de973.d7e946", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2691.7195739746094, - "y": 1342.5987710952759, - "z": "902b25ae.7c3098", + "x": 2661.7820739746094, + "y": 1299.1612710952759, + "z": "31bddc6e.92f4e4", "wires": [ [ - "d65f5595.f4dd98" + "e1348f71.99af" ] ] }, { - "id": "d65f5595.f4dd98", + "id": "e1348f71.99af", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2856.718292236328, - "y": 1343.5987710952759, - "z": "902b25ae.7c3098", + "x": 2826.780792236328, + "y": 1300.1612710952759, + "z": "31bddc6e.92f4e4", "wires": [ [ - "8be36083.0cec2" + "a9c15bf7.dbf538" ] ] }, { - "id": "1cf03784.d1ed98", + "id": "b33726e5.0909a8", "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": 2966.7191772460938, - "y": 1282.599027633667, - "z": "902b25ae.7c3098", + "x": 2936.7816772460938, + "y": 1239.161527633667, + "z": "31bddc6e.92f4e4", "wires": [] }, { - "id": "8be36083.0cec2", + "id": "a9c15bf7.dbf538", "type": "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": 3020.7190856933594, - "y": 1336.5992603302002, - "z": "902b25ae.7c3098", + "x": 2990.7815856933594, + "y": 1293.1617603302002, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "1cdc5318.81c31d", + "id": "58d9f085.06279", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2482.708282470703, - "y": 1132.2654840946198, - "z": "902b25ae.7c3098", + "x": 2452.770782470703, + "y": 1088.8279840946198, + "z": "31bddc6e.92f4e4", "wires": [ [ - "92e51d1c.9eab1", - "97c08468.e454c8", - "965cb927.5be908" + "83b63a46.4bf648", + "d0641f54.e4445", + "70fc3e46.eb68d" ] ] }, { - "id": "2de61976.84dcd6", - "type": "execute", - "name": "prev Send to SO", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />\n\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>", - "comments": "", - "outputs": 1, - "x": 566.6913871765137, - "y": 1059.9414129257202, - "z": "902b25ae.7c3098", - "wires": [ - [] - ] - }, - { - "id": "311bc201.12061e", + "id": "f9884c11.27b7a", "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": 2698.2533988952637, - "y": 1013.8646945953369, - "z": "902b25ae.7c3098", + "x": 2668.3158988952637, + "y": 970.4271945953369, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "92e51d1c.9eab1", + "id": "83b63a46.4bf648", "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": 2762.253231048584, - "y": 1060.8648042678833, - "z": "902b25ae.7c3098", + "x": 2732.315731048584, + "y": 1017.4273042678833, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "97c08468.e454c8", + "id": "d0641f54.e4445", "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": 2777.788230895996, - "y": 1112.463628768921, - "z": "902b25ae.7c3098", + "x": 2747.850730895996, + "y": 1069.026128768921, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "965cb927.5be908", + "id": "70fc3e46.eb68d", "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": 2796.2535514831543, - "y": 1165.8646173477173, - "z": "902b25ae.7c3098", + "x": 2766.3160514831543, + "y": 1122.4271173477173, + "z": "31bddc6e.92f4e4", "wires": [ [] ] }, { - "id": "c4bc2b8a.7b7028", + "id": "e2b34084.73b04", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 2931.142318725586, - "y": 1232.4201550483704, - "z": "902b25ae.7c3098", + "x": 2901.204818725586, + "y": 1188.9826550483704, + "z": "31bddc6e.92f4e4", "wires": [ [ - "1cf03784.d1ed98" + "b33726e5.0909a8" ] ] }, { - "id": "c1d4b126.a640e", + "id": "75736bcf.0344b4", "type": "block", "name": "URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2413.9201583862305, - "y": 943.8645935058594, - "z": "902b25ae.7c3098", + "x": 2383.9826583862305, + "y": 900.4270935058594, + "z": "31bddc6e.92f4e4", + "wires": [ + [ + "e0f5bd66.0c47f", + "f9884c11.27b7a" + ] + ] + }, + { + "id": "7233cdcc.752724", + "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", + "wires": [ + [] + ] + }, + { + "id": "9897c340.16354", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "ee67a809.993f68", + "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", + "wires": [ + [] + ] + }, + { + "id": "f82f8d1d.c78b4", + "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", + "wires": [ + [] + ] + }, + { + "id": "74e612c5.e7937c", + "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", + "wires": [ + [] + ] + }, + { + "id": "877a5217.df9d1", + "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", + "wires": [] + }, + { + "id": "4daecb7d.1835b4", + "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", + "wires": [ + [] + ] + }, + { + "id": "cd16980f.b7b198", + "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", + "wires": [] + }, + { + "id": "35b1d16a.ddd30e", + "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", + "wires": [] + }, + { + "id": "2a14e7a6.3d9048", + "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", + "wires": [] + }, + { + "id": "77abb0d0.a567d", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "c203b93f.b77d58", + "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", + "wires": [] + }, + { + "id": "7d94ef90.fbe44", + "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", + "wires": [] + }, + { + "id": "8ebf3662.c1bef8", + "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", + "wires": [] + }, + { + "id": "fcfa141f.a66e98", + "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", + "wires": [ + [ + "2ab90ab2.cd6a96", + "d324900a.fca68" + ] + ] + }, + { + "id": "2ab90ab2.cd6a96", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 921.7506675720215, + "y": 2162.750244140625, + "z": "31bddc6e.92f4e4", + "wires": [ + [ + "d8ac213d.077cd" + ] + ] + }, + { + "id": "d324900a.fca68", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", + "comments": "", + "outputs": 1, + "x": 926.7506065368652, + "y": 2283.7499685287476, + "z": "31bddc6e.92f4e4", "wires": [ [ - "384192c5.becd5e", - "311bc201.12061e" + "d716505d.4055e" ] ] + }, + { + "id": "d716505d.4055e", + "type": "block", + "name": "block", + "xml": "<block>\n", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1084.7503967285156, + "y": 2282.750213623047, + "z": "31bddc6e.92f4e4", + "wires": [ + [ + "9a11053c.ad7d78" + ] + ] + }, + { + "id": "9a11053c.ad7d78", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "dccd1323.b7f4b", + "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", + "wires": [] + }, + { + "id": "d8ac213d.077cd", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", + "comments": "", + "outputs": 1, + "x": 1080.7509498596191, + "y": 2160.7503356933594, + "z": "31bddc6e.92f4e4", + "wires": [ + [ + "dccd1323.b7f4b", + "6d40c6d2.d6acc8", + "66a87a6d.5e0334" + ] + ] + }, + { + "id": "6d40c6d2.d6acc8", + "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", + "wires": [] + }, + { + "id": "747fc783.b27538", + "type": "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", + "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 b912888a..fe6f89ea 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": "e99c530d.42d09", + "id": "32585b9f.2450c4", "type": "method", "name": "method", "xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n", "comments": "", "outputs": 1, - "x": 471, - "y": 122, - "z": "344d9ac9.ce6d06", + "x": 503.75, + "y": 164.75, + "z": "41b275ba.2c7b9c", "wires": [ [ - "7f912f74.435ac" + "6d512b02.f5fb24" ] ] }, { - "id": "240143f4.7dc87c", + "id": "3dbd289d.70c158", "type": "dgstart", "name": "DGSTART", "outputs": 1, - "x": 94.99999618530273, - "y": 26.999972343444824, - "z": "344d9ac9.ce6d06", + "x": 127.74999618530273, + "y": 69.74997234344482, + "z": "41b275ba.2c7b9c", "wires": [ [ - "81bf4298.c2aa" + "f703c5f1.d65e48" ] ] }, { - "id": "81bf4298.c2aa", + "id": "f703c5f1.d65e48", "type": "service-logic", "name": "ran-slice-api ${project.version}", "module": "ran-slice-api", @@ -38,1792 +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": 227.99996948242188, - "y": 124.00005340576172, - "z": "344d9ac9.ce6d06", + "x": 260.7499694824219, + "y": 166.75005340576172, + "z": "41b275ba.2c7b9c", "wires": [ [ - "e99c530d.42d09" + "32585b9f.2450c4" ] ] }, { - "id": "f0380eab.1c826", + "id": "48d93d05.8690d4", "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": 156.4896240234375, - "y": 1065.0002908706665, - "z": "344d9ac9.ce6d06", + "x": 189.2396240234375, + "y": 1107.7502908706665, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "adb1efb8.bf84f", + "id": "a4b9c637.2208a8", "type": "comment", "name": "instantiateRANSliceReconfigure", "info": "", "comments": "", - "x": 440, - "y": 64.01037216186523, - "z": "344d9ac9.ce6d06", + "x": 472.75, + "y": 106.76037216186523, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "7f912f74.435ac", + "id": "6d512b02.f5fb24", "type": "block", "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 105.99996948242188, - "y": 244.0103759765625, - "z": "344d9ac9.ce6d06", + "x": 138.74996948242188, + "y": 286.7603759765625, + "z": "41b275ba.2c7b9c", "wires": [ [ - "f0380eab.1c826", - "793118e4.594688", - "a665b1dd.7c4a8" + "48d93d05.8690d4", + "f4e1247b.bc3698", + "d1274487.bddf28", + "6d3f3c64.a47bf4" ] ] }, { - "id": "e695acbf.24771", + "id": "68609d43.a7c894", "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": 3986.989906311035, - "y": 7549.020859479904, - "z": "344d9ac9.ce6d06", + "x": 4019.739906311035, + "y": 7591.770859479904, + "z": "41b275ba.2c7b9c", "wires": [ [ - "a7ed7c1f.a934d" + "9e2fe536.9e73f8" ] ] }, { - "id": "a7ed7c1f.a934d", + "id": "9e2fe536.9e73f8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 4323.989784240723, - "y": 7575.010361433029, - "z": "344d9ac9.ce6d06", + "x": 4356.739784240723, + "y": 7617.760361433029, + "z": "41b275ba.2c7b9c", "wires": [ [ - "58cfa379.7632cc" + "df2e7f8.6dd618" ] ] }, { - "id": "58cfa379.7632cc", + "id": "df2e7f8.6dd618", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 4503.989540100098, - "y": 7572.010361433029, - "z": "344d9ac9.ce6d06", + "x": 4536.739540100098, + "y": 7614.760361433029, + "z": "41b275ba.2c7b9c", "wires": [ [ - "9afe4ed.325c8b" + "52c52982.de0028" ] ] }, { - "id": "9afe4ed.325c8b", + "id": "52c52982.de0028", "type": "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": 4652.989841461182, - "y": 7598.010554075241, - "z": "344d9ac9.ce6d06", + "x": 4685.739841461182, + "y": 7640.760554075241, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "61d67eb.92f6a8", + "id": "6d3f3c64.a47bf4", "type": "block", "name": "SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 77, - "y": 1379.0146417617798, - "z": "344d9ac9.ce6d06", + "x": 218.5, + "y": 1058.0146198272705, + "z": "41b275ba.2c7b9c", "wires": [ [ - "ac64d48b.e2b788", - "4f35f61a.8f5fd8" + "6ca212a7.438f2c", + "c4de5282.42b7b", + "1c47a5e4.c57bfa", + "313715a1.8aa98a" ] ] }, { - "id": "efbe49ba.580908", - "type": "set", - "name": "set tmp variables for SO response", - "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n\n\npayloadJson.input.callbackURL\n\n<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.so.callbackURL`\"/>\n <parameter name=\"outputPath\" value=\"tmp.so.callbackURL\"/>\n <parameter name=\"target\" value=\"{requestId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.requestID`\"/>", - "comments": "", - "x": 357.0011444091797, - "y": 1228.9141263961792, - "z": "344d9ac9.ce6d06", - "wires": [] - }, - { - "id": "ac64d48b.e2b788", + "id": "6ca212a7.438f2c", "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": 353.9999771118164, - "y": 1383.0148248672485, - "z": "344d9ac9.ce6d06", + "x": 386.7499771118164, + "y": 1425.7648248672485, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "4f35f61a.8f5fd8", - "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='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />", - "comments": "", - "outputs": 1, - "x": 223.0000762939453, - "y": 1500.0145292282104, - "z": "344d9ac9.ce6d06", - "wires": [ - [ - "5f5b2378.b5857c", - "f6ad53cd.906fc" - ] - ] - }, - { - "id": "5f5b2378.b5857c", + "id": "5fd9ecbd.29ab64", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 388.0000762939453, - "y": 1480.0145282745361, - "z": "344d9ac9.ce6d06", + "x": 420.7500762939453, + "y": 1522.7645282745361, + "z": "41b275ba.2c7b9c", "wires": [ [ - "a2e177e6.fbe018" + "7f661b0f.15e664" ] ] }, { - "id": "f6ad53cd.906fc", + "id": "2189ac26.c30d74", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 379.9999694824219, - "y": 1553.0144786834717, - "z": "344d9ac9.ce6d06", + "x": 412.7499694824219, + "y": 1595.7644786834717, + "z": "41b275ba.2c7b9c", "wires": [ [ - "a7036c1e.438d6" + "d9a56d50.10807" ] ] }, { - "id": "a7036c1e.438d6", + "id": "d9a56d50.10807", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 525.999813079834, - "y": 1558.0145874023438, - "z": "344d9ac9.ce6d06", + "x": 558.749813079834, + "y": 1600.7645874023438, + "z": "41b275ba.2c7b9c", "wires": [ [ - "6edb045c.0db0ec" + "9ed33baf.c15f38" ] ] }, { - "id": "a2e177e6.fbe018", + "id": "7f661b0f.15e664", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 536.9999771118164, - "y": 1476.014663696289, - "z": "344d9ac9.ce6d06", + "x": 569.7499771118164, + "y": 1518.764663696289, + "z": "41b275ba.2c7b9c", "wires": [ [ - "e18417c8.ea99b8", - "297ee472.ebd60c" + "36051d22.566b12", + "a16954ff.5c8568" ] ] }, { - "id": "e18417c8.ea99b8", + "id": "36051d22.566b12", "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": 683.9995956420898, - "y": 1487.0144052505493, - "z": "344d9ac9.ce6d06", + "x": 716.7495956420898, + "y": 1529.7644052505493, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "6edb045c.0db0ec", + "id": "9ed33baf.c15f38", "type": "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 \"/>", + "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": 686.9997329711914, - "y": 1564.014479637146, - "z": "344d9ac9.ce6d06", + "x": 719.7497329711914, + "y": 1606.764479637146, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "a647b652.8b7d28", + "id": "ae45840d.79a808", "type": "block", "name": "block : SO Response", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2918.4910202026367, - "y": 669.0105400085449, - "z": "344d9ac9.ce6d06", + "x": 2951.2410202026367, + "y": 711.7605400085449, + "z": "41b275ba.2c7b9c", "wires": [ [ - "892f9c83.dd663", - "e8bbb78f.be59d8", - "69f75211.5c9c7c" + "383a0812.212598", + "bd9a5458.0d8c98", + "f79506e4.729ba8" ] ] }, { - "id": "892f9c83.dd663", + "id": "383a0812.212598", "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": 3236.4919967651367, - "y": 592.9101982116699, - "z": "344d9ac9.ce6d06", + "x": 3269.2419967651367, + "y": 635.6601982116699, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "e8bbb78f.be59d8", + "id": "bd9a5458.0d8c98", "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": 3211.490882873535, - "y": 690.0108757019043, - "z": "344d9ac9.ce6d06", + "x": 3244.240882873535, + "y": 732.7608757019043, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "69f75211.5c9c7c", + "id": "f79506e4.729ba8", "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": 3126.490894317627, - "y": 787.0107536315918, - "z": "344d9ac9.ce6d06", + "x": 3159.240894317627, + "y": 829.7607536315918, + "z": "41b275ba.2c7b9c", "wires": [ [ - "ca7f4496.9d4418", - "a43a44c0.cbbba8" + "4ca0fe0e.1272", + "1eeab34c.9f419d" ] ] }, { - "id": "ca7f4496.9d4418", + "id": "4ca0fe0e.1272", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 3352.490902900696, - "y": 764.0107226371765, - "z": "344d9ac9.ce6d06", + "x": 3385.240902900696, + "y": 806.7607226371765, + "z": "41b275ba.2c7b9c", "wires": [ [ - "d6b47163.162ab" + "c32c55a7.fb07f8" ] ] }, { - "id": "a43a44c0.cbbba8", + "id": "1eeab34c.9f419d", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 3342.4907569885254, - "y": 872.0106620788574, - "z": "344d9ac9.ce6d06", + "x": 3375.2407569885254, + "y": 914.7606620788574, + "z": "41b275ba.2c7b9c", "wires": [ [ - "c3f869e7.8e5358" + "e19f4b9.9907bb8" ] ] }, { - "id": "c3f869e7.8e5358", + "id": "e19f4b9.9907bb8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3492.4905433654785, - "y": 891.0107231140137, - "z": "344d9ac9.ce6d06", + "x": 3525.2405433654785, + "y": 933.7607231140137, + "z": "41b275ba.2c7b9c", "wires": [ [ - "ed00e595.6aa8b8" + "4cde663b.2a8578" ] ] }, { - "id": "d6b47163.162ab", + "id": "c32c55a7.fb07f8", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 3503.4907722473145, - "y": 759.010844707489, - "z": "344d9ac9.ce6d06", + "x": 3536.2407722473145, + "y": 801.760844707489, + "z": "41b275ba.2c7b9c", "wires": [ [ - "f11f53c8.b5646" + "92c9aac0.661068" ] ] }, { - "id": "f11f53c8.b5646", + "id": "92c9aac0.661068", "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": 3669.490451812744, - "y": 762.0106620788574, - "z": "344d9ac9.ce6d06", + "x": 3702.240451812744, + "y": 804.7606620788574, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "ed00e595.6aa8b8", + "id": "4cde663b.2a8578", "type": "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 \"/>", + "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": 3656.4905586242676, - "y": 897.0106620788574, - "z": "344d9ac9.ce6d06", + "x": 3689.2405586242676, + "y": 939.7606620788574, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "297ee472.ebd60c", + "id": "a16954ff.5c8568", "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": 671.5102043151855, - "y": 1391.0038967132568, - "z": "344d9ac9.ce6d06", + "x": 704.2602043151855, + "y": 1433.7538967132568, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "3c3ebb26.8e55f4", + "id": "1c47a5e4.c57bfa", "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": 376.339599609375, - "y": 1318.999979019165, - "z": "344d9ac9.ce6d06", + "x": 409.089599609375, + "y": 1361.749979019165, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "d013a0ad.59f5a", + "id": "d57e6ed0.cc044", "type": "failure", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 663.0002326965332, - "y": 182.00006008148193, - "z": "344d9ac9.ce6d06", + "x": 695.7502326965332, + "y": 224.75006008148193, + "z": "41b275ba.2c7b9c", "wires": [ [ - "b84e0bf1.d42c68" + "a9acee36.f83ee" ] ] }, { - "id": "793118e4.594688", + "id": "f4e1247b.bc3698", "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": 423.0000991821289, - "y": 460.0000252723694, - "z": "344d9ac9.ce6d06", + "x": 455.7500991821289, + "y": 502.7500252723694, + "z": "41b275ba.2c7b9c", "wires": [ [ - "d013a0ad.59f5a", - "c49980db.b23eb" + "d57e6ed0.cc044", + "2419e20b.e956be" ] ] }, { - "id": "c49980db.b23eb", + "id": "2419e20b.e956be", "type": "failure", "name": "false", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 462.5066261291504, - "y": 627.0001888275146, - "z": "344d9ac9.ce6d06", + "x": 320.25665283203125, + "y": 644.75022315979, + "z": "41b275ba.2c7b9c", "wires": [ [ - "2115b41e.70357c" + "b786c6c5.f36ab8" ] ] }, { - "id": "84119673.ee8fb8", + "id": "96e5a08c.a3377", "type": "failure", "name": "true", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 689.0003509521484, - "y": 617.0000991821289, - "z": "344d9ac9.ce6d06", + "x": 487.75038146972656, + "y": 1006.7502222061157, + "z": "41b275ba.2c7b9c", "wires": [ [ - "b38f45cb.4f45f8" + "7cff3a87.efd824" ] ] }, { - "id": "b84e0bf1.d42c68", + "id": "a9acee36.f83ee", "type": "block", "name": "Closed Loop", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 725.0002288818359, - "y": 43.00003004074097, - "z": "344d9ac9.ce6d06", + "x": 757.7502288818359, + "y": 85.75003004074097, + "z": "41b275ba.2c7b9c", "wires": [ [ - "9cec5043.bb069", - "47d004f2.966b1c" + "8b60a680.a71df8", + "36bd9ffc.fe71" ] ] }, { - "id": "b38f45cb.4f45f8", + "id": "7cff3a87.efd824", "type": "block", "name": "block : atomic", "xml": "<block atomic=\"true\">", "atomic": "true", "outputs": 1, - "x": 859.0001754760742, - "y": 652.0002250671387, - "z": "344d9ac9.ce6d06", + "x": 654.7502899169922, + "y": 1005.750207901001, + "z": "41b275ba.2c7b9c", "wires": [ [ - "2a6d0d2f.ff0242", - "cab9c657.d281f8" + "1980284b.b32c88", + "1b3fa1fa.2ed2de", + "959e65cd.b44568", + "5e06d049.40315" ] ] }, { - "id": "2115b41e.70357c", + "id": "b786c6c5.f36ab8", "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": 672.0004501342773, - "y": 523.0002015829086, - "z": "344d9ac9.ce6d06", + "x": 313.7504577636719, + "y": 1004.7502689361572, + "z": "41b275ba.2c7b9c", "wires": [ [ - "84119673.ee8fb8" + "96e5a08c.a3377" ] ] }, { - "id": "9cec5043.bb069", + "id": "8b60a680.a71df8", "type": "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": 931.0000152587891, - "y": 28.000025749206543, - "z": "344d9ac9.ce6d06", + "x": 963.7500152587891, + "y": 70.75002574920654, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "2a6d0d2f.ff0242", + "id": "1980284b.b32c88", "type": "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": 1022.0003967285156, - "y": 555.000096321106, - "z": "344d9ac9.ce6d06", + "x": 811.7503967285156, + "y": 976.7502517700195, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "a665b1dd.7c4a8", + "id": "d1274487.bddf28", "type": "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": 496, - "y": 195, - "z": "344d9ac9.ce6d06", + "x": 528.75, + "y": 237.75, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "47d004f2.966b1c", + "id": "36bd9ffc.fe71", "type": "block", "name": "NearRTRIC", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 829.0105514526367, - "y": 157.01043796539307, - "z": "344d9ac9.ce6d06", + "x": 861.7605514526367, + "y": 199.76043796539307, + "z": "41b275ba.2c7b9c", "wires": [ [ - "1e8c37a3.3ea5f8", - "ecdd6e7a.a3b07" + "9a098154.31cd3", + "78a62e97.fc3e6" ] ] }, { - "id": "cab9c657.d281f8", + "id": "1b3fa1fa.2ed2de", "type": "block", "name": "CUCP", "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 989.0106010437012, - "y": 726.0105075836182, - "z": "344d9ac9.ce6d06", + "x": 788.7607955932617, + "y": 1120.7605228424072, + "z": "41b275ba.2c7b9c", "wires": [ [ - "c6a19347.2b6d3", - "bda32c0c.157bc" + "17465921.32a817", + "ae576dda.af8e8" ] ] }, { - "id": "80dca757.3d7888", + "id": "d8a7241.032a8d8", "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": 1396.899549484253, - "y": 527.0104651451111, - "z": "344d9ac9.ce6d06", + "x": 1432.6495742797852, + "y": 382.7604637145996, + "z": "41b275ba.2c7b9c", "wires": [ [ - "d056d9a6.210e98", - "d681f50c.40c518" + "b8083d5d.c3c33", + "4a9891fe.ea6f8" ] ] }, { - "id": "d056d9a6.210e98", + "id": "b8083d5d.c3c33", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1731.899917602539, - "y": 467.999960899353, - "z": "344d9ac9.ce6d06", + "x": 1718.6499099731445, + "y": 323.74999618530273, + "z": "41b275ba.2c7b9c", "wires": [ [ - "ce92bd90.bc92" + "f90d5817.420e78" ] ] }, { - "id": "d681f50c.40c518", + "id": "4a9891fe.ea6f8", "type": "success", "name": "success", "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1713.89986038208, - "y": 588.999906539917, - "z": "344d9ac9.ce6d06", + "x": 1711.649974822998, + "y": 383.74990463256836, + "z": "41b275ba.2c7b9c", "wires": [ [ - "b59b4b5b.5a84a8" + "7dfa359d.6150cc" ] ] }, { - "id": "ce92bd90.bc92", + "id": "f90d5817.420e78", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1895.8998413085938, - "y": 474.9999952316284, - "z": "344d9ac9.ce6d06", + "x": 1901.6500053405762, + "y": 366.75000381469727, + "z": "41b275ba.2c7b9c", "wires": [ [ - "cb12ec10.32ff9", - "140f08cf.2b7e77" + "ce80374b.206188", + "523df8ee.f162a8", + "ae45840d.79a808" ] ] }, { - "id": "b59b4b5b.5a84a8", + "id": "7dfa359d.6150cc", "type": "block", "name": "block", "xml": "<block>\n", "atomic": "false", "comments": "", "outputs": 1, - "x": 1874.8995971679688, - "y": 594.9999809265137, - "z": "344d9ac9.ce6d06", + "x": 1893.6496391296387, + "y": 412.7499656677246, + "z": "41b275ba.2c7b9c", "wires": [ [ - "754fb755.2f2878", - "1b33caf5.cb57d5" + "61c625fb.9581fc", + "12fc8842.fb9cd8" ] ] }, { - "id": "51db6fd3.d0466", + "id": "fce8baf0.424178", "type": "block", "name": "Update SiceProfile for NeaeRTRIC", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 997.0000915527344, - "y": 324.7447757720947, - "z": "344d9ac9.ce6d06", + "x": 1029.7500915527344, + "y": 367.4947757720947, + "z": "41b275ba.2c7b9c", "wires": [ [ - "c10c5964.2dfde8", - "b5b4dd99.1cbff", - "bcb86f4a.40d8f", - "80dca757.3d7888" + "d2185b6.e0a24a8", + "770f9d.e82ae064", + "dbcf9eb5.ded33", + "d8a7241.032a8d8" ] ] }, { - "id": "bcb86f4a.40d8f", + "id": "dbcf9eb5.ded33", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1349.000394821167, - "y": 215.4010200202465, - "z": "344d9ac9.ce6d06", + "x": 1381.750394821167, + "y": 258.1510200202465, + "z": "41b275ba.2c7b9c", "wires": [ [ - "bc92e2a4.26966", - "c54f398b.061978" + "19a3387d.ee7bf8", + "d7a0002b.c1efa" ] ] }, { - "id": "bc92e2a4.26966", + "id": "19a3387d.ee7bf8", "type": "outcome", "name": "Not Mounted", "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 1512.0003185272217, - "y": 147.40080973505974, - "z": "344d9ac9.ce6d06", + "x": 1544.7503185272217, + "y": 190.15080973505974, + "z": "41b275ba.2c7b9c", "wires": [ [ - "473d47d7.f7ecf8" + "4b4a5d78.937374" ] ] }, { - "id": "c54f398b.061978", + "id": "d7a0002b.c1efa", "type": "outcome", "name": "Mounted", "xml": "<outcome value='true'>\n", "comments": "", "outputs": 1, - "x": 1530.0003471374512, - "y": 296.40090176463127, - "z": "344d9ac9.ce6d06", + "x": 1556.7504386901855, + "y": 267.1509132385254, + "z": "41b275ba.2c7b9c", "wires": [ [ - "54202b85.fe4264" + "92f66eb2.37642" ] ] }, { - "id": "b5b4dd99.1cbff", + "id": "770f9d.e82ae064", "type": "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": 1340.0006141662598, - "y": 327.74496269226074, - "z": "344d9ac9.ce6d06", + "x": 1358.7506523132324, + "y": 293.4949840269983, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "c10c5964.2dfde8", + "id": "d2185b6.e0a24a8", "type": "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": 1353.0012130737305, - "y": 402.73432540893555, - "z": "344d9ac9.ce6d06", + "x": 1359.751293182373, + "y": 338.4843406677246, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "eaa52f3c.507e2", + "id": "bc636d62.af605", "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": 1976.5353240966797, - "y": 368.0000309944153, - "z": "344d9ac9.ce6d06", + "x": 1973.2853164672852, + "y": 317.7500343322754, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "7c2c7eaf.8e0db", + "id": "76704b8e.ef8754", "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": 2034.0698852539062, - "y": 303.5990204811096, - "z": "344d9ac9.ce6d06", + "x": 2043.8199310302734, + "y": 273.3490562438965, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "54202b85.fe4264", + "id": "92f66eb2.37642", "type": "block", "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1739.9899673461914, - "y": 342.40089532732964, - "z": "344d9ac9.ce6d06", + "x": 1739.7400932312012, + "y": 273.1508979797363, + "z": "41b275ba.2c7b9c", "wires": [ [ - "b692647.bf65c98", - "7c2c7eaf.8e0db", - "eaa52f3c.507e2" + "eb981a1e.510268", + "76704b8e.ef8754", + "bc636d62.af605" ] ] }, { - "id": "b692647.bf65c98", + "id": "eb981a1e.510268", "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": 2005.5348358154297, - "y": 238.00023317337036, - "z": "344d9ac9.ce6d06", + "x": 2035.2847747802734, + "y": 228.75024461746216, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "aa9909eb.f5be08", + "id": "88f363e3.b1642", "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": 1961.5350341796875, - "y": 160.00012588500977, - "z": "344d9ac9.ce6d06", + "x": 2006.285140991211, + "y": 173.75013732910156, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "63b8d50.91a8d2c", + "id": "78561837.024a98", "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": 1969.0003662109375, - "y": 81.4011402130127, - "z": "344d9ac9.ce6d06", + "x": 2001.7503662109375, + "y": 124.1511402130127, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "473d47d7.f7ecf8", + "id": "4b4a5d78.937374", "type": "block", "name": "URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1671.2018432617188, - "y": 154.00000473856926, - "z": "344d9ac9.ce6d06", + "x": 1703.9518432617188, + "y": 196.75000473856926, + "z": "41b275ba.2c7b9c", "wires": [ [ - "63b8d50.91a8d2c", - "aa9909eb.f5be08" + "78561837.024a98", + "88f363e3.b1642" ] ] }, { - "id": "ecdd6e7a.a3b07", + "id": "78a62e97.fc3e6", "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`\"/>", + "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": 993.0039825439453, - "y": 101.00392055511475, - "z": "344d9ac9.ce6d06", + "x": 1025.7539825439453, + "y": 143.75392055511475, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "1e8c37a3.3ea5f8", + "id": "9a098154.31cd3", "type": "for", "name": "For Number of patches", "xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >", "comments": "", "outputs": 1, - "x": 974.0039215087891, - "y": 224.00392055511475, - "z": "344d9ac9.ce6d06", + "x": 1006.7539215087891, + "y": 266.75392055511475, + "z": "41b275ba.2c7b9c", "wires": [ [ - "51db6fd3.d0466", - "afa56697.aa28c8" + "fce8baf0.424178", + "eb9c0d48.d1f73", + "541dc3de.9a8d5c", + "ae576dda.af8e8" ] ] }, { - "id": "afa56697.aa28c8", + "id": "eb9c0d48.d1f73", "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": 1172.4549827575684, - "y": 145.01043224334717, - "z": "344d9ac9.ce6d06", + "x": 1205.2049827575684, + "y": 187.76043224334717, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "cb12ec10.32ff9", + "id": "ce80374b.206188", "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": 2118.4548110961914, - "y": 442.0104169845581, - "z": "344d9ac9.ce6d06", + "x": 2087.204933166504, + "y": 367.76042556762695, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "140f08cf.2b7e77", + "id": "523df8ee.f162a8", "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": 2070.4547538757324, - "y": 514.8993988037109, - "z": "344d9ac9.ce6d06", + "x": 2097.204719543457, + "y": 406.64941024780273, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "754fb755.2f2878", + "id": "61c625fb.9581fc", "type": "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": 2048.4545936584473, - "y": 581.8993873596191, - "z": "344d9ac9.ce6d06", + "x": 2085.20463180542, + "y": 443.6493797302246, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "1b33caf5.cb57d5", + "id": "12fc8842.fb9cd8", "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": 2016.2330627441406, - "y": 676.8993625640869, - "z": "344d9ac9.ce6d06", + "x": 2103.983039855957, + "y": 479.64941787719727, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "c6a19347.2b6d3", + "id": "959e65cd.b44568", "type": "set", "name": "set Temp Variables", - "xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data_length`'/>\n<parameter name=\"tmp.sNssai\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>", + "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": 1186.1217880249023, - "y": 634.8993759155273, - "z": "344d9ac9.ce6d06", + "x": 845.8720245361328, + "y": 1017.649528503418, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "bda32c0c.157bc", + "id": "17465921.32a817", "type": "for", "name": "For Number of data Points", - "xml": "<for index='id1' start='0' end=\"`$tmp.payload.dataPoints`\" >", + "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >", "comments": "", "outputs": 1, - "x": 1166.1216125488281, - "y": 821.8993816375732, - "z": "344d9ac9.ce6d06", + "x": 1020.8715896606445, + "y": 1110.6494541168213, + "z": "41b275ba.2c7b9c", "wires": [ [ - "a730d7b8.bd79d8" + "9eba8bf5.891798" ] ] }, { - "id": "a730d7b8.bd79d8", + "id": "ae576dda.af8e8", "type": "block", - "name": "Update cellCUList", + "name": "get PLMNId", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1379.010368347168, - "y": 731.7882504463196, - "z": "344d9ac9.ce6d06", + "x": 994.5, + "y": 533.4999732971191, + "z": "41b275ba.2c7b9c", "wires": [ [ - "690582e7.c3e2dc", - "8a6e7489.2c1f28" + "435a2113.3763c", + "19f6c5ea.de089a", + "2845ab1.4ea1d54", + "b0fa965b.fc2408", + "906ffb7e.ea7f58", + "21c42803.80e668", + "9fa80d0a.1597c" ] ] }, { - "id": "690582e7.c3e2dc", - "type": "set", - "name": "set Temp Variables", - "xml": "<set>\n<parameter name=\"tmp.cellCUListNumbers\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList_length`\"/>\n<parameter name=\"tmp.gNBCUName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].gNBCUName`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].nearRTRICId`\"/>", + "id": "435a2113.3763c", + "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": "", - "x": 1619.0103778839111, - "y": 691.8992624282837, - "z": "344d9ac9.ce6d06", - "wires": [] + "outputs": 1, + "x": 1259.4999923706055, + "y": 423.49996757507324, + "z": "41b275ba.2c7b9c", + "wires": [ + [] + ] }, { - "id": "8a6e7489.2c1f28", - "type": "for", - "name": "For Number of cellCU", - "xml": "<for index='id2' start='0' end=\"`$tmp.cellCUListNumbers`\" >", + "id": "19f6c5ea.de089a", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "2845ab1.4ea1d54", + "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": 1502.010368347168, - "y": 891.6770648956299, - "z": "344d9ac9.ce6d06", + "x": 1300.7499923706055, + "y": 509.49995517730713, + "z": "41b275ba.2c7b9c", "wires": [ [ - "3e0405bb.a1007a", - "a94a1460.e7b2e8", - "f633b1d.30efa5", - "3a74dc74.de09e4", - "2124685a.f8bb68", - "e67ca02.2bda56" + "ce701174.19d3d", + "b7a70ed7.29f81" ] ] }, { - "id": "3e0405bb.a1007a", + "id": "9fa80d0a.1597c", "type": "set", - "name": "set Temp Variables", - "xml": "<set>\n<parameter name=\"tmp.maxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.maxNumberofConns`\"/>\n<parameter name=\"tmp.cellLocalId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].cellLocalId`\"/>\n<parameter name=\"tmp.lastUpdatedTS\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.lastUpdatedTS`\"/>\n<parameter name=\"tmp.predictedMaxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.predictedMaxNumberofConns`\"/>", + "name": "set PLMNId", + "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>", "comments": "", - "x": 1799.010383605957, - "y": 771.5659694671631, - "z": "344d9ac9.ce6d06", + "x": 1257.9375228881836, + "y": 550.1875219345093, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "3e852d16.9f8702", - "type": "outcome", - "name": "Not Mounted", - "xml": "<outcome value='false'>\n", + "id": "b0fa965b.fc2408", + "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": 1933.010498046875, - "y": 848.1215209960938, - "z": "344d9ac9.ce6d06", + "x": 1241.7499923706055, + "y": 589.7500879764557, + "z": "41b275ba.2c7b9c", "wires": [ - [ - "14769b6f.f718a5" - ] + [] ] }, { - "id": "88dfb111.34543", - "type": "outcome", - "name": "Mounted", - "xml": "<outcome value='true'>\n", + "id": "906ffb7e.ea7f58", + "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": 1977.010404586792, - "y": 997.1216130256653, - "z": "344d9ac9.ce6d06", + "x": 1245.5000686645508, + "y": 626.9999208450317, + "z": "41b275ba.2c7b9c", "wires": [ - [ - "783ca4a.8861e5c" - ] + [] ] }, { - "id": "92756c48.cce11", - "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.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "id": "21c42803.80e668", + "type": "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": 2412.5454711914062, - "y": 1032.7207975387573, - "z": "344d9ac9.ce6d06", + "x": 1246.2435455322266, + "y": 668.993444442749, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "b1314557.85f9a8", - "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>", + "id": "ce701174.19d3d", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2466.0800857543945, - "y": 987.3196907043457, - "z": "344d9ac9.ce6d06", + "x": 1538.2499923706055, + "y": 514.7499675750732, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "7b8bb405.3da30c" + ] ] }, { - "id": "783ca4a.8861e5c", + "id": "b7a70ed7.29f81", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", + "comments": "", + "outputs": 1, + "x": 1536.8127365112305, + "y": 564.3124666213989, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "c038c418.67f8b8" + ] + ] + }, + { + "id": "7b8bb405.3da30c", "type": "block", - "name": "ransim URL", + "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 2134.0001373291016, - "y": 1075.1216344833374, - "z": "344d9ac9.ce6d06", + "x": 1711.2497940063477, + "y": 503.7500400543213, + "z": "41b275ba.2c7b9c", "wires": [ [ - "243b1b25.ef63a4", - "b1314557.85f9a8", - "92756c48.cce11", - "39c77d44.983da2", - "b5902975.064ca8" + "73158791.da3f38", + "fd53989c.ffb198" ] ] }, { - "id": "243b1b25.ef63a4", - "type": "execute", - "name": "generate addnSSAIEntry.ToNRCellCU 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.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "id": "c038c418.67f8b8", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 2452.5448932647705, - "y": 938.7209444344044, - "z": "344d9ac9.ce6d06", + "x": 1697.812599182129, + "y": 542.3123931884766, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "f15a8c8f.80b76", + "4bb0478c.a08ee8", + "ae45840d.79a808" + ] ] }, { - "id": "2e87b01b.50599", - "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>", + "id": "73158791.da3f38", + "type": "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": 2383.5452575683594, - "y": 678.7208423614502, - "z": "344d9ac9.ce6d06", + "x": 1911.9995231628418, + "y": 503.5000648498535, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "8d74bd10.02b2", + "id": "fd53989c.ffb198", "type": "execute", - "name": "generate restapi.addnSSAIEntry.ToNRCellCU URL", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>", + "name": "printContext", + "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n", "comments": "", "outputs": 1, - "x": 2415.010513305664, - "y": 619.1218271255493, - "z": "344d9ac9.ce6d06", + "x": 1947.7777366638184, + "y": 546.7500734329224, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "14769b6f.f718a5", + "id": "4bb0478c.a08ee8", + "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", + "wires": [] + }, + { + "id": "f15a8c8f.80b76", + "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", + "wires": [] + }, + { + "id": "541dc3de.9a8d5c", "type": "block", - "name": "URL", - "xml": "<block atomic='true'>", + "name": "Update NearRTRIC Config", + "xml": "<block atomic=\"true\">", "atomic": "true", "comments": "", "outputs": 1, - "x": 2047.2119903564453, - "y": 765.7206954956055, - "z": "344d9ac9.ce6d06", + "x": 755.25, + "y": 730.2499732971191, + "z": "41b275ba.2c7b9c", "wires": [ [ - "8d74bd10.02b2", - "2e87b01b.50599", - "c0dac4fc.0b4fb8", - "267c9e1e.20d442" + "5da441f2.6913e", + "1188042b.5b07dc", + "a5c40637.63dca8", + "df970bea.e18718", + "25b4c7f7.476548" ] ] }, { - "id": "a94a1460.e7b2e8", + "id": "5da441f2.6913e", "type": "switchNode", "name": "ransim mounted", "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 1760.010498046875, - "y": 894.1217041015625, - "z": "344d9ac9.ce6d06", + "x": 994.0000381469727, + "y": 650.7500114440918, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "57f5bebd.407af", + "f50035fe.ae9ed8" + ] + ] + }, + { + "id": "57f5bebd.407af", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", + "comments": "", + "outputs": 1, + "x": 1214.9999237060547, + "y": 707.7497630119324, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "79f08456.9d755c" + ] + ] + }, + { + "id": "f50035fe.ae9ed8", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1209.0000038146973, + "y": 744.7499017715454, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "a7fb2a0a.75e4e8" + ] + ] + }, + { + "id": "a7fb2a0a.75e4e8", + "type": "block", + "name": "ransim URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1385.9898414611816, + "y": 755.7498874664307, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "ab76ccc8.dde52", + "afc88d65.49d28" + ] + ] + }, + { + "id": "79f08456.9d755c", + "type": "block", + "name": "URL", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1374.2014484405518, + "y": 714.3489580154419, + "z": "41b275ba.2c7b9c", "wires": [ [ - "3e852d16.9f8702", - "88dfb111.34543" + "b6c282d1.dbc4a" ] ] }, { - "id": "c0dac4fc.0b4fb8", + "id": "b6c282d1.dbc4a", "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "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": 2387.343765258789, - "y": 726.1215343475342, - "z": "344d9ac9.ce6d06", + "x": 1655.999984741211, + "y": 704.7500991821289, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "267c9e1e.20d442", + "id": "ab76ccc8.dde52", "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>", + "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": 2355.232666015625, - "y": 814.1215209960938, - "z": "344d9ac9.ce6d06", + "x": 1705.5343799591064, + "y": 746.3491978943348, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "39c77d44.983da2", + "id": "afc88d65.49d28", "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>", + "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": 2459.7884216308594, - "y": 1083.1216249465942, - "z": "344d9ac9.ce6d06", + "x": 1648.534896850586, + "y": 791.3489608764648, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "b5902975.064ca8", + "id": "1188042b.5b07dc", "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>", + "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": 2421.677490234375, - "y": 1171.1217041015625, - "z": "344d9ac9.ce6d06", + "x": 990.2500801086426, + "y": 693.2500720024109, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "f633b1d.30efa5", - "type": "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=\"Update NRCELLCU config url for Intelligent slicing:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>", + "id": "a5c40637.63dca8", + "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": 1778.788330078125, - "y": 961.1215209960938, - "z": "344d9ac9.ce6d06", + "x": 991.7500534057617, + "y": 733.2500114440918, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "3a74dc74.de09e4", + "id": "4e890bf6.3c1eb4", + "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", + "wires": [ + [] + ] + }, + { + "id": "41670755.139738", + "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", + "wires": [ + [] + ] + }, + { + "id": "6b9096c9.91aa78", + "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", + "wires": [ + [] + ] + }, + { + "id": "df970bea.e18718", "type": "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=\"Setting variables for updating NRCELLCU - Intelligent Slicing\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.sNssai`\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberofConns`\"/>\n<parameter name=\"field7\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field8\" value=\"`$tmp.lastUpdatedTS`\"/>\n<parameter name=\"field9\" value=\"`$tmp.predictedMaxNumberofConns`\"/>", + "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": 1780.7890625, - "y": 1031.11083984375, - "z": "344d9ac9.ce6d06", + "x": 943.4999885559082, + "y": 893.499979019165, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "a9ba4b39.b1b358", - "type": "execute", - "name": "Update addnSSAIEntry.ToNRCellCU PUT", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-intelligent-update-NRCellCU-configData.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.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=\"nrcellcu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />", + "id": "a63b17d.be891e8", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 1785.343994140625, - "y": 1735.6773681640625, - "z": "344d9ac9.ce6d06", + "x": 1231.0000495910645, + "y": 942.0000343322754, + "z": "41b275ba.2c7b9c", "wires": [ [ - "b2fe7e42.ae43", - "d9eba3b7.c70f7" + "62804df9.566e44" ] ] }, { - "id": "b2fe7e42.ae43", + "id": "94bfc483.016a08", "type": "failure", "name": "failure", "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 2105.34375, - "y": 1677.6666259765625, - "z": "344d9ac9.ce6d06", + "x": 1229.5627937316895, + "y": 991.5625333786011, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "692f073e.b8bb78" + ] + ] + }, + { + "id": "62804df9.566e44", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic='true'>", + "atomic": "true", + "comments": "", + "outputs": 1, + "x": 1399.9998016357422, + "y": 936.0000581741333, + "z": "41b275ba.2c7b9c", "wires": [ [ - "3db65c4e.a71314" + "941eaf3f.cfa1b" ] ] }, { - "id": "3db65c4e.a71314", + "id": "692f073e.b8bb78", "type": "block", "name": "block", - "xml": "<block>\n", + "xml": "<block>", "atomic": "false", "comments": "", "outputs": 1, - "x": 2270.34375, - "y": 1739.666748046875, - "z": "344d9ac9.ce6d06", + "x": 1390.562656402588, + "y": 969.5624599456787, + "z": "41b275ba.2c7b9c", "wires": [ [ - "3f8d8362.4c3ffc" + "a0691c95.99967", + "7eeb3908.36f438", + "ae45840d.79a808" ] ] }, { - "id": "3f8d8362.4c3ffc", + "id": "941eaf3f.cfa1b", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "7eeb3908.36f438", + "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", + "wires": [] + }, + { + "id": "a0691c95.99967", "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 config for intelligent slicing\" />", + "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": 2429.34326171875, - "y": 1775.666748046875, - "z": "344d9ac9.ce6d06", + "x": 1577.5627212524414, + "y": 965.5624780654907, + "z": "41b275ba.2c7b9c", "wires": [] }, { - "id": "d9eba3b7.c70f7", - "type": "success", - "name": "success", - "xml": "<outcome value='success'>\n", + "id": "25b4c7f7.476548", + "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": 2153.34375, - "y": 1874.6666259765625, - "z": "344d9ac9.ce6d06", + "x": 998.5000495910645, + "y": 940.7500219345093, + "z": "41b275ba.2c7b9c", "wires": [ [ - "fdefc837.1547f8" + "a63b17d.be891e8", + "94bfc483.016a08" ] ] }, { - "id": "fdefc837.1547f8", - "type": "block", - "name": "block", - "xml": "<block>\n", - "atomic": "false", + "id": "c4de5282.42b7b", + "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", + "wires": [] + }, + { + "id": "313715a1.8aa98a", + "type": "execute", + "name": "Send to SO", + "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>", "comments": "", "outputs": 1, - "x": 2335.34326171875, - "y": 1873.6666259765625, - "z": "344d9ac9.ce6d06", + "x": 256.9375, + "y": 1554.1249732971191, + "z": "41b275ba.2c7b9c", "wires": [ [ - "f1c749ab.9498d8" + "5fd9ecbd.29ab64", + "2189ac26.c30d74" ] ] }, { - "id": "f1c749ab.9498d8", - "type": "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=\"Update NRCellCU config for intelligent slicing Executed Successfully \"/>", + "id": "df492683.e9e418", + "type": "outcome", + "name": "Not Mounted", + "xml": "<outcome value='false'>\n", "comments": "", "outputs": 1, - "x": 2507.343994140625, - "y": 1866.6669921875, - "z": "344d9ac9.ce6d06", + "x": 1634.5000648498535, + "y": 1060.7500076293945, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "9607b3d.d3ab35" + ] + ] + }, + { + "id": "f20445ef.934978", + "type": "outcome", + "name": "Mounted", + "xml": "<outcome value='true'>\n", + "comments": "", + "outputs": 1, + "x": 1628.500144958496, + "y": 1097.7501463890076, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "650af091.29ffd" + ] ] }, { - "id": "2124685a.f8bb68", + "id": "650af091.29ffd", "type": "block", - "name": "Get PLMN from ConfigDB", + "name": "ransim URL", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1794.34375, - "y": 1336.34375, - "z": "344d9ac9.ce6d06", + "x": 1805.4899826049805, + "y": 1108.7501320838928, + "z": "41b275ba.2c7b9c", "wires": [ [ - "6351f968.020fd8", - "b57697ee.50d948", - "ba3adbb.fdac628" + "cebcb9c5.b643f8", + "36e20bbb.4a4404" ] ] }, { - "id": "6351f968.020fd8", - "type": "execute", - "name": "generate getPLMN 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.getplmn.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>", + "id": "9607b3d.d3ab35", + "type": "block", + "name": "URL", + "xml": "<block atomic='true'>", + "atomic": "true", "comments": "", "outputs": 1, - "x": 2125.34375, - "y": 1272.34375, - "z": "344d9ac9.ce6d06", + "x": 1793.7015895843506, + "y": 1067.349202632904, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "251e5493.c4b3bc" + ] ] }, { - "id": "b57697ee.50d948", - "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get PLMN for slice profile ID\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getplmn.url`\" />\n<parameter name='field3' value=\"`$tmp.sliceProfileId`\" />", + "id": "251e5493.c4b3bc", + "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": 2156.3438720703125, - "y": 1355.34375, - "z": "344d9ac9.ce6d06", + "x": 2075.5001258850098, + "y": 1057.750343799591, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "ba3adbb.fdac628", + "id": "cebcb9c5.b643f8", "type": "execute", - "name": "Get PLMN for slice profile id", - "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getplmn.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=\"false\"/>", + "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": 2117.343994140625, - "y": 1454.34375, - "z": "344d9ac9.ce6d06", + "x": 2125.0345211029053, + "y": 1099.349442511797, + "z": "41b275ba.2c7b9c", "wires": [ - [ - "af83d022.fde66", - "b4e62021.d738e" - ] + [] ] }, { - "id": "af83d022.fde66", - "type": "failure", - "name": "failure", - "xml": "<outcome value='failure'>\n", + "id": "36e20bbb.4a4404", + "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": 2330.34375, - "y": 1407.34375, - "z": "344d9ac9.ce6d06", + "x": 2068.0350379943848, + "y": 1144.349205493927, + "z": "41b275ba.2c7b9c", "wires": [ - [ - "5dbe43e.76575bc" - ] + [] ] }, { - "id": "b4e62021.d738e", - "type": "success", - "name": "success", - "xml": "<outcome value='success'>\n", + "id": "7f184b0f.0df254", + "type": "switchNode", + "name": "ransim mounted", + "xml": "<switch test='`$prop.ransim-mounted`'>\n", "comments": "", "outputs": 1, - "x": 2323.34375, - "y": 1540.3436279296875, - "z": "344d9ac9.ce6d06", + "x": 1444.500129699707, + "y": 1053.750005722046, + "z": "41b275ba.2c7b9c", "wires": [ [ - "f39a7342.cbf17" + "df492683.e9e418", + "f20445ef.934978" ] ] }, { - "id": "5dbe43e.76575bc", - "type": "block", - "name": "block", - "xml": "<block>", - "atomic": "false", + "id": "23402ed6.5154d2", + "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": 2533.343822479248, - "y": 1408.3438110351562, - "z": "344d9ac9.ce6d06", + "x": 1439.5000648498535, + "y": 1125.7500076293945, + "z": "41b275ba.2c7b9c", "wires": [ - [ - "a3feeedb.12f7f", - "cb7e16f4.bb96c8", - "b6a7b1aa.7e6bd" - ] + [] ] }, { - "id": "cb7e16f4.bb96c8", - "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": 2647.343521118164, - "y": 1333.4548511505127, - "z": "344d9ac9.ce6d06", - "wires": [] - }, - { - "id": "a3feeedb.12f7f", - "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": 2548.3434562683105, - "y": 1494.3437762260437, - "z": "344d9ac9.ce6d06", - "wires": [] - }, - { - "id": "f13b7133.863f7", - "type": "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=\"Successfully Obtained PLMN from configDB\"/>\n<parameter name=\"field2\" value=\"`$getplmn-configdb-response.httpResponse`\"/>", + "id": "47697e37.1b021", + "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": 2610.34326171875, - "y": 1536.34375, - "z": "344d9ac9.ce6d06", + "x": 1441.0000381469727, + "y": 1165.7499470710754, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "f39a7342.cbf17", + "id": "9eba8bf5.891798", "type": "block", - "name": "block", - "xml": "<block>\n", - "atomic": "false", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", + "outputs": 1, + "x": 1245.5000228881836, + "y": 1104.750039100647, + "z": "41b275ba.2c7b9c", + "wires": [ + [ + "7f184b0f.0df254", + "23402ed6.5154d2", + "47697e37.1b021", + "d7f4a3c5.d4b32", + "86761b21.52dd98", + "51f39f3f.e121a", + "eb254fd0.29137" + ] + ] + }, + { + "id": "d7f4a3c5.d4b32", + "type": "for", + "name": "For Number of cells", + "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >", "comments": "", "outputs": 1, - "x": 2377.343505859375, - "y": 1681.34375, - "z": "344d9ac9.ce6d06", + "x": 1454.7501907348633, + "y": 1269.75004196167, + "z": "41b275ba.2c7b9c", "wires": [ [ - "f13b7133.863f7", - "4dbb329e.e6a7cc", - "7b208d48.611164", - "6d56919c.d354b", - "2668f661.175a3a" + "3e2dcdf0.350682" ] ] }, { - "id": "4dbb329e.e6a7cc", + "id": "592dd030.210ee", "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-intelligentslicing-configrsp-context.log' />\n\n\n", + "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": 2639.12158203125, - "y": 1598.34375, - "z": "344d9ac9.ce6d06", + "x": 1865.5000457763672, + "y": 1238.7500610351562, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "b6a7b1aa.7e6bd", - "type": "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=\"Failed to Obtain PLMN from configDB\"/>", - "comments": "", + "id": "3e2dcdf0.350682", + "type": "block", + "name": "block : atomic", + "xml": "<block atomic=\"true\">", + "atomic": "true", "outputs": 1, - "x": 2689, - "y": 1411, - "z": "344d9ac9.ce6d06", + "x": 1664.5, + "y": 1266.75, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "592dd030.210ee", + "563fc063.299c9", + "94a5d1f9.db2b", + "52dccd0b.5f68b4" + ] ] }, { - "id": "7b208d48.611164", + "id": "563fc063.299c9", "type": "execute", - "name": "SliStringUtils - substring MCC", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />", + "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": 2671, - "y": 1651, - "z": "344d9ac9.ce6d06", + "x": 1922.2500457763672, + "y": 1273.7501058578491, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "6d56919c.d354b", + "id": "94a5d1f9.db2b", "type": "execute", - "name": "SliStringUtils - substring MNC", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />", + "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": 2681, - "y": 1698, - "z": "344d9ac9.ce6d06", + "x": 1913, + "y": 1380.75, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "e6217049.8fe", + "103ace8.0d64a32" + ] ] }, { - "id": "2668f661.175a3a", - "type": "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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>", + "id": "e6217049.8fe", + "type": "success", + "name": "success", + "xml": "<outcome value='success'>\n", "comments": "", "outputs": 1, - "x": 2628, - "y": 1750, - "z": "344d9ac9.ce6d06", + "x": 2145.5, + "y": 1382.000012397766, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "649e12ec.2e907c" + ] ] }, { - "id": "5c1f722e.e6410c", - "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>", + "id": "103ace8.0d64a32", + "type": "failure", + "name": "failure", + "xml": "<outcome value='failure'>\n", "comments": "", "outputs": 1, - "x": 1972, - "y": 1553, - "z": "344d9ac9.ce6d06", + "x": 2144.062744140625, + "y": 1431.5625114440918, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "105421ef.dcc97e" + ] ] }, { - "id": "52e59e51.d168c", - "type": "execute", - "name": "Populate addnSSAIEntry.ToNRCellCU.url", - "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>", + "id": "105421ef.dcc97e", + "type": "block", + "name": "block", + "xml": "<block>", + "atomic": "false", "comments": "", "outputs": 1, - "x": 1950, - "y": 1594, - "z": "344d9ac9.ce6d06", + "x": 2305.0626068115234, + "y": 1409.5624380111694, + "z": "41b275ba.2c7b9c", "wires": [ - [] + [ + "36e0cf0.449d132", + "b81dc1c0.23bac", + "ae45840d.79a808" + ] ] }, { - "id": "e67ca02.2bda56", + "id": "649e12ec.2e907c", "type": "block", - "name": "Update NRCELLCU", + "name": "block : atomic", "xml": "<block atomic='true'>", "atomic": "true", "comments": "", "outputs": 1, - "x": 1594, - "y": 1599, - "z": "344d9ac9.ce6d06", + "x": 2314.4997520446777, + "y": 1376.000036239624, + "z": "41b275ba.2c7b9c", "wires": [ [ - "a9ba4b39.b1b358", - "b09a41d8.7fdd5", - "f0cca49c.721378", - "5c1f722e.e6410c", - "52e59e51.d168c", - "2ee4cede.353242" + "c25430f2.8cec3" ] ] }, { - "id": "b09a41d8.7fdd5", + "id": "36e0cf0.449d132", + "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", + "wires": [] + }, + { + "id": "b81dc1c0.23bac", + "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", + "wires": [] + }, + { + "id": "c25430f2.8cec3", "type": "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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>", + "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": 1814, - "y": 1449, - "z": "344d9ac9.ce6d06", + "x": 2526.249557495117, + "y": 1298.7501239776611, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "f0cca49c.721378", + "id": "5e06d049.40315", "type": "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=\"URL for update NRCELLCU \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"sNSSAI: \"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns: \"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"predictedMaxNumberofConns: \"/>\n<parameter name=\"field8\" value=\"`$tmp.predictedMaxNumberofConns`\"/>", + "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": 1823, - "y": 1648, - "z": "344d9ac9.ce6d06", + "x": 814.25, + "y": 1074.75, + "z": "41b275ba.2c7b9c", "wires": [ [] ] }, { - "id": "2ee4cede.353242", + "id": "86761b21.52dd98", "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-intelligent-nearRTRIC-context2.log' />\n\n\n", + "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", + "wires": [ + [] + ] + }, + { + "id": "51f39f3f.e121a", + "type": "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", + "wires": [ + [] + ] + }, + { + "id": "52dccd0b.5f68b4", + "type": "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": 1495, - "z": "344d9ac9.ce6d06", + "y": 1327.25, + "z": "41b275ba.2c7b9c", "wires": [ [] ] + }, + { + "id": "eb254fd0.29137", + "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", + "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 f2af89f8..c77357cf 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 @@ -6,32 +6,32 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="RPC to handle terminateRANSlice.: "/> - <parameter name="field2" value="`$activate-r-a-n-slice-input.action`"/> - <parameter name="field3" value="`$activate-r-a-n-slice-input.common-header.timestamp`"/> - <parameter name="field4" value="`$activate-r-a-n-slice-input.common-header.request-id`"/> - <parameter name="field5" value="`$activate-r-a-n-slice-input.common-header.originator-id`"/> + <parameter name="field1" value="RPC to handle activateRANSlice.: "/> + <parameter name="field2" value="`$activate-r-a-n-slice-instance-input.action`"/> + <parameter name="field3" value="`$activate-r-a-n-slice-instance-input.timestamp`"/> + <parameter name="field4" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/> + <parameter name="field5" value="`$activate-r-a-n-slice-instance-input.common-header.originator-id`"/> <parameter name="field6" value="RPC Payload String "/> - <parameter name="field7" value="`$activate-r-a-n-slice-input.payload`"/> + <parameter name="field7" value="`$activate-r-a-n-slice-instance-input.payload`"/> </record> <set> <parameter name='error-code' value='200' /> - <parameter name='error-message' value='Successful execution of terminateRANSice RPC' /> + <parameter name='error-message' value='Successful execution of activateRANSice RPC' /> </set> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'> - <parameter name='source' value='activate-r-a-n-slice-input.payload' /> + <parameter name='source' value='activate-r-a-n-slice-instance-input.payload' /> <parameter name='outputPath' value='payloadJson' /> <parameter name='isEscaped' value='false' /> <outcome value='success'> <block atomic='true'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' /> + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Payload for terminateRANSlice.: "/> - <parameter name="field2" value="`$tmp.sNSSAI`"/> + <parameter name="field1" value="Payload for activateRANSlice.: "/> + <parameter name="field2" value="`$payloadJson.input.sNSSAI`"/> <parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/> <parameter name="field4" value="`$payloadJson.input.callbackURL`"/> <parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/> @@ -39,12 +39,11 @@ </block> </outcome> </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.sNSSAI' /> - <parameter name='source' value="`$payloadJson.input.NSSAI`" /> - </execute> + <set> + <parameter name='tmp.sNSSAI' value="`$payloadJson.input.sNSSAI`" /> + </set> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-context.log' /> + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' /> </execute> <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' > <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' /> @@ -62,9 +61,22 @@ <parameter name="field7" value="config DB deployed (true/false): "/> <parameter name="field8" value="`$prop.configdb-deployed`"/> </record> - <set> - <parameter name='tmp.status' value='ACTIVE' /> - </set> + <switch test='`$activate-r-a-n-slice-instance-input.action == activate`'> + <outcome value='true'> + <block atomic='true'> + <set> + <parameter name='tmp.status' value='ACTIVE' /> + </set> + </block> + </outcome> + <outcome value='false'> + <block atomic='true'> + <set> + <parameter name='tmp.status' value='INACTIVE' /> + </set> + </block> + </outcome> + </switch> <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"/> @@ -97,8 +109,8 @@ <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`"/> + <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-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" /> @@ -114,7 +126,7 @@ <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="responsePrefix" value="so-callback-activate-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> @@ -150,7 +162,7 @@ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' /> + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' /> </execute> </block> </outcome> @@ -178,7 +190,7 @@ </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.pLMNId' /> - <parameter name='source' value="`getPLMN-configdb-response.pLMNId`" /> + <parameter name='source' value="`getPLMN-configdb-response.plmnId`" /> </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> <parameter name="string" value="`$tmp.pLMNId`" /> @@ -198,14 +210,23 @@ <parameter name="field2" value="`$tmp.mcc`"/> <parameter name="field3" value="`$tmp.mnc`"/> </record> - <for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' > + <set> + <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-configdb-response._length`"/> + </set> + <for index='idy' start='0' end='`$tmp.RICList_length`' > + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.nearRTRICId' /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`" /> + </execute> + </block> <block atomic='true'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.CUCPList_length' /> <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="Number of CUCP List Entries "/> <parameter name="field2" value="`$tmp.CUCPList_length`"/> @@ -219,7 +240,7 @@ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="CUCPName "/> <parameter name="field2" value="`$tmp.CUCPName`"/> @@ -231,8 +252,12 @@ <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.cellLocalId' /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" /> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.pLMNInfoList_length' /> - <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`" /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`" /> </execute> <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' > <block atomic='true'> @@ -241,7 +266,7 @@ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`" /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/> <parameter name="field2" value="`$tmp.configDBSNSSAI`"/> @@ -252,7 +277,7 @@ <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="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> <parameter name="field1" value="CellCU is applicable for the NSSAI "/> </record> @@ -347,8 +372,8 @@ <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`"/> + <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-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" /> @@ -364,7 +389,7 @@ <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="responsePrefix" value="so-callback-activate-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> @@ -442,19 +467,56 @@ </execute> <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'> <block atomic='true'> - <switch test='`$prop.ransim-mounted`'> + <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 +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`" /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/> + <parameter name="field2" value="`$tmp.configDBSNSSAI`"/> + <parameter name="field3" value="sNSSAI from request"/> + <parameter name="field4" value="`$tmp.sNSSAI`"/> + </record> + <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'> <outcome value='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> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="sNSSAI doesn't match"/> + </record> </outcome> <outcome value='true'> <block atomic='true'> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/> + <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/> + <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> + </execute> + </block> + </outcome> + </switch> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/> + <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/> <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/> <parameter name="target" value="{idNearRTRIC}"/> <parameter name="replacement" value="`$tmp.nearRTRICId`"/> @@ -462,98 +524,104 @@ <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="target" value="{idGNBCUUPFunction}"/> <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> </execute> - </block> - </outcome> - </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/> - <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/> - <parameter name="target" value="{idGNBCUUPFunction}"/> - <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" /> - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/> - <parameter name="restapiUser" value="`$prop.controller.user`" /> - <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="PATCH"/> - <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/> - <parameter name='contentType' value='application/yang.patch+json' /> - <parameter name='accept' value='application/yang.patch-status+json'/> - <parameter name='format' value='json' /> - <outcome value='failure'> - <block atomic='true'> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/> - </return> - <block atomic='true'> - <set> - <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> - <parameter name="tmp.status" value="`$error-code`"/> - <parameter name="tmp.reason" value="`$error-message`"/> - <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> - <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> - </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-modify-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> - <block> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name="error-code" value="500" /> - <parameter name="error-message" value="Error sending SO Response" /> - </return> - </block> - </outcome> - <outcome value='success'> - <block> + <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> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/> + <parameter name="restapiUser" value="`$prop.controller.user`" /> + <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> + <parameter name="httpMethod" value="PATCH"/> + <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/> + <parameter name='contentType' value='application/yang.patch+json' /> + <parameter name='accept' value='application/yang.patch-status+json'/> + <parameter name='format' value='json' /> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/> + </return> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> + <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-activate-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> </block> - </outcome> - </execute> - </block> - </block> - </outcome> - <outcome value='success'> - <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/> - </record> + </block> + </outcome> + <outcome value='success'> + <block atomic='true'> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/> + </record> + </block> + </outcome> + </execute> </block> </outcome> - </execute> + </switch> </block> </for> </block> @@ -591,31 +659,28 @@ <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.cellDULocalId' /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" /> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.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 '`" /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`" /> </execute> <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' > <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' /> - <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" /> - </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/> - <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/> - <parameter name="field3" value="sNSSAI from request"/> - <parameter name="field4" value="`$tmp.sNSSAI`"/> + <parameter name="field1" value="DUpLMNInfoList_length"/> + <parameter name="field2" value="`$tmp.DUpLMNInfoList_length`"/> </record> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' /> + <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`" /> + </execute> <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'> <outcome value='true'> <block atomic='true'> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="CellDU is applicable for the NSSAI "/> - </record> <switch test='`$prop.ransim-mounted`'> <outcome value='false'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > @@ -642,10 +707,6 @@ </block> </outcome> </switch> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> - <parameter name='outputPath' value='tmp.cellDULocalId' /> - <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`" /> - </execute> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/> <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/> @@ -656,7 +717,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`"/> @@ -673,7 +734,7 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="patch cellCU NSSAI parameters"/> + <parameter name="field1" value="patch cellDU NSSAI parameters"/> <parameter name="field2" value="`$tmp.nearRTRICId`"/> <parameter name="field3" value="`$tmp.GNBDUId`"/> <parameter name="field4" value="`$tmp.cellDULocalId`"/> @@ -698,8 +759,8 @@ <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`"/> + <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-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" /> @@ -715,7 +776,7 @@ <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="responsePrefix" value="so-callback-activate-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> @@ -804,7 +865,7 @@ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name="responsePrefix" value="so-callback-activate-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> 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 12b0a024..46228255 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 @@ -59,12 +59,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -161,12 +163,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -413,12 +417,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -555,6 +561,21 @@ <switch test="`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`"> <outcome value='true'> <block atomic='true'> + <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.gNBCUCPList.gNBCUName`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='CUCPListEntries_size' /> + <parameter name='source' value="`tmp.CUCPList.response_length`" /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CUCPList length"/> + <parameter name="field2" value="`$CUCPListEntries_size`"/> + </record> <block atomic='true'> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> <parameter name='outputPath' value='tmp.pLMNInfoListEntries' /> @@ -634,6 +655,9 @@ <parameter name="target" value="{mnc}"/> <parameter name="replacement" value="`$tmp.mnc`"/> </execute> + <set> + <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> @@ -690,12 +714,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -774,6 +800,9 @@ <parameter name="target" value="{id}"/> <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.NRCellCU`"/> </execute> + <set> + <parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> @@ -830,12 +859,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -912,12 +943,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -950,98 +983,100 @@ </block> </outcome> </execute> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`" /> + <parameter name="httpMethod" value="PUT"/> + <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="convertResponse" value="true"/> + <outcome value='failure'> + <block> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <set> + <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' /> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in ConfigDB"/> + <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/> + <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' /> + </record> + </block> + </outcome> + </execute> </block> </outcome> </switch> </block> </for> </for> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/> - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`" /> - <parameter name="httpMethod" value="PUT"/> - <parameter name="responsePrefix" value="update-gNBCUCP-rrmpolicy-configdb-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="true"/> - <outcome value='failure'> - <block> - <block atomic='true'> - <set> - <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> - <parameter name="tmp.status" value="`$error-code`"/> - <parameter name="tmp.reason" value="`$error-message`"/> - <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> - <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$tmp.so.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> - <parameter name='field7' value="`$tmp.CUCPList`" /> - <parameter name='field8' value="`$tmp.CUUPList`" /> - <parameter name='field9' value="`$tmp.DUList`" /> - </record> - <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-response"/> - <parameter name='contentType' value='application/json' /> - <parameter name='format' value='json' /> - <parameter name='accept' value='application/json' /> - <outcome value='failure'> - <block> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name="error-code" value="500" /> - <parameter name="error-message" value="Error sending SO Response" /> - </return> - </block> - </outcome> - <outcome value='success'> - <block> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> - </record> - </block> - </outcome> - </execute> - </block> - <set> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/> - </set> - <return status='failure'> - <parameter name='ack-final' value='Y'/> - <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/> - </return> - </block> - </outcome> - <outcome value='success'> - <block> - <set> - <parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' /> - </set> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully Updated RRMPolicy CUCP info in ConfigDB"/> - <parameter name="field2" value="Incremented ConfigDB rrmPolicyID"/> - <parameter name="field3" value='`$prop.configDB.rrmPolicyID`' /> - </record> - </block> - </outcome> - </execute> </for> </block> <block atomic='true'> @@ -1057,10 +1092,16 @@ </record> <block atomic='true'> <set> - <parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' /> + <parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' /> </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="maxNumberOfConns.CUUP "/> + <parameter name="field2" value="`$tmp.maxNumberOfConns-CUUP`"/> + </record> <set> - <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns*4`' /> + <parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' /> </set> <set> <parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' /> @@ -1085,7 +1126,7 @@ <parameter name="field9" value="tmp.rRMPolicyDedicatedRatio.CUUP"/> <parameter name="field10" value="`$tmp.rRMPolicyDedicatedRatio.CUUP`"/> <parameter name="field11" value="tmp.maxNumberOfConns"/> - <parameter name="field12" value="`$tmp.maxNumberOfConns`"/> + <parameter name="field12" value="`$tmp.maxNumberOfConns-CUUP`"/> </record> </block> <for index='id2' start='0' end='`$tmp.CUUPListEntries `' > @@ -1188,6 +1229,9 @@ <parameter name="target" value="{mnc}"/> <parameter name="replacement" value="`$tmp.mnc`"/> </execute> + <set> + <parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`'/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> @@ -1239,12 +1283,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -1282,6 +1328,11 @@ </block> </outcome> </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.gNBCUUPList.gNBCUUPId`"/> + </execute> </block> <block atomic='true'> <switch test='`$prop.ransim-mounted`'> @@ -1322,6 +1373,9 @@ <parameter name="target" value="{id}"/> <parameter name="replacement" value="`$tmp.RRMPolicyRatioID.GNBCUUPFunction`"/> </execute> + <set> + <parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> @@ -1373,12 +1427,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -1451,12 +1507,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -1532,12 +1590,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -1795,6 +1855,10 @@ <parameter name="target" value="{mnc}"/> <parameter name="replacement" value="`$tmp.mnc`"/> </execute> + <set> + <parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice/$tmp.cellDUListEntries`'/> + <parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice/$tmp.cellDUListEntries`'/> + </set> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> @@ -1846,12 +1910,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -1889,6 +1955,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.gNBDUList.gNBDUId`"/> + </execute> </block> <block atomic='true'> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > @@ -1972,6 +2043,9 @@ </block> </outcome> </execute> + <set> + <parameter name='tmp.resourceID-DU' value='`$tmp.cellLocalId`'/> + </set> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="restapiUrl" value="`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`"/> <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`" /> @@ -2155,12 +2229,14 @@ </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> <parameter name="httpMethod" value="POST"/> <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> <outcome value='failure'> <block> <return status='failure'> @@ -2222,42 +2298,82 @@ </for> </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/so-callback-response.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for SO Callback Response"/> - <parameter name='field2' value="`$payloadJson.input.callbackURL`" /> - <parameter name='field3' value="`$tmp.status`" /> - <parameter name='field4' value="`$tmp.reason`" /> - <parameter name='field5' value="`$tmp.requestID`" /> - <parameter name='field6' value="`$tmp.action`" /> - <parameter name='field7' value="`$tmp.CUCPList`" /> - <parameter name='field8' value="`$tmp.CUUPList`" /> - <parameter name='field9' value="`$tmp.DUList`" /> + <parameter name="field1" value="Update inventory in ConfigDB"/> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> - <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> - <parameter name="httpMethod" value="POST"/> - <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name="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="restapiUser" value="`$prop.restapi.so.user`" /> - <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <parameter name="convertResponse" value="true"/> <outcome value='failure'> <block> <set> <parameter name='error-code' value='500'/> - <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/> + <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 sending SO Response" /> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/> </return> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> </block> </outcome> <outcome value='success'> @@ -2265,17 +2381,80 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="SO Response Sent "/> + <parameter name="field1" value="Successfully Updated inventory in ConfigDB"/> </record> </block> </outcome> </execute> + <block atomic='true'> + <set> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/> + <parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/> + </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.so.callbackURL`"/> + <parameter name="outputPath" value="tmp.so.callbackURL"/> + <parameter name="target" value="{requestId}"/> + <parameter name="replacement" value="`$tmp.requestID`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$payloadJson.input.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$prop.restapi.so.user`" /> + <parameter name='field8' value="`$prop.restapi.so.password`" /> + <parameter name='field9' value="`$tmp.DUList.response_length`" /> + <parameter name='field10' value="`$tmp.CUCPList.response`" /> + <parameter name='field11' value="`$tmp.CUUPList.response`" /> + <parameter name='field12' value="`$tmp.DUList.response`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> + <return status='success'> + <parameter name="ack-final" value="N" /> + <parameter name="error-code" value="200" /> + <parameter name="error-message" value="SUCCESSFUL Execution" /> + </return> </block> - <return status='success'> - <parameter name="ack-final" value="N" /> - <parameter name="error-code" value="200" /> - <parameter name="error-message" value="SUCCESSFUL Execution" /> - </return> </block> </method> </service-logic>
\ No newline at end of file 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 5b199fd1..1ae327fe 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 @@ -22,6 +22,7 @@ <set> <parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/> <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/> + <parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/> </set> <for index='id1' start='0' end="`$tmp.payload.numberUpdates`" > <set> @@ -107,6 +108,55 @@ <parameter name='error-code' value='500'/> <parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/> </return> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> </block> </outcome> <outcome value='success'> @@ -123,261 +173,558 @@ </outcome> </execute> </block> - </for> - </block> - </block> - </outcome> - <outcome value='false'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' > - <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' /> - <parameter name='target' value='maxNumberofConns' /> - <outcome value='true'> - <block atomic="true"> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/> - </record> - <block atomic="true"> - <set> - <parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data_length`'/> - <parameter name="tmp.sNssai" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.snssai`"/> - <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/> - </set> - <for index='id1' start='0' end="`$tmp.payload.dataPoints`" > - <block atomic='true'> - <set> - <parameter name="tmp.cellCUListNumbers" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList_length`"/> - <parameter name="tmp.gNBCUName" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].gNBCUName`"/> - <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].nearRTRICId`"/> - </set> - <for index='id2' start='0' end="`$tmp.cellCUListNumbers`" > - <set> - <parameter name="tmp.maxNumberofConns" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.maxNumberofConns`"/> - <parameter name="tmp.cellLocalId" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].cellLocalId`"/> - <parameter name="tmp.lastUpdatedTS" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.lastUpdatedTS`"/> - <parameter name="tmp.predictedMaxNumberofConns" value="`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.predictedMaxNumberofConns`"/> - </set> - <switch test='`$prop.ransim-mounted`'> - <outcome value='false'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNRCellCU`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idGNBCUCPFunction}"/> - <parameter name="replacement" value="`$tmp.gNBCUName`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idNRCellCU}"/> - <parameter name="replacement" value="`$tmp.cellLocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{sNssai}"/> - <parameter name="replacement" value="`$tmp.sNssai`"/> - </execute> - </block> - </outcome> - <outcome value='true'> - <block atomic='true'> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idNearRTRIC}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idGNBCUCPFunction}"/> - <parameter name="replacement" value="`$tmp.gNBCUName`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{mountName}"/> - <parameter name="replacement" value="`$tmp.nearRTRICId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{idNRCellCU}"/> - <parameter name="replacement" value="`$tmp.cellLocalId`"/> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{sNssai}"/> - <parameter name="replacement" value="`$tmp.sNssai`"/> - </execute> - </block> - </outcome> - </switch> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Update NRCELLCU config url for Intelligent slicing:"/> - <parameter name="field2" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - </record> + <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.sliceProfileId`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.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-CL-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/intelligentSlicing.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Setting variables for updating NRCELLCU - Intelligent Slicing"/> - <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="field3" value="`$tmp.nearRTRICId`"/> - <parameter name="field4" value="`$tmp.gNBCUName`"/> - <parameter name="field5" value="`$tmp.sNssai`"/> - <parameter name="field6" value="`$tmp.maxNumberofConns`"/> - <parameter name="field7" value="`$tmp.cellLocalId`"/> - <parameter name="field8" value="`$tmp.lastUpdatedTS`"/> - <parameter name="field9" value="`$tmp.predictedMaxNumberofConns`"/> + <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/> + <parameter name="field2" value="`$getPLMN-CL-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 atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + </return> <block atomic='true'> - <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.getplmn.url"/> - <parameter name="target" value="{sliceProfileId}"/> - <parameter name="replacement" value="`$tmp.sliceProfileId`"/> - </execute> + <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/intelligentSlicing.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for configDB Get PLMN for slice profile ID"/> - <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getplmn.url`" /> - <parameter name='field3' value="`$tmp.sliceProfileId`" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getplmn.url`"/> - <parameter name="httpMethod" value="GET"/> - <parameter name="responsePrefix" value="getplmn-configdb-response"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> <parameter name='contentType' value='application/json' /> <parameter name='format' value='json' /> <parameter name='accept' value='application/json' /> - <parameter name="convertResponse" value="false"/> <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> - <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Failed to Obtain PLMN from configDB"/> - </record> <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'/> + <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/intelligentSlicing.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="Successfully Obtained PLMN from configDB"/> - <parameter name="field2" value="`$getplmn-configdb-response.httpResponse`"/> + <parameter name="field1" value="SO Response Sent "/> </record> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-intelligentslicing-configrsp-context.log' /> - </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'> - <parameter name="string" value="`$getplmn-configdb-response.httpResponse`" /> - <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="`$getplmn-configdb-response.httpResponse`" /> - <parameter name="result" value="tmp.mnc"/> - <parameter name="begin-index" value="4" /> - </execute> + </block> + </outcome> + </execute> + </block> + </block> + </outcome> + </execute> + <set> + <parameter name='tmp.pLMNId' value='`$getPLMN-CL-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/closedLoop.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"> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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/closedLoop.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Closed loop API params"/> + <parameter name="field2" value="`$tmp.nearRTRICId`"/> + <parameter name="field3" value="`$tmp.mcc`"/> + <parameter name="field4" value="`$tmp.mnc`"/> + <parameter name="field5" value="`$tmp.payload.sNSSAI`"/> + <parameter name="field6" value="`$tmp.uLThptPerSlice`"/> + <parameter name="field7" value="`$tmp.dLThptPerSlice`"/> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.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-nearRTRIC-config-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/closedLoop.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully patched NearRTRIC configuration"/> + </record> + </block> + </outcome> + <outcome value='failure'> + <block> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> - <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="mcc: "/> - <parameter name="field2" value="`$tmp.mcc`"/> - <parameter name="field3" value="mnc: "/> - <parameter name="field4" value="`$tmp.mnc`"/> + <parameter name="field1" value="SO Response Sent "/> </record> </block> </outcome> </execute> </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> + </block> + </for> + </block> + </block> + </outcome> + <outcome value='false'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' > + <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' /> + <parameter name='target' value='maxNumberofConns' /> + <outcome value='true'> + <block atomic="true"> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="PAYLOAD contains maxNumberofConns...Inntelligent Slicing "/> + </record> + <set> + <parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/> + <parameter name="tmp.payload.sNSSAI" value="`$payloadJson.input.additionalproperties.resourceConfig.snssai`"/> + <parameter name="tmp.sliceProfileId" value="`$payloadJson.input.sliceProfile.sliceProfileId`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Data length "/> + <parameter name="field2" value="`$tmp.payload.dataPoints`"/> + </record> + <block atomic="true"> + <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.sliceProfileId`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.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-CL-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/intelligentSlicing.log" /> + <parameter name="file" value="/opt/opendaylight/current/data/log/closedLoop.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="mcc: "/> - <parameter name="field2" value="`$tmp.mcc`"/> - <parameter name="field3" value="mnc: "/> - <parameter name="field4" value="`$tmp.mnc`"/> + <parameter name="field1" value="Successfully Obtained PLMNId info from ConfigDB"/> + <parameter name="field2" value="`$getPLMN-CL-configdb-response`"/> </record> <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' > - <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-intelligent-nearRTRIC-context2.log' /> + <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' /> </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{mcc}"/> - <parameter name="replacement" value="`$tmp.mcc`"/> + </block> + </outcome> + <outcome value='failure'> + <block atomic='true'> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/> + </return> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> + </block> + </outcome> + </execute> + <set> + <parameter name='tmp.pLMNId' value='`$getPLMN-CL-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/closedLoop.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="`$tmp.pLMNId`"/> + <parameter name="field2" value="`$tmp.mcc`"/> + <parameter name="field3" value="`$tmp.mnc`"/> + </record> + </block> + <for index='id-is' start='0' end="`$tmp.payload.dataPoints`" > + <block atomic="true"> + <set> + <parameter name="tmp.nearRTRICId" value="`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`"/> + </set> + <switch test='`$prop.ransim-mounted`'> + <outcome value='false'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + <outcome value='true'> + <block atomic='true'> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{idNearRTRIC}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{mountName}"/> + <parameter name="replacement" value="`$tmp.nearRTRICId`"/> + </execute> + </block> + </outcome> + </switch> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.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.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> + <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNearRTRIC.url"/> + <parameter name="target" value="{mnc}"/> + <parameter name="replacement" value="`$tmp.mnc`"/> + </execute> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.CUCellListEntries' /> + <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`" /> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="CUCEll List length "/> + <parameter name="field2" value="`$tmp.CUCellListEntries`"/> + </record> + <for index='id2' start='0' end="`$tmp.CUCellListEntries`" > + <block atomic="true"> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.cellLocalId' /> + <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`" /> </execute> - <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > - <parameter name="source" value="`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="outputPath" value="tmp.restapi.addnSSAIEntry.ToNRCellCU.url"/> - <parameter name="target" value="{mnc}"/> - <parameter name="replacement" value="`$tmp.mnc`"/> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'> + <parameter name='outputPath' value='tmp.predictedMaxNumberofConns' /> + <parameter name='source' value="`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`" /> </execute> <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> <parameter name="file" value="/opt/opendaylight/current/data/log/intelligentSlicing.log" /> <parameter name="level" value="info" /> - <parameter name="field1" value="URL for update NRCELLCU "/> - <parameter name="field2" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> - <parameter name="field3" value="sNSSAI: "/> - <parameter name="field4" value="`$payloadJson.input.sliceProfile.sNSSAI`"/> - <parameter name="field5" value="maxNumberOfConns: "/> - <parameter name="field6" value="`$tmp.maxNumberOfConns`"/> - <parameter name="field7" value="predictedMaxNumberofConns: "/> - <parameter name="field8" value="`$tmp.predictedMaxNumberofConns`"/> + <parameter name="field1" value="cellLocalId"/> + <parameter name="field2" value="`$tmp.cellLocalId`"/> </record> <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > - <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-intelligent-update-NRCellCU-configData.json'`" /> - <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`"/> + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`" /> + <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`"/> <parameter name="restapiUser" value="`$prop.controller.user`" /> <parameter name="restapiPassword" value="`$prop.controller.pwd`"/> - <parameter name="httpMethod" value="PUT"/> - <parameter name="responsePrefix" value="nrcellcu-response"/> - <parameter name='contentType' value='application/json' /> + <parameter name="httpMethod" value="PATCH"/> + <parameter name="responsePrefix" value="patch-nearRTRIC-config-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/closedLoop.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="Successfully patched NearRTRIC configuration"/> + </record> + </block> + </outcome> <outcome value='failure'> <block> + <block atomic='true'> + <set> + <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiateRANSlice-input.common-header.request-id`"/> + <parameter name="tmp.action" value="`$instantiateRANSlice-input.action`"/> + </set> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$tmp.so.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <outcome value='failure'> + <block> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.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 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 updating NRCellCU config for intelligent slicing" /> + <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/intelligentSlicing.log" /> - <parameter name="level" value="info" /> - <parameter name="field1" value="Update NRCellCU config for intelligent slicing Executed Successfully "/> - </record> - </block> - </outcome> </execute> </block> </for> @@ -389,6 +736,66 @@ </execute> </outcome> </execute> + <block atomic='true'> + <set> + <parameter name="tmp.status" value="`$error-code`"/> + <parameter name="tmp.reason" value="`$error-message`"/> + <parameter name="tmp.requestID" value="`$instantiate-r-a-n-slice-input.common-header.request-id `"/> + <parameter name="tmp.action" value="`$instantiate-r-a-n-slice-input.action`"/> + </set> + <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' > + <parameter name="source" value="`$prop.restapi.so.callbackURL`"/> + <parameter name="outputPath" value="tmp.so.callbackURL"/> + <parameter name="target" value="{requestId}"/> + <parameter name="replacement" value="`$tmp.requestID`"/> + </execute> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="URL for SO Callback Response"/> + <parameter name='field2' value="`$payloadJson.input.callbackURL`" /> + <parameter name='field3' value="`$tmp.status`" /> + <parameter name='field4' value="`$tmp.reason`" /> + <parameter name='field5' value="`$tmp.requestID`" /> + <parameter name='field6' value="`$tmp.action`" /> + <parameter name='field7' value="`$tmp.CUCPList`" /> + <parameter name='field8' value="`$tmp.CUUPList`" /> + <parameter name='field9' value="`$tmp.DUList`" /> + </record> + <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' > + <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" /> + <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/> + <parameter name="httpMethod" value="POST"/> + <parameter name="responsePrefix" value="so-callback-response"/> + <parameter name='contentType' value='application/json' /> + <parameter name='format' value='json' /> + <parameter name='accept' value='application/json' /> + <parameter name="restapiUser" value="`$prop.restapi.so.user`" /> + <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/> + <outcome value='failure'> + <block> + <set> + <parameter name='error-code' value='500'/> + <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/> + </set> + <return status='failure'> + <parameter name='ack-final' value='Y'/> + <parameter name="error-code" value="500" /> + <parameter name="error-message" value="Error sending SO Response" /> + </return> + </block> + </outcome> + <outcome value='success'> + <block> + <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder"> + <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" /> + <parameter name="level" value="info" /> + <parameter name="field1" value="SO Response Sent "/> + </record> + </block> + </outcome> + </execute> + </block> <return status='success'> <parameter name="ack-final" value="N" /> <parameter name="error-code" value="200" /> diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-config-patch.json b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-config-patch.json new file mode 100644 index 00000000..d03fff30 --- /dev/null +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-closed-loop-nearRTRIC-config-patch.json @@ -0,0 +1,33 @@ +{ + "ietf-yang-patch:yang-patch": { + "patch-id": "ClosedLoopPatch1", + "comment": "patch for configuring NearRTRIC SliceProfile ", + "edit": [{ + "edit-id": "edit1", + "operation": "merge", + "target": "/ran-network:sNSSAIList[ran-network:sNssai='${"tmp.payload.sNSSAI}']", + "value": { + "ran-network:sNSSAIList": [ + { + "ran-network:sNssai": ${tmp.payload.sNSSAI}, + "ran-network:status": "INACTIVE", + "ran-network:configData": [ + { + "ran-network:configParameter": "uLThptPerSlice", + "ran-network:configValue": ${tmp.uLThptPerSlice} + }, + { + "ran-network:configParameter": "dLThptPerSlice", + "ran-network:configValue": ${tmp.dLThptPerSlice} + }, + { + "ran-network:configParameter": ${tmp.cellLocalId}, + "ran-network:configValue": ${tmp.predictedMaxNumberofConns} + } + ] + } + ] +} + }] + } +}
\ No newline at end of file diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json index 0a455167..2ae982db 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRANSliceInventory.json @@ -1,31 +1,19 @@ { - "isShareable": "string", - "nSSAIList": [ - "string" - ], - "nsstId": "string", - "ranNFNSSIId": "string", - "ranNSSIList": [ - "string" - ], - "sliceProfilesList": [ - { - "coverageAreaList": [ - "string" - ], - "dLThptPerSlice": 0, - "latency": 0, - "maxNumberofConns": 0, - "maxNumberofUEs": 0, - "pLMNIdList": "string", - "resourceSharingLevel": "string", - "sNSSAI": "string", - "sliceProfileId": "string", - "uEMobilityLevel": "string", - "uLThptPerSlice": 0 - } - ], - "sliceType": "string", - "subnetStatus": "string", - "trackingAreaList": "string" + "ranNFNSSIId":${tmp.payload.RANNFNSSIId}, + "nSSAIList":[ + ${tmp.payload.sNSSAI} + ], + "sliceProfilesList":[ + { + "sliceProfileId": ${tmp.payload.sliceProfileId}, + "dLThptPerSlice": ${tmp.dLThptPerSlice}, + "uLThptPerSlice": ${tmp.uLThptPerSlice}, + "maxNumberofConns":${tmp.maxNumberOfConns}, + "sNSSAI":${tmp.payload.sNSSAI}, + "pLMNIdList":${tmp.payload.pLMNId} + } + ], + "trackingAreaList":${tmp.payload.trackingArea}, + "subnetStatus":"ACTIVE", + "isShareable":${tmp.payload.resourceSharingLevel} } diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUCP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUCP.json index f7f84399..810bf249 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUCP.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUCP.json @@ -9,7 +9,7 @@ } ], "rRMPolicyMinRatio": 0, - "resourceID": "", + "resourceID": ${tmp.resourceID}, "resourceType": "RRC Connected Users", "rrmPolicyID": ${prop.configDB.rrmPolicyID}, "sliceType": "eMBB" diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUUP.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUUP.json index d3e777b7..7d0169a7 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUUP.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-CUUP.json @@ -9,7 +9,7 @@ } ], "rRMPolicyMinRatio": 0, - "resourceID": "", + "resourceID": ${tmp.resourceID}, "resourceType": "DRB", "rrmPolicyID": ${prop.configDB.rrmPolicyID}, "sliceType": "eMBB" diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json index 7eedf444..efc6d2b6 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-configDB-updateRRMPolicy-DU.json @@ -9,7 +9,7 @@ } ], "rRMPolicyMinRatio": 0, - "resourceID": ${tmp.cellDULocalId}, + "resourceID": ${tmp.resourceID}, "resourceType": "PRB", "rrmPolicyID": ${prop.configDB.rrmPolicyID}, "sliceType": "eMBB" diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json index 7854e1c2..c3e9fbbd 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-patch-sNSSAI-status.json @@ -11,7 +11,7 @@ "ran-network:sNSSAIList": [ { "ran-network:sNssai": ${tmp.sNSSAI}, - "ran-network:status": "INACTIVE" + "ran-network:status": ${tmp.status} } ] } diff --git a/platform-logic/restapi-templates/src/main/json/ranSlice-so-response.json b/platform-logic/restapi-templates/src/main/json/ranSlice-so-response.json index a3456e59..b2f0814e 100644 --- a/platform-logic/restapi-templates/src/main/json/ranSlice-so-response.json +++ b/platform-logic/restapi-templates/src/main/json/ranSlice-so-response.json @@ -1,11 +1,13 @@ { - "status": ${tmp.status}, - "reason": ${tmp.reason}, - "requestId": ${tmp.requestID}, - "action": ${tmp.action}, - "nfIds": { - "CUCPs": ${tmp.CUCPList}, - "CUUPs": ${tmp.CUUPList}, - "DUs": ${tmp.DUList} - } -} + "status": ${tmp.status}, + "reason": { + ${tmp.reason} + }, + "requestId": ${tmp.requestID}, + "action": ${tmp.action}, + "nfIds": { + "CUCPs": ${tmp.CUCPList.response}, + "CUUPs": ${tmp.CUUPList.response}, + "DUs": ${tmp.DUList.response} + } +}
\ No newline at end of file |