[
{
- "id": "e99c530d.42d09",
+ "id": "f4ae2c81.e657a",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 471,
- "y": 122,
- "z": "344d9ac9.ce6d06",
+ "x": 554.6875,
+ "y": 223.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7f912f74.435ac"
+ "a62dab63.de7ad8"
]
]
},
{
- "id": "240143f4.7dc87c",
+ "id": "999e27e7.811448",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 94.99999618530273,
- "y": 26.999972343444824,
- "z": "344d9ac9.ce6d06",
+ "x": 178.68749618530273,
+ "y": 128.43747234344482,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "81bf4298.c2aa"
+ "7814db.8fd9eb24"
]
]
},
{
- "id": "81bf4298.c2aa",
+ "id": "7814db.8fd9eb24",
"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": 227.99996948242188,
- "y": 124.00005340576172,
- "z": "344d9ac9.ce6d06",
+ "x": 311.6874694824219,
+ "y": 225.43755340576172,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "e99c530d.42d09"
+ "f4ae2c81.e657a"
]
]
},
{
- "id": "f0380eab.1c826",
+ "id": "f869fec3.26981",
"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": 156.4896240234375,
- "y": 1065.0002908706665,
- "z": "344d9ac9.ce6d06",
+ "x": 240.1771240234375,
+ "y": 1166.4377908706665,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "adb1efb8.bf84f",
+ "id": "ef860a2f.3fb1f8",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 440,
- "y": 64.01037216186523,
- "z": "344d9ac9.ce6d06",
+ "x": 523.6875,
+ "y": 165.44787216186523,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "7f912f74.435ac",
+ "id": "a62dab63.de7ad8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 105.99996948242188,
- "y": 244.0103759765625,
- "z": "344d9ac9.ce6d06",
+ "x": 189.68746948242188,
+ "y": 345.4478759765625,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f0380eab.1c826",
- "793118e4.594688",
- "a665b1dd.7c4a8"
+ "f869fec3.26981",
+ "80b179ef.c11348",
+ "1b19804b.7eb57",
+ "d20c29d9.8c9fe8"
]
]
},
{
- "id": "e695acbf.24771",
+ "id": "1a4b54a8.a756cb",
"type": "execute",
"name": "add RRM Policy ToNRCellDU using PUT",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-add-RRMPolicyRatio-NRCellDU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.addRRMPolicyRatio.ToNRCellDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"addRRMPolicyRatio-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
"comments": "",
"outputs": 1,
- "x": 3986.989906311035,
- "y": 7549.020859479904,
- "z": "344d9ac9.ce6d06",
+ "x": 4070.677406311035,
+ "y": 7650.458359479904,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a7ed7c1f.a934d"
+ "94797250.ab2dd"
]
]
},
{
- "id": "a7ed7c1f.a934d",
+ "id": "94797250.ab2dd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4323.989784240723,
- "y": 7575.010361433029,
- "z": "344d9ac9.ce6d06",
+ "x": 4407.677284240723,
+ "y": 7676.447861433029,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "58cfa379.7632cc"
+ "6f83ffc3.f3b81"
]
]
},
{
- "id": "58cfa379.7632cc",
+ "id": "6f83ffc3.f3b81",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4503.989540100098,
- "y": 7572.010361433029,
- "z": "344d9ac9.ce6d06",
+ "x": 4587.677040100098,
+ "y": 7673.447861433029,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9afe4ed.325c8b"
+ "51209f56.63bda"
]
]
},
{
- "id": "9afe4ed.325c8b",
+ "id": "51209f56.63bda",
"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": 4652.989841461182,
- "y": 7598.010554075241,
- "z": "344d9ac9.ce6d06",
+ "x": 4736.677341461182,
+ "y": 7699.448054075241,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "61d67eb.92f6a8",
+ "id": "d20c29d9.8c9fe8",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 77,
- "y": 1379.0146417617798,
- "z": "344d9ac9.ce6d06",
+ "x": 269.4375,
+ "y": 1116.7021198272705,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ac64d48b.e2b788",
- "4f35f61a.8f5fd8"
+ "deea80bb.ae04a",
+ "9d29d5c6.83cfc8",
+ "9e07afd4.ee649",
+ "d5e822c6.e425"
]
]
},
{
- "id": "efbe49ba.580908",
- "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\n\npayloadJson.input.callbackURL\n\n<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": "",
- "x": 357.0011444091797,
- "y": 1228.9141263961792,
- "z": "344d9ac9.ce6d06",
- "wires": []
- },
- {
- "id": "ac64d48b.e2b788",
+ "id": "deea80bb.ae04a",
"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": 353.9999771118164,
- "y": 1383.0148248672485,
- "z": "344d9ac9.ce6d06",
+ "x": 437.6874771118164,
+ "y": 1484.4523248672485,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "4f35f61a.8f5fd8",
- "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='application/json' />\n<parameter name='customHttpHeaders' value=\"`'Authorization=Basic ' + $prop.restapi.so.authorization `\" />",
- "comments": "",
- "outputs": 1,
- "x": 223.0000762939453,
- "y": 1500.0145292282104,
- "z": "344d9ac9.ce6d06",
- "wires": [
- [
- "5f5b2378.b5857c",
- "f6ad53cd.906fc"
- ]
- ]
- },
- {
- "id": "5f5b2378.b5857c",
+ "id": "9c5f9721.d61068",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 388.0000762939453,
- "y": 1480.0145282745361,
- "z": "344d9ac9.ce6d06",
+ "x": 471.6875762939453,
+ "y": 1581.4520282745361,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a2e177e6.fbe018"
+ "51e96ce4.92e244"
]
]
},
{
- "id": "f6ad53cd.906fc",
+ "id": "d1d6af16.b9028",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 379.9999694824219,
- "y": 1553.0144786834717,
- "z": "344d9ac9.ce6d06",
+ "x": 463.6874694824219,
+ "y": 1654.4519786834717,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a7036c1e.438d6"
+ "f1cdb61d.7a1448"
]
]
},
{
- "id": "a7036c1e.438d6",
+ "id": "f1cdb61d.7a1448",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 525.999813079834,
- "y": 1558.0145874023438,
- "z": "344d9ac9.ce6d06",
+ "x": 609.687313079834,
+ "y": 1659.4520874023438,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "6edb045c.0db0ec"
+ "d816a3c4.0626"
]
]
},
{
- "id": "a2e177e6.fbe018",
+ "id": "51e96ce4.92e244",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 536.9999771118164,
- "y": 1476.014663696289,
- "z": "344d9ac9.ce6d06",
+ "x": 620.6874771118164,
+ "y": 1577.452163696289,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "e18417c8.ea99b8",
- "297ee472.ebd60c"
+ "6810cd91.007e04",
+ "825398a9.ceff08"
]
]
},
{
- "id": "e18417c8.ea99b8",
+ "id": "6810cd91.007e04",
"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": 683.9995956420898,
- "y": 1487.0144052505493,
- "z": "344d9ac9.ce6d06",
+ "x": 767.6870956420898,
+ "y": 1588.4519052505493,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "6edb045c.0db0ec",
+ "id": "d816a3c4.0626",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "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": 686.9997329711914,
- "y": 1564.014479637146,
- "z": "344d9ac9.ce6d06",
+ "x": 770.6872329711914,
+ "y": 1665.451979637146,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a647b652.8b7d28",
+ "id": "f542e28a.9466f",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2918.4910202026367,
- "y": 669.0105400085449,
- "z": "344d9ac9.ce6d06",
+ "x": 3002.1785202026367,
+ "y": 770.4480400085449,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "892f9c83.dd663",
- "e8bbb78f.be59d8",
- "69f75211.5c9c7c"
+ "722676bf.721c48",
+ "b64e8a62.9e6d68",
+ "e175024a.59c41"
]
]
},
{
- "id": "892f9c83.dd663",
+ "id": "722676bf.721c48",
"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": 3236.4919967651367,
- "y": 592.9101982116699,
- "z": "344d9ac9.ce6d06",
+ "x": 3320.1794967651367,
+ "y": 694.3476982116699,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "e8bbb78f.be59d8",
+ "id": "b64e8a62.9e6d68",
"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": 3211.490882873535,
- "y": 690.0108757019043,
- "z": "344d9ac9.ce6d06",
+ "x": 3295.178382873535,
+ "y": 791.4483757019043,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "69f75211.5c9c7c",
+ "id": "e175024a.59c41",
"type": "execute",
"name": "Send to SO",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />",
+ "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": 3126.490894317627,
- "y": 787.0107536315918,
- "z": "344d9ac9.ce6d06",
+ "x": 3210.178394317627,
+ "y": 888.4482536315918,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ca7f4496.9d4418",
- "a43a44c0.cbbba8"
+ "b2cf21cc.36356",
+ "1f01ec9a.58cbe3"
]
]
},
{
- "id": "ca7f4496.9d4418",
+ "id": "b2cf21cc.36356",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3352.490902900696,
- "y": 764.0107226371765,
- "z": "344d9ac9.ce6d06",
+ "x": 3436.178402900696,
+ "y": 865.4482226371765,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d6b47163.162ab"
+ "7a1be79b.dde208"
]
]
},
{
- "id": "a43a44c0.cbbba8",
+ "id": "1f01ec9a.58cbe3",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3342.4907569885254,
- "y": 872.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3426.1782569885254,
+ "y": 973.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c3f869e7.8e5358"
+ "a8b1ae0b.55b9c"
]
]
},
{
- "id": "c3f869e7.8e5358",
+ "id": "a8b1ae0b.55b9c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3492.4905433654785,
- "y": 891.0107231140137,
- "z": "344d9ac9.ce6d06",
+ "x": 3576.1780433654785,
+ "y": 992.4482231140137,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ed00e595.6aa8b8"
+ "f6123b59.cb0e68"
]
]
},
{
- "id": "d6b47163.162ab",
+ "id": "7a1be79b.dde208",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3503.4907722473145,
- "y": 759.010844707489,
- "z": "344d9ac9.ce6d06",
+ "x": 3587.1782722473145,
+ "y": 860.448344707489,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f11f53c8.b5646"
+ "20e961e5.65990e"
]
]
},
{
- "id": "f11f53c8.b5646",
+ "id": "20e961e5.65990e",
"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": 3669.490451812744,
- "y": 762.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3753.177951812744,
+ "y": 863.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "ed00e595.6aa8b8",
+ "id": "f6123b59.cb0e68",
"type": "record",
"name": "record",
- "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
+ "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": 3656.4905586242676,
- "y": 897.0106620788574,
- "z": "344d9ac9.ce6d06",
+ "x": 3740.1780586242676,
+ "y": 998.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "297ee472.ebd60c",
+ "id": "825398a9.ceff08",
"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": 671.5102043151855,
- "y": 1391.0038967132568,
- "z": "344d9ac9.ce6d06",
+ "x": 755.1977043151855,
+ "y": 1492.4413967132568,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "3c3ebb26.8e55f4",
+ "id": "9e07afd4.ee649",
"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": 376.339599609375,
- "y": 1318.999979019165,
- "z": "344d9ac9.ce6d06",
+ "x": 460.027099609375,
+ "y": 1420.437479019165,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "d013a0ad.59f5a",
+ "id": "e9160fea.9b572",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 663.0002326965332,
- "y": 182.00006008148193,
- "z": "344d9ac9.ce6d06",
+ "x": 746.6877326965332,
+ "y": 283.43756008148193,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b84e0bf1.d42c68"
+ "a8a4c5da.0884d8"
]
]
},
{
- "id": "793118e4.594688",
+ "id": "80b179ef.c11348",
"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": 423.0000991821289,
- "y": 460.0000252723694,
- "z": "344d9ac9.ce6d06",
+ "x": 506.6875991821289,
+ "y": 561.4375252723694,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d013a0ad.59f5a",
- "c49980db.b23eb"
+ "e9160fea.9b572",
+ "39e444a1.4c285c"
]
]
},
{
- "id": "c49980db.b23eb",
+ "id": "39e444a1.4c285c",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 462.5066261291504,
- "y": 627.0001888275146,
- "z": "344d9ac9.ce6d06",
+ "x": 371.19415283203125,
+ "y": 703.43772315979,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "2115b41e.70357c"
+ "be23b479.0b7328"
]
]
},
{
- "id": "84119673.ee8fb8",
+ "id": "7d98378a.1d1488",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 689.0003509521484,
- "y": 617.0000991821289,
- "z": "344d9ac9.ce6d06",
+ "x": 538.6878814697266,
+ "y": 1065.4377222061157,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b38f45cb.4f45f8"
+ "2ae3fc00.93e234"
]
]
},
{
- "id": "b84e0bf1.d42c68",
+ "id": "a8a4c5da.0884d8",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 725.0002288818359,
- "y": 43.00003004074097,
- "z": "344d9ac9.ce6d06",
+ "x": 808.6877288818359,
+ "y": 144.43753004074097,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9cec5043.bb069",
- "47d004f2.966b1c"
+ "1e81a915.64d807",
+ "8bdeed60.9b64a"
]
]
},
{
- "id": "b38f45cb.4f45f8",
+ "id": "2ae3fc00.93e234",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 859.0001754760742,
- "y": 652.0002250671387,
- "z": "344d9ac9.ce6d06",
+ "x": 705.6877899169922,
+ "y": 1064.437707901001,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "2a6d0d2f.ff0242",
- "cab9c657.d281f8"
+ "20d4d101.cc639e",
+ "d379a487.a98a28",
+ "ada02534.068408",
+ "d6d32295.d9fbe"
]
]
},
{
- "id": "2115b41e.70357c",
+ "id": "be23b479.0b7328",
"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": 672.0004501342773,
- "y": 523.0002015829086,
- "z": "344d9ac9.ce6d06",
+ "x": 364.6879577636719,
+ "y": 1063.4377689361572,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "84119673.ee8fb8"
+ "7d98378a.1d1488"
]
]
},
{
- "id": "9cec5043.bb069",
+ "id": "1e81a915.64d807",
"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": 931.0000152587891,
- "y": 28.000025749206543,
- "z": "344d9ac9.ce6d06",
+ "x": 1014.6875152587891,
+ "y": 129.43752574920654,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "2a6d0d2f.ff0242",
+ "id": "20d4d101.cc639e",
"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": 1022.0003967285156,
- "y": 555.000096321106,
- "z": "344d9ac9.ce6d06",
+ "x": 862.6878967285156,
+ "y": 1035.4377517700195,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a665b1dd.7c4a8",
+ "id": "1b19804b.7eb57",
"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": 496,
- "y": 195,
- "z": "344d9ac9.ce6d06",
+ "x": 579.6875,
+ "y": 296.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "47d004f2.966b1c",
+ "id": "8bdeed60.9b64a",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 829.0105514526367,
- "y": 157.01043796539307,
- "z": "344d9ac9.ce6d06",
+ "x": 912.6980514526367,
+ "y": 258.44793796539307,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "1e8c37a3.3ea5f8",
- "ecdd6e7a.a3b07"
+ "3d80ca46.4012f6",
+ "2d42cc94.1ef5f4"
]
]
},
{
- "id": "cab9c657.d281f8",
+ "id": "d379a487.a98a28",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 989.0106010437012,
- "y": 726.0105075836182,
- "z": "344d9ac9.ce6d06",
+ "x": 839.6982955932617,
+ "y": 1179.4480228424072,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c6a19347.2b6d3",
- "bda32c0c.157bc"
+ "427c983f.4ef798",
+ "6ec50d02.c4cad4"
]
]
},
{
- "id": "80dca757.3d7888",
+ "id": "c55c513c.310d2",
"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": 1396.899549484253,
- "y": 527.0104651451111,
- "z": "344d9ac9.ce6d06",
+ "x": 1483.5870742797852,
+ "y": 441.4479637145996,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d056d9a6.210e98",
- "d681f50c.40c518"
+ "5de2628.f1d349c",
+ "82f66885.660948"
]
]
},
{
- "id": "d056d9a6.210e98",
+ "id": "5de2628.f1d349c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1731.899917602539,
- "y": 467.999960899353,
- "z": "344d9ac9.ce6d06",
+ "x": 1769.5874099731445,
+ "y": 382.43749618530273,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ce92bd90.bc92"
+ "c01fa28e.af3f9"
]
]
},
{
- "id": "d681f50c.40c518",
+ "id": "82f66885.660948",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1713.89986038208,
- "y": 588.999906539917,
- "z": "344d9ac9.ce6d06",
+ "x": 1762.587474822998,
+ "y": 442.43740463256836,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b59b4b5b.5a84a8"
+ "23271cc4.7ac7f4"
]
]
},
{
- "id": "ce92bd90.bc92",
+ "id": "c01fa28e.af3f9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1895.8998413085938,
- "y": 474.9999952316284,
- "z": "344d9ac9.ce6d06",
+ "x": 1952.5875053405762,
+ "y": 425.43750381469727,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "cb12ec10.32ff9",
- "140f08cf.2b7e77"
+ "6717e4f3.ce834c",
+ "e46c5941.087b28",
+ "f542e28a.9466f"
]
]
},
{
- "id": "b59b4b5b.5a84a8",
+ "id": "23271cc4.7ac7f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1874.8995971679688,
- "y": 594.9999809265137,
- "z": "344d9ac9.ce6d06",
+ "x": 1944.5871391296387,
+ "y": 471.4374656677246,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "754fb755.2f2878",
- "1b33caf5.cb57d5"
+ "c4ee048f.670368",
+ "f09429a0.3c3408"
]
]
},
{
- "id": "51db6fd3.d0466",
+ "id": "e22d8202.486e3",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 997.0000915527344,
- "y": 324.7447757720947,
- "z": "344d9ac9.ce6d06",
+ "x": 1080.6875915527344,
+ "y": 426.1822757720947,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c10c5964.2dfde8",
- "b5b4dd99.1cbff",
- "bcb86f4a.40d8f",
- "80dca757.3d7888"
+ "123dc789.d53488",
+ "a87f8b52.6b8e08",
+ "7c23ab7a.d68654",
+ "c55c513c.310d2"
]
]
},
{
- "id": "bcb86f4a.40d8f",
+ "id": "7c23ab7a.d68654",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1349.000394821167,
- "y": 215.4010200202465,
- "z": "344d9ac9.ce6d06",
+ "x": 1432.687894821167,
+ "y": 316.8385200202465,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "bc92e2a4.26966",
- "c54f398b.061978"
+ "7f4413c3.15a72c",
+ "7e319efb.2e1e3"
]
]
},
{
- "id": "bc92e2a4.26966",
+ "id": "7f4413c3.15a72c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1512.0003185272217,
- "y": 147.40080973505974,
- "z": "344d9ac9.ce6d06",
+ "x": 1595.6878185272217,
+ "y": 248.83830973505974,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "473d47d7.f7ecf8"
+ "327cc0a4.8a4db"
]
]
},
{
- "id": "c54f398b.061978",
+ "id": "7e319efb.2e1e3",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1530.0003471374512,
- "y": 296.40090176463127,
- "z": "344d9ac9.ce6d06",
+ "x": 1607.6879386901855,
+ "y": 325.8384132385254,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "54202b85.fe4264"
+ "795143ac.926f8c"
]
]
},
{
- "id": "b5b4dd99.1cbff",
+ "id": "a87f8b52.6b8e08",
"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": 1340.0006141662598,
- "y": 327.74496269226074,
- "z": "344d9ac9.ce6d06",
+ "x": 1409.6881523132324,
+ "y": 352.1824840269983,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "c10c5964.2dfde8",
+ "id": "123dc789.d53488",
"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": 1353.0012130737305,
- "y": 402.73432540893555,
- "z": "344d9ac9.ce6d06",
+ "x": 1410.688793182373,
+ "y": 397.1718406677246,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "eaa52f3c.507e2",
+ "id": "22e4e932.2b0ca6",
"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": 1976.5353240966797,
- "y": 368.0000309944153,
- "z": "344d9ac9.ce6d06",
+ "x": 2024.2228164672852,
+ "y": 376.4375343322754,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "7c2c7eaf.8e0db",
+ "id": "8db01d7b.44a72",
"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": 2034.0698852539062,
- "y": 303.5990204811096,
- "z": "344d9ac9.ce6d06",
+ "x": 2094.7574310302734,
+ "y": 332.0365562438965,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "54202b85.fe4264",
+ "id": "795143ac.926f8c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1739.9899673461914,
- "y": 342.40089532732964,
- "z": "344d9ac9.ce6d06",
+ "x": 1790.6775932312012,
+ "y": 331.8383979797363,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b692647.bf65c98",
- "7c2c7eaf.8e0db",
- "eaa52f3c.507e2"
+ "7524a904.15f6c8",
+ "8db01d7b.44a72",
+ "22e4e932.2b0ca6"
]
]
},
{
- "id": "b692647.bf65c98",
+ "id": "7524a904.15f6c8",
"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": 2005.5348358154297,
- "y": 238.00023317337036,
- "z": "344d9ac9.ce6d06",
+ "x": 2086.2222747802734,
+ "y": 287.43774461746216,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "aa9909eb.f5be08",
+ "id": "353ab673.697b3a",
"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": 1961.5350341796875,
- "y": 160.00012588500977,
- "z": "344d9ac9.ce6d06",
+ "x": 2057.222640991211,
+ "y": 232.43763732910156,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "63b8d50.91a8d2c",
+ "id": "5698222d.b5a28c",
"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": 1969.0003662109375,
- "y": 81.4011402130127,
- "z": "344d9ac9.ce6d06",
+ "x": 2052.6878662109375,
+ "y": 182.8386402130127,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "473d47d7.f7ecf8",
+ "id": "327cc0a4.8a4db",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1671.2018432617188,
- "y": 154.00000473856926,
- "z": "344d9ac9.ce6d06",
+ "x": 1754.8893432617188,
+ "y": 255.43750473856926,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "63b8d50.91a8d2c",
- "aa9909eb.f5be08"
+ "5698222d.b5a28c",
+ "353ab673.697b3a"
]
]
},
{
- "id": "ecdd6e7a.a3b07",
+ "id": "2d42cc94.1ef5f4",
"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`\"/>",
+ "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": 993.0039825439453,
- "y": 101.00392055511475,
- "z": "344d9ac9.ce6d06",
+ "x": 1076.6914825439453,
+ "y": 202.44142055511475,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "1e8c37a3.3ea5f8",
+ "id": "3d80ca46.4012f6",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 974.0039215087891,
- "y": 224.00392055511475,
- "z": "344d9ac9.ce6d06",
+ "x": 1057.691421508789,
+ "y": 325.44142055511475,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "51db6fd3.d0466",
- "afa56697.aa28c8"
+ "e22d8202.486e3",
+ "230dec68.7cb7c4",
+ "2d02db2e.856a04",
+ "6ec50d02.c4cad4"
]
]
},
{
- "id": "afa56697.aa28c8",
+ "id": "230dec68.7cb7c4",
"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": 1172.4549827575684,
- "y": 145.01043224334717,
- "z": "344d9ac9.ce6d06",
+ "x": 1256.1424827575684,
+ "y": 246.44793224334717,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "cb12ec10.32ff9",
+ "id": "6717e4f3.ce834c",
"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": 2118.4548110961914,
- "y": 442.0104169845581,
- "z": "344d9ac9.ce6d06",
+ "x": 2138.142433166504,
+ "y": 426.44792556762695,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "140f08cf.2b7e77",
+ "id": "e46c5941.087b28",
"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": 2070.4547538757324,
- "y": 514.8993988037109,
- "z": "344d9ac9.ce6d06",
+ "x": 2148.142219543457,
+ "y": 465.33691024780273,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "754fb755.2f2878",
+ "id": "c4ee048f.670368",
"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": 2048.4545936584473,
- "y": 581.8993873596191,
- "z": "344d9ac9.ce6d06",
+ "x": 2136.14213180542,
+ "y": 502.3368797302246,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "1b33caf5.cb57d5",
+ "id": "f09429a0.3c3408",
"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": 2016.2330627441406,
- "y": 676.8993625640869,
- "z": "344d9ac9.ce6d06",
+ "x": 2154.920539855957,
+ "y": 538.3369178771973,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "c6a19347.2b6d3",
+ "id": "ada02534.068408",
"type": "set",
"name": "set Temp Variables",
- "xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data_length`'/>\n<parameter name=\"tmp.sNssai\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
+ "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": 1186.1217880249023,
- "y": 634.8993759155273,
- "z": "344d9ac9.ce6d06",
+ "x": 896.8095245361328,
+ "y": 1076.337028503418,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "bda32c0c.157bc",
+ "id": "427c983f.4ef798",
"type": "for",
"name": "For Number of data Points",
- "xml": "<for index='id1' start='0' end=\"`$tmp.payload.dataPoints`\" >",
+ "xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1166.1216125488281,
- "y": 821.8993816375732,
- "z": "344d9ac9.ce6d06",
+ "x": 1071.8090896606445,
+ "y": 1169.3369541168213,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a730d7b8.bd79d8"
+ "6a4a186b.f80ab8"
]
]
},
{
- "id": "a730d7b8.bd79d8",
+ "id": "6ec50d02.c4cad4",
"type": "block",
- "name": "Update cellCUList",
+ "name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1379.010368347168,
- "y": 731.7882504463196,
- "z": "344d9ac9.ce6d06",
+ "x": 1045.4375,
+ "y": 592.1874732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "690582e7.c3e2dc",
- "8a6e7489.2c1f28"
+ "cdfd01c2.bb087",
+ "51d123e6.812bec",
+ "a78bd2d.9f2953",
+ "a8ee8669.5b18b8",
+ "20a64cf6.ff5984",
+ "9be2d64a.a3bbd8"
]
]
},
{
- "id": "690582e7.c3e2dc",
- "type": "set",
- "name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.cellCUListNumbers\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList_length`\"/>\n<parameter name=\"tmp.gNBCUName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].gNBCUName`\"/>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].nearRTRICId`\"/>",
+ "id": "cdfd01c2.bb087",
+ "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": "",
- "x": 1619.0103778839111,
- "y": 691.8992624282837,
- "z": "344d9ac9.ce6d06",
- "wires": []
+ "outputs": 1,
+ "x": 1310.4374923706055,
+ "y": 482.18746757507324,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
},
{
- "id": "8a6e7489.2c1f28",
- "type": "for",
- "name": "For Number of cellCU",
- "xml": "<for index='id2' start='0' end=\"`$tmp.cellCUListNumbers`\" >",
+ "id": "51d123e6.812bec",
+ "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": 1502.010368347168,
- "y": 891.6770648956299,
- "z": "344d9ac9.ce6d06",
+ "x": 1283.9376182556152,
+ "y": 530.1875057220459,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a78bd2d.9f2953",
+ "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",
"wires": [
[
- "3e0405bb.a1007a",
- "a94a1460.e7b2e8",
- "f633b1d.30efa5",
- "3a74dc74.de09e4",
- "2124685a.f8bb68",
- "e67ca02.2bda56"
+ "580b6380.a3832c",
+ "81af58bb.bc1368"
]
]
},
{
- "id": "3e0405bb.a1007a",
+ "id": "20a64cf6.ff5984",
"type": "set",
- "name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.maxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.maxNumberofConns`\"/>\n<parameter name=\"tmp.cellLocalId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].cellLocalId`\"/>\n<parameter name=\"tmp.lastUpdatedTS\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.lastUpdatedTS`\"/>\n<parameter name=\"tmp.predictedMaxNumberofConns\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.maxNumberofConns.data[$id1].cellCUList[$id2].configData.predictedMaxNumberofConns`\"/>",
+ "name": "set PLMNId",
+ "xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1799.010383605957,
- "y": 771.5659694671631,
- "z": "344d9ac9.ce6d06",
+ "x": 1308.8750228881836,
+ "y": 608.8750219345093,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "3e852d16.9f8702",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
+ "id": "76b26cb9.625d94",
+ "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": 1933.010498046875,
- "y": 848.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1709.6875343322754,
+ "y": 661.4375696182251,
+ "z": "9ebd676c.bc9298",
"wires": [
- [
- "14769b6f.f718a5"
- ]
+ []
]
},
{
- "id": "88dfb111.34543",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
+ "id": "eadea779.aa7998",
+ "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": 1977.010404586792,
- "y": 997.1216130256653,
- "z": "344d9ac9.ce6d06",
+ "x": 1720.4377136230469,
+ "y": 695.6874475479126,
+ "z": "9ebd676c.bc9298",
"wires": [
- [
- "783ca4a.8861e5c"
- ]
+ []
]
},
{
- "id": "92756c48.cce11",
- "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.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "id": "a8ee8669.5b18b8",
+ "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": 2412.5454711914062,
- "y": 1032.7207975387573,
- "z": "344d9ac9.ce6d06",
+ "x": 1297.1810455322266,
+ "y": 727.680944442749,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "b1314557.85f9a8",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>",
+ "id": "580b6380.a3832c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2466.0800857543945,
- "y": 987.3196907043457,
- "z": "344d9ac9.ce6d06",
+ "x": 1589.1874923706055,
+ "y": 573.4374675750732,
+ "z": "9ebd676c.bc9298",
"wires": [
- []
+ [
+ "d0b97aa.5275988"
+ ]
+ ]
+ },
+ {
+ "id": "81af58bb.bc1368",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1587.7502365112305,
+ "y": 622.9999666213989,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "c6fc8a94.e90b18"
+ ]
]
},
{
- "id": "783ca4a.8861e5c",
+ "id": "d0b97aa.5275988",
"type": "block",
- "name": "ransim URL",
+ "name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2134.0001373291016,
- "y": 1075.1216344833374,
- "z": "344d9ac9.ce6d06",
+ "x": 1762.1872940063477,
+ "y": 562.4375400543213,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "243b1b25.ef63a4",
- "b1314557.85f9a8",
- "92756c48.cce11",
- "39c77d44.983da2",
- "b5902975.064ca8"
+ "40d71717.0008a8",
+ "4aad3199.c331"
]
]
},
{
- "id": "243b1b25.ef63a4",
- "type": "execute",
- "name": "generate addnSSAIEntry.ToNRCellCU 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.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "id": "c6fc8a94.e90b18",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2452.5448932647705,
- "y": 938.7209444344044,
- "z": "344d9ac9.ce6d06",
+ "x": 1748.750099182129,
+ "y": 600.9998931884766,
+ "z": "9ebd676c.bc9298",
"wires": [
- []
+ [
+ "197cdde3.d46d22",
+ "a2a76d52.17f67",
+ "f542e28a.9466f"
+ ]
]
},
{
- "id": "2e87b01b.50599",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.gNBCUName`\"/>",
+ "id": "40d71717.0008a8",
+ "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": 2383.5452575683594,
- "y": 678.7208423614502,
- "z": "344d9ac9.ce6d06",
+ "x": 1962.9370231628418,
+ "y": 562.1875648498535,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "8d74bd10.02b2",
+ "id": "4aad3199.c331",
"type": "execute",
- "name": "generate restapi.addnSSAIEntry.ToNRCellCU URL",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNRCellCU`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
+ "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": 2415.010513305664,
- "y": 619.1218271255493,
- "z": "344d9ac9.ce6d06",
+ "x": 1998.7152366638184,
+ "y": 605.4375734329224,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "14769b6f.f718a5",
+ "id": "a2a76d52.17f67",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "197cdde3.d46d22",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "2d02db2e.856a04",
"type": "block",
- "name": "URL",
- "xml": "<block atomic='true'>",
+ "name": "Update NearRTRIC Config",
+ "xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2047.2119903564453,
- "y": 765.7206954956055,
- "z": "344d9ac9.ce6d06",
+ "x": 806.1875,
+ "y": 788.9374732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "8d74bd10.02b2",
- "2e87b01b.50599",
- "c0dac4fc.0b4fb8",
- "267c9e1e.20d442"
+ "2051fa29.3f7ba6",
+ "98fa6e1a.b6327",
+ "48ddec9a.f4ec54",
+ "5ba9c334.7672ac",
+ "2b9caae9.350b86"
]
]
},
{
- "id": "a94a1460.e7b2e8",
+ "id": "2051fa29.3f7ba6",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1760.010498046875,
- "y": 894.1217041015625,
- "z": "344d9ac9.ce6d06",
+ "x": 1044.9375381469727,
+ "y": 709.4375114440918,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "3e852d16.9f8702",
- "88dfb111.34543"
+ "a3a3615e.3cea9",
+ "560affac.9a3f1"
]
]
},
{
- "id": "c0dac4fc.0b4fb8",
+ "id": "a3a3615e.3cea9",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1265.9374237060547,
+ "y": 766.4372630119324,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "cc01e733.374d78"
+ ]
+ ]
+ },
+ {
+ "id": "560affac.9a3f1",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1259.9375038146973,
+ "y": 803.4374017715454,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "38a95ed.43591a2"
+ ]
+ ]
+ },
+ {
+ "id": "38a95ed.43591a2",
+ "type": "block",
+ "name": "ransim URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1436.9273414611816,
+ "y": 814.4373874664307,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "8e4d7c6.e97b68",
+ "9d396567.e666a8"
+ ]
+ ]
+ },
+ {
+ "id": "cc01e733.374d78",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1425.1389484405518,
+ "y": 773.0364580154419,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "261c75d4.08a57a"
+ ]
+ ]
+ },
+ {
+ "id": "261c75d4.08a57a",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+ "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": 2387.343765258789,
- "y": 726.1215343475342,
- "z": "344d9ac9.ce6d06",
+ "x": 1706.937484741211,
+ "y": 763.4375991821289,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "267c9e1e.20d442",
+ "id": "8e4d7c6.e97b68",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>",
+ "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": 2355.232666015625,
- "y": 814.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1756.4718799591064,
+ "y": 805.0366978943348,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "39c77d44.983da2",
+ "id": "9d396567.e666a8",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.cellLocalId`\"/>",
+ "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": 2459.7884216308594,
- "y": 1083.1216249465942,
- "z": "344d9ac9.ce6d06",
+ "x": 1699.472396850586,
+ "y": 850.0364608764648,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "b5902975.064ca8",
+ "id": "98fa6e1a.b6327",
"type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{sNssai}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sNssai`\"/>",
+ "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": 2421.677490234375,
- "y": 1171.1217041015625,
- "z": "344d9ac9.ce6d06",
+ "x": 1041.1875801086426,
+ "y": 751.9375720024109,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "f633b1d.30efa5",
- "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=\"Update NRCELLCU config url for Intelligent slicing:\"/>\n<parameter name=\"field2\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>",
+ "id": "48ddec9a.f4ec54",
+ "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": 1778.788330078125,
- "y": 961.1215209960938,
- "z": "344d9ac9.ce6d06",
+ "x": 1042.6875534057617,
+ "y": 791.9375114440918,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "3a74dc74.de09e4",
+ "id": "c7a4042f.403948",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "9664ea32.a42528",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5424460c.74dd58",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "5ba9c334.7672ac",
"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=\"Setting variables for updating NRCELLCU - Intelligent Slicing\"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.gNBCUName`\"/>\n<parameter name=\"field5\" value=\"`$tmp.sNssai`\"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberofConns`\"/>\n<parameter name=\"field7\" value=\"`$tmp.cellLocalId`\"/>\n<parameter name=\"field8\" value=\"`$tmp.lastUpdatedTS`\"/>\n<parameter name=\"field9\" value=\"`$tmp.predictedMaxNumberofConns`\"/>",
+ "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": 1780.7890625,
- "y": 1031.11083984375,
- "z": "344d9ac9.ce6d06",
+ "x": 994.4374885559082,
+ "y": 952.187479019165,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a9ba4b39.b1b358",
- "type": "execute",
- "name": "Update addnSSAIEntry.ToNRCellCU PUT",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-intelligent-update-NRCellCU-configData.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"nrcellcu-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />",
+ "id": "388b8e6e.d38d72",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1785.343994140625,
- "y": 1735.6773681640625,
- "z": "344d9ac9.ce6d06",
+ "x": 1281.9375495910645,
+ "y": 1000.6875343322754,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b2fe7e42.ae43",
- "d9eba3b7.c70f7"
+ "15ba999b.e0ceb6"
]
]
},
{
- "id": "b2fe7e42.ae43",
+ "id": "e04a3f06.f03d4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2105.34375,
- "y": 1677.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 1280.5002937316895,
+ "y": 1050.250033378601,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "3db65c4e.a71314"
+ "cf7dd075.4a9a5"
]
]
},
{
- "id": "3db65c4e.a71314",
+ "id": "15ba999b.e0ceb6",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1450.9373016357422,
+ "y": 994.6875581741333,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "290479e8.5db636"
+ ]
+ ]
+ },
+ {
+ "id": "cf7dd075.4a9a5",
"type": "block",
"name": "block",
- "xml": "<block>\n",
+ "xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2270.34375,
- "y": 1739.666748046875,
- "z": "344d9ac9.ce6d06",
+ "x": 1441.500156402588,
+ "y": 1028.2499599456787,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "3f8d8362.4c3ffc"
+ "55a53ced.fbcd64",
+ "a09edd9.d66502",
+ "f542e28a.9466f"
]
]
},
{
- "id": "3f8d8362.4c3ffc",
+ "id": "290479e8.5db636",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "a09edd9.d66502",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "55a53ced.fbcd64",
"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 config for intelligent slicing\" />",
+ "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": 2429.34326171875,
- "y": 1775.666748046875,
- "z": "344d9ac9.ce6d06",
+ "x": 1628.5002212524414,
+ "y": 1024.2499780654907,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "d9eba3b7.c70f7",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "2b9caae9.350b86",
+ "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": 2153.34375,
- "y": 1874.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 1049.4375495910645,
+ "y": 999.4375219345093,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "fdefc837.1547f8"
+ "388b8e6e.d38d72",
+ "e04a3f06.f03d4"
]
]
},
{
- "id": "fdefc837.1547f8",
- "type": "block",
- "name": "block",
- "xml": "<block>\n",
- "atomic": "false",
+ "id": "9d29d5c6.83cfc8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "d5e822c6.e425",
+ "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": 2335.34326171875,
- "y": 1873.6666259765625,
- "z": "344d9ac9.ce6d06",
+ "x": 307.875,
+ "y": 1612.8124732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f1c749ab.9498d8"
+ "9c5f9721.d61068",
+ "d1d6af16.b9028"
]
]
},
{
- "id": "f1c749ab.9498d8",
- "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=\"Update NRCellCU config for intelligent slicing Executed Successfully \"/>",
+ "id": "4f047810.3c5238",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2507.343994140625,
- "y": 1866.6669921875,
- "z": "344d9ac9.ce6d06",
+ "x": 1685.4375648498535,
+ "y": 1119.4375076293945,
+ "z": "9ebd676c.bc9298",
"wires": [
- []
+ [
+ "28bdec69.fb4364"
+ ]
+ ]
+ },
+ {
+ "id": "b4cb1e5c.9948c",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 1679.437644958496,
+ "y": 1156.4376463890076,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "a8e4fca6.aee97"
+ ]
]
},
{
- "id": "2124685a.f8bb68",
+ "id": "a8e4fca6.aee97",
"type": "block",
- "name": "Get PLMN from ConfigDB",
+ "name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1794.34375,
- "y": 1336.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1856.4274826049805,
+ "y": 1167.4376320838928,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "6351f968.020fd8",
- "b57697ee.50d948",
- "ba3adbb.fdac628"
+ "62cebf1d.08dca",
+ "c611ccc1.6d8e4"
]
]
},
{
- "id": "6351f968.020fd8",
+ "id": "28bdec69.fb4364",
+ "type": "block",
+ "name": "URL",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
+ "comments": "",
+ "outputs": 1,
+ "x": 1844.6390895843506,
+ "y": 1126.036702632904,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "c446f088.7af9d"
+ ]
+ ]
+ },
+ {
+ "id": "c446f088.7af9d",
"type": "execute",
- "name": "generate getPLMN 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.getplmn.url\"/>\n <parameter name=\"target\" value=\"{sliceProfileId}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.sliceProfileId`\"/>",
+ "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": 2125.34375,
- "y": 1272.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2126.4376258850098,
+ "y": 1116.437843799591,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "b57697ee.50d948",
- "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/intelligentSlicing.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB Get PLMN for slice profile ID\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getplmn.url`\" />\n<parameter name='field3' value=\"`$tmp.sliceProfileId`\" />",
+ "id": "62cebf1d.08dca",
+ "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": 2156.3438720703125,
- "y": 1355.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2175.9720211029053,
+ "y": 1158.036942511797,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "ba3adbb.fdac628",
+ "id": "c611ccc1.6d8e4",
"type": "execute",
- "name": "Get PLMN for slice profile id",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getplmn.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getplmn-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"false\"/>",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "1cfa3d71.2d3fa3",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 2117.343994140625,
- "y": 1454.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1495.437629699707,
+ "y": 1112.437505722046,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "af83d022.fde66",
- "b4e62021.d738e"
+ "4f047810.3c5238",
+ "b4cb1e5c.9948c"
]
]
},
{
- "id": "af83d022.fde66",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "606b6775.a18bf8",
+ "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": 2330.34375,
- "y": 1407.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 1490.4375648498535,
+ "y": 1184.4375076293945,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "3f907a86.c2ad26",
+ "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",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "6a4a186b.f80ab8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1296.4375228881836,
+ "y": 1163.437539100647,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "5dbe43e.76575bc"
+ "1cfa3d71.2d3fa3",
+ "606b6775.a18bf8",
+ "3f907a86.c2ad26",
+ "d825b91c.27bc48",
+ "75ca05a0.ba475c",
+ "b8b27037.9d5ab",
+ "4b92d40d.528e5c"
]
]
},
{
- "id": "b4e62021.d738e",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "d825b91c.27bc48",
+ "type": "for",
+ "name": "For Number of cells",
+ "xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 2323.34375,
- "y": 1540.3436279296875,
- "z": "344d9ac9.ce6d06",
+ "x": 1505.6876907348633,
+ "y": 1328.43754196167,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f39a7342.cbf17"
+ "7bed6240.d9108c"
]
]
},
{
- "id": "5dbe43e.76575bc",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "id": "83e28863.96fd98",
+ "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'`\" />",
"comments": "",
"outputs": 1,
- "x": 2533.343822479248,
- "y": 1408.3438110351562,
- "z": "344d9ac9.ce6d06",
+ "x": 1928.937629699707,
+ "y": 1234.9377765655518,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "7bed6240.d9108c",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1715.4375,
+ "y": 1325.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a3feeedb.12f7f",
- "cb7e16f4.bb96c8",
- "b6a7b1aa.7e6bd"
+ "83e28863.96fd98",
+ "fa247a04.5db3f8",
+ "c8a6e293.16cd3",
+ "f56f9270.39935",
+ "4a947320.b506ac"
]
]
},
{
- "id": "cb7e16f4.bb96c8",
- "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'/>",
+ "id": "fa247a04.5db3f8",
+ "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": "",
- "x": 2647.343521118164,
- "y": 1333.4548511505127,
- "z": "344d9ac9.ce6d06",
- "wires": []
+ "outputs": 1,
+ "x": 1973.1875076293945,
+ "y": 1364.9376239776611,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
},
{
- "id": "a3feeedb.12f7f",
- "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'/>",
+ "id": "c8a6e293.16cd3",
+ "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": "",
- "x": 2548.3434562683105,
- "y": 1494.3437762260437,
- "z": "344d9ac9.ce6d06",
- "wires": []
+ "outputs": 1,
+ "x": 1963.9375,
+ "y": 1439.4375,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "4c0b32fd.c75afc",
+ "7483f7e0.e84798"
+ ]
+ ]
},
{
- "id": "f13b7133.863f7",
- "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=\"Successfully Obtained PLMN from configDB\"/>\n<parameter name=\"field2\" value=\"`$getplmn-configdb-response.httpResponse`\"/>",
+ "id": "4c0b32fd.c75afc",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2610.34326171875,
- "y": 1536.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2196.4375,
+ "y": 1440.687512397766,
+ "z": "9ebd676c.bc9298",
"wires": [
- []
+ [
+ "f7e9fd1d.a0c2"
+ ]
+ ]
+ },
+ {
+ "id": "7483f7e0.e84798",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
+ "comments": "",
+ "outputs": 1,
+ "x": 2195.000244140625,
+ "y": 1490.2500114440918,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "da6606b.4fcbef8"
+ ]
]
},
{
- "id": "f39a7342.cbf17",
+ "id": "da6606b.4fcbef8",
"type": "block",
"name": "block",
- "xml": "<block>\n",
+ "xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2377.343505859375,
- "y": 1681.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2356.0001068115234,
+ "y": 1468.2499380111694,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f13b7133.863f7",
- "4dbb329e.e6a7cc",
- "7b208d48.611164",
- "6d56919c.d354b",
- "2668f661.175a3a"
+ "30beab96.b1d944",
+ "ef0a7650.cb7c78",
+ "f542e28a.9466f"
]
]
},
{
- "id": "4dbb329e.e6a7cc",
- "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-intelligentslicing-configrsp-context.log' />\n\n\n",
+ "id": "f7e9fd1d.a0c2",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2639.12158203125,
- "y": 1598.34375,
- "z": "344d9ac9.ce6d06",
+ "x": 2365.4372520446777,
+ "y": 1434.687536239624,
+ "z": "9ebd676c.bc9298",
"wires": [
- []
+ [
+ "73017d59.f89d74"
+ ]
]
},
{
- "id": "b6a7b1aa.7e6bd",
+ "id": "30beab96.b1d944",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "ef0a7650.cb7c78",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "73017d59.f89d74",
"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=\"Failed to Obtain PLMN from configDB\"/>",
+ "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": 2689,
- "y": 1411,
- "z": "344d9ac9.ce6d06",
+ "x": 2577.187057495117,
+ "y": 1357.4376239776611,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "7b208d48.611164",
- "type": "execute",
- "name": "SliStringUtils - substring MCC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mcc\"/>\n <parameter name=\"begin-index\" value=\"0\" />\n <parameter name=\"end-index\" value=\"3\" />",
+ "id": "d6d32295.d9fbe",
+ "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": 2671,
- "y": 1651,
- "z": "344d9ac9.ce6d06",
+ "x": 865.1875,
+ "y": 1133.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "6d56919c.d354b",
+ "id": "75ca05a0.ba475c",
"type": "execute",
- "name": "SliStringUtils - substring MNC",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='substring'>\n <parameter name=\"string\" value=\"`$getplmn-configdb-response.httpResponse`\" />\n <parameter name=\"result\" value=\"tmp.mnc\"/>\n <parameter name=\"begin-index\" value=\"4\" />",
+ "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": 2681,
- "y": 1698,
- "z": "344d9ac9.ce6d06",
+ "x": 1506.6875076293945,
+ "y": 1258.6875104904175,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "2668f661.175a3a",
+ "id": "b8b27037.9d5ab",
"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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>",
+ "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": 2628,
- "y": 1750,
- "z": "344d9ac9.ce6d06",
+ "x": 1486.6875,
+ "y": 1291.6875,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "5c1f722e.e6410c",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mcc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>",
+ "id": "f56f9270.39935",
+ "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": 1972,
- "y": 1553,
- "z": "344d9ac9.ce6d06",
+ "x": 1909.4377555847168,
+ "y": 1402.187533378601,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "52e59e51.d168c",
- "type": "execute",
- "name": "Populate addnSSAIEntry.ToNRCellCU.url",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNRCellCU.url\"/>\n <parameter name=\"target\" value=\"{mnc}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
+ "id": "4b92d40d.528e5c",
+ "type": "set",
+ "name": "set Temp Variables",
+ "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
"comments": "",
- "outputs": 1,
- "x": 1950,
- "y": 1594,
- "z": "344d9ac9.ce6d06",
- "wires": [
- []
- ]
+ "x": 1512.1875,
+ "y": 1067.9375,
+ "z": "9ebd676c.bc9298",
+ "wires": []
},
{
- "id": "e67ca02.2bda56",
+ "id": "9be2d64a.a3bbd8",
"type": "block",
- "name": "Update NRCELLCU",
- "xml": "<block atomic='true'>",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
"atomic": "true",
- "comments": "",
"outputs": 1,
- "x": 1594,
- "y": 1599,
- "z": "344d9ac9.ce6d06",
+ "x": 1305.1875457763672,
+ "y": 665.4375238418579,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a9ba4b39.b1b358",
- "b09a41d8.7fdd5",
- "f0cca49c.721378",
- "5c1f722e.e6410c",
- "52e59e51.d168c",
- "2ee4cede.353242"
+ "2eae9783.b3f048",
+ "743d7949.25e8a8"
]
]
},
{
- "id": "b09a41d8.7fdd5",
- "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=\"mcc: \"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"mnc: \"/>\n<parameter name=\"field4\" value=\"`$tmp.mnc`\"/>",
+ "id": "743d7949.25e8a8",
+ "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": "",
- "outputs": 1,
- "x": 1814,
- "y": 1449,
- "z": "344d9ac9.ce6d06",
- "wires": [
- []
- ]
+ "x": 1516.9146423339844,
+ "y": 722.9952244758606,
+ "z": "9ebd676c.bc9298",
+ "wires": []
},
{
- "id": "f0cca49c.721378",
- "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=\"URL for update NRCELLCU \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.url + $tmp.restapi.addnSSAIEntry.ToNRCellCU.url`\"/>\n<parameter name=\"field3\" value=\"sNSSAI: \"/>\n<parameter name=\"field4\" value=\"`$payloadJson.input.sliceProfile.sNSSAI`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConns: \"/>\n<parameter name=\"field6\" value=\"`$tmp.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"predictedMaxNumberofConns: \"/>\n<parameter name=\"field8\" value=\"`$tmp.predictedMaxNumberofConns`\"/>",
+ "id": "2eae9783.b3f048",
+ "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": 1823,
- "y": 1648,
- "z": "344d9ac9.ce6d06",
+ "x": 1524.4599609375,
+ "y": 678.9498138427734,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "2ee4cede.353242",
+ "id": "608ac868.ce80a8",
+ "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",
+ "wires": []
+ },
+ {
+ "id": "4a947320.b506ac",
"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-intelligent-nearRTRIC-context2.log' />\n\n\n",
+ "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\" />",
"comments": "",
"outputs": 1,
- "x": 1861,
- "y": 1495,
- "z": "344d9ac9.ce6d06",
+ "x": 1930.9375457763672,
+ "y": 1282.1875324249268,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]