+++ /dev/null
-[
- {
- "id": "30dc762d.c453da",
- "type": "method",
- "name": "method",
- "xml": "<method rpc='instantiateRANSliceAllocate' mode='sync'>\n",
- "comments": "",
- "outputs": 1,
- "x": 441.0000305175781,
- "y": 134.00390625,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9c178c66.ea394"
- ]
- ]
- },
- {
- "id": "6fbab241.8fc71c",
- "type": "dgstart",
- "name": "DGSTART",
- "outputs": 1,
- "x": 112.0000228881836,
- "y": 32.00387954711914,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "6aafd46c.27cf7c"
- ]
- ]
- },
- {
- "id": "6aafd46c.27cf7c",
- "type": "service-logic",
- "name": "ran-slice-api ${project.version}",
- "module": "ran-slice-api",
- "version": "${project.version}",
- "comments": "",
- "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
- "outputs": 1,
- "x": 198,
- "y": 136.00395965576172,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "30dc762d.c453da"
- ]
- ]
- },
- {
- "id": "d36c0fad.1f6a1",
- "type": "returnSuccess",
- "name": "return success",
- "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"N\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
- "comments": "",
- "x": 242.43433380126953,
- "y": 2693.5325717926025,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "d97656c1.922d48",
- "type": "comment",
- "name": "instantiateRANSliceAllocate",
- "info": "",
- "comments": "",
- "x": 410.0000305175781,
- "y": 76.01427841186523,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "f26a79f0.ede0c8",
- "type": "block",
- "name": "Get NRT RIC Details",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1568.4444427490234,
- "y": 249.35807991027832,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ae9e610b.5618b",
- "456f6e33.f141c",
- "d20de074.27276"
- ]
- ]
- },
- {
- "id": "ae9e610b.5618b",
- "type": "execute",
- "name": "generate getNearRTRICsFromTrackingArea URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICsFromTrackingArea`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICsFromTrackingArea.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2055.000030517578,
- "y": 120.91360473632812,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "456f6e33.f141c",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get NearRTRIC for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2052.000156402588,
- "y": 185.91357517242432,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d20de074.27276",
- "type": "execute",
- "name": "Get nearRTRIC for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICsFromTrackingArea.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2026.5559387207031,
- "y": 223.91363334655762,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "caa80abb.caf6e8",
- "ff2d82f.9e8a28"
- ]
- ]
- },
- {
- "id": "caa80abb.caf6e8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2252.0000953674316,
- "y": 205.91360569000244,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d586d421.e34158"
- ]
- ]
- },
- {
- "id": "ff2d82f.9e8a28",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2249.0000343322754,
- "y": 304.9134941101074,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5ee22109.cd9df"
- ]
- ]
- },
- {
- "id": "d586d421.e34158",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2457.0001373291016,
- "y": 154.91364669799805,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "7a7ab3e2.c18c1c",
- "a011b7a.e70ee48",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "5ee22109.cd9df",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2397.999879837036,
- "y": 297.91362857818604,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cc837bd0.6b7358",
- "7a212979.cc33f8"
- ]
- ]
- },
- {
- "id": "7a7ab3e2.c18c1c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2471.999771118164,
- "y": 240.9136118888855,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cc837bd0.6b7358",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getRIC-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"`$getRIC-configdb-response.[0].gNBCUCPList_length`\"/>\n<parameter name=\"field4\" value=\"`$getRIC-configdb-response.[0].gNBCUUPList_length`\"/>\n<parameter name=\"field5\" value=\"`$getRIC-configdb-response.[0].gNBDUList_length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2527.9996948242188,
- "y": 297.91361236572266,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a011b7a.e70ee48",
- "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": 2570.9998359680176,
- "y": 80.02468681335449,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "7a212979.cc33f8",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2515.777919769287,
- "y": 351.9136257171631,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "6c610e39.15a75",
- "type": "for",
- "name": "For ConfigDB Entries",
- "xml": "<for index='id1' start='0' end=\"`$getRIC-configdb-response._length`\" >",
- "comments": "",
- "outputs": 1,
- "x": 1207.0001182556152,
- "y": 1995.0145206451416,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c335fdab.286da",
- "a8b6660e.61b458",
- "3141b4a2.d4a70c",
- "52fa9c93.f9a884",
- "5e440195.d819e",
- "7ce38def.582e54",
- "5cb2ea78.9334f4",
- "b76cbf09.f8c7c"
- ]
- ]
- },
- {
- "id": "c335fdab.286da",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Payload Entry# \"/>\n<parameter name=\"field2\" value=\"`$id1`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1582.0003662109375,
- "y": 807.0144901275635,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9c178c66.ea394",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 76,
- "y": 256.0142822265625,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "dcb73a19.915128",
- "b44ebb3c.26c6c8",
- "f5141f0d.f5d1e",
- "2462a825.97f908",
- "d36c0fad.1f6a1"
- ]
- ]
- },
- {
- "id": "33a488d9.da08b8",
- "type": "block",
- "name": "Instantiate RAN Slice",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 993.8889007568359,
- "y": 449.23657512664795,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "6c610e39.15a75",
- "8d6aced3.9e422",
- "aa57affa.297f7",
- "73661519.bbce9c",
- "87fa078d.b90c68"
- ]
- ]
- },
- {
- "id": "a8b6660e.61b458",
- "type": "block",
- "name": "DU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1783.0000610351562,
- "y": 5738.014476060867,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "fa25ae75.775db",
- "17aaa507.af769b",
- "17f6bbf5.db9634",
- "f2670a26.a88588"
- ]
- ]
- },
- {
- "id": "2d76916d.9aed9e",
- "type": "block",
- "name": "Add RRM Policy Ratio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3446.0004501342773,
- "y": 7047.014343261719,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "860326e9.d50c08",
- "f2168682.daffc8",
- "a49b5184.6478a",
- "334f8ecc.5195b2",
- "27f939c0.3c0786",
- "8eba75f5.17a9b8",
- "76711508.6abfcc"
- ]
- ]
- },
- {
- "id": "d17a02a9.a3f44",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3491.000778198242,
- "y": 6375.014646530151,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "43fed580.a0723c",
- "d737aa8b.8f3068"
- ]
- ]
- },
- {
- "id": "43fed580.a0723c",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3734.000862121582,
- "y": 6379.0146484375,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bb7adb14.ea7608"
- ]
- ]
- },
- {
- "id": "d737aa8b.8f3068",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3719.000862121582,
- "y": 6453.014650344849,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "aae94e03.45cf1"
- ]
- ]
- },
- {
- "id": "17aaa507.af769b",
- "type": "for",
- "name": "For DUList Entries",
- "xml": "<for index='id2' start='0' end='`$tmp.DUListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 1883.0004425048828,
- "y": 6052.014471054077,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2dbac30f.3bc12c"
- ]
- ]
- },
- {
- "id": "fa25ae75.775db",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUListEntries`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2076.000617980957,
- "y": 5434.015257835388,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "17f6bbf5.db9634",
- "type": "execute",
- "name": "set DU Level parms",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2078.000373840332,
- "y": 5368.016234397888,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bb4628ad.6f5158",
- "type": "execute",
- "name": "cellDUListEntries",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3855.9998092651367,
- "y": 5873.014580488205,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "83dc865f.54aa58",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellDU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBDUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBIdLength`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nFType`\"/>\n<parameter name=\"field8\" value=\"`$tmp.pLMNId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3454.0001258850098,
- "y": 5989.014471054077,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "817dcd74.4d82",
- "type": "block",
- "name": "cellDUList Level Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3479.0001220703125,
- "y": 5928.014470100403,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bb4628ad.6f5158",
- "8ff1815.b3a578",
- "88033603.7b4c08",
- "43236f88.7ae02",
- "8984b685.bf9048",
- "793fc01b.adeef",
- "19d68d15.318ba3"
- ]
- ]
- },
- {
- "id": "8ff1815.b3a578",
- "type": "execute",
- "name": "cellDUListEntries-gNBDUId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.gNBDUId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUId'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3884.9999504089355,
- "y": 5911.014298439026,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "88033603.7b4c08",
- "type": "execute",
- "name": "cellDUListEntries-gNBDUName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBDUName'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3883.9999656677246,
- "y": 5950.0143003463745,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "43236f88.7ae02",
- "type": "execute",
- "name": "cellDUListEntries-gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3863.9999389648438,
- "y": 5988.014315605164,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8984b685.bf9048",
- "type": "execute",
- "name": "cellDUListEntries-gNBIdLength",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].gNBIdLength'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3878.9999465942383,
- "y": 6036.014044761658,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "54dd3d3d.a02554",
- "type": "execute",
- "name": "cellDUListEntries-pLMNId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].pLMNId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4239.000137329102,
- "y": 6151.014611244202,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "66de8977.a7fa58",
- "type": "for",
- "name": "For List of Cells",
- "xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 2306.9910736083984,
- "y": 6025.014582157135,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "fa718cbb.78252"
- ]
- ]
- },
- {
- "id": "e38105a3.21d0d8",
- "type": "block",
- "name": "pLMNInfoList Level Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3625.9899826049805,
- "y": 6148.0147042274475,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "dc80bab3.e26928",
- "20661c8c.9d1b24"
- ]
- ]
- },
- {
- "id": "dc80bab3.e26928",
- "type": "execute",
- "name": "pLMNInfoListEntries",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3946.9896392822266,
- "y": 6174.014312207699,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2ef1c224.b1d33e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId for TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3636.9899826049805,
- "y": 6200.015069961548,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "57a3474c.4cea88",
- "type": "for",
- "name": "For pLMNInfoListEntries",
- "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 3694.990119934082,
- "y": 6322.0152950286865,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2df6786c.cc7038"
- ]
- ]
- },
- {
- "id": "4fa8006e.a5cb7",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3405.9897079467773,
- "y": 6047.014472961426,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2df6786c.cc7038",
- "type": "block",
- "name": "pLMNInfoList Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3935.9898071289062,
- "y": 6316.0152950286865,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "4e790459.0021ec",
- "54f95a5d.1f9a24"
- ]
- ]
- },
- {
- "id": "4e790459.0021ec",
- "type": "execute",
- "name": "sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 4098.989562988281,
- "y": 6260.014643192291,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "34ba2aaf.361466",
- "type": "comment",
- "name": "Check if sNSSAI already exists in YANG tree",
- "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
- "comments": "",
- "x": 3736.9899826049805,
- "y": 6274.015069961548,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "54f95a5d.1f9a24",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 4119.9895668029785,
- "y": 6338.014646530151,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "3141b4a2.d4a70c",
- "type": "execute",
- "name": "nearRTRICId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].nearRTRICId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1547.9897232055664,
- "y": 607.0144557952881,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "20661c8c.9d1b24",
- "type": "execute",
- "name": "cellLocalId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $idCell + '].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3923.9898071289062,
- "y": 6238.014476776123,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ae29fb7e.6e8d98",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3874.001537322998,
- "y": 6822.348090171814,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "cefaba81.9b3a38",
- "type": "block",
- "name": "Add PLMNInfoList Entry",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3462.0007705688477,
- "y": 6481.358399391174,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ae29fb7e.6e8d98",
- "5f347600.466d9c",
- "cd2d5652.f9e808",
- "80cbf9ed.b7d368",
- "75976871.6e2ac8",
- "6b85633e.478abc",
- "d17a02a9.a3f44",
- "6e1c4e1e.30632",
- "f2c426b2.eb7f68",
- "d07598b0.2afaf8"
- ]
- ]
- },
- {
- "id": "6e1c4e1e.30632",
- "type": "execute",
- "name": "add PLMNInfoListEntry ToNRCellDU using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3954.000862121582,
- "y": 6901.35841178894,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "536d569b.ab3828",
- "295c2824.3ea798"
- ]
- ]
- },
- {
- "id": "5f347600.466d9c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3872.000986099243,
- "y": 6785.358832359314,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bb7adb14.ea7608",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4005.0008697509766,
- "y": 6381.014647960663,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "cd2d5652.f9e808",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3840.9904556274414,
- "y": 6538.01465177536,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "80cbf9ed.b7d368",
- "type": "execute",
- "name": "Populate idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3849.9904556274414,
- "y": 6587.014653205872,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "75976871.6e2ac8",
- "type": "execute",
- "name": "Populate mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3850.9904556274414,
- "y": 6637.014654159546,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "6b85633e.478abc",
- "type": "execute",
- "name": "Populate mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3852.990550994873,
- "y": 6680.014594078064,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "536d569b.ab3828",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4252.000602722168,
- "y": 6838.34766960144,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d1eb7f57.e28e7"
- ]
- ]
- },
- {
- "id": "295c2824.3ea798",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4291.000717163086,
- "y": 6922.347679853439,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "6a2fff25.c7787"
- ]
- ]
- },
- {
- "id": "d1eb7f57.e28e7",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4514.000499725342,
- "y": 6723.347751379013,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f410d3f9.340c2",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "6a2fff25.c7787",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4473.000228881836,
- "y": 6877.347679853439,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9c8de94e.413ad8"
- ]
- ]
- },
- {
- "id": "f410d3f9.340c2",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfo List Entry to NRCellCUr\" />",
- "comments": "",
- "x": 4679.000499725342,
- "y": 6806.348239660263,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "9c8de94e.413ad8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLDU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4640.000228881836,
- "y": 6888.348168134689,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "371caebf.cc2412",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4165.990219116211,
- "y": 6440.014649391174,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "aae94e03.45cf1",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3882.9901275634766,
- "y": 6442.0146498680115,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "371caebf.cc2412",
- "d35f209d.81bec"
- ]
- ]
- },
- {
- "id": "d35f209d.81bec",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4129.990219116211,
- "y": 6497.014650344849,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "21f1f8b1.6d6388",
- "type": "comment",
- "name": "Connect to AddPLMNInfoList Entry",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3892.9901275634766,
- "y": 6861.347992897034,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "860326e9.d50c08",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3744.9898681640625,
- "y": 7010.681184768677,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8618a444.4e3ad8",
- "f2f1d9e5.e1c4e8"
- ]
- ]
- },
- {
- "id": "8618a444.4e3ad8",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3939.9898948669434,
- "y": 6970.681092262268,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "94896d8b.6e0fe"
- ]
- ]
- },
- {
- "id": "f2f1d9e5.e1c4e8",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3919.9898681640625,
- "y": 7049.681183815002,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "67f45cfa.b65324"
- ]
- ]
- },
- {
- "id": "8eba75f5.17a9b8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3896.9909706115723,
- "y": 7322.015332221985,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "76f13015.fe52d",
- "type": "execute",
- "name": "add RRM Policy ToNRCellDU using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3956.9899368286133,
- "y": 7561.024765729904,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "440eaba9.2423c4"
- ]
- ]
- },
- {
- "id": "27f939c0.3c0786",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellDU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3888.9899940490723,
- "y": 7281.025586128235,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "94896d8b.6e0fe",
- "type": "execute",
- "name": "generate addRRMPolicy.ToNRCellDU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4225.989860534668,
- "y": 6968.68116569519,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f2168682.daffc8",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n ",
- "comments": "",
- "outputs": 1,
- "x": 3917.9796447753906,
- "y": 7103.681169509888,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a49b5184.6478a",
- "type": "execute",
- "name": "Populate idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3910.9796447753906,
- "y": 7157.681171417236,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "334f8ecc.5195b2",
- "type": "execute",
- "name": "Populate id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellDU`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3889.9796447753906,
- "y": 7194.681173324585,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a3757469.a04c08",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4292.98974609375,
- "y": 7308.014510154724,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2b719b98.e8fe44"
- ]
- ]
- },
- {
- "id": "440eaba9.2423c4",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4293.989814758301,
- "y": 7587.014267683029,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d5703b74.4909a8"
- ]
- ]
- },
- {
- "id": "2b719b98.e8fe44",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4662.989776611328,
- "y": 7256.014129638672,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "10c9a5de.802a5a",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "d5703b74.4909a8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4473.989570617676,
- "y": 7584.014267683029,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f210526f.614be"
- ]
- ]
- },
- {
- "id": "10c9a5de.802a5a",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRM Policy\" />",
- "comments": "",
- "x": 4784.989776611328,
- "y": 7311.014617919922,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "f210526f.614be",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4622.98987197876,
- "y": 7610.014460325241,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e8eb2014.7c62c",
- "type": "execute",
- "name": "generate RRMPolicy Ratio URL ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellDU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4417.97957611084,
- "y": 7016.681475639343,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "67f45cfa.b65324",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 4112.979518890381,
- "y": 7044.681183815002,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e8eb2014.7c62c",
- "67e16bd2.94bfe4"
- ]
- ]
- },
- {
- "id": "67e16bd2.94bfe4",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellDU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4354.979553222656,
- "y": 7078.681122779846,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "86cb670e.35d4f8",
- "type": "comment",
- "name": "Connect to RRM P{olicy Ratio",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3953.9799842834473,
- "y": 7355.01508808136,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "f2670a26.a88588",
- "type": "block",
- "name": "rrmPolicyDedicatedRatio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2121.000312805176,
- "y": 5563.6932373046875,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2a2a7a56.17c0b6",
- "db112dc7.c3cd7",
- "cac2cf96.0a6fb",
- "7337084.cac37f8",
- "91a7c29.a10f14",
- "7d1144e6.f38d6c",
- "1925c4db.44664b",
- "94e48be2.0b8ef8",
- "e310d8dd.c09168",
- "2a1be4bc.b4fc9c",
- "6fbcc34d.ff7a7c"
- ]
- ]
- },
- {
- "id": "793fc01b.adeef",
- "type": "execute",
- "name": "cellDUListEntries-nFType",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].nFType'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3853,
- "y": 6072.01429271698,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "31fc3576.1779ba",
- "type": "set",
- "name": "set rrmPolicyDedicatedRatio",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='10' />",
- "comments": "",
- "x": 3840.000030517578,
- "y": 5777.135711669922,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "3176baf4.396126",
- "type": "set",
- "name": "set rrmPolicyDedicatedRatio",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='20' />",
- "comments": "",
- "x": 3832.999954223633,
- "y": 5824.135678291321,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2a2a7a56.17c0b6",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2254.000129699707,
- "y": 5872.136839866638,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "52fa9c93.f9a884",
- "type": "block",
- "name": "CUCP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1561.9895324707031,
- "y": 1967.3477478027344,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "76e9f03a.72e5e",
- "f40f92b3.5f8ca",
- "8b94d15.b62493",
- "4de274eb.1a202c"
- ]
- ]
- },
- {
- "id": "b2a4c395.358d9",
- "type": "block",
- "name": "Add RRM Policy Ratio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3033.9897117614746,
- "y": 3066.347779273987,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "af0645ba.bd6128",
- "57067079.d7eaf",
- "177665d4.0287aa",
- "f5121b6a.cf4bd8",
- "c26da8e2.6be218",
- "3c2df2a6.8e381e",
- "8f57243a.070a88",
- "e29459f0.edf198"
- ]
- ]
- },
- {
- "id": "87877ed0.2b1c1",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3046.9897117614746,
- "y": 2328.3480834960938,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "33b4ba0d.fa8706",
- "9e12b054.a44a5"
- ]
- ]
- },
- {
- "id": "33b4ba0d.fa8706",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3236.9896926879883,
- "y": 2298.347867012024,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "6de23c3b.ee4dc4"
- ]
- ]
- },
- {
- "id": "9e12b054.a44a5",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3216.9896659851074,
- "y": 2377.3479585647583,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ee386d5e.1bb31"
- ]
- ]
- },
- {
- "id": "f40f92b3.5f8ca",
- "type": "for",
- "name": "For CUCPList Entries",
- "xml": "<for index='id2' start='0' end='`$tmp.CUCPListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 1831.9895248413086,
- "y": 1962.3478698730469,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8db87c81.362ff",
- "cd6d4f0b.9dfc1",
- "a9f3222c.3a77f",
- "17a46a75.d878c6",
- "ac58f23b.62aee"
- ]
- ]
- },
- {
- "id": "76e9f03a.72e5e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPListEntries`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1746.989658355713,
- "y": 1870.3480052947998,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8b94d15.b62493",
- "type": "execute",
- "name": "set CUCP Level parms",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1701.9896545410156,
- "y": 1832.3475170135498,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "c560a376.9ae24",
- "type": "execute",
- "name": "cellCUList Entries",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2511.9893112182617,
- "y": 1680.3481256961823,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8db87c81.362ff",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof cellCU of Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.cellCUListEntries`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUCPList.gNBIdLengthh`\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUCPList.nFType`\"/>\n<parameter name=\"field7\" value=\"`$tmp.gNBCUCPList.pLMNId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2109.989797592163,
- "y": 1886.3479890823364,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "cd6d4f0b.9dfc1",
- "type": "block",
- "name": "cellCUCPList Level Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2178.989532470703,
- "y": 1783.3478088378906,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c560a376.9ae24",
- "50b4ce21.73071",
- "5a148b90.407424",
- "2e0bf24a.29594e",
- "920abbcc.99e558",
- "3fbba716.3dadf8"
- ]
- ]
- },
- {
- "id": "50b4ce21.73071",
- "type": "execute",
- "name": "gNBCUCPList.gNBCUName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBCUName' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBCUName'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 2540.9893493652344,
- "y": 1723.3477487564087,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "5a148b90.407424",
- "type": "execute",
- "name": "gNBCUCPList-gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2555.9896507263184,
- "y": 1772.3478708267212,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2e0bf24a.29594e",
- "type": "execute",
- "name": "gNBCUCPList-gNBIdLength",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].gNBIdLength'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2581.989532470703,
- "y": 1821.3479919433594,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "920abbcc.99e558",
- "type": "execute",
- "name": "gNBCUCPList-pLMNId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].pLMNId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2594.989532470703,
- "y": 1913.3478708267212,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a9f3222c.3a77f",
- "type": "for",
- "name": "For List of Cells ",
- "xml": "<for index='id3' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 2254.979522705078,
- "y": 2192.347869873047,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "15c261.3e15cda",
- "64cedf3c.b0559"
- ]
- ]
- },
- {
- "id": "edfc61ac.1dced",
- "type": "block",
- "name": "pLMNInfoList Level Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3208.979274749756,
- "y": 2057.3477783203125,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eca6d351.66bf"
- ]
- ]
- },
- {
- "id": "eca6d351.66bf",
- "type": "execute",
- "name": "pLMNInfoListEntries",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].pLMNInfoList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3473.979290008545,
- "y": 2035.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "df5aa5bc.20d4f8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Numberof pLMNInfoList Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.pLMNInfoListEntries`\"/>\n<parameter name=\"field3\" value=\"cellLocalId from Relevant cells \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3175.979290008545,
- "y": 2115.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f286d783.02ea68",
- "type": "for",
- "name": "For pLMNInfoListEntries",
- "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 3206.979290008545,
- "y": 2213.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bd382cb0.788f7"
- ]
- ]
- },
- {
- "id": "17a46a75.d878c6",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"Calculated maxNumberOfConns \"/>\n<parameter name=\"field10\" value=\"`$tmp.maxNumberOfConns`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2108.979331970215,
- "y": 1927.3477449417114,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bd382cb0.788f7",
- "type": "block",
- "name": "pLMNInfoList Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3426.979290008545,
- "y": 2209.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a60a5219.86792",
- "cc299fbe.5708f"
- ]
- ]
- },
- {
- "id": "a60a5219.86792",
- "type": "execute",
- "name": "sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBDUList[' + $id2 + '].cellDUList[' + $id3 + '].pLMNInfoList[' + $id4 + '].sNSSAI.sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3600.9793434143066,
- "y": 2165.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b5325d5c.4b2a2",
- "type": "comment",
- "name": "Check if sNSSAI already exists in YANG tree",
- "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
- "comments": "",
- "x": 3278.979290008545,
- "y": 2164.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cc299fbe.5708f",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3603.979290008545,
- "y": 2229.3477687835693,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b1a72d91.c8006",
- "type": "execute",
- "name": "cellLocalId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $id3 + '].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3450.9792823791504,
- "y": 2095.3477535247803,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bf3d2ed.eec87d",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3387.9905395507812,
- "y": 2668.6814641952515,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e944c0a6.37812",
- "type": "block",
- "name": "Add PLMNInfoList Entry",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3092.9893836975098,
- "y": 2604.6918392181396,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bf3d2ed.eec87d",
- "79f5133.09887ec",
- "dafbdf61.3212b",
- "9395a449.84a3a8",
- "e2d7b7d2.65cc08",
- "5915bfdc.bca9e",
- "87877ed0.2b1c1",
- "77d34d2b.5088b4",
- "e9c2a3b4.eaefb"
- ]
- ]
- },
- {
- "id": "77d34d2b.5088b4",
- "type": "execute",
- "name": "add PLMNInfoListEntry ToNRCellCU using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3494.990074157715,
- "y": 2743.6917991638184,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "84aed27f.54603",
- "b01356db.a097a8"
- ]
- ]
- },
- {
- "id": "79f5133.09887ec",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3381.989501953125,
- "y": 2636.6920232772827,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "6de23c3b.ee4dc4",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3521.9896202087402,
- "y": 2298.3480167388916,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "dafbdf61.3212b",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3403.9794120788574,
- "y": 2434.3478388786316,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9395a449.84a3a8",
- "type": "execute",
- "name": "Populate idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3391.97940826416,
- "y": 2480.347899913788,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e2d7b7d2.65cc08",
- "type": "execute",
- "name": "Populate mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3378.979410171509,
- "y": 2521.3479614257812,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "5915bfdc.bca9e",
- "type": "execute",
- "name": "Populate mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3386.97940826416,
- "y": 2562.3478393554688,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "84aed27f.54603",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3610.989734649658,
- "y": 2541.6811418533325,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "db8413de.9796"
- ]
- ]
- },
- {
- "id": "b01356db.a097a8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3903.989776611328,
- "y": 2763.681233406067,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "63179411.9eb23c"
- ]
- ]
- },
- {
- "id": "db8413de.9796",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3744.989734649658,
- "y": 2548.681263923645,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "dd4a76b.8125388",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "63179411.9eb23c",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4078.989456176758,
- "y": 2760.681233406067,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3502ceb8.4e9282"
- ]
- ]
- },
- {
- "id": "dd4a76b.8125388",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to NRCellCU\" />",
- "comments": "",
- "x": 3890.9894104003906,
- "y": 2648.6813440322876,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "3502ceb8.4e9282",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4233.99010848999,
- "y": 2752.681559085846,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "4de274eb.1a202c",
- "type": "set",
- "name": "Calculate RRM Parms",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />",
- "comments": "",
- "x": 1816.9792442321777,
- "y": 1917.3480072021484,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cdecce9.6fb6d3",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry.ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3716.979347229004,
- "y": 2342.347897529602,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ee386d5e.1bb31",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3409.979316711426,
- "y": 2372.3479585647583,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cdecce9.6fb6d3",
- "11c99de7.4cd092"
- ]
- ]
- },
- {
- "id": "11c99de7.4cd092",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3660.979747772217,
- "y": 2395.3480911254883,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "73661519.bbce9c",
- "type": "block",
- "name": "Get Cells List in TA",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1431.3128929138184,
- "y": 477.4591579437256,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "afd584fe.888a28"
- ]
- ]
- },
- {
- "id": "c519014f.a858f",
- "type": "execute",
- "name": "generate getListOfCells URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getListOfCells`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getListOfCells.url\"/>\n <parameter name=\"target\" value=\"{trackingArea}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.trackingArea`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2027.3127899169922,
- "y": 343.014684677124,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "49c75c00.2661e4",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get getListOfCells for tracking area\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.trackingArea`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2026.757553100586,
- "y": 392.7926445007324,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d7a068b7.254888",
- "type": "execute",
- "name": "Get ListOfCells for TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getListOfCells.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getListofCells-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
- "comments": "",
- "outputs": 1,
- "x": 1922.0906372070312,
- "y": 441.34810733795166,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a79c8274.505ff",
- "5d31345a.be9c1c"
- ]
- ]
- },
- {
- "id": "a79c8274.505ff",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2237.97931098938,
- "y": 412.01486587524414,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "49ce6f67.7d79a"
- ]
- ]
- },
- {
- "id": "5d31345a.be9c1c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2148.0905151367188,
- "y": 459.1259765625,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "39e80a5a.f4ce06"
- ]
- ]
- },
- {
- "id": "49ce6f67.7d79a",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2412.9792861938477,
- "y": 438.3481388092041,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f0226b00.1849d8",
- "80e24c71.049a1",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "39e80a5a.f4ce06",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2132.9790420532227,
- "y": 569.348222732544,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "4882c503.48fe3c",
- "ade202cb.57fd5",
- "711e4b78.0a0ac4"
- ]
- ]
- },
- {
- "id": "f0226b00.1849d8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2348.9790420532227,
- "y": 516.348123550415,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "4882c503.48fe3c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained List of Cells from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getListofCells-configdb-response._length`\"/>\n<parameter name=\"field3\" value=\"List of Cells in the Tracking Area Relevant for RAN Slice Instantiation \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2292.9790115356445,
- "y": 564.3481311798096,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "80e24c71.049a1",
- "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": 2392.979377746582,
- "y": 376.45918464660645,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "ade202cb.57fd5",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2312.7573318481445,
- "y": 708.3481616973877,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "dfd24de5.c4599",
- "type": "comment",
- "name": "Connect to AddPLMNInfoList Entry",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3390.979106903076,
- "y": 2702.6810569763184,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "af0645ba.bd6128",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3245.979106903076,
- "y": 2860.014430999756,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c1795963.995998",
- "afb1af83.ed56f"
- ]
- ]
- },
- {
- "id": "c1795963.995998",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3440.979133605957,
- "y": 2820.014338493347,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a9fc95c9.e282d8"
- ]
- ]
- },
- {
- "id": "afb1af83.ed56f",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3420.979106903076,
- "y": 2899.0144300460815,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "be2c6f5d.59ae6"
- ]
- ]
- },
- {
- "id": "3c2df2a6.8e381e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.payload.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3392.9802284240723,
- "y": 3143.3483386039734,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8f57243a.070a88",
- "type": "execute",
- "name": "add RRM Policy ToNRCellCU using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3630.9791221618652,
- "y": 3196.3580265045166,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a759308a.d3254",
- "51534e06.df468"
- ]
- ]
- },
- {
- "id": "c26da8e2.6be218",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToNRCellCU URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3398.9791297912598,
- "y": 3109.3581647872925,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a9fc95c9.e282d8",
- "type": "execute",
- "name": "generate addRRMPolicy.ToNRCellDU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3723.979106903076,
- "y": 2815.0144302845,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "57067079.d7eaf",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3436.9688682556152,
- "y": 2951.0145206451416,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "177665d4.0287aa",
- "type": "execute",
- "name": "Populate idNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3417.9688682556152,
- "y": 2990.0142765045166,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f5121b6a.cf4bd8",
- "type": "execute",
- "name": "Populate id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.NRCellCU`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3398.9688758850098,
- "y": 3030.014659881592,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a759308a.d3254",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3681.979236602783,
- "y": 3004.3478899002075,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9066b8cd.4913e8"
- ]
- ]
- },
- {
- "id": "51534e06.df468",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3918.9793663024902,
- "y": 3168.3477725982666,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2d056dd9.34f1e2"
- ]
- ]
- },
- {
- "id": "9066b8cd.4913e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3829.979236602783,
- "y": 3031.3478899002075,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eb40b68.a04d848",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "2d056dd9.34f1e2",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4082.9788780212402,
- "y": 3173.3477725982666,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e4b945c.e77adb8"
- ]
- ]
- },
- {
- "id": "eb40b68.a04d848",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicyr\" />",
- "comments": "",
- "x": 3968.978992462158,
- "y": 3103.3478899002075,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "e4b945c.e77adb8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLCU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4182.97936630249,
- "y": 3098.3480167388916,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "1eec1e3d.0816d2",
- "type": "execute",
- "name": "generate RRMPolicy Ratio URL ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToNRCellCU.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3919.968822479248,
- "y": 2870.0144214630127,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "be2c6f5d.59ae6",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3613.9687576293945,
- "y": 2894.0144300460815,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "1eec1e3d.0816d2",
- "1e618b7e.24f315"
- ]
- ]
- },
- {
- "id": "1e618b7e.24f315",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3856.9688301086426,
- "y": 2929.0144805908203,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ab64c216.a7876",
- "type": "comment",
- "name": "Connect to RRM P{olicy Ratio",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3601.9686241149902,
- "y": 3141.3475284576416,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "3fbba716.3dadf8",
- "type": "execute",
- "name": "gNBCUCPList-nFType",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.nFType' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].nFType'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2584.989528656006,
- "y": 1864.3479318618774,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "5e440195.d819e",
- "type": "block",
- "name": "CUUP",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1840.0207481384277,
- "y": 3552.0926456451416,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "367b5507.403b9a",
- "c0095647.0fd618",
- "7caf7b16.3d5744",
- "609da7a4.ddc828"
- ]
- ]
- },
- {
- "id": "5eaa167f.4c5608",
- "type": "block",
- "name": "Add RRM Policy Ratio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3202.0210342407227,
- "y": 5019.092973947525,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "82748db8.4ca75",
- "72fe9beb.7965a4",
- "8a0b8e83.0cfd",
- "3e361ebc.64da82",
- "a82fe160.10a1c",
- "cbc84674.c85d48",
- "522f88f5.126828"
- ]
- ]
- },
- {
- "id": "b574596b.7f2968",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3398.0207710266113,
- "y": 4264.093716621399,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9627cafc.5db888",
- "754902ac.bfb85c"
- ]
- ]
- },
- {
- "id": "9627cafc.5db888",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3639.0207710266113,
- "y": 4196.093717098236,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "49fa0ef5.f930e"
- ]
- ]
- },
- {
- "id": "754902ac.bfb85c",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3620.020893096924,
- "y": 4290.093594551086,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "769414f9.31d82c"
- ]
- ]
- },
- {
- "id": "c0095647.0fd618",
- "type": "for",
- "name": "For List of CUUP's",
- "xml": "<for index='id2' start='0' end='`$tmp.CUUPListEntries `' >",
- "comments": "",
- "outputs": 1,
- "x": 2486.020782470703,
- "y": 3646.093475341797,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9a3125a2.302c58",
- "3c6cd3b6.a98ffc",
- "37ac6deb.5aa1c2",
- "299519c6.12c686",
- "625e20c1.4156c",
- "5eaa167f.4c5608",
- "6851f370.7d158c",
- "b0b9428c.79986"
- ]
- ]
- },
- {
- "id": "367b5507.403b9a",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"getListofCells-configdb-response. \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPListEntries`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2909.0206336975098,
- "y": 3399.0929479599,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "7caf7b16.3d5744",
- "type": "execute",
- "name": "set CUUP Level parms",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2912.020538330078,
- "y": 3356.0930309295654,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9a3125a2.302c58",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCP Details \"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUUPList.gNBIdLength`\"/>\n<parameter name=\"field5\" value=\"`$tmp.gNBCUUPList.pLMNInfoList_length`\"/>\n<parameter name=\"field6\" value=\"`$tmp.payload.pLMNId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3396.020538330078,
- "y": 3812.0935192108154,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "3c6cd3b6.a98ffc",
- "type": "block",
- "name": "cellCUUPList Level Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3362.0206756591797,
- "y": 3741.0931499004364,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eca2e296.11ec6",
- "207b63e2.49f9cc",
- "eb70324f.683a8",
- "b678ffb6.d61bb"
- ]
- ]
- },
- {
- "id": "eca2e296.11ec6",
- "type": "execute",
- "name": "gNBCUUPList.gNBCUUPId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBCUUPId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBCUUPId'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3799.020782470703,
- "y": 3660.092987060547,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "207b63e2.49f9cc",
- "type": "execute",
- "name": "gNBCUUPList-gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3820.0208702087402,
- "y": 3755.0931339263916,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "eb70324f.683a8",
- "type": "execute",
- "name": "gNBCUUPList-gNBIdLength",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUUPList.gNBIdLength' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].gNBIdLength'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3838.020637512207,
- "y": 3799.0930540561676,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "299519c6.12c686",
- "type": "for",
- "name": "For pLMNInfoListEntries",
- "xml": "<for index='id4' start='0' end='`$tmp.pLMNInfoListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 3401.0103874206543,
- "y": 4050.0931446552277,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e6c133f2.09d06"
- ]
- ]
- },
- {
- "id": "37ac6deb.5aa1c2",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"MCC \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"MNC \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"Calculated uLThptPerSlice \"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Calculated dLThptPerSlice \"/>\n<parameter name=\"field8\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3401.010509490967,
- "y": 3904.093022108078,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e6c133f2.09d06",
- "type": "block",
- "name": "pLMNInfoList Parms",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3652.0105628967285,
- "y": 4049.093095779419,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c6f71a2f.6d6258",
- "befb76e5.ec7c48"
- ]
- ]
- },
- {
- "id": "c6f71a2f.6d6258",
- "type": "execute",
- "name": "sNSSAI",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.fromRAN.sNSSAI' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList[' + $id3 + '].sNSSAI'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3866.010528564453,
- "y": 4000.0932178497314,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ce73c3dc.bd809",
- "type": "comment",
- "name": "Check if sNSSAI already exists in YANG tree",
- "info": "This needs more work. If sNSSAI already exists in the YANG tree, need to patch the existing pLMNInfoList entry",
- "comments": "",
- "x": 3469.0105476379395,
- "y": 4105.093095779419,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "befb76e5.ec7c48",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI from RAN to check if already exists \"/>\n<parameter name=\"field2\" value=\"`$tmp.fromRAN.sNSSAI`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3870.0105895996094,
- "y": 4084.0927295684814,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bcf48d78.e546",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PLMNInfoList Entry Add to NRCellCU\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToNRCellDU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3747.021739959717,
- "y": 4639.426486968994,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "625e20c1.4156c",
- "type": "block",
- "name": "Add PLMNInfoList Entry",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3341.0205268859863,
- "y": 4449.437335968018,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bcf48d78.e546",
- "b978fea2.5234a",
- "46988b6c.ed6e44",
- "9dac8b25.fe65a8",
- "378bcbda.47c084",
- "b574596b.7f2968",
- "8a237ca9.89593",
- "7d2a788a.30fdc8",
- "6e4ac08c.b5369"
- ]
- ]
- },
- {
- "id": "8a237ca9.89593",
- "type": "execute",
- "name": "add PLMNInfoListEntry ToGNBCUUPFn using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-get-PLMNInfoListEntry-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"PLMNInfoListEntry-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3739.020824432373,
- "y": 4698.437046051025,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2f5dbb0b.c60014",
- "ff562fcf.0150c"
- ]
- ]
- },
- {
- "id": "b978fea2.5234a",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add PLMNInfoListEntry ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3749.0207023620605,
- "y": 4591.437046051025,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "49fa0ef5.f930e",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry.ToGNBCUUPFn",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3951.020580291748,
- "y": 4196.093354225159,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "46988b6c.ed6e44",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3801.010326385498,
- "y": 4383.093276977539,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9dac8b25.fe65a8",
- "type": "execute",
- "name": "Populate mcc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3767.010326385498,
- "y": 4445.093278884888,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "378bcbda.47c084",
- "type": "execute",
- "name": "Populate mnc",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3764.010326385498,
- "y": 4494.093280792236,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2f5dbb0b.c60014",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4000.0213928222656,
- "y": 4475.425994873047,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "62dbfb66.3d3334"
- ]
- ]
- },
- {
- "id": "ff562fcf.0150c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4041.021759033203,
- "y": 4633.427093505859,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f9d96cc8.b014"
- ]
- ]
- },
- {
- "id": "62dbfb66.3d3334",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4214.021026611328,
- "y": 4401.426727294922,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8fd1422a.175f3",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "f9d96cc8.b014",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4055.0211486816406,
- "y": 4696.427215576172,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2a0422b8.ee6ace"
- ]
- ]
- },
- {
- "id": "8fd1422a.175f3",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding PLMNInfoList Entry to GNBCUUPFn\" />",
- "comments": "",
- "x": 4201.020660400391,
- "y": 4530.426727294922,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2a0422b8.ee6ace",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4202.021514892578,
- "y": 4684.427215576172,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "20c4050b.01aaea",
- "type": "execute",
- "name": "generate addPLMNInfoListEntry ToGNBCUUPFn",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addPLMNInfoListEntry.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4146.010334014893,
- "y": 4259.093355178833,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "769414f9.31d82c",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3801.010166168213,
- "y": 4291.093357086182,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "20c4050b.01aaea",
- "309488ce.58cf88"
- ]
- ]
- },
- {
- "id": "309488ce.58cf88",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addPLMNInfoListEntry.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4065.0106620788574,
- "y": 4323.093357086182,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "6907a45e.a52f1c",
- "type": "comment",
- "name": "Connect to AddPLMNInfoList Entry",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3493.0103912353516,
- "y": 4596.426733970642,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "82748db8.4ca75",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3434.010284423828,
- "y": 4846.759247541428,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5e5e476a.fbd7e8",
- "59adcd0b.b525d4"
- ]
- ]
- },
- {
- "id": "5e5e476a.fbd7e8",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3629.010311126709,
- "y": 4806.759155035019,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "b9bef498.c7ee48"
- ]
- ]
- },
- {
- "id": "59adcd0b.b525d4",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3609.010284423828,
- "y": 4885.759246587753,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "95e50540.8e23b8"
- ]
- ]
- },
- {
- "id": "a82fe160.10a1c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for addRRMPolicyRatio to GNBCUUPFn\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field6\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.dLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3588.011661529541,
- "y": 5154.092938423157,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "cbc84674.c85d48",
- "type": "execute",
- "name": "add RRM Policy ToGNBCUUPFn using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-GNBCUUPFn.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3650.0111389160156,
- "y": 5217.103614091873,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "b682a29d.3914b",
- "36b7b415.46550c"
- ]
- ]
- },
- {
- "id": "3e361ebc.64da82",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio ToGNBCUUPFn URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3588.010929107666,
- "y": 5104.103253364563,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b9bef498.c7ee48",
- "type": "execute",
- "name": "generate addRRMPolicy.ToNRCellDU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3912.010284423828,
- "y": 4801.759246826172,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "72fe9beb.7965a4",
- "type": "execute",
- "name": "Populate idGNBDUFunction",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3628,
- "y": 4955.759662866592,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8a0b8e83.0cfd",
- "type": "execute",
- "name": "Populate id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.RRMPolicyRatioID.GNBCUUPFunction`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3582.000160217285,
- "y": 4999.759986162186,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b682a29d.3914b",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3909.0106887817383,
- "y": 5027.09258389473,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9bf0ca37.ef4888"
- ]
- ]
- },
- {
- "id": "36b7b415.46550c",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3972.01065826416,
- "y": 5214.092993974686,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eb2b828c.ee28d"
- ]
- ]
- },
- {
- "id": "9bf0ca37.ef4888",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4129.010444641113,
- "y": 5016.09307217598,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eb35cd37.f245e",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "eb2b828c.ee28d",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4134.010047912598,
- "y": 5198.093360185623,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "311ac262.d8010e"
- ]
- ]
- },
- {
- "id": "eb35cd37.f245e",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding RRMPolicy\" />",
- "comments": "",
- "x": 4138.010414123535,
- "y": 5094.093360185623,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "311ac262.d8010e",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4287.01065826416,
- "y": 5180.093970537186,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "4edd9be.808a064",
- "type": "execute",
- "name": "generate RRMPolicy Ratio URL ToNRCellDU",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addRRMPolicyRatio.ToGNBCUUPFn.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4026.0000228881836,
- "y": 4852.759366750717,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "95e50540.8e23b8",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3755.0000076293945,
- "y": 4851.75936627388,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "4edd9be.808a064",
- "b25b5c46.f534d"
- ]
- ]
- },
- {
- "id": "b25b5c46.f534d",
- "type": "execute",
- "name": "populate mountName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.addRRMPolicyRatio.ToGNBCUUPFn.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.addRRMPolicyRatio.ToGNBCUUPFn.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3979.000015258789,
- "y": 4933.759694337845,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d9904f.cedbdfb",
- "type": "comment",
- "name": "Connect to RRM P{olicy Ratio",
- "info": "when able to talk to latest SDNC",
- "comments": "",
- "x": 3603.0002479553223,
- "y": 5182.092694282532,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "609da7a4.ddc828",
- "type": "block",
- "name": "rrmPolicyDedicatedRatio",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2878.021125793457,
- "y": 3500.7703161239624,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2709ad75.fb8872",
- "5ca7be56.1656",
- "ae936c1b.98573",
- "1a7c16c4.89f429",
- "c3adef48.10233",
- "f21c9158.eefb",
- "ca898ee9.a28a3"
- ]
- ]
- },
- {
- "id": "c3adef48.10233",
- "type": "set",
- "name": "calculation rrm5",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rRMPolicyDedicatedRatio.CUUP1 / $prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
- "comments": "",
- "x": 3136.0215492248535,
- "y": 3611.5479040145874,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "ae936c1b.98573",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"tmp.TotalNumberOfDRBForNSSAI \"/>\n<parameter name=\"field4\" value=\"`$tmp.TotalNumberOfDRBForNSSAI`\"/>\n<parameter name=\"field5\" value=\"tmp.DRBPerCUUPForSNSSAI \"/>\n<parameter name=\"field6\" value=\"`$tmp.DRBPerCUUPForSNSSAI`\"/>\n<parameter name=\"field7\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP1 \"/>\n<parameter name=\"field8\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP1`\"/>\n<parameter name=\"field9\" value=\"tmp.rRMPolicyDedicatedRatio.CUUP\"/>\n<parameter name=\"field10\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field11\" value=\"tmp.maxNumberOfConns\"/>\n<parameter name=\"field12\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3096.021308898926,
- "y": 3660.2150173187256,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b678ffb6.d61bb",
- "type": "execute",
- "name": "gNBCUUPList-pLMNInfoList_length",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoListEntries' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNInfoList_length'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3854.020637512207,
- "y": 3840.0930597782135,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2d6c426b.e24eee",
- "type": "execute",
- "name": "gNBCUUPList-pLMNId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUUPList[' + $id2 + '].pLMNId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3860.243564605713,
- "y": 3927.768997192383,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e7cff8f9.ce4148",
- "type": "comment",
- "name": "Assumption pLMNId in configDB resp",
- "info": "Assumed that configDB responnse will include pLMNId...currently, it is not there",
- "comments": "",
- "x": 3881.243408203125,
- "y": 3885.7687151432037,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "711e4b78.0a0ac4",
- "type": "for",
- "name": "For list of cells",
- "xml": "<for index='idx' start='0' end='`$getListofCells-configdb-response._length `' >",
- "comments": "",
- "outputs": 1,
- "x": 2332.000129699707,
- "y": 633.0143604278564,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "36295c82.f35534",
- "6239322.deb41cc"
- ]
- ]
- },
- {
- "id": "6239322.deb41cc",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.trackingarea.cell`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2505.0000076293945,
- "y": 666.0143146514893,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "36295c82.f35534",
- "type": "execute",
- "name": "Cells in TrackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.trackingarea.cell' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $ids + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2511.000068664551,
- "y": 566.6809253692627,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "15c261.3e15cda",
- "type": "execute",
- "name": "cellLocalID",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2538.999786376953,
- "y": 2058.347869873047,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2462a825.97f908",
- "type": "block",
- "name": "SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 269.9939651489258,
- "y": 2469.7689933776855,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c6e0ad65.568e6",
- "e3738eeb.5c4cb",
- "500c88e9.a7d4a8",
- "8a725704.153a98",
- "41ae96e3.2ebd68",
- "898015b5.512658"
- ]
- ]
- },
- {
- "id": "500c88e9.a7d4a8",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiate-r-a-n-slice-input.common-header.request-id `\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiate-r-a-n-slice-input.action`\"/>\n",
- "comments": "",
- "x": 694.9951438903809,
- "y": 2450.66821706295,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "c6e0ad65.568e6",
- "type": "record",
- "name": "record SO reply parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$payloadJson.input.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$prop.restapi.so.user`\" />\n<parameter name='field8' value=\"`$prop.restapi.so.password`\" />\n<parameter name='field9' value=\"`$tmp.DUList.response_length`\" />\n<parameter name='field10' value=\"`$tmp.CUCPList.response`\" />\n<parameter name='field11' value=\"`$tmp.CUUPList.response`\" />\n<parameter name='field12' value=\"`$tmp.DUList.response`\" />",
- "comments": "",
- "outputs": 1,
- "x": 662.9939384460449,
- "y": 2583.7689250707626,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e3738eeb.5c4cb",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 540.9940423965454,
- "y": 2660.76854801178,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "4dcc88d1.71a6c8",
- "b43d8435.516cf8"
- ]
- ]
- },
- {
- "id": "4dcc88d1.71a6c8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 705.9940423965454,
- "y": 2640.7685470581055,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "7d35363a.348fe8"
- ]
- ]
- },
- {
- "id": "b43d8435.516cf8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 697.993935585022,
- "y": 2713.768497467041,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d5d06058.6c507"
- ]
- ]
- },
- {
- "id": "d5d06058.6c507",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 843.9937791824341,
- "y": 2718.768606185913,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8a2e0d84.af671"
- ]
- ]
- },
- {
- "id": "7d35363a.348fe8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 854.9939432144165,
- "y": 2636.7686824798584,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3507d53c.90a68a",
- "2e90da7f.57d106"
- ]
- ]
- },
- {
- "id": "3507d53c.90a68a",
- "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": 1001.9935617446899,
- "y": 2647.7684240341187,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "8a2e0d84.af671",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 1004.9936990737915,
- "y": 2724.7684984207153,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "7fd5972.a1bf968",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 5580.490123748779,
- "y": 3334.014461517334,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ddcdaaa0.5fa3c8",
- "b89f72c5.a739",
- "3d09a8b1.797af8"
- ]
- ]
- },
- {
- "id": "ddcdaaa0.5fa3c8",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
- "comments": "",
- "x": 5898.491100311279,
- "y": 3257.914119720459,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "b89f72c5.a739",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
- "comments": "",
- "outputs": 1,
- "x": 5873.489986419678,
- "y": 3355.0147972106934,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "3d09a8b1.797af8",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 5788.4899978637695,
- "y": 3452.014675140381,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5e3b6fb7.fdb29",
- "55c88c6e.9f2d34"
- ]
- ]
- },
- {
- "id": "5e3b6fb7.fdb29",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 6014.490006446838,
- "y": 3429.0146441459656,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "601e134e.7055dc"
- ]
- ]
- },
- {
- "id": "55c88c6e.9f2d34",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 6004.489860534668,
- "y": 3537.0145835876465,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "749d8ebd.f2254"
- ]
- ]
- },
- {
- "id": "749d8ebd.f2254",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 6154.489646911621,
- "y": 3556.0146446228027,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "1ba6a7d8.12b0a8"
- ]
- ]
- },
- {
- "id": "601e134e.7055dc",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 6165.489875793457,
- "y": 3424.014766216278,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "902fe709.c8b158"
- ]
- ]
- },
- {
- "id": "902fe709.c8b158",
- "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": 6331.489555358887,
- "y": 3427.0145835876465,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "1ba6a7d8.12b0a8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 6318.48966217041,
- "y": 3562.0145835876465,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "7ce38def.582e54",
- "type": "block",
- "name": "nearRTRIC",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1659.9899673461914,
- "y": 911.3477420806885,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c19fe338.e59ff",
- "29f0d9d2.f9d4f6",
- "74bd9d3a.30ea34",
- "6060f3d8.7927ec",
- "4388efe4.bcec2",
- "d8ecdc2.b59072",
- "fa1a2963.76b008",
- "cea00eae.0f73c"
- ]
- ]
- },
- {
- "id": "5cb2ea78.9334f4",
- "type": "execute",
- "name": "gNBId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1544.9897232055664,
- "y": 654.6810359954834,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "17eb843.5e2107c",
- "type": "execute",
- "name": "ranNFNSSIListEntry",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.ranNFNSSIListEntry' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].ranNFNSSIList[0]'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 1610.9898681640625,
- "y": 770.6810255050659,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "c19fe338.e59ff",
- "type": "set",
- "name": "Calculate SliceProfile - NEarRTRIC part 1",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n",
- "comments": "",
- "x": 2011.3233489990234,
- "y": 678.6811399459839,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "29f0d9d2.f9d4f6",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"Calculated dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"Calculated maxNumberOfConns for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC1.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2015.6564674377441,
- "y": 919.3479614257812,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "74bd9d3a.30ea34",
- "type": "execute",
- "name": "Update nearRT RIC Details in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1749.6564254760742,
- "y": 1644.6810111999512,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "26313cf7.d27c04",
- "6b064a73.aa7f94"
- ]
- ]
- },
- {
- "id": "26313cf7.d27c04",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2404.6570358276367,
- "y": 1505.6812553405762,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "50b80a5a.6c0204"
- ]
- ]
- },
- {
- "id": "6b064a73.aa7f94",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2609.6570358276367,
- "y": 1603.6811332702637,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "52614c3f.59d724"
- ]
- ]
- },
- {
- "id": "52614c3f.59d724",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2762.6567916870117,
- "y": 1592.6812553405762,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "be9cd710.38fee8"
- ]
- ]
- },
- {
- "id": "be9cd710.38fee8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2926.6570358276367,
- "y": 1596.6813774108887,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "c2fabe5c.4babb",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2819.6567916870117,
- "y": 1540.6812250614166,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "50b80a5a.6c0204",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2766.6572799682617,
- "y": 1439.6812553405762,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c2fabe5c.4babb",
- "a912be76.f773c",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "a912be76.f773c",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2890.6570358276367,
- "y": 1398.792247980833,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "5688b55e.ee725c",
- "type": "execute",
- "name": "Update cellCU for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3020.021282196045,
- "y": 3216.545699119568,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "b9d8208c.cad0d",
- "2872294d.15a776"
- ]
- ]
- },
- {
- "id": "b9d8208c.cad0d",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3884.0208702087402,
- "y": 3256.5457706451416,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ac555a86.5f1c48"
- ]
- ]
- },
- {
- "id": "ac555a86.5f1c48",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4112.021114349365,
- "y": 3248.5457706451416,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f3542c44.7d4d4",
- "7d394ed1.eb431",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "7d394ed1.eb431",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUCP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4227.02087020874,
- "y": 3161.6566104888916,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "f3542c44.7d4d4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4295.02087020874,
- "y": 3268.5455265045166,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2872294d.15a776",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3889.0208702087402,
- "y": 3304.5455265045166,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "1f189589.5ee19a"
- ]
- ]
- },
- {
- "id": "1f189589.5ee19a",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4054.0208702087402,
- "y": 3303.5457706451416,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "eb7499b8.5108f8"
- ]
- ]
- },
- {
- "id": "eb7499b8.5108f8",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUCP info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4206.02087020874,
- "y": 3316.5457706451416,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "eb369f6.af8c26",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2480.989776611328,
- "y": 3288.0141735076904,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "dcf5eebb.394e2",
- "3c87fd8e.49de02"
- ]
- ]
- },
- {
- "id": "126ba5f0.45e2da",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4205.990016937256,
- "y": 3354.014492034912,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "7d4092c3.b360cc",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4130.989795684814,
- "y": 3411.9036540985107,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3e9a0ca4.237df4",
- "126ba5f0.45e2da",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "3e9a0ca4.237df4",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUCP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4297.989910125732,
- "y": 3445.903115272522,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "47bdc209.873d4c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUCP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
- "comments": "",
- "outputs": 1,
- "x": 3881.989818572998,
- "y": 3479.903293609619,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "bdf97189.ff0dd",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3722.9904022216797,
- "y": 3435.903872489929,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "47bdc209.873d4c",
- "356c1c7.45ef2e4"
- ]
- ]
- },
- {
- "id": "3c87fd8e.49de02",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3629.9900665283203,
- "y": 3367.90229511261,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bdf97189.ff0dd"
- ]
- ]
- },
- {
- "id": "dcf5eebb.394e2",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3630.990020751953,
- "y": 3321.903434276581,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "7d4092c3.b360cc"
- ]
- ]
- },
- {
- "id": "356c1c7.45ef2e4",
- "type": "set",
- "name": "Increment RRMPolicyID",
- "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
- "comments": "",
- "x": 3934.2222328186035,
- "y": 3431.4689769744873,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "6851f370.7d158c",
- "type": "execute",
- "name": "Update gNBCUUP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3162.521270751953,
- "y": 5250.545379638672,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5c11646e.d0b54c",
- "7667fc84.d87b64"
- ]
- ]
- },
- {
- "id": "5c11646e.d0b54c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3894.521026611328,
- "y": 5344.545867919922,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e5a2139f.c39a9"
- ]
- ]
- },
- {
- "id": "7667fc84.d87b64",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4043.5208702087402,
- "y": 5508.545526504517,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "317ebb46.44bc44"
- ]
- ]
- },
- {
- "id": "e5a2139f.c39a9",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4209.521026611328,
- "y": 5348.545867919922,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "871140fb.e3ec8",
- "1d7292a4.54a5ad",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "317ebb46.44bc44",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4173.520832061768,
- "y": 5546.545524597168,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cbdaf83e.409a08"
- ]
- ]
- },
- {
- "id": "cbdaf83e.409a08",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated gNBCUUP info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 4298.520835876465,
- "y": 5516.545525550842,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "871140fb.e3ec8",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4295.521026611328,
- "y": 5428.545379638672,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "1d7292a4.54a5ad",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4220.521026611328,
- "y": 5248.657196044922,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "b71ce45b.47d978",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4294.490562438965,
- "y": 5564.014439582825,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "fe1d70a8.e8892",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4237.489582061768,
- "y": 5626.903600692749,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f22de576.667c88",
- "b71ce45b.47d978",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "f22de576.667c88",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy CUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 4358.490238189697,
- "y": 5690.902952194214,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "d1abd7bb.64dca8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3784.4900665283203,
- "y": 5571.90229511261,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3abc4633.3a0dca"
- ]
- ]
- },
- {
- "id": "3abc4633.3a0dca",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3754.490467071533,
- "y": 5660.903602600098,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a9404e85.0614c",
- "5fec5f98.c0519"
- ]
- ]
- },
- {
- "id": "a9404e85.0614c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy CUUP info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
- "comments": "",
- "outputs": 1,
- "x": 3910.4904708862305,
- "y": 5695.903604507446,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "5fec5f98.c0519",
- "type": "set",
- "name": "Increment RRMPolicyID",
- "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
- "comments": "",
- "x": 3961.7228965759277,
- "y": 5625.468705177307,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "b0b9428c.79986",
- "type": "execute",
- "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUUP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2864.490020751953,
- "y": 5435.014129638672,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d1abd7bb.64dca8",
- "c901d04c.e073e"
- ]
- ]
- },
- {
- "id": "c901d04c.e073e",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3789.6563682556152,
- "y": 5508.347772598267,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "fe1d70a8.e8892"
- ]
- ]
- },
- {
- "id": "bf194d8d.84adf",
- "type": "block",
- "name": "block : SO Response",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2925.3247299194336,
- "y": 7169.685073375702,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2ef6aeb2.ad19f2",
- "7c4025db.e2dc0c",
- "e425ab6d.41ecd8"
- ]
- ]
- },
- {
- "id": "2ef6aeb2.ad19f2",
- "type": "set",
- "name": "set tmp variables for SO response",
- "xml": "<set>\n<parameter name=\"tmp.so.callbackURL\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$instantiateRANSlice-input.common-header.request-id`\"/>\n<parameter name=\"tmp.action\" value=\"`$instantiateRANSlice-input.action`\"/>\n",
- "comments": "",
- "x": 3051.3253860473633,
- "y": 7066.58350944519,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "7c4025db.e2dc0c",
- "type": "record",
- "name": "record configdb RestAPI parms",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for SO Callback Response\"/>\n<parameter name='field2' value=\"`$tmp.so.callbackURL`\" />\n<parameter name='field3' value=\"`$tmp.status`\" />\n<parameter name='field4' value=\"`$tmp.reason`\" />\n<parameter name='field5' value=\"`$tmp.requestID`\" />\n<parameter name='field6' value=\"`$tmp.action`\" />\n<parameter name='field7' value=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3213.324737548828,
- "y": 7194.685073852539,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e425ab6d.41ecd8",
- "type": "execute",
- "name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
- "comments": "",
- "outputs": 1,
- "x": 3032.3243370056152,
- "y": 7357.684466838837,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "6e7e1fec.c93c8",
- "48dc0b85.c71854"
- ]
- ]
- },
- {
- "id": "6e7e1fec.c93c8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3142.3248252868652,
- "y": 7269.684223175049,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "78c70997.bd9968"
- ]
- ]
- },
- {
- "id": "48dc0b85.c71854",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3084.3247032165527,
- "y": 7443.684104442596,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "fb806bba.4958b8"
- ]
- ]
- },
- {
- "id": "fb806bba.4958b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3215.324764251709,
- "y": 7398.685081720352,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "22c8e98d.9d87b6"
- ]
- ]
- },
- {
- "id": "78c70997.bd9968",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3251.325008392334,
- "y": 7338.684956073761,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9c6fba3e.b4c398"
- ]
- ]
- },
- {
- "id": "9c6fba3e.b4c398",
- "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": 3340.3240928649902,
- "y": 7270.685077667236,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "22c8e98d.9d87b6",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
- "comments": "",
- "outputs": 1,
- "x": 3248.3248863220215,
- "y": 7480.684349536896,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9a33da49.8f7968",
- "type": "execute",
- "name": "Update gNBDU in ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBDU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2317.324188232422,
- "y": 6930.0177483558655,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "72704d95.a3d3c4",
- "be5ee6ac.7baba8"
- ]
- ]
- },
- {
- "id": "72704d95.a3d3c4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2482.323745727539,
- "y": 6991.017098426819,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "92d23ff3.0b3ab"
- ]
- ]
- },
- {
- "id": "be5ee6ac.7baba8",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2532.324234008789,
- "y": 6903.017095327377,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8b0b19bc.8a23e8"
- ]
- ]
- },
- {
- "id": "92d23ff3.0b3ab",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2722.3234252929688,
- "y": 6959.018398761749,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ffc9a8a7.e37538",
- "cac02224.aa7d5",
- "bf194d8d.84adf"
- ]
- ]
- },
- {
- "id": "8b0b19bc.8a23e8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2695.3234252929688,
- "y": 6892.017094612122,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2733787e.ad7278"
- ]
- ]
- },
- {
- "id": "2733787e.ad7278",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated DU info in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2872.323429107666,
- "y": 6910.014491081238,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ffc9a8a7.e37538",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2666.323257446289,
- "y": 7044.017099380493,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cac02224.aa7d5",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating configCUUP info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2887.3234329223633,
- "y": 6973.127773284912,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "57f658c6.a79b88",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2686.29314994812,
- "y": 7210.486017227173,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "ed0172e0.818ba",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2554.292167663574,
- "y": 7265.373876571655,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "b4938e1d.155f6",
- "57f658c6.a79b88",
- "bf194d8d.84adf"
- ]
- ]
- },
- {
- "id": "b4938e1d.155f6",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicy DU info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 2711.292984008789,
- "y": 7313.374041557312,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "5209d817.e40638",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2438.2928161621094,
- "y": 7053.372568130493,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "38063bbe.003794"
- ]
- ]
- },
- {
- "id": "38063bbe.003794",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2526.293468475342,
- "y": 7156.373222351074,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8cf52fce.68fda",
- "d756c6c7.73bb08"
- ]
- ]
- },
- {
- "id": "8cf52fce.68fda",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated RRMPolicy DU info in ConfigDB\"/>\n<parameter name=\"field2\" value=\"Incremented ConfigDB rrmPolicyID\"/>\n<parameter name=\"field3\" value='`$prop.configDB.rrmPolicyID`' />",
- "comments": "",
- "outputs": 1,
- "x": 2670.293800354004,
- "y": 7156.37403678894,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d756c6c7.73bb08",
- "type": "set",
- "name": "Increment RRMPolicyID",
- "xml": "<set>\n<parameter name='prop.configDB.rrmPolicyID' value='`$prop.configDB.rrmPolicyID + 1`' />",
- "comments": "",
- "x": 2696.5255699157715,
- "y": 7101.938976287842,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "50319617.d47458",
- "type": "execute",
- "name": " RRMPolicy gNBDU ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-DU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-DU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2255.292922973633,
- "y": 7148.484550476074,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5209d817.e40638",
- "aaf5a65b.7a74a8"
- ]
- ]
- },
- {
- "id": "aaf5a65b.7a74a8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2395.458953857422,
- "y": 7255.817888259888,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ed0172e0.818ba"
- ]
- ]
- },
- {
- "id": "64cedf3c.b0559",
- "type": "for",
- "name": "For cellCU List",
- "xml": "<for index='idCell' start='0' end='`$tmp.cellCUListEntries `' >",
- "comments": "",
- "outputs": 1,
- "x": 2356.989776611328,
- "y": 2353.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "efd8fd0b.c0f81"
- ]
- ]
- },
- {
- "id": "f7853a73.84c2e8",
- "type": "execute",
- "name": "gNBCUCPList.gNBCUName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBCUCPList.cellLocalId' />\n\t<parameter name='source' value=\"`'getRIC-configdb-response.[' + $id1 + '].gNBCUCPList[' + $id2 + '].cellCUList[' + $idCell + '].cellLocalId'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2665.989776611328,
- "y": 2157.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "a0258867.3c23d8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$tmp.gNBCUCPList.cellLocalId == $tmp.cellLocalId`\"> \n",
- "comments": "",
- "outputs": 1,
- "x": 2604.990264892578,
- "y": 2409.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cb345339.5e615"
- ]
- ]
- },
- {
- "id": "cb345339.5e615",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2708.990264892578,
- "y": 2318.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a134f394.a905f"
- ]
- ]
- },
- {
- "id": "a134f394.a905f",
- "type": "block",
- "name": "UpdateCell",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2786.989776611328,
- "y": 2230.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "edfc61ac.1dced",
- "df5aa5bc.20d4f8",
- "f286d783.02ea68",
- "e944c0a6.37812",
- "b2a4c395.358d9",
- "5688b55e.ee725c",
- "2754b13e.c8318e",
- "ef7c5a5d.600148",
- "d6812a3d.7cc9b8",
- "eb369f6.af8c26"
- ]
- ]
- },
- {
- "id": "efd8fd0b.c0f81",
- "type": "block",
- "name": "Block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2470.989532470703,
- "y": 2265.014373779297,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f7853a73.84c2e8",
- "a0258867.3c23d8"
- ]
- ]
- },
- {
- "id": "cbf4370a.644978",
- "type": "for",
- "name": "For cellDU List",
- "xml": "<for index='idCell' start='0' end='`$tmp.cellDUListEntries`' >",
- "comments": "",
- "outputs": 1,
- "x": 2698.2443237304688,
- "y": 6060.020820617676,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8de6101a.44d4d",
- "5a640c35.a04cd4"
- ]
- ]
- },
- {
- "id": "cf4721d7.08acc",
- "type": "execute",
- "name": "gNBDUList.cellLocalId",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBDUList.cellLocalId' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id3 + ']'`\" />",
- "comments": "",
- "outputs": 1,
- "x": 2817.355567932129,
- "y": 6147.018475949764,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "fcfa09.9ee075f8",
- "type": "switchNode",
- "name": "switch",
- "xml": "<switch test=\"`$tmp.gNBDUList.cellLocalId == $tmp.cellLocalId`\">",
- "comments": "",
- "outputs": 1,
- "x": 2721.244010925293,
- "y": 6247.018222808838,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "bd3634e5.5ddb88"
- ]
- ]
- },
- {
- "id": "bd3634e5.5ddb88",
- "type": "outcomeTrue",
- "name": "true",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2935.244338989258,
- "y": 6205.018222808838,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3c393904.ab1906"
- ]
- ]
- },
- {
- "id": "3c393904.ab1906",
- "type": "block",
- "name": "UpdateCell",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3103.2446670532227,
- "y": 6214.018876075745,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2d76916d.9aed9e",
- "cefaba81.9b3a38",
- "ba68f8db.8d5068"
- ]
- ]
- },
- {
- "id": "8de6101a.44d4d",
- "type": "block",
- "name": "Block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2479.243995666504,
- "y": 6188.018220901489,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cf4721d7.08acc",
- "fcfa09.9ee075f8",
- "d1e87e63.f80cb"
- ]
- ]
- },
- {
- "id": "ac58f23b.62aee",
- "type": "block",
- "name": "rrmPolicyRatioPerCELLCU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2176.9897689819336,
- "y": 1961.0143737792969,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "f234c7a7.223618",
- "fd9e9cbd.f219",
- "cc8ffc79.731a6",
- "511756c0.bb4618"
- ]
- ]
- },
- {
- "id": "f234c7a7.223618",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio for CellCU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConnsPercellCU \"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConnsPercellCU`\"/>\n<parameter name=\"field5\" value=\"rRMPolicyDedicatedRatio.CellCU1 \"/>\n<parameter name=\"field6\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU1`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2331.9895973205566,
- "y": 2091.458932876587,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f21c9158.eefb",
- "type": "set",
- "name": "Calculate for RRM1",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns-CUUP' value='`$tmp.payload.maxNumberofConns/$tmp.cellCUListEntries`' />\n",
- "comments": "",
- "x": 3130.9902305603027,
- "y": 3390.0141172409058,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cac2cf96.0a6fb",
- "type": "set",
- "name": "Calculate RRM Parms1",
- "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
- "comments": "",
- "x": 2514.990119934082,
- "y": 5348.015990257263,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "db112dc7.c3cd7",
- "type": "set",
- "name": "calculation10",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
- "comments": "",
- "x": 2460.9901809692383,
- "y": 5860.015746116638,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2e90da7f.57d106",
- "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": 989.5041704177856,
- "y": 2551.757915496826,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "76711508.6abfcc",
- "type": "execute",
- "name": "add RRM Policy ToNRCellDU using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 3986.0011291503906,
- "y": 7377.004095077515,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "40faac30.f5a394",
- "a3757469.a04c08"
- ]
- ]
- },
- {
- "id": "40faac30.f5a394",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 4411.00016784668,
- "y": 7366.9936809539795,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2b41f83c.6972b8"
- ]
- ]
- },
- {
- "id": "2b41f83c.6972b8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 4596.999523162842,
- "y": 7359.993679046631,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "20fc7c97.6d3e14"
- ]
- ]
- },
- {
- "id": "20fc7c97.6d3e14",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"addRRMPolicyRatio to NRCELLDU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 4777.000183105469,
- "y": 7376.993679046631,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8a725704.153a98",
- "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": 679.3336601257324,
- "y": 2490.7542461156845,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "2dbac30f.3bc12c",
- "type": "block",
- "name": "Action Per DU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2028.500087738037,
- "y": 5925.337545871735,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "817dcd74.4d82",
- "83dc865f.54aa58",
- "4fa8006e.a5cb7",
- "66de8977.a7fa58"
- ]
- ]
- },
- {
- "id": "fa718cbb.78252",
- "type": "block",
- "name": "Activies Per Call",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2521.166732788086,
- "y": 6020.3374581336975,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "cbf4370a.644978"
- ]
- ]
- },
- {
- "id": "ba68f8db.8d5068",
- "type": "block",
- "name": "ConfigDB DU",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2152.8339462280273,
- "y": 7002.005068778992,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9a33da49.8f7968",
- "50319617.d47458",
- "b6d0e20d.2005a"
- ]
- ]
- },
- {
- "id": "5a640c35.a04cd4",
- "type": "block",
- "name": "Block",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2974.1669845581055,
- "y": 6062.00444984436,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e38105a3.21d0d8",
- "2ef1c224.b1d33e",
- "57a3474c.4cea88"
- ]
- ]
- },
- {
- "id": "d1e87e63.f80cb",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellLocal ID for comparison -- specific DUList\"/>\n<parameter name=\"field2\" value=\"`$tmp.gNBDUList.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"CellLocal ID for comparison - overall TA \"/>\n<parameter name=\"field4\" value=\"`$tmp.cellLocalId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2750.1671829223633,
- "y": 6184.004549026489,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "6060f3d8.7927ec",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Payload slice parameters - maxNumberofUEs \"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field3\" value=\"Payload slice parameters - maxNumberofConns\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.maxNumberofConns`\"/>\n<parameter name=\"field5\" value=\"Payload slice parameters - dLThptPerSlice\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"Payload slice parameters - uLThptPerSlice\"/>\n<parameter name=\"field8\" value=\"`$payloadJson.input.sliceProfile.uLThptPerSlice`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1864.5003204345703,
- "y": 605.3373508453369,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "4388efe4.bcec2",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2045.1668510437012,
- "y": 867.6707129478455,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d8ecdc2.b59072",
- "type": "execute",
- "name": "printContext",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-sliceparms-context2.log' />\n\n\n",
- "comments": "",
- "outputs": 1,
- "x": 2023.5001640319824,
- "y": 973.3373470306396,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "fd9e9cbd.f219",
- "type": "set",
- "name": "calculation1",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.maxNumberOfConns / $tmp.cellCUListEntries`' />",
- "comments": "",
- "x": 2382.8333435058594,
- "y": 1930.003890991211,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cc8ffc79.731a6",
- "type": "set",
- "name": "calculation2",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />",
- "comments": "",
- "x": 2409.8333473205566,
- "y": 1970.6705589294434,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "511756c0.bb4618",
- "type": "set",
- "name": "calculation3",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
- "comments": "",
- "x": 2420.8332748413086,
- "y": 2021.6705017089844,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2709ad75.fb8872",
- "type": "set",
- "name": "Calculate for RRM2",
- "xml": "<set>\n<parameter name='tmp.TotalNumberOfDRBForNSSAI' value='`$tmp.maxNumberOfConns-CUUP*4`' />",
- "comments": "",
- "x": 3157.031681060791,
- "y": 3463.535574913025,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "5ca7be56.1656",
- "type": "set",
- "name": "Calculate for RRM3",
- "xml": "<set>\n<parameter name='tmp.DRBPerCUUPForSNSSAI' value='`$tmp.TotalNumberOfDRBForNSSAI / $tmp.CUUPListEntries`' />",
- "comments": "",
- "x": 3171.031806945801,
- "y": 3516.535451889038,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "1a7c16c4.89f429",
- "type": "set",
- "name": "calculation rrm4",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP1' value='`$tmp.DRBPerCUUPForSNSSAI * 100`' />",
- "comments": "",
- "x": 3143.0313148498535,
- "y": 3554.5353307724,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "7337084.cac37f8",
- "type": "set",
- "name": "Calculate RRM Parms2",
- "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 2523.531379699707,
- "y": 5393.0360097289085,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "91a7c29.a10f14",
- "type": "set",
- "name": "Calculate RRM Parms3",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
- "comments": "",
- "x": 2513.5315017700195,
- "y": 5448.035887658596,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "7d1144e6.f38d6c",
- "type": "set",
- "name": "Calculate RRM Parms4",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
- "comments": "",
- "x": 2513.531379699707,
- "y": 5499.035887718201,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "1925c4db.44664b",
- "type": "set",
- "name": "Calculate RRM Parms5",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
- "comments": "",
- "x": 2501.5315017700195,
- "y": 5559.0360097289085,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "94e48be2.0b8ef8",
- "type": "set",
- "name": "Calculate RRM Parms6",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000`' />",
- "comments": "",
- "x": 2539.531379699707,
- "y": 5609.0360097289085,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "e310d8dd.c09168",
- "type": "set",
- "name": "Calculate RRM Parms7",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
- "comments": "",
- "x": 2526.531318664551,
- "y": 5679.036375999451,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2a1be4bc.b4fc9c",
- "type": "set",
- "name": "calculation8",
- "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.DUListEntries`' />\n",
- "comments": "",
- "x": 2497.531318664551,
- "y": 5743.035399436951,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "6fbcc34d.ff7a7c",
- "type": "set",
- "name": "calculation9",
- "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
- "comments": "",
- "x": 2485.531867980957,
- "y": 5794.035277366638,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "c525c501.405aa8",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2041.03120803833,
- "y": 1060.0820152759552,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "9ef77c69.3d673",
- "98453d87.970d"
- ]
- ]
- },
- {
- "id": "9ef77c69.3d673",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2231.0311889648438,
- "y": 1030.0817987918854,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "e68f3551.8204b8"
- ]
- ]
- },
- {
- "id": "98453d87.970d",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2211.031162261963,
- "y": 1109.0818903446198,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d7728dac.0d939"
- ]
- ]
- },
- {
- "id": "b26bc76a.00a028",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for ADD SliceProfile ToNearRTRIC\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"`$payloadJson.input.sliceProfile.maxNumberofUEs`\"/>\n<parameter name=\"field6\" value=\"`$payloadJson.input.sliceProfile.latency`\"/>\n<parameter name=\"field7\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field9\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field10\" value=\"`$payloadJson.input.sliceProfile.uEMobilityLevel`\"/>\n<parameter name=\"field11\" value=\"`$tmp.trackingArea`\"/>\n<parameter name=\"field12\" value=\"`$payloadJson.input.sliceProfile.resourceSharingLevel`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2232.0318565368652,
- "y": 1255.4152691364288,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "fa1a2963.76b008",
- "type": "block",
- "name": "Add sliceprofile NRTRIC",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1907.030891418457,
- "y": 1261.4257864952087,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "b26bc76a.00a028",
- "1e49d48.f318e2c",
- "c525c501.405aa8",
- "58049bfb.f04d44"
- ]
- ]
- },
- {
- "id": "58049bfb.f04d44",
- "type": "execute",
- "name": "add addSliceProfile.ToNearRTRIC using PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-sliceProfile-NRRIC.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addSliceProfile-NRTRIC-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
- "comments": "",
- "outputs": 1,
- "x": 2303.032096862793,
- "y": 1321.4259195327759,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "d44c29f8.3fecb8",
- "bccb1282.8f27a"
- ]
- ]
- },
- {
- "id": "1e49d48.f318e2c",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Add SliceProfile ToNearRTRIC url:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2232.0314331054688,
- "y": 1189.4259197711945,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "29a2bce1.5b8a94",
- "type": "execute",
- "name": "generate addSliceProfile.ToNearRTRIC URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2619.0311546325684,
- "y": 930.0821399986744,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d44c29f8.3fecb8",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2703.031219482422,
- "y": 1199.415189743042,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "5f2c1ba7.43aae4"
- ]
- ]
- },
- {
- "id": "bccb1282.8f27a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 2613.0321044921875,
- "y": 1314.4151773452759,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "81d38dd3.2731f"
- ]
- ]
- },
- {
- "id": "81d38dd3.2731f",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2778.0308227539062,
- "y": 1315.4151773452759,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "487bfb07.5f5374"
- ]
- ]
- },
- {
- "id": "4afbf4f0.7bee2c",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error adding slice proficle to NearRTRIC\" />",
- "comments": "",
- "x": 2888.031707763672,
- "y": 1254.415433883667,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "487bfb07.5f5374",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PLMNInfo List Entry Add to NRCELLCU Executed Successfully \"/>",
- "comments": "",
- "outputs": 1,
- "x": 2942.0316162109375,
- "y": 1308.4156665802002,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d7728dac.0d939",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2404.0208129882812,
- "y": 1104.0818903446198,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "8e9bf48a.539228",
- "9d6a761e.361668",
- "11174006.bc7f5"
- ]
- ]
- },
- {
- "id": "1d180b05.054c25",
- "type": "execute",
- "name": "Populate addSliceProfile.ToNearRTRIC URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2619.565929412842,
- "y": 985.6811008453369,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "8e9bf48a.539228",
- "type": "execute",
- "name": "generate addSliceProfile.ToNearRTRIC URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addSliceProfile.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2683.565761566162,
- "y": 1032.6812105178833,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "9d6a761e.361668",
- "type": "execute",
- "name": "Populate addSliceProfile.ToNearRTRIC URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2699.100761413574,
- "y": 1084.280035018921,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "11174006.bc7f5",
- "type": "execute",
- "name": "Populate MOUNT NAME",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addSliceProfile.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2717.5660820007324,
- "y": 1137.6810235977173,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "5f2c1ba7.43aae4",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 2852.454849243164,
- "y": 1204.2365612983704,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "4afbf4f0.7bee2c"
- ]
- ]
- },
- {
- "id": "e68f3551.8204b8",
- "type": "block",
- "name": "URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 2335.2326889038086,
- "y": 915.6809997558594,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "29a2bce1.5b8a94",
- "1d180b05.054c25"
- ]
- ]
- },
- {
- "id": "2754b13e.c8318e",
- "type": "execute",
- "name": "prepare gNBCUCPList for SO callback",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUCPList.response' />\n\t<parameter name='keyName' value='gNBCUName' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3122.5003051757812,
- "y": 1869.0039949417114,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "ef7c5a5d.600148",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPList length\"/>\n<parameter name=\"field2\" value=\"`$CUCPListEntries_size`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3052.500030517578,
- "y": 2021.0038805007935,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "d6812a3d.7cc9b8",
- "type": "execute",
- "name": "CUCP List size",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='CUCPListEntries_size' />\n\t<parameter name='source' value=\"`tmp.CUCPList.response_length`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3079.75,
- "y": 1971.5038757324219,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "7d2a788a.30fdc8",
- "type": "execute",
- "name": "prepare gNBCUUPList for SO callback",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.CUUPList.response' />\n\t<parameter name='keyName' value='gNBCUUPId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3725.7501335144043,
- "y": 4739.004002571106,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f2c426b2.eb7f68",
- "type": "execute",
- "name": "prepare gNBDUList for SO callback",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setPropertiesForList'>\n <parameter name='prefixKey' value='tmp.DUList.response' />\n\t<parameter name='keyName' value='gNBDUId' />\n\t<parameter name='keyValue' value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n",
- "comments": "",
- "outputs": 1,
- "x": 3686.250198364258,
- "y": 6938.253976821899,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "f23154fb.cc68b8",
- "type": "set",
- "name": "callback payload",
- "xml": "<set>\n<parameter name='tmp.CUCPList.response' value='`$tmp.CUCPList.response`' />\n<parameter name='tmp.CUUPList.response' value='`$tmp.CUUPList.response`' />\n<parameter name='tmp.DUList.response' value='`$tmp.DUList.response`' />\n",
- "comments": "",
- "x": 643.250171661377,
- "y": 2548.503879904747,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "c199b783.17f158",
- "type": "execute",
- "name": "gNBCUCPList",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList.response' />\n\t<parameter name='source' value=\"`$tmp.CUCPList.response`\" />",
- "comments": "",
- "outputs": 1,
- "x": 3081.750030517578,
- "y": 1922.0038805007935,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e9c2a3b4.eaefb",
- "type": "set",
- "name": "set maxNumberOfConns",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>",
- "comments": "",
- "x": 3426.5000648498535,
- "y": 2596.2540922164917,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "6e4ac08c.b5369",
- "type": "set",
- "name": "set maxNumberOfConns",
- "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns/$tmp.cellCUListEntries`'/>",
- "comments": "",
- "x": 3788.250026702881,
- "y": 4534.253878593445,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "d07598b0.2afaf8",
- "type": "set",
- "name": "set throughput",
- "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice/$tmp.cellDUListEntries`'/>",
- "comments": "",
- "x": 3893.000026702881,
- "y": 6724.003878593445,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "ca898ee9.a28a3",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"maxNumberOfConns.CUUP \"/>\n<parameter name=\"field2\" value=\"`$tmp.maxNumberOfConns-CUUP`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3110.000026702881,
- "y": 3422.503878593445,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "e29459f0.edf198",
- "type": "set",
- "name": "set resourceID",
- "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.cellLocalId`'/>",
- "comments": "",
- "x": 3405.000026702881,
- "y": 3070.753878593445,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "522f88f5.126828",
- "type": "set",
- "name": "set resourceID",
- "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBCUUPList.gNBCUUPId`'/>",
- "comments": "",
- "x": 3592.750026702881,
- "y": 5050.503878593445,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "b6d0e20d.2005a",
- "type": "set",
- "name": "set resourceID",
- "xml": "<set>\n<parameter name='tmp.resourceID' value='`$tmp.gNBDUList.cellLocalId`'/>",
- "comments": "",
- "x": 2287.000026702881,
- "y": 7093.753878593445,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "8d6aced3.9e422",
- "type": "execute",
- "name": "Update RAN Inventory ConfigDB",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRANSliceInventory`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRANSliceInventory.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-inventory-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
- "comments": "",
- "outputs": 1,
- "x": 638.0000267028809,
- "y": 2265.003878593445,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "edfa1dac.925ef",
- "d2db5964.c49978"
- ]
- ]
- },
- {
- "id": "edfa1dac.925ef",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 873.0006980895996,
- "y": 2178.004150390625,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "2c2003bf.48eb4c"
- ]
- ]
- },
- {
- "id": "d2db5964.c49978",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 878.0006370544434,
- "y": 2299.0038747787476,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "ec61fda6.94eb9"
- ]
- ]
- },
- {
- "id": "ec61fda6.94eb9",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1036.0004272460938,
- "y": 2298.004119873047,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "edd6b1a6.ea3d5"
- ]
- ]
- },
- {
- "id": "edd6b1a6.ea3d5",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated inventory in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1222.000675201416,
- "y": 2282.004364013672,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "1ecc4e3f.d73962",
- "type": "returnFailure",
- "name": "return failure",
- "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating inventory in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1218.0003700256348,
- "y": 2182.0041494369507,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "2c2003bf.48eb4c",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1032.0009803771973,
- "y": 2176.0042419433594,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "1ecc4e3f.d73962",
- "7a9e6c91.69d264",
- "7fd5972.a1bf968"
- ]
- ]
- },
- {
- "id": "7a9e6c91.69d264",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 1208.0006103515625,
- "y": 2096.115263938904,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "aa57affa.297f7",
- "type": "record",
- "name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
- "comments": "",
- "outputs": 1,
- "x": 673.2500457763672,
- "y": 2144.5039229393005,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "afd584fe.888a28",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1766.8333206176758,
- "y": 350.67057514190674,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "c519014f.a858f",
- "49c75c00.2661e4",
- "d7a068b7.254888"
- ]
- ]
- },
- {
- "id": "3a632680.87bbfa",
- "type": "execute",
- "name": "set trackingArea",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.payload.trackingArea' />\n\t<parameter name='source' value=\"`'payloadJson.input.sliceProfile.coverageAreaTAList[' + $ta + ']'`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1272.5761947631836,
- "y": 205.49314498901367,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "7f5639d6.424cc8",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 894.9650268554688,
- "y": 358.6041970252991,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "3a632680.87bbfa",
- "af566fd5.174f8",
- "f26a79f0.ede0c8",
- "33a488d9.da08b8"
- ]
- ]
- },
- {
- "id": "af566fd5.174f8",
- "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=\"Tracking Area\"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.trackingArea`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 1250.1871871948242,
- "y": 244.49312210083008,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "dcb73a19.915128",
- "type": "for",
- "name": "For coverageAreaTAList",
- "xml": "<for index='ta' start='0' end='`$tmp.trackingAreaListEntries`'>",
- "comments": "",
- "outputs": 1,
- "x": 661.0000076293945,
- "y": 409.837215423584,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "7f5639d6.424cc8"
- ]
- ]
- },
- {
- "id": "f5141f0d.f5d1e",
- "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=\"Tracking Area size\"/>\n<parameter name=\"field2\" value=\"`$tmp.trackingAreaListEntries`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 633.2222595214844,
- "y": 354.55942726135254,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "b44ebb3c.26c6c8",
- "type": "execute",
- "name": "set trackingArea size",
- "xml": "<set>\n\t<parameter name='tmp.trackingAreaListEntries' value=\"`$payloadJson.input.sliceProfile.coverageAreaTAList_length`\"/>\n\t",
- "comments": "",
- "outputs": 1,
- "x": 664.3333435058594,
- "y": 304.55942726135254,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "87fa078d.b90c68",
- "type": "set",
- "name": "set RRMPolicyRatio IDs",
- "xml": "<set>\n<parameter name='tmp.RRMPolicyRatioID.NearRTRIC' value=\"`'NearRTRIC-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBDUFunction' value=\"`'GNBDUFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellDU' value=\"`'NRCellDU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUUPFunction' value=\"`'GNBCUUPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.GNBCUCPFunction' value=\"`'GNBCUCPFunction-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='tmp.RRMPolicyRatioID.NRCellCU' value=\"`'NRCellCU-' + $payloadJson.input.sliceProfile.sliceProfileId + '-' + $tmp.payload.trackingArea`\" />\n<parameter name='prop.ranNetwork.RRMPolicyRatioMemberID' value='`$prop.ranNetwork.RRMPolicyRatioMemberID + 1`' />",
- "comments": "",
- "x": 1385.1365051269531,
- "y": 547.1857299804688,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "b76cbf09.f8c7c",
- "type": "execute",
- "name": "tmp.ranNFNSSIListEntry",
- "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value='`$tmp.payload.RANNFNSSIId`'/>",
- "comments": "",
- "outputs": 1,
- "x": 1591.6365051269531,
- "y": 713.9357299804688,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "41ae96e3.2ebd68",
- "type": "switchNode",
- "name": "check status",
- "xml": "<switch test='`$error-code`'>\n",
- "comments": "",
- "outputs": 1,
- "x": 603.5000610351562,
- "y": 2387.7539348602295,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "a7b40aa3.44fc68",
- "1a736063.31543"
- ]
- ]
- },
- {
- "id": "a7b40aa3.44fc68",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='200'>\n",
- "comments": "",
- "outputs": 1,
- "x": 786.5000419616699,
- "y": 2344.7540019750595,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "62c8990a.422438"
- ]
- ]
- },
- {
- "id": "62c8990a.422438",
- "type": "set",
- "name": "status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
- "comments": "",
- "x": 962.5000419616699,
- "y": 2347.75415456295,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "499e0f1a.7c5e1",
- "type": "set",
- "name": "failure status",
- "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
- "comments": "",
- "x": 963.5000267028809,
- "y": 2391.753879904747,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "1a736063.31543",
- "type": "other",
- "name": "other",
- "xml": "<outcome value='Other'>\n",
- "comments": "",
- "outputs": 1,
- "x": 802.5000267028809,
- "y": 2396.753879904747,
- "z": "7f19236a.e75edc",
- "wires": [
- [
- "499e0f1a.7c5e1"
- ]
- ]
- },
- {
- "id": "898015b5.512658",
- "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=\"Response code\"/>\n<parameter name=\"field2\" value=\"`$error-code`\" />",
- "comments": "",
- "outputs": 1,
- "x": 578.5000190734863,
- "y": 2334.0039348602295,
- "z": "7f19236a.e75edc",
- "wires": [
- []
- ]
- },
- {
- "id": "19d68d15.318ba3",
- "type": "set",
- "name": "set plmn id",
- "xml": "<set>\n<parameter name=\"tmp.pLMNId\" value=\"`$tmp.payload.pLMNId`\"/>\n",
- "comments": "",
- "x": 3874.500015258789,
- "y": 6113.753868103027,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "a577c06a.9caa",
- "type": "set",
- "name": "Calculate parms",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberofConns`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice/$getRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice/$getRIC-configdb-response._length`' />\n",
- "comments": "",
- "x": 2556.250030517578,
- "y": 2109.0038800239563,
- "z": "7f19236a.e75edc",
- "wires": []
- },
- {
- "id": "cea00eae.0f73c",
- "type": "set",
- "name": "Calculate SliceProfile - NEarRTRIC part 2",
- "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getRIC-configdb-response._length`' />",
- "comments": "",
- "x": 2029.75390625,
- "y": 752.25390625,
- "z": "7f19236a.e75edc",
- "wires": []
- }
-]