diff options
Diffstat (limited to 'platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json')
-rw-r--r-- | platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json | 3090 |
1 files changed, 3090 insertions, 0 deletions
diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json new file mode 100644 index 00000000..52c813ce --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDB.json @@ -0,0 +1,3090 @@ +[
+ {
+ "id": "89f6e9a1.ecc1d8",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 113,
+ "y": 41.66666793823242,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "3e4ad38e.7afdec"
+ ]
+ ]
+ },
+ {
+ "id": "3e4ad38e.7afdec",
+ "type": "service-logic",
+ "name": "ran-slice-api ${project.version}",
+ "module": "ran-slice-api",
+ "version": "${project.version}",
+ "comments": "",
+ "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
+ "outputs": 1,
+ "x": 198.0000228881836,
+ "y": 108.6666374206543,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "dd6a7cd5.cecfd"
+ ]
+ ]
+ },
+ {
+ "id": "dd6a7cd5.cecfd",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='activateRANSliceInstance-configDB' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 132,
+ "y": 168.6666030883789,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "114357e5.b5ced8"
+ ]
+ ]
+ },
+ {
+ "id": "114357e5.b5ced8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 154.5000114440918,
+ "y": 249.1666717529297,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "8953b8a.7058148",
+ "afcbd96c.8ba7f8",
+ "1c68dd77.506f43",
+ "be757151.125bd",
+ "32776d46.799b92",
+ "dc1ad0a0.54faa",
+ "8753ead2.f4ec78",
+ "a8d2bde7.8e816",
+ "7ad03b2c.e956a4",
+ "651e35fc.429f6c",
+ "f19c8ec4.34b46",
+ "2e838044.a26ff",
+ "90fc2c2a.9a8f2",
+ "88cb566d.e07ed8",
+ "c19823b3.9d137",
+ "1da349af.70a696",
+ "924e6fd3.100f",
+ "a96dd5c0.654b88",
+ "acfb5c24.67b4f",
+ "a07d31b.1db7ad",
+ "5f03e2e7.3fccac"
+ ]
+ ]
+ },
+ {
+ "id": "8953b8a.7058148",
+ "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": 736.2500610351562,
+ "y": 444.36112785339355,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "afcbd96c.8ba7f8",
+ "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": 676.2500152587891,
+ "y": 480.91669511795044,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1c68dd77.506f43",
+ "type": "execute",
+ "name": "Get nearRTRIC for NFNSSI",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.2500915527344,
+ "y": 532.9167256355286,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "e15120a6.03a9b",
+ "e1904161.7b70c"
+ ]
+ ]
+ },
+ {
+ "id": "e15120a6.03a9b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 965.0680961608887,
+ "y": 550.7347493171692,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "10126bdb.47bee4"
+ ]
+ ]
+ },
+ {
+ "id": "10126bdb.47bee4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.0679931640625,
+ "y": 551.7348647117615,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "61c1def.b84042",
+ "5722f483.01f06c"
+ ]
+ ]
+ },
+ {
+ "id": "61c1def.b84042",
+ "type": "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": 1358.0677909851074,
+ "y": 496.7348484992981,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5722f483.01f06c",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1353.845932006836,
+ "y": 567.7348561286926,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1904161.7b70c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 971.0680503845215,
+ "y": 490.73483324050903,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "38c94f1d.be79e"
+ ]
+ ]
+ },
+ {
+ "id": "38c94f1d.be79e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1251.0681266784668,
+ "y": 396.7348871231079,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "2ed45def.ebaa02",
+ "6090e5e0.a79f3c"
+ ]
+ ]
+ },
+ {
+ "id": "2ed45def.ebaa02",
+ "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": 1429.06791305542,
+ "y": 350.8459138870239,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "be757151.125bd",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to handle activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n<parameter name=\"field3\" value=\"`$activate-r-a-n-slice-instance-input.timestamp`\"/>\n<parameter name=\"field4\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"field5\" value=\"`$activate-r-a-n-slice-instance-input.common-header.originator-id`\"/>\n<parameter name=\"field6\" value=\"RPC Payload String \"/>\n<parameter name=\"field7\" value=\"`$activate-r-a-n-slice-instance-input.payload`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 641,
+ "y": 57.66665458679199,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "32776d46.799b92",
+ "type": "set",
+ "name": "set default status value",
+ "xml": "<set>\n<parameter name='error-code' value='200' />\n<parameter name='error-message' value='Successful execution of activateRANSice RPC' />",
+ "comments": "",
+ "x": 679.999755859375,
+ "y": 100.6666669845581,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "dc1ad0a0.54faa",
+ "type": "execute",
+ "name": "execute jsonStringToCtx",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='false' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 684.9997711181641,
+ "y": 145.41665267944336,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "18f820d5.220f9f"
+ ]
+ ]
+ },
+ {
+ "id": "8753ead2.f4ec78",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 644.6386184692383,
+ "y": 234.40620613098145,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a8d2bde7.8e816",
+ "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": 673.5275650024414,
+ "y": 275.41662979125977,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7ad03b2c.e956a4",
+ "type": "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": 642.5832805633545,
+ "y": 320.8611469268799,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18f820d5.220f9f",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 951.4997825622559,
+ "y": 147.41664218902588,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1e1d44f9.4cbedb"
+ ]
+ ]
+ },
+ {
+ "id": "1e1d44f9.4cbedb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1151.4999389648438,
+ "y": 150.1666383743286,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "3356346c.33502c",
+ "ab9b930d.f64ed"
+ ]
+ ]
+ },
+ {
+ "id": "3356346c.33502c",
+ "type": "execute",
+ "name": "printContext",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1341.500015258789,
+ "y": 111.666672706604,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ab9b930d.f64ed",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload for activateRANSlice.: \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.RANNFNSSIId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfileId`\"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1340.74995803833,
+ "y": 175.66668891906738,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "651e35fc.429f6c",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 418.9375915527344,
+ "y": 973.5416851043701,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "92c79d.2d79986",
+ "5b5b2906.f8e598",
+ "dd542198.cd316",
+ "ce6df94b.677c98"
+ ]
+ ]
+ },
+ {
+ "id": "92c79d.2d79986",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 684.1875305175781,
+ "y": 966.9736156463623,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "57ce8c2.dad3d74",
+ "414b404.f11e9c",
+ "792966f1.094b98"
+ ]
+ ]
+ },
+ {
+ "id": "57ce8c2.dad3d74",
+ "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": 1030.437515258789,
+ "y": 836.7235240936279,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "414b404.f11e9c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 989.9374961853027,
+ "y": 884.2236013412476,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "792966f1.094b98",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1006.6876220703125,
+ "y": 934.2236020565033,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "c553ff71.16d2"
+ ]
+ ]
+ },
+ {
+ "id": "c553ff71.16d2",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.687515258789,
+ "y": 897.4734954833984,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "c23b72fc.c12f7",
+ "b9898d9d.efb8f",
+ "7c7c402.56cc4c",
+ "709ad36b.5b73fc"
+ ]
+ ]
+ },
+ {
+ "id": "c23b72fc.c12f7",
+ "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": 1472.4376068115234,
+ "y": 627.5568962097168,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c7c402.56cc4c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1444.187614440918,
+ "y": 682.7235069274902,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "709ad36b.5b73fc",
+ "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": 1481.4375228881836,
+ "y": 730.4735221862793,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b9898d9d.efb8f",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1456.4374923706055,
+ "y": 783.2235374450684,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "3dc4f9ea.71c276"
+ ]
+ ]
+ },
+ {
+ "id": "3dc4f9ea.71c276",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1671.4375343322754,
+ "y": 783.473554611206,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f7645ce6.5b711",
+ "8926f051.7cdd",
+ "fc2cba6d.1cc758"
+ ]
+ ]
+ },
+ {
+ "id": "f7645ce6.5b711",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.3964233398438,
+ "y": 722.1265239715576,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc2cba6d.1cc758",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.4241485595703,
+ "y": 801.3207906484604,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "79e0a0e5.d6a74"
+ ]
+ ]
+ },
+ {
+ "id": "79e0a0e5.d6a74",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2095.313056945801,
+ "y": 743.0985851287842,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "bab26f0b.3caf6",
+ "9b279ceb.ea195"
+ ]
+ ]
+ },
+ {
+ "id": "4d056992.455e58",
+ "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['+$id-cunssai+'].sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2445.7574768066406,
+ "y": 756.0985803604126,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80784969.babca8",
+ "type": "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": 2304.5353813171387,
+ "y": 789.6541061401367,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6485bd54.8d70a4",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2340.0908584594727,
+ "y": 830.8763341903687,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1e9cc7f5.a3e688"
+ ]
+ ]
+ },
+ {
+ "id": "1e9cc7f5.a3e688",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2529.563056945801,
+ "y": 831.0986633300781,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1bbb0ec4.28d7c1"
+ ]
+ ]
+ },
+ {
+ "id": "1bbb0ec4.28d7c1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2750.1875,
+ "y": 828.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "e063ff8c.e49c",
+ "682fce94.32746",
+ "82088e5a.22771",
+ "3126b7b6.d1ddd8",
+ "16be4224.e4792e",
+ "e717a423.adae18",
+ "c6f5286e.f277d8",
+ "51ea23.a5fb05dc",
+ "ab9ca20.3149a6"
+ ]
+ ]
+ },
+ {
+ "id": "ab9ca20.3149a6",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2945.1875,
+ "y": 823.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "51ea23.a5fb05dc",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2973.1875,
+ "y": 891.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "dfcdedaa.6bc3d",
+ "e720258f.f265b8"
+ ]
+ ]
+ },
+ {
+ "id": "dfcdedaa.6bc3d",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3181.1875,
+ "y": 856.8539237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "579ea710.ae0018"
+ ]
+ ]
+ },
+ {
+ "id": "579ea710.ae0018",
+ "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": 3501.1875,
+ "y": 871.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bee4bc6d.b0811",
+ "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": 3679.687530517578,
+ "y": 929.8541069030762,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e1edbe11.4db63",
+ "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": 3623.687931060791,
+ "y": 982.8543004989624,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c121493c.8fa8a8",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3372.6875,
+ "y": 959.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "bee4bc6d.b0811",
+ "e1edbe11.4db63"
+ ]
+ ]
+ },
+ {
+ "id": "e720258f.f265b8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3169.1875,
+ "y": 958.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "c121493c.8fa8a8"
+ ]
+ ]
+ },
+ {
+ "id": "e063ff8c.e49c",
+ "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": 2940.1875,
+ "y": 991.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16be4224.e4792e",
+ "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": 2967.1875,
+ "y": 1055.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e717a423.adae18",
+ "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": 2928.187759399414,
+ "y": 1101.354196548462,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c6f5286e.f277d8",
+ "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": 2893.9375610351562,
+ "y": 1183.104224205017,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "682fce94.32746",
+ "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": 2882.68798828125,
+ "y": 1243.3542404174805,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "82088e5a.22771",
+ "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": 2879.1875,
+ "y": 1311.8541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3126b7b6.d1ddd8",
+ "type": "execute",
+ "name": "activate PLMNInfoListEntry ToNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"activate-cellCU-PLMNInfoList-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2919.1876068115234,
+ "y": 1374.8541412353516,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "29edeba8.091284",
+ "a7845629.ace858"
+ ]
+ ]
+ },
+ {
+ "id": "a7845629.ace858",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3135.18758392334,
+ "y": 1253.8541412353516,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "72f06dc9.329de4"
+ ]
+ ]
+ },
+ {
+ "id": "72f06dc9.329de4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3285.187858581543,
+ "y": 1212.8543243408203,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "934d443c.e5d8f8",
+ "ff81fc55.ebd82",
+ "6090e5e0.a79f3c"
+ ]
+ ]
+ },
+ {
+ "id": "ff81fc55.ebd82",
+ "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": 3451.187614440918,
+ "y": 1178.8543243408203,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "934d443c.e5d8f8",
+ "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": 3456.1874923706055,
+ "y": 1273.8543853759766,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "4016125a.7522cc",
+ "type": "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": 3541.1874618530273,
+ "y": 1366.8545684814453,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba6204d2.b81408",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3343.187400817871,
+ "y": 1369.8544464111328,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "4016125a.7522cc"
+ ]
+ ]
+ },
+ {
+ "id": "29edeba8.091284",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3170.187614440918,
+ "y": 1370.8543853759766,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "ba6204d2.b81408"
+ ]
+ ]
+ },
+ {
+ "id": "f19c8ec4.34b46",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.6875152587891,
+ "y": 191.66667366027832,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5b5b2906.f8e598",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 685.1875534057617,
+ "y": 1108.854193687439,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "840ab25e.16772",
+ "90e1369f.d0a358",
+ "7d7ce27.70a991c"
+ ]
+ ]
+ },
+ {
+ "id": "840ab25e.16772",
+ "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": 1016.187557220459,
+ "y": 1008.854190826416,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90e1369f.d0a358",
+ "type": "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": 973.1876220703125,
+ "y": 1060.1041932106018,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d7ce27.70a991c",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 998.6875152587891,
+ "y": 1108.8541927337646,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "ee32c0f2.1ab4e"
+ ]
+ ]
+ },
+ {
+ "id": "ee32c0f2.1ab4e",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1222.1875610351562,
+ "y": 1092.1042385101318,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f23e9637.c599b8",
+ "1ec02a06.7a25c6",
+ "5ea10365.60f14c",
+ "fe3d437c.ba573"
+ ]
+ ]
+ },
+ {
+ "id": "f23e9637.c599b8",
+ "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": 1466.1875,
+ "y": 867.3541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ec02a06.7a25c6",
+ "type": "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": 1462.1875,
+ "y": 921.3541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ea10365.60f14c",
+ "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": 1513.1875,
+ "y": 986.3541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fe3d437c.ba573",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1499.1875,
+ "y": 1041.3541679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "b2394e54.2e47f"
+ ]
+ ]
+ },
+ {
+ "id": "19e0a173.df818f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1738.3125,
+ "y": 1038.5416679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "4d4a0755.e1e358",
+ "64a6b829.4a47c8",
+ "6243b3bf.04413c",
+ "bf53780d.10df28",
+ "ebd08735.f0acf8",
+ "c10f2b2.1a3eed8"
+ ]
+ ]
+ },
+ {
+ "id": "4d4a0755.e1e358",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1951.562759399414,
+ "y": 1039.2918167114258,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "fd157353.82e8f",
+ "85b6c9a0.a7b9d8"
+ ]
+ ]
+ },
+ {
+ "id": "fd157353.82e8f",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2164.562641143799,
+ "y": 1006.7914352416992,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "9ee82e5d.cf1c6"
+ ]
+ ]
+ },
+ {
+ "id": "9ee82e5d.cf1c6",
+ "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": 2489.5625228881836,
+ "y": 961.7917394638062,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b2be61a2.d35c8",
+ "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": 2600.3120651245117,
+ "y": 1044.5414505004883,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "581fe4e9.3b5a3c",
+ "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": 2584.3125858306885,
+ "y": 1112.5417108535767,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dbfbfcf.2edfc",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.562370300293,
+ "y": 1103.2914509773254,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "b2be61a2.d35c8",
+ "581fe4e9.3b5a3c"
+ ]
+ ]
+ },
+ {
+ "id": "85b6c9a0.a7b9d8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2150.062515258789,
+ "y": 1092.5417098999023,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "dbfbfcf.2edfc"
+ ]
+ ]
+ },
+ {
+ "id": "64a6b829.4a47c8",
+ "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": 2020.2221374511719,
+ "y": 1152.3263745307922,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6243b3bf.04413c",
+ "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": 1969.5556335449219,
+ "y": 1265.9930458068848,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "468eb481.90ea3c",
+ "f9a3efba.e451f"
+ ]
+ ]
+ },
+ {
+ "id": "468eb481.90ea3c",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2296.0001525878906,
+ "y": 1229.1044073104858,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "16505b53.e46f25"
+ ]
+ ]
+ },
+ {
+ "id": "f9a3efba.e451f",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2290.000030517578,
+ "y": 1296.1043462753296,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "c300285a.24d668"
+ ]
+ ]
+ },
+ {
+ "id": "16505b53.e46f25",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2473.000274658203,
+ "y": 1218.1042852401733,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "380a94be.64fbfc",
+ "290bff6a.6147b",
+ "6090e5e0.a79f3c"
+ ]
+ ]
+ },
+ {
+ "id": "c300285a.24d668",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2470.000030517578,
+ "y": 1301.1041631698608,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "a5c40ce1.8266d"
+ ]
+ ]
+ },
+ {
+ "id": "a5c40ce1.8266d",
+ "type": "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": 2622.999725341797,
+ "y": 1301.1044073104858,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "380a94be.64fbfc",
+ "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": 2677.7502365112305,
+ "y": 1218.604564666748,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "290bff6a.6147b",
+ "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": 2682.7504234313965,
+ "y": 1164.6047005653381,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "dd542198.cd316",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 679.5625076293945,
+ "y": 1257.2916927337646,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "20ffb1aa.1f2ace",
+ "d63cf457.57f878",
+ "54b5c545.99420c"
+ ]
+ ]
+ },
+ {
+ "id": "20ffb1aa.1f2ace",
+ "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": 1012.3125305175781,
+ "y": 1163.2916793823242,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d63cf457.57f878",
+ "type": "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": 985.312557220459,
+ "y": 1206.7917404174805,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "54b5c545.99420c",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 997.3125305175781,
+ "y": 1258.0416679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "17f1792b.d82157"
+ ]
+ ]
+ },
+ {
+ "id": "17f1792b.d82157",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1278.3125,
+ "y": 1259.0416374206543,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "43cd7201.d0121c",
+ "16a06086.21e2df",
+ "9118d789.5ac698",
+ "37c5bd61.c2cd62"
+ ]
+ ]
+ },
+ {
+ "id": "43cd7201.d0121c",
+ "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": 1557.3123245239258,
+ "y": 1255.0409393310547,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16a06086.21e2df",
+ "type": "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": 1530.3123245239258,
+ "y": 1306.0409393310547,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9118d789.5ac698",
+ "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": 1571.3123245239258,
+ "y": 1355.0409393310547,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37c5bd61.c2cd62",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1561.3123245239258,
+ "y": 1399.0409393310547,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "cf808ad2.ebe628"
+ ]
+ ]
+ },
+ {
+ "id": "cf808ad2.ebe628",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1721.062385559082,
+ "y": 1398.7910642623901,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "820508f4.fe8198",
+ "2ac044cf.60ffcc",
+ "94550149.1c8d3"
+ ]
+ ]
+ },
+ {
+ "id": "820508f4.fe8198",
+ "type": "execute",
+ "name": "read PLMNList size",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1969.25,
+ "y": 1398.5416679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ac044cf.60ffcc",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1947.5833740234375,
+ "y": 1468.5416679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "256a271c.391468"
+ ]
+ ]
+ },
+ {
+ "id": "256a271c.391468",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2132.9721603393555,
+ "y": 1462.56937789917,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1f36b292.2e31bd",
+ "ea301196.e0983"
+ ]
+ ]
+ },
+ {
+ "id": "eca27dc6.23911",
+ "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['+$id-dunssai+'].sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2485.527862548828,
+ "y": 1436.6533187627792,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18cd97a2.f285a8",
+ "type": "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": 2358.8610763549805,
+ "y": 1479.5419877767563,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2f5507b7.45dab8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2356.9999923706055,
+ "y": 1520.0974992513657,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f921e19d.79b2b"
+ ]
+ ]
+ },
+ {
+ "id": "f921e19d.79b2b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2530.4724349975586,
+ "y": 1525.8198207616806,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "6f810774.7b93a8"
+ ]
+ ]
+ },
+ {
+ "id": "6f810774.7b93a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2712.500129699707,
+ "y": 1477.7918910980225,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f7dc1a0f.0b66a8",
+ "ba03b1e4.098be",
+ "8a7c605c.429e9",
+ "13f6a647.fee91a",
+ "7036cbd4.084b44",
+ "95d471ec.92869",
+ "a389908d.33273"
+ ]
+ ]
+ },
+ {
+ "id": "9fdcc413.58f698",
+ "type": "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": 2925.0004959106445,
+ "y": 1446.5418912172318,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f7dc1a0f.0b66a8",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2929.2500076293945,
+ "y": 1504.5419235229492,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "bf8a29af.55fce8",
+ "eb001946.c11da8"
+ ]
+ ]
+ },
+ {
+ "id": "bf8a29af.55fce8",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3138.500499725342,
+ "y": 1459.541464805603,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f3dfb14e.b778"
+ ]
+ ]
+ },
+ {
+ "id": "eb001946.c11da8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3133.500499725342,
+ "y": 1521.0421676635742,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "d8b32181.00589"
+ ]
+ ]
+ },
+ {
+ "id": "f3dfb14e.b778",
+ "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": 3484.750259399414,
+ "y": 1458.2919216156006,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d8b32181.00589",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3311.0000762939453,
+ "y": 1527.5418014526367,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "567b5cfa.d93804",
+ "1d990f27.84d141"
+ ]
+ ]
+ },
+ {
+ "id": "567b5cfa.d93804",
+ "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": 3593.000442504883,
+ "y": 1516.2918014526367,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d990f27.84d141",
+ "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": 3543.250747680664,
+ "y": 1576.7918329238892,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba03b1e4.098be",
+ "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": 2976.1250610351562,
+ "y": 1631.3541059494019,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a7c605c.429e9",
+ "type": "execute",
+ "name": "prepare idNRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2949.125244140625,
+ "y": 1686.3541078567505,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13f6a647.fee91a",
+ "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": 2929.1249389648438,
+ "y": 1749.354413986206,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7036cbd4.084b44",
+ "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": 2931.1251831054688,
+ "y": 1807.3540468215942,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "95d471ec.92869",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellDU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2936.1248168945312,
+ "y": 1875.3545379638672,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a389908d.33273",
+ "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": 2993.1248474121094,
+ "y": 1950.6039237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "ab6a2b3b.5e71c8",
+ "202ca42d.c28fec"
+ ]
+ ]
+ },
+ {
+ "id": "202ca42d.c28fec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3260.1248474121094,
+ "y": 1850.6039237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "3a50b974.b14756"
+ ]
+ ]
+ },
+ {
+ "id": "3a50b974.b14756",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3418.1250915527344,
+ "y": 1798.6039237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "9973b795.dae038",
+ "69990ee8.60a4",
+ "6090e5e0.a79f3c"
+ ]
+ ]
+ },
+ {
+ "id": "69990ee8.60a4",
+ "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": 3584.1248474121094,
+ "y": 1764.6039237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "9973b795.dae038",
+ "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": 3589.124725341797,
+ "y": 1859.6039848327637,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "92ef08c4.78a4b8",
+ "type": "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": 3573.124725341797,
+ "y": 1945.6041679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a401d55f.96dde8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3427.1248474121094,
+ "y": 1946.6039264202118,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "92ef08c4.78a4b8"
+ ]
+ ]
+ },
+ {
+ "id": "ab6a2b3b.5e71c8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3259.1248474121094,
+ "y": 1949.6039237976074,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "a401d55f.96dde8"
+ ]
+ ]
+ },
+ {
+ "id": "2e838044.a26ff",
+ "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": 640.8125305175781,
+ "y": 590.1041793823242,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "90fc2c2a.9a8f2",
+ "type": "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": 614.3125305175781,
+ "y": 645.6042108535767,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "88cb566d.e07ed8",
+ "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": 683.0625152587891,
+ "y": 699.1041469573975,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c19823b3.9d137",
+ "type": "execute",
+ "name": "read PLMN Id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`getPLMN-configdb-response.plmnId`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.0625076293945,
+ "y": 738.2153882980347,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "47d3f41d.b976bc",
+ "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": 1195.534782409668,
+ "y": 717.2432578802109,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d37fc17.6b991",
+ "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": 1206.201530456543,
+ "y": 755.0209678411484,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1da349af.70a696",
+ "type": "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": 607.4171524047852,
+ "y": 848.7921524047852,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6090e5e0.a79f3c",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4062.0625,
+ "y": 1597.15775680542,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "d9504148.ee56c",
+ "87aa647d.4d8d98",
+ "f020935d.c511d"
+ ]
+ ]
+ },
+ {
+ "id": "d9504148.ee56c",
+ "type": "set",
+ "name": "set tmp variables for SO response",
+ "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$activate-r-a-n-slice-instance-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$activate-r-a-n-slice-instance-input.action`\"/>\n",
+ "comments": "",
+ "x": 4441.206283569336,
+ "y": 1454.771743774414,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "87aa647d.4d8d98",
+ "type": "record",
+ "name": "record RestAPI parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 4444.776741027832,
+ "y": 1520.4438304901123,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f020935d.c511d",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4371.205307006836,
+ "y": 1598.872405052185,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "b423ad87.9e9f",
+ "ae17a703.37f4b8"
+ ]
+ ]
+ },
+ {
+ "id": "b423ad87.9e9f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4608.633865356445,
+ "y": 1581.5864562988281,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1e60ecb5.a97f93"
+ ]
+ ]
+ },
+ {
+ "id": "1e60ecb5.a97f93",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4801.062232971191,
+ "y": 1572.3008937835693,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "55d39dff.cb4034"
+ ]
+ ]
+ },
+ {
+ "id": "55d39dff.cb4034",
+ "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": 5002.7761154174805,
+ "y": 1561.0150055885315,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "e4d7ff5e.e47fb",
+ "type": "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": 4996.91939163208,
+ "y": 1636.0150718688965,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "835a173.5b012e8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4812.919242858887,
+ "y": 1641.4435138702393,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "e4d7ff5e.e47fb"
+ ]
+ ]
+ },
+ {
+ "id": "ae17a703.37f4b8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4602.919189453125,
+ "y": 1645.3007526397705,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "835a173.5b012e8"
+ ]
+ ]
+ },
+ {
+ "id": "924e6fd3.100f",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 609.5625,
+ "y": 1574.300579071045,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "29cdb6ae.ab792a",
+ "f387426e.541f3",
+ "ed6945a2.73bda8",
+ "179c8e9e.56df01"
+ ]
+ ]
+ },
+ {
+ "id": "ed6945a2.73bda8",
+ "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": 889.5636444091797,
+ "y": 1424.2000637054443,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "29cdb6ae.ab792a",
+ "type": "record",
+ "name": "record SO reply parms",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 886.5624771118164,
+ "y": 1578.3007621765137,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f387426e.541f3",
+ "type": "execute",
+ "name": "Send to SO",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-activate-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 755.5625762939453,
+ "y": 1695.3004665374756,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "704df754.9e8f18",
+ "28ea4757.187cd8"
+ ]
+ ]
+ },
+ {
+ "id": "704df754.9e8f18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 920.5625762939453,
+ "y": 1675.3004655838013,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "b78016cb.c24fd8"
+ ]
+ ]
+ },
+ {
+ "id": "28ea4757.187cd8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 912.5624694824219,
+ "y": 1748.3004159927368,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "fad6df44.e7af5"
+ ]
+ ]
+ },
+ {
+ "id": "fad6df44.e7af5",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.562313079834,
+ "y": 1753.300524711609,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "7ddbc90.01a4838"
+ ]
+ ]
+ },
+ {
+ "id": "b78016cb.c24fd8",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1069.5624771118164,
+ "y": 1671.3006010055542,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f7d94b75.276fa8",
+ "5ef6235e.86631c"
+ ]
+ ]
+ },
+ {
+ "id": "f7d94b75.276fa8",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error sending SO Response\" />",
+ "comments": "",
+ "x": 1216.5620956420898,
+ "y": 1682.3003425598145,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "7ddbc90.01a4838",
+ "type": "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": 1219.5622329711914,
+ "y": 1759.3004169464111,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ef6235e.86631c",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1204.0727043151855,
+ "y": 1586.289834022522,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "179c8e9e.56df01",
+ "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": 908.902099609375,
+ "y": 1514.2859163284302,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a96dd5c0.654b88",
+ "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": 267.0625,
+ "y": 1090.7291679382324,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "acfb5c24.67b4f",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.0555038452148,
+ "y": 881.388837814331,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "84096503.bbd298",
+ "type": "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": 1850.4999084472656,
+ "y": 673.0556983947754,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36d6a83d.1233d8",
+ "type": "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": 1850.4999465942383,
+ "y": 764.1667079925537,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ca1fd5d.e03003",
+ "type": "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": 2310.4998474121094,
+ "y": 711.3888740539551,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7756c4ba.cbb2fc",
+ "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": 782.9999923706055,
+ "y": 913.8888072967529,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ce6df94b.677c98",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 590.7777404785156,
+ "y": 930.5555000305176,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "7756c4ba.cbb2fc"
+ ]
+ ]
+ },
+ {
+ "id": "bf53780d.10df28",
+ "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": 1979.6665954589844,
+ "y": 1116.1111030578613,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ebd08735.f0acf8",
+ "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": 1976.3332214355469,
+ "y": 1192.7777290344238,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c10f2b2.1a3eed8",
+ "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": 1972.9998474121094,
+ "y": 1226.1111030578613,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9849d8ff.7b7358",
+ "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": 2045.8334197998047,
+ "y": 930.3333648443222,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1efa7316.272c2d",
+ "type": "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": 1902.7226104736328,
+ "y": 970.1111348867416,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8a9c0618.d54148",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1905.9445724487305,
+ "y": 1005.22223508358,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1155450b.559edb",
+ "188e3978.ac3927"
+ ]
+ ]
+ },
+ {
+ "id": "1155450b.559edb",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2088.6391792297363,
+ "y": 975.3334401845932,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "19e0a173.df818f"
+ ]
+ ]
+ },
+ {
+ "id": "b2394e54.2e47f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1704.9443054199219,
+ "y": 958.3332710266113,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "93be7b03.af9ca8",
+ "69f3fae7.81aba4",
+ "c6b659bc.e58a78"
+ ]
+ ]
+ },
+ {
+ "id": "188e3978.ac3927",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2223.277576446533,
+ "y": 967.9999746084213,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "b92b9827.804918"
+ ]
+ ]
+ },
+ {
+ "id": "b92b9827.804918",
+ "type": "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": 2418.2777366638184,
+ "y": 914.9999284744263,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8926f051.7cdd",
+ "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": 1869.3888397216797,
+ "y": 620.5555105209351,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "94550149.1c8d3",
+ "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": 1948.5555114746094,
+ "y": 1323.8888130187988,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "13414e1d.5221e2",
+ "type": "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": 1947.930191040039,
+ "y": 1359.2011938095093,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a07d31b.1db7ad",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 652.1666641235352,
+ "y": 368.3333144187927,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "26d0ec80.062ac4",
+ "818e175b.30ee98"
+ ]
+ ]
+ },
+ {
+ "id": "26d0ec80.062ac4",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 879.6666603088379,
+ "y": 313.88891792297363,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "720f8fbd.f36a6"
+ ]
+ ]
+ },
+ {
+ "id": "818e175b.30ee98",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 881.8888053894043,
+ "y": 372.77780532836914,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "5e431322.6bf7fc"
+ ]
+ ]
+ },
+ {
+ "id": "1014836f.8442fd",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1334.1112327575684,
+ "y": 283.8888816833496,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "bca9e65a.a9cb58",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1308.555576324463,
+ "y": 317.22223567962646,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "720f8fbd.f36a6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1089.666660308838,
+ "y": 301.66662788391113,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "1014836f.8442fd"
+ ]
+ ]
+ },
+ {
+ "id": "5e431322.6bf7fc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1086.3334045410156,
+ "y": 358.33335638046265,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "bca9e65a.a9cb58"
+ ]
+ ]
+ },
+ {
+ "id": "5f03e2e7.3fccac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 656.25,
+ "y": 799.4166692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "6b9ee4d6.508c5c",
+ "545724c2.401a1c"
+ ]
+ ]
+ },
+ {
+ "id": "6b9ee4d6.508c5c",
+ "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": 917.5224990844727,
+ "y": 681.9289726018906,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "545724c2.401a1c",
+ "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": 947.9770889282227,
+ "y": 728.9744132757187,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ },
+ {
+ "id": "bab26f0b.3caf6",
+ "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": 2308,
+ "y": 638.6666692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9b279ceb.ea195",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2316,
+ "y": 678.6666692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "89384351.d2087"
+ ]
+ ]
+ },
+ {
+ "id": "89384351.d2087",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2509.25,
+ "y": 681.1666692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "4d056992.455e58",
+ "80784969.babca8",
+ "6485bd54.8d70a4"
+ ]
+ ]
+ },
+ {
+ "id": "93be7b03.af9ca8",
+ "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": 1941.999984741211,
+ "y": 830.9167226552963,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69f3fae7.81aba4",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1928.0000228881836,
+ "y": 888.9167236089706,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "3e63d789.1df2c8"
+ ]
+ ]
+ },
+ {
+ "id": "3e63d789.1df2c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2137.2499923706055,
+ "y": 885.4167236089706,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "9849d8ff.7b7358",
+ "1efa7316.272c2d",
+ "8a9c0618.d54148"
+ ]
+ ]
+ },
+ {
+ "id": "1f36b292.2e31bd",
+ "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": 2330,
+ "y": 1331.9166692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea301196.e0983",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2338,
+ "y": 1371.9166692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "f2d0640f.baaaf8"
+ ]
+ ]
+ },
+ {
+ "id": "f2d0640f.baaaf8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2531.25,
+ "y": 1374.4166692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ [
+ "eca27dc6.23911",
+ "18cd97a2.f285a8",
+ "2f5507b7.45dab8"
+ ]
+ ]
+ },
+ {
+ "id": "c6b659bc.e58a78",
+ "type": "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": 1942.25,
+ "y": 858.4166692495346,
+ "z": "1201fdc0.e52e32",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "acd95d31.d21ba",
+ "type": "comment",
+ "name": "activateRANSliceInstance-configDB",
+ "info": "",
+ "comments": "",
+ "x": 366.3333320617676,
+ "y": 21,
+ "z": "1201fdc0.e52e32",
+ "wires": []
+ }
+]
\ No newline at end of file |