+ },
+ {
+ "id": "ca3912f.d1798f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"gNBCUName\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBCUCPList.gNBCUName`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUCPList.gNBId`\"/>\n<parameter name=\"field11\" value=\"nFType\"/>\n<parameter name=\"field12\" value=\"`$tmp.gNBCUCPList.nFType`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1971.4999504089355,
+ "y": 2292.6666173934937,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "29ac3d55.731702",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1955.2152709960938,
+ "y": 2207.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ecf0eb94.11b9d8",
+ "type": "execute",
+ "name": "get PLMNId URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getplmn`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getPLMNId.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 761.4652709960938,
+ "y": 393.1874933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "83908c36.67ca7",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get PLMN from SliceProfileId URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getPLMNId.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 734.9653396606445,
+ "y": 436.1875276565552,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "af70e055.a55d3",
+ "type": "execute",
+ "name": "Get PLMN from Sliceprofile id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getPLMNId.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getPLMN-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 802.7152709960938,
+ "y": 479.1874809265137,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "16b504ec.cfbb6b",
+ "787f632a.4559bc"
+ ]
+ ]
+ },
+ {
+ "id": "1b3d2270.9f737e",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 748.2088241577148,
+ "y": 638.6809701919556,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6c2905b1.5d124c",
+ "type": "execute",
+ "name": "find MCC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 743.7152709960938,
+ "y": 559.4376137256622,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3abeea9c.1b2eb6",
+ "type": "execute",
+ "name": "find MNC",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 747.4653472900391,
+ "y": 596.6874465942383,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ade269f7.3d78c8",
+ "type": "block",
+ "name": "get PLMNId",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.4652786254883,
+ "y": 503.1874990463257,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ecf0eb94.11b9d8",
+ "83908c36.67ca7",
+ "af70e055.a55d3",
+ "6c2905b1.5d124c",
+ "3abeea9c.1b2eb6",
+ "1b3d2270.9f737e",
+ "cea464b4.22b448"
+ ]
+ ]
+ },
+ {
+ "id": "cea464b4.22b448",
+ "type": "set",
+ "name": "set PLMNId",
+ "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-configdb-response.plmnId`'/>",
+ "comments": "",
+ "x": 759.9028282165527,
+ "y": 517.875,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "16b504ec.cfbb6b",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1040.2152709960938,
+ "y": 484.4374933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "29352de3.1f0e32"
+ ]
+ ]
+ },
+ {
+ "id": "29352de3.1f0e32",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1213.215072631836,
+ "y": 473.43756580352783,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "3bc43a09.4c5556",
+ "d5e7d38e.57b25"
+ ]
+ ]
+ },
+ {
+ "id": "3bc43a09.4c5556",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-configdb-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1413.96480178833,
+ "y": 473.18759059906006,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d5e7d38e.57b25",
+ "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": 1449.7430152893066,
+ "y": 516.4375991821289,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "295dcd8f.d34882",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU' value='`$tmp.rrmPolicyDedicatedRatio_CellCU_new`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellCULocalId`'/>",
+ "comments": "",
+ "x": 2020.8404083251953,
+ "y": 2510.0625562667847,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "e67c1235.a668b",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1986.0902366638184,
+ "y": 2561.0345702171326,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4639f97.7feb608",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"RRC Connected Users\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2069.249984741211,
+ "y": 2369.0556211471558,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "30531c3.32959e4",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-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": 2071.638687133789,
+ "y": 2473.2220945358276,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "41528a78.b36974",
+ "d30b0dd8.157b5"
+ ]
+ ]
+ },
+ {
+ "id": "79add8fe.1d3c58",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2024.8054656982422,
+ "y": 2398.222234725952,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "41528a78.b36974",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2375.3610229492188,
+ "y": 2524.055413246155,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8c18dc3c.f60c2"
+ ]
+ ]
+ },
+ {
+ "id": "d30b0dd8.157b5",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2379.47208404541,
+ "y": 2569.2777161598206,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ac147d54.4bfb7"
+ ]
+ ]
+ },
+ {
+ "id": "8c18dc3c.f60c2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2527.3613147735596,
+ "y": 2522.055393218994,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c1d90c31.c6d7f",
+ "5505e414.d72ebc"
+ ]
+ ]
+ },
+ {
+ "id": "5505e414.d72ebc",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2693.3610706329346,
+ "y": 2488.055393218994,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "c1d90c31.c6d7f",
+ "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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2721.694534301758,
+ "y": 2520.833411216736,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "71c39fca.ccb7c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2697.250015258789,
+ "y": 2552.055764198303,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "742be788.ee2cd8",
+ "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": 2795.472183227539,
+ "y": 2578.3888597488403,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ac147d54.4bfb7",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2534.0276794433594,
+ "y": 2572.944191932678,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "71c39fca.ccb7c",
+ "742be788.ee2cd8"
+ ]
+ ]
+ },
+ {
+ "id": "5b1ca906.eba328",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2009.2499389648438,
+ "y": 2442.38866519928,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "69ec533e.600d9c",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerNSSAI",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />",
+ "comments": "",
+ "x": 1756.7499542236328,
+ "y": 2992.6668615341187,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "14b3dc4d.71ca44",
+ "type": "set",
+ "name": "Calculate maxNumberOfDRBsPerCUUP",
+ "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />",
+ "comments": "",
+ "x": 1765.6388092041016,
+ "y": 3027.1108541488647,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "d4cbbf53.53515",
+ "type": "set",
+ "name": "Calculate RRMPolicyRatio",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
+ "comments": "",
+ "x": 1716.7499465942383,
+ "y": 3098.222252845764,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "a36cc0c6.861ae",
+ "type": "execute",
+ "name": "prepare mcc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n ",
+ "comments": "",
+ "outputs": 1,
+ "x": 1703.1388549804688,
+ "y": 2843.499749183655,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2ff98ab1.8da426",
+ "type": "execute",
+ "name": "prepare mnc",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1712.027847290039,
+ "y": 2879.722228050232,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "46dc7d95.4c06c4",
+ "type": "record",
+ "name": "record API params",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch CUUP NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n<parameter name=\"field4\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1714.9168548583984,
+ "y": 2915.722222328186,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "323b9ab7.0a7686",
+ "type": "execute",
+ "name": "read existing rrmPolicyDedicatedRatio ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2238.9720458984375,
+ "y": 3497.9442110061646,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91bdd1cb.225b5",
+ "type": "execute",
+ "name": "read rrmPolicyMemberListLength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyMembers-CUUP' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2239.527847290039,
+ "y": 3697.9441614151,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4c95d3de.dafcac",
+ "type": "execute",
+ "name": "prepare idGNBCUUPFunction",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2242.5831909179688,
+ "y": 3627.94432926178,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "304737db.ae6f58",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioList_CUUP_length' value='`$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 1700.0277252197266,
+ "y": 3408.944493293762,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "74f76f8.3409a9",
+ "type": "execute",
+ "name": "read RRMPolicyRatio_id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2221.7499771118164,
+ "y": 3664.610743522644,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e0eae9af.e47b18",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config DB update\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1888.5902709960938,
+ "y": 3744.74999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "aaab029a.73315",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.gNBCUUPList.gNBCUUPId' value='`$tmp.idGNBCUUPFunction`'/>\n<parameter name='tmp.gNBCUUPList.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='payloadJson.input.sliceProfile.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n ",
+ "comments": "",
+ "x": 1918.3751029968262,
+ "y": 3787.9444789886475,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "197ebca7.656673",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI\"/>\n<parameter name=\"field2\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field3\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field4\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field5\" value=\"gNBCUUPId\"/>\n<parameter name=\"field6\" value=\"`$tmp.gNBCUUPList.gNBCUUPId`\"/>\n<parameter name=\"field7\" value=\"pLMNId\"/>\n<parameter name=\"field8\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBCUUPList.gNBId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1904.8749504089355,
+ "y": 3830.1666173934937,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d818c6.4b2608",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"DRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1984.6666107177734,
+ "y": 3938.9514265060425,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "27aaafdc.f134",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1936.8887100219727,
+ "y": 3982.562382698059,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "28f0e3bf.db6d3c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1900.2222518920898,
+ "y": 4020.0623922348022,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7153e6fc.a20688",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfo-cuup-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": 1963.7220840454102,
+ "y": 4059.784499168396,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "5d347054.f7c5a",
+ "f89ac2d4.50c37"
+ ]
+ ]
+ },
+ {
+ "id": "3d2034c9.c91a4c",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CUUP' value='`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfo-cuup-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.idGNBCUUPFunction`'/>",
+ "comments": "",
+ "x": 1922.9238739013672,
+ "y": 4103.291432380676,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4a3e020d.51ae0c",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CUUP`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1895.9513473510742,
+ "y": 4162.041583061218,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5d347054.f7c5a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2286.8889656066895,
+ "y": 4008.8122987747192,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2173ce6d.d1fb72"
+ ]
+ ]
+ },
+ {
+ "id": "2173ce6d.d1fb72",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2435.1391830444336,
+ "y": 4016.812481880188,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "47c101.94aa2f",
+ "a17e37ba.d1f118"
+ ]
+ ]
+ },
+ {
+ "id": "a17e37ba.d1f118",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2622.3890018463135,
+ "y": 3996.56254196167,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "47c101.94aa2f",
+ "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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2640.7224044799805,
+ "y": 4039.340558052063,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ce6218de.e91bd8",
+ "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": 2704.4999923706055,
+ "y": 4103.145795822144,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0f0843d.d984f8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2646.277858734131,
+ "y": 4069.3127870559692,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "424ea0ba.7617a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2450.5554428100586,
+ "y": 4097.701459884644,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "d0f0843d.d984f8",
+ "ce6218de.e91bd8"
+ ]
+ ]
+ },
+ {
+ "id": "f89ac2d4.50c37",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2280.444580078125,
+ "y": 4080.284736633301,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "424ea0ba.7617a"
+ ]
+ ]
+ },
+ {
+ "id": "2e61752a.3c32aa",
+ "type": "block",
+ "name": "block",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2057.027587890625,
+ "y": 4452.9441385269165,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "2cd3b5f5.23ff3a"
+ ]
+ ]
+ },
+ {
+ "id": "2cd3b5f5.23ff3a",
+ "type": "for",
+ "name": "foreach TACell",
+ "xml": "<for index='id-ta' start='0' end='`$getListofCells-configdb-response._length`' >\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2243.0000228881836,
+ "y": 4452.889126777649,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c05eb786.188d58"
+ ]
+ ]
+ },
+ {
+ "id": "c05eb786.188d58",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2443.8053283691406,
+ "y": 4454.694352149963,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "91f4eff5.01fd4",
+ "c929fc4b.7fe69",
+ "a294df58.248b4"
+ ]
+ ]
+ },
+ {
+ "id": "c929fc4b.7fe69",
+ "type": "execute",
+ "name": "read Cell from getNFNSSIRIC-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].cellLocalId'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2725.361053466797,
+ "y": 4281.027560830116,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a294df58.248b4",
+ "type": "execute",
+ "name": "read cellCU from getListofCells-configdb-response",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCU2' />\n\t<parameter name='source' value=\"`'getListofCells-configdb-response.[' + $id-ta + ']'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2728.694381713867,
+ "y": 4322.694230079651,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "91f4eff5.01fd4",
+ "type": "switchNode",
+ "name": "is cellCU applicable for NSSAI",
+ "xml": "<switch test='`$tmp.cellCULocalId == $tmp.cellCU2`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2688.583137512207,
+ "y": 4365.805629566312,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "375d9009.4414e"
+ ]
+ ]
+ },
+ {
+ "id": "375d9009.4414e",
+ "type": "outcome",
+ "name": "Applicable",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2926.2499084472656,
+ "y": 4369.916241645813,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8ca9297e.0bb688"
+ ]
+ ]
+ },
+ {
+ "id": "517677f0.6d4018",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated RRMPolicyRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3221.6705932617188,
+ "y": 5150.64305973053,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9f04c1f2.bf256",
+ "type": "set",
+ "name": "set rrmpolicyratio list size",
+ "xml": "<set>\n<parameter name='tmp.rrmPolicyRatioDUList_length' value='`$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length`'/>\n\n ",
+ "comments": "",
+ "x": 3235.9565811157227,
+ "y": 5494.571227073669,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "16cb87b2.5be1d8",
+ "type": "execute",
+ "name": "Set existing RRMPolicyRatio",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyDedicatedRatio_cellDU-old' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n\t\n\t",
+ "comments": "",
+ "outputs": 1,
+ "x": 3743.456588745117,
+ "y": 5519.21413898468,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "52ba99b7.987b88",
+ "type": "execute",
+ "name": "Read RRMPolicyRatioid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyRatio_id' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3706.6710357666016,
+ "y": 5642.785704612732,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4ff78ad7.0a8bd4",
+ "type": "execute",
+ "name": "Read RRMPolicyMembers Length",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.RRMPolicyMembersDU_Length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length'`\" />\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3712.384979248047,
+ "y": 5735.285477638245,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8d0864dd.8c8528",
+ "type": "execute",
+ "name": "set gNBDUId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3879.1705932617188,
+ "y": 5674.92870426178,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "63a19143.589a9",
+ "type": "execute",
+ "name": "set NRCellDU",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3872.0277709960938,
+ "y": 5706.35692691803,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8e869cc0.cfb58",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idNRCellDU\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellDULocalId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3202.7777709960938,
+ "y": 5382.99999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e4ce6413.ed6fd8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberofConns`'/>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.gNBId' value='`$tmp.gNBId`'/>\n<parameter name='tmp.gNBDUList.gNBDUId' value='`$tmp.GNBDUId`'/>\n ",
+ "comments": "",
+ "x": 3322.4027709960938,
+ "y": 5816.56249332428,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "8e49b3c8.74b25",
+ "type": "execute",
+ "name": "generate getRRMPolicyRatio URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.configdb.getRRMPolicyRatio`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceType}\"/>\n <parameter name=\"replacement\" value=\"PRB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3389.9027709960938,
+ "y": 5950.93749332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "ee5b9b09.ca97c8",
+ "type": "execute",
+ "name": "prepare resourceId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.configdb.getRRMPolicyRatio-existing.url\"/>\n <parameter name=\"target\" value=\"{resourceId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3348.458282470703,
+ "y": 5990.10395526886,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "176390ef.cbac9f",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"get RRMPolicyby Resource URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3329.9027252197266,
+ "y": 6024.270537376404,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "48796b63.39bec4",
+ "type": "execute",
+ "name": "Get rrmPolicy by resourceid",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getRRMPolicyRatio-existing.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getrrmpolicyratioinfoDU-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": 3392.291473388672,
+ "y": 6055.103966712952,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "82eba9bc.600fa8",
+ "e4549693.a57628"
+ ]
+ ]
+ },
+ {
+ "id": "82eba9bc.600fa8",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3696.0138092041016,
+ "y": 6105.937285423279,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4230df12.02c06"
+ ]
+ ]
+ },
+ {
+ "id": "4230df12.02c06",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3848.0141010284424,
+ "y": 6103.937265396118,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4d5d2a4c.3e1c64",
+ "2aa87dd5.bc2d82"
+ ]
+ ]
+ },
+ {
+ "id": "2aa87dd5.bc2d82",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4014.0138568878174,
+ "y": 6069.937265396118,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4d5d2a4c.3e1c64",
+ "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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 4042.3473205566406,
+ "y": 6102.71528339386,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "ccd58b56.7508b8",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 4017.902801513672,
+ "y": 6133.937636375427,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "644df9cc.25e248",
+ "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": 4116.124969482422,
+ "y": 6160.270731925964,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c9dddcc2.c2163",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3854.680465698242,
+ "y": 6154.826064109802,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "ccd58b56.7508b8",
+ "644df9cc.25e248"
+ ]
+ ]
+ },
+ {
+ "id": "e4549693.a57628",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3700.124870300293,
+ "y": 6151.159588336945,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "c9dddcc2.c2163"
+ ]
+ ]
+ },
+ {
+ "id": "3087ba3a.ed4566",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='prop.configDB.rrmPolicyID' value='`$getrrmpolicyratioinfoDU-configdb-response.rrmPolicyID`'/>\n<parameter name='tmp.resourceID' value='`$tmp.cellDULocalId`'/>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rrmPolicyDedicatedRatio_CellDU_updated`'/>",
+ "comments": "",
+ "x": 3341.493194580078,
+ "y": 6091.944428443909,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "68990179.2bf66",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"rRMPolicyDedicatedRatio\"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.payload.pLMNId`\"/>\n<parameter name=\"field5\" value=\"sNSSAI\"/>\n<parameter name=\"field6\" value=\"`$tmp.sNSSAI`\"/>\n<parameter name=\"field7\" value=\"rrmPolicyID\"/>\n<parameter name=\"field8\" value=\"`$prop.configDB.rrmPolicyID`\"/>\n<parameter name=\"field9\" value=\"resourceID\"/>\n<parameter name=\"field10\" value=\"`$tmp.resourceID`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3306.743022918701,
+ "y": 6142.916442394257,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "89e3c3a4.70c62",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field3\" value=\"pLMNId\"/>\n<parameter name=\"field4\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"GNBDUId\"/>\n<parameter name=\"field8\" value=\"`$tmp.gNBDUList.gNBDUId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"dLThptPerSlice\"/>\n<parameter name=\"field12\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field13\" value=\"uLThptPerSlice\"/>\n<parameter name=\"field14\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3308.902618408203,
+ "y": 5858.784631729126,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "d0d24863.8121f8",
+ "type": "block",
+ "name": "get coverageAreaTAList",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 496.27777099609375,
+ "y": 700.7499809265137,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "892d9ba0.af4bf8",
+ "f123c975.195038",
+ "19b64655.2401aa",
+ "70150931.91cfa8",
+ "c28b4d37.26d9",
+ "b4a6eeb6.15b65",
+ "e507ae6f.0ca78"
+ ]
+ ]
+ },
+ {
+ "id": "892d9ba0.af4bf8",
+ "type": "execute",
+ "name": "prepare URL",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.aai.fetchSliceProfile`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{global-customer-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.globalCustomerId`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 764.2777786254883,
+ "y": 686.9999961853027,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c28b4d37.26d9",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Get coverageAreaTAList URL: \"/>\n<parameter name=\"field2\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 788.77783203125,
+ "y": 842.000165939331,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "f123c975.195038",
+ "type": "execute",
+ "name": "prepare serviceType",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-type}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.serviceType`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 784.7777709960938,
+ "y": 724.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "19b64655.2401aa",
+ "type": "execute",
+ "name": "prepare service-instance-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{service-instance-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.7777709960938,
+ "y": 763.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "70150931.91cfa8",
+ "type": "execute",
+ "name": "prepare profile-id",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.aai.fetchSliceProfile.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.aai.fetchSliceProfile.url\"/>\n <parameter name=\"target\" value=\"{profile-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sliceProfileId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 787.7777709960938,
+ "y": 801.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "efd6d90c.fb6e68",
+ "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": 1444.7779235839844,
+ "y": 585.0000038146973,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "7a9d2dcb.42c724",
+ "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": 1444.7782287597656,
+ "y": 549.1110191345215,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "963cd407.589818",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1199.7778778076172,
+ "y": 511.9999189376831,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "efd6d90c.fb6e68",
+ "7a9d2dcb.42c724"
+ ]
+ ]
+ },
+ {
+ "id": "787f632a.4559bc",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1038.7780151367188,
+ "y": 533.9999923706055,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "963cd407.589818"
+ ]
+ ]
+ },
+ {
+ "id": "b4a6eeb6.15b65",
+ "type": "execute",
+ "name": "invoke API",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.org.onap.ccsdk.sli.adaptors.aai.uri + $tmp.aai.fetchSliceProfile.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-coverageAreaTAList-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": 821.0277862548828,
+ "y": 879.9999837875366,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "66ca8354.c0068c",
+ "e508608e.0352f"
+ ]
+ ]
+ },
+ {
+ "id": "66ca8354.c0068c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1058.5278015136719,
+ "y": 673.2500448226929,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "5dfce11f.c3cec"
+ ]
+ ]
+ },
+ {
+ "id": "5dfce11f.c3cec",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1226.5275421142578,
+ "y": 665.2502279281616,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8de7df6e.15597",
+ "3f2fbfdf.2aa34"
+ ]
+ ]
+ },
+ {
+ "id": "8de7df6e.15597",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved coverageAreaTAList\"/>\n<parameter name=\"field2\" value=\"`$get-coverageAreaTAList-response`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 1398.2772979736328,
+ "y": 666.0001964569092,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f2fbfdf.2aa34",
+ "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": 1426.0554809570312,
+ "y": 707.2501668930054,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "34fcf10d.3494ae",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from AAI. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 1394.0907592773438,
+ "y": 747.9235363006592,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "f822f9e7.eb42a8",
+ "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": 1340.0904235839844,
+ "y": 792.8125143051147,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "5bdee52e.a5383c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1217.0903778076172,
+ "y": 719.8124837875366,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "f822f9e7.eb42a8",
+ "34fcf10d.3494ae"
+ ]
+ ]
+ },
+ {
+ "id": "e508608e.0352f",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1068.0905456542969,
+ "y": 718.8125286102295,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "5bdee52e.a5383c"
+ ]
+ ]
+ },
+ {
+ "id": "ea194ca9.b5136",
+ "type": "execute",
+ "name": "set globalCustomerId",
+ "xml": "<set>\n<parameter name='tmp.payload.globalCustomerId' value='`$payloadJson.input.globalCustomerId`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 721.2777786254883,
+ "y": 127.7499930858612,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "38665c6f.b68994",
+ "type": "execute",
+ "name": "set serviceType",
+ "xml": "<set>\n<parameter name='tmp.serviceType' value='`$payloadJson.input.serviceType`'/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 726.2777709960938,
+ "y": 165.7499942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "e507ae6f.0ca78",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$tmp.pLMNId`\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 782.2777709960938,
+ "y": 929.4999942779541,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7d0cab41.5d62e4",
+ "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": 878.5277709960938,
+ "y": 4211.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "8dfc5bef.c5fd18",
+ "f2e75191.d32ee"
+ ]
+ ]
+ },
+ {
+ "id": "759313f.9d96dec",
+ "type": "record",
+ "name": "record",
+ "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Update inventory in ConfigDB\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 847.777759552002,
+ "y": 3992.749984741211,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "8dfc5bef.c5fd18",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1114.528429031372,
+ "y": 4165.250351905823,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "bf86086a.86c988"
+ ]
+ ]
+ },
+ {
+ "id": "bf86086a.86c988",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1254.5287475585938,
+ "y": 4173.25022983551,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "7e19d8f9.fe3008",
+ "bd21f51e.fa5d18"
+ ]
+ ]
+ },
+ {
+ "id": "bd21f51e.fa5d18",
+ "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": 1389.5284423828125,
+ "y": 4139.361741065979,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "7e19d8f9.fe3008",
+ "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": 1443.5281677246094,
+ "y": 4176.2502908706665,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "4fdaf51a.7597fc",
+ "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": 1462.528419494629,
+ "y": 4228.250478744507,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "75deb288.c5307c",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 1276.5281715393066,
+ "y": 4244.250234603882,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "4fdaf51a.7597fc",
+ "dd5a532a.31de7"
+ ]
+ ]
+ },
+ {
+ "id": "f2e75191.d32ee",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1118.5283813476562,
+ "y": 4245.2499895095825,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ [
+ "75deb288.c5307c"
+ ]
+ ]
+ },
+ {
+ "id": "b2bbe86b.51d5b8",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$tmp.payload.dLThptPerSlice`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.sNSSAI`'/>\n<parameter name='tmp.uLThptPerSlice' value='`$tmp.payload.uLThptPerSlice`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.payload.maxNumberOfConns`'/>",
+ "comments": "",
+ "x": 838.5277709960938,
+ "y": 4080.49999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": []
+ },
+ {
+ "id": "d815d930.ba6bb8",
+ "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.GNBDUId`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3195.2777709960938,
+ "y": 5041.49999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "bbd1f9a3.442938",
+ "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.idGNBCUUPFunction`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1749.5277709960938,
+ "y": 3267.24999332428,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "2cf8049f.4b337c",
+ "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.CUCPName`\"/>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2274.5277709960938,
+ "y": 1591.4999933242798,
+ "z": "ecab9296.c8bb5",
+ "wires": [
+ []
+ ]