diff options
Diffstat (limited to 'platform-logic/ran-slice-api')
6 files changed, 6831 insertions, 2146 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..9dc5c1b7 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-configDb.json @@ -0,0 +1,3090 @@ +[
+ {
+ "id": "bb8700a9.4c981",
+ "type": "dgstart",
+ "name": "DGSTART",
+ "outputs": 1,
+ "x": 97,
+ "y": 87.33333587646484,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "a8133e65.5ac4d"
+ ]
+ ]
+ },
+ {
+ "id": "a8133e65.5ac4d",
+ "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": 182.0000228881836,
+ "y": 154.33330535888672,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "237a3862.b8a458"
+ ]
+ ]
+ },
+ {
+ "id": "237a3862.b8a458",
+ "type": "method",
+ "name": "method",
+ "xml": "<method rpc='activateRANSliceInstance-configDb' mode='sync'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 116,
+ "y": 214.33327102661133,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "675c49d9.02b878"
+ ]
+ ]
+ },
+ {
+ "id": "675c49d9.02b878",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 138.5000114440918,
+ "y": 294.8333396911621,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "ff9db377.7823d",
+ "81e45632.c9dd28",
+ "7a4c6f4.b29489",
+ "ab9c7f54.5efce",
+ "99130c3d.ef6f4",
+ "374f840c.4a8c7c",
+ "446b85d5.2a49fc",
+ "fc362b1e.27f058",
+ "d22508d5.1fcf08",
+ "3a7c8c90.d3a444",
+ "ae821b1.921dbe8",
+ "9bf50fcf.d38c7",
+ "7dbdec74.d022b4",
+ "2a793d99.38e0f2",
+ "b0cc41ce.60ab5",
+ "bcc092a7.423ba",
+ "79849f4d.ba4fb",
+ "18abfe8a.745ce1",
+ "1d7c779.9961388",
+ "489e706d.876b8",
+ "9a583c38.6dc94"
+ ]
+ ]
+ },
+ {
+ "id": "ff9db377.7823d",
+ "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": 720.2500610351562,
+ "y": 490.027795791626,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81e45632.c9dd28",
+ "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": 660.2500152587891,
+ "y": 526.5833630561829,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a4c6f4.b29489",
+ "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": 650.2500915527344,
+ "y": 578.583393573761,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "2358cf4b.0ce08",
+ "c2f2c22b.58ba4"
+ ]
+ ]
+ },
+ {
+ "id": "2358cf4b.0ce08",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 949.0680961608887,
+ "y": 596.4014172554016,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "dde4f1f2.53ef8"
+ ]
+ ]
+ },
+ {
+ "id": "dde4f1f2.53ef8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1119.0679931640625,
+ "y": 597.4015326499939,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "69a4dd2e.c79514",
+ "bedba215.78ce4"
+ ]
+ ]
+ },
+ {
+ "id": "69a4dd2e.c79514",
+ "type": "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": 1342.0677909851074,
+ "y": 542.4015164375305,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bedba215.78ce4",
+ "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": 1337.845932006836,
+ "y": 613.401524066925,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c2f2c22b.58ba4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 955.0680503845215,
+ "y": 536.4015011787415,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "2dd242a4.c8672e"
+ ]
+ ]
+ },
+ {
+ "id": "2dd242a4.c8672e",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1235.0681266784668,
+ "y": 442.40155506134033,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "2c4b7187.aac1ae",
+ "ba0c411a.8cdd3"
+ ]
+ ]
+ },
+ {
+ "id": "2c4b7187.aac1ae",
+ "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": 1413.06791305542,
+ "y": 396.51258182525635,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "ab9c7f54.5efce",
+ "type": "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": 625,
+ "y": 103.33332252502441,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99130c3d.ef6f4",
+ "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": 663.999755859375,
+ "y": 146.33333492279053,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "374f840c.4a8c7c",
+ "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": 668.9997711181641,
+ "y": 191.08332061767578,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "86a30151.d9c84"
+ ]
+ ]
+ },
+ {
+ "id": "446b85d5.2a49fc",
+ "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": 628.6386184692383,
+ "y": 280.07287406921387,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc362b1e.27f058",
+ "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": 657.5275650024414,
+ "y": 321.0832977294922,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d22508d5.1fcf08",
+ "type": "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": 626.5832805633545,
+ "y": 366.5278148651123,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "86a30151.d9c84",
+ "type": "other",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 935.4997825622559,
+ "y": 193.0833101272583,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "83e575af.42c718"
+ ]
+ ]
+ },
+ {
+ "id": "83e575af.42c718",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1135.4999389648438,
+ "y": 195.83330631256104,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "1aa8a440.c2fbdc",
+ "68d301e3.d466a"
+ ]
+ ]
+ },
+ {
+ "id": "1aa8a440.c2fbdc",
+ "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": 1325.500015258789,
+ "y": 157.33334064483643,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "68d301e3.d466a",
+ "type": "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": 1324.74995803833,
+ "y": 221.3333568572998,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3a7c8c90.d3a444",
+ "type": "for",
+ "name": "foreach NearRTRIC",
+ "xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 402.9375915527344,
+ "y": 1019.2083530426025,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "9dfef39f.04b07",
+ "1eca4a68.a54256",
+ "5c220a8a.8bb5d4",
+ "d45072d8.ff4f2"
+ ]
+ ]
+ },
+ {
+ "id": "9dfef39f.04b07",
+ "type": "block",
+ "name": "Process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 668.1875305175781,
+ "y": 1012.6402835845947,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "1d460f76.6b0121",
+ "3f9c257f.09976a",
+ "cf4adfdb.527e8"
+ ]
+ ]
+ },
+ {
+ "id": "1d460f76.6b0121",
+ "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": 1014.4375152587891,
+ "y": 882.3901920318604,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f9c257f.09976a",
+ "type": "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": 973.9374961853027,
+ "y": 929.89026927948,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf4adfdb.527e8",
+ "type": "for",
+ "name": "foreach CUCP",
+ "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 990.6876220703125,
+ "y": 979.8902699947357,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "72c45b04.b2ef94"
+ ]
+ ]
+ },
+ {
+ "id": "72c45b04.b2ef94",
+ "type": "block",
+ "name": "block : process CUCP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1201.687515258789,
+ "y": 943.1401634216309,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "314f2d1a.529f02",
+ "e06b79b8.6820d8",
+ "81b16984.f2cb38",
+ "bdfe481a.42ab68"
+ ]
+ ]
+ },
+ {
+ "id": "314f2d1a.529f02",
+ "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": 1456.4376068115234,
+ "y": 673.2235641479492,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81b16984.f2cb38",
+ "type": "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": 1428.187614440918,
+ "y": 728.3901748657227,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bdfe481a.42ab68",
+ "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": 1465.4375228881836,
+ "y": 776.1401901245117,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e06b79b8.6820d8",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1440.4374923706055,
+ "y": 828.8902053833008,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "ef1f6a7.bae1e98"
+ ]
+ ]
+ },
+ {
+ "id": "ef1f6a7.bae1e98",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1655.4375343322754,
+ "y": 829.1402225494385,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "4893fd4c.c97634",
+ "5e59ad11.3f27f4",
+ "be1d09f1.402568"
+ ]
+ ]
+ },
+ {
+ "id": "4893fd4c.c97634",
+ "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": 1872.3964233398438,
+ "y": 767.79319190979,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be1d09f1.402568",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.4241485595703,
+ "y": 846.9874585866928,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "14a83fc5.38b7e"
+ ]
+ ]
+ },
+ {
+ "id": "14a83fc5.38b7e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2079.313056945801,
+ "y": 788.7652530670166,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "5b4f90d3.be9f1",
+ "f566b109.fab9f"
+ ]
+ ]
+ },
+ {
+ "id": "12ccaf71.e0cb81",
+ "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": 2429.7574768066406,
+ "y": 801.765248298645,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d169af7.66fc44",
+ "type": "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": 2288.5353813171387,
+ "y": 835.3207740783691,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c7428951.69d3b8",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.0908584594727,
+ "y": 876.5430021286011,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "dde832cf.9b10b"
+ ]
+ ]
+ },
+ {
+ "id": "dde832cf.9b10b",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2513.563056945801,
+ "y": 876.7653312683105,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "6e66f8ea.2a3528"
+ ]
+ ]
+ },
+ {
+ "id": "6e66f8ea.2a3528",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2734.1875,
+ "y": 874.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "49fa499d.9aabd8",
+ "7bf13c76.bcaf24",
+ "f664a3ac.f0f08",
+ "c4bcbc92.8e0eb",
+ "ee62242f.d6c0d8",
+ "1b0b697a.0ba307",
+ "5be6255d.c23f4c",
+ "28d485e8.b0ccda",
+ "b55ec00d.eb492"
+ ]
+ ]
+ },
+ {
+ "id": "b55ec00d.eb492",
+ "type": "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": 2929.1875,
+ "y": 869.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28d485e8.b0ccda",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2957.1875,
+ "y": 937.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "5ae3d18f.78d18",
+ "b07a80e4.fbc7f"
+ ]
+ ]
+ },
+ {
+ "id": "5ae3d18f.78d18",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3165.1875,
+ "y": 902.5205917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "54d1444e.77810c"
+ ]
+ ]
+ },
+ {
+ "id": "54d1444e.77810c",
+ "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": 3485.1875,
+ "y": 917.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c3a1d.3d2565e4",
+ "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": 3663.687530517578,
+ "y": 975.5207748413086,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f5de1942.50bcb8",
+ "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": 3607.687931060791,
+ "y": 1028.5209684371948,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "37f2d984.c90d56",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3356.6875,
+ "y": 1005.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "2c3a1d.3d2565e4",
+ "f5de1942.50bcb8"
+ ]
+ ]
+ },
+ {
+ "id": "b07a80e4.fbc7f",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3153.1875,
+ "y": 1004.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "37f2d984.c90d56"
+ ]
+ ]
+ },
+ {
+ "id": "49fa499d.9aabd8",
+ "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": 2924.1875,
+ "y": 1037.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee62242f.d6c0d8",
+ "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": 2951.1875,
+ "y": 1101.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1b0b697a.0ba307",
+ "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": 2912.187759399414,
+ "y": 1147.0208644866943,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5be6255d.c23f4c",
+ "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": 2877.9375610351562,
+ "y": 1228.7708921432495,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bf13c76.bcaf24",
+ "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": 2866.68798828125,
+ "y": 1289.020908355713,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f664a3ac.f0f08",
+ "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": 2863.1875,
+ "y": 1357.5208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c4bcbc92.8e0eb",
+ "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": 2903.1876068115234,
+ "y": 1420.520809173584,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "27c07b14.aa5b44",
+ "2fa1063b.c25faa"
+ ]
+ ]
+ },
+ {
+ "id": "2fa1063b.c25faa",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3119.18758392334,
+ "y": 1299.520809173584,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "58cf4168.4c4d5"
+ ]
+ ]
+ },
+ {
+ "id": "58cf4168.4c4d5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3269.187858581543,
+ "y": 1258.5209922790527,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "9d6d6ab1.5debe8",
+ "9ddfe5d5.c55268",
+ "ba0c411a.8cdd3"
+ ]
+ ]
+ },
+ {
+ "id": "9ddfe5d5.c55268",
+ "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": 3435.187614440918,
+ "y": 1224.5209922790527,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "9d6d6ab1.5debe8",
+ "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": 3440.1874923706055,
+ "y": 1319.521053314209,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "94e0d129.0fdb9",
+ "type": "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": 3525.1874618530273,
+ "y": 1412.5212364196777,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9ed2892f.1f9a18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3327.187400817871,
+ "y": 1415.5211143493652,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "94e0d129.0fdb9"
+ ]
+ ]
+ },
+ {
+ "id": "27c07b14.aa5b44",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3154.187614440918,
+ "y": 1416.521053314209,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "9ed2892f.1f9a18"
+ ]
+ ]
+ },
+ {
+ "id": "ae821b1.921dbe8",
+ "type": "execute",
+ "name": "read sNSSAI from input",
+ "xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 676.6875152587891,
+ "y": 237.33334159851074,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1eca4a68.a54256",
+ "type": "block",
+ "name": "Process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 669.1875534057617,
+ "y": 1154.5208616256714,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "38d81c5a.bc2314",
+ "be8ef331.7add2",
+ "cc43e294.5e5a1"
+ ]
+ ]
+ },
+ {
+ "id": "38d81c5a.bc2314",
+ "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": 1000.187557220459,
+ "y": 1054.5208587646484,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "be8ef331.7add2",
+ "type": "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": 957.1876220703125,
+ "y": 1105.7708611488342,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cc43e294.5e5a1",
+ "type": "for",
+ "name": "foreach CUUP",
+ "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 982.6875152587891,
+ "y": 1154.520860671997,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "492dd078.78c33"
+ ]
+ ]
+ },
+ {
+ "id": "492dd078.78c33",
+ "type": "block",
+ "name": "block : process CUUP",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1206.1875610351562,
+ "y": 1137.7709064483643,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "4dfb2d91.dcc074",
+ "678a98c7.514418",
+ "ea7544a.9f411b8",
+ "db274764.3a57a8"
+ ]
+ ]
+ },
+ {
+ "id": "4dfb2d91.dcc074",
+ "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": 1450.1875,
+ "y": 913.0208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "678a98c7.514418",
+ "type": "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": 1446.1875,
+ "y": 967.0208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ea7544a.9f411b8",
+ "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": 1497.1875,
+ "y": 1032.0208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db274764.3a57a8",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1483.1875,
+ "y": 1087.0208358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d31686c0.f517e8"
+ ]
+ ]
+ },
+ {
+ "id": "877eeca6.75ac",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1722.3125,
+ "y": 1084.2083358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "eeaf4165.feda1",
+ "6b312c26.a80804",
+ "cd218e05.7d456",
+ "622bbaea.f33c14",
+ "78e59d9d.c33774",
+ "bd62a74f.9bb7d8"
+ ]
+ ]
+ },
+ {
+ "id": "eeaf4165.feda1",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1935.562759399414,
+ "y": 1084.9584846496582,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "731fe436.29da5c",
+ "a4b5f682.7ef498"
+ ]
+ ]
+ },
+ {
+ "id": "731fe436.29da5c",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2148.562641143799,
+ "y": 1052.4581031799316,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "4b194bae.082724"
+ ]
+ ]
+ },
+ {
+ "id": "4b194bae.082724",
+ "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": 2473.5625228881836,
+ "y": 1007.4584074020386,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e3c3a5b7.a668c8",
+ "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": 2584.3120651245117,
+ "y": 1090.2081184387207,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "39292b24.adf9a4",
+ "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": 2568.3125858306885,
+ "y": 1158.208378791809,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dc8d7a0c.f2a648",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2308.562370300293,
+ "y": 1148.9581189155579,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "e3c3a5b7.a668c8",
+ "39292b24.adf9a4"
+ ]
+ ]
+ },
+ {
+ "id": "a4b5f682.7ef498",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2134.062515258789,
+ "y": 1138.2083778381348,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "dc8d7a0c.f2a648"
+ ]
+ ]
+ },
+ {
+ "id": "6b312c26.a80804",
+ "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": 2004.2221374511719,
+ "y": 1197.9930424690247,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cd218e05.7d456",
+ "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": 1953.5556335449219,
+ "y": 1311.6597137451172,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "3577e927.98b886",
+ "f1f2cc13.57bb5"
+ ]
+ ]
+ },
+ {
+ "id": "3577e927.98b886",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.0001525878906,
+ "y": 1274.7710752487183,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "5f118337.ca776c"
+ ]
+ ]
+ },
+ {
+ "id": "f1f2cc13.57bb5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.000030517578,
+ "y": 1341.771014213562,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "4cff2bc4.eb67d4"
+ ]
+ ]
+ },
+ {
+ "id": "5f118337.ca776c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2457.000274658203,
+ "y": 1263.7709531784058,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "c40e437c.48b9b",
+ "dcdfae5c.70649",
+ "ba0c411a.8cdd3"
+ ]
+ ]
+ },
+ {
+ "id": "4cff2bc4.eb67d4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2454.000030517578,
+ "y": 1346.7708311080933,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "36f7364a.fc377a"
+ ]
+ ]
+ },
+ {
+ "id": "36f7364a.fc377a",
+ "type": "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": 2606.999725341797,
+ "y": 1346.7710752487183,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c40e437c.48b9b",
+ "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": 2661.7502365112305,
+ "y": 1264.2712326049805,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "dcdfae5c.70649",
+ "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": 2666.7504234313965,
+ "y": 1210.2713685035706,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "5c220a8a.8bb5d4",
+ "type": "block",
+ "name": "Process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 663.5625076293945,
+ "y": 1302.958360671997,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "14894329.d4c5dd",
+ "80c2f591.526dc8",
+ "d7d73287.61c54"
+ ]
+ ]
+ },
+ {
+ "id": "14894329.d4c5dd",
+ "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": 996.3125305175781,
+ "y": 1208.9583473205566,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "80c2f591.526dc8",
+ "type": "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": 969.312557220459,
+ "y": 1252.458408355713,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d7d73287.61c54",
+ "type": "for",
+ "name": "foreach DU",
+ "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 981.3125305175781,
+ "y": 1303.7083358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "1bf6769a.ab3de9"
+ ]
+ ]
+ },
+ {
+ "id": "1bf6769a.ab3de9",
+ "type": "block",
+ "name": "block : process gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1262.3125,
+ "y": 1304.7083053588867,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "b643faf5.0f6df8",
+ "669c0196.ed1a1",
+ "24ead5e9.45a31a",
+ "cdb6a11f.b2f2"
+ ]
+ ]
+ },
+ {
+ "id": "b643faf5.0f6df8",
+ "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": 1541.3123245239258,
+ "y": 1300.707607269287,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "669c0196.ed1a1",
+ "type": "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": 1514.3123245239258,
+ "y": 1351.707607269287,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "24ead5e9.45a31a",
+ "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": 1555.3123245239258,
+ "y": 1400.707607269287,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cdb6a11f.b2f2",
+ "type": "for",
+ "name": "for cellDUList",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1545.3123245239258,
+ "y": 1444.707607269287,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "caa51c48.27933"
+ ]
+ ]
+ },
+ {
+ "id": "caa51c48.27933",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1705.062385559082,
+ "y": 1444.4577322006226,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "ed3c2dd4.71ea3",
+ "cb96b1d8.5390c",
+ "5e5993a3.45a0bc"
+ ]
+ ]
+ },
+ {
+ "id": "ed3c2dd4.71ea3",
+ "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": 1953.25,
+ "y": 1444.2083358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cb96b1d8.5390c",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1931.5833740234375,
+ "y": 1514.2083358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "b7028323.99161"
+ ]
+ ]
+ },
+ {
+ "id": "b7028323.99161",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2116.9721603393555,
+ "y": 1508.2360458374023,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "a8ebd475.71b368",
+ "e7ad6507.c74ba8"
+ ]
+ ]
+ },
+ {
+ "id": "6bb0e42e.de207c",
+ "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": 2469.527862548828,
+ "y": 1482.3199867010117,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9a3de28d.8599a",
+ "type": "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": 2342.8610763549805,
+ "y": 1525.2086557149887,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cb311bb.502cde",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2340.9999923706055,
+ "y": 1565.764167189598,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "eea090b0.6dd1"
+ ]
+ ]
+ },
+ {
+ "id": "eea090b0.6dd1",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2514.4724349975586,
+ "y": 1571.486488699913,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "43162b02.c88044"
+ ]
+ ]
+ },
+ {
+ "id": "43162b02.c88044",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2696.500129699707,
+ "y": 1523.4585590362549,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "36b43a22.55dae6",
+ "2d7ca551.93d8ba",
+ "c41ddf6b.bd392",
+ "83039ad5.422538",
+ "3caee8a.a546418",
+ "2fcffb5e.ddcec4",
+ "53568cff.53c7b4"
+ ]
+ ]
+ },
+ {
+ "id": "65644592.3fed8c",
+ "type": "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": 2909.0004959106445,
+ "y": 1492.2085591554642,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "36b43a22.55dae6",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2913.2500076293945,
+ "y": 1550.2085914611816,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d3e22b00.911878",
+ "2da3f392.bd7c5c"
+ ]
+ ]
+ },
+ {
+ "id": "d3e22b00.911878",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3122.500499725342,
+ "y": 1505.2081327438354,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "e1da9a3f.54a068"
+ ]
+ ]
+ },
+ {
+ "id": "2da3f392.bd7c5c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3117.500499725342,
+ "y": 1566.7088356018066,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "2a7d1bcc.ddaba4"
+ ]
+ ]
+ },
+ {
+ "id": "e1da9a3f.54a068",
+ "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": 3468.750259399414,
+ "y": 1503.958589553833,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a7d1bcc.ddaba4",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3295.0000762939453,
+ "y": 1573.2084693908691,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d9bda424.5ac268",
+ "5ca1e95f.65bcd8"
+ ]
+ ]
+ },
+ {
+ "id": "d9bda424.5ac268",
+ "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": 3577.000442504883,
+ "y": 1561.9584693908691,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ca1e95f.65bcd8",
+ "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": 3527.250747680664,
+ "y": 1622.4585008621216,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d7ca551.93d8ba",
+ "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": 2960.1250610351562,
+ "y": 1677.0207738876343,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c41ddf6b.bd392",
+ "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": 2933.125244140625,
+ "y": 1732.020775794983,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83039ad5.422538",
+ "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": 2913.1249389648438,
+ "y": 1795.0210819244385,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3caee8a.a546418",
+ "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": 2915.1251831054688,
+ "y": 1853.0207147598267,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2fcffb5e.ddcec4",
+ "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": 2920.1248168945312,
+ "y": 1921.0212059020996,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "53568cff.53c7b4",
+ "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": 2977.1248474121094,
+ "y": 1996.2705917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "dc6e3002.bdc36",
+ "77d96617.088668"
+ ]
+ ]
+ },
+ {
+ "id": "77d96617.088668",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3244.1248474121094,
+ "y": 1896.2705917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "3e4c5836.48f4a8"
+ ]
+ ]
+ },
+ {
+ "id": "3e4c5836.48f4a8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3402.1250915527344,
+ "y": 1844.2705917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "21151fa3.7d9be",
+ "ce16670f.38e568",
+ "ba0c411a.8cdd3"
+ ]
+ ]
+ },
+ {
+ "id": "ce16670f.38e568",
+ "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": 3568.1248474121094,
+ "y": 1810.2705917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "21151fa3.7d9be",
+ "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": 3573.124725341797,
+ "y": 1905.270652770996,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "7d0f876a.954ee8",
+ "type": "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": 3557.124725341797,
+ "y": 1991.2708358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a02cc11f.5b8c5",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3411.1248474121094,
+ "y": 1992.2705943584442,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "7d0f876a.954ee8"
+ ]
+ ]
+ },
+ {
+ "id": "dc6e3002.bdc36",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3243.1248474121094,
+ "y": 1995.2705917358398,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "a02cc11f.5b8c5"
+ ]
+ ]
+ },
+ {
+ "id": "9bf50fcf.d38c7",
+ "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": 624.8125305175781,
+ "y": 635.7708473205566,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7dbdec74.d022b4",
+ "type": "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": 598.3125305175781,
+ "y": 691.2708787918091,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2a793d99.38e0f2",
+ "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": 667.0625152587891,
+ "y": 744.7708148956299,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0cc41ce.60ab5",
+ "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": 620.0625076293945,
+ "y": 783.8820562362671,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "645027fe.65dd88",
+ "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": 1179.534782409668,
+ "y": 762.9099258184433,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8befbcbf.5b71f",
+ "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": 1190.201530456543,
+ "y": 800.6876357793808,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bcc092a7.423ba",
+ "type": "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": 591.4171524047852,
+ "y": 894.4588203430176,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ba0c411a.8cdd3",
+ "type": "block",
+ "name": "block : SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 4046.0625,
+ "y": 1642.8244247436523,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "b63b2f62.39c3f",
+ "f93b95ea.20bfa8",
+ "2c8e20c7.f0edc"
+ ]
+ ]
+ },
+ {
+ "id": "b63b2f62.39c3f",
+ "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": 4425.206283569336,
+ "y": 1500.4384117126465,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "f93b95ea.20bfa8",
+ "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": 4428.776741027832,
+ "y": 1566.1104984283447,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2c8e20c7.f0edc",
+ "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": 4355.205307006836,
+ "y": 1644.5390729904175,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "940e2483.e3e8c8",
+ "ad4b1799.fbea48"
+ ]
+ ]
+ },
+ {
+ "id": "940e2483.e3e8c8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4592.633865356445,
+ "y": 1627.2531242370605,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "8e1d126d.ac778"
+ ]
+ ]
+ },
+ {
+ "id": "8e1d126d.ac778",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4785.062232971191,
+ "y": 1617.9675617218018,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "cdf399af.f35138"
+ ]
+ ]
+ },
+ {
+ "id": "cdf399af.f35138",
+ "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": 4986.7761154174805,
+ "y": 1606.681673526764,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "13c9b0a1.3a6b8f",
+ "type": "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": 4980.91939163208,
+ "y": 1681.681739807129,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "72560d59.664084",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 4796.919242858887,
+ "y": 1687.1101818084717,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "13c9b0a1.3a6b8f"
+ ]
+ ]
+ },
+ {
+ "id": "ad4b1799.fbea48",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 4586.919189453125,
+ "y": 1690.967420578003,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "72560d59.664084"
+ ]
+ ]
+ },
+ {
+ "id": "79849f4d.ba4fb",
+ "type": "block",
+ "name": "SO Response",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 593.5625,
+ "y": 1619.9672470092773,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "5840b378.812dec",
+ "21cae3c8.23eb2c",
+ "9a28ea9e.33e778",
+ "a531fbb8.d88138"
+ ]
+ ]
+ },
+ {
+ "id": "9a28ea9e.33e778",
+ "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": 873.5636444091797,
+ "y": 1469.8667316436768,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "5840b378.812dec",
+ "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": 870.5624771118164,
+ "y": 1623.967430114746,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "21cae3c8.23eb2c",
+ "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": 739.5625762939453,
+ "y": 1740.967134475708,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "ec60c32b.e8fde",
+ "87902a94.ed48f8"
+ ]
+ ]
+ },
+ {
+ "id": "ec60c32b.e8fde",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 904.5625762939453,
+ "y": 1720.9671335220337,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "b75ef1c9.2d841"
+ ]
+ ]
+ },
+ {
+ "id": "87902a94.ed48f8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.5624694824219,
+ "y": 1793.9670839309692,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d4bc837e.c401b"
+ ]
+ ]
+ },
+ {
+ "id": "d4bc837e.c401b",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1042.562313079834,
+ "y": 1798.9671926498413,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "8053b1c1.88dec"
+ ]
+ ]
+ },
+ {
+ "id": "b75ef1c9.2d841",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1053.5624771118164,
+ "y": 1716.9672689437866,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d789e968.ffca18",
+ "f95caf5d.145bc"
+ ]
+ ]
+ },
+ {
+ "id": "d789e968.ffca18",
+ "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": 1200.5620956420898,
+ "y": 1727.9670104980469,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "8053b1c1.88dec",
+ "type": "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": 1203.5622329711914,
+ "y": 1804.9670848846436,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f95caf5d.145bc",
+ "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": 1188.0727043151855,
+ "y": 1631.9565019607544,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "a531fbb8.d88138",
+ "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": 892.902099609375,
+ "y": 1559.9525842666626,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "18abfe8a.745ce1",
+ "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": 251.0625,
+ "y": 1136.3958358764648,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "1d7c779.9961388",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 620.0555038452148,
+ "y": 927.0555057525635,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ed5868f.f491f8",
+ "type": "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": 1834.4999084472656,
+ "y": 718.7223663330078,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8f30e9a0.d5de98",
+ "type": "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": 1834.4999465942383,
+ "y": 809.8333759307861,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7b689155.9fc4c",
+ "type": "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": 2294.4998474121094,
+ "y": 757.0555419921875,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c351706e.4f93e",
+ "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": 766.9999923706055,
+ "y": 959.5554752349854,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d45072d8.ff4f2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 574.7777404785156,
+ "y": 976.22216796875,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "c351706e.4f93e"
+ ]
+ ]
+ },
+ {
+ "id": "622bbaea.f33c14",
+ "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": 1963.6665954589844,
+ "y": 1161.7777709960938,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "78e59d9d.c33774",
+ "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": 1960.3332214355469,
+ "y": 1238.4443969726562,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bd62a74f.9bb7d8",
+ "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": 1956.9998474121094,
+ "y": 1271.7777709960938,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "99fec0b9.59324",
+ "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": 2029.8334197998047,
+ "y": 976.0000327825546,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "feb11fb4.5c233",
+ "type": "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": 1886.7226104736328,
+ "y": 1015.7778028249741,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1ee518f4.3703a7",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1889.9445724487305,
+ "y": 1050.8889030218124,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "ad97d09b.d9b81",
+ "74682f4.88912d"
+ ]
+ ]
+ },
+ {
+ "id": "ad97d09b.d9b81",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2072.6391792297363,
+ "y": 1021.0001081228256,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "877eeca6.75ac"
+ ]
+ ]
+ },
+ {
+ "id": "d31686c0.f517e8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1688.9443054199219,
+ "y": 1003.9999389648438,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "67b665a2.331eec",
+ "5ef72d3c.9ae7f4",
+ "cdf049ac.feb428"
+ ]
+ ]
+ },
+ {
+ "id": "74682f4.88912d",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2207.277576446533,
+ "y": 1013.6666425466537,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d151840a.328298"
+ ]
+ ]
+ },
+ {
+ "id": "d151840a.328298",
+ "type": "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": 2402.2777366638184,
+ "y": 960.6665964126587,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e59ad11.3f27f4",
+ "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": 1853.3888397216797,
+ "y": 666.2221784591675,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5e5993a3.45a0bc",
+ "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": 1932.5555114746094,
+ "y": 1369.5554809570312,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "20afd842.3f1de8",
+ "type": "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": 1931.930191040039,
+ "y": 1404.8678617477417,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "489e706d.876b8",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 636.1666641235352,
+ "y": 413.99998235702515,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "9dec79ec.1ddf18",
+ "7b034b5d.674d34"
+ ]
+ ]
+ },
+ {
+ "id": "9dec79ec.1ddf18",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 863.6666603088379,
+ "y": 359.55558586120605,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d83cf369.95ae1"
+ ]
+ ]
+ },
+ {
+ "id": "7b034b5d.674d34",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 865.8888053894043,
+ "y": 418.44447326660156,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "5e609cab.422fe4"
+ ]
+ ]
+ },
+ {
+ "id": "bf8612b3.1320c",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1318.1112327575684,
+ "y": 329.55554962158203,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "d30c222f.3f273",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1292.555576324463,
+ "y": 362.8889036178589,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "d83cf369.95ae1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1073.666660308838,
+ "y": 347.33329582214355,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "bf8612b3.1320c"
+ ]
+ ]
+ },
+ {
+ "id": "5e609cab.422fe4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1070.3334045410156,
+ "y": 404.00002431869507,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "d30c222f.3f273"
+ ]
+ ]
+ },
+ {
+ "id": "9a583c38.6dc94",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 640.25,
+ "y": 845.083337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "181277b9.3d57a8",
+ "2ad10952.0b36d6"
+ ]
+ ]
+ },
+ {
+ "id": "181277b9.3d57a8",
+ "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": 901.5224990844727,
+ "y": 727.595640540123,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ad10952.0b36d6",
+ "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": 931.9770889282227,
+ "y": 774.6410812139511,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ },
+ {
+ "id": "5b4f90d3.be9f1",
+ "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": 2292,
+ "y": 684.333337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f566b109.fab9f",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2300,
+ "y": 724.333337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "a4bdc694.fd89b8"
+ ]
+ ]
+ },
+ {
+ "id": "a4bdc694.fd89b8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2493.25,
+ "y": 726.833337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "12ccaf71.e0cb81",
+ "7d169af7.66fc44",
+ "c7428951.69d3b8"
+ ]
+ ]
+ },
+ {
+ "id": "67b665a2.331eec",
+ "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": 1925.999984741211,
+ "y": 876.5833905935287,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ef72d3c.9ae7f4",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1912.0000228881836,
+ "y": 934.5833915472031,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "cc91ffeb.d4c58"
+ ]
+ ]
+ },
+ {
+ "id": "cc91ffeb.d4c58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2121.2499923706055,
+ "y": 931.0833915472031,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "99fec0b9.59324",
+ "feb11fb4.5c233",
+ "1ee518f4.3703a7"
+ ]
+ ]
+ },
+ {
+ "id": "a8ebd475.71b368",
+ "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": 2314,
+ "y": 1377.583337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e7ad6507.c74ba8",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2322,
+ "y": 1417.583337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "fc3b7366.ff8fa"
+ ]
+ ]
+ },
+ {
+ "id": "fc3b7366.ff8fa",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2515.25,
+ "y": 1420.083337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ [
+ "6bb0e42e.de207c",
+ "9a3de28d.8599a",
+ "2cb311bb.502cde"
+ ]
+ ]
+ },
+ {
+ "id": "cdf049ac.feb428",
+ "type": "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": 1926.25,
+ "y": 904.083337187767,
+ "z": "49ebb481.a8edbc",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e59e1ba8.c4d548",
+ "type": "comment",
+ "name": "activateRANSliceInstance-configdb",
+ "info": "",
+ "comments": "",
+ "x": 350.3333320617676,
+ "y": 66.66666793823242,
+ "z": "49ebb481.a8edbc",
+ "wires": []
+ }
+]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json index 80a62b66..056b9335 100644 --- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance-cps.json @@ -1,20 +1,20 @@ [
{
- "id": "a6cabde9.61956",
+ "id": "95c70e7.58c8ef",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 164.00000381469727,
- "y": 600.9999980926514,
- "z": "f3e1d289.cac95",
+ "x": 96.88184356689453,
+ "y": 82.3956356048584,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "328d40d0.197ce"
+ "e1f9105d.13986"
]
]
},
{
- "id": "328d40d0.197ce",
+ "id": "e1f9105d.13986",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -22,3807 +22,4336 @@ "comments": "",
"xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
"outputs": 1,
- "x": 260.00002670288086,
- "y": 690.9999904632568,
- "z": "f3e1d289.cac95",
+ "x": 130.38186645507812,
+ "y": 132.39564323425293,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b84b2858.60f378"
+ "8e8298cc.c09598"
]
]
},
{
- "id": "b84b2858.60f378",
+ "id": "8e8298cc.c09598",
"type": "method",
"name": "method",
- "xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
+ "xml": "<method rpc='activateRANSliceInstance-cps' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 194.00000381469727,
- "y": 750.9999561309814,
- "z": "f3e1d289.cac95",
+ "x": 65.6318473815918,
+ "y": 178.64560413360596,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "892ae408.5068c8"
+ "ed9dab05.de8a68"
]
]
},
{
- "id": "892ae408.5068c8",
+ "id": "ed9dab05.de8a68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 122.50003051757812,
- "y": 975.5000610351562,
- "z": "f3e1d289.cac95",
+ "x": 77.63187408447266,
+ "y": 239.39573574066162,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "c48152e0.42c3a",
- "c50cf103.ec45d",
- "92f87327.58a7f",
- "47fba020.d6181",
- "322b31cf.1ee57e",
- "7fe08e14.e069a",
- "7aec3d2c.379dd4",
- "1f3d7d4e.c118f3",
- "565d0f86.e63b6",
- "25ec2edb.5190e2",
- "6018a94e.523c68",
- "37f8ca4b.bc4116",
- "f7cfb69b.9c27d8",
- "116c7858.aac138",
- "d7780e63.dfef7",
- "940dfe19.cae3c",
- "f07e8ef0.f0f35",
- "23542b05.dc2d04",
- "ab179ac7.711488",
- "40671fa8.d6f66",
- "2fe6cae9.b1b516",
- "3c2d99e7.498126"
+ "df3d2f1.c7e96d",
+ "d6dd23bd.5b61b",
+ "93b6b291.9ca64",
+ "9dc2bbb1.b44d58",
+ "3071307c.da0b5",
+ "15ce4b71.e55e85",
+ "78da1475.d3007c",
+ "5bb2aaaa.a1c004",
+ "57d081f6.1550f",
+ "30d88206.5186ce",
+ "5b070d4f.ba4224",
+ "943061f0.4e102",
+ "f2419320.09df3",
+ "502d98d2.d90ed8",
+ "f75875bc.e60838",
+ "fda5b8e3.401108",
+ "8827e1d9.45f51",
+ "e94238f1.b229a8",
+ "6fd3bcdd.a52654",
+ "ffa67fb0.23902"
]
]
},
{
- "id": "fdf4ad99.2cfdf",
+ "id": "4acf7054.5614e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1068.0681457519531,
- "y": 1333.0680770874023,
- "z": "f3e1d289.cac95",
+ "x": 1914.9500541687012,
+ "y": 324.46380043029785,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d803a559.e3a978"
+ "752ffba5.85b694"
]
]
},
{
- "id": "d803a559.e3a978",
+ "id": "752ffba5.85b694",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1269.0680656433105,
- "y": 1320.0682487487793,
- "z": "f3e1d289.cac95",
+ "x": 2123.950019836426,
+ "y": 295.463942527771,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "f7e28921.7b5d18",
- "10de8a80.d7e346"
+ "79943c49.324f24",
+ "489927c3.d77758"
]
]
},
{
- "id": "34d78223.0c58ce",
+ "id": "702eeca0.2cc214",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1125.068063735962,
- "y": 1269.068247795105,
- "z": "f3e1d289.cac95",
+ "x": 1937.9500179290771,
+ "y": 270.463942527771,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "805528d9.829e58"
+ "5b7ea02.684756"
]
]
},
{
- "id": "805528d9.829e58",
+ "id": "5b7ea02.684756",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1305.068229675293,
- "y": 1237.0682458877563,
- "z": "f3e1d289.cac95",
+ "x": 2160.8073806762695,
+ "y": 222.74963569641113,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "41b2c593.f9442c",
- "3f7b61b1.4ea72e"
+ "a4a91d4d.50e97",
+ "e81bf9b2.45d948"
]
]
},
{
- "id": "c48152e0.42c3a",
+ "id": "df3d2f1.c7e96d",
"type": "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": 585.0000228881836,
- "y": 630.0000076293945,
- "z": "f3e1d289.cac95",
+ "x": 465.3819465637207,
+ "y": 62.64565467834473,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "c50cf103.ec45d",
+ "id": "d6dd23bd.5b61b",
"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": 828.9997596740723,
- "y": 609.0000267028809,
- "z": "f3e1d289.cac95",
+ "x": 473.54835510253906,
+ "y": 105.8123426437378,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "92f87327.58a7f",
+ "id": "93b6b291.9ca64",
"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": 833.9997596740723,
- "y": 649.7500076293945,
- "z": "f3e1d289.cac95",
+ "x": 441.88169860839844,
+ "y": 142.3956708908081,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "9f092da5.e65fd"
+ "abc9fd1d.415f9"
]
]
},
{
- "id": "47fba020.d6181",
+ "id": "9dc2bbb1.b44d58",
"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": 795.6385917663574,
- "y": 725.7395677566528,
- "z": "f3e1d289.cac95",
+ "x": 371.02053451538086,
+ "y": 210.88522720336914,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "322b31cf.1ee57e",
+ "id": "3071307c.da0b5",
"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": 813.527587890625,
- "y": 762.7499856948853,
- "z": "f3e1d289.cac95",
+ "x": 367.6595344543457,
+ "y": 241.64564514160156,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "7fe08e14.e069a",
+ "id": "15ce4b71.e55e85",
"type": "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": 776.5832538604736,
- "y": 802.1945266723633,
- "z": "f3e1d289.cac95",
+ "x": 320.7151985168457,
+ "y": 278.5901870727539,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9f092da5.e65fd",
+ "id": "abc9fd1d.415f9",
"type": "other",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1114.9442176818848,
- "y": 651.8611936569214,
- "z": "f3e1d289.cac95",
+ "x": 630.3261032104492,
+ "y": 139.50684070587158,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "5fbd9f7f.48db9"
+ "3e1f0500.f3b97a"
]
]
},
{
- "id": "5fbd9f7f.48db9",
+ "id": "3e1f0500.f3b97a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1369.5000381469727,
- "y": 656.4999942779541,
- "z": "f3e1d289.cac95",
+ "x": 777.3819198608398,
+ "y": 139.14565181732178,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "a5837cca.c9d93",
- "4ab67361.c7254c"
+ "fe6014d7.6eec38",
+ "bc1fccf9.055a8"
]
]
},
{
- "id": "a5837cca.c9d93",
+ "id": "fe6014d7.6eec38",
"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": 1531.50004196167,
- "y": 624.0000343322754,
- "z": "f3e1d289.cac95",
+ "x": 920.6319313049316,
+ "y": 62.895681381225586,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "4ab67361.c7254c",
+ "id": "bc1fccf9.055a8",
"type": "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": 1546.75004196167,
- "y": 688.0000457763672,
- "z": "f3e1d289.cac95",
+ "x": 932.1320114135742,
+ "y": 108.14570331573486,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "7aec3d2c.379dd4",
+ "id": "78da1475.d3007c",
"type": "for",
"name": "foreach NearRTRIC",
"xml": "<for index='idy' start='0' end='`$tmp.RICList_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 175.9376106262207,
- "y": 2244.875436782837,
- "z": "f3e1d289.cac95",
+ "x": 263.81949615478516,
+ "y": 680.7712259292603,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "8d86a77c.2c5b58",
- "6c75da5f.7f31b4",
- "f1418956.9bf3f8",
- "9f973845.f5fb18"
+ "e5dad442.590288",
+ "86971335.10406",
+ "7d131d1.099c9e4",
+ "6c1fe22f.5d431c"
]
]
},
{
- "id": "8d86a77c.2c5b58",
+ "id": "e5dad442.590288",
"type": "block",
"name": "Process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 358.187557220459,
- "y": 2157.307029724121,
- "z": "f3e1d289.cac95",
+ "x": 520.5416717529297,
+ "y": 773.5086193084717,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "a5b3b0a6.0cef1",
- "58c76ee2.8c12a",
- "565ecb56.fe78a4"
+ "aa3e346e.d33788",
+ "4f1c2802.a2c3b8",
+ "36aa05a7.da2c8a"
]
]
},
{
- "id": "a5b3b0a6.0cef1",
+ "id": "aa3e346e.d33788",
"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 ",
+ "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-cps-response.[' + $idy +'].GNBCUCPFunction_length'`\" />\n \n ",
"comments": "",
"outputs": 1,
- "x": 936.4375343322754,
- "y": 1955.0570278167725,
- "z": "f3e1d289.cac95",
+ "x": 756.6527862548828,
+ "y": 729.2307834625244,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "58c76ee2.8c12a",
+ "id": "4f1c2802.a2c3b8",
"type": "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": 885.9375305175781,
- "y": 1994.5570240020752,
- "z": "f3e1d289.cac95",
+ "x": 743.0417022705078,
+ "y": 765.841869354248,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "565ecb56.fe78a4",
+ "id": "36aa05a7.da2c8a",
"type": "for",
"name": "foreach CUCP",
"xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 836.6876945495605,
- "y": 2034.5570249557495,
- "z": "f3e1d289.cac95",
+ "x": 746.4306640625,
+ "y": 803.0085868835449,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "4b6e468c.a45a78"
+ "cc19896b.9316a8"
]
]
},
{
- "id": "4b6e468c.a45a78",
+ "id": "cc19896b.9316a8",
"type": "block",
"name": "block : process CUCP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1449.6875381469727,
- "y": 1575.8068714141846,
- "z": "f3e1d289.cac95",
+ "x": 975.3197021484375,
+ "y": 791.9526290893555,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d7875195.981e3",
- "61e70d08.812174",
- "80501239.f246b",
- "6246ea6b.c0bd24"
+ "18568cda.8bd573",
+ "81a8517.3d22cb",
+ "c1cc5a77.3d8b48",
+ "4bbd9c8d.84d4f4"
]
]
},
{
- "id": "d7875195.981e3",
+ "id": "c1cc5a77.3d8b48",
"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'`\" />",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`\" />",
"comments": "",
"outputs": 1,
- "x": 1626.437915802002,
- "y": 1375.890323638916,
- "z": "f3e1d289.cac95",
+ "x": 1199.6061782836914,
+ "y": 661.8219337463379,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "80501239.f246b",
+ "id": "4bbd9c8d.84d4f4",
"type": "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",
+ "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1633.187915802002,
- "y": 1412.0568284988403,
- "z": "f3e1d289.cac95",
+ "x": 1187.8003578186035,
+ "y": 701.2147579193115,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "6246ea6b.c0bd24",
- "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": 1681.4377479553223,
- "y": 1448.8069925308228,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "61e70d08.812174",
- "type": "for",
- "name": "for cellCUList",
- "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1761.4377555847168,
- "y": 1487.556993484497,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "2dd5e85d.ba4808"
- ]
- ]
- },
- {
- "id": "2dd5e85d.ba4808",
+ "id": "e746e6da.878328",
"type": "block",
"name": "block",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1737.4375915527344,
- "y": 1293.8069076538086,
- "z": "f3e1d289.cac95",
+ "x": 1838.3200569152832,
+ "y": 841.4527130126953,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "11e866bc.a36379",
- "6eef273f.bcc7d8",
- "1193485c.4c1df8"
+ "81d7a323.b56df",
+ "620f1e83.d0ab5",
+ "8976523.23750b"
]
]
},
{
- "id": "11e866bc.a36379",
- "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": 1950.396427154541,
- "y": 1304.4598770141602,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "1193485c.4c1df8",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1950.4241523742676,
- "y": 1383.654143691063,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "6027ccc1.599c64"
- ]
- ]
- },
- {
- "id": "6027ccc1.599c64",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2157.313060760498,
- "y": 1325.4319381713867,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "6841431c.020a2c",
- "d5f12d4.b35f5d"
- ]
- ]
- },
- {
- "id": "f89ba912.658ee8",
- "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": 2507.757480621338,
- "y": 1338.4319334030151,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "236f0778.82ee78",
- "type": "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": 2366.535385131836,
- "y": 1371.9874591827393,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "482f3d28.6fce24",
- "type": "switchNode",
- "name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2402.09086227417,
- "y": 1413.2096872329712,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "314540b4.d9596"
- ]
- ]
- },
- {
- "id": "314540b4.d9596",
+ "id": "b7df5836.9108e8",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2591.563060760498,
- "y": 1413.4320163726807,
- "z": "f3e1d289.cac95",
+ "x": 3843.195514678955,
+ "y": 222.32809734344482,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "4da9126a.38fd6c"
+ "a1494fe4.00698"
]
]
},
{
- "id": "4da9126a.38fd6c",
+ "id": "a1494fe4.00698",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2812.1875038146973,
- "y": 1411.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4043.820827484131,
+ "y": 218.83343124389648,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "144c0d6c.475c83",
- "e0c4707d.c49b2",
- "929f1660.c602d8",
- "98aa87d6.4b06f8",
- "1d092783.beac68",
- "9c61d72a.ad90e8",
- "42776786.fd3808",
- "718ada55.b927e4",
- "16b6bcd5.9eea13"
+ "22e9468a.0e257a",
+ "fb2dabf5.ed6fe8",
+ "4b6128c2.4c24b8",
+ "b8127211.053fb",
+ "17b27343.be6c0d",
+ "d15eb1c8.39dea",
+ "d087542d.076468",
+ "b79bf9ad.5f4ab8",
+ "c059f5ad.df7838"
]
]
},
{
- "id": "16b6bcd5.9eea13",
+ "id": "c059f5ad.df7838",
"type": "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": 3007.1875038146973,
- "y": 1406.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4284.653644561768,
+ "y": 43,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "718ada55.b927e4",
+ "id": "b79bf9ad.5f4ab8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 3035.1875038146973,
- "y": 1474.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4310.689121246338,
+ "y": 123.857102394104,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "be69c7b2.ecbb98",
- "c8289e15.16118"
+ "a58461a4.e7287",
+ "4ec45d3a.ef5ff4"
]
]
},
{
- "id": "be69c7b2.ecbb98",
+ "id": "a58461a4.e7287",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3243.1875038146973,
- "y": 1439.18727684021,
- "z": "f3e1d289.cac95",
+ "x": 4500.653652191162,
+ "y": 62.249762535095215,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "75410775.cfb988"
+ "e077b3e4.efcde"
]
]
},
{
- "id": "75410775.cfb988",
+ "id": "e077b3e4.efcde",
"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": 3563.1875038146973,
- "y": 1454.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4820.653652191162,
+ "y": 77.25000667572021,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "386279e7.5d56d6",
+ "id": "5dc75231.0b7e0c",
"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": 3741.6875343322754,
- "y": 1512.1874599456787,
- "z": "f3e1d289.cac95",
+ "x": 4999.15368270874,
+ "y": 135.24994564056396,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "ab8ef5cd.afcc88",
+ "id": "5c8f53c3.234a5c",
"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": 3685.6879348754883,
- "y": 1565.187653541565,
- "z": "f3e1d289.cac95",
+ "x": 4943.154083251953,
+ "y": 188.2501392364502,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "69c917f4.e1dae8",
+ "id": "8f54751c.a99438",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3434.6875038146973,
- "y": 1542.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4692.153652191162,
+ "y": 165.25000667572021,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "386279e7.5d56d6",
- "ab8ef5cd.afcc88"
+ "5dc75231.0b7e0c",
+ "5c8f53c3.234a5c"
]
]
},
{
- "id": "c8289e15.16118",
+ "id": "4ec45d3a.ef5ff4",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3231.1875038146973,
- "y": 1541.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4488.653652191162,
+ "y": 164.25000667572021,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "69c917f4.e1dae8"
+ "8f54751c.a99438"
]
]
},
{
- "id": "144c0d6c.475c83",
+ "id": "22e9468a.0e257a",
"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'`\" />",
+ "name": "read NRCellCUID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellCUID' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].idNRCellCU'`\" />",
"comments": "",
"outputs": 1,
- "x": 3002.1875038146973,
- "y": 1574.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4329.653694152832,
+ "y": 188.4999418258667,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "1d092783.beac68",
+ "id": "17b27343.be6c0d",
"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": 3029.1875038146973,
- "y": 1638.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4357.903697967529,
+ "y": 256.2499442100525,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9c61d72a.ad90e8",
+ "id": "d15eb1c8.39dea",
"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",
+ "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.NRCellCUID`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2990.1877632141113,
- "y": 1683.6875495910645,
- "z": "f3e1d289.cac95",
+ "x": 4329.975582122803,
+ "y": 309.96420669555664,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "42776786.fd3808",
+ "id": "d087542d.076468",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
"comments": "",
"outputs": 1,
- "x": 2955.9375648498535,
- "y": 1765.4375772476196,
- "z": "f3e1d289.cac95",
+ "x": 4294.653694152832,
+ "y": 371.00015354156494,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "e0c4707d.c49b2",
+ "id": "fb2dabf5.ed6fe8",
"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": 2944.6879920959473,
- "y": 1825.687593460083,
- "z": "f3e1d289.cac95",
+ "x": 4248.404178619385,
+ "y": 443.7500286102295,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "929f1660.c602d8",
+ "id": "4b6128c2.4c24b8",
"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",
+ "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.NRCellCUID`\"/>\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": 2941.1875038146973,
- "y": 1894.187520980835,
- "z": "f3e1d289.cac95",
+ "x": 4244.903690338135,
+ "y": 512.2499561309814,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "98aa87d6.4b06f8",
+ "id": "b8127211.053fb",
"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": 2981.1876106262207,
- "y": 1957.187494277954,
- "z": "f3e1d289.cac95",
+ "x": 4284.903797149658,
+ "y": 575.2499294281006,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "5c3d555a.0929bc",
- "51bee1f.57d932"
+ "476edc59.845cb4",
+ "576a9748.dbfd78"
]
]
},
{
- "id": "51bee1f.57d932",
+ "id": "576a9748.dbfd78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3197.187587738037,
- "y": 1836.187494277954,
- "z": "f3e1d289.cac95",
+ "x": 4523.403705596924,
+ "y": 495.4999542236328,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "932fbc1d.aa065"
+ "4fb42142.49b34"
]
]
},
{
- "id": "932fbc1d.aa065",
+ "id": "4fb42142.49b34",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3347.1878623962402,
- "y": 1795.1876773834229,
- "z": "f3e1d289.cac95",
+ "x": 4673.403980255127,
+ "y": 454.50013732910156,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "1e08b47a.bdaa2c",
- "b1cac050.4be82",
- "41b2c593.f9442c"
+ "651094c1.f5173c",
+ "4a09a4a6.6433fc",
+ "a4a91d4d.50e97"
]
]
},
{
- "id": "b1cac050.4be82",
+ "id": "4a09a4a6.6433fc",
"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": 3513.1876182556152,
- "y": 1761.1876773834229,
- "z": "f3e1d289.cac95",
+ "x": 4839.403736114502,
+ "y": 420.50013732910156,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "1e08b47a.bdaa2c",
+ "id": "651094c1.f5173c",
"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": 3518.1874961853027,
- "y": 1856.187738418579,
- "z": "f3e1d289.cac95",
+ "x": 4844.403614044189,
+ "y": 515.5001983642578,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "157fc176.66457f",
+ "id": "2329c419.3e9e0c",
"type": "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": 3603.1874656677246,
- "y": 1949.1879215240479,
- "z": "f3e1d289.cac95",
+ "x": 4929.403583526611,
+ "y": 608.5003814697266,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "e5f05fdd.286e7",
+ "id": "4822c81c.ef54d8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3405.1874046325684,
- "y": 1952.1877994537354,
- "z": "f3e1d289.cac95",
+ "x": 4731.403522491455,
+ "y": 611.5002593994141,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "157fc176.66457f"
+ "2329c419.3e9e0c"
]
]
},
{
- "id": "5c3d555a.0929bc",
+ "id": "476edc59.845cb4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3232.1876182556152,
- "y": 1953.187738418579,
- "z": "f3e1d289.cac95",
+ "x": 4558.403736114502,
+ "y": 612.5001983642578,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "e5f05fdd.286e7"
+ "4822c81c.ef54d8"
]
]
},
{
- "id": "1f3d7d4e.c118f3",
+ "id": "5bb2aaaa.a1c004",
"type": "execute",
"name": "read sNSSAI from input",
"xml": "<set>\n<parameter name='tmp.sNSSAI' value=\"`$payloadJson.input.sNSSAI`\" />\n",
"comments": "",
"outputs": 1,
- "x": 830.6875038146973,
- "y": 687.0000438690186,
- "z": "f3e1d289.cac95",
+ "x": 417.3194465637207,
+ "y": 177.14570236206055,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "6c75da5f.7f31b4",
+ "id": "86971335.10406",
"type": "block",
"name": "Process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 671.1876029968262,
- "y": 2145.1875133514404,
- "z": "f3e1d289.cac95",
+ "x": 504.92671966552734,
+ "y": 887.6826167106628,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "7175f605.095b58",
- "ff0b7d4a.11c95",
- "a9e59ae6.04d928"
+ "ce112c26.9be4e",
+ "2f9ef6cf.023c5a",
+ "400c2b43.c6f694"
]
]
},
{
- "id": "7175f605.095b58",
+ "id": "ce112c26.9be4e",
"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 ",
+ "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-cps-response.[' + $idy +'].GNBCUUPFunction_length'`\" />\n ",
"comments": "",
"outputs": 1,
- "x": 1102.1876907348633,
- "y": 2017.1875610351562,
- "z": "f3e1d289.cac95",
+ "x": 737.2919464111328,
+ "y": 868.6947364807129,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "ff0b7d4a.11c95",
+ "id": "2f9ef6cf.023c5a",
"type": "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",
+ "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 CUUP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1069.1876945495605,
- "y": 2056.437562942505,
- "z": "f3e1d289.cac95",
+ "x": 717.6251983642578,
+ "y": 906.8335733413696,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "a9e59ae6.04d928",
+ "id": "400c2b43.c6f694",
"type": "for",
"name": "foreach CUUP",
"xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1050.6875305175781,
- "y": 2097.187562942505,
- "z": "f3e1d289.cac95",
+ "x": 726.0138702392578,
+ "y": 959.5837697982788,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "513db610.55b838"
+ "1c0896e8.18f0c9"
]
]
},
{
- "id": "513db610.55b838",
+ "id": "1c0896e8.18f0c9",
"type": "block",
"name": "block : process CUUP",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1312.1875381469727,
- "y": 1986.4376754760742,
- "z": "f3e1d289.cac95",
+ "x": 977.006233215332,
+ "y": 915.4520959854126,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "526ca756.1782d8",
- "43e13082.1c5f9",
- "f15ae3e.214cc2",
- "d8bf6d28.beec6"
+ "27c6d4f8.5cc7cc",
+ "b482c11e.e4bb",
+ "b52aad42.9063",
+ "55b4e9c6.8cc4d8",
+ "a91738c2.935388"
]
]
},
{
- "id": "526ca756.1782d8",
+ "id": "27c6d4f8.5cc7cc",
"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'`\" />",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1504.187587738037,
- "y": 1631.687505722046,
- "z": "f3e1d289.cac95",
+ "x": 1212.9308166503906,
+ "y": 835.1945543289185,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "43e13082.1c5f9",
+ "id": "b482c11e.e4bb",
"type": "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",
+ "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1508.187587738037,
- "y": 1677.6875076293945,
- "z": "f3e1d289.cac95",
+ "x": 1199.113380432129,
+ "y": 875.4803714752197,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f15ae3e.214cc2",
- "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": 1553.1875801086426,
- "y": 1710.6875092200935,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "d8bf6d28.beec6",
- "type": "for",
- "name": "foreach pLMNInfo",
- "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 1561.187587738037,
- "y": 1765.6875104904175,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "f15c6d84.0314"
- ]
- ]
- },
- {
- "id": "cce89c36.b780e",
+ "id": "a8c78477.5ee898",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1800.3125038146973,
- "y": 1620.875020980835,
- "z": "f3e1d289.cac95",
+ "x": 2879.445068359375,
+ "y": 899.0209407806396,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "185a0819.038c28",
- "7aa20531.fc938c",
- "51ccf1aa.22223",
- "2124cf02.35d0c",
- "1d2f0748.1c2f99",
- "3e5a3205.656e4e"
+ "b21a255d.0cc248",
+ "cd12c78c.eea4e8",
+ "c7c02b3.6c048d8",
+ "164bc17.47ca63f",
+ "4b22f84d.67fe98",
+ "b5c923ff.68bc",
+ "76f8a4f9.c17dac"
]
]
},
{
- "id": "185a0819.038c28",
+ "id": "b21a255d.0cc248",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2022.4518508911133,
- "y": 1648.2918739318848,
- "z": "f3e1d289.cac95",
+ "x": 3153.8339920043945,
+ "y": 736.4378395080566,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "bc4524d2.337018",
- "ffd741ab.f4ed6"
+ "5088c495.5a492c",
+ "9852afe6.71277"
]
]
},
{
- "id": "bc4524d2.337018",
+ "id": "5088c495.5a492c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2226.562644958496,
- "y": 1589.1247882843018,
- "z": "f3e1d289.cac95",
+ "x": 3396.6946716308594,
+ "y": 463.7708549499512,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "698a499b.c0e498"
+ "2ed26b99.5323a4"
]
]
},
{
- "id": "698a499b.c0e498",
+ "id": "2ed26b99.5323a4",
"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": 2551.562526702881,
- "y": 1544.1250925064087,
- "z": "f3e1d289.cac95",
+ "x": 3728.9450149536133,
+ "y": 422.5211811065674,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9a494e9f.7249",
+ "id": "7012041d.21165c",
"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": 2662.312068939209,
- "y": 1626.8748035430908,
- "z": "f3e1d289.cac95",
+ "x": 3890.444366455078,
+ "y": 461.770694732666,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "37e39989.09eaf6",
+ "id": "f84b914d.1f57d",
"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": 2646.3125896453857,
- "y": 1694.8750638961792,
- "z": "f3e1d289.cac95",
+ "x": 3902.1947631835938,
+ "y": 515.7710723876953,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "1dceaf61.aa8ea1",
+ "id": "931db636.f5b128",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2386.5623741149902,
- "y": 1685.624804019928,
- "z": "f3e1d289.cac95",
+ "x": 3574.9446868896484,
+ "y": 524.0206642150879,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "9a494e9f.7249",
- "37e39989.09eaf6"
+ "7012041d.21165c",
+ "f84b914d.1f57d"
]
]
},
{
- "id": "ffd741ab.f4ed6",
+ "id": "9852afe6.71277",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2212.0625190734863,
- "y": 1674.8750629425049,
- "z": "f3e1d289.cac95",
+ "x": 3390.9446716308594,
+ "y": 532.7711725234985,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "1dceaf61.aa8ea1"
+ "931db636.f5b128"
]
]
},
{
- "id": "7aa20531.fc938c",
+ "id": "cd12c78c.eea4e8",
"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": 2082.222141265869,
- "y": 1734.6597275733948,
- "z": "f3e1d289.cac95",
+ "x": 3201.1041717529297,
+ "y": 841.0556812286377,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "51ccf1aa.22223",
+ "id": "c7c02b3.6c048d8",
"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": 2031.5556373596191,
- "y": 1848.3263988494873,
- "z": "f3e1d289.cac95",
+ "x": 3193.5768280029297,
+ "y": 1055.9726877212524,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "63c01c91.fa3b34",
- "220bb420.ec744c"
+ "b5d79ce9.bc9b2",
+ "c112e0f1.b131c"
]
]
},
{
- "id": "63c01c91.fa3b34",
+ "id": "b5d79ce9.bc9b2",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2358.000156402588,
- "y": 1811.4377603530884,
- "z": "f3e1d289.cac95",
+ "x": 3525.632583618164,
+ "y": 616.333655834198,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "790e9472.1129bc"
+ "9adc93dc.98ce9"
]
]
},
{
- "id": "220bb420.ec744c",
+ "id": "c112e0f1.b131c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2352.0000343322754,
- "y": 1878.4376993179321,
- "z": "f3e1d289.cac95",
+ "x": 3517.6325073242188,
+ "y": 686.8338813781738,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "4718b038.f4633"
+ "694a0065.9f731"
]
]
},
{
- "id": "790e9472.1129bc",
+ "id": "9adc93dc.98ce9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2535.0002784729004,
- "y": 1800.4376382827759,
- "z": "f3e1d289.cac95",
+ "x": 3711.3825912475586,
+ "y": 613.5836563110352,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "56405409.4e6a7c",
- "c476a9f.0ec7758",
- "41b2c593.f9442c"
+ "eecee994.c532b8",
+ "1171945.0d9d16c",
+ "a4a91d4d.50e97"
]
]
},
{
- "id": "4718b038.f4633",
+ "id": "694a0065.9f731",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2532.0000343322754,
- "y": 1883.4375162124634,
- "z": "f3e1d289.cac95",
+ "x": 3719.1325149536133,
+ "y": 699.0836381912231,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "150a9857.243b68"
+ "4ddefb7d.424324"
]
]
},
{
- "id": "150a9857.243b68",
+ "id": "4ddefb7d.424324",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
"comments": "",
"outputs": 1,
- "x": 2684.999729156494,
- "y": 1883.4377603530884,
- "z": "f3e1d289.cac95",
+ "x": 3945.131862640381,
+ "y": 701.0838432312012,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "56405409.4e6a7c",
+ "id": "eecee994.c532b8",
"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": 2739.7502403259277,
- "y": 1800.9379177093506,
- "z": "f3e1d289.cac95",
+ "x": 3938.3829193115234,
+ "y": 569.0838994979858,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "c476a9f.0ec7758",
+ "id": "1171945.0d9d16c",
"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": 2744.7504272460938,
- "y": 1746.9380536079407,
- "z": "f3e1d289.cac95",
+ "x": 3927.8829231262207,
+ "y": 632.8342266082764,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "f1418956.9bf3f8",
+ "id": "7d131d1.099c9e4",
"type": "block",
"name": "Process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 799.5625190734863,
- "y": 2297.625068664551,
- "z": "f3e1d289.cac95",
+ "x": 429.06356048583984,
+ "y": 1103.8782539367676,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "fad32c0f.b08fc",
- "98148527.743688",
- "d3310764.1a0d08"
+ "46bf5c81.ac2f84",
+ "72115a67.8c1dc4",
+ "796bc67.69aad38"
]
]
},
{
- "id": "fad32c0f.b08fc",
+ "id": "46bf5c81.ac2f84",
"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 ",
+ "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-cps-response.[' + $idy +'].GNBDUFunction_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1024.3125305175781,
- "y": 2149.6250648498535,
- "z": "f3e1d289.cac95",
+ "x": 701.6388206481934,
+ "y": 1052.6878776550293,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "98148527.743688",
+ "id": "72115a67.8c1dc4",
"type": "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": 1027.3126945495605,
- "y": 2191.125228881836,
- "z": "f3e1d289.cac95",
+ "x": 679.7501945495605,
+ "y": 1088.8546829223633,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "d3310764.1a0d08",
+ "id": "796bc67.69aad38",
"type": "for",
"name": "foreach DU",
"xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
"comments": "",
"outputs": 1,
- "x": 1019.3125305175781,
- "y": 2228.375066757202,
- "z": "f3e1d289.cac95",
+ "x": 691.0832748413086,
+ "y": 1123.215675354004,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d01a4536.afab58"
+ "2f870cb4.d219d4"
]
]
},
{
- "id": "d01a4536.afab58",
+ "id": "2f870cb4.d219d4",
"type": "block",
"name": "block : process gNBDU",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1308.31254196167,
- "y": 2071.3750171661377,
- "z": "f3e1d289.cac95",
+ "x": 881.4964294433594,
+ "y": 1411.8655242919922,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "c1e54b85.da2b98",
- "46095ab0.a6b044",
- "a1a21e4c.faf6e",
- "751f6325.f3890c"
+ "fd2001aa.662af",
+ "2485cded.20cd62",
+ "819032b0.e9942",
+ "7f7dadb5.5082d4"
]
]
},
{
- "id": "c1e54b85.da2b98",
+ "id": "fd2001aa.662af",
"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'`\" />",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`\" />",
"comments": "",
"outputs": 1,
- "x": 1619.312328338623,
- "y": 1837.3742923736572,
- "z": "f3e1d289.cac95",
+ "x": 1186.4441757202148,
+ "y": 1355.7981662750244,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "46095ab0.a6b044",
+ "id": "2485cded.20cd62",
"type": "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",
+ "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 1592.312328338623,
- "y": 1888.3742923736572,
- "z": "f3e1d289.cac95",
+ "x": 1159.4441757202148,
+ "y": 1406.7981662750244,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "a1a21e4c.faf6e",
+ "id": "819032b0.e9942",
"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 ",
+ "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-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 1633.312328338623,
- "y": 1937.3742923736572,
- "z": "f3e1d289.cac95",
+ "x": 1207.9441757202148,
+ "y": 1453.2982172966003,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "751f6325.f3890c",
+ "id": "7f7dadb5.5082d4",
"type": "for",
"name": "for cellDUList",
- "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 1623.312328338623,
- "y": 1981.3742923736572,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "69ae697a.bd4e38"
- ]
- ]
- },
- {
- "id": "69ae697a.bd4e38",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >",
"comments": "",
"outputs": 1,
- "x": 1783.0623893737793,
- "y": 1981.1244173049927,
- "z": "f3e1d289.cac95",
+ "x": 1190.4441757202148,
+ "y": 1499.7981662750244,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "4c22431.e17e2bc",
- "57921e76.a538f",
- "3f0f3109.752fce"
+ "cd3291bd.519d2"
]
]
},
{
- "id": "4c22431.e17e2bc",
- "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": 2031.2500038146973,
- "y": 1980.875020980835,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "57921e76.a538f",
- "type": "for",
- "name": "foreach PLMNInfo",
- "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2009.5833778381348,
- "y": 2050.875020980835,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "84326baf.40be38"
- ]
- ]
- },
- {
- "id": "84326baf.40be38",
+ "id": "961d9cd2.4adbd",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2194.9721641540527,
- "y": 2044.9027309417725,
- "z": "f3e1d289.cac95",
+ "x": 1736.1598281860352,
+ "y": 1181.1042671203613,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "573d7254.61b9ec",
- "395b9043.c9bc8"
+ "5171ef5b.1be7b",
+ "cbb947d0.0fe648",
+ "732df58f.3974cc"
]
]
},
{
- "id": "d406860f.792db8",
+ "id": "b18436b2.176248",
"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'`\" />",
+ "name": "read sNSSAI from getNFNSSIRIC-cps-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].sNssai'`\" />",
"comments": "",
"outputs": 1,
- "x": 2547.5278663635254,
- "y": 2018.9866718053818,
- "z": "f3e1d289.cac95",
+ "x": 2154.6959190368652,
+ "y": 1274.6681915521622,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "13435487.dbdebb",
+ "id": "60e1108f.9071",
"type": "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",
+ "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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 2420.8610801696777,
- "y": 2061.875340819359,
- "z": "f3e1d289.cac95",
+ "x": 1998.028995513916,
+ "y": 1321.8426843881607,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "7b0ddb79.15c6c4",
+ "id": "12d3a3.ef278c5d",
"type": "switchNode",
"name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
+ "xml": "<switch test='`$tmp.cpsSNSSAI-DU == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2418.9999961853027,
- "y": 2102.430852293968,
- "z": "f3e1d289.cac95",
+ "x": 2011.882453918457,
+ "y": 1360.9697414636612,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "6f84ca10.255ec4"
+ "50d4c860.fda198"
]
]
},
{
- "id": "6f84ca10.255ec4",
+ "id": "50d4c860.fda198",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2592.472438812256,
- "y": 2108.153173804283,
- "z": "f3e1d289.cac95",
+ "x": 2182.4975051879883,
+ "y": 1343.834785103798,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "e2f193ed.0e1ff"
+ "bcc2e1d8.4ce1f"
]
]
},
{
- "id": "e2f193ed.0e1ff",
+ "id": "bcc2e1d8.4ce1f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2774.5001335144043,
- "y": 2060.125244140625,
- "z": "f3e1d289.cac95",
+ "x": 2347.382423400879,
+ "y": 1331.5210872888565,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "9de7d1a1.cd694",
- "ef725caf.18971",
- "d5a7e617.e853e8",
- "e16c9bb7.910c08",
- "8f20a79.69e8f58",
- "6c7eb50c.54215c",
- "b840edb9.e0803"
+ "1f2b2d77.86fbc3",
+ "457f6e1c.d8016",
+ "740ffbe.25d8c04",
+ "5938a99e.5311d8",
+ "1eb619b2.d02c46",
+ "84c87f87.09105",
+ "705273d4.e85f7c",
+ "eb4faac0.502108"
]
]
},
{
- "id": "afa3cc45.fe027",
+ "id": "18ba8dea.40ea52",
"type": "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": 2987.000499725342,
- "y": 2028.8752442598343,
- "z": "f3e1d289.cac95",
+ "x": 2644.8833770751953,
+ "y": 1075.2713106870651,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9de7d1a1.cd694",
+ "id": "1f2b2d77.86fbc3",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2991.250011444092,
- "y": 2086.8752765655518,
- "z": "f3e1d289.cac95",
+ "x": 2699.1327743530273,
+ "y": 1198.2713317871094,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b82e7d15.1cc56",
- "99943f79.216dc"
+ "e076d3cf.ee6a6",
+ "53b1f35a.8532ec"
]
]
},
{
- "id": "b82e7d15.1cc56",
+ "id": "e076d3cf.ee6a6",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 3200.500503540039,
- "y": 2041.8748178482056,
- "z": "f3e1d289.cac95",
+ "x": 2875.883514404297,
+ "y": 1129.5208415985107,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "8a4843.5fab57c"
+ "6a831db3.1e4684"
]
]
},
{
- "id": "99943f79.216dc",
+ "id": "53b1f35a.8532ec",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 3195.500503540039,
- "y": 2103.3755207061768,
- "z": "f3e1d289.cac95",
+ "x": 2893.383514404297,
+ "y": 1212.2716579437256,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "920c0416.927338"
+ "95b4dd59.76a98"
]
]
},
{
- "id": "8a4843.5fab57c",
+ "id": "6a831db3.1e4684",
"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": 3546.7502632141113,
- "y": 2040.6252746582031,
- "z": "f3e1d289.cac95",
+ "x": 3198.3828735351562,
+ "y": 1122.0212478637695,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "920c0416.927338",
+ "id": "95b4dd59.76a98",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3373.0000801086426,
- "y": 2109.8751544952393,
- "z": "f3e1d289.cac95",
+ "x": 3044.6328735351562,
+ "y": 1196.2712507247925,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "89fd2c37.6c54d",
- "310b2856.c31028"
+ "d7d8fa52.06b108",
+ "9ca971bd.ee45f"
]
]
},
{
- "id": "89fd2c37.6c54d",
+ "id": "d7d8fa52.06b108",
"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": 3655.00044631958,
- "y": 2098.6251544952393,
- "z": "f3e1d289.cac95",
+ "x": 3331.6339721679688,
+ "y": 1192.0212745666504,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "310b2856.c31028",
+ "id": "9ca971bd.ee45f",
"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": 3605.2507514953613,
- "y": 2159.1251859664917,
- "z": "f3e1d289.cac95",
+ "x": 3269.1339721679688,
+ "y": 1253.521276473999,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "ef725caf.18971",
+ "id": "457f6e1c.d8016",
"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": 3038.1250648498535,
- "y": 2213.6874589920044,
- "z": "f3e1d289.cac95",
+ "x": 2691.0083770751953,
+ "y": 1304.083737373352,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "d5a7e617.e853e8",
+ "id": "740ffbe.25d8c04",
"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",
+ "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.NRCellDUID`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 3011.1252479553223,
- "y": 2268.687460899353,
- "z": "f3e1d289.cac95",
+ "x": 2671.008213043213,
+ "y": 1348.0835757255554,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "e16c9bb7.910c08",
+ "id": "5938a99e.5311d8",
"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": 2991.124942779541,
- "y": 2331.6877670288086,
- "z": "f3e1d289.cac95",
+ "x": 2648.0078887939453,
+ "y": 1405.0839023590088,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "8f20a79.69e8f58",
+ "id": "1eb619b2.d02c46",
"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": 2993.125186920166,
- "y": 2389.687399864197,
- "z": "f3e1d289.cac95",
+ "x": 2643.00821685791,
+ "y": 1464.0835800170898,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "6c7eb50c.54215c",
+ "id": "84c87f87.09105",
"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",
+ "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.NRCellDUID`\"/>\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": 2998.1248207092285,
- "y": 2457.6878910064697,
- "z": "f3e1d289.cac95",
+ "x": 2654.0078887939453,
+ "y": 1526.0840702056885,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "b840edb9.e0803",
+ "id": "705273d4.e85f7c",
"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": 3055.1248512268066,
- "y": 2532.93727684021,
- "z": "f3e1d289.cac95",
+ "x": 2713.00772857666,
+ "y": 1579.3333432674408,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "80be372a.3eafa8",
- "6b52bf7f.6dc93"
+ "84a7a9d7.599618",
+ "fce78c10.ff0c9"
]
]
},
{
- "id": "6b52bf7f.6dc93",
+ "id": "fce78c10.ff0c9",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3322.1248512268066,
- "y": 2432.93727684021,
- "z": "f3e1d289.cac95",
+ "x": 2985.0077896118164,
+ "y": 1498.0834856033325,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "aaddd4f3.f50168"
+ "c2d9429d.171d3"
]
]
},
{
- "id": "aaddd4f3.f50168",
+ "id": "c2d9429d.171d3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3480.1250953674316,
- "y": 2380.93727684021,
- "z": "f3e1d289.cac95",
+ "x": 3138.007972717285,
+ "y": 1427.3333432674408,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b4d9e206.d9732",
- "1d434bba.7b3e64",
- "41b2c593.f9442c"
+ "8c8db0c1.809b3",
+ "2ed21022.aab0f",
+ "a4a91d4d.50e97"
]
]
},
{
- "id": "1d434bba.7b3e64",
+ "id": "2ed21022.aab0f",
"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": 3646.1248512268066,
- "y": 2346.93727684021,
- "z": "f3e1d289.cac95",
+ "x": 3354.0076866149902,
+ "y": 1443.3332784175873,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "b4d9e206.d9732",
+ "id": "8c8db0c1.809b3",
"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": 3651.124729156494,
- "y": 2441.937337875366,
- "z": "f3e1d289.cac95",
+ "x": 3309.0076065063477,
+ "y": 1488.333404302597,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "e335f095.7ae5a",
+ "id": "21a9e908.ca87e6",
"type": "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": 3635.124729156494,
- "y": 2527.937520980835,
- "z": "f3e1d289.cac95",
+ "x": 3293.0076065063477,
+ "y": 1574.3335874080658,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f7547b41.792fb8",
+ "id": "4e6169c7.3c6bc8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3489.1248512268066,
- "y": 2528.9372794628143,
- "z": "f3e1d289.cac95",
+ "x": 3147.00772857666,
+ "y": 1575.3333458900452,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "e335f095.7ae5a"
+ "21a9e908.ca87e6"
]
]
},
{
- "id": "80be372a.3eafa8",
+ "id": "84a7a9d7.599618",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3321.1248512268066,
- "y": 2531.93727684021,
- "z": "f3e1d289.cac95",
+ "x": 2979.00772857666,
+ "y": 1578.3333432674408,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "f7547b41.792fb8"
+ "4e6169c7.3c6bc8"
]
]
},
{
- "id": "2fe6cae9.b1b516",
+ "id": "86747c99.df3f1",
"type": "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": 561.8889465332031,
- "y": 1833.0146312713623,
- "z": "f3e1d289.cac95",
+ "x": 1582.2156143188477,
+ "y": 748.6048736572266,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "41b2c593.f9442c",
+ "id": "a4a91d4d.50e97",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4124.062503814697,
- "y": 2179.4911098480225,
- "z": "f3e1d289.cac95",
+ "x": 3981.9446716308594,
+ "y": 965.8867588043213,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "664c0610.ca3098",
- "5d344cf6.3804d4",
- "ebc16fa1.86b06"
+ "bf6f673b.a4bfe8",
+ "aad06b62.816948",
+ "c254ebb0.158518"
]
]
},
{
- "id": "664c0610.ca3098",
+ "id": "bf6f673b.a4bfe8",
"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": 4503.206287384033,
- "y": 2037.1050968170166,
- "z": "f3e1d289.cac95",
+ "x": 4296.587860107422,
+ "y": 852.0009956359863,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "5d344cf6.3804d4",
+ "id": "aad06b62.816948",
"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": 4506.776744842529,
- "y": 2102.777183532715,
- "z": "f3e1d289.cac95",
+ "x": 4287.658142089844,
+ "y": 950.1731398105621,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "ebc16fa1.86b06",
+ "id": "c254ebb0.158518",
"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": 4433.205310821533,
- "y": 2181.2057580947876,
- "z": "f3e1d289.cac95",
+ "x": 4214.086708068848,
+ "y": 1028.601714372635,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "ec3e74b5.a9dac8",
- "a50e3373.088c2"
+ "8609f7dd.947cc8",
+ "1884441a.60646c"
]
]
},
{
- "id": "ec3e74b5.a9dac8",
+ "id": "8609f7dd.947cc8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4670.633869171143,
- "y": 2163.9198093414307,
- "z": "f3e1d289.cac95",
+ "x": 4451.515266418457,
+ "y": 1011.315765619278,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "f205612.af7d2a"
+ "8da43194.647ba"
]
]
},
{
- "id": "f205612.af7d2a",
+ "id": "8da43194.647ba",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4863.062236785889,
- "y": 2154.634246826172,
- "z": "f3e1d289.cac95",
+ "x": 4643.943634033203,
+ "y": 1002.0302031040192,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "3f3391b9.1c518e"
+ "e52de7dd.1b1ad8"
]
]
},
{
- "id": "3f3391b9.1c518e",
+ "id": "e52de7dd.1b1ad8",
"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": 5064.776119232178,
- "y": 2143.348358631134,
- "z": "f3e1d289.cac95",
+ "x": 4845.657516479492,
+ "y": 990.7443149089813,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "2c15ca38.e01556",
+ "id": "a1da3993.05dd08",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 5058.919395446777,
- "y": 2218.348424911499,
- "z": "f3e1d289.cac95",
+ "x": 4839.800792694092,
+ "y": 1065.7443811893463,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "304d3a47.a68376",
+ "id": "b5e203e2.761df",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4874.919246673584,
- "y": 2223.776866912842,
- "z": "f3e1d289.cac95",
+ "x": 4655.800643920898,
+ "y": 1071.172823190689,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "2c15ca38.e01556"
+ "a1da3993.05dd08"
]
]
},
{
- "id": "a50e3373.088c2",
+ "id": "1884441a.60646c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4664.919193267822,
- "y": 2227.634105682373,
- "z": "f3e1d289.cac95",
+ "x": 4445.800590515137,
+ "y": 1075.0300619602203,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "304d3a47.a68376"
+ "b5e203e2.761df"
]
]
},
{
- "id": "565d0f86.e63b6",
+ "id": "57d081f6.1550f",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 193.56254959106445,
- "y": 2479.634229660034,
- "z": "f3e1d289.cac95",
+ "x": 80.33331680297852,
+ "y": 781.5858192443848,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "a33b4f8b.eb4ea",
- "b3e81441.306338",
- "30a13788.b44458",
- "e32dce76.ce133"
+ "e7afcd94.f2021",
+ "993b4609.7552d8",
+ "7a13826b.14acec",
+ "61611039.02d8a"
]
]
},
{
- "id": "30a13788.b44458",
+ "id": "7a13826b.14acec",
"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",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>\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": 509.563663482666,
- "y": 2298.5336322784424,
- "z": "f3e1d289.cac95",
+ "x": 190.44558715820312,
+ "y": 908.6334285736084,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "a33b4f8b.eb4ea",
+ "id": "e7afcd94.f2021",
"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": 459.56252670288086,
- "y": 2454.634222984314,
- "z": "f3e1d289.cac95",
+ "x": 104,
+ "y": 1029.2894287109375,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "b3e81441.306338",
+ "id": "993b4609.7552d8",
"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": 451.56260681152344,
- "y": 2524.6339015960693,
- "z": "f3e1d289.cac95",
+ "x": 71.00008392333984,
+ "y": 1077.2890224456787,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "fc7013d9.4a109",
- "ed979d44.31e2b"
+ "acd43fa4.d4426",
+ "74bf3483.2bf0ac"
]
]
},
{
- "id": "fc7013d9.4a109",
+ "id": "acd43fa4.d4426",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 795.5626106262207,
- "y": 2425.6338996887207,
- "z": "f3e1d289.cac95",
+ "x": 285.1112365722656,
+ "y": 1208.1410574913025,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d974fdb1.9d86a"
+ "7d937d36.7535e4"
]
]
},
{
- "id": "ed979d44.31e2b",
+ "id": "74bf3483.2bf0ac",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 881.5625305175781,
- "y": 2516.6339025497437,
- "z": "f3e1d289.cac95",
+ "x": 261.1112403869629,
+ "y": 1294.1410613059998,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "ec581dfb.92df3"
+ "93d55e97.e89dd"
]
]
},
{
- "id": "ec581dfb.92df3",
+ "id": "93d55e97.e89dd",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1120.5623168945312,
- "y": 2335.6338777542114,
- "z": "f3e1d289.cac95",
+ "x": 439.55534744262695,
+ "y": 1308.141056060791,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "738f7896.1530a8"
+ "2e2b96dc.716bca"
]
]
},
{
- "id": "d974fdb1.9d86a",
+ "id": "7d937d36.7535e4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1131.5624809265137,
- "y": 2253.6339540481567,
- "z": "f3e1d289.cac95",
+ "x": 478.8889846801758,
+ "y": 1210.030014514923,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "e03ff9aa.45c688",
- "abfa7a70.e96a98"
+ "3e7701a1.24336e",
+ "5378a486.f4ff0c"
]
]
},
{
- "id": "e03ff9aa.45c688",
+ "id": "3e7701a1.24336e",
"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": 1278.562099456787,
- "y": 2264.633695602417,
- "z": "f3e1d289.cac95",
+ "x": 673.1106758117676,
+ "y": 1249.9185197353363,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "738f7896.1530a8",
+ "id": "2e2b96dc.716bca",
"type": "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": 1281.5622367858887,
- "y": 2341.6337699890137,
- "z": "f3e1d289.cac95",
+ "x": 666.11083984375,
+ "y": 1338.5853562355042,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "abfa7a70.e96a98",
+ "id": "5378a486.f4ff0c",
"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": 1266.0727081298828,
- "y": 2168.6231870651245,
- "z": "f3e1d289.cac95",
+ "x": 670.6212539672852,
+ "y": 1163.9079356193542,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "e32dce76.ce133",
+ "id": "61611039.02d8a",
"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": 511.90212631225586,
- "y": 2380.619409561157,
- "z": "f3e1d289.cac95",
+ "x": 147.339599609375,
+ "y": 955.2748394012451,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "25ec2edb.5190e2",
+ "id": "30d88206.5186ce",
"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": 161.00000381469727,
- "y": 2032.0625581741333,
- "z": "f3e1d289.cac95",
+ "x": 86.88184356689453,
+ "y": 599.4582762718201,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "6018a94e.523c68",
+ "id": "1d24a29a.1d0c3d",
"type": "execute",
"name": "read RIC list size",
"xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 581.722240447998,
- "y": 1877.0558156967163,
- "z": "f3e1d289.cac95",
+ "x": 1595.7990417480469,
+ "y": 788.6182708740234,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "da1f393f.fd1958",
- "type": "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": 1912.499912261963,
- "y": 1255.389051437378,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "bbc8d64.6ac3b28",
- "type": "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": 1912.4999504089355,
- "y": 1346.5000610351562,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "834572a6.4a16e",
- "type": "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": 2372.4998512268066,
- "y": 1293.7222270965576,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "3e18dd6e.84b502",
+ "id": "665fcc97.e19614",
"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 ",
+ "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-cps-response.[' + $idy +'].idNearRTRIC'`\" />",
"comments": "",
"outputs": 1,
- "x": 463.0000190734863,
- "y": 2062.2222290039062,
- "z": "f3e1d289.cac95",
+ "x": 761.9455032348633,
+ "y": 687.5068435668945,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9f973845.f5fb18",
+ "id": "6c1fe22f.5d431c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 260.7777214050293,
- "y": 2084.888897895813,
- "z": "f3e1d289.cac95",
+ "x": 513.6595687866211,
+ "y": 687.2845935821533,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "3e18dd6e.84b502"
+ "665fcc97.e19614"
]
]
},
{
- "id": "2124cf02.35d0c",
+ "id": "164bc17.47ca63f",
"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": 2041.6665992736816,
- "y": 1698.4444561004639,
- "z": "f3e1d289.cac95",
+ "x": 3174.2988357543945,
+ "y": 797.3403472900391,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "1d2f0748.1c2f99",
+ "id": "4b22f84d.67fe98",
"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": 2038.3332252502441,
- "y": 1775.1110820770264,
- "z": "f3e1d289.cac95",
+ "x": 3150.465507507324,
+ "y": 892.2570152282715,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "3e5a3205.656e4e",
+ "id": "b5c923ff.68bc",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2034.9998512268066,
- "y": 1808.4444561004639,
- "z": "f3e1d289.cac95",
+ "x": 3148.3821716308594,
+ "y": 944.8403491973877,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "22b9d404.77280c",
+ "id": "fbcee80a.4ecad8",
"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'`\" />",
+ "name": "read sNSSAI from getNFNSSIRIC-cps-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI1' />\n <parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2107.833423614502,
- "y": 1512.6667178869247,
- "z": "f3e1d289.cac95",
+ "x": 2690.9654083251953,
+ "y": 995.5628528594971,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f55399d3.6b8fb8",
+ "id": "9a1e0da8.99a4b",
"type": "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",
+ "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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1964.72261428833,
- "y": 1552.4444879293442,
- "z": "f3e1d289.cac95",
+ "x": 2510.105213165283,
+ "y": 872.5905199050903,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "fd5dd255.728ac",
+ "id": "5f06a27e.4de77c",
"type": "switchNode",
"name": "is NSSAI exists",
- "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "xml": "<switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>\n",
"comments": "",
"outputs": 1,
- "x": 2007.9447555541992,
- "y": 1601.9999618530273,
- "z": "f3e1d289.cac95",
+ "x": 2536.077705383301,
+ "y": 926.8959407806396,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "cdfb9f8c.1da4c",
- "24c0d031.a9b7d"
+ "ba771cff.252c4",
+ "818357d4.a5e218"
]
]
},
{
- "id": "cdfb9f8c.1da4c",
+ "id": "ba771cff.252c4",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2150.6391830444336,
- "y": 1557.6667932271957,
- "z": "f3e1d289.cac95",
+ "x": 2722.7438926696777,
+ "y": 916.2016048431396,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "cce89c36.b780e"
+ "a8c78477.5ee898"
]
]
},
{
- "id": "f15c6d84.0314",
+ "id": "d1e7cc69.5a192",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1766.9443092346191,
- "y": 1540.6666240692139,
- "z": "f3e1d289.cac95",
+ "x": 1459.5210151672363,
+ "y": 949.0626754760742,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "ee9b49a4.c0c418",
- "7e3aef42.e60cf",
- "ab6a6808.280548"
+ "4cffc4e9.72bb3c",
+ "9180e36c.7c528",
+ "a472408c.8d07b"
]
]
},
{
- "id": "24c0d031.a9b7d",
+ "id": "818357d4.a5e218",
"type": "outcome",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2285.2775802612305,
- "y": 1550.3333276510239,
- "z": "f3e1d289.cac95",
+ "x": 2704.1608848571777,
+ "y": 870.7293548583984,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d5ba5400.774c88"
+ "7d0e805b.57596"
]
]
},
{
- "id": "d5ba5400.774c88",
+ "id": "7d0e805b.57596",
"type": "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": 2480.2777404785156,
- "y": 1497.3332815170288,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "6eef273f.bcc7d8",
- "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": 1931.388843536377,
- "y": 1202.8888635635376,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "3f0f3109.752fce",
- "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": 2010.5555152893066,
- "y": 1906.2221660614014,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "2d8deef9.ae1272",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2009.9301948547363,
- "y": 1941.5345468521118,
- "z": "f3e1d289.cac95",
+ "x": 2876.16024017334,
+ "y": 836.2293529510498,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "37f8ca4b.bc4116",
+ "id": "5b070d4f.ba4224",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
"comments": "",
"outputs": 1,
- "x": 798.166675567627,
- "y": 841.6666946411133,
- "z": "f3e1d289.cac95",
+ "x": 344.7986145019531,
+ "y": 314.31235694885254,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b4d05d5d.96195",
- "c9f09e95.e69fd"
+ "be296930.83c4f8",
+ "388c99bc.0c9256"
]
]
},
{
- "id": "b4d05d5d.96195",
+ "id": "be296930.83c4f8",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1134.666820526123,
- "y": 784.2222843170166,
- "z": "f3e1d289.cac95",
+ "x": 571.2987251281738,
+ "y": 309.36792850494385,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "3a84966d.34e61a"
+ "9d7987a2.663ae8"
]
]
},
{
- "id": "c9f09e95.e69fd",
+ "id": "388c99bc.0c9256",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1135.889045715332,
- "y": 837.1112022399902,
- "z": "f3e1d289.cac95",
+ "x": 566.2709121704102,
+ "y": 356.00684452056885,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "20489234.75219e"
+ "a5d982b1.56809"
]
]
},
{
- "id": "fb588e6.1b3587",
+ "id": "2ca62d54.da96d2",
"type": "set",
"name": "set status as ACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
"comments": "",
- "x": 1672.1112480163574,
- "y": 770.2222537994385,
- "z": "f3e1d289.cac95",
+ "x": 1022.243034362793,
+ "y": 276.1178913116455,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "306ad8b.84ab028",
+ "id": "60de56ea.88f1d8",
"type": "set",
"name": "set status as INACTIVE",
"xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
"comments": "",
- "x": 1630.555591583252,
- "y": 839.555609703064,
- "z": "f3e1d289.cac95",
+ "x": 959.687370300293,
+ "y": 328.4512414932251,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "3a84966d.34e61a",
+ "id": "9d7987a2.663ae8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1431.6668281555176,
- "y": 761.9999942779541,
- "z": "f3e1d289.cac95",
+ "x": 823.2986679077148,
+ "y": 282.1456356048584,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "fb588e6.1b3587"
+ "2ca62d54.da96d2"
]
]
},
{
- "id": "20489234.75219e",
+ "id": "a5d982b1.56809",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1322.3334121704102,
- "y": 811.6666927337646,
- "z": "f3e1d289.cac95",
+ "x": 731.4651947021484,
+ "y": 355.5623245239258,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "306ad8b.84ab028"
+ "60de56ea.88f1d8"
]
]
},
{
- "id": "6841431c.020a2c",
+ "id": "4cffc4e9.72bb3c",
"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'`\" />",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2370.0000038146973,
- "y": 1221.0000222921371,
- "z": "f3e1d289.cac95",
+ "x": 1630.8825302124023,
+ "y": 885.3962249755859,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "d5f12d4.b35f5d",
- "type": "for",
- "name": "foreach snssai",
- "xml": "<for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >\n",
- "comments": "",
- "outputs": 1,
- "x": 2378.0000038146973,
- "y": 1261.0000222921371,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "3193eaa9.e97fe6"
- ]
- ]
- },
- {
- "id": "3193eaa9.e97fe6",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2571.2500038146973,
- "y": 1263.5000222921371,
- "z": "f3e1d289.cac95",
- "wires": [
- [
- "f89ba912.658ee8",
- "236f0778.82ee78",
- "482f3d28.6fce24"
- ]
- ]
- },
- {
- "id": "ee9b49a4.c0c418",
- "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": 2003.9999885559082,
- "y": 1413.2500756978989,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "7e3aef42.e60cf",
+ "id": "81624cd1.0799c",
"type": "for",
"name": "foreach snssai",
"xml": "<for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >\n",
"comments": "",
"outputs": 1,
- "x": 1990.0000267028809,
- "y": 1471.2500766515732,
- "z": "f3e1d289.cac95",
+ "x": 2144.3825454711914,
+ "y": 987.8961887359619,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "2439d56a.0c3daa"
+ "7d257161.f419f"
]
]
},
{
- "id": "2439d56a.0c3daa",
+ "id": "7d257161.f419f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2199.2499961853027,
- "y": 1467.7500766515732,
- "z": "f3e1d289.cac95",
+ "x": 2324.382553100586,
+ "y": 938.1461877822876,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "22b9d404.77280c",
- "f55399d3.6b8fb8",
- "fd5dd255.728ac"
+ "fbcee80a.4ecad8",
+ "9a1e0da8.99a4b",
+ "5f06a27e.4de77c"
]
]
},
{
- "id": "573d7254.61b9ec",
+ "id": "5171ef5b.1be7b",
"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'`\" />",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.sNssaiListLengthDU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2392.0000038146973,
- "y": 1914.2500222921371,
- "z": "f3e1d289.cac95",
+ "x": 1964.8825073242188,
+ "y": 1100.395827293396,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "395b9043.c9bc8",
+ "id": "cbb947d0.0fe648",
"type": "for",
"name": "foreach snssai",
- "xml": "<for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >\n",
+ "xml": "<for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>\n",
"comments": "",
"outputs": 1,
- "x": 2400.0000038146973,
- "y": 1954.2500222921371,
- "z": "f3e1d289.cac95",
+ "x": 1977.8824195861816,
+ "y": 1220.6458930969238,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "91d81bff.ebc588"
+ "ec3f5eee.0336f"
]
]
},
{
- "id": "91d81bff.ebc588",
+ "id": "ec3f5eee.0336f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2593.2500038146973,
- "y": 1956.7500222921371,
- "z": "f3e1d289.cac95",
+ "x": 2166.132293701172,
+ "y": 1228.1458654403687,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d406860f.792db8",
- "13435487.dbdebb",
- "7b0ddb79.15c6c4"
+ "b18436b2.176248",
+ "60e1108f.9071",
+ "12d3a3.ef278c5d"
]
]
},
{
- "id": "ab6a6808.280548",
+ "id": "9180e36c.7c528",
"type": "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",
+ "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`\"/>",
"comments": "",
"outputs": 1,
- "x": 2004.2500038146973,
- "y": 1440.7500222921371,
- "z": "f3e1d289.cac95",
+ "x": 1615.9538230895996,
+ "y": 932.5389671325684,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "116c7858.aac138",
+ "id": "f2419320.09df3",
"type": "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
"comments": "",
"outputs": 1,
- "x": 766.694501876831,
- "y": 914.7500705718994,
- "z": "f3e1d289.cac95",
+ "x": 325.8264446258545,
+ "y": 394.8957328796387,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f7cfb69b.9c27d8",
+ "id": "943061f0.4e102",
"type": "execute",
"name": "getAnchors URL",
"xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 795.9444618225098,
- "y": 877.5000705718994,
- "z": "f3e1d289.cac95",
+ "x": 337.5764045715332,
+ "y": 355.14573097229004,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "d7780e63.dfef7",
+ "id": "502d98d2.d90ed8",
"type": "execute",
"name": "set anchors size",
"xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 787.8490180969238,
- "y": 993.8210067749023,
- "z": "f3e1d289.cac95",
+ "x": 356.9809341430664,
+ "y": 468.96666145324707,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "4fdac4df.8afdcc",
+ "id": "791b49b3.9ae158",
"type": "execute",
"name": "read schemaSet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1103.8489074707031,
- "y": 1025.709882736206,
- "z": "f3e1d289.cac95",
+ "x": 795.4807281494141,
+ "y": 512.105525970459,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "940dfe19.cae3c",
+ "id": "f75875bc.e60838",
"type": "execute",
"name": "initialize nearRTRIC size",
"xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 812.0464057922363,
- "y": 1038.4876747131348,
- "z": "f3e1d289.cac95",
+ "x": 402.42835235595703,
+ "y": 503.6333694458008,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "cc77fe2f.74da4",
+ "id": "2fcd3f43.ecbb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 708.0000038146973,
- "y": 1173.000020980835,
- "z": "f3e1d289.cac95",
+ "x": 577.1318740844727,
+ "y": 598.1456842422485,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "dbbdba44.c73298",
- "e61e92b2.75535"
+ "dbc1782e.0ff288",
+ "5a70a82a.c22dd8"
]
]
},
{
- "id": "44798c38.c2c674",
+ "id": "a3f61af7.228278",
"type": "execute",
"name": "read anchorName",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
"comments": "",
"outputs": 1,
- "x": 1579.555721282959,
- "y": 1155.7779512405396,
- "z": "f3e1d289.cac95",
+ "x": 1378.6875762939453,
+ "y": 565.9236373901367,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f07e8ef0.f0f35",
+ "id": "fda5b8e3.401108",
"type": "for",
"name": "For anchorsList",
"xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 604.2962989807129,
- "y": 1110.7778148651123,
- "z": "f3e1d289.cac95",
+ "x": 383.42816162109375,
+ "y": 549.6734933853149,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b2c62c0d.d023c"
+ "aea81de2.4879a"
]
]
},
{
- "id": "b2c62c0d.d023c",
+ "id": "aea81de2.4879a",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 793.1851692199707,
- "y": 1108.5555610656738,
- "z": "f3e1d289.cac95",
+ "x": 584.8171157836914,
+ "y": 541.2012233734131,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "f3696963.b06c68",
- "4fdac4df.8afdcc"
+ "ee9d6f7b.332a3",
+ "791b49b3.9ae158"
]
]
},
{
- "id": "f3696963.b06c68",
+ "id": "ee9d6f7b.332a3",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1048.333438873291,
- "y": 1099.5555992126465,
- "z": "f3e1d289.cac95",
+ "x": 799.9652633666992,
+ "y": 557.2012634277344,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b676b7ef.fd2e18"
+ "a652295.967b2d8"
]
]
},
{
- "id": "b676b7ef.fd2e18",
+ "id": "a652295.967b2d8",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1248.8889503479004,
- "y": 1099.7778778076172,
- "z": "f3e1d289.cac95",
+ "x": 989.2708129882812,
+ "y": 523.6735954284668,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "a0c159cc.1c8a68"
+ "d83aac79.aced2"
]
]
},
{
- "id": "a0c159cc.1c8a68",
+ "id": "d83aac79.aced2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1436.6914291381836,
- "y": 1096.1111793518066,
- "z": "f3e1d289.cac95",
+ "x": 1174.5733108520508,
+ "y": 510.00685691833496,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "1ff22c13.6ba054",
- "e0f9f75a.d90ee8"
+ "97446c8a.9fd28",
+ "19942036.1c864"
]
]
},
{
- "id": "1ff22c13.6ba054",
+ "id": "97446c8a.9fd28",
"type": "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1625.6049156188965,
- "y": 1109.66676902771,
- "z": "f3e1d289.cac95",
+ "x": 1353.4867324829102,
+ "y": 509.81239891052246,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "e61e92b2.75535",
+ "id": "5a70a82a.c22dd8",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 947.3826942443848,
- "y": 1188.6790752410889,
- "z": "f3e1d289.cac95",
+ "x": 817.764533996582,
+ "y": 637.5747623443604,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "cfdb45e5.210c98"
+ "ef6810dd.c3985"
]
]
},
{
- "id": "dbbdba44.c73298",
+ "id": "dbc1782e.0ff288",
"type": "execute",
"name": "read schemaSet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 945.160457611084,
- "y": 1148.679048538208,
- "z": "f3e1d289.cac95",
+ "x": 801.792366027832,
+ "y": 596.3247604370117,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "cfdb45e5.210c98",
+ "id": "ef6810dd.c3985",
"type": "outcome",
"name": "if ran-network",
"xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1184.9382820129395,
- "y": 1168.9013404846191,
- "z": "f3e1d289.cac95",
+ "x": 1001.5701217651367,
+ "y": 594.0470514297485,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "6ef0fef5.bd25a"
+ "8b28cd7f.7856f"
]
]
},
{
- "id": "6ef0fef5.bd25a",
+ "id": "8b28cd7f.7856f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1371.0741233825684,
- "y": 1156.123507976532,
- "z": "f3e1d289.cac95",
+ "x": 1197.705955505371,
+ "y": 596.2692184448242,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "44798c38.c2c674",
- "fa6eb99.0705648"
+ "a3f61af7.228278",
+ "e72d02ed.55eab"
]
]
},
{
- "id": "23542b05.dc2d04",
+ "id": "8827e1d9.45f51",
"type": "for",
"name": "For anchorsList",
"xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 495.0622901916504,
- "y": 1175.845754623413,
- "z": "f3e1d289.cac95",
+ "x": 390.4441452026367,
+ "y": 595.9914493560791,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "cc77fe2f.74da4"
+ "2fcd3f43.ecbb6"
]
]
},
{
- "id": "e0f9f75a.d90ee8",
+ "id": "19942036.1c864",
"type": "execute",
"name": "set nearRTRIC size",
"xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 1641.6623344421387,
- "y": 1068.8457717895508,
- "z": "f3e1d289.cac95",
+ "x": 1364.5443496704102,
+ "y": 461.49143409729004,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "fa6eb99.0705648",
+ "id": "e72d02ed.55eab",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 358.0000801086426,
- "y": 1332.0000438690186,
- "z": "f3e1d289.cac95",
+ "x": 1394.6320724487305,
+ "y": 614.6458082199097,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "13083ff9.9ba0e",
- "c73b13b7.6457f",
- "a89d60f9.b3afd",
- "58956a6f.0dc844",
- "936c36c7.351c48",
- "4fb00909.42b0e8",
- "fb96c84e.999d28",
- "324af10d.a689ce",
- "ccfe8154.aca67",
- "da661827.9a24e8",
- "70f4b332.3f67bc",
- "1636d37a.32239d",
- "e1689a9d.e9a138"
+ "d70fd453.9603f8",
+ "7e4a509d.52f1b",
+ "3528d139.a4d9be",
+ "f09ae777.ffebe8",
+ "b1ece0e9.0b7ba",
+ "59f94e31.c4d92",
+ "725d5f35.1eae8",
+ "ba703123.edfba",
+ "e75dd500.0ef6a8",
+ "250177db.33fa68",
+ "4ea6bda4.60c314",
+ "d6000f7b.79e17",
+ "7c9e258b.3ac01c",
+ "1d24a29a.1d0c3d"
]
]
},
{
- "id": "13083ff9.9ba0e",
+ "id": "d70fd453.9603f8",
"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.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.anchor.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 714.0000038146973,
- "y": 1251.0000438690186,
- "z": "f3e1d289.cac95",
+ "x": 1719.882209777832,
+ "y": 183.39580726623535,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "c73b13b7.6457f",
+ "id": "7e4a509d.52f1b",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getNearRTRICByNSSI.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-nearrtric-by-rannfnssi`\"/>",
"comments": "",
"outputs": 1,
- "x": 634.000057220459,
- "y": 1293.0000448226929,
- "z": "f3e1d289.cac95",
+ "x": 1639.8822631835938,
+ "y": 225.39580821990967,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "a89d60f9.b3afd",
+ "id": "3528d139.a4d9be",
"type": "record",
"name": "record TBDMT 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 CPS TDBMT to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$tmp.cps.getNearRTRICByNSSI.url`\" />",
"comments": "",
"outputs": 1,
- "x": 661.0000190734863,
- "y": 1334.0000457763672,
- "z": "f3e1d289.cac95",
+ "x": 1666.882225036621,
+ "y": 266.395809173584,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "58956a6f.0dc844",
+ "id": "f09ae777.ffebe8",
"type": "execute",
"name": "Get nearRTRIC for RANNFNSSIId",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-nearrtric-by-rannfnssi.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-cps-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": 660.9999580383301,
- "y": 1379.0000476837158,
- "z": "f3e1d289.cac95",
+ "x": 1666.8821640014648,
+ "y": 311.3958110809326,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "34d78223.0c58ce",
- "fdf4ad99.2cfdf"
+ "702eeca0.2cc214",
+ "4acf7054.5614e"
]
]
},
{
- "id": "936c36c7.351c48",
+ "id": "b1ece0e9.0b7ba",
"type": "execute",
"name": "generate plmnid URL cps",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 629.0000190734863,
- "y": 1418.400113105774,
- "z": "f3e1d289.cac95",
+ "x": 1634.882225036621,
+ "y": 350.7958765029907,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "4fb00909.42b0e8",
+ "id": "59f94e31.c4d92",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.getmcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 626.0000190734863,
- "y": 1457.0000495910645,
- "z": "f3e1d289.cac95",
+ "x": 1631.882225036621,
+ "y": 389.39581298828125,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "fb96c84e.999d28",
+ "id": "725d5f35.1eae8",
"type": "record",
"name": "record TBDMT 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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
"comments": "",
"outputs": 1,
- "x": 648.0000190734863,
- "y": 1499.2000827789307,
- "z": "f3e1d289.cac95",
+ "x": 1653.882225036621,
+ "y": 431.59584617614746,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "324af10d.a689ce",
+ "id": "ba703123.edfba",
"type": "execute",
"name": "Get PLMNMCCID from sliceprofileID",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-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": 659.0001029968262,
- "y": 1538.2000007629395,
- "z": "f3e1d289.cac95",
+ "x": 1664.882308959961,
+ "y": 470.59576416015625,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "9b979001.e19ea",
- "91ce8e96.7b954"
+ "3bf48731.c0da78",
+ "c70fe7ec.dd3a08"
]
]
},
{
- "id": "da661827.9a24e8",
+ "id": "250177db.33fa68",
"type": "execute",
"name": "prepare tbdmt template",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnmncid-from-sliceprofile`\"/>",
"comments": "",
"outputs": 1,
- "x": 623.8000144958496,
- "y": 1621.0000534057617,
- "z": "f3e1d289.cac95",
+ "x": 1629.6822204589844,
+ "y": 553.3958168029785,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "70f4b332.3f67bc",
+ "id": "4ea6bda4.60c314",
"type": "record",
"name": "record TBDMT 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 CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",
"comments": "",
"outputs": 1,
- "x": 633.8000144958496,
- "y": 1661.200086593628,
- "z": "f3e1d289.cac95",
+ "x": 1639.6822204589844,
+ "y": 593.5958499908447,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "1636d37a.32239d",
+ "id": "d6000f7b.79e17",
"type": "execute",
"name": "Get PLMNMNCID from sliceprofileID",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-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": 656.8000068664551,
- "y": 1718.2000064849854,
- "z": "f3e1d289.cac95",
+ "x": 1662.6822128295898,
+ "y": 650.5957698822021,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d00daa63.3b6d68",
- "a3771879.f87528"
+ "95cd20fb.c0a3e",
+ "24d28608.0bdd1a"
]
]
},
{
- "id": "ccfe8154.aca67",
+ "id": "e75dd500.0ef6a8",
"type": "execute",
"name": "generate plmnid URL cps",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 623.0000038146973,
- "y": 1580.4001178741455,
- "z": "f3e1d289.cac95",
+ "x": 1628.882209777832,
+ "y": 512.7958812713623,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "91ce8e96.7b954",
+ "id": "c70fe7ec.dd3a08",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 945.0000267028809,
- "y": 1536.0000495910645,
- "z": "f3e1d289.cac95",
+ "x": 1905.8818664550781,
+ "y": 469.3957738876343,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "3bcccbe.161eb34"
+ "f43513a8.da2c3"
]
]
},
{
- "id": "3bcccbe.161eb34",
+ "id": "f43513a8.da2c3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1107.8888778686523,
- "y": 1516.8889636993408,
- "z": "f3e1d289.cac95",
+ "x": 2068.7709884643555,
+ "y": 470.28468894958496,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "98958a16.366c78",
- "ee434a02.367d08",
- "71f9eb9e.acfe74"
+ "57bfa2c9.b2deac",
+ "32cbdaf.81c2226"
]
]
},
{
- "id": "98958a16.366c78",
+ "id": "57bfa2c9.b2deac",
"type": "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 MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 1332.0001983642578,
- "y": 1425.0000486373901,
- "z": "f3e1d289.cac95",
+ "x": 2272.3824310302734,
+ "y": 483.64572525024414,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "9b979001.e19ea",
+ "id": "3bf48731.c0da78",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 954.7778167724609,
- "y": 1469.1111392974854,
- "z": "f3e1d289.cac95",
+ "x": 1903.6596984863281,
+ "y": 416.50685596466064,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "bfe4df7a.0da4b"
+ "f008df38.9790f"
]
]
},
{
- "id": "bfe4df7a.0da4b",
+ "id": "f008df38.9790f",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1181.0000228881836,
- "y": 1386.0000467300415,
- "z": "f3e1d289.cac95",
+ "x": 2045.8819961547852,
+ "y": 415.3957290649414,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "50b582ea.3d097c"
+ "24667fe0.101da"
]
]
},
{
- "id": "50b582ea.3d097c",
+ "id": "24667fe0.101da",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1387.5555686950684,
- "y": 1380.8889083862305,
- "z": "f3e1d289.cac95",
+ "x": 2200.437328338623,
+ "y": 386.2846441268921,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "ee434a02.367d08",
- "type": "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=\"plmn mcc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1341.4447555541992,
- "y": 1515.5779647827148,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "71f9eb9e.acfe74",
+ "id": "32cbdaf.81c2226",
"type": "execute",
"name": "read nearRTRICId-PLMN",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1386.7114791870117,
- "y": 1477.8665885925293,
- "z": "f3e1d289.cac95",
+ "x": 2322.593536376953,
+ "y": 433.26226139068604,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "a3771879.f87528",
+ "id": "24d28608.0bdd1a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 892.000186920166,
- "y": 1747.0000562667847,
- "z": "f3e1d289.cac95",
+ "x": 1912.8821907043457,
+ "y": 590.3958206176758,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "1b4d1194.6bc91e"
+ "c8ea8fde.60647"
]
]
},
{
- "id": "1b4d1194.6bc91e",
+ "id": "c8ea8fde.60647",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1062.2224426269531,
- "y": 1753.7778301239014,
- "z": "f3e1d289.cac95",
+ "x": 2077.1043243408203,
+ "y": 587.1735715866089,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "fac57686.038168",
- "58af5240.0f96cc",
- "7785af20.f9a24"
+ "208ce39a.48abec",
+ "1558c4c9.f66d9b"
]
]
},
{
- "id": "fac57686.038168",
+ "id": "208ce39a.48abec",
"type": "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 plmnmnc info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnid-cps-response`\"/>",
+ "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 MNC info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnmncid-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 1303.9998779296875,
- "y": 1676.0002975463867,
- "z": "f3e1d289.cac95",
+ "x": 2269.881618499756,
+ "y": 611.8960475921631,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "d00daa63.3b6d68",
+ "id": "95cd20fb.c0a3e",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 891.9999465942383,
- "y": 1698.000051498413,
- "z": "f3e1d289.cac95",
+ "x": 1896.8818664550781,
+ "y": 529.3958196640015,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "f8094fa5.8b02d"
+ "cd8ca0f1.cce58"
]
]
},
{
- "id": "f8094fa5.8b02d",
+ "id": "cd8ca0f1.cce58",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1026.0001106262207,
- "y": 1678.0000534057617,
- "z": "f3e1d289.cac95",
+ "x": 2080.881992340088,
+ "y": 535.3958187103271,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "bf121d2e.6ec78"
+ "bc51bfc8.63d5e"
]
]
},
{
- "id": "bf121d2e.6ec78",
+ "id": "bc51bfc8.63d5e",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1163.999870300293,
- "y": 1655.0000524520874,
- "z": "f3e1d289.cac95",
+ "x": 2238.8816719055176,
+ "y": 536.3957786560059,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "58af5240.0f96cc",
+ "id": "1558c4c9.f66d9b",
"type": "execute",
"name": "read nearRTRICId-PLMN",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1293.5999717712402,
- "y": 1726.8001041412354,
- "z": "f3e1d289.cac95",
+ "x": 2319.7320404052734,
+ "y": 577.4458923339844,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "7785af20.f9a24",
+ "id": "489927c3.d77758",
"type": "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=\"plmn mnc value\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mnc`\"/>",
+ "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 NearRTRIC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1271.5999717712402,
- "y": 1776.2000885009766,
- "z": "f3e1d289.cac95",
+ "x": 2288.8820037841797,
+ "y": 288.3957347869873,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "10de8a80.d7e346",
- "type": "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 CPS\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-cps-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1476.0000495910645,
- "y": 1287.0000400543213,
- "z": "f3e1d289.cac95",
- "wires": [
- []
- ]
- },
- {
- "id": "f7e28921.7b5d18",
+ "id": "79943c49.324f24",
"type": "execute",
"name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />\n\n\n",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1490.7780456542969,
- "y": 1329.0002040863037,
- "z": "f3e1d289.cac95",
+ "x": 2303.659999847412,
+ "y": 330.3958988189697,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "3f7b61b1.4ea72e",
+ "id": "e81bf9b2.45d948",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1520.0002174377441,
- "y": 1223.1111240386963,
- "z": "f3e1d289.cac95",
+ "x": 2332.8821716308594,
+ "y": 224.5068187713623,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "ab179ac7.711488",
+ "id": "e94238f1.b229a8",
"type": "execute",
"name": "read sliceProfileId from input",
"xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfileId`\" />",
"comments": "",
"outputs": 1,
- "x": 1097.8333740234375,
- "y": 704.3333640098572,
- "z": "f3e1d289.cac95",
+ "x": 593.2152442932129,
+ "y": 223.2289981842041,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "40671fa8.d6f66",
+ "id": "6fd3bcdd.a52654",
"type": "execute",
"name": "read RANNFNSSIId from input",
"xml": "<set>\n<parameter name='tmp.payload.RANNFNSSIId' value=\"`$payloadJson.input.RANNFNSSIId`\" />\n",
"comments": "",
"outputs": 1,
- "x": 1105.8333740234375,
- "y": 739.3333654403687,
- "z": "f3e1d289.cac95",
+ "x": 586.2152481079102,
+ "y": 265.729040145874,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "f46e9a3e.486758",
+ "id": "78f367fd.4c4d98",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1061.5556201934814,
- "y": 895.5555973052979,
- "z": "f3e1d289.cac95",
+ "x": 603.9375228881836,
+ "y": 410.7012300491333,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "89d2a8b7.399f48"
+ "c44dad6d.5f25d"
]
]
},
{
- "id": "26dde326.819b2c",
+ "id": "a2f4a3b.1505d6",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1058.05570602417,
- "y": 979.5000038146973,
- "z": "f3e1d289.cac95",
+ "x": 605.9376525878906,
+ "y": 460.89564514160156,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "d69340f3.62264"
+ "77968374.706fbc"
]
]
},
{
- "id": "89d2a8b7.399f48",
+ "id": "c44dad6d.5f25d",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1243.7501068115234,
- "y": 895.6667747497559,
- "z": "f3e1d289.cac95",
+ "x": 746.6320190429688,
+ "y": 408.3124294281006,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "b3d2ffd9.729d1",
- "34ea2449.16afcc"
+ "d0f4e6c6.8e2d68",
+ "4663a9c2.b73dc8"
]
]
},
{
- "id": "d69340f3.62264",
+ "id": "77968374.706fbc",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1233.5000076293945,
- "y": 980.1667022705078,
- "z": "f3e1d289.cac95",
+ "x": 766.3818550109863,
+ "y": 461.56235218048096,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "e848df1a.2a5c9",
- "eef6716a.ea024"
+ "c74974c0.8f3c68",
+ "61d45eed.71b9a"
]
]
},
{
- "id": "b3d2ffd9.729d1",
+ "id": "d0f4e6c6.8e2d68",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1401.2775535583496,
- "y": 854.4999933242798,
- "z": "f3e1d289.cac95",
+ "x": 930.4094467163086,
+ "y": 372.14563941955566,
+ "z": "c6dfcfc7.2379e",
"wires": []
},
{
- "id": "e848df1a.2a5c9",
+ "id": "c74974c0.8f3c68",
"type": "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 1435.2497177124023,
- "y": 971.9167518615723,
- "z": "f3e1d289.cac95",
+ "x": 948.1316184997559,
+ "y": 445.81239318847656,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "eef6716a.ea024",
+ "id": "61d45eed.71b9a",
"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-modifyallocate-cps-context.log' />",
+ "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' />",
"comments": "",
"outputs": 1,
- "x": 1470.0279388427734,
- "y": 1027.1667518615723,
- "z": "f3e1d289.cac95",
+ "x": 961.6598587036133,
+ "y": 478.5623950958252,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "34ea2449.16afcc",
+ "id": "4663a9c2.b73dc8",
"type": "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=\"Failed to fetch anchors from CPS\"/>",
"comments": "",
"outputs": 1,
- "x": 1420.0834884643555,
- "y": 928.5278301239014,
- "z": "f3e1d289.cac95",
+ "x": 924.2153587341309,
+ "y": 408.67347526550293,
+ "z": "c6dfcfc7.2379e",
"wires": [
[]
]
},
{
- "id": "3c2d99e7.498126",
+ "id": "ffa67fb0.23902",
"type": "execute",
"name": "Get list of anchors from CPS",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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": 813.0000190734863,
- "y": 953.6666889190674,
- "z": "f3e1d289.cac95",
+ "x": 409.63194274902344,
+ "y": 430.06236267089844,
+ "z": "c6dfcfc7.2379e",
"wires": [
[
- "26dde326.819b2c",
- "f46e9a3e.486758"
+ "a2f4a3b.1505d6",
+ "78f367fd.4c4d98"
]
]
},
{
- "id": "e1689a9d.e9a138",
+ "id": "7c9e258b.3ac01c",
"type": "set",
"name": "set mcc & mnc Variables",
"xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
"comments": "",
- "x": 615.4610137939453,
- "y": 1775.3667078018188,
- "z": "f3e1d289.cac95",
+ "x": 1621.34321975708,
+ "y": 707.7624711990356,
+ "z": "c6dfcfc7.2379e",
+ "wires": []
+ },
+ {
+ "id": "81a8517.3d22cb",
+ "type": "for",
+ "name": "for cellCUList",
+ "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 1209.1600036621094,
+ "y": 780.434757232666,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "e746e6da.878328"
+ ]
+ ]
+ },
+ {
+ "id": "18568cda.8bd573",
+ "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-cps-response.[' + $idy +'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1230.8824844360352,
+ "y": 739.7681217193604,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "81d7a323.b56df",
+ "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-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2028.6323165893555,
+ "y": 710.8124094009399,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8976523.23750b",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.pLMNInfoList_length > 0`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2039.454689025879,
+ "y": 813.1404223442078,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "9f79a22c.d2c77",
+ "dc4b250f.834258"
+ ]
+ ]
+ },
+ {
+ "id": "9f79a22c.d2c77",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221.4545822143555,
+ "y": 715.8902931213379,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "db35298e.4aa578"
+ ]
+ ]
+ },
+ {
+ "id": "dc4b250f.834258",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2222.7400703430176,
+ "y": 810.8902950286865,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "f8a37bc7.fcbcc8"
+ ]
+ ]
+ },
+ {
+ "id": "c06ceff6.6514a",
+ "type": "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=\"CUCP plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2597.790813446045,
+ "y": 809.2261562347412,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "db35298e.4aa578",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2415.45450592041,
+ "y": 722.0903253555298,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "90704486.103e08",
+ "b0af6454.55e948"
+ ]
+ ]
+ },
+ {
+ "id": "f8a37bc7.fcbcc8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2406.811637878418,
+ "y": 799.0903329849243,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "c06ceff6.6514a"
+ ]
+ ]
+ },
+ {
+ "id": "620f1e83.d0ab5",
+ "type": "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=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`\"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2015.847484588623,
+ "y": 756.1975021362305,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b0af6454.55e948",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2615.3112411499023,
+ "y": 724.5897159576416,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "d9a945f3.134188"
+ ]
+ ]
+ },
+ {
+ "id": "90704486.103e08",
+ "type": "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=\"CUCP plmninfolistLength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2599.9217529296875,
+ "y": 664.2461051940918,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d9a945f3.134188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2637.7212448120117,
+ "y": 217.4461234807968,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "5589c439.4c395c",
+ "bf769866.ed48b8",
+ "c3db8084.13613"
+ ]
+ ]
+ },
+ {
+ "id": "5589c439.4c395c",
+ "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.sNssaiListLengthCU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2864.221164703369,
+ "y": 168.7956657409668,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bf769866.ed48b8",
+ "type": "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=\"CUCP_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2854.971164703369,
+ "y": 216.4961274266243,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3d46c7b0.369678",
+ "type": "for",
+ "name": "foreach snssai",
+ "xml": "<for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3287.3284339904785,
+ "y": 201.31049728393555,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "16674272.11df0e"
+ ]
+ ]
+ },
+ {
+ "id": "c3db8084.13613",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.sNssaiListLengthCU > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2847.221160888672,
+ "y": 264.89624786376953,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "f832ec0d.6775c",
+ "dfd0f7c8.933c18"
+ ]
+ ]
+ },
+ {
+ "id": "f832ec0d.6775c",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3012.471019744873,
+ "y": 233.595853805542,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "48f744de.e1a26c"
+ ]
+ ]
+ },
+ {
+ "id": "dfd0f7c8.933c18",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3008.2711906433105,
+ "y": 283.79567694664,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "4ad47fbc.9c39d"
+ ]
+ ]
+ },
+ {
+ "id": "48f744de.e1a26c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3117.971176147461,
+ "y": 167.94585418701172,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "3d46c7b0.369678",
+ "dd20354.26c04c8"
+ ]
+ ]
+ },
+ {
+ "id": "4ad47fbc.9c39d",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3180.4713401794434,
+ "y": 290.19587874412537,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "ee9c67d9.901f08"
+ ]
+ ]
+ },
+ {
+ "id": "ee9c67d9.901f08",
+ "type": "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=\"plmninfolistnssailength in false in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3352.0709533691406,
+ "y": 286.39582991600037,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "dd20354.26c04c8",
+ "type": "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=\"plmninfolistnssailength in true in CU \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthCU`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3257.8710975646973,
+ "y": 143.3958511352539,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf3a8a59.1a0458",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3646.048725128174,
+ "y": 226.3125228881836,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "b7df5836.9108e8"
+ ]
+ ]
+ },
+ {
+ "id": "e1c9fc46.605e1",
+ "type": "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-cps-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.cpsSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3704.160053253174,
+ "y": 182.75696516036987,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "16674272.11df0e",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3513.271381378174,
+ "y": 156.53479719161987,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "e1c9fc46.605e1",
+ "cf3a8a59.1a0458",
+ "26f23ec.815cec2"
+ ]
+ ]
+ },
+ {
+ "id": "26f23ec.815cec2",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-cps-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cpsSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList['+ $id-cusnssai +'].sNssai'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3884.159854888916,
+ "y": 106.7570128440857,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b52aad42.9063",
+ "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-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1236.1874618530273,
+ "y": 918.9512805938721,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "55b4e9c6.8cc4d8",
+ "type": "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 plmninfolength \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1192.7374420166016,
+ "y": 958.2955894470215,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b7de64ae.c8c278",
+ "type": "for",
+ "name": "foreach pLMNInfo",
+ "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1555.4929084777832,
+ "y": 1064.645869255066,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "d1e7cc69.5a192"
+ ]
+ ]
+ },
+ {
+ "id": "a472408c.8d07b",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.snssaiListup_length > 0`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1646.5485382080078,
+ "y": 994.0795574188232,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "4833e2f.59a4a1c",
+ "d2f8d0e4.4103a"
+ ]
+ ]
+ },
+ {
+ "id": "4833e2f.59a4a1c",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1820.5484924316406,
+ "y": 949.4457902908325,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "b99482e0.2479b"
+ ]
+ ]
+ },
+ {
+ "id": "d2f8d0e4.4103a",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1777.8485107421875,
+ "y": 906.9791412353516,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "75ae663e.0e54c8"
+ ]
+ ]
+ },
+ {
+ "id": "b99482e0.2479b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1976.0485382080078,
+ "y": 935.8790969848633,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "457d7fc3.957a7",
+ "81624cd1.0799c"
+ ]
+ ]
+ },
+ {
+ "id": "75ae663e.0e54c8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1950.5485534667969,
+ "y": 884.6290626525879,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "d1be303b.37a78"
+ ]
+ ]
+ },
+ {
+ "id": "d1be303b.37a78",
+ "type": "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=\"plmninfolistnssailength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2106.8984565734863,
+ "y": 872.3292264938354,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "457d7fc3.957a7",
+ "type": "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=\"plmninfolistnssailength in true \"/>\n<parameter name=\"field2\" value=\"`$tmp.snssaiListup_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2145.9489917755127,
+ "y": 921.3291454315186,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1d094114.777fef",
+ "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-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList_length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1617.8540878295898,
+ "y": 1337.4234237670898,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "eb4beae.72a3c18",
+ "type": "for",
+ "name": "foreach PLMNInfo",
+ "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >",
+ "comments": "",
+ "outputs": 1,
+ "x": 2006.4651641845703,
+ "y": 1582.7568664550781,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "961d9cd2.4adbd"
+ ]
+ ]
+ },
+ {
+ "id": "cd3291bd.519d2",
+ "type": "block",
+ "name": "block : gNBDU",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1420.3660354614258,
+ "y": 1471.8036279678345,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "1d094114.777fef",
+ "79496f76.24f9b",
+ "84c9422b.7db2d"
+ ]
+ ]
+ },
+ {
+ "id": "79496f76.24f9b",
+ "type": "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=\"plmninfolengthcelldu \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1613.1161308288574,
+ "y": 1396.7479696273804,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "732df58f.3974cc",
+ "type": "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=\"DU_plmninfolength_nssailength \"/>\n<parameter name=\"field2\" value=\"`$tmp.sNssaiListLengthDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1975.8818588256836,
+ "y": 1158.6666584014893,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "76f8a4f9.c17dac",
+ "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 cellCUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3167.8821716308594,
+ "y": 999.0001411437988,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bef1cd76.8a4c1",
+ "type": "comment",
+ "name": "activateRANSliceInstance-cps",
+ "info": "",
+ "comments": "",
+ "x": 359.2151870727539,
+ "y": 20,
+ "z": "c6dfcfc7.2379e",
"wires": []
+ },
+ {
+ "id": "a91738c2.935388",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.pLMNInfoList > 0`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1189.770751953125,
+ "y": 1005.1482944488525,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "ccc9e9b6.9165c8",
+ "7025962c.86c568"
+ ]
+ ]
+ },
+ {
+ "id": "ccc9e9b6.9165c8",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1185.6966705322266,
+ "y": 1066.6295700073242,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "ffc3cc86.60171"
+ ]
+ ]
+ },
+ {
+ "id": "7025962c.86c568",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1159.204360961914,
+ "y": 1147.1850910186768,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "3592d0dd.e2188"
+ ]
+ ]
+ },
+ {
+ "id": "ffc3cc86.60171",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1357.9187393188477,
+ "y": 1070.7036895751953,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "b7de64ae.c8c278"
+ ]
+ ]
+ },
+ {
+ "id": "a4dae456.d51778",
+ "type": "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 plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1486.8077697753906,
+ "y": 1137.740758895874,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3592d0dd.e2188",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1316.807746887207,
+ "y": 1144.4073486328125,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "a4dae456.d51778"
+ ]
+ ]
+ },
+ {
+ "id": "84c9422b.7db2d",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.DUpLMNInfoList_length > 0`'>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1634.048568725586,
+ "y": 1479.3543229103088,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "2604572f.993648",
+ "1800f776.836539"
+ ]
+ ]
+ },
+ {
+ "id": "2604572f.993648",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1795.5300559997559,
+ "y": 1446.3910808563232,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "2c255825.17a998"
+ ]
+ ]
+ },
+ {
+ "id": "1800f776.836539",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1653.4821090698242,
+ "y": 1623.6131992340088,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "48ac508b.e8ffd"
+ ]
+ ]
+ },
+ {
+ "id": "2c255825.17a998",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1791.085563659668,
+ "y": 1579.3542098999023,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "eb4beae.72a3c18"
+ ]
+ ]
+ },
+ {
+ "id": "2111d82b.47c8e8",
+ "type": "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=\"DU plmninfolistlength in false \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2015.5300521850586,
+ "y": 1635.279987335205,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48ac508b.e8ffd",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1843.3077239990234,
+ "y": 1630.8355979919434,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ [
+ "2111d82b.47c8e8"
+ ]
+ ]
+ },
+ {
+ "id": "eb4faac0.502108",
+ "type": "execute",
+ "name": "read NRCellDUID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.NRCellDUID' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2663.0000762939453,
+ "y": 1261.3333702087402,
+ "z": "c6dfcfc7.2379e",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json index 5460fa8f..b41e5f8c 100644 --- a/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json +++ b/platform-logic/ran-slice-api/src/main/json/ran-slice-api_activateRANSliceInstance.json @@ -1,36 +1,36 @@ [
{
- "id": "cbeeb2b4.08be",
+ "id": "41b06fc3.c6cf9",
"type": "method",
"name": "method",
"xml": "<method rpc='activateRANSliceInstance' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 127.77777099609375,
- "y": 262.1111030578613,
- "z": "bd96de55.9bb33",
+ "x": 116,
+ "y": 205.00000095367432,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "4934df84.366e5"
+ "9b4d44b1.794e98"
]
]
},
{
- "id": "83fc8fd.86fe57",
+ "id": "f29e25a8.beb6b8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 130.77777099609375,
- "y": 112.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 119,
+ "y": 54.99999713897705,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "80b48287.4a7dc"
+ "31594d05.bd6432"
]
]
},
{
- "id": "80b48287.4a7dc",
+ "id": "31594d05.bd6432",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
@@ -38,182 +38,197 @@ "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": 188.7777557373047,
- "y": 173.1111946105957,
- "z": "bd96de55.9bb33",
+ "x": 176.99998474121094,
+ "y": 116.00009250640869,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "cbeeb2b4.08be"
+ "41b06fc3.c6cf9"
]
]
},
{
- "id": "4934df84.366e5",
+ "id": "9b4d44b1.794e98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 281.77777099609375,
- "y": 339.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 123.3333511352539,
+ "y": 268.6666669845581,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "792d5f61.e1a"
+ "16518179.756a3f",
+ "ca0173b6.09cc5"
]
]
},
{
- "id": "792d5f61.e1a",
+ "id": "16518179.756a3f",
"type": "switchNode",
"name": "switch configdb deployed",
"xml": "<switch test='`$prop.configdb-deployed`'>\n",
"comments": "",
"outputs": 1,
- "x": 454.7777786254883,
- "y": 269.1111030578613,
- "z": "bd96de55.9bb33",
+ "x": 428.0000991821289,
+ "y": 265.33334827423096,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "3f02381e.f83f98",
- "39b8dcff.f57854"
+ "7b67f3ed.7b795c",
+ "cc77d342.b6b6d"
]
]
},
{
- "id": "3f02381e.f83f98",
+ "id": "7b67f3ed.7b795c",
"type": "outcome",
"name": "ConfigDB Deployed",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 705.7778015136719,
- "y": 244.11106872558594,
- "z": "bd96de55.9bb33",
+ "x": 694.0000305175781,
+ "y": 186.99996662139893,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "f5e5b350.07f74"
+ "bcdeea5a.e54548"
]
]
},
{
- "id": "39b8dcff.f57854",
+ "id": "cc77d342.b6b6d",
"type": "outcome",
"name": "CPS Deployed",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 660.7777786254883,
- "y": 393.11110496520996,
- "z": "bd96de55.9bb33",
+ "x": 649.0000076293945,
+ "y": 336.00000286102295,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "6ba3a8da.c6fb28"
+ "5df863d6.72391c"
]
]
},
{
- "id": "6ba3a8da.c6fb28",
+ "id": "5df863d6.72391c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 881.7777824401855,
- "y": 389.1110806465149,
- "z": "bd96de55.9bb33",
+ "x": 870.0000114440918,
+ "y": 331.9999785423279,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "8bbc92db.7c75",
- "d10e4755.9fd258"
+ "b9de8079.aaf7",
+ "c9947444.0e0038"
]
]
},
{
- "id": "f5e5b350.07f74",
+ "id": "bcdeea5a.e54548",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 918.7777709960938,
- "y": 253.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 907,
+ "y": 195.99999713897705,
+ "z": "6776f36d.c22a9c",
"wires": [
[
- "16326111.d238cf",
- "f00a9827.ca6c88"
+ "d4cde26c.0168d",
+ "51a14a74.134ba4"
]
]
},
{
- "id": "16326111.d238cf",
+ "id": "d4cde26c.0168d",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling activateRANSliceInstance-configDB \"/>",
"comments": "",
"outputs": 1,
- "x": 1102.7777709960938,
- "y": 210.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 1091,
+ "y": 152.99999713897705,
+ "z": "6776f36d.c22a9c",
"wires": [
[]
]
},
{
- "id": "f00a9827.ca6c88",
+ "id": "51a14a74.134ba4",
"type": "call",
"name": "call activateRanslice-configdb",
"xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-configDb' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1186.2344970703125,
- "y": 264.8611354827881,
- "z": "bd96de55.9bb33",
+ "x": 1174.4567260742188,
+ "y": 207.75003337860107,
+ "z": "6776f36d.c22a9c",
"wires": [
[]
]
},
{
- "id": "8bbc92db.7c75",
+ "id": "b9de8079.aaf7",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling instantiateRANSliceModifyAllocate-CPS \"/>",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling activateRANSliceInstance-cps \"/>",
"comments": "",
"outputs": 1,
- "x": 1085.7777709960938,
- "y": 388.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 1074,
+ "y": 330.99999713897705,
+ "z": "6776f36d.c22a9c",
"wires": [
[]
]
},
{
- "id": "d10e4755.9fd258",
+ "id": "c9947444.0e0038",
"type": "call",
"name": "call activateRanslice-cps",
"xml": "<call module='ran-slice-api' rpc='activateRANSliceInstance-cps' mode='sync' >\n",
"comments": "",
"outputs": 1,
- "x": 1171.4566688537598,
- "y": 442.8611068725586,
- "z": "bd96de55.9bb33",
+ "x": 1159.678897857666,
+ "y": 385.7500047683716,
+ "z": "6776f36d.c22a9c",
"wires": [
[]
]
},
{
- "id": "78b5a044.95fba",
+ "id": "d97ce952.92ce08",
"type": "comment",
"name": "activateRANSliceInstance",
"info": "",
"comments": "",
- "x": 665.7777709960938,
- "y": 51.11109924316406,
- "z": "bd96de55.9bb33",
+ "x": 610.6667022705078,
+ "y": 44,
+ "z": "6776f36d.c22a9c",
"wires": []
+ },
+ {
+ "id": "ca0173b6.09cc5",
+ "type": "execute",
+ "name": "execute",
+ "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' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 383.1111259460449,
+ "y": 211.33332347869873,
+ "z": "6776f36d.c22a9c",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml new file mode 100644 index 00000000..4dd27375 --- /dev/null +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-configDb.xml @@ -0,0 +1,932 @@ +<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}'>
+ <method rpc='activateRANSliceInstance-configDb' mode='sync'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="RPC to handle activateRANSlice.: "/>
+ <parameter name="field2" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ <parameter name="field3" value="`$activate-r-a-n-slice-instance-input.timestamp`"/>
+ <parameter name="field4" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="field5" value="`$activate-r-a-n-slice-instance-input.common-header.originator-id`"/>
+ <parameter name="field6" value="RPC Payload String "/>
+ <parameter name="field7" value="`$activate-r-a-n-slice-instance-input.payload`"/>
+ </record>
+ <set>
+ <parameter name='error-code' value='200' />
+ <parameter name='error-message' value='Successful execution of activateRANSice RPC' />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
+ <parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />
+ <parameter name='outputPath' value='payloadJson' />
+ <parameter name='isEscaped' value='false' />
+ <outcome value='success'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Payload for activateRANSlice.: "/>
+ <parameter name="field2" value="`$payloadJson.input.sNSSAI`"/>
+ <parameter name="field3" value="`$payloadJson.input.RANNFNSSIId`"/>
+ <parameter name="field4" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="field5" value="`$payloadJson.input.sliceProfileId`"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ <set>
+ <parameter name='tmp.sNSSAI' value="`$payloadJson.input.sNSSAI`" />
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Properties read .. controller details "/>
+ <parameter name="field2" value="`$prop.controller.user`"/>
+ <parameter name="field3" value="`$prop.controller.pwd`"/>
+ <parameter name="field4" value="`$prop.controller.url`"/>
+ <parameter name="field5" value="ransim-mounted (true/false): "/>
+ <parameter name="field6" value="`$prop.ransim-mounted`"/>
+ <parameter name="field7" value="config DB deployed (true/false): "/>
+ <parameter name="field8" value="`$prop.configdb-deployed`"/>
+ </record>
+ <switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.status' value='ACTIVE' />
+ </set>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <set>
+ <parameter name='tmp.status' value='INACTIVE' />
+ </set>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getNearRTRICByNSSI`"/>
+ <parameter name="outputPath" value="tmp.configdb.getNearRTRICByNSSI.url"/>
+ <parameter name="target" value="{ranNFNSSIId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.RANNFNSSIId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for configDB to Get NearRTRIC for RANNFNSSI"/>
+ <parameter name='field2' value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`" />
+ <parameter name='field3' value="`$ranNFNSSIId`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getNFNSSIRIC-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>
+ </set>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Obtained NearRT RIC info from ConfigDB"/>
+ <parameter name="field2" value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
+ </execute>
+ </block>
+ </outcome>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.configdb.getplmn`"/>
+ <parameter name="outputPath" value="tmp.configdb.getPLMNId.url"/>
+ <parameter name="target" value="{sliceProfileId}"/>
+ <parameter name="replacement" value="`$payloadJson.input.sliceProfileId`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Get PLMN from SliceProfileId URL: "/>
+ <parameter name="field2" value="`$tmp.configdb.getPLMNId.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="restapiUrl" value="`$prop.configdb.url + $tmp.configdb.getPLMNId.url`"/>
+ <parameter name="httpMethod" value="GET"/>
+ <parameter name="responsePrefix" value="getPLMN-configdb-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='application/json' />
+ <parameter name="convertResponse" value="true"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNId' />
+ <parameter name='source' value="`getPLMN-configdb-response.plmnId`" />
+ </execute>
+ <block atomic="true">
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>
+ <parameter name="original_string" value="`$tmp.pLMNId`" />
+ <parameter name="regex" value="-"/>
+ <parameter name="ctx_memory_result_key" value="tmp.plmnList" />
+ </execute>
+ <set>
+ <parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>
+ <parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>
+ </set>
+ </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="`$tmp.pLMNId`"/>
+ <parameter name="field2" value="`$tmp.mcc`"/>
+ <parameter name="field3" value="`$tmp.mnc`"/>
+ </record>
+ <set>
+ <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-configdb-response._length`"/>
+ </set>
+ <for index='idy' start='0' end='`$tmp.RICList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.nearRTRICId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`" />
+ </execute>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUCPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUCPName' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCPName "/>
+ <parameter name="field2" value="`$tmp.CUCPName`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
+ </execute>
+ <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellLocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`" />
+ </execute>
+ <for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI['+$id-cunssai+'].sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellCULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.cellCULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of CUCP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.pLMNInfoList' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiListup_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - snssaiList_length"/>
+ <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ </record>
+ <for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='false'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI doesn't match"/>
+ </record>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Number of DU List Entries "/>
+ <parameter name="field2" value="`$tmp.DUList_length`"/>
+ <parameter name="field3" value="for the NearRTRIC"/>
+ <parameter name="field4" value="`$tmp.nearRTRICId`"/>
+ </record>
+ <for index='id-du' start='0' end='`$tmp.DUList_length`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.GNBDUId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="GNBDUId "/>
+ <parameter name="field2" value="`$tmp.GNBDUId`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
+ </execute>
+ <for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
+ <block>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cellDULocalId' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`" />
+ </execute>
+ <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiListdu_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`" />
+ </execute>
+ <for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI['+$id-dunssai+'].sNSSAI'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
+ <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellDU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.cellDULocalId`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ </block>
+ </for>
+ <return status='success'>
+ <parameter name="ack-final" value="Y" />
+ <parameter name="error-code" value="200" />
+ <parameter name="error-message" value="SUCCESSFUL Execution" />
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-input.common-header.request-id `"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-input.action`"/>
+ </set>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
+ <parameter name="outputPath" value="tmp.so.callbackURL"/>
+ <parameter name="target" value="{requestId}"/>
+ <parameter name="replacement" value="`$tmp.requestID`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$payloadJson.input.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="restapiUser" value="`$prop.restapi.so.user`" />
+ <parameter name="restapiPassword" value="`$prop.restapi.so.password`"/>
+ <outcome value='failure'>
+ <block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </method>
+</service-logic>
\ No newline at end of file diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml index 4fd07d12..fa7c4edb 100644 --- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance-cps.xml @@ -1,12 +1,8 @@ <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}'>
- <method rpc='activateRANSliceInstance' mode='sync'>
+ <method rpc='activateRANSliceInstance-cps' mode='sync'>
<block atomic='true'>
- <set>
- <parameter name='error-code' value='200' />
- <parameter name='error-message' value='Successful execution of activateRANSice RPC' />
- </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
@@ -18,6 +14,10 @@ <parameter name="field6" value="RPC Payload String "/>
<parameter name="field7" value="`$activate-r-a-n-slice-instance-input.payload`"/>
</record>
+ <set>
+ <parameter name='error-code' value='200' />
+ <parameter name='error-message' value='Successful execution of activateRANSice RPC' />
+ </set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>
<parameter name='source' value='activate-r-a-n-slice-instance-input.payload' />
<parameter name='outputPath' value='payloadJson' />
@@ -42,19 +42,19 @@ <set>
<parameter name='tmp.sNSSAI' value="`$payloadJson.input.sNSSAI`" />
</set>
- <set>
- <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfileId`" />
- </set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</execute>
<set>
- <parameter name='tmp.payload.RANNFNSSIId' value="`$payloadJson.input.RANNFNSSIId`" />
+ <parameter name='tmp.sliceprofileid' value="`$payloadJson.input.sliceProfileId`" />
</set>
<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
<parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
<parameter name='contextPrefix' value='prop' />
</execute>
+ <set>
+ <parameter name='tmp.payload.RANNFNSSIId' value="`$payloadJson.input.RANNFNSSIId`" />
+ </set>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
@@ -124,7 +124,7 @@ <parameter name="field2" value="`$get-anchors-cps-response._length`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-modifyallocate-cps-context.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</execute>
</block>
</outcome>
@@ -259,11 +259,11 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained NearRT RIC info from CPS"/>
+ <parameter name="field1" value="Successfully Obtained NearRTRIC info from CPS"/>
<parameter name="field2" value="`$getNFNSSIRIC-cps-response._length`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >
- <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-terminateRANSlice-configrsp-context.log' />
+ <parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-activateRANSlice-context.log' />
</execute>
</block>
</outcome>
@@ -305,12 +305,6 @@ </outcome>
<outcome value='success'>
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained MCC info from CPS"/>
- <parameter name="field2" value="`$getplmnmccid-cps-response.httpResponse`"/>
- </record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.plmn.mcc' />
<parameter name='source' value="`'getplmnmccid-cps-response.[0]'`" />
@@ -318,8 +312,8 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="plmn mcc value"/>
- <parameter name="field2" value="`$tmp.plmn.mcc`"/>
+ <parameter name="field1" value="Successfully Obtained MCC info from CPS"/>
+ <parameter name="field2" value="`$getplmnmccid-cps-response.httpResponse`"/>
</record>
</block>
</outcome>
@@ -361,12 +355,6 @@ </outcome>
<outcome value='success'>
<block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Obtained plmnmnc info from Cps"/>
- <parameter name="field2" value="`$getplmnid-cps-response`"/>
- </record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.plmn.mnc' />
<parameter name='source' value="`'getplmnmncid-cps-response.[0]'`" />
@@ -374,8 +362,8 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="plmn mnc value"/>
- <parameter name="field2" value="`$tmp.plmn.mnc`"/>
+ <parameter name="field1" value="Successfully Obtained MNC info from Cps"/>
+ <parameter name="field2" value="`$getplmnmncid-cps-response.httpResponse`"/>
</record>
</block>
</outcome>
@@ -384,22 +372,15 @@ <parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>
<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>
</set>
+ <set>
+ <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-cps-response._length`"/>
+ </set>
</block>
</block>
</outcome>
</switch>
</block>
</for>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="`$tmp.pLMNId`"/>
- <parameter name="field2" value="`$tmp.mcc`"/>
- <parameter name="field3" value="`$tmp.mnc`"/>
- </record>
- <set>
- <parameter name='tmp.RICList_length' value="`$getNFNSSIRIC-cps-response._length`"/>
- </set>
<return status='success'>
<parameter name="ack-final" value="Y" />
<parameter name="error-code" value="200" />
@@ -409,209 +390,280 @@ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.nearRTRICId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].idNearRTRIC'`" />
</execute>
</block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUUPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`" />
+ <parameter name='outputPath' value='tmp.CUCPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBCUCPFunction_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
<parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUUPList_length`"/>
+ <parameter name="field2" value="`$tmp.CUCPList_length`"/>
<parameter name="field3" value="for the NearRTRIC"/>
<parameter name="field4" value="`$tmp.nearRTRICId`"/>
</record>
- <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
+ <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`" />
+ <parameter name='outputPath' value='tmp.CUCPName' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].attributes.gNBCUName'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="idGNBCUUPFunction "/>
- <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field1" value="CUCPName "/>
+ <parameter name="field2" value="`$tmp.CUCPName`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`" />
+ <parameter name='outputPath' value='tmp.cellCUList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBCUCPFunction[' + $idz +'].NRCellCU_length'`" />
</execute>
- <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiListup_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+$id-plmn+'].sNSSAI_length'`" />
+ <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CUUP - snssaiList_length"/>
- <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ <parameter name="field1" value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList_length'`"/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList_length`"/>
</record>
- <for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList['+ $id-plmn +'].sNSSAI['+$id-cuupnssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
- <outcome value='false'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI doesn't match"/>
- </record>
- </outcome>
- <outcome value='true'>
+ <switch test='`$tmp.pLMNInfoList_length > 0`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCP plmninfolistLength in true "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList_length`"/>
+ </record>
+ <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
<block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{idGNBCUUPFunction}"/>
- <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.sNssaiListLengthCU' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList_length'`" />
</execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCP_plmninfolength_nssailength "/>
+ <parameter name="field2" value="`$tmp.sNssaiListLengthCU`"/>
+ </record>
+ <switch test='`$tmp.sNssaiListLengthCU > 0`'>
+ <outcome value='true'>
<block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
- </return>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolistnssailength in true in CU "/>
+ <parameter name="field2" value="`$tmp.sNssaiListLengthCU`"/>
+ </record>
+ <for index='id-cusnssai' start='0' end='`$tmp.sNssaiListLengthCU`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cpsSNSSAI' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].attributes.pLMNInfoList['+ $id-cuplmn +'].sNSSAIList['+ $id-cusnssai +'].sNssai'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-cps-response"/>
+ <parameter name="field2" value="`$tmp.cpsSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
+ </record>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.NRCellCUID' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUCPFunction['+ $idz +'].NRCellCU['+ $idcu +'].idNRCellCU'`" />
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idGNBCUCPFunction}"/>
+ <parameter name="replacement" value="`$tmp.CUCPName`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{idNRCellCU}"/>
+ <parameter name="replacement" value="`$tmp.NRCellCUID`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="patch cellCU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.CUCPName`"/>
+ <parameter name="field4" value="`$tmp.NRCellCUID`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
</block>
</outcome>
- <outcome value='success'>
+ <outcome value='false'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
+ <parameter name="field1" value="plmninfolistnssailength in false in CU "/>
+ <parameter name="field2" value="`$tmp.sNssaiListLengthCU`"/>
</record>
</block>
</outcome>
- </execute>
+ </switch>
</block>
- </outcome>
- </switch>
- </block>
- </for>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUCP plmninfolistlength in false "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList_length`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
</block>
</for>
</block>
@@ -619,232 +671,267 @@ </block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`" />
+ <parameter name='outputPath' value='tmp.CUUPList_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBCUUPFunction_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Number of CUCP List Entries "/>
- <parameter name="field2" value="`$tmp.CUCPList_length`"/>
+ <parameter name="field1" value="Number of CUUP List Entries "/>
+ <parameter name="field2" value="`$tmp.CUUPList_length`"/>
<parameter name="field3" value="for the NearRTRIC"/>
<parameter name="field4" value="`$tmp.nearRTRICId`"/>
</record>
- <for index='idz' start='0' end='`$tmp.CUCPList_length`'>
+ <for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.CUCPName' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`" />
+ <parameter name='outputPath' value='tmp.idGNBCUUPFunction' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].idGNBCUUPFunction'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="CUCPName "/>
- <parameter name="field2" value="`$tmp.CUCPName`"/>
+ <parameter name="field1" value="idGNBCUUPFunction "/>
+ <parameter name="field2" value="`$tmp.idGNBCUUPFunction`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`" />
+ <parameter name='outputPath' value='tmp.pLMNInfoList' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList_length'`" />
</execute>
- <for index='idcu' start='0' end='`$tmp.cellCUList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellLocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.pLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length'`" />
- </execute>
- <for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+$id-cuplmn+'].sNSSAI_length'`" />
- </execute>
- <for index='id-cunssai' start='0' end='`$tmp.snssaiList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI['+$id-cunssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>
- <outcome value='true'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="CellCU is applicable for the NSSAI "/>
- </record>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
- <outcome value='true'>
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellCULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`" />
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idGNBCUCPFunction}"/>
- <parameter name="replacement" value="`$tmp.CUCPName`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{idNRCellCU}"/>
- <parameter name="replacement" value="`$tmp.cellCULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellCU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.CUCPName`"/>
- <parameter name="field4" value="`$tmp.cellCULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellCU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP plmninfolength "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList`"/>
+ </record>
+ <switch test='`$tmp.pLMNInfoList > 0`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.snssaiListup_length' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP - snssaiList_length"/>
+ <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ </record>
+ <switch test='`$tmp.snssaiListup_length > 0`'>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolistnssailength in false "/>
+ <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ </record>
+ </block>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolistnssailength in true "/>
+ <parameter name="field2" value="`$tmp.snssaiListup_length`"/>
+ </record>
+ <for index='id-cuupnssai' start='0' end='`$tmp.snssaiListup_length`' >
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-cps-response"/>
+ <parameter name="field2" value="`$tmp.cpsSNSSAI`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.cpsSNSSAI == $tmp.sNSSAI`'>
+ <outcome value='false'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI doesn't match"/>
+ </record>
+ </outcome>
+ <outcome value='true'>
<block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{idGNBCUUPFunction}"/>
+ <parameter name="replacement" value="`$tmp.idGNBCUUPFunction`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoList-CUUP.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
+ </execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
+ <parameter name="field1" value="patch cellCUUP NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.idGNBCUUPFunction`"/>
+ <parameter name="field4" value="`$tmp.mcc`"/>
+ <parameter name="field5" value="`$tmp.mnc`"/>
+ <parameter name="field6" value="`$tmp.patchPLMNInfoList-CUUP.url`"/>
</record>
<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-gNBCUUP-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
<parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
<outcome value='failure'>
- <block>
+ <block atomic='true'>
<return status='failure'>
<parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfo. Aborting RPC executiopn'/>
</return>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
</block>
</outcome>
<outcome value='success'>
- <block>
+ <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
+ <parameter name="field1" value="Successfully Patched - gNBCUUP PLMNInfo List"/>
</record>
</block>
</outcome>
</execute>
</block>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellCU PLMNInfo List"/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
- </block>
- </for>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cpsSNSSAI1' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBCUUPFunction['+ $id-cuup +'].attributes.pLMNInfoList['+ $id-plmn +'].sNSSAIList['+ $id-snssai +'].sNssai'`" />
+ </execute>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ </switch>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="CUUP plmninfolistlength in false "/>
+ <parameter name="field2" value="`$tmp.pLMNInfoList`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
</block>
</for>
</block>
<block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.DUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBDUFunction_length'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
@@ -858,7 +945,7 @@ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.GNBDUId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].idGNBDUFunction'`" />
</execute>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
@@ -868,189 +955,217 @@ </record>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.cellDUList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.[' + $idy +'].GNBDUFunction[' + $id-du +'].NRCellDU_length'`" />
</execute>
<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >
- <block>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.cellDULocalId' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`" />
- </execute>
+ <block atomic='true'>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length'`" />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList_length'`" />
</execute>
- <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.snssaiListdu_length' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+$id-duplmn+'].sNSSAI_length'`" />
- </execute>
- <for index='id-dunssai' start='0' end='`$tmp.snssaiListdu_length`' >
- <block atomic='true'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
- <parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />
- <parameter name='source' value="`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI['+$id-dunssai+'].sNSSAI'`" />
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="sNSSAI - getNFNSSIRIC-configdb-response"/>
- <parameter name="field2" value="`$tmp.configDBSNSSAI-DU`"/>
- <parameter name="field3" value="sNSSAI from request"/>
- <parameter name="field4" value="`$tmp.sNSSAI`"/>
- </record>
- <switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>
- <outcome value='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="plmninfolengthcelldu "/>
+ <parameter name="field2" value="`$tmp.DUpLMNInfoList_length`"/>
+ </record>
+ <switch test='`$tmp.DUpLMNInfoList_length > 0`'>
+ <outcome value='true'>
+ <block atomic='true'>
+ <for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.sNssaiListLengthDU' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList_length'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="DU_plmninfolength_nssailength "/>
+ <parameter name="field2" value="`$tmp.sNssaiListLengthDU`"/>
+ </record>
+ <for index='id-dusnssai' start='0' end='`$tmp.sNssaiListLengthDU`'>
<block atomic='true'>
- <switch test='`$prop.ransim-mounted`'>
- <outcome value='false'>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
- </execute>
- </outcome>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.cpsSNSSAI-DU' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].attributes.pLMNInfoList['+ $id-duplmn +'].sNSSAIList['+ $id-dusnssai +'].sNssai'`" />
+ </execute>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="sNSSAI - getNFNSSIRIC-cps-response"/>
+ <parameter name="field2" value="`$tmp.cpsSNSSAI-DU`"/>
+ <parameter name="field3" value="sNSSAI from request"/>
+ <parameter name="field4" value="`$tmp.sNSSAI`"/>
+ </record>
+ <switch test='`$tmp.cpsSNSSAI-DU == $tmp.sNSSAI`'>
<outcome value='true'>
<block atomic='true'>
+ <switch test='`$prop.ransim-mounted`'>
+ <outcome value='false'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ </outcome>
+ <outcome value='true'>
+ <block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{idNearRTRIC}"/>
+ <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mountName}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ </execute>
+ </block>
+ </outcome>
+ </switch>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>
+ <parameter name='outputPath' value='tmp.NRCellDUID' />
+ <parameter name='source' value="`'getNFNSSIRIC-cps-response.['+ $idy +'].GNBDUFunction['+ $id-du +'].NRCellDU['+ $id-celldu +'].idNRCellDU'`" />
+ </execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`"/>
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNearRTRIC}"/>
- <parameter name="replacement" value="`$tmp.nearRTRICId`"/>
+ <parameter name="target" value="{idGNBDUFunction}"/>
+ <parameter name="replacement" value="`$tmp.GNBDUId`"/>
</execute>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
<parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mountName}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
+ <parameter name="target" value="{idNRCellDU}"/>
+ <parameter name="replacement" value="`$tmp.NRCellDUID`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mcc}"/>
+ <parameter name="replacement" value="`$tmp.mcc`"/>
+ </execute>
+ <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
+ <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
+ <parameter name="target" value="{mnc}"/>
+ <parameter name="replacement" value="`$tmp.mnc`"/>
</execute>
- </block>
- </outcome>
- </switch>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idGNBDUFunction}"/>
- <parameter name="replacement" value="`$tmp.GNBDUId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{idNRCellDU}"/>
- <parameter name="replacement" value="`$tmp.cellDULocalId`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mcc}"/>
- <parameter name="replacement" value="`$tmp.mcc`"/>
- </execute>
- <execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
- <parameter name="source" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="outputPath" value="tmp.patchPLMNInfoListEntry-cellDU.url"/>
- <parameter name="target" value="{mnc}"/>
- <parameter name="replacement" value="`$tmp.mnc`"/>
- </execute>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="patch cellDU NSSAI parameters"/>
- <parameter name="field2" value="`$tmp.nearRTRICId`"/>
- <parameter name="field3" value="`$tmp.GNBDUId`"/>
- <parameter name="field4" value="`$tmp.cellDULocalId`"/>
- <parameter name="field5" value="`$tmp.mcc`"/>
- <parameter name="field6" value="`$tmp.mnc`"/>
- <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
- <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
- <parameter name="restapiUser" value="`$prop.controller.user`" />
- <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
- <parameter name="httpMethod" value="PATCH"/>
- <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
- <parameter name='contentType' value='application/yang.patch+json' />
- <parameter name='accept' value='application/yang.patch-status+json'/>
- <parameter name='format' value='json' />
- <outcome value='failure'>
- <block atomic='true'>
- <block atomic='true'>
- <set>
- <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
- <parameter name="tmp.status" value="`$error-code`"/>
- <parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
- </set>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="URL for SO Callback Response"/>
- <parameter name='field2' value="`$tmp.so.callbackURL`" />
- <parameter name='field3' value="`$tmp.status`" />
- <parameter name='field4' value="`$tmp.reason`" />
- <parameter name='field5' value="`$tmp.requestID`" />
- <parameter name='field6' value="`$tmp.action`" />
- </record>
- <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
- <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
- <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
- <parameter name="httpMethod" value="POST"/>
- <parameter name="responsePrefix" value="so-callback-activate-response"/>
- <parameter name='contentType' value='application/json' />
- <parameter name='format' value='json' />
- <parameter name='accept' value='*/*' />
- <parameter name="convertResponse" value="true"/>
- <outcome value='failure'>
- <block>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name="error-code" value="500" />
- <parameter name="error-message" value="Error sending SO Response" />
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block>
- <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
- <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
- <parameter name="level" value="info" />
- <parameter name="field1" value="SO Response Sent "/>
- </record>
- </block>
- </outcome>
- </execute>
- </block>
- <set>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
- </set>
- <return status='failure'>
- <parameter name='ack-final' value='Y'/>
- <parameter name='error-code' value='500'/>
- <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
- </return>
- </block>
- </outcome>
- <outcome value='success'>
- <block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ <parameter name="field1" value="patch cellDU NSSAI parameters"/>
+ <parameter name="field2" value="`$tmp.nearRTRICId`"/>
+ <parameter name="field3" value="`$tmp.GNBDUId`"/>
+ <parameter name="field4" value="`$tmp.NRCellDUID`"/>
+ <parameter name="field5" value="`$tmp.mcc`"/>
+ <parameter name="field6" value="`$tmp.mnc`"/>
+ <parameter name="field7" value="`$tmp.patchPLMNInfoListEntry-cellDU.url`"/>
</record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-status.json'`" />
+ <parameter name="restapiUrl" value="`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.url`"/>
+ <parameter name="restapiUser" value="`$prop.controller.user`" />
+ <parameter name="restapiPassword" value="`$prop.controller.pwd`"/>
+ <parameter name="httpMethod" value="PATCH"/>
+ <parameter name="responsePrefix" value="activate-cellDU-PLMNInfoList-response"/>
+ <parameter name='contentType' value='application/yang.patch+json' />
+ <parameter name='accept' value='application/yang.patch-status+json'/>
+ <parameter name='format' value='json' />
+ <outcome value='failure'>
+ <block atomic='true'>
+ <block atomic='true'>
+ <set>
+ <parameter name="tmp.so.callbackURL" value="`$payloadJson.input.callbackURL`"/>
+ <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.reason" value="`$error-message`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id`"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
+ </set>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/so-callback-response.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="URL for SO Callback Response"/>
+ <parameter name='field2' value="`$tmp.so.callbackURL`" />
+ <parameter name='field3' value="`$tmp.status`" />
+ <parameter name='field4' value="`$tmp.reason`" />
+ <parameter name='field5' value="`$tmp.requestID`" />
+ <parameter name='field6' value="`$tmp.action`" />
+ </record>
+ <execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >
+ <parameter name="templateFileName" value="`$prop.restapi.templateDir + '/ranSlice-so-response.json'`" />
+ <parameter name="restapiUrl" value="`$tmp.so.callbackURL`"/>
+ <parameter name="httpMethod" value="POST"/>
+ <parameter name="responsePrefix" value="so-callback-activate-response"/>
+ <parameter name='contentType' value='application/json' />
+ <parameter name='format' value='json' />
+ <parameter name='accept' value='*/*' />
+ <parameter name="convertResponse" value="true"/>
+ <outcome value='failure'>
+ <block>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name="error-code" value="500" />
+ <parameter name="error-message" value="Error sending SO Response" />
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="SO Response Sent "/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
+ </block>
+ <set>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>
+ </set>
+ <return status='failure'>
+ <parameter name='ack-final' value='Y'/>
+ <parameter name='error-code' value='500'/>
+ <parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>
+ </return>
+ </block>
+ </outcome>
+ <outcome value='success'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="Successfully Patched - cellDU PLMNInfo List"/>
+ </record>
+ </block>
+ </outcome>
+ </execute>
</block>
</outcome>
- </execute>
+ </switch>
</block>
- </outcome>
- </switch>
- </block>
- </for>
- </block>
- </for>
+ </for>
+ </block>
+ </for>
+ </block>
+ </outcome>
+ <outcome value='false'>
+ <block atomic='true'>
+ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
+ <parameter name="file" value="/opt/opendaylight/current/data/log/activateRANSlice.log" />
+ <parameter name="level" value="info" />
+ <parameter name="field1" value="DU plmninfolistlength in false "/>
+ <parameter name="field2" value="`$tmp.DUpLMNInfoList_length`"/>
+ </record>
+ </block>
+ </outcome>
+ </switch>
</block>
</for>
</block>
@@ -1059,10 +1174,10 @@ </for>
<block atomic='true'>
<set>
- <parameter name="tmp.status" value="`$error-code`"/>
+ <parameter name="tmp.status" value="success"/>
<parameter name="tmp.reason" value="`$error-message`"/>
- <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-input.common-header.request-id `"/>
- <parameter name="tmp.action" value="`$activate-r-a-n-slice-input.action`"/>
+ <parameter name="tmp.requestID" value="`$activate-r-a-n-slice-instance-input.common-header.request-id `"/>
+ <parameter name="tmp.action" value="`$activate-r-a-n-slice-instance-input.action`"/>
</set>
<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >
<parameter name="source" value="`$prop.restapi.so.callbackURL`"/>
diff --git a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml index 9185c2fd..698c9ae9 100644 --- a/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml +++ b/platform-logic/ran-slice-api/src/main/xml/ran-slice-api_activateRANSliceInstance.xml @@ -3,13 +3,17 @@ 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}'>
<method rpc='activateRANSliceInstance' mode='sync'>
<block atomic='true'>
+ <execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >
+ <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />
+ <parameter name='contextPrefix' value='prop' />
+ </execute>
<switch test='`$prop.configdb-deployed`'>
<outcome value='true'>
<block atomic='true'>
<record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/>
+ <parameter name="field1" value="Calling activateRANSliceInstance-configDB "/>
</record>
<call module='ran-slice-api' rpc='activateRANSliceInstance-configDb' mode='sync' ></call>
</block>
@@ -19,7 +23,7 @@ <record plugin="org.onap.ccsdk.sli.core.sli.recording.FileRecorder">
<parameter name="file" value="/opt/opendaylight/current/data/log/instantiateRANSlice.log" />
<parameter name="level" value="info" />
- <parameter name="field1" value="Calling instantiateRANSliceModifyAllocate-CPS "/>
+ <parameter name="field1" value="Calling activateRANSliceInstance-cps "/>
</record>
<call module='ran-slice-api' rpc='activateRANSliceInstance-cps' mode='sync' ></call>
</block>
|