[
{
- "id": "f4ae2c81.e657a",
+ "id": "427ea30b.b3f20c",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 554.6875,
- "y": 223.4375,
- "z": "9ebd676c.bc9298",
+ "x": 618.75,
+ "y": 345.0000238418579,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a62dab63.de7ad8"
+ "e45542d2.17dc4"
]
]
},
{
- "id": "999e27e7.811448",
+ "id": "e758a445.d4d1e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 178.68749618530273,
- "y": 128.43747234344482,
- "z": "9ebd676c.bc9298",
+ "x": 242.74999618530273,
+ "y": 249.99999618530273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7814db.8fd9eb24"
+ "2fd61516.b0abca"
]
]
},
{
- "id": "7814db.8fd9eb24",
+ "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": 311.6874694824219,
- "y": 225.43755340576172,
- "z": "9ebd676c.bc9298",
+ "x": 375.7499694824219,
+ "y": 347.00007724761963,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f4ae2c81.e657a"
+ "427ea30b.b3f20c"
]
]
},
{
- "id": "f869fec3.26981",
+ "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": 240.1771240234375,
- "y": 1166.4377908706665,
- "z": "9ebd676c.bc9298",
+ "x": 304.2396240234375,
+ "y": 1288.0003147125244,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "ef860a2f.3fb1f8",
+ "id": "dcebd947.1d8198",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 523.6875,
- "y": 165.44787216186523,
- "z": "9ebd676c.bc9298",
+ "x": 587.75,
+ "y": 287.01039600372314,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "a62dab63.de7ad8",
+ "id": "e45542d2.17dc4",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 189.68746948242188,
- "y": 345.4478759765625,
- "z": "9ebd676c.bc9298",
+ "x": 253.74996948242188,
+ "y": 467.0103998184204,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f869fec3.26981",
- "80b179ef.c11348",
- "1b19804b.7eb57",
- "d20c29d9.8c9fe8"
+ "5040c532.4bdf8c",
+ "d200d1ec.9ca39",
+ "e48f470.c1b9bb8",
+ "6c4f3abc.7e6db4"
]
]
},
{
- "id": "1a4b54a8.a756cb",
+ "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": 4070.677406311035,
- "y": 7650.458359479904,
- "z": "9ebd676c.bc9298",
+ "x": 4134.739906311035,
+ "y": 7772.020883321762,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "94797250.ab2dd"
+ "bb838148.b2e07"
]
]
},
{
- "id": "94797250.ab2dd",
+ "id": "bb838148.b2e07",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4407.677284240723,
- "y": 7676.447861433029,
- "z": "9ebd676c.bc9298",
+ "x": 4471.739784240723,
+ "y": 7798.010385274887,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "6f83ffc3.f3b81"
+ "d9991334.1d06b"
]
]
},
{
- "id": "6f83ffc3.f3b81",
+ "id": "d9991334.1d06b",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4587.677040100098,
- "y": 7673.447861433029,
- "z": "9ebd676c.bc9298",
+ "x": 4651.739540100098,
+ "y": 7795.010385274887,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "51209f56.63bda"
+ "e8236f14.8b753"
]
]
},
{
- "id": "51209f56.63bda",
+ "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": 4736.677341461182,
- "y": 7699.448054075241,
- "z": "9ebd676c.bc9298",
+ "x": 4800.739841461182,
+ "y": 7821.010577917099,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d20c29d9.8c9fe8",
+ "id": "6c4f3abc.7e6db4",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 269.4375,
- "y": 1116.7021198272705,
- "z": "9ebd676c.bc9298",
+ "x": 333.5,
+ "y": 1238.2646436691284,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "deea80bb.ae04a",
- "9d29d5c6.83cfc8",
- "9e07afd4.ee649",
- "d5e822c6.e425"
+ "a973825a.95b83",
+ "6ab19d9a.574054",
+ "87419b49.6418c8",
+ "f4284a1b.1c2e88",
+ "deb0e7c6.b92d08"
]
]
},
{
- "id": "deea80bb.ae04a",
+ "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": 437.6874771118164,
- "y": 1484.4523248672485,
- "z": "9ebd676c.bc9298",
+ "x": 449.75008392333984,
+ "y": 1661.0148968696594,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "9c5f9721.d61068",
+ "id": "a71334c4.b8c9e8",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 471.6875762939453,
- "y": 1581.4520282745361,
- "z": "9ebd676c.bc9298",
+ "x": 535.7500762939453,
+ "y": 1703.014552116394,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "51e96ce4.92e244"
+ "d905ea17.44d638"
]
]
},
{
- "id": "d1d6af16.b9028",
+ "id": "dac6cda9.72318",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 463.6874694824219,
- "y": 1654.4519786834717,
- "z": "9ebd676c.bc9298",
+ "x": 527.7499694824219,
+ "y": 1776.0145025253296,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f1cdb61d.7a1448"
+ "84da0ec.28810f"
]
]
},
{
- "id": "f1cdb61d.7a1448",
+ "id": "84da0ec.28810f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 609.687313079834,
- "y": 1659.4520874023438,
- "z": "9ebd676c.bc9298",
+ "x": 673.749813079834,
+ "y": 1781.0146112442017,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "d816a3c4.0626"
+ "146ed9c3.fa1ac6"
]
]
},
{
- "id": "51e96ce4.92e244",
+ "id": "d905ea17.44d638",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 620.6874771118164,
- "y": 1577.452163696289,
- "z": "9ebd676c.bc9298",
+ "x": 684.7499771118164,
+ "y": 1699.014687538147,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "6810cd91.007e04",
- "825398a9.ceff08"
+ "2cec0dfc.1b7312",
+ "763fa0df.f46bb"
]
]
},
{
- "id": "6810cd91.007e04",
+ "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": 767.6870956420898,
- "y": 1588.4519052505493,
- "z": "9ebd676c.bc9298",
+ "x": 831.7495956420898,
+ "y": 1710.0144290924072,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "d816a3c4.0626",
+ "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": 770.6872329711914,
- "y": 1665.451979637146,
- "z": "9ebd676c.bc9298",
+ "x": 834.7497329711914,
+ "y": 1787.014503479004,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f542e28a.9466f",
+ "id": "bf48a70f.d59638",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3002.1785202026367,
- "y": 770.4480400085449,
- "z": "9ebd676c.bc9298",
+ "x": 3066.2410202026367,
+ "y": 892.0105638504028,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "722676bf.721c48",
- "b64e8a62.9e6d68",
- "e175024a.59c41"
+ "b9c8c826.23fdd8",
+ "346ce866.a49b58",
+ "1bd2fb2d.d16865"
]
]
},
{
- "id": "722676bf.721c48",
+ "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": 3320.1794967651367,
- "y": 694.3476982116699,
- "z": "9ebd676c.bc9298",
+ "x": 3384.2419967651367,
+ "y": 815.9102220535278,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "b64e8a62.9e6d68",
+ "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": 3295.178382873535,
- "y": 791.4483757019043,
- "z": "9ebd676c.bc9298",
+ "x": 3359.240882873535,
+ "y": 913.0108995437622,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "e175024a.59c41",
+ "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": 3210.178394317627,
- "y": 888.4482536315918,
- "z": "9ebd676c.bc9298",
+ "x": 3274.240894317627,
+ "y": 1010.0107774734497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "b2cf21cc.36356",
- "1f01ec9a.58cbe3"
+ "443e658.f78199c",
+ "c83ebdaf.971f7"
]
]
},
{
- "id": "b2cf21cc.36356",
+ "id": "443e658.f78199c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3436.178402900696,
- "y": 865.4482226371765,
- "z": "9ebd676c.bc9298",
+ "x": 3500.240902900696,
+ "y": 987.0107464790344,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7a1be79b.dde208"
+ "8841498e.b8d0f8"
]
]
},
{
- "id": "1f01ec9a.58cbe3",
+ "id": "c83ebdaf.971f7",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3426.1782569885254,
- "y": 973.4481620788574,
- "z": "9ebd676c.bc9298",
+ "x": 3490.2407569885254,
+ "y": 1095.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a8b1ae0b.55b9c"
+ "875f5a96.bd6f68"
]
]
},
{
- "id": "a8b1ae0b.55b9c",
+ "id": "875f5a96.bd6f68",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3576.1780433654785,
- "y": 992.4482231140137,
- "z": "9ebd676c.bc9298",
+ "x": 3640.2405433654785,
+ "y": 1114.0107469558716,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f6123b59.cb0e68"
+ "550b8724.429928"
]
]
},
{
- "id": "7a1be79b.dde208",
+ "id": "8841498e.b8d0f8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3587.1782722473145,
- "y": 860.448344707489,
- "z": "9ebd676c.bc9298",
+ "x": 3651.2407722473145,
+ "y": 982.0108685493469,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "20e961e5.65990e"
+ "4c817e87.f252e"
]
]
},
{
- "id": "20e961e5.65990e",
+ "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": 3753.177951812744,
- "y": 863.4481620788574,
- "z": "9ebd676c.bc9298",
+ "x": 3817.240451812744,
+ "y": 985.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "f6123b59.cb0e68",
+ "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": 3740.1780586242676,
- "y": 998.4481620788574,
- "z": "9ebd676c.bc9298",
+ "x": 3804.2405586242676,
+ "y": 1120.0106859207153,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "825398a9.ceff08",
+ "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": 755.1977043151855,
- "y": 1492.4413967132568,
- "z": "9ebd676c.bc9298",
+ "x": 827.2602434158325,
+ "y": 1641.0040941238403,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "9e07afd4.ee649",
+ "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": 460.027099609375,
- "y": 1420.437479019165,
- "z": "9ebd676c.bc9298",
+ "x": 524.089599609375,
+ "y": 1542.000002861023,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "e9160fea.9b572",
+ "id": "a3760aa4.6d1d48",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 746.6877326965332,
- "y": 283.43756008148193,
- "z": "9ebd676c.bc9298",
+ "x": 810.7502326965332,
+ "y": 405.00008392333984,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a8a4c5da.0884d8"
+ "1ee24bad.cf1e44"
]
]
},
{
- "id": "80b179ef.c11348",
+ "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": 506.6875991821289,
- "y": 561.4375252723694,
- "z": "9ebd676c.bc9298",
+ "x": 570.7500991821289,
+ "y": 683.0000491142273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "e9160fea.9b572",
- "39e444a1.4c285c"
+ "a3760aa4.6d1d48",
+ "b2ff1387.60e17"
]
]
},
{
- "id": "39e444a1.4c285c",
+ "id": "b2ff1387.60e17",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 371.19415283203125,
- "y": 703.43772315979,
- "z": "9ebd676c.bc9298",
+ "x": 435.25665283203125,
+ "y": 825.000247001648,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "be23b479.0b7328"
+ "76e01a67.60aea4"
]
]
},
{
- "id": "7d98378a.1d1488",
+ "id": "7a6a3c35.b131d4",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 538.6878814697266,
- "y": 1065.4377222061157,
- "z": "9ebd676c.bc9298",
+ "x": 602.7503814697266,
+ "y": 1187.0002460479736,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "2ae3fc00.93e234"
+ "5b69b480.68798c"
]
]
},
{
- "id": "a8a4c5da.0884d8",
+ "id": "1ee24bad.cf1e44",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 808.6877288818359,
- "y": 144.43753004074097,
- "z": "9ebd676c.bc9298",
+ "x": 872.7502288818359,
+ "y": 266.0000538825989,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "1e81a915.64d807",
- "8bdeed60.9b64a"
+ "8474fd54.76162",
+ "3675e30c.9c3e7c"
]
]
},
{
- "id": "2ae3fc00.93e234",
+ "id": "5b69b480.68798c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 705.6877899169922,
- "y": 1064.437707901001,
- "z": "9ebd676c.bc9298",
+ "x": 769.7502899169922,
+ "y": 1186.000231742859,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "20d4d101.cc639e",
- "d379a487.a98a28",
- "ada02534.068408",
- "d6d32295.d9fbe"
+ "bdd4149e.c34168",
+ "e53731ba.2f3e6",
+ "eb8d489b.2929c8",
+ "f61988dc.69c458"
]
]
},
{
- "id": "be23b479.0b7328",
+ "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": 364.6879577636719,
- "y": 1063.4377689361572,
- "z": "9ebd676c.bc9298",
+ "x": 428.7504577636719,
+ "y": 1185.0002927780151,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7d98378a.1d1488"
+ "7a6a3c35.b131d4"
]
]
},
{
- "id": "1e81a915.64d807",
+ "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": 1014.6875152587891,
- "y": 129.43752574920654,
- "z": "9ebd676c.bc9298",
+ "x": 954.7500190734863,
+ "y": 168.00004959106445,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "20d4d101.cc639e",
+ "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": 862.6878967285156,
- "y": 1035.4377517700195,
- "z": "9ebd676c.bc9298",
+ "x": 926.7503967285156,
+ "y": 1157.0002756118774,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "1b19804b.7eb57",
+ "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": 579.6875,
- "y": 296.4375,
- "z": "9ebd676c.bc9298",
+ "x": 643.75,
+ "y": 418.0000238418579,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8bdeed60.9b64a",
+ "id": "3675e30c.9c3e7c",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 912.6980514526367,
- "y": 258.44793796539307,
- "z": "9ebd676c.bc9298",
+ "x": 945.7605819702148,
+ "y": 340.0104646682739,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "3d80ca46.4012f6",
- "2d42cc94.1ef5f4"
+ "5f7787d1.52bfd8",
+ "d852f0d6.21a3"
]
]
},
{
- "id": "d379a487.a98a28",
+ "id": "e53731ba.2f3e6",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 839.6982955932617,
- "y": 1179.4480228424072,
- "z": "9ebd676c.bc9298",
+ "x": 903.7607955932617,
+ "y": 1301.0105466842651,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "427c983f.4ef798",
- "6ec50d02.c4cad4"
+ "24836a0.52eb396",
+ "238a7795.7b7068"
]
]
},
{
- "id": "c55c513c.310d2",
+ "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": 1483.5870742797852,
- "y": 441.4479637145996,
- "z": "9ebd676c.bc9298",
+ "x": 1547.6495742797852,
+ "y": 563.0104875564575,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "5de2628.f1d349c",
- "82f66885.660948"
+ "7c759b05.f54ef4",
+ "908a91ee.7992b"
]
]
},
{
- "id": "5de2628.f1d349c",
+ "id": "7c759b05.f54ef4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1769.5874099731445,
- "y": 382.43749618530273,
- "z": "9ebd676c.bc9298",
+ "x": 1833.6499099731445,
+ "y": 504.00002002716064,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "c01fa28e.af3f9"
+ "c0cfae58.a0d62"
]
]
},
{
- "id": "82f66885.660948",
+ "id": "908a91ee.7992b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1762.587474822998,
- "y": 442.43740463256836,
- "z": "9ebd676c.bc9298",
+ "x": 1826.649974822998,
+ "y": 563.9999284744263,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "23271cc4.7ac7f4"
+ "d8f59711.880bc8"
]
]
},
{
- "id": "c01fa28e.af3f9",
+ "id": "c0cfae58.a0d62",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1952.5875053405762,
- "y": 425.43750381469727,
- "z": "9ebd676c.bc9298",
+ "x": 2016.6500053405762,
+ "y": 547.0000276565552,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "6717e4f3.ce834c",
- "e46c5941.087b28",
- "f542e28a.9466f"
+ "bb7a7b56.117b58",
+ "1e256c03.14b2e4",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "23271cc4.7ac7f4",
+ "id": "d8f59711.880bc8",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1944.5871391296387,
- "y": 471.4374656677246,
- "z": "9ebd676c.bc9298",
+ "x": 2008.6496391296387,
+ "y": 592.9999895095825,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "c4ee048f.670368",
- "f09429a0.3c3408"
+ "68814b.6f20deb4",
+ "a66fc170.9dd67"
]
]
},
{
- "id": "e22d8202.486e3",
+ "id": "b24b8d55.3124d",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1080.6875915527344,
- "y": 426.1822757720947,
- "z": "9ebd676c.bc9298",
+ "x": 1124.7501373291016,
+ "y": 519.7448177337646,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "123dc789.d53488",
- "a87f8b52.6b8e08",
- "7c23ab7a.d68654",
- "c55c513c.310d2"
+ "4f848073.77622",
+ "9ff8309a.101ad",
+ "a5a9eb9e.89df68",
+ "1bfa3792.551f38"
]
]
},
{
- "id": "7c23ab7a.d68654",
+ "id": "a5a9eb9e.89df68",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1432.687894821167,
- "y": 316.8385200202465,
- "z": "9ebd676c.bc9298",
+ "x": 1496.750394821167,
+ "y": 438.4010438621044,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7f4413c3.15a72c",
- "7e319efb.2e1e3"
+ "3a3fa85c.814ae8",
+ "e91ff8ed.2ac9d8"
]
]
},
{
- "id": "7f4413c3.15a72c",
+ "id": "3a3fa85c.814ae8",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1595.6878185272217,
- "y": 248.83830973505974,
- "z": "9ebd676c.bc9298",
+ "x": 1659.7503185272217,
+ "y": 370.40083357691765,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "327cc0a4.8a4db"
+ "6f7c3715.abd238"
]
]
},
{
- "id": "7e319efb.2e1e3",
+ "id": "e91ff8ed.2ac9d8",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1607.6879386901855,
- "y": 325.8384132385254,
- "z": "9ebd676c.bc9298",
+ "x": 1671.7504386901855,
+ "y": 447.4009370803833,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "795143ac.926f8c"
+ "ace9cee9.7947"
]
]
},
{
- "id": "a87f8b52.6b8e08",
+ "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": 1409.6881523132324,
- "y": 352.1824840269983,
- "z": "9ebd676c.bc9298",
+ "x": 1473.7506523132324,
+ "y": 473.7450078688562,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "123dc789.d53488",
+ "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": 1410.688793182373,
- "y": 397.1718406677246,
- "z": "9ebd676c.bc9298",
+ "x": 1474.751293182373,
+ "y": 518.7343645095825,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "22e4e932.2b0ca6",
+ "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": 2024.2228164672852,
- "y": 376.4375343322754,
- "z": "9ebd676c.bc9298",
+ "x": 2089.285400390625,
+ "y": 505.0000534057617,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8db01d7b.44a72",
+ "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": 2094.7574310302734,
- "y": 332.0365562438965,
- "z": "9ebd676c.bc9298",
+ "x": 2150.8199768066406,
+ "y": 467.59907627105713,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "795143ac.926f8c",
+ "id": "ace9cee9.7947",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1790.6775932312012,
- "y": 331.8383979797363,
- "z": "9ebd676c.bc9298",
+ "x": 1854.7400932312012,
+ "y": 453.40092182159424,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7524a904.15f6c8",
- "8db01d7b.44a72",
- "22e4e932.2b0ca6"
+ "dd598152.25bfa",
+ "d8b1f930.2388b8",
+ "cb43a2.6e6b7c6"
]
]
},
{
- "id": "7524a904.15f6c8",
+ "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": 2086.2222747802734,
- "y": 287.43774461746216,
- "z": "9ebd676c.bc9298",
+ "x": 2148.2848205566406,
+ "y": 429.0002965927124,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "353ab673.697b3a",
+ "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": 2057.222640991211,
- "y": 232.43763732910156,
- "z": "9ebd676c.bc9298",
+ "x": 2129.2850799560547,
+ "y": 383.0001497268677,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "5698222d.b5a28c",
+ "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": 2052.6878662109375,
- "y": 182.8386402130127,
- "z": "9ebd676c.bc9298",
+ "x": 2130.7503204345703,
+ "y": 342.40114879608154,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "327cc0a4.8a4db",
+ "id": "6f7c3715.abd238",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1754.8893432617188,
- "y": 255.43750473856926,
- "z": "9ebd676c.bc9298",
+ "x": 1818.9518432617188,
+ "y": 377.00002858042717,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "5698222d.b5a28c",
- "353ab673.697b3a"
+ "ddd26471.724f98",
+ "38238693.efbffa"
]
]
},
{
- "id": "2d42cc94.1ef5f4",
+ "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": 1076.6914825439453,
- "y": 202.44142055511475,
- "z": "9ebd676c.bc9298",
+ "x": 1105.7539901733398,
+ "y": 278.00393295288086,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "3d80ca46.4012f6",
+ "id": "5f7787d1.52bfd8",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1057.691421508789,
- "y": 325.44142055511475,
- "z": "9ebd676c.bc9298",
+ "x": 1130.7539443969727,
+ "y": 414.0039463043213,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "e22d8202.486e3",
- "230dec68.7cb7c4",
- "2d02db2e.856a04",
- "6ec50d02.c4cad4"
+ "b24b8d55.3124d",
+ "a44674c9.105f08",
+ "e3dc58ff.a43c68",
+ "238a7795.7b7068",
+ "a56b4cb5.f3ca5",
+ "24812d5e.ec4ff2"
]
]
},
{
- "id": "230dec68.7cb7c4",
+ "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": 1256.1424827575684,
- "y": 246.44793224334717,
- "z": "9ebd676c.bc9298",
+ "x": 1271.2050704956055,
+ "y": 51.010483741760254,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "6717e4f3.ce834c",
+ "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": 2138.142433166504,
- "y": 426.44792556762695,
- "z": "9ebd676c.bc9298",
+ "x": 2202.204933166504,
+ "y": 548.0104494094849,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "e46c5941.087b28",
+ "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": 2148.142219543457,
- "y": 465.33691024780273,
- "z": "9ebd676c.bc9298",
+ "x": 2212.204719543457,
+ "y": 586.8994340896606,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "c4ee048f.670368",
+ "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": 2136.14213180542,
- "y": 502.3368797302246,
- "z": "9ebd676c.bc9298",
+ "x": 2200.20463180542,
+ "y": 623.8994035720825,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f09429a0.3c3408",
+ "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": 2154.920539855957,
- "y": 538.3369178771973,
- "z": "9ebd676c.bc9298",
+ "x": 2218.983039855957,
+ "y": 659.8994417190552,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "ada02534.068408",
+ "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": 896.8095245361328,
- "y": 1076.337028503418,
- "z": "9ebd676c.bc9298",
+ "x": 956.8720359802246,
+ "y": 1199.8995027542114,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "427c983f.4ef798",
+ "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": 1071.8090896606445,
- "y": 1169.3369541168213,
- "z": "9ebd676c.bc9298",
+ "x": 1135.8715896606445,
+ "y": 1290.8994779586792,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "6a4a186b.f80ab8"
+ "fb3881bc.b1af3"
]
]
},
{
- "id": "6ec50d02.c4cad4",
+ "id": "238a7795.7b7068",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1045.4375,
- "y": 592.1874732971191,
- "z": "9ebd676c.bc9298",
+ "x": 1109.5,
+ "y": 713.749997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "cdfd01c2.bb087",
- "51d123e6.812bec",
- "a78bd2d.9f2953",
- "a8ee8669.5b18b8",
- "20a64cf6.ff5984",
- "9be2d64a.a3bbd8"
+ "8f03435d.f3223",
+ "e5690e93.db6f6",
+ "e7c8d71b.5d96d8",
+ "9e774401.3f6b28",
+ "c2c63981.0cfc88",
+ "bc4570d7.a0bf8"
]
]
},
{
- "id": "cdfd01c2.bb087",
+ "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": 1310.4374923706055,
- "y": 482.18746757507324,
- "z": "9ebd676c.bc9298",
+ "x": 1374.4999923706055,
+ "y": 603.7499914169312,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "51d123e6.812bec",
+ "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": 1283.9376182556152,
- "y": 530.1875057220459,
- "z": "9ebd676c.bc9298",
+ "x": 1348.0001182556152,
+ "y": 651.7500295639038,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a78bd2d.9f2953",
+ "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": 1351.6874923706055,
- "y": 568.1874551773071,
- "z": "9ebd676c.bc9298",
+ "x": 1415.7499923706055,
+ "y": 689.749979019165,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "580b6380.a3832c",
- "81af58bb.bc1368"
+ "170fa2d2.e0abbd",
+ "c1c8e091.9ebd1"
]
]
},
{
- "id": "20a64cf6.ff5984",
+ "id": "c2c63981.0cfc88",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1308.8750228881836,
- "y": 608.8750219345093,
- "z": "9ebd676c.bc9298",
+ "x": 1372.9375228881836,
+ "y": 730.4375457763672,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "76b26cb9.625d94",
+ "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": 1709.6875343322754,
- "y": 661.4375696182251,
- "z": "9ebd676c.bc9298",
+ "x": 1773.7500343322754,
+ "y": 783.000093460083,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "eadea779.aa7998",
+ "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": 1720.4377136230469,
- "y": 695.6874475479126,
- "z": "9ebd676c.bc9298",
+ "x": 1784.5002136230469,
+ "y": 817.2499713897705,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a8ee8669.5b18b8",
+ "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": 1297.1810455322266,
- "y": 727.680944442749,
- "z": "9ebd676c.bc9298",
+ "x": 1361.2435455322266,
+ "y": 849.2434682846069,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "580b6380.a3832c",
+ "id": "170fa2d2.e0abbd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1589.1874923706055,
- "y": 573.4374675750732,
- "z": "9ebd676c.bc9298",
+ "x": 1653.2499923706055,
+ "y": 694.9999914169312,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "d0b97aa.5275988"
+ "9e2fae92.32df5"
]
]
},
{
- "id": "81af58bb.bc1368",
+ "id": "c1c8e091.9ebd1",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1587.7502365112305,
- "y": 622.9999666213989,
- "z": "9ebd676c.bc9298",
+ "x": 1651.8127365112305,
+ "y": 744.5624904632568,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "c6fc8a94.e90b18"
+ "7052245f.fa38ec"
]
]
},
{
- "id": "d0b97aa.5275988",
+ "id": "9e2fae92.32df5",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1762.1872940063477,
- "y": 562.4375400543213,
- "z": "9ebd676c.bc9298",
+ "x": 1826.2497940063477,
+ "y": 684.0000638961792,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "40d71717.0008a8",
- "4aad3199.c331"
+ "d33c807a.afbea",
+ "b2c1f423.ab4108"
]
]
},
{
- "id": "c6fc8a94.e90b18",
+ "id": "7052245f.fa38ec",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1748.750099182129,
- "y": 600.9998931884766,
- "z": "9ebd676c.bc9298",
+ "x": 1812.812599182129,
+ "y": 722.5624170303345,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "197cdde3.d46d22",
- "a2a76d52.17f67",
- "f542e28a.9466f"
+ "8a07be5e.29723",
+ "161fa4f0.afa11b",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "40d71717.0008a8",
+ "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": 1962.9370231628418,
- "y": 562.1875648498535,
- "z": "9ebd676c.bc9298",
+ "x": 2026.9995231628418,
+ "y": 683.7500886917114,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "4aad3199.c331",
+ "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": 1998.7152366638184,
- "y": 605.4375734329224,
- "z": "9ebd676c.bc9298",
+ "x": 2062.7777366638184,
+ "y": 727.0000972747803,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a2a76d52.17f67",
+ "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": 1993.7504501342773,
- "y": 638.1109933853149,
- "z": "9ebd676c.bc9298",
+ "x": 2057.8129501342773,
+ "y": 759.6735172271729,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "197cdde3.d46d22",
+ "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": 1993.750144958496,
- "y": 673.9999780654907,
- "z": "9ebd676c.bc9298",
+ "x": 2057.812644958496,
+ "y": 795.5625019073486,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "2d02db2e.856a04",
+ "id": "e3dc58ff.a43c68",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 806.1875,
- "y": 788.9374732971191,
- "z": "9ebd676c.bc9298",
+ "x": 870.25,
+ "y": 910.499997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "2051fa29.3f7ba6",
- "98fa6e1a.b6327",
- "48ddec9a.f4ec54",
- "5ba9c334.7672ac",
- "2b9caae9.350b86"
+ "7565f43a.06e69c",
+ "68bfd80.3143328",
+ "900868e8.78c5f8",
+ "4515d38d.7c2e1c",
+ "93118024.afea4"
]
]
},
{
- "id": "2051fa29.3f7ba6",
+ "id": "7565f43a.06e69c",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1044.9375381469727,
- "y": 709.4375114440918,
- "z": "9ebd676c.bc9298",
+ "x": 1109.0000381469727,
+ "y": 831.0000352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a3a3615e.3cea9",
- "560affac.9a3f1"
+ "ebda12fa.dc10e",
+ "2881116d.54f07e"
]
]
},
{
- "id": "a3a3615e.3cea9",
+ "id": "ebda12fa.dc10e",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1265.9374237060547,
- "y": 766.4372630119324,
- "z": "9ebd676c.bc9298",
+ "x": 1329.9999237060547,
+ "y": 887.9997868537903,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "cc01e733.374d78"
+ "ca65e7a2.8d0f18"
]
]
},
{
- "id": "560affac.9a3f1",
+ "id": "2881116d.54f07e",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1259.9375038146973,
- "y": 803.4374017715454,
- "z": "9ebd676c.bc9298",
+ "x": 1324.0000038146973,
+ "y": 924.9999256134033,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "38a95ed.43591a2"
+ "33cf41e1.f4785e"
]
]
},
{
- "id": "38a95ed.43591a2",
+ "id": "33cf41e1.f4785e",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1436.9273414611816,
- "y": 814.4373874664307,
- "z": "9ebd676c.bc9298",
+ "x": 1500.9898414611816,
+ "y": 935.9999113082886,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "8e4d7c6.e97b68",
- "9d396567.e666a8"
+ "5b97c6f7.0f3668",
+ "e28780a7.cc0a1"
]
]
},
{
- "id": "cc01e733.374d78",
+ "id": "ca65e7a2.8d0f18",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1425.1389484405518,
- "y": 773.0364580154419,
- "z": "9ebd676c.bc9298",
+ "x": 1489.2014484405518,
+ "y": 894.5989818572998,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "261c75d4.08a57a"
+ "eac75626.f051a8"
]
]
},
{
- "id": "261c75d4.08a57a",
+ "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": 1706.937484741211,
- "y": 763.4375991821289,
- "z": "9ebd676c.bc9298",
+ "x": 1770.999984741211,
+ "y": 885.0001230239868,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "8e4d7c6.e97b68",
+ "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": 1756.4718799591064,
- "y": 805.0366978943348,
- "z": "9ebd676c.bc9298",
+ "x": 1820.5343799591064,
+ "y": 926.5992217361927,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "9d396567.e666a8",
+ "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": 1699.472396850586,
- "y": 850.0364608764648,
- "z": "9ebd676c.bc9298",
+ "x": 1763.534896850586,
+ "y": 971.5989847183228,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "98fa6e1a.b6327",
+ "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": 1041.1875801086426,
- "y": 751.9375720024109,
- "z": "9ebd676c.bc9298",
+ "x": 1105.2500801086426,
+ "y": 873.5000958442688,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "48ddec9a.f4ec54",
+ "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": 1042.6875534057617,
- "y": 791.9375114440918,
- "z": "9ebd676c.bc9298",
+ "x": 1106.7500534057617,
+ "y": 913.5000352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "c7a4042f.403948",
+ "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": 1045.6875534057617,
- "y": 831.9374647140503,
- "z": "9ebd676c.bc9298",
+ "x": 1109.7500534057617,
+ "y": 953.4999885559082,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "9664ea32.a42528",
+ "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": 1047.9375381469727,
- "y": 875.937554359436,
- "z": "9ebd676c.bc9298",
+ "x": 1112.0000381469727,
+ "y": 997.500078201294,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "5424460c.74dd58",
+ "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": 1041.1875534057617,
- "y": 916.6875238418579,
- "z": "9ebd676c.bc9298",
+ "x": 1105.2500534057617,
+ "y": 1038.2500476837158,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "5ba9c334.7672ac",
+ "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": 994.4374885559082,
- "y": 952.187479019165,
- "z": "9ebd676c.bc9298",
+ "x": 1058.4999885559082,
+ "y": 1073.750002861023,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "388b8e6e.d38d72",
+ "id": "6596a6b2.005a18",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1281.9375495910645,
- "y": 1000.6875343322754,
- "z": "9ebd676c.bc9298",
+ "x": 1346.0000495910645,
+ "y": 1122.2500581741333,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "15ba999b.e0ceb6"
+ "5d4d6b40.a33694"
]
]
},
{
- "id": "e04a3f06.f03d4",
+ "id": "98dbf171.184c3",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1280.5002937316895,
- "y": 1050.250033378601,
- "z": "9ebd676c.bc9298",
+ "x": 1344.5627937316895,
+ "y": 1171.812557220459,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "cf7dd075.4a9a5"
+ "9e53f8b7.ebacb8"
]
]
},
{
- "id": "15ba999b.e0ceb6",
+ "id": "5d4d6b40.a33694",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1450.9373016357422,
- "y": 994.6875581741333,
- "z": "9ebd676c.bc9298",
+ "x": 1514.9998016357422,
+ "y": 1116.2500820159912,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "290479e8.5db636"
+ "a60e18ca.7bc708"
]
]
},
{
- "id": "cf7dd075.4a9a5",
+ "id": "9e53f8b7.ebacb8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1441.500156402588,
- "y": 1028.2499599456787,
- "z": "9ebd676c.bc9298",
+ "x": 1505.562656402588,
+ "y": 1149.8124837875366,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "55a53ced.fbcd64",
- "a09edd9.d66502",
- "f542e28a.9466f"
+ "3540b64f.48185a",
+ "b4700b18.a77eb8",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "290479e8.5db636",
+ "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": 1662.6871070861816,
- "y": 917.4376459121704,
- "z": "9ebd676c.bc9298",
+ "x": 1726.7496070861816,
+ "y": 1039.0001697540283,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "a09edd9.d66502",
+ "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": 1667.5007057189941,
- "y": 973.3609857559204,
- "z": "9ebd676c.bc9298",
+ "x": 1731.5632057189941,
+ "y": 1094.9235095977783,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "55a53ced.fbcd64",
+ "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": 1628.5002212524414,
- "y": 1024.2499780654907,
- "z": "9ebd676c.bc9298",
+ "x": 1692.5627212524414,
+ "y": 1145.8125019073486,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "2b9caae9.350b86",
+ "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": 1049.4375495910645,
- "y": 999.4375219345093,
- "z": "9ebd676c.bc9298",
+ "x": 1113.5000495910645,
+ "y": 1121.0000457763672,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "388b8e6e.d38d72",
- "e04a3f06.f03d4"
+ "6596a6b2.005a18",
+ "98dbf171.184c3"
]
]
},
{
- "id": "9d29d5c6.83cfc8",
+ "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": 470.375,
- "y": 1369.0624732971191,
- "z": "9ebd676c.bc9298",
+ "x": 534.4375,
+ "y": 1490.624997138977,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "d5e822c6.e425",
+ "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": 307.875,
- "y": 1612.8124732971191,
- "z": "9ebd676c.bc9298",
+ "x": 371.9375,
+ "y": 1734.374997138977,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "9c5f9721.d61068",
- "d1d6af16.b9028"
+ "a71334c4.b8c9e8",
+ "dac6cda9.72318"
]
]
},
{
- "id": "4f047810.3c5238",
+ "id": "ed997ee6.1432a",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1685.4375648498535,
- "y": 1119.4375076293945,
- "z": "9ebd676c.bc9298",
+ "x": 1749.5000648498535,
+ "y": 1241.0000314712524,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "28bdec69.fb4364"
+ "a7383cfd.16f22"
]
]
},
{
- "id": "b4cb1e5c.9948c",
+ "id": "99515d02.2778d",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1679.437644958496,
- "y": 1156.4376463890076,
- "z": "9ebd676c.bc9298",
+ "x": 1743.500144958496,
+ "y": 1278.0001702308655,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "a8e4fca6.aee97"
+ "4036186a.bbcd78"
]
]
},
{
- "id": "a8e4fca6.aee97",
+ "id": "4036186a.bbcd78",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1856.4274826049805,
- "y": 1167.4376320838928,
- "z": "9ebd676c.bc9298",
+ "x": 1920.4899826049805,
+ "y": 1289.0001559257507,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "62cebf1d.08dca",
- "c611ccc1.6d8e4"
+ "c49707c0.1de1c8",
+ "c0c5a770.5866a8"
]
]
},
{
- "id": "28bdec69.fb4364",
+ "id": "a7383cfd.16f22",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1844.6390895843506,
- "y": 1126.036702632904,
- "z": "9ebd676c.bc9298",
+ "x": 1908.7015895843506,
+ "y": 1247.599226474762,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "c446f088.7af9d"
+ "bc5e0ab6.e45d08"
]
]
},
{
- "id": "c446f088.7af9d",
+ "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": 2126.4376258850098,
- "y": 1116.437843799591,
- "z": "9ebd676c.bc9298",
+ "x": 2190.5001258850098,
+ "y": 1238.000367641449,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "62cebf1d.08dca",
+ "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": 2175.9720211029053,
- "y": 1158.036942511797,
- "z": "9ebd676c.bc9298",
+ "x": 2240.0345211029053,
+ "y": 1279.5994663536549,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "c611ccc1.6d8e4",
+ "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": 2118.9725379943848,
- "y": 1203.036705493927,
- "z": "9ebd676c.bc9298",
+ "x": 2183.0350379943848,
+ "y": 1324.599229335785,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "1cfa3d71.2d3fa3",
+ "id": "e9fc49db.73d9c8",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1495.437629699707,
- "y": 1112.437505722046,
- "z": "9ebd676c.bc9298",
+ "x": 1559.500129699707,
+ "y": 1234.0000295639038,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "4f047810.3c5238",
- "b4cb1e5c.9948c"
+ "ed997ee6.1432a",
+ "99515d02.2778d"
]
]
},
{
- "id": "606b6775.a18bf8",
+ "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": 1490.4375648498535,
- "y": 1184.4375076293945,
- "z": "9ebd676c.bc9298",
+ "x": 1554.5000648498535,
+ "y": 1306.0000314712524,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "3f907a86.c2ad26",
+ "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": 1491.9375381469727,
- "y": 1224.4374470710754,
- "z": "9ebd676c.bc9298",
+ "x": 1556.0000381469727,
+ "y": 1345.9999709129333,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "6a4a186b.f80ab8",
+ "id": "fb3881bc.b1af3",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1296.4375228881836,
- "y": 1163.437539100647,
- "z": "9ebd676c.bc9298",
+ "x": 1360.5000228881836,
+ "y": 1285.0000629425049,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "1cfa3d71.2d3fa3",
- "606b6775.a18bf8",
- "3f907a86.c2ad26",
- "d825b91c.27bc48",
- "75ca05a0.ba475c",
- "b8b27037.9d5ab",
- "4b92d40d.528e5c"
+ "e9fc49db.73d9c8",
+ "9a228d66.9ccc4",
+ "bf4c6d99.65d56",
+ "f0663568.359058",
+ "4e799ffc.18887",
+ "a8375621.0602e8",
+ "fc8120ff.bc9ca"
]
]
},
{
- "id": "d825b91c.27bc48",
+ "id": "f0663568.359058",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1505.6876907348633,
- "y": 1328.43754196167,
- "z": "9ebd676c.bc9298",
+ "x": 1569.7501907348633,
+ "y": 1450.0000658035278,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "7bed6240.d9108c"
+ "433233fb.83bc0c",
+ "e31c9ea.89d486"
]
]
},
{
- "id": "83e28863.96fd98",
+ "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": 1928.937629699707,
- "y": 1234.9377765655518,
- "z": "9ebd676c.bc9298",
+ "x": 1993.000129699707,
+ "y": 1356.5003004074097,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "7bed6240.d9108c",
+ "id": "433233fb.83bc0c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1715.4375,
- "y": 1325.4375,
- "z": "9ebd676c.bc9298",
+ "x": 1779.5,
+ "y": 1447.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "83e28863.96fd98",
- "fa247a04.5db3f8",
- "c8a6e293.16cd3",
- "f56f9270.39935",
- "4a947320.b506ac"
+ "4e372e8b.85086",
+ "fe14cde6.25973",
+ "aeedf427.e7bb28",
+ "2b6ab99b.1c9bd6",
+ "5afb38d5.4c6df8"
]
]
},
{
- "id": "fa247a04.5db3f8",
+ "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": 1973.1875076293945,
- "y": 1364.9376239776611,
- "z": "9ebd676c.bc9298",
+ "x": 2037.2500076293945,
+ "y": 1486.500147819519,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "c8a6e293.16cd3",
+ "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": 1963.9375,
- "y": 1439.4375,
- "z": "9ebd676c.bc9298",
+ "x": 2028,
+ "y": 1561.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "4c0b32fd.c75afc",
- "7483f7e0.e84798"
+ "4ce78eff.4545e",
+ "db63b1b4.6793f"
]
]
},
{
- "id": "4c0b32fd.c75afc",
+ "id": "4ce78eff.4545e",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2196.4375,
- "y": 1440.687512397766,
- "z": "9ebd676c.bc9298",
+ "x": 2260.5,
+ "y": 1562.250036239624,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "f7e9fd1d.a0c2"
+ "565c5660.4fda78"
]
]
},
{
- "id": "7483f7e0.e84798",
+ "id": "db63b1b4.6793f",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2195.000244140625,
- "y": 1490.2500114440918,
- "z": "9ebd676c.bc9298",
+ "x": 2259.062744140625,
+ "y": 1611.8125352859497,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "da6606b.4fcbef8"
+ "a2ecc06b.2e7ce"
]
]
},
{
- "id": "da6606b.4fcbef8",
+ "id": "a2ecc06b.2e7ce",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2356.0001068115234,
- "y": 1468.2499380111694,
- "z": "9ebd676c.bc9298",
+ "x": 2420.0626068115234,
+ "y": 1589.8124618530273,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "30beab96.b1d944",
- "ef0a7650.cb7c78",
- "f542e28a.9466f"
+ "62aad72c.d1cbc8",
+ "dde5e5d2.491798",
+ "bf48a70f.d59638"
]
]
},
{
- "id": "f7e9fd1d.a0c2",
+ "id": "565c5660.4fda78",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2365.4372520446777,
- "y": 1434.687536239624,
- "z": "9ebd676c.bc9298",
+ "x": 2429.4997520446777,
+ "y": 1556.250060081482,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "73017d59.f89d74"
+ "45d3cff5.f3716"
]
]
},
{
- "id": "30beab96.b1d944",
+ "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": 2543.000171661377,
- "y": 1464.2499561309814,
- "z": "9ebd676c.bc9298",
+ "x": 2607.062671661377,
+ "y": 1585.8124799728394,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "ef0a7650.cb7c78",
+ "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": 2582.0006561279297,
- "y": 1413.3609638214111,
- "z": "9ebd676c.bc9298",
+ "x": 2646.0631561279297,
+ "y": 1534.923487663269,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "73017d59.f89d74",
+ "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": 2577.187057495117,
- "y": 1357.4376239776611,
- "z": "9ebd676c.bc9298",
+ "x": 2641.249557495117,
+ "y": 1479.000147819519,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "d6d32295.d9fbe",
+ "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": 865.1875,
- "y": 1133.4375,
- "z": "9ebd676c.bc9298",
+ "x": 929.25,
+ "y": 1255.000023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "75ca05a0.ba475c",
+ "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": 1506.6875076293945,
- "y": 1258.6875104904175,
- "z": "9ebd676c.bc9298",
+ "x": 1570.7500076293945,
+ "y": 1380.2500343322754,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "b8b27037.9d5ab",
+ "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": 1486.6875,
- "y": 1291.6875,
- "z": "9ebd676c.bc9298",
+ "x": 1550.75,
+ "y": 1413.250023841858,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "f56f9270.39935",
+ "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": 1909.4377555847168,
- "y": 1402.187533378601,
- "z": "9ebd676c.bc9298",
+ "x": 1973.5002555847168,
+ "y": 1523.750057220459,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "4b92d40d.528e5c",
+ "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": 1512.1875,
- "y": 1067.9375,
- "z": "9ebd676c.bc9298",
+ "x": 1576.25,
+ "y": 1189.500023841858,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "9be2d64a.a3bbd8",
+ "id": "bc4570d7.a0bf8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1305.1875457763672,
- "y": 665.4375238418579,
- "z": "9ebd676c.bc9298",
+ "x": 1369.2500457763672,
+ "y": 787.0000476837158,
+ "z": "87f870d4.48ff2",
"wires": [
[
- "2eae9783.b3f048",
- "743d7949.25e8a8"
+ "95f40548.20d658",
+ "8a6a0b95.d28dd8"
]
]
},
{
- "id": "743d7949.25e8a8",
+ "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": 1516.9146423339844,
- "y": 722.9952244758606,
- "z": "9ebd676c.bc9298",
+ "x": 1580.9771423339844,
+ "y": 844.5577483177185,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "2eae9783.b3f048",
+ "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": 1524.4599609375,
- "y": 678.9498138427734,
- "z": "9ebd676c.bc9298",
+ "x": 1588.5224609375,
+ "y": 800.5123376846313,
+ "z": "87f870d4.48ff2",
"wires": [
[]
]
},
{
- "id": "608ac868.ce80a8",
+ "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": 1955.0000076293945,
- "y": 1329.0625324249268,
- "z": "9ebd676c.bc9298",
+ "x": 2019.0625076293945,
+ "y": 1450.6250562667847,
+ "z": "87f870d4.48ff2",
"wires": []
},
{
- "id": "4a947320.b506ac",
+ "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.cellLocalId`\" />\n <parameter name=\"target\" value=\"-maxNumberofConns\"/>\n <parameter name=\"outputPath\" value=\"tmp.cellLocalId\" />",
+ "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": 1930.9375457763672,
- "y": 1282.1875324249268,
- "z": "9ebd676c.bc9298",
+ "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