[
{
- "id": "32585b9f.2450c4",
+ "id": "f4ae2c81.e657a",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 503.75,
- "y": 164.75,
- "z": "41b275ba.2c7b9c",
+ "x": 554.6875,
+ "y": 223.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "6d512b02.f5fb24"
+ "a62dab63.de7ad8"
]
]
},
{
- "id": "3dbd289d.70c158",
+ "id": "999e27e7.811448",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 127.74999618530273,
- "y": 69.74997234344482,
- "z": "41b275ba.2c7b9c",
+ "x": 178.68749618530273,
+ "y": 128.43747234344482,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f703c5f1.d65e48"
+ "7814db.8fd9eb24"
]
]
},
{
- "id": "f703c5f1.d65e48",
+ "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": 260.7499694824219,
- "y": 166.75005340576172,
- "z": "41b275ba.2c7b9c",
+ "x": 311.6874694824219,
+ "y": 225.43755340576172,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "32585b9f.2450c4"
+ "f4ae2c81.e657a"
]
]
},
{
- "id": "48d93d05.8690d4",
+ "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": 189.2396240234375,
- "y": 1107.7502908706665,
- "z": "41b275ba.2c7b9c",
+ "x": 240.1771240234375,
+ "y": 1166.4377908706665,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "a4b9c637.2208a8",
+ "id": "ef860a2f.3fb1f8",
"type": "comment",
"name": "instantiateRANSliceReconfigure",
"info": "",
"comments": "",
- "x": 472.75,
- "y": 106.76037216186523,
- "z": "41b275ba.2c7b9c",
+ "x": 523.6875,
+ "y": 165.44787216186523,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "6d512b02.f5fb24",
+ "id": "a62dab63.de7ad8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 138.74996948242188,
- "y": 286.7603759765625,
- "z": "41b275ba.2c7b9c",
+ "x": 189.68746948242188,
+ "y": 345.4478759765625,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "48d93d05.8690d4",
- "f4e1247b.bc3698",
- "d1274487.bddf28",
- "6d3f3c64.a47bf4"
+ "f869fec3.26981",
+ "80b179ef.c11348",
+ "1b19804b.7eb57",
+ "d20c29d9.8c9fe8"
]
]
},
{
- "id": "68609d43.a7c894",
+ "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": 4019.739906311035,
- "y": 7591.770859479904,
- "z": "41b275ba.2c7b9c",
+ "x": 4070.677406311035,
+ "y": 7650.458359479904,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9e2fe536.9e73f8"
+ "94797250.ab2dd"
]
]
},
{
- "id": "9e2fe536.9e73f8",
+ "id": "94797250.ab2dd",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4356.739784240723,
- "y": 7617.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4407.677284240723,
+ "y": 7676.447861433029,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "df2e7f8.6dd618"
+ "6f83ffc3.f3b81"
]
]
},
{
- "id": "df2e7f8.6dd618",
+ "id": "6f83ffc3.f3b81",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4536.739540100098,
- "y": 7614.760361433029,
- "z": "41b275ba.2c7b9c",
+ "x": 4587.677040100098,
+ "y": 7673.447861433029,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "52c52982.de0028"
+ "51209f56.63bda"
]
]
},
{
- "id": "52c52982.de0028",
+ "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": 4685.739841461182,
- "y": 7640.760554075241,
- "z": "41b275ba.2c7b9c",
+ "x": 4736.677341461182,
+ "y": 7699.448054075241,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "6d3f3c64.a47bf4",
+ "id": "d20c29d9.8c9fe8",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 218.5,
- "y": 1058.0146198272705,
- "z": "41b275ba.2c7b9c",
+ "x": 269.4375,
+ "y": 1116.7021198272705,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "6ca212a7.438f2c",
- "c4de5282.42b7b",
- "1c47a5e4.c57bfa",
- "313715a1.8aa98a"
+ "deea80bb.ae04a",
+ "9d29d5c6.83cfc8",
+ "9e07afd4.ee649",
+ "d5e822c6.e425"
]
]
},
{
- "id": "6ca212a7.438f2c",
+ "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": 386.7499771118164,
- "y": 1425.7648248672485,
- "z": "41b275ba.2c7b9c",
+ "x": 437.6874771118164,
+ "y": 1484.4523248672485,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "5fd9ecbd.29ab64",
+ "id": "9c5f9721.d61068",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 420.7500762939453,
- "y": 1522.7645282745361,
- "z": "41b275ba.2c7b9c",
+ "x": 471.6875762939453,
+ "y": 1581.4520282745361,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7f661b0f.15e664"
+ "51e96ce4.92e244"
]
]
},
{
- "id": "2189ac26.c30d74",
+ "id": "d1d6af16.b9028",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 412.7499694824219,
- "y": 1595.7644786834717,
- "z": "41b275ba.2c7b9c",
+ "x": 463.6874694824219,
+ "y": 1654.4519786834717,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d9a56d50.10807"
+ "f1cdb61d.7a1448"
]
]
},
{
- "id": "d9a56d50.10807",
+ "id": "f1cdb61d.7a1448",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 558.749813079834,
- "y": 1600.7645874023438,
- "z": "41b275ba.2c7b9c",
+ "x": 609.687313079834,
+ "y": 1659.4520874023438,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9ed33baf.c15f38"
+ "d816a3c4.0626"
]
]
},
{
- "id": "7f661b0f.15e664",
+ "id": "51e96ce4.92e244",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 569.7499771118164,
- "y": 1518.764663696289,
- "z": "41b275ba.2c7b9c",
+ "x": 620.6874771118164,
+ "y": 1577.452163696289,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "36051d22.566b12",
- "a16954ff.5c8568"
+ "6810cd91.007e04",
+ "825398a9.ceff08"
]
]
},
{
- "id": "36051d22.566b12",
+ "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": 716.7495956420898,
- "y": 1529.7644052505493,
- "z": "41b275ba.2c7b9c",
+ "x": 767.6870956420898,
+ "y": 1588.4519052505493,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "9ed33baf.c15f38",
+ "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 719.7497329711914,
- "y": 1606.764479637146,
- "z": "41b275ba.2c7b9c",
+ "x": 770.6872329711914,
+ "y": 1665.451979637146,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "ae45840d.79a808",
+ "id": "f542e28a.9466f",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2951.2410202026367,
- "y": 711.7605400085449,
- "z": "41b275ba.2c7b9c",
+ "x": 3002.1785202026367,
+ "y": 770.4480400085449,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "383a0812.212598",
- "bd9a5458.0d8c98",
- "f79506e4.729ba8"
+ "722676bf.721c48",
+ "b64e8a62.9e6d68",
+ "e175024a.59c41"
]
]
},
{
- "id": "383a0812.212598",
+ "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": 3269.2419967651367,
- "y": 635.6601982116699,
- "z": "41b275ba.2c7b9c",
+ "x": 3320.1794967651367,
+ "y": 694.3476982116699,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "bd9a5458.0d8c98",
+ "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": 3244.240882873535,
- "y": 732.7608757019043,
- "z": "41b275ba.2c7b9c",
+ "x": 3295.178382873535,
+ "y": 791.4483757019043,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "f79506e4.729ba8",
+ "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": 3159.240894317627,
- "y": 829.7607536315918,
- "z": "41b275ba.2c7b9c",
+ "x": 3210.178394317627,
+ "y": 888.4482536315918,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "4ca0fe0e.1272",
- "1eeab34c.9f419d"
+ "b2cf21cc.36356",
+ "1f01ec9a.58cbe3"
]
]
},
{
- "id": "4ca0fe0e.1272",
+ "id": "b2cf21cc.36356",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3385.240902900696,
- "y": 806.7607226371765,
- "z": "41b275ba.2c7b9c",
+ "x": 3436.178402900696,
+ "y": 865.4482226371765,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c32c55a7.fb07f8"
+ "7a1be79b.dde208"
]
]
},
{
- "id": "1eeab34c.9f419d",
+ "id": "1f01ec9a.58cbe3",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3375.2407569885254,
- "y": 914.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3426.1782569885254,
+ "y": 973.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "e19f4b9.9907bb8"
+ "a8b1ae0b.55b9c"
]
]
},
{
- "id": "e19f4b9.9907bb8",
+ "id": "a8b1ae0b.55b9c",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3525.2405433654785,
- "y": 933.7607231140137,
- "z": "41b275ba.2c7b9c",
+ "x": 3576.1780433654785,
+ "y": 992.4482231140137,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "4cde663b.2a8578"
+ "f6123b59.cb0e68"
]
]
},
{
- "id": "c32c55a7.fb07f8",
+ "id": "7a1be79b.dde208",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3536.2407722473145,
- "y": 801.760844707489,
- "z": "41b275ba.2c7b9c",
+ "x": 3587.1782722473145,
+ "y": 860.448344707489,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "92c9aac0.661068"
+ "20e961e5.65990e"
]
]
},
{
- "id": "92c9aac0.661068",
+ "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": 3702.240451812744,
- "y": 804.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3753.177951812744,
+ "y": 863.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "4cde663b.2a8578",
+ "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/so-callback-response.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
"comments": "",
"outputs": 1,
- "x": 3689.2405586242676,
- "y": 939.7606620788574,
- "z": "41b275ba.2c7b9c",
+ "x": 3740.1780586242676,
+ "y": 998.4481620788574,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a16954ff.5c8568",
+ "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": 704.2602043151855,
- "y": 1433.7538967132568,
- "z": "41b275ba.2c7b9c",
+ "x": 755.1977043151855,
+ "y": 1492.4413967132568,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "1c47a5e4.c57bfa",
+ "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": 409.089599609375,
- "y": 1361.749979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 460.027099609375,
+ "y": 1420.437479019165,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "d57e6ed0.cc044",
+ "id": "e9160fea.9b572",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 695.7502326965332,
- "y": 224.75006008148193,
- "z": "41b275ba.2c7b9c",
+ "x": 746.6877326965332,
+ "y": 283.43756008148193,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a9acee36.f83ee"
+ "a8a4c5da.0884d8"
]
]
},
{
- "id": "f4e1247b.bc3698",
+ "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": 455.7500991821289,
- "y": 502.7500252723694,
- "z": "41b275ba.2c7b9c",
+ "x": 506.6875991821289,
+ "y": 561.4375252723694,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d57e6ed0.cc044",
- "2419e20b.e956be"
+ "e9160fea.9b572",
+ "39e444a1.4c285c"
]
]
},
{
- "id": "2419e20b.e956be",
+ "id": "39e444a1.4c285c",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 320.25665283203125,
- "y": 644.75022315979,
- "z": "41b275ba.2c7b9c",
+ "x": 371.19415283203125,
+ "y": 703.43772315979,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b786c6c5.f36ab8"
+ "be23b479.0b7328"
]
]
},
{
- "id": "96e5a08c.a3377",
+ "id": "7d98378a.1d1488",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 487.75038146972656,
- "y": 1006.7502222061157,
- "z": "41b275ba.2c7b9c",
+ "x": 538.6878814697266,
+ "y": 1065.4377222061157,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7cff3a87.efd824"
+ "2ae3fc00.93e234"
]
]
},
{
- "id": "a9acee36.f83ee",
+ "id": "a8a4c5da.0884d8",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 757.7502288818359,
- "y": 85.75003004074097,
- "z": "41b275ba.2c7b9c",
+ "x": 808.6877288818359,
+ "y": 144.43753004074097,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "8b60a680.a71df8",
- "36bd9ffc.fe71"
+ "1e81a915.64d807",
+ "8bdeed60.9b64a"
]
]
},
{
- "id": "7cff3a87.efd824",
+ "id": "2ae3fc00.93e234",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 654.7502899169922,
- "y": 1005.750207901001,
- "z": "41b275ba.2c7b9c",
+ "x": 705.6877899169922,
+ "y": 1064.437707901001,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "1980284b.b32c88",
- "1b3fa1fa.2ed2de",
- "959e65cd.b44568",
- "5e06d049.40315"
+ "20d4d101.cc639e",
+ "d379a487.a98a28",
+ "ada02534.068408",
+ "d6d32295.d9fbe"
]
]
},
{
- "id": "b786c6c5.f36ab8",
+ "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": 313.7504577636719,
- "y": 1004.7502689361572,
- "z": "41b275ba.2c7b9c",
+ "x": 364.6879577636719,
+ "y": 1063.4377689361572,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "96e5a08c.a3377"
+ "7d98378a.1d1488"
]
]
},
{
- "id": "8b60a680.a71df8",
+ "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": 963.7500152587891,
- "y": 70.75002574920654,
- "z": "41b275ba.2c7b9c",
+ "x": 1014.6875152587891,
+ "y": 129.43752574920654,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "1980284b.b32c88",
+ "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": 811.7503967285156,
- "y": 976.7502517700195,
- "z": "41b275ba.2c7b9c",
+ "x": 862.6878967285156,
+ "y": 1035.4377517700195,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "d1274487.bddf28",
+ "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": 528.75,
- "y": 237.75,
- "z": "41b275ba.2c7b9c",
+ "x": 579.6875,
+ "y": 296.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "36bd9ffc.fe71",
+ "id": "8bdeed60.9b64a",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 861.7605514526367,
- "y": 199.76043796539307,
- "z": "41b275ba.2c7b9c",
+ "x": 912.6980514526367,
+ "y": 258.44793796539307,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9a098154.31cd3",
- "78a62e97.fc3e6"
+ "3d80ca46.4012f6",
+ "2d42cc94.1ef5f4"
]
]
},
{
- "id": "1b3fa1fa.2ed2de",
+ "id": "d379a487.a98a28",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 788.7607955932617,
- "y": 1120.7605228424072,
- "z": "41b275ba.2c7b9c",
+ "x": 839.6982955932617,
+ "y": 1179.4480228424072,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "17465921.32a817",
- "ae576dda.af8e8"
+ "427c983f.4ef798",
+ "6ec50d02.c4cad4"
]
]
},
{
- "id": "d8a7241.032a8d8",
+ "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": 1432.6495742797852,
- "y": 382.7604637145996,
- "z": "41b275ba.2c7b9c",
+ "x": 1483.5870742797852,
+ "y": 441.4479637145996,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b8083d5d.c3c33",
- "4a9891fe.ea6f8"
+ "5de2628.f1d349c",
+ "82f66885.660948"
]
]
},
{
- "id": "b8083d5d.c3c33",
+ "id": "5de2628.f1d349c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1718.6499099731445,
- "y": 323.74999618530273,
- "z": "41b275ba.2c7b9c",
+ "x": 1769.5874099731445,
+ "y": 382.43749618530273,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f90d5817.420e78"
+ "c01fa28e.af3f9"
]
]
},
{
- "id": "4a9891fe.ea6f8",
+ "id": "82f66885.660948",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1711.649974822998,
- "y": 383.74990463256836,
- "z": "41b275ba.2c7b9c",
+ "x": 1762.587474822998,
+ "y": 442.43740463256836,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7dfa359d.6150cc"
+ "23271cc4.7ac7f4"
]
]
},
{
- "id": "f90d5817.420e78",
+ "id": "c01fa28e.af3f9",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1901.6500053405762,
- "y": 366.75000381469727,
- "z": "41b275ba.2c7b9c",
+ "x": 1952.5875053405762,
+ "y": 425.43750381469727,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ce80374b.206188",
- "523df8ee.f162a8",
- "ae45840d.79a808"
+ "6717e4f3.ce834c",
+ "e46c5941.087b28",
+ "f542e28a.9466f"
]
]
},
{
- "id": "7dfa359d.6150cc",
+ "id": "23271cc4.7ac7f4",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1893.6496391296387,
- "y": 412.7499656677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1944.5871391296387,
+ "y": 471.4374656677246,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "61c625fb.9581fc",
- "12fc8842.fb9cd8"
+ "c4ee048f.670368",
+ "f09429a0.3c3408"
]
]
},
{
- "id": "fce8baf0.424178",
+ "id": "e22d8202.486e3",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1029.7500915527344,
- "y": 367.4947757720947,
- "z": "41b275ba.2c7b9c",
+ "x": 1080.6875915527344,
+ "y": 426.1822757720947,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "d2185b6.e0a24a8",
- "770f9d.e82ae064",
- "dbcf9eb5.ded33",
- "d8a7241.032a8d8"
+ "123dc789.d53488",
+ "a87f8b52.6b8e08",
+ "7c23ab7a.d68654",
+ "c55c513c.310d2"
]
]
},
{
- "id": "dbcf9eb5.ded33",
+ "id": "7c23ab7a.d68654",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1381.750394821167,
- "y": 258.1510200202465,
- "z": "41b275ba.2c7b9c",
+ "x": 1432.687894821167,
+ "y": 316.8385200202465,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "19a3387d.ee7bf8",
- "d7a0002b.c1efa"
+ "7f4413c3.15a72c",
+ "7e319efb.2e1e3"
]
]
},
{
- "id": "19a3387d.ee7bf8",
+ "id": "7f4413c3.15a72c",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1544.7503185272217,
- "y": 190.15080973505974,
- "z": "41b275ba.2c7b9c",
+ "x": 1595.6878185272217,
+ "y": 248.83830973505974,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "4b4a5d78.937374"
+ "327cc0a4.8a4db"
]
]
},
{
- "id": "d7a0002b.c1efa",
+ "id": "7e319efb.2e1e3",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1556.7504386901855,
- "y": 267.1509132385254,
- "z": "41b275ba.2c7b9c",
+ "x": 1607.6879386901855,
+ "y": 325.8384132385254,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "92f66eb2.37642"
+ "795143ac.926f8c"
]
]
},
{
- "id": "770f9d.e82ae064",
+ "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": 1358.7506523132324,
- "y": 293.4949840269983,
- "z": "41b275ba.2c7b9c",
+ "x": 1409.6881523132324,
+ "y": 352.1824840269983,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "d2185b6.e0a24a8",
+ "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": 1359.751293182373,
- "y": 338.4843406677246,
- "z": "41b275ba.2c7b9c",
+ "x": 1410.688793182373,
+ "y": 397.1718406677246,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "bc636d62.af605",
+ "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": 1973.2853164672852,
- "y": 317.7500343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 2024.2228164672852,
+ "y": 376.4375343322754,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "76704b8e.ef8754",
+ "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": 2043.8199310302734,
- "y": 273.3490562438965,
- "z": "41b275ba.2c7b9c",
+ "x": 2094.7574310302734,
+ "y": 332.0365562438965,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "92f66eb2.37642",
+ "id": "795143ac.926f8c",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1739.7400932312012,
- "y": 273.1508979797363,
- "z": "41b275ba.2c7b9c",
+ "x": 1790.6775932312012,
+ "y": 331.8383979797363,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "eb981a1e.510268",
- "76704b8e.ef8754",
- "bc636d62.af605"
+ "7524a904.15f6c8",
+ "8db01d7b.44a72",
+ "22e4e932.2b0ca6"
]
]
},
{
- "id": "eb981a1e.510268",
+ "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": 2035.2847747802734,
- "y": 228.75024461746216,
- "z": "41b275ba.2c7b9c",
+ "x": 2086.2222747802734,
+ "y": 287.43774461746216,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "88f363e3.b1642",
+ "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": 2006.285140991211,
- "y": 173.75013732910156,
- "z": "41b275ba.2c7b9c",
+ "x": 2057.222640991211,
+ "y": 232.43763732910156,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "78561837.024a98",
+ "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": 2001.7503662109375,
- "y": 124.1511402130127,
- "z": "41b275ba.2c7b9c",
+ "x": 2052.6878662109375,
+ "y": 182.8386402130127,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "4b4a5d78.937374",
+ "id": "327cc0a4.8a4db",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1703.9518432617188,
- "y": 196.75000473856926,
- "z": "41b275ba.2c7b9c",
+ "x": 1754.8893432617188,
+ "y": 255.43750473856926,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "78561837.024a98",
- "88f363e3.b1642"
+ "5698222d.b5a28c",
+ "353ab673.697b3a"
]
]
},
{
- "id": "78a62e97.fc3e6",
+ "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`\"/>\n<parameter name='tmp.payload.sNSSAI' value='`$payloadJson.input.sliceProfile.sNSSAI`'/>",
"comments": "",
- "x": 1025.7539825439453,
- "y": 143.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 1076.6914825439453,
+ "y": 202.44142055511475,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "9a098154.31cd3",
+ "id": "3d80ca46.4012f6",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1006.7539215087891,
- "y": 266.75392055511475,
- "z": "41b275ba.2c7b9c",
+ "x": 1057.691421508789,
+ "y": 325.44142055511475,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "fce8baf0.424178",
- "eb9c0d48.d1f73",
- "541dc3de.9a8d5c",
- "ae576dda.af8e8"
+ "e22d8202.486e3",
+ "230dec68.7cb7c4",
+ "2d02db2e.856a04",
+ "6ec50d02.c4cad4"
]
]
},
{
- "id": "eb9c0d48.d1f73",
+ "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": 1205.2049827575684,
- "y": 187.76043224334717,
- "z": "41b275ba.2c7b9c",
+ "x": 1256.1424827575684,
+ "y": 246.44793224334717,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "ce80374b.206188",
+ "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": 2087.204933166504,
- "y": 367.76042556762695,
- "z": "41b275ba.2c7b9c",
+ "x": 2138.142433166504,
+ "y": 426.44792556762695,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "523df8ee.f162a8",
+ "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": 2097.204719543457,
- "y": 406.64941024780273,
- "z": "41b275ba.2c7b9c",
+ "x": 2148.142219543457,
+ "y": 465.33691024780273,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "61c625fb.9581fc",
+ "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": 2085.20463180542,
- "y": 443.6493797302246,
- "z": "41b275ba.2c7b9c",
+ "x": 2136.14213180542,
+ "y": 502.3368797302246,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "12fc8842.fb9cd8",
+ "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": 2103.983039855957,
- "y": 479.64941787719727,
- "z": "41b275ba.2c7b9c",
+ "x": 2154.920539855957,
+ "y": 538.3369178771973,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "959e65cd.b44568",
+ "id": "ada02534.068408",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.payload.dataPoints' value='`$payloadJson.input.additionalproperties.resourceConfig.data_length`'/>\n<parameter name=\"tmp.payload.sNSSAI\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.snssai`\"/>\n<parameter name=\"tmp.sliceProfileId\" value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\"/>",
"comments": "",
- "x": 845.8720245361328,
- "y": 1017.649528503418,
- "z": "41b275ba.2c7b9c",
+ "x": 896.8095245361328,
+ "y": 1076.337028503418,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "17465921.32a817",
+ "id": "427c983f.4ef798",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1020.8715896606445,
- "y": 1110.6494541168213,
- "z": "41b275ba.2c7b9c",
+ "x": 1071.8090896606445,
+ "y": 1169.3369541168213,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9eba8bf5.891798"
+ "6a4a186b.f80ab8"
]
]
},
{
- "id": "ae576dda.af8e8",
+ "id": "6ec50d02.c4cad4",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 994.5,
- "y": 533.4999732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 1045.4375,
+ "y": 592.1874732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "435a2113.3763c",
- "19f6c5ea.de089a",
- "2845ab1.4ea1d54",
- "b0fa965b.fc2408",
- "906ffb7e.ea7f58",
- "21c42803.80e668",
- "9fa80d0a.1597c"
+ "cdfd01c2.bb087",
+ "51d123e6.812bec",
+ "a78bd2d.9f2953",
+ "a8ee8669.5b18b8",
+ "20a64cf6.ff5984",
+ "9be2d64a.a3bbd8"
]
]
},
{
- "id": "435a2113.3763c",
+ "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": "",
"outputs": 1,
- "x": 1259.4999923706055,
- "y": 423.49996757507324,
- "z": "41b275ba.2c7b9c",
+ "x": 1310.4374923706055,
+ "y": 482.18746757507324,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "19f6c5ea.de089a",
+ "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": 1233.0001182556152,
- "y": 471.5000057220459,
- "z": "41b275ba.2c7b9c",
+ "x": 1283.9376182556152,
+ "y": 530.1875057220459,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "2845ab1.4ea1d54",
+ "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": 1300.7499923706055,
- "y": 509.49995517730713,
- "z": "41b275ba.2c7b9c",
+ "x": 1351.6874923706055,
+ "y": 568.1874551773071,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ce701174.19d3d",
- "b7a70ed7.29f81"
+ "580b6380.a3832c",
+ "81af58bb.bc1368"
]
]
},
{
- "id": "9fa80d0a.1597c",
+ "id": "20a64cf6.ff5984",
"type": "set",
"name": "set PLMNId",
"xml": "<set>\n<parameter name='tmp.pLMNId' value='`$getPLMN-CL-configdb-response.plmnId`'/>",
"comments": "",
- "x": 1257.9375228881836,
- "y": 550.1875219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 1308.8750228881836,
+ "y": 608.8750219345093,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "b0fa965b.fc2408",
+ "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": 1241.7499923706055,
- "y": 589.7500879764557,
- "z": "41b275ba.2c7b9c",
+ "x": 1709.6875343322754,
+ "y": 661.4375696182251,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "906ffb7e.ea7f58",
+ "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": 1245.5000686645508,
- "y": 626.9999208450317,
- "z": "41b275ba.2c7b9c",
+ "x": 1720.4377136230469,
+ "y": 695.6874475479126,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "21c42803.80e668",
+ "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": 1246.2435455322266,
- "y": 668.993444442749,
- "z": "41b275ba.2c7b9c",
+ "x": 1297.1810455322266,
+ "y": 727.680944442749,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "ce701174.19d3d",
+ "id": "580b6380.a3832c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1538.2499923706055,
- "y": 514.7499675750732,
- "z": "41b275ba.2c7b9c",
+ "x": 1589.1874923706055,
+ "y": 573.4374675750732,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7b8bb405.3da30c"
+ "d0b97aa.5275988"
]
]
},
{
- "id": "b7a70ed7.29f81",
+ "id": "81af58bb.bc1368",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1536.8127365112305,
- "y": 564.3124666213989,
- "z": "41b275ba.2c7b9c",
+ "x": 1587.7502365112305,
+ "y": 622.9999666213989,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c038c418.67f8b8"
+ "c6fc8a94.e90b18"
]
]
},
{
- "id": "7b8bb405.3da30c",
+ "id": "d0b97aa.5275988",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1711.2497940063477,
- "y": 503.7500400543213,
- "z": "41b275ba.2c7b9c",
+ "x": 1762.1872940063477,
+ "y": 562.4375400543213,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "73158791.da3f38",
- "fd53989c.ffb198"
+ "40d71717.0008a8",
+ "4aad3199.c331"
]
]
},
{
- "id": "c038c418.67f8b8",
+ "id": "c6fc8a94.e90b18",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1697.812599182129,
- "y": 542.3123931884766,
- "z": "41b275ba.2c7b9c",
+ "x": 1748.750099182129,
+ "y": 600.9998931884766,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "f15a8c8f.80b76",
- "4bb0478c.a08ee8",
- "ae45840d.79a808"
+ "197cdde3.d46d22",
+ "a2a76d52.17f67",
+ "f542e28a.9466f"
]
]
},
{
- "id": "73158791.da3f38",
+ "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": 1911.9995231628418,
- "y": 503.5000648498535,
- "z": "41b275ba.2c7b9c",
+ "x": 1962.9370231628418,
+ "y": 562.1875648498535,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "fd53989c.ffb198",
+ "id": "4aad3199.c331",
"type": "execute",
"name": "printContext",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1947.7777366638184,
- "y": 546.7500734329224,
- "z": "41b275ba.2c7b9c",
+ "x": 1998.7152366638184,
+ "y": 605.4375734329224,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "4bb0478c.a08ee8",
+ "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": 1942.8129501342773,
- "y": 579.4234933853149,
- "z": "41b275ba.2c7b9c",
+ "x": 1993.7504501342773,
+ "y": 638.1109933853149,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "f15a8c8f.80b76",
+ "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": 1942.812644958496,
- "y": 615.3124780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 1993.750144958496,
+ "y": 673.9999780654907,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "541dc3de.9a8d5c",
+ "id": "2d02db2e.856a04",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 755.25,
- "y": 730.2499732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 806.1875,
+ "y": 788.9374732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "5da441f2.6913e",
- "1188042b.5b07dc",
- "a5c40637.63dca8",
- "df970bea.e18718",
- "25b4c7f7.476548"
+ "2051fa29.3f7ba6",
+ "98fa6e1a.b6327",
+ "48ddec9a.f4ec54",
+ "5ba9c334.7672ac",
+ "2b9caae9.350b86"
]
]
},
{
- "id": "5da441f2.6913e",
+ "id": "2051fa29.3f7ba6",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 994.0000381469727,
- "y": 650.7500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 1044.9375381469727,
+ "y": 709.4375114440918,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "57f5bebd.407af",
- "f50035fe.ae9ed8"
+ "a3a3615e.3cea9",
+ "560affac.9a3f1"
]
]
},
{
- "id": "57f5bebd.407af",
+ "id": "a3a3615e.3cea9",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1214.9999237060547,
- "y": 707.7497630119324,
- "z": "41b275ba.2c7b9c",
+ "x": 1265.9374237060547,
+ "y": 766.4372630119324,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "79f08456.9d755c"
+ "cc01e733.374d78"
]
]
},
{
- "id": "f50035fe.ae9ed8",
+ "id": "560affac.9a3f1",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1209.0000038146973,
- "y": 744.7499017715454,
- "z": "41b275ba.2c7b9c",
+ "x": 1259.9375038146973,
+ "y": 803.4374017715454,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a7fb2a0a.75e4e8"
+ "38a95ed.43591a2"
]
]
},
{
- "id": "a7fb2a0a.75e4e8",
+ "id": "38a95ed.43591a2",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1385.9898414611816,
- "y": 755.7498874664307,
- "z": "41b275ba.2c7b9c",
+ "x": 1436.9273414611816,
+ "y": 814.4373874664307,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "ab76ccc8.dde52",
- "afc88d65.49d28"
+ "8e4d7c6.e97b68",
+ "9d396567.e666a8"
]
]
},
{
- "id": "79f08456.9d755c",
+ "id": "cc01e733.374d78",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1374.2014484405518,
- "y": 714.3489580154419,
- "z": "41b275ba.2c7b9c",
+ "x": 1425.1389484405518,
+ "y": 773.0364580154419,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "b6c282d1.dbc4a"
+ "261c75d4.08a57a"
]
]
},
{
- "id": "b6c282d1.dbc4a",
+ "id": "261c75d4.08a57a",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1655.999984741211,
- "y": 704.7500991821289,
- "z": "41b275ba.2c7b9c",
+ "x": 1706.937484741211,
+ "y": 763.4375991821289,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "ab76ccc8.dde52",
+ "id": "8e4d7c6.e97b68",
"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": 1705.5343799591064,
- "y": 746.3491978943348,
- "z": "41b275ba.2c7b9c",
+ "x": 1756.4718799591064,
+ "y": 805.0366978943348,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "afc88d65.49d28",
+ "id": "9d396567.e666a8",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 1648.534896850586,
- "y": 791.3489608764648,
- "z": "41b275ba.2c7b9c",
+ "x": 1699.472396850586,
+ "y": 850.0364608764648,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "1188042b.5b07dc",
+ "id": "98fa6e1a.b6327",
"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": 990.2500801086426,
- "y": 693.2500720024109,
- "z": "41b275ba.2c7b9c",
+ "x": 1041.1875801086426,
+ "y": 751.9375720024109,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a5c40637.63dca8",
+ "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": 991.7500534057617,
- "y": 733.2500114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 1042.6875534057617,
+ "y": 791.9375114440918,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "4e890bf6.3c1eb4",
+ "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": 994.7500534057617,
- "y": 773.2499647140503,
- "z": "41b275ba.2c7b9c",
+ "x": 1045.6875534057617,
+ "y": 831.9374647140503,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "41670755.139738",
+ "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": 997.0000381469727,
- "y": 817.250054359436,
- "z": "41b275ba.2c7b9c",
+ "x": 1047.9375381469727,
+ "y": 875.937554359436,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "6b9096c9.91aa78",
+ "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": 990.2500534057617,
- "y": 858.0000238418579,
- "z": "41b275ba.2c7b9c",
+ "x": 1041.1875534057617,
+ "y": 916.6875238418579,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "df970bea.e18718",
+ "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/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": 943.4999885559082,
- "y": 893.499979019165,
- "z": "41b275ba.2c7b9c",
+ "x": 994.4374885559082,
+ "y": 952.187479019165,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "a63b17d.be891e8",
+ "id": "388b8e6e.d38d72",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1231.0000495910645,
- "y": 942.0000343322754,
- "z": "41b275ba.2c7b9c",
+ "x": 1281.9375495910645,
+ "y": 1000.6875343322754,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "62804df9.566e44"
+ "15ba999b.e0ceb6"
]
]
},
{
- "id": "94bfc483.016a08",
+ "id": "e04a3f06.f03d4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1229.5627937316895,
- "y": 991.5625333786011,
- "z": "41b275ba.2c7b9c",
+ "x": 1280.5002937316895,
+ "y": 1050.250033378601,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "692f073e.b8bb78"
+ "cf7dd075.4a9a5"
]
]
},
{
- "id": "62804df9.566e44",
+ "id": "15ba999b.e0ceb6",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1399.9998016357422,
- "y": 936.0000581741333,
- "z": "41b275ba.2c7b9c",
+ "x": 1450.9373016357422,
+ "y": 994.6875581741333,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "941eaf3f.cfa1b"
+ "290479e8.5db636"
]
]
},
{
- "id": "692f073e.b8bb78",
+ "id": "cf7dd075.4a9a5",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1390.562656402588,
- "y": 969.5624599456787,
- "z": "41b275ba.2c7b9c",
+ "x": 1441.500156402588,
+ "y": 1028.2499599456787,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a0691c95.99967",
- "7eeb3908.36f438",
- "ae45840d.79a808"
+ "55a53ced.fbcd64",
+ "a09edd9.d66502",
+ "f542e28a.9466f"
]
]
},
{
- "id": "941eaf3f.cfa1b",
+ "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": 1611.7496070861816,
- "y": 858.7501459121704,
- "z": "41b275ba.2c7b9c",
+ "x": 1662.6871070861816,
+ "y": 917.4376459121704,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "7eeb3908.36f438",
+ "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": 1616.5632057189941,
- "y": 914.6734857559204,
- "z": "41b275ba.2c7b9c",
+ "x": 1667.5007057189941,
+ "y": 973.3609857559204,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "a0691c95.99967",
+ "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 Getting Info from ConfigDB. Aborting RPC executiopn'/>",
"comments": "",
- "x": 1577.5627212524414,
- "y": 965.5624780654907,
- "z": "41b275ba.2c7b9c",
+ "x": 1628.5002212524414,
+ "y": 1024.2499780654907,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "25b4c7f7.476548",
+ "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": 998.5000495910645,
- "y": 940.7500219345093,
- "z": "41b275ba.2c7b9c",
+ "x": 1049.4375495910645,
+ "y": 999.4375219345093,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "a63b17d.be891e8",
- "94bfc483.016a08"
+ "388b8e6e.d38d72",
+ "e04a3f06.f03d4"
]
]
},
{
- "id": "c4de5282.42b7b",
+ "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": 419.4375,
- "y": 1310.3749732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 470.375,
+ "y": 1369.0624732971191,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "313715a1.8aa98a",
+ "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='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
+ "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": 256.9375,
- "y": 1554.1249732971191,
- "z": "41b275ba.2c7b9c",
+ "x": 307.875,
+ "y": 1612.8124732971191,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "5fd9ecbd.29ab64",
- "2189ac26.c30d74"
+ "9c5f9721.d61068",
+ "d1d6af16.b9028"
]
]
},
{
- "id": "df492683.e9e418",
+ "id": "4f047810.3c5238",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1634.5000648498535,
- "y": 1060.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1685.4375648498535,
+ "y": 1119.4375076293945,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "9607b3d.d3ab35"
+ "28bdec69.fb4364"
]
]
},
{
- "id": "f20445ef.934978",
+ "id": "b4cb1e5c.9948c",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1628.500144958496,
- "y": 1097.7501463890076,
- "z": "41b275ba.2c7b9c",
+ "x": 1679.437644958496,
+ "y": 1156.4376463890076,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "650af091.29ffd"
+ "a8e4fca6.aee97"
]
]
},
{
- "id": "650af091.29ffd",
+ "id": "a8e4fca6.aee97",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1805.4899826049805,
- "y": 1108.7501320838928,
- "z": "41b275ba.2c7b9c",
+ "x": 1856.4274826049805,
+ "y": 1167.4376320838928,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "cebcb9c5.b643f8",
- "36e20bbb.4a4404"
+ "62cebf1d.08dca",
+ "c611ccc1.6d8e4"
]
]
},
{
- "id": "9607b3d.d3ab35",
+ "id": "28bdec69.fb4364",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1793.7015895843506,
- "y": 1067.349202632904,
- "z": "41b275ba.2c7b9c",
+ "x": 1844.6390895843506,
+ "y": 1126.036702632904,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "251e5493.c4b3bc"
+ "c446f088.7af9d"
]
]
},
{
- "id": "251e5493.c4b3bc",
+ "id": "c446f088.7af9d",
"type": "execute",
"name": "generate addnSSAIEntry.ToNearRTRIC URL",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.addnSSAIEntry.ToNearRTRIC`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2075.5001258850098,
- "y": 1057.750343799591,
- "z": "41b275ba.2c7b9c",
+ "x": 2126.4376258850098,
+ "y": 1116.437843799591,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "cebcb9c5.b643f8",
+ "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": 2125.0345211029053,
- "y": 1099.349442511797,
- "z": "41b275ba.2c7b9c",
+ "x": 2175.9720211029053,
+ "y": 1158.036942511797,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "36e20bbb.4a4404",
+ "id": "c611ccc1.6d8e4",
"type": "execute",
"name": "Populate MOUNT NAME",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.restapi.addnSSAIEntry.ToNearRTRIC.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.restapi.addnSSAIEntry.ToNearRTRIC.url\"/>\n <parameter name=\"target\" value=\"{mountName}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
"comments": "",
"outputs": 1,
- "x": 2068.0350379943848,
- "y": 1144.349205493927,
- "z": "41b275ba.2c7b9c",
+ "x": 2118.9725379943848,
+ "y": 1203.036705493927,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "7f184b0f.0df254",
+ "id": "1cfa3d71.2d3fa3",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1444.500129699707,
- "y": 1053.750005722046,
- "z": "41b275ba.2c7b9c",
+ "x": 1495.437629699707,
+ "y": 1112.437505722046,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "df492683.e9e418",
- "f20445ef.934978"
+ "4f047810.3c5238",
+ "b4cb1e5c.9948c"
]
]
},
{
- "id": "23402ed6.5154d2",
+ "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": 1439.5000648498535,
- "y": 1125.7500076293945,
- "z": "41b275ba.2c7b9c",
+ "x": 1490.4375648498535,
+ "y": 1184.4375076293945,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "47697e37.1b021",
+ "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": 1441.0000381469727,
- "y": 1165.7499470710754,
- "z": "41b275ba.2c7b9c",
+ "x": 1491.9375381469727,
+ "y": 1224.4374470710754,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "9eba8bf5.891798",
+ "id": "6a4a186b.f80ab8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1245.5000228881836,
- "y": 1104.750039100647,
- "z": "41b275ba.2c7b9c",
+ "x": 1296.4375228881836,
+ "y": 1163.437539100647,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "7f184b0f.0df254",
- "23402ed6.5154d2",
- "47697e37.1b021",
- "d7f4a3c5.d4b32",
- "86761b21.52dd98",
- "51f39f3f.e121a",
- "eb254fd0.29137"
+ "1cfa3d71.2d3fa3",
+ "606b6775.a18bf8",
+ "3f907a86.c2ad26",
+ "d825b91c.27bc48",
+ "75ca05a0.ba475c",
+ "b8b27037.9d5ab",
+ "4b92d40d.528e5c"
]
]
},
{
- "id": "d7f4a3c5.d4b32",
+ "id": "d825b91c.27bc48",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1454.7501907348633,
- "y": 1269.75004196167,
- "z": "41b275ba.2c7b9c",
+ "x": 1505.6876907348633,
+ "y": 1328.43754196167,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "3e2dcdf0.350682"
+ "7bed6240.d9108c"
]
]
},
{
- "id": "592dd030.210ee",
+ "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": 1865.5000457763672,
- "y": 1238.7500610351562,
- "z": "41b275ba.2c7b9c",
+ "x": 1928.937629699707,
+ "y": 1234.9377765655518,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "3e2dcdf0.350682",
+ "id": "7bed6240.d9108c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 1664.5,
- "y": 1266.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1715.4375,
+ "y": 1325.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "592dd030.210ee",
- "563fc063.299c9",
- "94a5d1f9.db2b",
- "52dccd0b.5f68b4"
+ "83e28863.96fd98",
+ "fa247a04.5db3f8",
+ "c8a6e293.16cd3",
+ "f56f9270.39935",
+ "4a947320.b506ac"
]
]
},
{
- "id": "563fc063.299c9",
+ "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": "",
"outputs": 1,
- "x": 1922.2500457763672,
- "y": 1273.7501058578491,
- "z": "41b275ba.2c7b9c",
+ "x": 1973.1875076293945,
+ "y": 1364.9376239776611,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "94a5d1f9.db2b",
+ "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": "",
"outputs": 1,
- "x": 1913,
- "y": 1380.75,
- "z": "41b275ba.2c7b9c",
+ "x": 1963.9375,
+ "y": 1439.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "e6217049.8fe",
- "103ace8.0d64a32"
+ "4c0b32fd.c75afc",
+ "7483f7e0.e84798"
]
]
},
{
- "id": "e6217049.8fe",
+ "id": "4c0b32fd.c75afc",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2145.5,
- "y": 1382.000012397766,
- "z": "41b275ba.2c7b9c",
+ "x": 2196.4375,
+ "y": 1440.687512397766,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "649e12ec.2e907c"
+ "f7e9fd1d.a0c2"
]
]
},
{
- "id": "103ace8.0d64a32",
+ "id": "7483f7e0.e84798",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2144.062744140625,
- "y": 1431.5625114440918,
- "z": "41b275ba.2c7b9c",
+ "x": 2195.000244140625,
+ "y": 1490.2500114440918,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "105421ef.dcc97e"
+ "da6606b.4fcbef8"
]
]
},
{
- "id": "105421ef.dcc97e",
+ "id": "da6606b.4fcbef8",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2305.0626068115234,
- "y": 1409.5624380111694,
- "z": "41b275ba.2c7b9c",
+ "x": 2356.0001068115234,
+ "y": 1468.2499380111694,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "36e0cf0.449d132",
- "b81dc1c0.23bac",
- "ae45840d.79a808"
+ "30beab96.b1d944",
+ "ef0a7650.cb7c78",
+ "f542e28a.9466f"
]
]
},
{
- "id": "649e12ec.2e907c",
+ "id": "f7e9fd1d.a0c2",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2314.4997520446777,
- "y": 1376.000036239624,
- "z": "41b275ba.2c7b9c",
+ "x": 2365.4372520446777,
+ "y": 1434.687536239624,
+ "z": "9ebd676c.bc9298",
"wires": [
[
- "c25430f2.8cec3"
+ "73017d59.f89d74"
]
]
},
{
- "id": "36e0cf0.449d132",
+ "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": 2492.062671661377,
- "y": 1405.5624561309814,
- "z": "41b275ba.2c7b9c",
+ "x": 2543.000171661377,
+ "y": 1464.2499561309814,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "b81dc1c0.23bac",
+ "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": 2531.0631561279297,
- "y": 1354.6734638214111,
- "z": "41b275ba.2c7b9c",
+ "x": 2582.0006561279297,
+ "y": 1413.3609638214111,
+ "z": "9ebd676c.bc9298",
"wires": []
},
{
- "id": "c25430f2.8cec3",
+ "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/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2526.249557495117,
- "y": 1298.7501239776611,
- "z": "41b275ba.2c7b9c",
+ "x": 2577.187057495117,
+ "y": 1357.4376239776611,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "5e06d049.40315",
+ "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": 814.25,
- "y": 1074.75,
- "z": "41b275ba.2c7b9c",
+ "x": 865.1875,
+ "y": 1133.4375,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "86761b21.52dd98",
+ "id": "75ca05a0.ba475c",
"type": "execute",
"name": "CUCellListEntries",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCellListEntries' />\n\t<parameter name='source' value=\"`'payloadJson.input.additionalproperties.resourceConfig.data['+$id-is+'].cellCUList_length'`\" />\n\t",
"comments": "",
"outputs": 1,
- "x": 1455.7500076293945,
- "y": 1200.0000104904175,
- "z": "41b275ba.2c7b9c",
+ "x": 1506.6875076293945,
+ "y": 1258.6875104904175,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "51f39f3f.e121a",
+ "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=\"CUCEll List length \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCellListEntries`\"/>\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1435.75,
- "y": 1233,
- "z": "41b275ba.2c7b9c",
+ "x": 1486.6875,
+ "y": 1291.6875,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "52dccd0b.5f68b4",
+ "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": 1861,
- "y": 1327.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1909.4377555847168,
+ "y": 1402.187533378601,
+ "z": "9ebd676c.bc9298",
"wires": [
[]
]
},
{
- "id": "eb254fd0.29137",
+ "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": "",
- "x": 1461.25,
- "y": 1009.25,
- "z": "41b275ba.2c7b9c",
+ "x": 1512.1875,
+ "y": 1067.9375,
+ "z": "9ebd676c.bc9298",
"wires": []
+ },
+ {
+ "id": "9be2d64a.a3bbd8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic=\"true\">",
+ "atomic": "true",
+ "outputs": 1,
+ "x": 1305.1875457763672,
+ "y": 665.4375238418579,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ [
+ "2eae9783.b3f048",
+ "743d7949.25e8a8"
+ ]
+ ]
+ },
+ {
+ "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": "",
+ "x": 1516.9146423339844,
+ "y": 722.9952244758606,
+ "z": "9ebd676c.bc9298",
+ "wires": []
+ },
+ {
+ "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": 1524.4599609375,
+ "y": 678.9498138427734,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "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": "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": 1930.9375457763672,
+ "y": 1282.1875324249268,
+ "z": "9ebd676c.bc9298",
+ "wires": [
+ []
+ ]
}
]
\ No newline at end of file