+ },
+ {
+ "id": "4a7507d.20e03f8",
+ "type": "execute",
+ "name": "read RIC list size",
+ "xml": "<set>\n<parameter name='tmp.RICList_length' value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 650.5555038452148,
+ "y": 924.1666088104248,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "b883fc7d.48bca",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999084472656,
+ "y": 715.8334693908691,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "621e175.0404ae8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"pLMNInfoList_length \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoList_length`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1864.9999465942383,
+ "y": 806.9444789886475,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3eb11b00.e80194",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo exists\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2324.9998474121094,
+ "y": 754.1666450500488,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e76bc3c0.0edf5",
+ "type": "execute",
+ "name": "read nearRTRICID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].nearRTRICId'`\" />\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 797.4999923706055,
+ "y": 956.6665782928467,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d74aea1d.4971f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 605.2777404785156,
+ "y": 973.3332710266113,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "e76bc3c0.0edf5"
+ ]
+ ]
+ },
+ {
+ "id": "5c9636da.117878",
+ "type": "execute",
+ "name": "prepare nearRTRICId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1994.1665954589844,
+ "y": 1158.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "486c8988.17b4e8",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1990.8332214355469,
+ "y": 1235.5555000305176,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf837fb7.24118",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1987.4998474121094,
+ "y": 1268.888874053955,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2d9bbd55.ba7582",
+ "type": "execute",
+ "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $idz +'].pLMNInfoList['+ $id-plmn +'].sNSSAI.sNSSAI'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.3333435058594,
+ "y": 941.1110382080078,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7229bf20.efefc",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1918.2223739624023,
+ "y": 976.8888721466064,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "65eb3275.4c544c",
+ "type": "switchNode",
+ "name": "is NSSAI exists",
+ "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1930.4446182250977,
+ "y": 1016.9999618530273,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "7bbbd8d9.770108",
+ "1af10d7a.4d0d53"
+ ]
+ ]
+ },
+ {
+ "id": "7bbbd8d9.770108",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2112.139148712158,
+ "y": 996.1112003326416,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c41e3776.a23bb8"
+ ]
+ ]
+ },
+ {
+ "id": "ddf97987.753eb8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1719.4443054199219,
+ "y": 1001.1110420227051,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "2d9bbd55.ba7582",
+ "7229bf20.efefc",
+ "65eb3275.4c544c"
+ ]
+ ]
+ },
+ {
+ "id": "1af10d7a.4d0d53",
+ "type": "outcome",
+ "name": "false",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2292.7776794433594,
+ "y": 967.7777290344238,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "a81fcade.879b78"
+ ]
+ ]
+ },
+ {
+ "id": "a81fcade.879b78",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI doesn't match\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2432.7777366638184,
+ "y": 957.77769947052,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6b23bbb4.2f26d4",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DUpLMNInfoList_length\"/>\n<parameter name=\"field2\" value=\"`$tmp.DUpLMNInfoList_length`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2368.3333435058594,
+ "y": 1391.111042022705,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5789652a.13621c",
+ "type": "execute",
+ "name": "read cell id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1883.8888397216797,
+ "y": 663.3332815170288,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9950a6b.7600558",
+ "type": "execute",
+ "name": "read cellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1963.0555114746094,
+ "y": 1366.6665840148926,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d198da6.7e824",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/activateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1962.430191040039,
+ "y": 1401.978964805603,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "cf85911.dc4117",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$activate-r-a-n-slice-instance-input.action == activate`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 666.6666641235352,
+ "y": 411.1110854148865,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "38c79f73.134ec",
+ "5289e4ce.19e78c"
+ ]
+ ]
+ },
+ {
+ "id": "38c79f73.134ec",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 894.1666603088379,
+ "y": 356.6666889190674,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "ac6ed2b3.1ec52"
+ ]
+ ]
+ },
+ {
+ "id": "5289e4ce.19e78c",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 896.3888053894043,
+ "y": 415.5555763244629,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c4bdd35a.798ee"
+ ]
+ ]
+ },
+ {
+ "id": "30c722b5.e2114e",
+ "type": "set",
+ "name": "set status as ACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='ACTIVE' />",
+ "comments": "",
+ "x": 1348.6112327575684,
+ "y": 326.66665267944336,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "c5cc134f.3ffc2",
+ "type": "set",
+ "name": "set status as INACTIVE",
+ "xml": "<set>\n<parameter name='tmp.status' value='INACTIVE' />",
+ "comments": "",
+ "x": 1323.055576324463,
+ "y": 360.0000066757202,
+ "z": "97d36d8.2debe9",
+ "wires": []
+ },
+ {
+ "id": "ac6ed2b3.1ec52",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1104.166660308838,
+ "y": 344.4443988800049,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "30c722b5.e2114e"
+ ]
+ ]
+ },
+ {
+ "id": "c4bdd35a.798ee",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1100.8334045410156,
+ "y": 401.1111273765564,
+ "z": "97d36d8.2debe9",
+ "wires": [
+ [
+ "c5cc134f.3ffc2"
+ ]
+ ]