[
{
- "id": "5308c2c7.98350c",
+ "id": "427ea30b.b3f20c",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 561.9443969726562,
- "y": 231.6666965484619,
- "z": "a4132826.623598",
+ "x": 618.75,
+ "y": 345.0000238418579,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8c2d7a68.272f18"
+ "e45542d2.17dc4"
]
]
},
{
- "id": "1e35add3.3e43a2",
+ "id": "e758a445.d4d1e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 185.94439315795898,
- "y": 136.66666889190674,
- "z": "a4132826.623598",
+ "x": 242.74999618530273,
+ "y": 249.99999618530273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "c4fcfd13.be6c3"
+ "2fd61516.b0abca"
]
]
},
{
- "id": "c4fcfd13.be6c3",
+ "id": "2fd61516.b0abca",
"type": "service-logic",
"name": "ran-slice-api ${project.version}",
"module": "ran-slice-api",
"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": 318.9443664550781,
- "y": 233.66674995422363,
- "z": "a4132826.623598",
+ "x": 375.7499694824219,
+ "y": 347.00007724761963,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "5308c2c7.98350c"
+ "427ea30b.b3f20c"
]
]
},
{
- "id": "54c1cf1c.bd234",
+ "id": "5040c532.4bdf8c",
"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": 247.43402099609375,
- "y": 1174.6669874191284,
- "z": "a4132826.623598",
+ "x": 304.2396240234375,
+ "y": 1288.0003147125244,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "eb3544f6.254898",
+ "id": "dcebd947.1d8198",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 530.9443969726562,
- "y": 173.67706871032715,
- "z": "a4132826.623598",
+ "x": 587.75,
+ "y": 287.01039600372314,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "8c2d7a68.272f18",
+ "id": "e45542d2.17dc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 196.94436645507812,
- "y": 353.6770725250244,
- "z": "a4132826.623598",
+ "x": 253.74996948242188,
+ "y": 467.0103998184204,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "54c1cf1c.bd234",
- "c2abc765.421ae8",
- "a0d1b936.212298",
- "d43ab3b7.dd413"
+ "5040c532.4bdf8c",
+ "d200d1ec.9ca39",
+ "e48f470.c1b9bb8",
+ "6c4f3abc.7e6db4"
]
]
},
{
- "id": "d4657d67.267b3",
+ "id": "fbe1fd86.c312e",
"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": 4077.9343032836914,
- "y": 7658.687556028366,
- "z": "a4132826.623598",
+ "x": 4134.739906311035,
+ "y": 7772.020883321762,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "4089eb9.7d62b14"
+ "bb838148.b2e07"
]
]
},
{
- "id": "4089eb9.7d62b14",
+ "id": "bb838148.b2e07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4414.934181213379,
- "y": 7684.677057981491,
- "z": "a4132826.623598",
+ "x": 4471.739784240723,
+ "y": 7798.010385274887,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f8a7a2.295fe86"
+ "d9991334.1d06b"
]
]
},
{
- "id": "f8a7a2.295fe86",
+ "id": "d9991334.1d06b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4594.933937072754,
- "y": 7681.677057981491,
- "z": "a4132826.623598",
+ "x": 4651.739540100098,
+ "y": 7795.010385274887,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f1aae18.c61032"
+ "e8236f14.8b753"
]
]
},
{
- "id": "f1aae18.c61032",
+ "id": "e8236f14.8b753",
"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": 4743.934238433838,
- "y": 7707.677250623703,
- "z": "a4132826.623598",
+ "x": 4800.739841461182,
+ "y": 7821.010577917099,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d43ab3b7.dd413",
+ "id": "6c4f3abc.7e6db4",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 276.69439697265625,
- "y": 1124.9313163757324,
- "z": "a4132826.623598",
+ "x": 333.5,
+ "y": 1238.2646436691284,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a44cfa3.bf3a708",
- "b4fdb0c.13b025",
- "869a42e7.ad168",
- "f189ead7.d54db8"
+ "a973825a.95b83",
+ "6ab19d9a.574054",
+ "87419b49.6418c8",
+ "f4284a1b.1c2e88",
+ "deb0e7c6.b92d08"
]
]
},
{
- "id": "a44cfa3.bf3a708",
+ "id": "a973825a.95b83",
"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=\"`$tmp.CUCPList`\" />\n<parameter name='field8' value=\"`$tmp.CUUPList`\" />\n<parameter name='field9' value=\"`$tmp.DUList`\" />",
"comments": "",
"outputs": 1,
- "x": 444.94437408447266,
- "y": 1492.6815214157104,
- "z": "a4132826.623598",
+ "x": 449.75008392333984,
+ "y": 1661.0148968696594,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "863c82b0.fee6b",
+ "id": "a71334c4.b8c9e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 478.94447326660156,
- "y": 1589.681224822998,
- "z": "a4132826.623598",
+ "x": 535.7500762939453,
+ "y": 1703.014552116394,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8dff7c51.8074c"
+ "d905ea17.44d638"
]
]
},
{
- "id": "c7b37697.cf47b8",
+ "id": "dac6cda9.72318",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 470.9443664550781,
- "y": 1662.6811752319336,
- "z": "a4132826.623598",
+ "x": 527.7499694824219,
+ "y": 1776.0145025253296,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "62cb6247.26a1bc"
+ "84da0ec.28810f"
]
]
},
{
- "id": "62cb6247.26a1bc",
+ "id": "84da0ec.28810f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 616.9442100524902,
- "y": 1667.6812839508057,
- "z": "a4132826.623598",
+ "x": 673.749813079834,
+ "y": 1781.0146112442017,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "63c5cf27.850e5"
+ "146ed9c3.fa1ac6"
]
]
},
{
- "id": "8dff7c51.8074c",
+ "id": "d905ea17.44d638",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 627.9443740844727,
- "y": 1585.681360244751,
- "z": "a4132826.623598",
+ "x": 684.7499771118164,
+ "y": 1699.014687538147,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7d4ea125.78427",
- "814141f.22dd5c"
+ "2cec0dfc.1b7312",
+ "763fa0df.f46bb"
]
]
},
{
- "id": "7d4ea125.78427",
+ "id": "2cec0dfc.1b7312",
"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": 774.9439926147461,
- "y": 1596.6811017990112,
- "z": "a4132826.623598",
+ "x": 831.7495956420898,
+ "y": 1710.0144290924072,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "63c5cf27.850e5",
+ "id": "146ed9c3.fa1ac6",
"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": 777.9441299438477,
- "y": 1673.681176185608,
- "z": "a4132826.623598",
+ "x": 834.7497329711914,
+ "y": 1787.014503479004,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "e78d6df2.248be",
+ "id": "bf48a70f.d59638",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3009.435417175293,
- "y": 778.6772365570068,
- "z": "a4132826.623598",
+ "x": 3066.2410202026367,
+ "y": 892.0105638504028,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "4dccd993.baa5d8",
- "315b9b37.039924",
- "8fff961f.91e078"
+ "b9c8c826.23fdd8",
+ "346ce866.a49b58",
+ "1bd2fb2d.d16865"
]
]
},
{
- "id": "4dccd993.baa5d8",
+ "id": "b9c8c826.23fdd8",
"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": 3327.436393737793,
- "y": 702.5768947601318,
- "z": "a4132826.623598",
+ "x": 3384.2419967651367,
+ "y": 815.9102220535278,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "315b9b37.039924",
+ "id": "346ce866.a49b58",
"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": 3302.4352798461914,
- "y": 799.6775722503662,
- "z": "a4132826.623598",
+ "x": 3359.240882873535,
+ "y": 913.0108995437622,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8fff961f.91e078",
+ "id": "1bd2fb2d.d16865",
"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='*/*' />",
"comments": "",
"outputs": 1,
- "x": 3217.435291290283,
- "y": 896.6774501800537,
- "z": "a4132826.623598",
+ "x": 3274.240894317627,
+ "y": 1010.0107774734497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7e1c2bf9.164ef4",
- "3ca3479b.4461d8"
+ "443e658.f78199c",
+ "c83ebdaf.971f7"
]
]
},
{
- "id": "7e1c2bf9.164ef4",
+ "id": "443e658.f78199c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3443.435299873352,
- "y": 873.6774191856384,
- "z": "a4132826.623598",
+ "x": 3500.240902900696,
+ "y": 987.0107464790344,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "9c99489.850dbb8"
+ "8841498e.b8d0f8"
]
]
},
{
- "id": "3ca3479b.4461d8",
+ "id": "c83ebdaf.971f7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3433.4351539611816,
- "y": 981.6773586273193,
- "z": "a4132826.623598",
+ "x": 3490.2407569885254,
+ "y": 1095.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "712d9e67.b479"
+ "875f5a96.bd6f68"
]
]
},
{
- "id": "712d9e67.b479",
+ "id": "875f5a96.bd6f68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3583.4349403381348,
- "y": 1000.6774196624756,
- "z": "a4132826.623598",
+ "x": 3640.2405433654785,
+ "y": 1114.0107469558716,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "fd17f41d.93ec88"
+ "550b8724.429928"
]
]
},
{
- "id": "9c99489.850dbb8",
+ "id": "8841498e.b8d0f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3594.4351692199707,
- "y": 868.6775412559509,
- "z": "a4132826.623598",
+ "x": 3651.2407722473145,
+ "y": 982.0108685493469,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "fa169b05.eb4498"
+ "4c817e87.f252e"
]
]
},
{
- "id": "fa169b05.eb4498",
+ "id": "4c817e87.f252e",
"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": 3760.4348487854004,
- "y": 871.6773586273193,
- "z": "a4132826.623598",
+ "x": 3817.240451812744,
+ "y": 985.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "fd17f41d.93ec88",
+ "id": "550b8724.429928",
"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": 3747.434955596924,
- "y": 1006.6773586273193,
- "z": "a4132826.623598",
+ "x": 3804.2405586242676,
+ "y": 1120.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "814141f.22dd5c",
+ "id": "763fa0df.f46bb",
"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": 762.4546012878418,
- "y": 1500.6705932617188,
- "z": "a4132826.623598",
+ "x": 827.2602434158325,
+ "y": 1641.0040941238403,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "869a42e7.ad168",
+ "id": "87419b49.6418c8",
"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": 467.28399658203125,
- "y": 1428.666675567627,
- "z": "a4132826.623598",
+ "x": 524.089599609375,
+ "y": 1542.000002861023,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f6b3def0.84eaf",
+ "id": "a3760aa4.6d1d48",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 753.9446296691895,
- "y": 291.66675662994385,
- "z": "a4132826.623598",
+ "x": 810.7502326965332,
+ "y": 405.00008392333984,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "600b130a.e6aa6c"
+ "1ee24bad.cf1e44"
]
]
},
{
- "id": "c2abc765.421ae8",
+ "id": "d200d1ec.9ca39",
"type": "execute",
"name": "payload has dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='dLThptPerSlice' />\n",
"comments": "",
"outputs": 1,
- "x": 513.9444961547852,
- "y": 569.6667218208313,
- "z": "a4132826.623598",
+ "x": 570.7500991821289,
+ "y": 683.0000491142273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f6b3def0.84eaf",
- "b652bd04.df2a9"
+ "a3760aa4.6d1d48",
+ "b2ff1387.60e17"
]
]
},
{
- "id": "b652bd04.df2a9",
+ "id": "b2ff1387.60e17",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 378.4510498046875,
- "y": 711.666919708252,
- "z": "a4132826.623598",
+ "x": 435.25665283203125,
+ "y": 825.000247001648,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "10e9abdc.f3b004"
+ "76e01a67.60aea4"
]
]
},
{
- "id": "537a864f.b41268",
+ "id": "7a6a3c35.b131d4",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 545.9447784423828,
- "y": 1073.6669187545776,
- "z": "a4132826.623598",
+ "x": 602.7503814697266,
+ "y": 1187.0002460479736,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "9ee08b5b.832ee8"
+ "5b69b480.68798c"
]
]
},
{
- "id": "600b130a.e6aa6c",
+ "id": "1ee24bad.cf1e44",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 815.9446258544922,
- "y": 152.66672658920288,
- "z": "a4132826.623598",
+ "x": 872.7502288818359,
+ "y": 266.0000538825989,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "b53f7876.b70068",
- "95070b76.1c0098"
+ "8474fd54.76162",
+ "3675e30c.9c3e7c"
]
]
},
{
- "id": "9ee08b5b.832ee8",
+ "id": "5b69b480.68798c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 712.9446868896484,
- "y": 1072.666904449463,
- "z": "a4132826.623598",
+ "x": 769.7502899169922,
+ "y": 1186.000231742859,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8f0e2656.224048",
- "f6b65386.cb3fc",
- "186dbba8.f40024",
- "d1e08c64.f9b07"
+ "bdd4149e.c34168",
+ "e53731ba.2f3e6",
+ "eb8d489b.2929c8",
+ "f61988dc.69c458"
]
]
},
{
- "id": "10e9abdc.f3b004",
+ "id": "76e01a67.60aea4",
"type": "execute",
"name": "Intelligent Slicing",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='contains' emitsOutcome='true' >\n <parameter name='source' value='`$instantiate-r-a-n-slice-input.payload`' />\n <parameter name='target' value='maxNumberofConns' />\n",
"comments": "",
"outputs": 1,
- "x": 371.9448547363281,
- "y": 1071.6669654846191,
- "z": "a4132826.623598",
+ "x": 428.7504577636719,
+ "y": 1185.0002927780151,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "537a864f.b41268"
+ "7a6a3c35.b131d4"
]
]
},
{
- "id": "b53f7876.b70068",
+ "id": "8474fd54.76162",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains dLThptPerSlice...Closed loop \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 1021.9444122314453,
- "y": 137.66672229766846,
- "z": "a4132826.623598",
+ "x": 954.7500190734863,
+ "y": 168.00004959106445,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8f0e2656.224048",
+ "id": "bdd4149e.c34168",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PAYLOAD contains maxNumberofConns...Inntelligent Slicing \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 869.9447937011719,
- "y": 1043.6669483184814,
- "z": "a4132826.623598",
+ "x": 926.7503967285156,
+ "y": 1157.0002756118774,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a0d1b936.212298",
+ "id": "e48f470.c1b9bb8",
"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=\"Reached instantiateRANSliceReconfigure \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 586.9443969726562,
- "y": 304.6666965484619,
- "z": "a4132826.623598",
+ "x": 643.75,
+ "y": 418.0000238418579,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "95070b76.1c0098",
+ "id": "3675e30c.9c3e7c",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 919.954948425293,
- "y": 266.677134513855,
- "z": "a4132826.623598",
+ "x": 945.7605819702148,
+ "y": 340.0104646682739,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "cfbc1f43.5c09a",
- "9ae16990.24b758"
+ "5f7787d1.52bfd8",
+ "d852f0d6.21a3"
]
]
},
{
- "id": "f6b65386.cb3fc",
+ "id": "e53731ba.2f3e6",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 846.955192565918,
- "y": 1187.6772193908691,
- "z": "a4132826.623598",
+ "x": 903.7607955932617,
+ "y": 1301.0105466842651,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "db0afa2f.d8a5d8",
- "714d1164.e315b"
+ "24836a0.52eb396",
+ "238a7795.7b7068"
]
]
},
{
- "id": "709ede26.eecf8",
+ "id": "1bfa3792.551f38",
"type": "execute",
"name": "Update slice profile for nearRTRIC",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-patch.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=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"nearRTRIC-slice-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
"comments": "",
"outputs": 1,
- "x": 1490.8439712524414,
- "y": 449.6771602630615,
- "z": "a4132826.623598",
+ "x": 1547.6495742797852,
+ "y": 563.0104875564575,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "37a47363.e1d71c",
- "db0bbf38.87581"
+ "7c759b05.f54ef4",
+ "908a91ee.7992b"
]
]
},
{
- "id": "37a47363.e1d71c",
+ "id": "7c759b05.f54ef4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1776.8443069458008,
- "y": 390.66669273376465,
- "z": "a4132826.623598",
+ "x": 1833.6499099731445,
+ "y": 504.00002002716064,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "5da00f62.c1caa"
+ "c0cfae58.a0d62"
]
]
},
{
- "id": "db0bbf38.87581",
+ "id": "908a91ee.7992b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1769.8443717956543,
- "y": 450.6666011810303,
- "z": "a4132826.623598",
+ "x": 1826.649974822998,
+ "y": 563.9999284744263,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "bb94707a.c3725"
+ "d8f59711.880bc8"
]
]
},
{
- "id": "5da00f62.c1caa",
+ "id": "c0cfae58.a0d62",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1959.8444023132324,
- "y": 433.6667003631592,
- "z": "a4132826.623598",
+ "x": 2016.6500053405762,
+ "y": 547.0000276565552,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "78e5f08b.43c2d",
- "c53690e.569fd7",
- "e78d6df2.248be"
+ "bb7a7b56.117b58",
+ "1e256c03.14b2e4",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "bb94707a.c3725",
+ "id": "d8f59711.880bc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1951.844036102295,
- "y": 479.6666622161865,
- "z": "a4132826.623598",
+ "x": 2008.6496391296387,
+ "y": 592.9999895095825,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "18d514d9.ae98eb",
- "d4beff80.9c512"
+ "68814b.6f20deb4",
+ "a66fc170.9dd67"
]
]
},
{
- "id": "7acabf3a.829b6",
+ "id": "b24b8d55.3124d",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1087.9444885253906,
- "y": 434.41147232055664,
- "z": "a4132826.623598",
+ "x": 1124.7501373291016,
+ "y": 519.7448177337646,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "850543de.8fe82",
- "982ee349.15cdd",
- "bce2f4fb.bbd318",
- "709ede26.eecf8"
+ "4f848073.77622",
+ "9ff8309a.101ad",
+ "a5a9eb9e.89df68",
+ "1bfa3792.551f38"
]
]
},
{
- "id": "bce2f4fb.bbd318",
+ "id": "a5a9eb9e.89df68",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1439.9447917938232,
- "y": 325.0677165687084,
- "z": "a4132826.623598",
+ "x": 1496.750394821167,
+ "y": 438.4010438621044,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "ce59e011.1537f",
- "f221e301.437b2"
+ "3a3fa85c.814ae8",
+ "e91ff8ed.2ac9d8"
]
]
},
{
- "id": "ce59e011.1537f",
+ "id": "3a3fa85c.814ae8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1602.944715499878,
- "y": 257.06750628352165,
- "z": "a4132826.623598",
+ "x": 1659.7503185272217,
+ "y": 370.40083357691765,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f4c8a31d.8b0e8"
+ "6f7c3715.abd238"
]
]
},
{
- "id": "f221e301.437b2",
+ "id": "e91ff8ed.2ac9d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1614.9448356628418,
- "y": 334.0676097869873,
- "z": "a4132826.623598",
+ "x": 1671.7504386901855,
+ "y": 447.4009370803833,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "66aabfa5.98ccb"
+ "ace9cee9.7947"
]
]
},
{
- "id": "982ee349.15cdd",
+ "id": "9ff8309a.101ad",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Patch SliceProfile ToNearRTRIC url for closed loop:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>",
"comments": "",
"outputs": 1,
- "x": 1416.9450492858887,
- "y": 360.4116805754602,
- "z": "a4132826.623598",
+ "x": 1473.7506523132324,
+ "y": 473.7450078688562,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "850543de.8fe82",
+ "id": "4f848073.77622",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Setting variables for PATCH SliceProfile ToNearRTRIC - closed loop\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addSliceProfile.ToNearRTRIC.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.dLThptPerSlice`\"/>\n<parameter name=\"field4\" value=\"`$tmp.uLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field6\" value=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1417.9456901550293,
- "y": 405.4010372161865,
- "z": "a4132826.623598",
+ "x": 1474.751293182373,
+ "y": 518.7343645095825,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "3c7063e.d58929c",
+ "id": "cb43a2.6e6b7c6",
"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": 2031.4797134399414,
- "y": 384.6667308807373,
- "z": "a4132826.623598",
+ "x": 2089.285400390625,
+ "y": 505.0000534057617,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "b7125863.e9ab68",
+ "id": "d8b1f930.2388b8",
"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=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2102.0143280029297,
- "y": 340.2657527923584,
- "z": "a4132826.623598",
+ "x": 2150.8199768066406,
+ "y": 467.59907627105713,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "66aabfa5.98ccb",
+ "id": "ace9cee9.7947",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1797.9344902038574,
- "y": 340.06759452819824,
- "z": "a4132826.623598",
+ "x": 1854.7400932312012,
+ "y": 453.40092182159424,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "52dd7d07.790684",
- "b7125863.e9ab68",
- "3c7063e.d58929c"
+ "dd598152.25bfa",
+ "d8b1f930.2388b8",
+ "cb43a2.6e6b7c6"
]
]
},
{
- "id": "52dd7d07.790684",
+ "id": "dd598152.25bfa",
"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": 2093.4791717529297,
- "y": 295.6669411659241,
- "z": "a4132826.623598",
+ "x": 2148.2848205566406,
+ "y": 429.0002965927124,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d3815dd0.19892",
+ "id": "38238693.efbffa",
"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=\"`$tmp.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2064.479537963867,
- "y": 240.66683387756348,
- "z": "a4132826.623598",
+ "x": 2129.2850799560547,
+ "y": 383.0001497268677,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a9f62851.aa99d8",
+ "id": "ddd26471.724f98",
"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": 2059.9447631835938,
- "y": 191.0678367614746,
- "z": "a4132826.623598",
+ "x": 2130.7503204345703,
+ "y": 342.40114879608154,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f4c8a31d.8b0e8",
+ "id": "6f7c3715.abd238",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1762.146240234375,
- "y": 263.6667012870312,
- "z": "a4132826.623598",
+ "x": 1818.9518432617188,
+ "y": 377.00002858042717,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a9f62851.aa99d8",
- "d3815dd0.19892"
+ "ddd26471.724f98",
+ "38238693.efbffa"
]
]
},
{
- "id": "9ae16990.24b758",
+ "id": "d852f0d6.21a3",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.numberUpdates' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
"comments": "",
- "x": 1083.9483795166016,
- "y": 210.67061710357666,
- "z": "a4132826.623598",
+ "x": 1105.7539901733398,
+ "y": 278.00393295288086,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "cfbc1f43.5c09a",
+ "id": "5f7787d1.52bfd8",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1064.9483184814453,
- "y": 333.67061710357666,
- "z": "a4132826.623598",
+ "x": 1130.7539443969727,
+ "y": 414.0039463043213,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7acabf3a.829b6",
- "f207a54e.c3ea88",
- "7782fbac.8910b4",
- "714d1164.e315b"
+ "b24b8d55.3124d",
+ "a44674c9.105f08",
+ "e3dc58ff.a43c68",
+ "238a7795.7b7068",
+ "a56b4cb5.f3ca5",
+ "24812d5e.ec4ff2"
]
]
},
{
- "id": "f207a54e.c3ea88",
+ "id": "a44674c9.105f08",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name=\"tmp.dLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].dLThptPerSlice`\"/>\n<parameter name=\"tmp.uLThptPerSlice\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].uLThptPerSlice`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id1].nearRTRICId`\"/>",
"comments": "",
- "x": 1263.3993797302246,
- "y": 254.67712879180908,
- "z": "a4132826.623598",
+ "x": 1271.2050704956055,
+ "y": 51.010483741760254,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "78e5f08b.43c2d",
+ "id": "bb7a7b56.117b58",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2145.39933013916,
- "y": 434.67712211608887,
- "z": "a4132826.623598",
+ "x": 2202.204933166504,
+ "y": 548.0104494094849,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "c53690e.569fd7",
+ "id": "1e256c03.14b2e4",
"type": "returnFailure",
"name": "return failure",
"xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Patching slice profile parms for close loop. Exiting close loop operation'/>",
"comments": "",
- "x": 2155.3991165161133,
- "y": 473.56610679626465,
- "z": "a4132826.623598",
+ "x": 2212.204719543457,
+ "y": 586.8994340896606,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "18d514d9.ae98eb",
+ "id": "68814b.6f20deb4",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully PATCHED NearRTRIC for close loop operation\"/>",
"comments": "",
"outputs": 1,
- "x": 2143.399028778076,
- "y": 510.5660762786865,
- "z": "a4132826.623598",
+ "x": 2200.20463180542,
+ "y": 623.8994035720825,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d4beff80.9c512",
+ "id": "a66fc170.9dd67",
"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-closedloop-nearRTRIC-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 2162.1774368286133,
- "y": 546.5661144256592,
- "z": "a4132826.623598",
+ "x": 2218.983039855957,
+ "y": 659.8994417190552,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "186dbba8.f40024",
+ "id": "eb8d489b.2929c8",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 904.0664215087891,
- "y": 1084.5662250518799,
- "z": "a4132826.623598",
+ "x": 956.8720359802246,
+ "y": 1199.8995027542114,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "db0afa2f.d8a5d8",
+ "id": "24836a0.52eb396",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1079.0659866333008,
- "y": 1177.5661506652832,
- "z": "a4132826.623598",
+ "x": 1135.8715896606445,
+ "y": 1290.8994779586792,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "997d5a8f.bd5138"
+ "fb3881bc.b1af3"
]
]
},
{
- "id": "714d1164.e315b",
+ "id": "238a7795.7b7068",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1052.6943969726562,
- "y": 600.416669845581,
- "z": "a4132826.623598",
+ "x": 1109.5,
+ "y": 713.749997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8c3c684d.6b7008",
- "6adac12f.ecb27",
- "ec2e9015.a465a",
- "f14d513c.ba7bc",
- "ddd5395f.7eb198",
- "514838fc.4f4588",
- "8336120c.00cad"
+ "8f03435d.f3223",
+ "e5690e93.db6f6",
+ "e7c8d71b.5d96d8",
+ "9e774401.3f6b28",
+ "c2c63981.0cfc88",
+ "bc4570d7.a0bf8"
]
]
},
{
- "id": "8c3c684d.6b7008",
+ "id": "8f03435d.f3223",
"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.sliceProfileId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1317.6943893432617,
- "y": 490.41666412353516,
- "z": "a4132826.623598",
+ "x": 1374.4999923706055,
+ "y": 603.7499914169312,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "6adac12f.ecb27",
+ "id": "e5690e93.db6f6",
"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/closedLoop.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": 1291.1945152282715,
- "y": 538.4167022705078,
- "z": "a4132826.623598",
+ "x": 1348.0001182556152,
+ "y": 651.7500295639038,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ec2e9015.a465a",
+ "id": "e7c8d71b.5d96d8",
"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-CL-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": 1358.9443893432617,
- "y": 576.416651725769,
- "z": "a4132826.623598",
+ "x": 1415.7499923706055,
+ "y": 689.749979019165,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f8debae8.8f1b68",
- "419dc3d0.d48c9c"
+ "170fa2d2.e0abbd",
+ "c1c8e091.9ebd1"
]
]
},
{
- "id": "8336120c.00cad",
+ "id": "c2c63981.0cfc88",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1316.1319198608398,
- "y": 617.1042184829712,
- "z": "a4132826.623598",
+ "x": 1372.9375228881836,
+ "y": 730.4375457763672,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "f14d513c.ba7bc",
+ "id": "7f9afeb5.a86a3",
"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": 1299.9443893432617,
- "y": 656.6667845249176,
- "z": "a4132826.623598",
+ "x": 1773.7500343322754,
+ "y": 783.000093460083,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ddd5395f.7eb198",
+ "id": "e18304b9.ddb768",
"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": 1303.694465637207,
- "y": 693.9166173934937,
- "z": "a4132826.623598",
+ "x": 1784.5002136230469,
+ "y": 817.2499713897705,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "514838fc.4f4588",
+ "id": "9e774401.3f6b28",
"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/closedLoop.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": 1304.4379425048828,
- "y": 735.9101409912109,
- "z": "a4132826.623598",
+ "x": 1361.2435455322266,
+ "y": 849.2434682846069,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f8debae8.8f1b68",
+ "id": "170fa2d2.e0abbd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1596.4443893432617,
- "y": 581.6666641235352,
- "z": "a4132826.623598",
+ "x": 1653.2499923706055,
+ "y": 694.9999914169312,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7c0f178b.1c54e8"
+ "9e2fae92.32df5"
]
]
},
{
- "id": "419dc3d0.d48c9c",
+ "id": "c1c8e091.9ebd1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1595.0071334838867,
- "y": 631.2291631698608,
- "z": "a4132826.623598",
+ "x": 1651.8127365112305,
+ "y": 744.5624904632568,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "49e6c73.14af838"
+ "7052245f.fa38ec"
]
]
},
{
- "id": "7c0f178b.1c54e8",
+ "id": "9e2fae92.32df5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1769.444190979004,
- "y": 570.6667366027832,
- "z": "a4132826.623598",
+ "x": 1826.2497940063477,
+ "y": 684.0000638961792,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "3919f283.d8506e",
- "7c4be284.1c798c"
+ "d33c807a.afbea",
+ "b2c1f423.ab4108"
]
]
},
{
- "id": "49e6c73.14af838",
+ "id": "7052245f.fa38ec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1756.0069961547852,
- "y": 609.2290897369385,
- "z": "a4132826.623598",
+ "x": 1812.812599182129,
+ "y": 722.5624170303345,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "78b85648.bb2458",
- "20ea74cc.4fa27c",
- "e78d6df2.248be"
+ "8a07be5e.29723",
+ "161fa4f0.afa11b",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "3919f283.d8506e",
+ "id": "d33c807a.afbea",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained PLMNId info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getPLMN-CL-configdb-response`\"/>",
"comments": "",
"outputs": 1,
- "x": 1970.193920135498,
- "y": 570.4167613983154,
- "z": "a4132826.623598",
+ "x": 2026.9995231628418,
+ "y": 683.7500886917114,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "7c4be284.1c798c",
+ "id": "b2c1f423.ab4108",
"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": 2005.9721336364746,
- "y": 613.6667699813843,
- "z": "a4132826.623598",
+ "x": 2062.7777366638184,
+ "y": 727.0000972747803,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "20ea74cc.4fa27c",
+ "id": "161fa4f0.afa11b",
"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": 2001.0073471069336,
- "y": 646.3401899337769,
- "z": "a4132826.623598",
+ "x": 2057.8129501342773,
+ "y": 759.6735172271729,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "78b85648.bb2458",
+ "id": "8a07be5e.29723",
"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": 2001.0070419311523,
- "y": 682.2291746139526,
- "z": "a4132826.623598",
+ "x": 2057.812644958496,
+ "y": 795.5625019073486,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "7782fbac.8910b4",
+ "id": "e3dc58ff.a43c68",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 813.4443969726562,
- "y": 797.166669845581,
- "z": "a4132826.623598",
+ "x": 870.25,
+ "y": 910.499997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "56cbc2f3.98600c",
- "b0f2567.bbb75a8",
- "cb02fedf.54fae",
- "898f3f4d.3a21c",
- "9125173f.757b88"
+ "7565f43a.06e69c",
+ "68bfd80.3143328",
+ "900868e8.78c5f8",
+ "4515d38d.7c2e1c",
+ "93118024.afea4"
]
]
},
{
- "id": "56cbc2f3.98600c",
+ "id": "7565f43a.06e69c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1052.194435119629,
- "y": 717.6667079925537,
- "z": "a4132826.623598",
+ "x": 1109.0000381469727,
+ "y": 831.0000352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "18a7b674.c4977a",
- "ee798340.3d286"
+ "ebda12fa.dc10e",
+ "2881116d.54f07e"
]
]
},
{
- "id": "18a7b674.c4977a",
+ "id": "ebda12fa.dc10e",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1273.194320678711,
- "y": 774.6664595603943,
- "z": "a4132826.623598",
+ "x": 1329.9999237060547,
+ "y": 887.9997868537903,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "b188c1e4.390b4"
+ "ca65e7a2.8d0f18"
]
]
},
{
- "id": "ee798340.3d286",
+ "id": "2881116d.54f07e",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1267.1944007873535,
- "y": 811.6665983200073,
- "z": "a4132826.623598",
+ "x": 1324.0000038146973,
+ "y": 924.9999256134033,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "ae0428b2.06c978"
+ "33cf41e1.f4785e"
]
]
},
{
- "id": "ae0428b2.06c978",
+ "id": "33cf41e1.f4785e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1444.184238433838,
- "y": 822.6665840148926,
- "z": "a4132826.623598",
+ "x": 1500.9898414611816,
+ "y": 935.9999113082886,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "17ee6d36.c93db3",
- "af82770a.456508"
+ "5b97c6f7.0f3668",
+ "e28780a7.cc0a1"
]
]
},
{
- "id": "b188c1e4.390b4",
+ "id": "ca65e7a2.8d0f18",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1432.395845413208,
- "y": 781.2656545639038,
- "z": "a4132826.623598",
+ "x": 1489.2014484405518,
+ "y": 894.5989818572998,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "3c967c46.f89f74"
+ "eac75626.f051a8"
]
]
},
{
- "id": "3c967c46.f89f74",
+ "id": "eac75626.f051a8",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1714.1943817138672,
- "y": 771.6667957305908,
- "z": "a4132826.623598",
+ "x": 1770.999984741211,
+ "y": 885.0001230239868,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "17ee6d36.c93db3",
+ "id": "5b97c6f7.0f3668",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1763.7287769317627,
- "y": 813.2658944427967,
- "z": "a4132826.623598",
+ "x": 1820.5343799591064,
+ "y": 926.5992217361927,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "af82770a.456508",
+ "id": "e28780a7.cc0a1",
"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.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1706.7292938232422,
- "y": 858.2656574249268,
- "z": "a4132826.623598",
+ "x": 1763.534896850586,
+ "y": 971.5989847183228,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "b0f2567.bbb75a8",
+ "id": "68bfd80.3143328",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1048.4444770812988,
- "y": 760.1667685508728,
- "z": "a4132826.623598",
+ "x": 1105.2500801086426,
+ "y": 873.5000958442688,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "cb02fedf.54fae",
+ "id": "900868e8.78c5f8",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1049.944450378418,
- "y": 800.1667079925537,
- "z": "a4132826.623598",
+ "x": 1106.7500534057617,
+ "y": 913.5000352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8a295a94.bf98d8",
+ "id": "6f93eff2.b0ce1",
"type": "execute",
"name": "prepare sNssai",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.payload.sNSSAI`\"/>",
"comments": "",
"outputs": 1,
- "x": 1052.944450378418,
- "y": 840.1666612625122,
- "z": "a4132826.623598",
+ "x": 1109.7500534057617,
+ "y": 953.4999885559082,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "e3530f45.0dc46",
+ "id": "fb44a009.c36ce",
"type": "execute",
"name": "prepare uLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.uLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 1055.194435119629,
- "y": 884.166750907898,
- "z": "a4132826.623598",
+ "x": 1112.0000381469727,
+ "y": 997.500078201294,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ccbdff4b.c27e3",
+ "id": "783193da.54fb4c",
"type": "execute",
"name": "prepare dLThptPerSlice",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{configParameter}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.dLThptPerSlice`\"/>",
"comments": "",
"outputs": 1,
- "x": 1048.444450378418,
- "y": 924.9167203903198,
- "z": "a4132826.623598",
+ "x": 1105.2500534057617,
+ "y": 1038.2500476837158,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "898f3f4d.3a21c",
+ "id": "4515d38d.7c2e1c",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Closed loop API params\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\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`\"/>\n\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1001.6943855285645,
- "y": 960.416675567627,
- "z": "a4132826.623598",
+ "x": 1058.4999885559082,
+ "y": 1073.750002861023,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "288b2cdc.4b1194",
+ "id": "6596a6b2.005a18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1289.1944465637207,
- "y": 1008.9167308807373,
- "z": "a4132826.623598",
+ "x": 1346.0000495910645,
+ "y": 1122.2500581741333,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "654b1e51.ddfcb"
+ "5d4d6b40.a33694"
]
]
},
{
- "id": "6561b789.668768",
+ "id": "98dbf171.184c3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1287.7571907043457,
- "y": 1058.479229927063,
- "z": "a4132826.623598",
+ "x": 1344.5627937316895,
+ "y": 1171.812557220459,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "2eb2806.801878"
+ "9e53f8b7.ebacb8"
]
]
},
{
- "id": "654b1e51.ddfcb",
+ "id": "5d4d6b40.a33694",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1458.1941986083984,
- "y": 1002.9167547225952,
- "z": "a4132826.623598",
+ "x": 1514.9998016357422,
+ "y": 1116.2500820159912,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "b5b5a3a4.7596a"
+ "a60e18ca.7bc708"
]
]
},
{
- "id": "2eb2806.801878",
+ "id": "9e53f8b7.ebacb8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1448.7570533752441,
- "y": 1036.4791564941406,
- "z": "a4132826.623598",
+ "x": 1505.562656402588,
+ "y": 1149.8124837875366,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "1fe50b77.077eb5",
- "11434b4d.29f385",
- "e78d6df2.248be"
+ "3540b64f.48185a",
+ "b4700b18.a77eb8",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "b5b5a3a4.7596a",
+ "id": "a60e18ca.7bc708",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 1669.944004058838,
- "y": 925.6668424606323,
- "z": "a4132826.623598",
+ "x": 1726.7496070861816,
+ "y": 1039.0001697540283,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "11434b4d.29f385",
+ "id": "b4700b18.a77eb8",
"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": 1674.7576026916504,
- "y": 981.5901823043823,
- "z": "a4132826.623598",
+ "x": 1731.5632057189941,
+ "y": 1094.9235095977783,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "1fe50b77.077eb5",
+ "id": "3540b64f.48185a",
"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": 1635.7571182250977,
- "y": 1032.4791746139526,
- "z": "a4132826.623598",
+ "x": 1692.5627212524414,
+ "y": 1145.8125019073486,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "9125173f.757b88",
+ "id": "93118024.afea4",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1056.6944465637207,
- "y": 1007.6667184829712,
- "z": "a4132826.623598",
+ "x": 1113.5000495910645,
+ "y": 1121.0000457763672,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "288b2cdc.4b1194",
- "6561b789.668768"
+ "6596a6b2.005a18",
+ "98dbf171.184c3"
]
]
},
{
- "id": "b4fdb0c.13b025",
+ "id": "6ab19d9a.574054",
"type": "set",
"name": "set tmp variables for SO response",
"xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>\n<parameter name=\"tmp.reason\" value=\"`$error-message`\"/>\n<parameter name=\"tmp.requestID\" value=\"`$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": 477.63189697265625,
- "y": 1377.291669845581,
- "z": "a4132826.623598",
+ "x": 534.4375,
+ "y": 1490.624997138977,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "f189ead7.d54db8",
+ "id": "f4284a1b.1c2e88",
"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": 315.13189697265625,
- "y": 1621.041669845581,
- "z": "a4132826.623598",
+ "x": 371.9375,
+ "y": 1734.374997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "863c82b0.fee6b",
- "c7b37697.cf47b8"
+ "a71334c4.b8c9e8",
+ "dac6cda9.72318"
]
]
},
{
- "id": "8cc27aec.7baa58",
+ "id": "ed997ee6.1432a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1692.6944618225098,
- "y": 1127.6667041778564,
- "z": "a4132826.623598",
+ "x": 1749.5000648498535,
+ "y": 1241.0000314712524,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "3796b847.90c588"
+ "a7383cfd.16f22"
]
]
},
{
- "id": "f5dc1311.399f4",
+ "id": "99515d02.2778d",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1686.6945419311523,
- "y": 1164.6668429374695,
- "z": "a4132826.623598",
+ "x": 1743.500144958496,
+ "y": 1278.0001702308655,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "e12e8f30.80866"
+ "4036186a.bbcd78"
]
]
},
{
- "id": "e12e8f30.80866",
+ "id": "4036186a.bbcd78",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1863.6843795776367,
- "y": 1175.6668286323547,
- "z": "a4132826.623598",
+ "x": 1920.4899826049805,
+ "y": 1289.0001559257507,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "3c2d36c.67ca5ca",
- "4501a78f.008508"
+ "c49707c0.1de1c8",
+ "c0c5a770.5866a8"
]
]
},
{
- "id": "3796b847.90c588",
+ "id": "a7383cfd.16f22",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1851.8959865570068,
- "y": 1134.265899181366,
- "z": "a4132826.623598",
+ "x": 1908.7015895843506,
+ "y": 1247.599226474762,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "81e1f6af.317318"
+ "bc5e0ab6.e45d08"
]
]
},
{
- "id": "81e1f6af.317318",
+ "id": "bc5e0ab6.e45d08",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2133.694522857666,
- "y": 1124.667040348053,
- "z": "a4132826.623598",
+ "x": 2190.5001258850098,
+ "y": 1238.000367641449,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "3c2d36c.67ca5ca",
+ "id": "c49707c0.1de1c8",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC.ransim-mounted`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2183.2289180755615,
- "y": 1166.2661390602589,
- "z": "a4132826.623598",
+ "x": 2240.0345211029053,
+ "y": 1279.5994663536549,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "4501a78f.008508",
+ "id": "c0c5a770.5866a8",
"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.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2126.229434967041,
- "y": 1211.265902042389,
- "z": "a4132826.623598",
+ "x": 2183.0350379943848,
+ "y": 1324.599229335785,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ad6e03d7.ad3a8",
+ "id": "e9fc49db.73d9c8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1502.6945266723633,
- "y": 1120.6667022705078,
- "z": "a4132826.623598",
+ "x": 1559.500129699707,
+ "y": 1234.0000295639038,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8cc27aec.7baa58",
- "f5dc1311.399f4"
+ "ed997ee6.1432a",
+ "99515d02.2778d"
]
]
},
{
- "id": "ce7dd64c.558e38",
+ "id": "9a228d66.9ccc4",
"type": "execute",
"name": "prepare mcc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1497.6944618225098,
- "y": 1192.6667041778564,
- "z": "a4132826.623598",
+ "x": 1554.5000648498535,
+ "y": 1306.0000314712524,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "10ab84e8.6015fb",
+ "id": "bf4c6d99.65d56",
"type": "execute",
"name": "prepare mnc",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 1499.194435119629,
- "y": 1232.6666436195374,
- "z": "a4132826.623598",
+ "x": 1556.0000381469727,
+ "y": 1345.9999709129333,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "997d5a8f.bd5138",
+ "id": "fb3881bc.b1af3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1303.6944198608398,
- "y": 1171.666735649109,
- "z": "a4132826.623598",
+ "x": 1360.5000228881836,
+ "y": 1285.0000629425049,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "ad6e03d7.ad3a8",
- "ce7dd64c.558e38",
- "10ab84e8.6015fb",
- "13921f35.757901",
- "fc0ddc3e.f21",
- "ee4d9f87.53648",
- "689fb519.ee1dac"
+ "e9fc49db.73d9c8",
+ "9a228d66.9ccc4",
+ "bf4c6d99.65d56",
+ "f0663568.359058",
+ "4e799ffc.18887",
+ "a8375621.0602e8",
+ "fc8120ff.bc9ca"
]
]
},
{
- "id": "13921f35.757901",
+ "id": "f0663568.359058",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1512.9445877075195,
- "y": 1336.6667385101318,
- "z": "a4132826.623598",
+ "x": 1569.7501907348633,
+ "y": 1450.0000658035278,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "140cbec1.778361"
+ "433233fb.83bc0c",
+ "e31c9ea.89d486"
]
]
},
{
- "id": "67db53db.00cacc",
+ "id": "4e372e8b.85086",
"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=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
+ "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=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].cellLocalId'`\" />",
"comments": "",
"outputs": 1,
- "x": 1923.6944427490234,
- "y": 1305.6667575836182,
- "z": "a4132826.623598",
+ "x": 1993.000129699707,
+ "y": 1356.5003004074097,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "140cbec1.778361",
+ "id": "433233fb.83bc0c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1722.6943969726562,
- "y": 1333.666696548462,
- "z": "a4132826.623598",
+ "x": 1779.5,
+ "y": 1447.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "67db53db.00cacc",
- "e46c252f.937788",
- "6720e72f.18e8a8",
- "a790631.68201a"
+ "4e372e8b.85086",
+ "fe14cde6.25973",
+ "aeedf427.e7bb28",
+ "2b6ab99b.1c9bd6",
+ "5afb38d5.4c6df8"
]
]
},
{
- "id": "e46c252f.937788",
+ "id": "fe14cde6.25973",
"type": "execute",
"name": "predictedMaxNumberofConns",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.predictedMaxNumberofConns' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList['+$id2+'].configData.predictedMaxNumberofConns'`\" />",
"comments": "",
"outputs": 1,
- "x": 1980.4444427490234,
- "y": 1340.666802406311,
- "z": "a4132826.623598",
+ "x": 2037.2500076293945,
+ "y": 1486.500147819519,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "6720e72f.18e8a8",
+ "id": "aeedf427.e7bb28",
"type": "execute",
"name": "patch NearRTRIC - config",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-closed-loop-nearRTRIC-config-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"patch-nearRTRIC-config-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' />\n<parameter name='accept' value='application/yang.patch-status+json'/>\n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 1971.1943969726562,
- "y": 1447.666696548462,
- "z": "a4132826.623598",
+ "x": 2028,
+ "y": 1561.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "68ef85d7.dd1d4c",
- "9e7160d.46fefa"
+ "4ce78eff.4545e",
+ "db63b1b4.6793f"
]
]
},
{
- "id": "68ef85d7.dd1d4c",
+ "id": "4ce78eff.4545e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2203.6943969726562,
- "y": 1448.916708946228,
- "z": "a4132826.623598",
+ "x": 2260.5,
+ "y": 1562.250036239624,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a6d7a02e.9cc2e"
+ "565c5660.4fda78"
]
]
},
{
- "id": "9e7160d.46fefa",
+ "id": "db63b1b4.6793f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2202.2571411132812,
- "y": 1498.4792079925537,
- "z": "a4132826.623598",
+ "x": 2259.062744140625,
+ "y": 1611.8125352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "b81123b2.7af0b"
+ "a2ecc06b.2e7ce"
]
]
},
{
- "id": "b81123b2.7af0b",
+ "id": "a2ecc06b.2e7ce",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2363.2570037841797,
- "y": 1476.4791345596313,
- "z": "a4132826.623598",
+ "x": 2420.0626068115234,
+ "y": 1589.8124618530273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "720f80da.20089",
- "d11f1a0b.bd81f8",
- "e78d6df2.248be"
+ "62aad72c.d1cbc8",
+ "dde5e5d2.491798",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "a6d7a02e.9cc2e",
+ "id": "565c5660.4fda78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2372.694149017334,
- "y": 1442.916732788086,
- "z": "a4132826.623598",
+ "x": 2429.4997520446777,
+ "y": 1556.250060081482,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "329a2f23.e32e6"
+ "45d3cff5.f3716"
]
]
},
{
- "id": "720f80da.20089",
+ "id": "62aad72c.d1cbc8",
"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": 2550.257068634033,
- "y": 1472.4791526794434,
- "z": "a4132826.623598",
+ "x": 2607.062671661377,
+ "y": 1585.8124799728394,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "d11f1a0b.bd81f8",
+ "id": "dde5e5d2.491798",
"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": 2589.257553100586,
- "y": 1421.590160369873,
- "z": "a4132826.623598",
+ "x": 2646.0631561279297,
+ "y": 1534.923487663269,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "329a2f23.e32e6",
+ "id": "45d3cff5.f3716",
"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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2584.4439544677734,
- "y": 1365.666820526123,
- "z": "a4132826.623598",
+ "x": 2641.249557495117,
+ "y": 1479.000147819519,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d1e08c64.f9b07",
+ "id": "f61988dc.69c458",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Data length \"/>\n<parameter name=\"field2\" value=\"`$tmp.payload.dataPoints`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 872.4443969726562,
- "y": 1141.666696548462,
- "z": "a4132826.623598",
+ "x": 929.25,
+ "y": 1255.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "fc0ddc3e.f21",
+ "id": "4e799ffc.18887",
"type": "execute",
"name": "CUCellListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
"comments": "",
"outputs": 1,
- "x": 1513.9444046020508,
- "y": 1266.9167070388794,
- "z": "a4132826.623598",
+ "x": 1570.7500076293945,
+ "y": 1380.2500343322754,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ee4d9f87.53648",
+ "id": "a8375621.0602e8",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1493.9443969726562,
- "y": 1299.916696548462,
- "z": "a4132826.623598",
+ "x": 1550.75,
+ "y": 1413.250023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a790631.68201a",
+ "id": "2b6ab99b.1c9bd6",
"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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"cellLocalId\"/>\n<parameter name=\"field2\" value=\"`$tmp.cellLocalId`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1919.1943969726562,
- "y": 1394.166696548462,
- "z": "a4132826.623598",
+ "x": 1973.5002555847168,
+ "y": 1523.750057220459,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "689fb519.ee1dac",
+ "id": "fc8120ff.bc9ca",
"type": "set",
"name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
+ "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>\n<parameter name=\"tmp.CUCPName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].gNBCUName`\"/>",
"comments": "",
- "x": 1519.4443969726562,
- "y": 1076.166696548462,
- "z": "a4132826.623598",
+ "x": 1576.25,
+ "y": 1189.500023841858,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "bc4570d7.a0bf8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1369.2500457763672,
+ "y": 787.0000476837158,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "95f40548.20d658",
+ "8a6a0b95.d28dd8"
+ ]
+ ]
+ },
+ {
+ "id": "8a6a0b95.d28dd8",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmnList[0]`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmnList[1]`'/>",
+ "comments": "",
+ "x": 1580.9771423339844,
+ "y": 844.5577483177185,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "95f40548.20d658",
+ "type": "execute",
+ "name": "split pLMNId",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split'>\n <parameter name=\"original_string\" value=\"`$tmp.pLMNId`\" />\n <parameter name=\"regex\" value=\"-\"/>\n <parameter name=\"ctx_memory_result_key\" value=\"tmp.plmnList\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1588.5224609375,
+ "y": 800.5123376846313,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a55c9175.dfc4",
+ "type": "set",
+ "name": "append configParam",
+ "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=\"`$tmp.cellLocalId`+'-maxNumberofConns'\" />",
+ "comments": "",
+ "x": 2019.0625076293945,
+ "y": 1450.6250562667847,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "5afb38d5.4c6df8",
+ "type": "execute",
+ "name": "append configParam",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='concat'>\n <parameter name=\"source\" value=\"`$tmp.cellCULocalId`\" />\n <parameter name=\"target\" value=\"-maxNumberofConns\"/>\n <parameter name=\"outputPath\" value=\"tmp.cellLocalId\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1995.0000457763672,
+ "y": 1403.7500562667847,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a56b4cb5.f3ca5",
+ "type": "switchNode",
+ "name": "check nearrtric",
+ "xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1322.1500663757324,
+ "y": 199.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "dde56c45.0cea1",
+ "566c6c5e.6e7544"
+ ]
+ ]
+ },
+ {
+ "id": "dde56c45.0cea1",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1504.3502655029297,
+ "y": 39.00000476837158,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "cf3063e1.c09e1"
+ ]
+ ]
+ },
+ {
+ "id": "566c6c5e.6e7544",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1526.150047302246,
+ "y": 121.99999904632568,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "8a75e871.a550e8"
+ ]
+ ]
+ },
+ {
+ "id": "24812d5e.ec4ff2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1587.150047302246,
+ "y": 245.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "35435a90.270286"
+ ]
+ ]
+ },
+ {
+ "id": "35435a90.270286",
+ "type": "execute",
+ "name": "check policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.policytype.url`\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='GET' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='get-policytypes-responsse' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 1872.7500534057617,
+ "y": 224.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "b1545141.7b08a",
+ "45b2dc37.c7e0b4"
+ ]
+ ]
+ },
+ {
+ "id": "b1545141.7b08a",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2087.750270843506,
+ "y": 95.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "1377b52f.ae81cb"
+ ]
+ ]
+ },
+ {
+ "id": "1377b52f.ae81cb",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2304.750274658203,
+ "y": 92.56728458404541,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "4d438fdf.7331b",
+ "7470a603.c002e8",
+ "7a0abb89.76e6d4",
+ "e050764e.8d0968"
+ ]
+ ]
+ },
+ {
+ "id": "4d438fdf.7331b",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy types length \"/>\n<parameter name=\"field2\" value=\"`$tmp.policytypelength`\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2603.7502784729004,
+ "y": 76.56728458404541,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "45b2dc37.c7e0b4",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2068.7500038146973,
+ "y": 228.5673589706421,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "bfe89f6e.73a93"
+ ]
+ ]
+ },
+ {
+ "id": "bfe89f6e.73a93",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2215.749931335449,
+ "y": 226.5673589706421,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "ca023a60.e60638"
+ ]
+ ]
+ },
+ {
+ "id": "ca023a60.e60638",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"req error \"/>\n<parameter name=\"field2\" value=\"Failure\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2380.7499351501465,
+ "y": 225.5673589706421,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7470a603.c002e8",
+ "type": "execute",
+ "name": "getpolicylength",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.policytypelength' />\n\t<parameter name='source' value=\"`'get-policytypes-responsse._length'`\" />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2594.4397354125977,
+ "y": 20,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7a0abb89.76e6d4",
+ "type": "switchNode",
+ "name": "check the action",
+ "xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2610.7502822875977,
+ "y": 146.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "690766cf.91f158",
+ "12594a03.96e466"
+ ]
+ ]
+ },
+ {
+ "id": "690766cf.91f158",
+ "type": "outcome",
+ "name": "True",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2855.3501358032227,
+ "y": 109,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "ce6a036a.99ba1"
+ ]
+ ]
+ },
+ {
+ "id": "12594a03.96e466",
+ "type": "outcome",
+ "name": "False",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2899.35013961792,
+ "y": 174.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "78207b48.ae9794"
+ ]
+ ]
+ },
+ {
+ "id": "ce6a036a.99ba1",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3030.350143432617,
+ "y": 113.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "a727e423.346688"
+ ]
+ ]
+ },
+ {
+ "id": "78207b48.ae9794",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3082.3505325317383,
+ "y": 188.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "7c68e747.61c618",
+ "aa715a4.c64fda8"
+ ]
+ ]
+ },
+ {
+ "id": "a727e423.346688",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy type already exists \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3187.350143432617,
+ "y": 110,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7c68e747.61c618",
+ "type": "execute",
+ "name": "create policytype",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policytype.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 3312.3505325317383,
+ "y": 223.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "981de7de.0c3ec8"
+ ]
+ ]
+ },
+ {
+ "id": "aa715a4.c64fda8",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"creating new policy \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3295.150535583496,
+ "y": 164.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "981de7de.0c3ec8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 3510.161087036133,
+ "y": 219.20009899139404,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "9e14aabf.5867f8"
+ ]
+ ]
+ },
+ {
+ "id": "59721398.37df0c",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policytype \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3868.7501525878906,
+ "y": 225.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9e14aabf.5867f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3685.7501525878906,
+ "y": 223.00000095367432,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "59721398.37df0c"
+ ]
+ ]
+ },
+ {
+ "id": "e050764e.8d0968",
+ "type": "execute",
+ "name": "create policyinstance ",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policyinstance.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap-res' />",
+ "comments": "",
+ "outputs": 1,
+ "x": 2655.9500427246094,
+ "y": 240.00000286102295,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "7dd231b9.d3cb2"
+ ]
+ ]
+ },
+ {
+ "id": "e35f053a.546e98",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policyinstance \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 3310.3498497009277,
+ "y": 277.00000286102295,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "4225aa83.138ae4",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 3104.349655151367,
+ "y": 260.00000286102295,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "e35f053a.546e98"
+ ]
+ ]
+ },
+ {
+ "id": "7dd231b9.d3cb2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2929.3494567871094,
+ "y": 252.19995403289795,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "4225aa83.138ae4"
+ ]
+ ]
+ },
+ {
+ "id": "cf3063e1.c09e1",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric11`\"/>\n",
+ "comments": "",
+ "x": 1687.550048828125,
+ "y": 31.99999713897705,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "8a75e871.a550e8",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric22`\"/>\n",
+ "comments": "",
+ "x": 1711.550048828125,
+ "y": 119.99999904632568,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "7d9e5472.3a5c6c",
+ "type": "comment",
+ "name": "A1-adaptor simulators",
+ "info": "Currently have configured to support 2 near-rt-ric simulators.\nNear-rt-ric simulators has to be run separately and corresponding ip can be configured in the properties file",
+ "comments": "",
+ "x": 935.75,
+ "y": 35.99999713897705,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "34629ea.5895d62",
+ "type": "set",
+ "name": "set API params",
+ "xml": "<set>\n<parameter name='tmp.cellLocalId' value='`$tmp.cellCULocalId`'/>\n<parameter name='tmp.payload.pLMNId' value='`$tmp.pLMNId`'/>\n<parameter name='tmp.payload.sNSSAI' value='`$tmp.payload.sNSSAI`'/>\n<parameter name='tmp.maxNumberOfConns' value='`$tmp.predictedMaxNumberofConns`'/>\n",
+ "comments": "",
+ "x": 1757.0000915527344,
+ "y": 1559.0001287460327,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "a8d5a9ac.730108",
+ "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/intelligentSlicing.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": 1738.4997863769531,
+ "y": 1603.2224187850952,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9c4b8c70.1468",
+ "type": "execute",
+ "name": "Update cellCU 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.updateCellCU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateCellCU.json'`\" />\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"update-nrCellCU-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": 1799.2776222229004,
+ "y": 1670.305549621582,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "1be8565f.d0eb8a",
+ "c21a1a8b.b0ecb8"
+ ]
+ ]
+ },
+ {
+ "id": "1be8565f.d0eb8a",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2070.7221870422363,
+ "y": 1689.0835781097412,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "b2438ed7.b11a"
+ ]
+ ]
+ },
+ {
+ "id": "c21a1a8b.b0ecb8",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2067.278232574463,
+ "y": 1739.3057317733765,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "33cade2c.41ecc2"
+ ]
+ ]
+ },
+ {
+ "id": "b2438ed7.b11a",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 2232.2776832580566,
+ "y": 1675.3054876327515,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "ef477f6f.e72e4",
+ "eaefe735.81a6e8",
+ "bf48a70f.d59638"
+ ]
+ ]
+ },
+ {
+ "id": "eaefe735.81a6e8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2429.388645172119,
+ "y": 1625.9722356796265,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "ef477f6f.e72e4",
+ "type": "returnFailure",
+ "name": "return failure",
+ "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 2414.6106910705566,
+ "y": 1676.7500066757202,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "c9376999.76aee8",
+ "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 updated ConfigDB - NRCellCU pLMNinfo \"/>",
+ "comments": "",
+ "outputs": 1,
+ "x": 2360.3891944885254,
+ "y": 1760.5283269882202,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "33cade2c.41ecc2",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>\n",
+ "atomic": "false",
+ "comments": "",
+ "outputs": 1,
+ "x": 2205.722137451172,
+ "y": 1746.8611516952515,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "c9376999.76aee8"
+ ]
+ ]
+ },
+ {
+ "id": "e31c9ea.89d486",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1566.25,
+ "y": 1601.000023841858,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "34629ea.5895d62",
+ "a8d5a9ac.730108",
+ "9c4b8c70.1468"
+ ]
+ ]
+ },
+ {
+ "id": "deb0e7c6.b92d08",
+ "type": "switchNode",
+ "name": "check status",
+ "xml": "<switch test='`$error-code`'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 494,
+ "y": 1600.000023841858,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "692a2173.eda43",
+ "a1fa482d.1fb048"
+ ]
+ ]
+ },
+ {
+ "id": "692a2173.eda43",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='200'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 696.0000534057617,
+ "y": 1570.0000047683716,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "aadf185.f14b3e8"
+ ]
+ ]
+ },
+ {
+ "id": "a1fa482d.1fb048",
+ "type": "other",
+ "name": "other",
+ "xml": "<outcome value='Other'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 692.9999656677246,
+ "y": 1608.9999688863754,
+ "z": "87f870d4.48ff2",
+ "wires": [
+ [
+ "75c63bbd.ade934"
+ ]
+ ]
+ },
+ {
+ "id": "aadf185.f14b3e8",
+ "type": "set",
+ "name": "status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"success\"/>",
+ "comments": "",
+ "x": 852.9999809265137,
+ "y": 1560.0002435445786,
+ "z": "87f870d4.48ff2",
+ "wires": []
+ },
+ {
+ "id": "75c63bbd.ade934",
+ "type": "set",
+ "name": "failure status",
+ "xml": "<set>\n<parameter name=\"tmp.status\" value=\"`$error-code`\"/>",
+ "comments": "",
+ "x": 853.9999656677246,
+ "y": 1603.9999688863754,
+ "z": "87f870d4.48ff2",
"wires": []
}
]
\ No newline at end of file