[
{
- "id": "761c81c0.93298",
+ "id": "7e7f57f9.68d4a8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 118.4375,
- "y": 113.4375,
- "z": "73e537e.8932bc8",
+ "x": 173.75,
+ "y": 113.99999868869781,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "9f552ddd.503aa"
+ "e0a548b9.052988"
]
]
},
{
- "id": "9f552ddd.503aa",
+ "id": "e0a548b9.052988",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"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": 258.7500228881836,
+ "y": 180.9999681711197,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "f4b6fe3c.09964"
+ "a75312a.544d3f"
]
]
},
{
- "id": "f4b6fe3c.09964",
+ "id": "a75312a.544d3f",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 137.4375,
- "y": 240.43743515014648,
- "z": "73e537e.8932bc8",
+ "x": 192.75,
+ "y": 240.9999338388443,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "43cfd799.e43718"
+ "ca025241.dabb2"
]
]
},
{
- "id": "43cfd799.e43718",
+ "id": "ca025241.dabb2",
"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.2500114440918,
+ "y": 321.5000025033951,
+ "z": "c2a8a65f.f4fdf8",
"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"
+ "a8976ed2.1843f",
+ "ea5daf11.a6e81",
+ "a2693dc1.a5517",
+ "eea21e4d.c1324",
+ "321cec92.0945e4",
+ "15bab992.f28f76",
+ "414370ce.8928c",
+ "2f0812f8.b4db6e",
+ "ad2fd587.1bd148",
+ "810a8bcc.d27738",
+ "c1737e13.d4add",
+ "b7134c47.dc4b9",
+ "66c6e126.b5c0e",
+ "1bdc1194.f7cbee",
+ "ba7f558f.10b808",
+ "c6c21f7.66307e",
+ "d112a202.14d86",
+ "cebd9071.34ebd",
+ "1cb02382.300dbc",
+ "9643217e.8cc45",
+ "5841dea.bd55b2"
]
]
},
{
- "id": "f0cba510.d429c8",
+ "id": "a8976ed2.1843f",
"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.0000610351562,
+ "y": 516.694458603859,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "61526ba5.4b2eb4",
+ "id": "ea5daf11.a6e81",
"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.0000152587891,
+ "y": 553.2500258684158,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1045a904.a81917",
+ "id": "a2693dc1.a5517",
"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.0000915527344,
+ "y": 605.250056385994,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "12546ac7.74cd65",
- "dcd91128.9ebfa"
+ "78009660.f04068",
+ "afb10f5f.82d4a"
]
]
},
{
- "id": "12546ac7.74cd65",
+ "id": "78009660.f04068",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 970.5055961608887,
- "y": 622.5055813789368,
- "z": "73e537e.8932bc8",
+ "x": 1025.8180961608887,
+ "y": 623.0680800676346,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2520024f.3e60fe"
+ "6e5d0b68.fb3eb4"
]
]
},
{
- "id": "2520024f.3e60fe",
+ "id": "6e5d0b68.fb3eb4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1140.5054931640625,
- "y": 623.505696773529,
- "z": "73e537e.8932bc8",
+ "x": 1195.8179931640625,
+ "y": 624.0681954622269,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c854edfe.78e89",
- "80b014dc.086ba8"
+ "a5285567.465e58",
+ "a50018dd.454668"
]
]
},
{
- "id": "c854edfe.78e89",
+ "id": "a5285567.465e58",
"type": "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": 1418.8177909851074,
+ "y": 569.0681792497635,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "80b014dc.086ba8",
+ "id": "a50018dd.454668",
"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": 1414.595932006836,
+ "y": 640.068186879158,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "dcd91128.9ebfa",
+ "id": "afb10f5f.82d4a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 976.5055503845215,
- "y": 562.5056653022766,
- "z": "73e537e.8932bc8",
+ "x": 1031.8180503845215,
+ "y": 563.0681639909744,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "62e0747d.afde9c"
+ "5c56eeae.73a1c"
]
]
},
{
- "id": "62e0747d.afde9c",
+ "id": "5c56eeae.73a1c",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1256.5056266784668,
- "y": 468.5057191848755,
- "z": "73e537e.8932bc8",
+ "x": 1311.8181266784668,
+ "y": 469.0682178735733,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "11953360.467cdd",
- "cf52b92f.10a1a8"
+ "94237ecf.f5aa3",
+ "538f7285.97feac"
]
]
},
{
- "id": "11953360.467cdd",
+ "id": "94237ecf.f5aa3",
"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": 1489.81791305542,
+ "y": 423.1792446374893,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "db76a950.2c38e8",
+ "id": "eea21e4d.c1324",
"type": "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": 701.75,
+ "y": 129.99998533725739,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "952aa6bf.fd8938",
+ "id": "321cec92.0945e4",
"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": 740.749755859375,
+ "y": 172.9999977350235,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "d3040b3a.dd43a8",
+ "id": "15bab992.f28f76",
"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": 745.7497711181641,
+ "y": 217.74998342990875,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "34ba53e7.4fbc7c"
+ "61d81fc8.9d5af"
]
]
},
{
- "id": "66891c41.e89ca4",
+ "id": "414370ce.8928c",
"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.3886184692383,
+ "y": 306.73953688144684,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a052b62c.1fa458",
+ "id": "2f0812f8.b4db6e",
"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.2775650024414,
+ "y": 347.74996054172516,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "67aabd43.7b3e14",
+ "id": "ad2fd587.1bd148",
"type": "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.3332805633545,
+ "y": 393.1944776773453,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "34ba53e7.4fbc7c",
+ "id": "61d81fc8.9d5af",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 956.9372825622559,
- "y": 219.18747425079346,
- "z": "73e537e.8932bc8",
+ "x": 1012.2497825622559,
+ "y": 219.74997293949127,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "5b6cca11.9cad94"
+ "fd6d7e63.3837"
]
]
},
{
- "id": "5b6cca11.9cad94",
+ "id": "fd6d7e63.3837",
"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.2499389648438,
+ "y": 222.499969124794,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "98c043ee.951b8",
- "423b0303.ed9b0c"
+ "5d3f3b83.b6e944",
+ "3a1c4335.62918c"
]
]
},
{
- "id": "98c043ee.951b8",
+ "id": "5d3f3b83.b6e944",
"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.250015258789,
+ "y": 184.0000034570694,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "423b0303.ed9b0c",
+ "id": "3a1c4335.62918c",
"type": "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.49995803833,
+ "y": 248.00001966953278,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "198c87cb.f1d948",
+ "id": "810a8bcc.d27738",
"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": 479.6875915527344,
+ "y": 1045.8750158548355,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bb11e40f.ebaa68",
- "623b8887.a167d8",
- "52b3e00e.e5abf"
+ "d1d406d5.b352f8",
+ "d3bfcb5d.5e0c68",
+ "739e0e6a.a06dc",
+ "3d251ba4.ddf994"
]
]
},
{
- "id": "bb11e40f.ebaa68",
+ "id": "d1d406d5.b352f8",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 689.6250305175781,
- "y": 1038.7444477081299,
- "z": "73e537e.8932bc8",
+ "x": 744.9375305175781,
+ "y": 1039.3069463968277,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4e224bda.30d0a4",
- "d8c32c5c.092ed",
- "8b1c383c.6f0db8"
+ "73836647.480298",
+ "ddcee4ff.55dbc8",
+ "1801b56d.80bfcb"
]
]
},
{
- "id": "4e224bda.30d0a4",
+ "id": "73836647.480298",
"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.187515258789,
+ "y": 909.0568548440933,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d8c32c5c.092ed",
+ "id": "ddcee4ff.55dbc8",
"type": "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": 1050.6874961853027,
+ "y": 956.556932091713,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "8b1c383c.6f0db8",
+ "id": "1801b56d.80bfcb",
"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.4376220703125,
+ "y": 1006.5569328069687,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "52cdfc02.d2b554"
+ "a3b66ccd.4f09"
]
]
},
{
- "id": "52cdfc02.d2b554",
+ "id": "a3b66ccd.4f09",
"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.437515258789,
+ "y": 969.8068262338638,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "646b737c.114bfc",
- "a4f6f876.fca2c8",
- "705aec8e.889684",
- "effc97f7.aa0768"
+ "8b472262.56054",
+ "201e764e.7a470a",
+ "5e82baed.893d74",
+ "5851fd1b.cfccc4"
]
]
},
{
- "id": "646b737c.114bfc",
+ "id": "8b472262.56054",
"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.1876068115234,
+ "y": 699.8902269601822,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "705aec8e.889684",
+ "id": "5e82baed.893d74",
"type": "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": 1504.937614440918,
+ "y": 755.0568376779556,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "effc97f7.aa0768",
+ "id": "5851fd1b.cfccc4",
"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.1875228881836,
+ "y": 802.8068529367447,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a4f6f876.fca2c8",
+ "id": "201e764e.7a470a",
"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.1874923706055,
+ "y": 855.5568681955338,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e61d08b.c8d36f8"
+ "5ea01a4e.80ba44"
]
]
},
{
- "id": "e61d08b.c8d36f8",
+ "id": "5ea01a4e.80ba44",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1676.8750343322754,
- "y": 855.2443866729736,
- "z": "73e537e.8932bc8",
+ "x": 1732.1875343322754,
+ "y": 855.8068853616714,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d3fb7cf3.0407",
- "90d4169b.0cd418"
+ "9e3b1dc1.6c61f",
+ "f07a1efc.c684b",
+ "ec5e5e59.9e151"
]
]
},
{
- "id": "d3fb7cf3.0407",
+ "id": "9e3b1dc1.6c61f",
"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.1464233398438,
+ "y": 794.459854722023,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "90d4169b.0cd418",
+ "id": "ec5e5e59.9e151",
"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": 1949.1741485595703,
+ "y": 873.6541213989258,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1306eaa1.403c05"
+ "ab10a71a.f0f088"
]
]
},
{
- "id": "1306eaa1.403c05",
+ "id": "ab10a71a.f0f088",
"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.063056945801,
+ "y": 815.4319158792496,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d2c18ab3.c24978",
- "eaa59340.e8939",
- "980da038.262e2"
+ "d927155a.039578",
+ "74ff916a.e9c5b"
]
]
},
{
- "id": "980da038.262e2",
+ "id": "1c0a37ea.375948",
"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'`\" />",
+ "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['+$id-cunssai+'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2435.6394119262695,
- "y": 770.0916481018066,
- "z": "73e537e.8932bc8",
+ "x": 2506.5074768066406,
+ "y": 828.431911110878,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "d2c18ab3.c24978",
+ "id": "ecaa22b7.75297",
"type": "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.2853813171387,
+ "y": 861.9874368906021,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "eaa59340.e8939",
+ "id": "e298fc24.8e892",
"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": 2400.8408584594727,
+ "y": 903.209664940834,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4f3107a.2937ef8"
+ "21911260.2606be"
]
]
},
{
- "id": "4f3107a.2937ef8",
+ "id": "21911260.2606be",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2535.000556945801,
- "y": 902.8694953918457,
- "z": "73e537e.8932bc8",
+ "x": 2590.313056945801,
+ "y": 903.4319940805435,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1d241be7.c8bbc4"
+ "91f70aa6.6b1398"
]
]
},
{
- "id": "1d241be7.c8bbc4",
+ "id": "91f70aa6.6b1398",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2755.625,
- "y": 900.625,
- "z": "73e537e.8932bc8",
+ "x": 2810.9375,
+ "y": 901.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a302bf1.efd614",
- "3fd39755.b5cbf8",
- "3a12865a.0d117a",
- "299e60f.af51ea",
- "ba736919.8a3b38",
- "bccb9a19.543658",
- "29628860.8b8dc8",
- "a04a1ff1.c04b6",
- "45de62b8.cced2c"
+ "3ac96f1.5a7c49",
+ "ed6c8d84.a453d",
+ "e0580039.6073f",
+ "95118930.b4f2c8",
+ "2d01d668.17cdfa",
+ "3eb0ec20.fcc6e4",
+ "11949605.39b68a",
+ "4d5700a7.9e4b9",
+ "8fd5d47f.d75348"
]
]
},
{
- "id": "45de62b8.cced2c",
+ "id": "8fd5d47f.d75348",
"type": "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": 3005.9375,
+ "y": 896.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a04a1ff1.c04b6",
+ "id": "4d5700a7.9e4b9",
"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": 3033.9375,
+ "y": 964.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "27bc8985.294fc6",
- "3ce10ed5.092432"
+ "936a32a4.3da42",
+ "1d0f282f.5a75d8"
]
]
},
{
- "id": "27bc8985.294fc6",
+ "id": "936a32a4.3da42",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3186.625,
- "y": 928.624755859375,
- "z": "73e537e.8932bc8",
+ "x": 3241.9375,
+ "y": 929.1872545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "5c98a9b7.805fb8"
+ "b12f82de.74904"
]
]
},
{
- "id": "5c98a9b7.805fb8",
+ "id": "b12f82de.74904",
"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": 3561.9375,
+ "y": 944.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "c0149f76.a0f0e",
+ "id": "bf71d53a.a976b8",
"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.437530517578,
+ "y": 1002.1874376535416,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "986e780a.2b92f8",
+ "id": "6cb878c6.5f97c8",
"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.437931060791,
+ "y": 1055.1876312494278,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ceac5f2d.de7c3",
+ "id": "668c976b.241a38",
"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.4375,
+ "y": 1032.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c0149f76.a0f0e",
- "986e780a.2b92f8"
+ "bf71d53a.a976b8",
+ "6cb878c6.5f97c8"
]
]
},
{
- "id": "3ce10ed5.092432",
+ "id": "1d0f282f.5a75d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3174.625,
- "y": 1030.625,
- "z": "73e537e.8932bc8",
+ "x": 3229.9375,
+ "y": 1031.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ceac5f2d.de7c3"
+ "668c976b.241a38"
]
]
},
{
- "id": "a302bf1.efd614",
+ "id": "3ac96f1.5a7c49",
"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": 3000.9375,
+ "y": 1064.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ba736919.8a3b38",
+ "id": "2d01d668.17cdfa",
"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": 3027.9375,
+ "y": 1128.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "bccb9a19.543658",
+ "id": "3eb0ec20.fcc6e4",
"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": 2988.937759399414,
+ "y": 1173.6875272989273,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "29628860.8b8dc8",
+ "id": "11949605.39b68a",
"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": 2954.6875610351562,
+ "y": 1255.4375549554825,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3fd39755.b5cbf8",
+ "id": "ed6c8d84.a453d",
"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.43798828125,
+ "y": 1315.6875711679459,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3a12865a.0d117a",
+ "id": "e0580039.6073f",
"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": 2939.9375,
+ "y": 1384.1874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "299e60f.af51ea",
+ "id": "95118930.b4f2c8",
"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": 2979.9376068115234,
+ "y": 1447.187471985817,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2cf676c2.3fd4ea",
- "f8fba380.e8c38"
+ "bc546df6.f43d2",
+ "d876075a.a6f398"
]
]
},
{
- "id": "f8fba380.e8c38",
+ "id": "d876075a.a6f398",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3140.62508392334,
- "y": 1325.6249732971191,
- "z": "73e537e.8932bc8",
+ "x": 3195.93758392334,
+ "y": 1326.187471985817,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "930a46d3.3df258"
+ "ce3d2506.e6dea8"
]
]
},
{
- "id": "930a46d3.3df258",
+ "id": "ce3d2506.e6dea8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3290.625358581543,
- "y": 1284.625156402588,
- "z": "73e537e.8932bc8",
+ "x": 3345.937858581543,
+ "y": 1285.1876550912857,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "debf2a5f.a15d48",
- "62751a13.a72014",
- "cf52b92f.10a1a8"
+ "dbcb0862.e03178",
+ "24aba666.9c72aa",
+ "538f7285.97feac"
]
]
},
{
- "id": "62751a13.a72014",
+ "id": "24aba666.9c72aa",
"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": 3511.937614440918,
+ "y": 1251.1876550912857,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "debf2a5f.a15d48",
+ "id": "dbcb0862.e03178",
"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": 3516.9374923706055,
+ "y": 1346.187716126442,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "54cfb6bf.e47b78",
+ "id": "33e06199.cd7fce",
"type": "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": 3601.9374618530273,
+ "y": 1439.1878992319107,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "188f83ea.3d48fc",
+ "id": "74ec673a.1a0948",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3348.624900817871,
- "y": 1441.6252784729004,
- "z": "73e537e.8932bc8",
+ "x": 3403.937400817871,
+ "y": 1442.1877771615982,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "54cfb6bf.e47b78"
+ "33e06199.cd7fce"
]
]
},
{
- "id": "2cf676c2.3fd4ea",
+ "id": "bc546df6.f43d2",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3175.625114440918,
- "y": 1442.6252174377441,
- "z": "73e537e.8932bc8",
+ "x": 3230.937614440918,
+ "y": 1443.187716126442,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "188f83ea.3d48fc"
+ "74ec673a.1a0948"
]
]
},
{
- "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": "c1737e13.d4add",
"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.4375152587891,
+ "y": 264.0000044107437,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "623b8887.a167d8",
+ "id": "d3bfcb5d.5e0c68",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 690.6250534057617,
- "y": 1180.6250257492065,
- "z": "73e537e.8932bc8",
+ "x": 745.9375534057617,
+ "y": 1181.1875244379044,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "5edb379d.514778",
- "4d3d871.621e378",
- "b3a7abd3.ab2ac8"
+ "71fd34c6.f1147c",
+ "12958f62.9badf1",
+ "f593572e.022718"
]
]
},
{
- "id": "5edb379d.514778",
+ "id": "71fd34c6.f1147c",
"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": 1076.937557220459,
+ "y": 1081.1875215768814,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "4d3d871.621e378",
+ "id": "12958f62.9badf1",
"type": "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": 1033.9376220703125,
+ "y": 1132.4375239610672,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b3a7abd3.ab2ac8",
+ "id": "f593572e.022718",
"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.437515258789,
+ "y": 1181.18752348423,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "b36e4008.81623"
+ "5f700171.8de5"
]
]
},
{
- "id": "b36e4008.81623",
+ "id": "5f700171.8de5",
"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": 1282.9375610351562,
+ "y": 1164.4375692605972,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "22f58645.55e61a",
- "62e419e7.9c4ab8",
- "7516a8f.7a59058",
- "5c4c4274.95bb3c"
+ "948fba7d.44e2c8",
+ "3ad78fe3.15cad",
+ "b64d5430.741fb8",
+ "9e647c26.5f5ea"
]
]
},
{
- "id": "22f58645.55e61a",
+ "id": "948fba7d.44e2c8",
"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": 1526.9375,
+ "y": 939.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "62e419e7.9c4ab8",
+ "id": "3ad78fe3.15cad",
"type": "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": 1522.9375,
+ "y": 993.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "7516a8f.7a59058",
+ "id": "b64d5430.741fb8",
"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": 1573.9375,
+ "y": 1058.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "5c4c4274.95bb3c",
+ "id": "9e647c26.5f5ea",
"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": 1559.9375,
+ "y": 1113.6874986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2c5e82ef.5ab08e"
+ "51ac29dc.473308"
]
]
},
{
- "id": "2c5e82ef.5ab08e",
+ "id": "aeb42d0d.8b6e2",
"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.0625,
+ "y": 1110.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d7e78b50.130018",
- "ae1fc405.ff2a58",
- "ce7f221.e3090e"
+ "623726a6.6ca868",
+ "75fa7150.1d74a",
+ "8ffa5671.6a9758",
+ "d243ac82.e496d",
+ "529b3f7c.a9647",
+ "c8d88690.37d198"
]
]
},
{
- "id": "d7e78b50.130018",
+ "id": "623726a6.6ca868",
"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.312759399414,
+ "y": 1111.6251474618912,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "43dda371.85d0cc",
- "b28fc0c6.768a6"
+ "1574cbb4.d9d7b4",
+ "c27d343d.c9b748"
]
]
},
{
- "id": "43dda371.85d0cc",
+ "id": "1574cbb4.d9d7b4",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2170.000141143799,
- "y": 1078.5622673034668,
- "z": "73e537e.8932bc8",
+ "x": 2225.312641143799,
+ "y": 1079.1247659921646,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "92eabe0e.0ecdb"
+ "199eaee.b2dec51"
]
]
},
{
- "id": "92eabe0e.0ecdb",
+ "id": "199eaee.b2dec51",
"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.3125228881836,
+ "y": 1034.1250702142715,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1e03d99f.4b54d6",
+ "id": "35f8c642.f5e20a",
"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.0620651245117,
+ "y": 1116.8747812509537,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "cfddd286.9a08f",
+ "id": "ccf5dbf1.5ce4e8",
"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.0625858306885,
+ "y": 1184.875041604042,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1e46f7a0.12e1b8",
+ "id": "104e9bd3.77a704",
"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.312370300293,
+ "y": 1175.6247817277908,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1e03d99f.4b54d6",
- "cfddd286.9a08f"
+ "35f8c642.f5e20a",
+ "ccf5dbf1.5ce4e8"
]
]
},
{
- "id": "b28fc0c6.768a6",
+ "id": "c27d343d.c9b748",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2155.500015258789,
- "y": 1164.31254196167,
- "z": "73e537e.8932bc8",
+ "x": 2210.812515258789,
+ "y": 1164.8750406503677,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1e46f7a0.12e1b8"
+ "104e9bd3.77a704"
]
]
},
{
- "id": "ae1fc405.ff2a58",
+ "id": "75fa7150.1d74a",
"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": 2080.972137451172,
+ "y": 1224.6597052812576,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ce7f221.e3090e",
+ "id": "8ffa5671.6a9758",
"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.3056335449219,
+ "y": 1338.3263765573502,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "aee81218.72027",
- "7d297bbe.d06bd4"
+ "aee628aa.1dff38",
+ "36758e2f.9d4b12"
]
]
},
{
- "id": "aee81218.72027",
+ "id": "aee628aa.1dff38",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2301.4376525878906,
- "y": 1300.8752393722534,
- "z": "73e537e.8932bc8",
+ "x": 2356.7501525878906,
+ "y": 1301.4377380609512,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8453c6af.a13a18"
+ "6af793d.727876c"
]
]
},
{
- "id": "7d297bbe.d06bd4",
+ "id": "36758e2f.9d4b12",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2295.437530517578,
- "y": 1367.8751783370972,
- "z": "73e537e.8932bc8",
+ "x": 2350.750030517578,
+ "y": 1368.437677025795,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "d8b21643.b8fd78"
+ "4446c6a.38c1b38"
]
]
},
{
- "id": "8453c6af.a13a18",
+ "id": "6af793d.727876c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2478.437774658203,
- "y": 1289.875117301941,
- "z": "73e537e.8932bc8",
+ "x": 2533.750274658203,
+ "y": 1290.4376159906387,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1de38af1.68ef85",
- "484c6fd2.3298c",
- "cf52b92f.10a1a8"
+ "2859116f.738e1e",
+ "6ecd39bc.1a9398",
+ "538f7285.97feac"
]
]
},
{
- "id": "d8b21643.b8fd78",
+ "id": "4446c6a.38c1b38",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2475.437530517578,
- "y": 1372.8749952316284,
- "z": "73e537e.8932bc8",
+ "x": 2530.750030517578,
+ "y": 1373.4374939203262,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bd12c7c4.296008"
+ "9b50c133.dc596"
]
]
},
{
- "id": "bd12c7c4.296008",
+ "id": "9b50c133.dc596",
"type": "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": 2683.749725341797,
+ "y": 1373.4377380609512,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1de38af1.68ef85",
+ "id": "2859116f.738e1e",
"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.5002365112305,
+ "y": 1290.9378954172134,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "484c6fd2.3298c",
+ "id": "6ecd39bc.1a9398",
"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.5004234313965,
+ "y": 1236.9380313158035,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "52b3e00e.e5abf",
+ "id": "739e0e6a.a06dc",
"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.3125076293945,
+ "y": 1329.62502348423,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7e06ceca.74922",
- "1051a27a.b8e44e",
- "352a5eb7.c4dff2"
+ "1649d417.1f910c",
+ "6b5b1e1d.ae91f",
+ "3e526a87.42e9c6"
]
]
},
{
- "id": "7e06ceca.74922",
+ "id": "1649d417.1f910c",
"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.0625305175781,
+ "y": 1235.6250101327896,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1051a27a.b8e44e",
+ "id": "6b5b1e1d.ae91f",
"type": "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.062557220459,
+ "y": 1279.1250711679459,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "352a5eb7.c4dff2",
+ "id": "3e526a87.42e9c6",
"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.0625305175781,
+ "y": 1330.3749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e932e598.a8e4d8"
+ "a9f77ffa.524c5"
]
]
},
{
- "id": "e932e598.a8e4d8",
+ "id": "a9f77ffa.524c5",
"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.0625,
+ "y": 1331.3749681711197,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "67418177.4b675",
- "76ffbff1.a238b",
- "4501d8aa.3adbf8",
- "48d81af7.03f064"
+ "25be6f65.10a55",
+ "26b26756.cfb158",
+ "675f2ac9.3ee7b4",
+ "5bce0634.eb0878"
]
]
},
{
- "id": "67418177.4b675",
+ "id": "25be6f65.10a55",
"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.0623245239258,
+ "y": 1327.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "76ffbff1.a238b",
+ "id": "26b26756.cfb158",
"type": "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.0623245239258,
+ "y": 1378.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "4501d8aa.3adbf8",
+ "id": "675f2ac9.3ee7b4",
"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.0623245239258,
+ "y": 1427.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "48d81af7.03f064",
+ "id": "5bce0634.eb0878",
"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.0623245239258,
+ "y": 1471.37427008152,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "98b4252b.430ee8"
+ "794d6324.ce72cc"
]
]
},
{
- "id": "98b4252b.430ee8",
+ "id": "794d6324.ce72cc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1726.499885559082,
- "y": 1470.5618963241577,
- "z": "73e537e.8932bc8",
+ "x": 1781.812385559082,
+ "y": 1471.1243950128555,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "13016587.c7632a",
- "c22a6693.7c9d58"
+ "7333dc3f.3584f4",
+ "c357f392.8f3b6",
+ "af15dd5.a6c422"
]
]
},
{
- "id": "13016587.c7632a",
+ "id": "7333dc3f.3584f4",
"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,
+ "y": 1470.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "c22a6693.7c9d58",
+ "id": "c357f392.8f3b6",
"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.3333740234375,
+ "y": 1540.8749986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "ae921aff.c45078"
+ "7f76b79e.a609a8"
]
]
},
{
- "id": "ae921aff.c45078",
+ "id": "7f76b79e.a609a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2138.4096603393555,
- "y": 1534.3402099609375,
- "z": "73e537e.8932bc8",
+ "x": 2193.7221603393555,
+ "y": 1534.9027086496353,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7383ae7b.5b99f",
- "7503b7ce.7796d8",
- "e0761d19.bc37e"
+ "2a0b3e44.22f042",
+ "d2b6fc8.a0801"
]
]
},
{
- "id": "e0761d19.bc37e",
+ "id": "6d2985a2.a415bc",
"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'`\" />",
+ "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['+$id-dunssai+'].sNSSAI'`\" />",
"comments": "",
"outputs": 1,
- "x": 2513.2986068725586,
- "y": 1453.3128719329834,
- "z": "73e537e.8932bc8",
+ "x": 2546.277862548828,
+ "y": 1508.9866495132446,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "7383ae7b.5b99f",
+ "id": "18e75616.57f2da",
"type": "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": 2419.6110763549805,
+ "y": 1551.8753185272217,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "7503b7ce.7796d8",
+ "id": "244e64a3.dccd7c",
"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": 2417.7499923706055,
+ "y": 1592.430830001831,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8ded1517.4c32d8"
+ "9b9ba6b.1773458"
]
]
},
{
- "id": "8ded1517.4c32d8",
+ "id": "9b9ba6b.1773458",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2543.909828186035,
- "y": 1553.5905861854553,
- "z": "73e537e.8932bc8",
+ "x": 2591.2224349975586,
+ "y": 1598.153151512146,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "50499d51.fe3e14"
+ "3c34a824.4a8b78"
]
]
},
{
- "id": "50499d51.fe3e14",
+ "id": "3c34a824.4a8b78",
"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.250129699707,
+ "y": 1550.1252218484879,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "4efbb0f2.f7229",
- "67913975.042ea8",
- "b11b382e.43f478",
- "9472e52c.249c78",
- "7eb7f6b8.3dba48",
- "9a055ee1.e66aa",
- "b402baa1.acbe58",
- "b43da734.c06b08",
- "3b663477.76ed6c"
+ "1111612d.45f1df",
+ "ef6a8da8.e0c27",
+ "ec70dc8a.269",
+ "66d8b8cc.1ef7f8",
+ "11ff5d37.9cf913",
+ "f49fbb07.7c2b18",
+ "3694d5a8.b1ed5a"
]
]
},
{
- "id": "67913975.042ea8",
+ "id": "bb0e0b1d.4af928",
"type": "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": 2985.7504959106445,
+ "y": 1518.8752219676971,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "4efbb0f2.f7229",
+ "id": "1111612d.45f1df",
"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.0000076293945,
+ "y": 1576.8752542734146,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "c638f3de.dea5",
- "78e627e0.d15b08"
+ "6ae15f82.91e01",
+ "4b299a62.6808b4"
]
]
},
{
- "id": "c638f3de.dea5",
+ "id": "6ae15f82.91e01",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3143.937999725342,
- "y": 1531.3122968673706,
- "z": "73e537e.8932bc8",
+ "x": 3199.250499725342,
+ "y": 1531.8747955560684,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "a42b1236.4707e"
+ "1bac1a75.adf2a6"
]
]
},
{
- "id": "78e627e0.d15b08",
+ "id": "4b299a62.6808b4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3138.937999725342,
- "y": 1592.8129997253418,
- "z": "73e537e.8932bc8",
+ "x": 3194.250499725342,
+ "y": 1593.3754984140396,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "8131e6bc.784858"
+ "d1986902.69ea38"
]
]
},
{
- "id": "a42b1236.4707e",
+ "id": "1bac1a75.adf2a6",
"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.500259399414,
+ "y": 1530.625252366066,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "8131e6bc.784858",
+ "id": "d1986902.69ea38",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3316.4375762939453,
- "y": 1599.3126335144043,
- "z": "73e537e.8932bc8",
+ "x": 3371.7500762939453,
+ "y": 1599.875132203102,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "1754b665.854bca",
- "b0b55a4d.efcde8"
+ "7d11036e.cd195c",
+ "461385d5.ef603c"
]
]
},
{
- "id": "1754b665.854bca",
+ "id": "7d11036e.cd195c",
"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": 3653.750442504883,
+ "y": 1588.625132203102,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b0b55a4d.efcde8",
+ "id": "461385d5.ef603c",
"type": "execute",
"name": "populate mountName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
"comments": "",
"outputs": 1,
- "x": 3548.688247680664,
- "y": 1648.5626649856567,
- "z": "73e537e.8932bc8",
- "wires": [
- []
- ]
- },
- {
- "id": "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",
+ "x": 3604.000747680664,
+ "y": 1649.1251636743546,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "9472e52c.249c78",
+ "id": "ef6a8da8.e0c27",
"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": 3036.8750610351562,
+ "y": 1703.6874366998672,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "7eb7f6b8.3dba48",
+ "id": "ec70dc8a.269",
"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": 3009.875244140625,
+ "y": 1758.6874386072159,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "9a055ee1.e66aa",
+ "id": "66d8b8cc.1ef7f8",
"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": 2989.8749389648438,
+ "y": 1821.6877447366714,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b402baa1.acbe58",
+ "id": "11ff5d37.9cf913",
"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": 2991.8751831054688,
+ "y": 1879.6873775720596,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b43da734.c06b08",
+ "id": "f49fbb07.7c2b18",
"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": 2996.8748168945312,
+ "y": 1947.6878687143326,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "3b663477.76ed6c",
+ "id": "3694d5a8.b1ed5a",
"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": 3053.8748474121094,
+ "y": 2022.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e9376312.2afc9",
- "3fa0b327.7d77bc"
+ "42db944d.8c0fbc",
+ "6035db45.1d73f4"
]
]
},
{
- "id": "3fa0b327.7d77bc",
+ "id": "6035db45.1d73f4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3265.5623474121094,
- "y": 1922.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3320.8748474121094,
+ "y": 1922.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "7812bc5b.b7e9e4"
+ "adfca1f7.0d0c1"
]
]
},
{
- "id": "7812bc5b.b7e9e4",
+ "id": "adfca1f7.0d0c1",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3423.5625915527344,
- "y": 1870.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3478.8750915527344,
+ "y": 1870.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "dc07a63a.07b3e8",
- "b8e4a7fe.f431d8",
- "cf52b92f.10a1a8"
+ "e7089cb1.1a41d",
+ "1274c7c0.6942b8",
+ "538f7285.97feac"
]
]
},
{
- "id": "b8e4a7fe.f431d8",
+ "id": "1274c7c0.6942b8",
"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": 3644.8748474121094,
+ "y": 1836.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "dc07a63a.07b3e8",
+ "id": "e7089cb1.1a41d",
"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": 3649.874725341797,
+ "y": 1931.937315583229,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "bbe2b1be.4721c",
+ "id": "b2bdee8f.d0e01",
"type": "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": 3633.874725341797,
+ "y": 2017.9374986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "dbdffb78.99de48",
+ "id": "d6013d07.92ca5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3432.5623474121094,
- "y": 2018.3747584819794,
- "z": "73e537e.8932bc8",
+ "x": 3487.8748474121094,
+ "y": 2018.9372571706772,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bbe2b1be.4721c"
+ "b2bdee8f.d0e01"
]
]
},
{
- "id": "e9376312.2afc9",
+ "id": "42db944d.8c0fbc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3264.5623474121094,
- "y": 2021.374755859375,
- "z": "73e537e.8932bc8",
+ "x": 3319.8748474121094,
+ "y": 2021.9372545480728,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "dbdffb78.99de48"
+ "d6013d07.92ca5"
]
]
},
{
- "id": "738ca283.54ba9c",
+ "id": "b7134c47.dc4b9",
"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.5625305175781,
+ "y": 662.4375101327896,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "c80b56a5.99a988",
+ "id": "66c6e126.b5c0e",
"type": "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.0625305175781,
+ "y": 717.937541604042,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "1c09cf50.00c361",
+ "id": "1bdc1194.f7cbee",
"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": 743.8125152587891,
+ "y": 771.4374777078629,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "20d20dea.8129f2",
+ "id": "ba7f558f.10b808",
"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": 696.8125076293945,
+ "y": 810.5487190485001,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "a16a753b.c1e978",
+ "id": "eac38896.d67558",
"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": 1256.284782409668,
+ "y": 789.5765886306763,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "ef19e8dd.548808",
+ "id": "1d969c9b.373d23",
"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": 1266.951530456543,
+ "y": 827.3542985916138,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "b72487f2.f75598",
+ "id": "c6c21f7.66307e",
"type": "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.1671524047852,
+ "y": 921.1254831552505,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "cf52b92f.10a1a8",
+ "id": "538f7285.97feac",
"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": 4122.8125,
+ "y": 1669.4910875558853,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "862727fd.1c2328",
- "ba2f13e6.fb244",
- "48d208ea.6b73a8"
+ "6403be78.5d82",
+ "35baae05.3737a2",
+ "4f35fe3d.ca573"
]
]
},
{
- "id": "862727fd.1c2328",
+ "id": "6403be78.5d82",
"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": 4501.956283569336,
+ "y": 1527.1050745248795,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "ba2f13e6.fb244",
+ "id": "35baae05.3737a2",
"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.526741027832,
+ "y": 1592.7771612405777,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "48d208ea.6b73a8",
+ "id": "4f35fe3d.ca573",
"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='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
"comments": "",
"outputs": 1,
- "x": 4376.642807006836,
- "y": 1670.6432371139526,
- "z": "73e537e.8932bc8",
+ "x": 4431.955307006836,
+ "y": 1671.2057358026505,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "866030e9.b444e",
- "4f0f6de5.73b094"
+ "55bab65f.15fba8",
+ "14008385.7c0d9c"
]
]
},
{
- "id": "866030e9.b444e",
+ "id": "55bab65f.15fba8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4614.071365356445,
- "y": 1653.3572883605957,
- "z": "73e537e.8932bc8",
+ "x": 4669.383865356445,
+ "y": 1653.9197870492935,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "52d6b739.76f9c8"
+ "666823a.cd278dc"
]
]
},
{
- "id": "52d6b739.76f9c8",
+ "id": "666823a.cd278dc",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4806.499732971191,
- "y": 1644.071725845337,
- "z": "73e537e.8932bc8",
+ "x": 4861.812232971191,
+ "y": 1644.6342245340347,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "cb07e63f.970f58"
+ "ac397400.1ea37"
]
]
},
{
- "id": "cb07e63f.970f58",
+ "id": "ac397400.1ea37",
"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.5261154174805,
+ "y": 1633.348336338997,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "589e3583.45b27c",
+ "id": "13a85374.dc470d",
"type": "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": 5057.66939163208,
+ "y": 1708.3484026193619,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "e5f066ec.ee08a8",
+ "id": "c5e0bcf5.1da6a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4818.356742858887,
- "y": 1713.2143459320068,
- "z": "73e537e.8932bc8",
+ "x": 4873.669242858887,
+ "y": 1713.7768446207047,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "589e3583.45b27c"
+ "13a85374.dc470d"
]
]
},
{
- "id": "4f0f6de5.73b094",
+ "id": "14008385.7c0d9c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4608.356689453125,
- "y": 1717.071584701538,
- "z": "73e537e.8932bc8",
+ "x": 4663.669189453125,
+ "y": 1717.634083390236,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e5f066ec.ee08a8"
+ "c5e0bcf5.1da6a"
]
]
},
{
- "id": "8eaff649.12a058",
+ "id": "d112a202.14d86",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 615,
- "y": 1646.0714111328125,
- "z": "73e537e.8932bc8",
+ "x": 670.3125,
+ "y": 1646.6339098215103,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "e7d5db02.65b2d8",
- "dad1b3aa.d6985",
- "e85cda54.0fe538",
- "b91c3aef.b188c8"
+ "be8548bb.49dc68",
+ "a7b79856.9ac328",
+ "3213abee.d1bdf4",
+ "12ab8339.c11cad"
]
]
},
{
- "id": "e85cda54.0fe538",
+ "id": "3213abee.d1bdf4",
"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.3136444091797,
+ "y": 1496.5333944559097,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "e7d5db02.65b2d8",
+ "id": "be8548bb.49dc68",
"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.3124771118164,
+ "y": 1650.634092926979,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "dad1b3aa.d6985",
+ "id": "a7b79856.9ac328",
"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='*/*' />\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.3125762939453,
+ "y": 1767.633797287941,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "2999f62a.11666a",
- "a0ffbca7.ce015"
+ "d43e359a.459548",
+ "d7154949.62a598"
]
]
},
{
- "id": "2999f62a.11666a",
+ "id": "d43e359a.459548",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 926.0000762939453,
- "y": 1747.0712976455688,
- "z": "73e537e.8932bc8",
+ "x": 981.3125762939453,
+ "y": 1747.6337963342667,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "77937eda.00d3c"
+ "db93be20.d4c9a"
]
]
},
{
- "id": "a0ffbca7.ce015",
+ "id": "d7154949.62a598",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 917.9999694824219,
- "y": 1820.0712480545044,
- "z": "73e537e.8932bc8",
+ "x": 973.3124694824219,
+ "y": 1820.6337467432022,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "bbd0fc65.b213e"
+ "1cdebc40.cea3d4"
]
]
},
{
- "id": "bbd0fc65.b213e",
+ "id": "1cdebc40.cea3d4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1063.999813079834,
- "y": 1825.0713567733765,
- "z": "73e537e.8932bc8",
+ "x": 1119.312313079834,
+ "y": 1825.6338554620743,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "3b8c718a.3fa84e"
+ "6a559c9e.74ffb4"
]
]
},
{
- "id": "77937eda.00d3c",
+ "id": "db93be20.d4c9a",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1074.9999771118164,
- "y": 1743.0714330673218,
- "z": "73e537e.8932bc8",
+ "x": 1130.3124771118164,
+ "y": 1743.6339317560196,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[
- "88a2ea8a.397928",
- "f5257e8c.2252a"
+ "ff299a70.cace58",
+ "e497bce3.f3499"
]
]
},
{
- "id": "88a2ea8a.397928",
+ "id": "ff299a70.cace58",
"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.3120956420898,
+ "y": 1754.6336733102798,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "3b8c718a.3fa84e",
+ "id": "6a559c9e.74ffb4",
"type": "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.3122329711914,
+ "y": 1831.6337476968765,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f5257e8c.2252a",
+ "id": "e497bce3.f3499",
"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": 1264.8227043151855,
+ "y": 1658.6231647729874,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
},
{
- "id": "b91c3aef.b188c8",
+ "id": "12ab8339.c11cad",
"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": 969.652099609375,
+ "y": 1586.6192470788956,
+ "z": "c2a8a65f.f4fdf8",
"wires": [
[]
]
},
{
- "id": "f53bf76b.8dba48",
+ "id": "cebd9071.34ebd",
"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": 327.8125,
+ "y": 1163.0624986886978,
+ "z": "c2a8a65f.f4fdf8",
"wires": []
+ },
+ {
+ "id": "1cb02382.300dbc",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.8055038452148,
+ "y": 953.7221685647964,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8353a8a3.3990f8",
+ "type": "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.2499084472656,
+ "y": 745.3890291452408,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65ede1f4.b65c2",
+ "type": "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.2499465942383,
+ "y": 836.5000387430191,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "43b3554a.d72b5c",
+ "type": "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.2498474121094,
+ "y": 783.7222048044205,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ae3d93e1.a7a45",
+ "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": 843.7499923706055,
+ "y": 986.2221380472183,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d251ba4.ddf994",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 651.5277404785156,
+ "y": 1002.888830780983,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "ae3d93e1.a7a45"
+ ]
+ ]
+ },
+ {
+ "id": "d243ac82.e496d",
+ "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.4165954589844,
+ "y": 1188.4444338083267,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "529b3f7c.a9647",
+ "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.0832214355469,
+ "y": 1265.1110597848892,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c8d88690.37d198",
+ "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": 2033.7498474121094,
+ "y": 1298.4444338083267,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ec2b70ec.e4dcb",
+ "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['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2106.5834197998047,
+ "y": 1002.6666955947876,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72b414ad.1d2d0c",
+ "type": "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": 1963.4726104736328,
+ "y": 1042.444465637207,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "720819d9.bc5d78",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1966.6945724487305,
+ "y": 1077.5555658340454,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "ce68019d.d9b15",
+ "4c5e2da7.e835f4"
+ ]
+ ]
+ },
+ {
+ "id": "ce68019d.d9b15",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2149.3891792297363,
+ "y": 1047.6667709350586,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "aeb42d0d.8b6e2"
+ ]
+ ]
+ },
+ {
+ "id": "51ac29dc.473308",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1765.6943054199219,
+ "y": 1030.6666017770767,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "90abe626.d80828",
+ "cf5bb551.50bc48",
+ "567e4ef1.2569d"
+ ]
+ ]
+ },
+ {
+ "id": "4c5e2da7.e835f4",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2284.027576446533,
+ "y": 1040.3333053588867,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "9ef2cf06.62985"
+ ]
+ ]
+ },
+ {
+ "id": "9ef2cf06.62985",
+ "type": "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.0277366638184,
+ "y": 987.3332592248917,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f07a1efc.c684b",
+ "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.1388397216797,
+ "y": 692.8888412714005,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af15dd5.a6c422",
+ "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.3055114746094,
+ "y": 1396.2221437692642,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "23a3ebb3.2e07c4",
+ "type": "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": 2008.680191040039,
+ "y": 1431.5345245599747,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9643217e.8cc45",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 712.9166641235352,
+ "y": 440.6666451692581,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "a99d2439.51cb18",
+ "87d1a970.979638"
+ ]
+ ]
+ },
+ {
+ "id": "a99d2439.51cb18",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 940.4166603088379,
+ "y": 386.222248673439,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "bcdf9c78.c8fb1"
+ ]
+ ]
+ },
+ {
+ "id": "87d1a970.979638",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 942.6388053894043,
+ "y": 445.11113607883453,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "4dba95dc.4decdc"
+ ]
+ ]
+ },
+ {
+ "id": "9c35bb65.560c98",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1394.8612327575684,
+ "y": 356.222212433815,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": []
+ },
+ {
+ "id": "1ca88a0f.7c8306",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1369.305576324463,
+ "y": 389.55556643009186,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": []
+ },
+ {
+ "id": "bcdf9c78.c8fb1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1150.416660308838,
+ "y": 373.9999586343765,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "9c35bb65.560c98"
+ ]
+ ]
+ },
+ {
+ "id": "4dba95dc.4decdc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1147.0834045410156,
+ "y": 430.66668713092804,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "1ca88a0f.7c8306"
+ ]
+ ]
+ },
+ {
+ "id": "5841dea.bd55b2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 717,
+ "y": 871.75,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "a454dbd9.309b08",
+ "e2aeea87.1a49f8"
+ ]
+ ]
+ },
+ {
+ "id": "a454dbd9.309b08",
+ "type": "execute",
+ "name": "split pLMNId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 978.2724990844727,
+ "y": 754.262303352356,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e2aeea87.1a49f8",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
+ "comments": "",
+ "x": 1008.7270889282227,
+ "y": 801.3077440261841,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": []
+ },
+ {
+ "id": "d927155a.039578",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368.75,
+ "y": 711,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "74ff916a.e9c5b",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2376.75,
+ "y": 751,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "f7606cb5.7a1c7"
+ ]
+ ]
+ },
+ {
+ "id": "f7606cb5.7a1c7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2570,
+ "y": 753.5,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "1c0a37ea.375948",
+ "ecaa22b7.75297",
+ "e298fc24.8e892"
+ ]
+ ]
+ },
+ {
+ "id": "90abe626.d80828",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListup_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2002.749984741211,
+ "y": 903.2500534057617,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf5bb551.50bc48",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1988.7500228881836,
+ "y": 961.250054359436,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "c4f6f336.48282"
+ ]
+ ]
+ },
+ {
+ "id": "c4f6f336.48282",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2197.9999923706055,
+ "y": 957.750054359436,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "ec2b70ec.e4dcb",
+ "72b414ad.1d2d0c",
+ "720819d9.bc5d78"
+ ]
+ ]
+ },
+ {
+ "id": "2a0b3e44.22f042",
+ "type": "execute",
+ "name": "read snssailist size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.snssaiListdu_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2390.75,
+ "y": 1404.25,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d2b6fc8.a0801",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2398.75,
+ "y": 1444.25,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "2368c209.6d976e"
+ ]
+ ]
+ },
+ {
+ "id": "2368c209.6d976e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2592,
+ "y": 1446.75,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ [
+ "6d2985a2.a415bc",
+ "18e75616.57f2da",
+ "244e64a3.dccd7c"
+ ]
+ ]
+ },
+ {
+ "id": "567e4ef1.2569d",
+ "type": "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=\"CUUP - snssaiList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2003,
+ "y": 930.75,
+ "z": "c2a8a65f.f4fdf8",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file