[
{
- "id": "9f061b81.5ee4f8",
+ "id": "d6602fb5.c4aef",
"type": "method",
"name": "method",
"xml": "<method rpc='instantiateRANSliceReconfigure-cps' mode='sync'>\n",
"comments": "",
"outputs": 1,
- "x": 332.6666946411133,
- "y": 244.0000286102295,
- "z": "4d7c5b65.634a04",
+ "x": 309.00003814697266,
+ "y": 231.00003242492676,
+ "z": "513be127.a07bb",
"wires": [
[
- "482ddcd8.26f684"
+ "c0ce3b5e.0a7f68"
]
]
},
{
- "id": "1bd8c394.29fc0c",
+ "id": "b1aed66e.3907e8",
"type": "dgstart",
"name": "DGSTART",
"outputs": 1,
- "x": 129.66665649414062,
- "y": 133,
- "z": "4d7c5b65.634a04",
+ "x": 106,
+ "y": 120.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "308c4369.7525dc"
+ "1cc088f6.ffc537"
]
]
},
{
- "id": "308c4369.7525dc",
+ "id": "1cc088f6.ffc537",
"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": 375.6666259765625,
- "y": 134.00008296966553,
- "z": "4d7c5b65.634a04",
+ "x": 351.9999694824219,
+ "y": 121.0000867843628,
+ "z": "513be127.a07bb",
"wires": [
[
- "9f061b81.5ee4f8"
+ "d6602fb5.c4aef"
]
]
},
{
- "id": "bd9cb92d.d2bc28",
+ "id": "8e70ca46.af1408",
"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": 327.1562805175781,
- "y": 2170.0003147125244,
- "z": "4d7c5b65.634a04",
+ "x": 303.4896240234375,
+ "y": 2157.0003185272217,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "9e06e626.8eae98",
+ "id": "e05b60e5.f67af",
"type": "comment",
"name": "instantiateRANSliceReconfigure-cps",
"info": "",
"comments": "",
- "x": 426.6666564941406,
- "y": 45.010406494140625,
- "z": "4d7c5b65.634a04",
+ "x": 403,
+ "y": 32.01041030883789,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "482ddcd8.26f684",
+ "id": "c0ce3b5e.0a7f68",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 236.6666259765625,
- "y": 351.0104064941406,
- "z": "4d7c5b65.634a04",
+ "x": 212.99996948242188,
+ "y": 338.0104103088379,
+ "z": "513be127.a07bb",
"wires": [
[
- "bd9cb92d.d2bc28",
- "8d913069.84b02",
- "c151b8d6.48dfa8",
- "89979590.5ecd48"
+ "8e70ca46.af1408",
+ "91cb59dd.897498",
+ "776f8f52.2fc88",
+ "3270fb38.1945b4"
]
]
},
{
- "id": "45049f27.1a99",
+ "id": "dbb9b1f6.7e3ab",
"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": 4003.656562805176,
- "y": 7772.020883321762,
- "z": "4d7c5b65.634a04",
+ "x": 3979.989906311035,
+ "y": 7759.020887136459,
+ "z": "513be127.a07bb",
"wires": [
[
- "ac24d742.6eff88"
+ "33306451.5c967c"
]
]
},
{
- "id": "ac24d742.6eff88",
+ "id": "33306451.5c967c",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4340.656440734863,
- "y": 7798.010385274887,
- "z": "4d7c5b65.634a04",
+ "x": 4316.989784240723,
+ "y": 7785.010389089584,
+ "z": "513be127.a07bb",
"wires": [
[
- "6befcd06.33f3e4"
+ "22cecf95.6c0e2"
]
]
},
{
- "id": "6befcd06.33f3e4",
+ "id": "22cecf95.6c0e2",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4520.656196594238,
- "y": 7795.010385274887,
- "z": "4d7c5b65.634a04",
+ "x": 4496.989540100098,
+ "y": 7782.010389089584,
+ "z": "513be127.a07bb",
"wires": [
[
- "258c4dc5.68dca2"
+ "8b1bbb36.3f1448"
]
]
},
{
- "id": "258c4dc5.68dca2",
+ "id": "8b1bbb36.3f1448",
"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": 4669.656497955322,
- "y": 7821.010577917099,
- "z": "4d7c5b65.634a04",
+ "x": 4645.989841461182,
+ "y": 7808.010581731796,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "89979590.5ecd48",
+ "id": "3270fb38.1945b4",
"type": "block",
"name": "SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 356.4166564941406,
- "y": 2120.2646436691284,
- "z": "4d7c5b65.634a04",
+ "x": 332.75,
+ "y": 2107.2646474838257,
+ "z": "513be127.a07bb",
"wires": [
[
- "5b1e63ee.b0bcac",
- "6a98c3e2.10f9dc",
- "bd81bd27.c9df1",
- "88fbf49.5fc7708"
+ "8992ae62.69d3",
+ "8e2bdda.a68132",
+ "8d7fc622.f49e38",
+ "8a21bd26.48ec8"
]
]
},
{
- "id": "5b1e63ee.b0bcac",
+ "id": "8992ae62.69d3",
"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": 758.6666488647461,
- "y": 2238.0149450302124,
- "z": "4d7c5b65.634a04",
+ "x": 734.9999923706055,
+ "y": 2225.0149488449097,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "f6a80048.4c96f",
+ "id": "660ad5bc.6baf9c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 896.6667251586914,
- "y": 2301.014757156372,
- "z": "4d7c5b65.634a04",
+ "x": 873.0000686645508,
+ "y": 2288.0147609710693,
+ "z": "513be127.a07bb",
"wires": [
[
- "93970682.457ea8"
+ "f22f7504.d07b98"
]
]
},
{
- "id": "6ef55787.17d028",
+ "id": "b50f3ab5.795e38",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 888.666618347168,
- "y": 2374.0147075653076,
- "z": "4d7c5b65.634a04",
+ "x": 864.9999618530273,
+ "y": 2361.014711380005,
+ "z": "513be127.a07bb",
"wires": [
[
- "bd8eb24b.e9c4b"
+ "c541222c.c407f"
]
]
},
{
- "id": "bd8eb24b.e9c4b",
+ "id": "c541222c.c407f",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1034.66646194458,
- "y": 2379.0148162841797,
- "z": "4d7c5b65.634a04",
+ "x": 1010.9998054504395,
+ "y": 2366.014820098877,
+ "z": "513be127.a07bb",
"wires": [
[
- "613b4178.27a96"
+ "a9368725.2ff1f8"
]
]
},
{
- "id": "93970682.457ea8",
+ "id": "f22f7504.d07b98",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1045.6666259765625,
- "y": 2297.014892578125,
- "z": "4d7c5b65.634a04",
+ "x": 1021.9999694824219,
+ "y": 2284.0148963928223,
+ "z": "513be127.a07bb",
"wires": [
[
- "496858cf.9a8df8",
- "f0b8a6f.cd94f58"
+ "c9757bfc.6cf938",
+ "b199d8d3.cd2748"
]
]
},
{
- "id": "496858cf.9a8df8",
+ "id": "c9757bfc.6cf938",
"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": 1214.666259765625,
- "y": 2298.0146484375,
- "z": "4d7c5b65.634a04",
+ "x": 1190.9996032714844,
+ "y": 2285.0146522521973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "613b4178.27a96",
+ "id": "a9368725.2ff1f8",
"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": 1215.6663818359375,
- "y": 2383.0146484375,
- "z": "4d7c5b65.634a04",
+ "x": 1191.9997253417969,
+ "y": 2370.0146522521973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "53f6cef7.f7902",
+ "id": "9d694bfa.b7a508",
"type": "block",
"name": "block : SO Response",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 4019.1577529907227,
- "y": 1238.010576248169,
- "z": "4d7c5b65.634a04",
+ "x": 3995.491096496582,
+ "y": 1225.0105800628662,
+ "z": "513be127.a07bb",
"wires": [
[
- "6f3a42bc.806e4c",
- "b0ee0118.94385",
- "fc4a3247.3ff21"
+ "9273994c.c62b98",
+ "b2e7a97c.481118",
+ "41e8b2c3.b73c6c"
]
]
},
{
- "id": "6f3a42bc.806e4c",
+ "id": "9273994c.c62b98",
"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": 4304.159042358398,
- "y": 1041.9102840423584,
- "z": "4d7c5b65.634a04",
+ "x": 4280.492385864258,
+ "y": 1028.9102878570557,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "b0ee0118.94385",
+ "id": "b2e7a97c.481118",
"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": 4319.157730102539,
- "y": 1135.0109539031982,
- "z": "4d7c5b65.634a04",
+ "x": 4295.491073608398,
+ "y": 1122.0109577178955,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "fc4a3247.3ff21",
+ "id": "41e8b2c3.b73c6c",
"type": "execute",
"name": "Send to SO",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.so.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='*/*' />",
"comments": "",
"outputs": 1,
- "x": 4283.157737731934,
- "y": 1258.010793685913,
- "z": "4d7c5b65.634a04",
+ "x": 4259.491081237793,
+ "y": 1245.0107975006104,
+ "z": "513be127.a07bb",
"wires": [
[
- "382852e9.e0675e",
- "7b78f57e.ba76dc"
+ "6aa19133.f344a",
+ "2a74f603.510b9a"
]
]
},
{
- "id": "382852e9.e0675e",
+ "id": "6aa19133.f344a",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 4491.157357215881,
- "y": 1258.0107421875,
- "z": "4d7c5b65.634a04",
+ "x": 4467.490700721741,
+ "y": 1245.0107460021973,
+ "z": "513be127.a07bb",
"wires": [
[
- "3afb94d4.66d62c"
+ "3a4e2e27.931632"
]
]
},
{
- "id": "7b78f57e.ba76dc",
+ "id": "2a74f603.510b9a",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 4491.1572265625,
- "y": 1322.0107421875,
- "z": "4d7c5b65.634a04",
+ "x": 4467.490570068359,
+ "y": 1309.0107460021973,
+ "z": "513be127.a07bb",
"wires": [
[
- "2853a0d6.ddfa4"
+ "35c7e88.0f17218"
]
]
},
{
- "id": "2853a0d6.ddfa4",
+ "id": "35c7e88.0f17218",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4637.1572265625,
- "y": 1321.0107421875,
- "z": "4d7c5b65.634a04",
+ "x": 4613.490570068359,
+ "y": 1308.0107460021973,
+ "z": "513be127.a07bb",
"wires": [
[
- "21499006.1b3cc"
+ "2da75fc5.a393e"
]
]
},
{
- "id": "3afb94d4.66d62c",
+ "id": "3a4e2e27.931632",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 4642.1572265625,
- "y": 1258.0108642578125,
- "z": "4d7c5b65.634a04",
+ "x": 4618.490570068359,
+ "y": 1245.0108680725098,
+ "z": "513be127.a07bb",
"wires": [
[
- "192c5617.efaa3a"
+ "f5818b99.320de8"
]
]
},
{
- "id": "192c5617.efaa3a",
+ "id": "f5818b99.320de8",
"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": 4804.15673828125,
- "y": 1258.0107421875,
- "z": "4d7c5b65.634a04",
+ "x": 4780.490081787109,
+ "y": 1245.0107460021973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "21499006.1b3cc",
+ "id": "2da75fc5.a393e",
"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": 4803.1572265625,
- "y": 1320.0107421875,
- "z": "4d7c5b65.634a04",
+ "x": 4779.490570068359,
+ "y": 1307.0107460021973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "f0b8a6f.cd94f58",
+ "id": "b199d8d3.cd2748",
"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": 1206.1768798828125,
- "y": 2256.004150390625,
- "z": "4d7c5b65.634a04",
+ "x": 1182.5102233886719,
+ "y": 2243.0041542053223,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "bd81bd27.c9df1",
+ "id": "8d7fc622.f49e38",
"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": 781.0062713623047,
- "y": 2174.000099182129,
- "z": "4d7c5b65.634a04",
+ "x": 757.3396148681641,
+ "y": 2161.000102996826,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "499f16d.22a49e8",
+ "id": "f2393f9d.cc453",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 749.6668701171875,
- "y": 397.0000915527344,
- "z": "4d7c5b65.634a04",
+ "x": 726.0002136230469,
+ "y": 384.00009536743164,
+ "z": "513be127.a07bb",
"wires": [
[
- "dea0e37d.325bd"
+ "828adea1.e7ed7"
]
]
},
{
- "id": "8d913069.84b02",
+ "id": "91cb59dd.897498",
"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": 517.666748046875,
- "y": 396.00006103515625,
- "z": "4d7c5b65.634a04",
+ "x": 494.0000915527344,
+ "y": 383.0000648498535,
+ "z": "513be127.a07bb",
"wires": [
[
- "499f16d.22a49e8",
- "ecb7f4cb.922ad8"
+ "f2393f9d.cc453",
+ "efbd7b18.ae9b88"
]
]
},
{
- "id": "ecb7f4cb.922ad8",
+ "id": "efbd7b18.ae9b88",
"type": "failure",
"name": "false",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 758.1733093261719,
- "y": 503.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 734.5066528320312,
+ "y": 490.00024795532227,
+ "z": "513be127.a07bb",
"wires": [
[
- "dd70b949.f841b8"
+ "bd4954be.1a7778"
]
]
},
{
- "id": "8c9f59db.e6bc48",
+ "id": "3d82f088.ac579",
"type": "failure",
"name": "true",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 744.6670532226562,
- "y": 1994.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 721.0003967285156,
+ "y": 1981.0002479553223,
+ "z": "513be127.a07bb",
"wires": [
[
- "a73abfea.631e"
+ "61281bbc.dfac54"
]
]
},
{
- "id": "dea0e37d.325bd",
+ "id": "828adea1.e7ed7",
"type": "block",
"name": "Closed Loop",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 766.6668701171875,
- "y": 124.00006103515625,
- "z": "4d7c5b65.634a04",
+ "x": 743.0002136230469,
+ "y": 111.00006484985352,
+ "z": "513be127.a07bb",
"wires": [
[
- "aac735a1.6f54e8",
- "b917faf1.f2ac38"
+ "f9f5464b.2ed958",
+ "5f9fbc1e.12a244"
]
]
},
{
- "id": "a73abfea.631e",
+ "id": "61281bbc.dfac54",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 931.6669502258301,
- "y": 1994.0001430511475,
- "z": "4d7c5b65.634a04",
+ "x": 908.0002937316895,
+ "y": 1981.0001468658447,
+ "z": "513be127.a07bb",
"wires": [
[
- "93c0ef.485c1f1",
- "cc9c3169.e8025",
- "bf442461.925f88",
- "8142a0c0.4e5e5"
+ "26493ac6.c3cb66",
+ "9b3d2567.fec758",
+ "fa61ec0.0693618",
+ "277a3d68.dd2e52"
]
]
},
{
- "id": "dd70b949.f841b8",
+ "id": "bd4954be.1a7778",
"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": 551.6671142578125,
- "y": 1993.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 528.0004577636719,
+ "y": 1980.0002479553223,
+ "z": "513be127.a07bb",
"wires": [
[
- "8c9f59db.e6bc48"
+ "3d82f088.ac579"
]
]
},
{
- "id": "aac735a1.6f54e8",
+ "id": "f9f5464b.2ed958",
"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": 971.6666870117188,
- "y": 124.00004577636719,
- "z": "4d7c5b65.634a04",
+ "x": 948.0000305175781,
+ "y": 111.00004959106445,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "93c0ef.485c1f1",
+ "id": "26493ac6.c3cb66",
"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": 1169.6671142578125,
- "y": 1873.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 1146.0004577636719,
+ "y": 1860.0002479553223,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "c151b8d6.48dfa8",
+ "id": "776f8f52.2fc88",
"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",
+ "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-cps \"/>\n\n",
"comments": "",
"outputs": 1,
- "x": 450.6666564941406,
- "y": 351.0000238418579,
- "z": "4d7c5b65.634a04",
+ "x": 427,
+ "y": 338.0000276565552,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "b917faf1.f2ac38",
+ "id": "5f9fbc1e.12a244",
"type": "block",
"name": "NearRTRIC",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 986.67724609375,
- "y": 174.01046752929688,
- "z": "4d7c5b65.634a04",
+ "x": 963.0105895996094,
+ "y": 161.01047134399414,
+ "z": "513be127.a07bb",
"wires": [
[
- "469ed456.870fcc",
- "f59dcce9.2395c"
+ "41ced3e7.bbfa5c",
+ "ba0c7265.e3386"
]
]
},
{
- "id": "cc9c3169.e8025",
+ "id": "9b3d2567.fec758",
"type": "block",
"name": "CUCP",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1159.6774559020996,
- "y": 1993.0104579925537,
- "z": "4d7c5b65.634a04",
+ "x": 1136.010799407959,
+ "y": 1980.010461807251,
+ "z": "513be127.a07bb",
"wires": [
[
- "7dfe3937.33ca78",
- "2f0d0bdc.3fe284"
+ "396fb896.d1f828",
+ "f41ff585.b87188"
]
]
},
{
- "id": "a18381a8.6f5e",
+ "id": "1eafbfb4.fbd9b",
"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": 1605.5662460327148,
- "y": 603.0106582641602,
- "z": "4d7c5b65.634a04",
+ "x": 1586.8995895385742,
+ "y": 547.0106620788574,
+ "z": "513be127.a07bb",
"wires": [
[
- "46b71058.0a755",
- "2d1f14dd.9f8d4c"
+ "a660ee48.3e0bc",
+ "4fb0cdef.afcfd4"
]
]
},
{
- "id": "46b71058.0a755",
+ "id": "a660ee48.3e0bc",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1904.5667457580566,
- "y": 604.0002002716064,
- "z": "4d7c5b65.634a04",
+ "x": 1885.900089263916,
+ "y": 548.0002040863037,
+ "z": "513be127.a07bb",
"wires": [
[
- "86e0f783.5c44b8"
+ "c1012c51.e1f4d"
]
]
},
{
- "id": "2d1f14dd.9f8d4c",
+ "id": "4fb0cdef.afcfd4",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1902.566749572754,
- "y": 690.9999589920044,
- "z": "4d7c5b65.634a04",
+ "x": 1883.9000930786133,
+ "y": 634.9999628067017,
+ "z": "513be127.a07bb",
"wires": [
[
- "ed74cc8d.297f4"
+ "71b6cdfe.9d1f84"
]
]
},
{
- "id": "86e0f783.5c44b8",
+ "id": "c1012c51.e1f4d",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2063.5668716430664,
- "y": 603.0000762939453,
- "z": "4d7c5b65.634a04",
+ "x": 2044.9002151489258,
+ "y": 547.0000801086426,
+ "z": "513be127.a07bb",
"wires": [
[
- "7680b50c.0d0cfc",
- "b5b9a8ee.178b08",
- "53f6cef7.f7902"
+ "443e1fd9.26eb",
+ "242d5a05.f6ca66",
+ "9d694bfa.b7a508",
+ "e6c9a77.5298d58"
]
]
},
{
- "id": "ed74cc8d.297f4",
+ "id": "71b6cdfe.9d1f84",
"type": "block",
"name": "block",
"xml": "<block>\n",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2075.566547393799,
- "y": 690.0001621246338,
- "z": "4d7c5b65.634a04",
+ "x": 2056.899890899658,
+ "y": 634.000165939331,
+ "z": "513be127.a07bb",
"wires": [
[
- "d60e382a.987ab8",
- "59e28a75.507424"
+ "2de1069c.b7057a",
+ "7dcc2ce8.831d04"
]
]
},
{
- "id": "606dc018.93301",
+ "id": "8daa0a7a.adbd18",
"type": "block",
"name": "Update SiceProfile for NeaeRTRIC",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1271.666748046875,
- "y": 473.74481201171875,
- "z": "4d7c5b65.634a04",
+ "x": 1248.0000915527344,
+ "y": 460.744815826416,
+ "z": "513be127.a07bb",
"wires": [
[
- "95120f6f.d2c67",
- "d9f440c.e5360c",
- "322b057f.3273da",
- "a18381a8.6f5e"
+ "884acbed.028f88",
+ "12833f2e.2eee81",
+ "f2b14a1d.693618",
+ "1eafbfb4.fbd9b"
]
]
},
{
- "id": "322b057f.3273da",
+ "id": "f2b14a1d.693618",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1567.6669921875,
- "y": 390.4010314941406,
- "z": "4d7c5b65.634a04",
+ "x": 1544.0003356933594,
+ "y": 377.4010353088379,
+ "z": "513be127.a07bb",
"wires": [
[
- "27589ceb.1588b4",
- "2f3eb675.6b0bea"
+ "e8af632f.7f8a9",
+ "6c8ca6ed.b87928"
]
]
},
{
- "id": "27589ceb.1588b4",
+ "id": "e8af632f.7f8a9",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1807.6669921875,
- "y": 389.4008483886719,
- "z": "4d7c5b65.634a04",
+ "x": 1784.0003356933594,
+ "y": 376.40085220336914,
+ "z": "513be127.a07bb",
"wires": [
[
- "99e5f9ee.5c06c8"
+ "8bc1c70.57f3238"
]
]
},
{
- "id": "2f3eb675.6b0bea",
+ "id": "6c8ca6ed.b87928",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1798.6671142578125,
- "y": 452.40093994140625,
- "z": "4d7c5b65.634a04",
+ "x": 1775.0004577636719,
+ "y": 439.4009437561035,
+ "z": "513be127.a07bb",
"wires": [
[
- "1a995263.b3b8ee"
+ "b501388e.b269e8"
]
]
},
{
- "id": "d9f440c.e5360c",
+ "id": "12833f2e.2eee81",
"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": 1535.6673583984375,
- "y": 432.7449951171875,
- "z": "4d7c5b65.634a04",
+ "x": 1512.0007019042969,
+ "y": 419.74499893188477,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "95120f6f.d2c67",
+ "id": "884acbed.028f88",
"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": 1535.66796875,
- "y": 482.734375,
- "z": "4d7c5b65.634a04",
+ "x": 1512.0013122558594,
+ "y": 469.73437881469727,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "709901d0.b774a",
+ "id": "e20054f1.b1da88",
"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": 2326.2021484375,
- "y": 556.0000610351562,
- "z": "4d7c5b65.634a04",
+ "x": 2492.5354919433594,
+ "y": 543.0000648498535,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "5b676f7e.7cbec",
+ "id": "1032a0f5.dfe33f",
"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": 2385.736572265625,
- "y": 513.5990905761719,
- "z": "4d7c5b65.634a04",
+ "x": 2552.0699157714844,
+ "y": 500.59909439086914,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "1a995263.b3b8ee",
+ "id": "b501388e.b269e8",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2030.65673828125,
- "y": 452.4009094238281,
- "z": "4d7c5b65.634a04",
+ "x": 2006.9900817871094,
+ "y": 439.4009132385254,
+ "z": "513be127.a07bb",
"wires": [
[
- "5dbd3439.28967c",
- "5b676f7e.7cbec",
- "709901d0.b774a"
+ "3dbf2131.dc18ce",
+ "1032a0f5.dfe33f",
+ "e20054f1.b1da88"
]
]
},
{
- "id": "5dbd3439.28967c",
+ "id": "3dbf2131.dc18ce",
"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": 2383.201416015625,
- "y": 475.00030517578125,
- "z": "4d7c5b65.634a04",
+ "x": 2549.5347595214844,
+ "y": 462.0003089904785,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "77ebd462.27379c",
+ "id": "bf72dc6f.d9902",
"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": 2381.20166015625,
- "y": 434.0001525878906,
- "z": "4d7c5b65.634a04",
+ "x": 2547.5350036621094,
+ "y": 421.0001564025879,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "18f4ec66.2b3d24",
+ "id": "807e8805.e5e998",
"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": 2380.6669921875,
- "y": 390.4011535644531,
- "z": "4d7c5b65.634a04",
+ "x": 2547.0003356933594,
+ "y": 377.4011573791504,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "99e5f9ee.5c06c8",
+ "id": "8bc1c70.57f3238",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2027.8685302734375,
- "y": 389.0000305175781,
- "z": "4d7c5b65.634a04",
+ "x": 2004.2018737792969,
+ "y": 376.0000343322754,
+ "z": "513be127.a07bb",
"wires": [
[
- "18f4ec66.2b3d24",
- "77ebd462.27379c"
+ "807e8805.e5e998",
+ "bf72dc6f.d9902"
]
]
},
{
- "id": "f59dcce9.2395c",
+ "id": "ba0c7265.e3386",
"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": 1172.670654296875,
- "y": 69.00393676757812,
- "z": "4d7c5b65.634a04",
+ "x": 1149.0039978027344,
+ "y": 56.00394058227539,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "469ed456.870fcc",
+ "id": "41ced3e7.bbfa5c",
"type": "for",
"name": "For Number of patches",
"xml": "<for index='id1' start='0' end=\"`$tmp.payload.numberUpdates`\" >",
"comments": "",
"outputs": 1,
- "x": 1021.670654296875,
- "y": 274.0039367675781,
- "z": "4d7c5b65.634a04",
+ "x": 998.0039978027344,
+ "y": 261.0039405822754,
+ "z": "513be127.a07bb",
"wires": [
[
- "606dc018.93301",
- "b5dfde0e.035e6",
- "b390b1db.dbb11",
- "2f0d0bdc.3fe284",
- "a837a263.556b8",
- "9071a476.518048"
+ "8daa0a7a.adbd18",
+ "629e2d78.a38b74",
+ "102a8bbb.a515c4",
+ "f41ff585.b87188",
+ "f6b9f7d2.efcaf8",
+ "316217c6.cc61a8"
]
]
},
{
- "id": "b5dfde0e.035e6",
+ "id": "629e2d78.a38b74",
"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": 1309.1217041015625,
- "y": 159.01048278808594,
- "z": "4d7c5b65.634a04",
+ "x": 1285.4550476074219,
+ "y": 146.0104866027832,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "7680b50c.0d0cfc",
+ "id": "443e1fd9.26eb",
"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": 2274.1218910217285,
- "y": 604.0104541778564,
- "z": "4d7c5b65.634a04",
+ "x": 2255.455234527588,
+ "y": 548.0104579925537,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "b5b9a8ee.178b08",
+ "id": "242d5a05.f6ca66",
"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": 2297.121894836426,
- "y": 643.8995742797852,
- "z": "4d7c5b65.634a04",
+ "x": 2278.455238342285,
+ "y": 587.8995780944824,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "d60e382a.987ab8",
+ "id": "2de1069c.b7057a",
"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": 2279.121726989746,
- "y": 689.8995361328125,
- "z": "4d7c5b65.634a04",
+ "x": 2260.4550704956055,
+ "y": 633.8995399475098,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "59e28a75.507424",
+ "id": "7dcc2ce8.831d04",
"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": 2294.8998794555664,
- "y": 740.8994579315186,
- "z": "4d7c5b65.634a04",
+ "x": 2276.233222961426,
+ "y": 684.8994617462158,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "bf442461.925f88",
+ "id": "fa61ec0.0693618",
"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": 1202.7886962890625,
- "y": 1908.8994140625,
- "z": "4d7c5b65.634a04",
+ "x": 1179.1220397949219,
+ "y": 1895.8994178771973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "7dfe3937.33ca78",
+ "id": "396fb896.d1f828",
"type": "for",
"name": "For Number of data Points",
"xml": "<for index='id-is' start='0' end=\"`$tmp.payload.dataPoints`\" >",
"comments": "",
"outputs": 1,
- "x": 1386.7882080078125,
- "y": 2139.8994140625,
- "z": "4d7c5b65.634a04",
+ "x": 1363.1215515136719,
+ "y": 2126.8994178771973,
+ "z": "513be127.a07bb",
"wires": [
[
- "56d2328.ebe75cc"
+ "197dd02.8fd493"
]
]
},
{
- "id": "2f0d0bdc.3fe284",
+ "id": "f41ff585.b87188",
"type": "block",
"name": "get PLMNId",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1184.4167785644531,
- "y": 919.7501668930054,
- "z": "4d7c5b65.634a04",
+ "x": 1126.7501220703125,
+ "y": 1094.7501831054688,
+ "z": "513be127.a07bb",
"wires": [
[
- "fdccd5c2.f62b28",
- "e432dc1.4df992",
- "2376f7a2.cf75c8",
- "5c0646e3.0b0dd8",
- "c6230172.e0fc3",
- "ec44d6b8.c095e8",
- "2c66b2a5.586b9e"
+ "700ba82b.62cbe8",
+ "95147a7c.3155c8"
]
]
},
{
- "id": "b390b1db.dbb11",
+ "id": "102a8bbb.a515c4",
"type": "block",
"name": "Update NearRTRIC Config",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1112.1666870117188,
- "y": 1510.5,
- "z": "4d7c5b65.634a04",
+ "x": 1088.5000305175781,
+ "y": 1497.5000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "3e21d260.0305ae",
- "99f61b3f.7c9258",
- "4fcdfd93.2b2e94",
- "8c7da0b4.ffdc8",
- "b50c2ced.c3143",
- "8dd65b69.c1c0e8",
- "24ce1a1c.0c4dc6"
+ "17741f2e.70c0a1",
+ "670b6cb6.da9684",
+ "5f116544.d498fc",
+ "c776e8b8.6ecab8",
+ "da52d684.8fdc18",
+ "f6157bd6.6c8118",
+ "95147a7c.3155c8"
]
]
},
{
- "id": "6a98c3e2.10f9dc",
+ "id": "8e2bdda.a68132",
"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": 791.3541717529297,
- "y": 2122.625093460083,
- "z": "4d7c5b65.634a04",
+ "x": 767.6875152587891,
+ "y": 2109.6250972747803,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "88fbf49.5fc7708",
+ "id": "8a21bd26.48ec8",
"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": 732.8541488647461,
- "y": 2332.375202178955,
- "z": "4d7c5b65.634a04",
+ "x": 709.1874923706055,
+ "y": 2319.3752059936523,
+ "z": "513be127.a07bb",
"wires": [
[
- "f6a80048.4c96f",
- "6ef55787.17d028"
+ "660ad5bc.6baf9c",
+ "b50f3ab5.795e38"
]
]
},
{
- "id": "3332b0a3.18c75",
+ "id": "9c4ef17.059861",
"type": "outcome",
"name": "Not Mounted",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2055.416748046875,
- "y": 2063,
- "z": "4d7c5b65.634a04",
+ "x": 2031.7500915527344,
+ "y": 2050.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "9fe8a854.d9ada8"
+ "607050d6.4fd58"
]
]
},
{
- "id": "6e6bdcac.3f3144",
+ "id": "335d1762.3cac28",
"type": "outcome",
"name": "Mounted",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2042.4168014526367,
- "y": 2108.0001702308655,
- "z": "4d7c5b65.634a04",
+ "x": 2018.750144958496,
+ "y": 2095.0001740455627,
+ "z": "513be127.a07bb",
"wires": [
[
- "dbbfe50d.f18f78"
+ "39f56007.9f15"
]
]
},
{
- "id": "dbbfe50d.f18f78",
+ "id": "39f56007.9f15",
"type": "block",
"name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2226.4066162109375,
- "y": 2109.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 2202.739959716797,
+ "y": 2096.0002479553223,
+ "z": "513be127.a07bb",
"wires": [
[
- "c9d85598.6f2108",
- "4a5f9e34.0c641"
+ "75b8532d.68caac",
+ "53355d4b.015824"
]
]
},
{
- "id": "9fe8a854.d9ada8",
+ "id": "607050d6.4fd58",
"type": "block",
"name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2210.6182861328125,
- "y": 2062.59912109375,
- "z": "4d7c5b65.634a04",
+ "x": 2186.951629638672,
+ "y": 2049.5991249084473,
+ "z": "513be127.a07bb",
"wires": [
[
- "9a2c83bd.5dad5"
+ "83a733b4.c0b84"
]
]
},
{
- "id": "9a2c83bd.5dad5",
+ "id": "83a733b4.c0b84",
"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": 2484.416748046875,
- "y": 2062.00048828125,
- "z": "4d7c5b65.634a04",
+ "x": 2460.7500915527344,
+ "y": 2049.0004920959473,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "c9d85598.6f2108",
+ "id": "75b8532d.68caac",
"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": 2536.951177597046,
- "y": 2109.599466353655,
- "z": "4d7c5b65.634a04",
+ "x": 2513.2845211029053,
+ "y": 2096.599470168352,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "4a5f9e34.0c641",
+ "id": "53355d4b.015824",
"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": 2481.95166015625,
- "y": 2150.59912109375,
- "z": "4d7c5b65.634a04",
+ "x": 2458.2850036621094,
+ "y": 2137.5991249084473,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "afec3a59.277408",
+ "id": "52473cea.41fc74",
"type": "switchNode",
"name": "ransim mounted",
"xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1859.416748046875,
- "y": 2064,
- "z": "4d7c5b65.634a04",
+ "x": 1835.7500915527344,
+ "y": 2051.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "3332b0a3.18c75",
- "6e6bdcac.3f3144"
+ "9c4ef17.059861",
+ "335d1762.3cac28"
]
]
},
{
- "id": "c077a64b.c869f8",
+ "id": "a532217.38330e",
"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": 1849.416748046875,
- "y": 2103,
- "z": "4d7c5b65.634a04",
+ "x": 1825.7500915527344,
+ "y": 2090.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "56e26473.9cbccc",
+ "id": "8b0c09a6.a56a98",
"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": 1849.916748046875,
- "y": 2143,
- "z": "4d7c5b65.634a04",
+ "x": 1826.2500915527344,
+ "y": 2130.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "56d2328.ebe75cc",
+ "id": "197dd02.8fd493",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
+ "comments": "",
"outputs": 1,
- "x": 1606.4166259765625,
- "y": 2142,
- "z": "4d7c5b65.634a04",
+ "x": 1582.7499694824219,
+ "y": 2129.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "afec3a59.277408",
- "c077a64b.c869f8",
- "56e26473.9cbccc",
- "bb174bd1.753338",
- "ec554766.4f8778",
- "8381dddd.a8978",
- "f47c2242.987ea"
+ "52473cea.41fc74",
+ "a532217.38330e",
+ "8b0c09a6.a56a98",
+ "58f89da5.6d1ff4",
+ "b0fd7452.b53658",
+ "d3251489.710798",
+ "e99cf064.e7ce9"
]
]
},
{
- "id": "bb174bd1.753338",
+ "id": "58f89da5.6d1ff4",
"type": "for",
"name": "For Number of cells",
"xml": "<for index='id2' start='0' end=\"`$tmp.CUCellListEntries`\" >",
"comments": "",
"outputs": 1,
- "x": 1865.6668701171875,
- "y": 2253,
- "z": "4d7c5b65.634a04",
+ "x": 1842.0002136230469,
+ "y": 2240.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "80b017d0.e3d138"
+ "3c03d88f.a8f4f8"
]
]
},
{
- "id": "d39528dc.0aa948",
+ "id": "238904f6.a948dc",
"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": 2292.916748046875,
- "y": 2200.500244140625,
- "z": "4d7c5b65.634a04",
+ "x": 2257.25,
+ "y": 2148.500244140625,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "80b017d0.e3d138",
+ "id": "3c03d88f.a8f4f8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic=\"true\">",
"atomic": "true",
"outputs": 1,
- "x": 2068.4166259765625,
- "y": 2253,
- "z": "4d7c5b65.634a04",
+ "x": 2044.7499694824219,
+ "y": 2240.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "d39528dc.0aa948",
- "99d3e596.541268",
- "a8b88564.0e3ed8",
- "56bbe873.87ce18",
- "a9da99d0.023b68"
+ "238904f6.a948dc",
+ "2882106e.e905a",
+ "d9a8159a.7a0648",
+ "8d13cd7.0a0a63",
+ "2b840bed.80c574",
+ "7f422a47.f33af4",
+ "95147a7c.3155c8",
+ "3bdc030.15f9bfe"
]
]
},
{
- "id": "99d3e596.541268",
+ "id": "2882106e.e905a",
"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": 2349.1666259765625,
- "y": 2307.500244140625,
- "z": "4d7c5b65.634a04",
+ "x": 2325.499969482422,
+ "y": 2294.5002479553223,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "a8b88564.0e3ed8",
+ "id": "d9a8159a.7a0648",
"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": 2332.9166259765625,
- "y": 2379,
- "z": "4d7c5b65.634a04",
+ "x": 2309.249969482422,
+ "y": 2366.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "24363a2b.964e46",
- "bb57c66f.f72708"
+ "964f3ecf.3437f",
+ "e7049f51.e023"
]
]
},
{
- "id": "24363a2b.964e46",
+ "id": "964f3ecf.3437f",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2553.416748046875,
- "y": 2379.25,
- "z": "4d7c5b65.634a04",
+ "x": 2529.7500915527344,
+ "y": 2366.2500038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "c6c44ad.b771bb8"
+ "e7cea680.c59228"
]
]
},
{
- "id": "bb57c66f.f72708",
+ "id": "e7049f51.e023",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2549.9794921875,
- "y": 2415.8125,
- "z": "4d7c5b65.634a04",
+ "x": 2526.3128356933594,
+ "y": 2402.8125038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "e15a40fc.968c"
+ "409cda64.6de9e4"
]
]
},
{
- "id": "e15a40fc.968c",
+ "id": "409cda64.6de9e4",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2706.979248046875,
- "y": 2415.8125,
- "z": "4d7c5b65.634a04",
+ "x": 2683.3125915527344,
+ "y": 2402.8125038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "c203d45e.a94948",
- "af399e.80ed966",
- "53f6cef7.f7902"
+ "8d76d454.bc7f68",
+ "2dcc3c8f.bb2a04",
+ "9d694bfa.b7a508",
+ "fc231309.cfcd1"
]
]
},
{
- "id": "c6c44ad.b771bb8",
+ "id": "e7cea680.c59228",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2729.41650390625,
- "y": 2379.25,
- "z": "4d7c5b65.634a04",
+ "x": 2705.7498474121094,
+ "y": 2366.2500038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "de0a2639.6f4b28"
+ "beb41c3c.5e954"
]
]
},
{
- "id": "c203d45e.a94948",
+ "id": "8d76d454.bc7f68",
"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": 2922.979248046875,
- "y": 2451.8125,
- "z": "4d7c5b65.634a04",
+ "x": 2899.3125915527344,
+ "y": 2438.8125038146973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "af399e.80ed966",
+ "id": "2dcc3c8f.bb2a04",
"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": 2903.979736328125,
- "y": 2415.923583984375,
- "z": "4d7c5b65.634a04",
+ "x": 2880.3130798339844,
+ "y": 2402.9235877990723,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "de0a2639.6f4b28",
+ "id": "beb41c3c.5e954",
"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\"/>",
+ "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 patched NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2904.166259765625,
- "y": 2380.000244140625,
- "z": "4d7c5b65.634a04",
+ "x": 2880.4996032714844,
+ "y": 2367.0002479553223,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "8142a0c0.4e5e5",
+ "id": "277a3d68.dd2e52",
"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": 1165.1666259765625,
- "y": 1951.9998779296875,
- "z": "4d7c5b65.634a04",
+ "x": 1141.4999694824219,
+ "y": 1938.9998817443848,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "ec554766.4f8778",
+ "id": "b0fd7452.b53658",
"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": 1861.6666259765625,
- "y": 2179.25,
- "z": "4d7c5b65.634a04",
+ "x": 1837.9999694824219,
+ "y": 2166.2500038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "8381dddd.a8978",
+ "id": "d3251489.710798",
"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",
+ "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<parameter name=\"field3\" value=\"`$tmp.gNBCUName`\" />\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1827.6666259765625,
- "y": 2217.25,
- "z": "4d7c5b65.634a04",
+ "x": 1803.9999694824219,
+ "y": 2204.2500038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "56bbe873.87ce18",
+ "id": "8d13cd7.0a0a63",
"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": 2278.4168701171875,
- "y": 2342.75,
- "z": "4d7c5b65.634a04",
+ "x": 2254.750213623047,
+ "y": 2329.7500038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "f47c2242.987ea",
+ "id": "e99cf064.e7ce9",
"type": "set",
"name": "set Temp Variables",
- "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>",
+ "xml": "<set>\n<parameter name=\"tmp.nearRTRICId\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].nearRTRICId`\"/>\n<parameter name=\"tmp.gNBCUName\" value=\"`$payloadJson.input.additionalproperties.resourceConfig.data[$id-is].gNBCUName`\"/>\n\n",
"comments": "",
- "x": 1869.1666259765625,
- "y": 2027.5,
- "z": "4d7c5b65.634a04",
+ "x": 1845.4999694824219,
+ "y": 2014.5000038146973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "3093a6b1.44582a",
+ "id": "344eb1aa.d1cc4e",
"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": 2323.9791259765625,
- "y": 2271.625,
- "z": "4d7c5b65.634a04",
+ "x": 2300.312469482422,
+ "y": 2258.6250038146973,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "a9da99d0.023b68",
+ "id": "2b840bed.80c574",
"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": 2321.916748046875,
- "y": 2235.75,
- "z": "4d7c5b65.634a04",
+ "x": 2298.2500915527344,
+ "y": 2222.7500038146973,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "a837a263.556b8",
+ "id": "f6b9f7d2.efcaf8",
"type": "switchNode",
"name": "check nearrtric",
"xml": "<switch test='`$tmp.nearRTRICId == 11 `'>\n",
"comments": "",
"outputs": 1,
- "x": 1297.0667724609375,
- "y": 215,
- "z": "4d7c5b65.634a04",
+ "x": 1273.4001159667969,
+ "y": 202.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "ee6e09df.17f748",
- "44ef0006.28225"
+ "15feed92.70ff22",
+ "c662724a.83d0e"
]
]
},
{
- "id": "ee6e09df.17f748",
+ "id": "15feed92.70ff22",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1526.2669677734375,
- "y": 34.000003814697266,
- "z": "4d7c5b65.634a04",
+ "x": 1502.6003112792969,
+ "y": 21.00000762939453,
+ "z": "513be127.a07bb",
"wires": [
[
- "29f7310a.05b4de"
+ "96acbe01.e65cc"
]
]
},
{
- "id": "44ef0006.28225",
+ "id": "c662724a.83d0e",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1525.066650390625,
- "y": 145,
- "z": "4d7c5b65.634a04",
+ "x": 1501.3999938964844,
+ "y": 132.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "6a8e5244.2ed45c"
+ "19b85aab.8fe4f5"
]
]
},
{
- "id": "9071a476.518048",
+ "id": "316217c6.cc61a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1295.066650390625,
- "y": 271,
- "z": "4d7c5b65.634a04",
+ "x": 1271.3999938964844,
+ "y": 258.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "c8208c39.b463b"
+ "d1b8244d.9ebc68"
]
]
},
{
- "id": "c8208c39.b463b",
+ "id": "d1b8244d.9ebc68",
"type": "execute",
"name": "check policytype",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.policytype.url`\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='GET' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='get-policytypes-responsse' />",
"comments": "",
"outputs": 1,
- "x": 1550.666748046875,
- "y": 276,
- "z": "4d7c5b65.634a04",
+ "x": 1527.0000915527344,
+ "y": 263.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "1c68fa89.5794b5",
- "67b1fe4a.998a"
+ "a307e888.184eb8",
+ "4ae3b4c6.722a5c"
]
]
},
{
- "id": "1c68fa89.5794b5",
+ "id": "a307e888.184eb8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1756.6668701171875,
- "y": 215,
- "z": "4d7c5b65.634a04",
+ "x": 1733.0002136230469,
+ "y": 202.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "8d49bba.3039b48"
+ "164836ca.d93ea9"
]
]
},
{
- "id": "8d49bba.3039b48",
+ "id": "164836ca.d93ea9",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2050.6669921875,
- "y": 212.56729125976562,
- "z": "4d7c5b65.634a04",
+ "x": 2027.0003356933594,
+ "y": 199.5672950744629,
+ "z": "513be127.a07bb",
"wires": [
[
- "4a65dabe.68fdc4",
- "9831832b.09cf5",
- "652eb8b4.5e5758",
- "b608e3ec.3ad0a"
+ "3e751117.36b6de",
+ "6876325e.659e4c",
+ "351b39b3.97e466",
+ "240b8dcb.ff8022"
]
]
},
{
- "id": "4a65dabe.68fdc4",
+ "id": "3e751117.36b6de",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy types length \"/>\n<parameter name=\"field2\" value=\"`$tmp.policytypelength`\"/>",
"comments": "",
"outputs": 1,
- "x": 2367.6669921875,
- "y": 90.5672836303711,
- "z": "4d7c5b65.634a04",
+ "x": 2344.0003356933594,
+ "y": 77.56728744506836,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "67b1fe4a.998a",
+ "id": "4ae3b4c6.722a5c",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1754.6666259765625,
- "y": 273.5673522949219,
- "z": "4d7c5b65.634a04",
+ "x": 1730.9999694824219,
+ "y": 260.56735610961914,
+ "z": "513be127.a07bb",
"wires": [
[
- "a99e6308.eb03b"
+ "c29a196c.5673a8"
]
]
},
{
- "id": "a99e6308.eb03b",
+ "id": "c29a196c.5673a8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2049.6666259765625,
- "y": 270.5673522949219,
- "z": "4d7c5b65.634a04",
+ "x": 2025.9999694824219,
+ "y": 257.56735610961914,
+ "z": "513be127.a07bb",
"wires": [
[
- "a4fee6d5.fd3a68"
+ "840b0219.61cc7"
]
]
},
{
- "id": "a4fee6d5.fd3a68",
+ "id": "840b0219.61cc7",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"req error \"/>\n<parameter name=\"field2\" value=\"Failure\"/>",
"comments": "",
"outputs": 1,
- "x": 2248.66650390625,
- "y": 269.5673522949219,
- "z": "4d7c5b65.634a04",
+ "x": 2224.9998474121094,
+ "y": 256.56735610961914,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "9831832b.09cf5",
+ "id": "6876325e.659e4c",
"type": "execute",
"name": "getpolicylength",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.policytypelength' />\n\t<parameter name='source' value=\"`'get-policytypes-responsse._length'`\" />",
"comments": "",
"outputs": 1,
- "x": 2392.3564453125,
- "y": 38,
- "z": "4d7c5b65.634a04",
+ "x": 2368.6897888183594,
+ "y": 25.000003814697266,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "652eb8b4.5e5758",
+ "id": "351b39b3.97e466",
"type": "switchNode",
"name": "check the action",
"xml": "<switch test='`$tmp.policytypelength > 0`'>\n",
"comments": "",
"outputs": 1,
- "x": 2398.6669921875,
- "y": 149,
- "z": "4d7c5b65.634a04",
+ "x": 2375.0003356933594,
+ "y": 136.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "b13e9298.92709",
- "4ace453e.713c1c"
+ "3f01a2c5.9a0d7e",
+ "aee50f4a.503d6"
]
]
},
{
- "id": "b13e9298.92709",
+ "id": "3f01a2c5.9a0d7e",
"type": "outcome",
"name": "True",
"xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 2653.266845703125,
- "y": 97,
- "z": "4d7c5b65.634a04",
+ "x": 2629.6001892089844,
+ "y": 84.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "3e49e38c.34499c"
+ "400472c.c544a8c"
]
]
},
{
- "id": "4ace453e.713c1c",
+ "id": "aee50f4a.503d6",
"type": "outcome",
"name": "False",
"xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 2657.266845703125,
- "y": 147,
- "z": "4d7c5b65.634a04",
+ "x": 2633.6001892089844,
+ "y": 134.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "183652da.4b65ed"
+ "c6baa2d8.f8c4f"
]
]
},
{
- "id": "3e49e38c.34499c",
+ "id": "400472c.c544a8c",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2861.266845703125,
- "y": 96,
- "z": "4d7c5b65.634a04",
+ "x": 2837.6001892089844,
+ "y": 83.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "b477f524.5c3698"
+ "88b62a94.90a5e8"
]
]
},
{
- "id": "183652da.4b65ed",
+ "id": "c6baa2d8.f8c4f",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2860.26708984375,
- "y": 148,
- "z": "4d7c5b65.634a04",
+ "x": 2836.6004333496094,
+ "y": 135.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "a29b2a1e.131ca8",
- "38c0245d.21204c"
+ "a9e2a1d0.323aa",
+ "f81019b2.90f4b8"
]
]
},
{
- "id": "b477f524.5c3698",
+ "id": "88b62a94.90a5e8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"policy type already exists \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
"comments": "",
"outputs": 1,
- "x": 3047.266845703125,
- "y": 96,
- "z": "4d7c5b65.634a04",
+ "x": 3023.6001892089844,
+ "y": 83.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "a29b2a1e.131ca8",
+ "id": "a9e2a1d0.323aa",
"type": "execute",
"name": "create policytype",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policytype.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap' />",
"comments": "",
"outputs": 1,
- "x": 3087.26708984375,
- "y": 193,
- "z": "4d7c5b65.634a04",
+ "x": 3063.6004333496094,
+ "y": 180.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "ca1434a0.d4db48"
+ "b3c271c4.ae008"
]
]
},
{
- "id": "38c0245d.21204c",
+ "id": "f81019b2.90f4b8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"creating new policy \"/>\n<parameter name=\"field2\" value=\"SUCCESSFULL\"/>",
"comments": "",
"outputs": 1,
- "x": 3052.067138671875,
- "y": 147,
- "z": "4d7c5b65.634a04",
+ "x": 3028.4004821777344,
+ "y": 134.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "ca1434a0.d4db48",
+ "id": "b3c271c4.ae008",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3273.07763671875,
- "y": 192.20010375976562,
- "z": "4d7c5b65.634a04",
+ "x": 3249.4109802246094,
+ "y": 179.2001075744629,
+ "z": "513be127.a07bb",
"wires": [
[
- "5b25ef14.6ec01"
+ "9fd5149c.f92e98"
]
]
},
{
- "id": "18d541d4.e97b9e",
+ "id": "625b8c53.b12834",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policytype \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
"comments": "",
"outputs": 1,
- "x": 3623.666748046875,
- "y": 191,
- "z": "4d7c5b65.634a04",
+ "x": 3600.0000915527344,
+ "y": 178.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "5b25ef14.6ec01",
+ "id": "9fd5149c.f92e98",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3434.666748046875,
- "y": 191,
- "z": "4d7c5b65.634a04",
+ "x": 3411.0000915527344,
+ "y": 178.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "18d541d4.e97b9e"
+ "625b8c53.b12834"
]
]
},
{
- "id": "b608e3ec.3ad0a",
+ "id": "240b8dcb.ff8022",
"type": "execute",
"name": "create policyinstance ",
"xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/A1policyinstance.json'`\" />\n<parameter name=\"restapiUrl\" value=\"https://10.31.4.11:30226/events/A1-P\"/>\n<parameter name='format' value='json' />\n<parameter name='httpMethod' value='POST' />\n<parameter name='contentType' value='application/json' />\n<parameter name='responsePrefix' value='dmaap-res' />",
"comments": "",
"outputs": 1,
- "x": 2412.86669921875,
- "y": 210,
- "z": "4d7c5b65.634a04",
+ "x": 2389.2000427246094,
+ "y": 197.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "62b5f7bc.ce57e8"
+ "da400c55.da78b"
]
]
},
{
- "id": "7378693d.36ae88",
+ "id": "bcc855c7.88a3f8",
"type": "record",
"name": "record",
"xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/closedLoop.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Create policyinstance \"/>\n<parameter name=\"field2\" value=\"Succesfull\"/>",
"comments": "",
"outputs": 1,
- "x": 3069.2666015625,
- "y": 253,
- "z": "4d7c5b65.634a04",
+ "x": 3045.5999450683594,
+ "y": 240.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "cfd54615.7b8778",
+ "id": "4c527da9.d78154",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2871.266357421875,
- "y": 211,
- "z": "4d7c5b65.634a04",
+ "x": 2847.5997009277344,
+ "y": 198.00000381469727,
+ "z": "513be127.a07bb",
"wires": [
[
- "7378693d.36ae88"
+ "bcc855c7.88a3f8"
]
]
},
{
- "id": "62b5f7bc.ce57e8",
+ "id": "da400c55.da78b",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2664.26611328125,
- "y": 211.199951171875,
- "z": "4d7c5b65.634a04",
+ "x": 2640.5994567871094,
+ "y": 198.19995498657227,
+ "z": "513be127.a07bb",
"wires": [
[
- "cfd54615.7b8778"
+ "4c527da9.d78154"
]
]
},
{
- "id": "29f7310a.05b4de",
+ "id": "96acbe01.e65cc",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric11`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric11`\"/>\n",
"comments": "",
- "x": 1774.4666748046875,
- "y": 32.999996185302734,
- "z": "4d7c5b65.634a04",
+ "x": 1750.8000183105469,
+ "y": 20,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "6a8e5244.2ed45c",
+ "id": "19b85aab.8fe4f5",
"type": "set",
"name": "set Temp Variables",
"xml": "<set>\n<parameter name='tmp.policytype.url' value='`$prop.a1.policytype.url.nearrtric22`'/>\n<parameter name=\"tmp.policyinstance.url\" value=\"`$prop.a1.policyinstance.url.nearrtric22`\"/>\n",
"comments": "",
- "x": 1763.4666748046875,
- "y": 144,
- "z": "4d7c5b65.634a04",
+ "x": 1739.8000183105469,
+ "y": 131.00000381469727,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "e77514ee.b9e588",
+ "id": "7cdaabe8.1f36d4",
"type": "comment",
"name": "A1-adaptor simulators",
"info": "Currently have configured to support 2 near-rt-ric simulators.\nNear-rt-ric simulators has to be run separately and corresponding ip can be configured in the properties file",
"comments": "",
- "x": 804.6666564941406,
- "y": 35.99999713897705,
- "z": "4d7c5b65.634a04",
+ "x": 781,
+ "y": 23.000000953674316,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "fdccd5c2.f62b28",
- "type": "execute",
- "name": "getAnchors URL",
- "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "id": "700ba82b.62cbe8",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 1462.3333740234375,
- "y": 787.3333778381348,
- "z": "4d7c5b65.634a04",
+ "x": 1416.5345458984375,
+ "y": 1095.1790161132812,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "efa6fdc7.0049f"
+ ]
]
},
{
- "id": "e432dc1.4df992",
- "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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "id": "efa6fdc7.0049f",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1430.5833740234375,
- "y": 830.0833787918091,
- "z": "4d7c5b65.634a04",
+ "x": 1626.222412109375,
+ "y": 1095.333251953125,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "b3149659.c00418",
+ "90fa1998.ffbec8"
+ ]
]
},
{
- "id": "2376f7a2.cf75c8",
+ "id": "b3149659.c00418",
"type": "execute",
- "name": "Get list of anchors from CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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\"/>",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1498.3889541625977,
- "y": 874.2499656677246,
- "z": "4d7c5b65.634a04",
+ "x": 1873.882968902588,
+ "y": 1094.5123281478882,
+ "z": "513be127.a07bb",
"wires": [
- [
- "e2c43f8b.794dd",
- "b0c9797.521a888"
- ]
+ []
]
},
{
- "id": "5c0646e3.0b0dd8",
- "type": "execute",
- "name": "set anchors size",
- "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "id": "90fa1998.ffbec8",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1457.737995147705,
- "y": 921.1542634963989,
- "z": "4d7c5b65.634a04",
+ "x": 1894.8549728393555,
+ "y": 1167.7623310089111,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "f40bc9af.d6a3a8"
+ ]
]
},
{
- "id": "c6230172.e0fc3",
- "type": "execute",
- "name": "initialize nearRTRIC size",
- "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"0\"/>\n\t",
+ "id": "f40bc9af.d6a3a8",
+ "type": "outcome",
+ "name": "if ran-inventory",
+ "xml": "<outcome value='ran-inventory'>\n",
"comments": "",
"outputs": 1,
- "x": 1481.1854248046875,
- "y": 970.8210124969482,
- "z": "4d7c5b65.634a04",
+ "x": 2117.660400390625,
+ "y": 1168.2344970703125,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "75bb8c23.1f2114"
+ ]
]
},
{
- "id": "ec44d6b8.c095e8",
- "type": "for",
- "name": "For anchorsList",
- "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "id": "75bb8c23.1f2114",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1453.1852645874023,
- "y": 1015.8611345291138,
- "z": "4d7c5b65.634a04",
+ "x": 2327.722915649414,
+ "y": 1167.8332104682922,
+ "z": "513be127.a07bb",
"wires": [
[
- "540f1da.0b193e4"
+ "1b814dca.ea75d2",
+ "f94e3553.4bb888",
+ "3f6307bc.18b9e8",
+ "e6f44041.cb2f2",
+ "a4307efb.aa7b6",
+ "4bcb2812.d2a498",
+ "afd12c75.342f3",
+ "aaf77a55.80b748"
]
]
},
{
- "id": "2c66b2a5.586b9e",
- "type": "for",
- "name": "For anchorsList",
- "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "id": "17741f2e.70c0a1",
+ "type": "switchNode",
+ "name": "ransim mounted",
+ "xml": "<switch test='`$prop.ransim-mounted`'>\n",
"comments": "",
"outputs": 1,
- "x": 1453.2012100219727,
- "y": 1063.179027557373,
- "z": "4d7c5b65.634a04",
+ "x": 1424.3333435058594,
+ "y": 1286.0000038146973,
+ "z": "513be127.a07bb",
"wires": [
[
- "11aaa3ed.4a924c"
+ "1e47cef9.f29151",
+ "677948dd.2dc1d8"
]
]
},
{
- "id": "b0c9797.521a888",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "1e47cef9.f29151",
+ "type": "outcome",
+ "name": "Not Mounted",
+ "xml": "<outcome value='false'>\n",
"comments": "",
"outputs": 1,
- "x": 1753.6947021484375,
- "y": 833.8888549804688,
- "z": "4d7c5b65.634a04",
+ "x": 1638.3331909179688,
+ "y": 1286.9997596740723,
+ "z": "513be127.a07bb",
"wires": [
[
- "3b9f2e5f.af4d02"
+ "f6ca17aa.4a3fb8"
]
]
},
{
- "id": "e2c43f8b.794dd",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "677948dd.2dc1d8",
+ "type": "outcome",
+ "name": "Mounted",
+ "xml": "<outcome value='true'>\n",
"comments": "",
"outputs": 1,
- "x": 1754.6947021484375,
- "y": 873.0833129882812,
- "z": "4d7c5b65.634a04",
+ "x": 1630.3333892822266,
+ "y": 1328.999843597412,
+ "z": "513be127.a07bb",
"wires": [
[
- "7cc3fcae.700414"
+ "4493ca7c.164de4"
]
]
},
{
- "id": "540f1da.0b193e4",
+ "id": "4493ca7c.164de4",
"type": "block",
- "name": "block : atomic",
+ "name": "ransim URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1678.574104309082,
- "y": 1016.3888845443726,
- "z": "4d7c5b65.634a04",
+ "x": 1804.3233070373535,
+ "y": 1328.999843597412,
+ "z": "513be127.a07bb",
"wires": [
[
- "b2a6435.8b0e5c",
- "6da28c56.8f5794"
+ "fc696b6f.adcce8",
+ "c042c902.fb3eb8"
]
]
},
{
- "id": "11aaa3ed.4a924c",
+ "id": "f6ca17aa.4a3fb8",
"type": "block",
- "name": "block : atomic",
+ "name": "URL",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1673.889045715332,
- "y": 1066.3332452774048,
- "z": "4d7c5b65.634a04",
+ "x": 1800.534854888916,
+ "y": 1287.5989627838135,
+ "z": "513be127.a07bb",
"wires": [
[
- "f7ee7f22.d5598",
- "a941c0ab.620a"
+ "bd76421e.a2177"
]
]
},
{
- "id": "3b9f2e5f.af4d02",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "id": "bd76421e.a2177",
+ "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": 2097.3333625793457,
+ "y": 1288.0001678466797,
+ "z": "513be127.a07bb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "fc696b6f.adcce8",
+ "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": 2098.8678665161133,
+ "y": 1329.5992889404297,
+ "z": "513be127.a07bb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "c042c902.fb3eb8",
+ "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": 2039.8681945800781,
+ "y": 1370.5989656448364,
+ "z": "513be127.a07bb",
+ "wires": [
+ []
+ ]
+ },
+ {
+ "id": "670b6cb6.da9684",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 1909.3890380859375,
- "y": 833.5001831054688,
- "z": "4d7c5b65.634a04",
+ "x": 1429.9510879516602,
+ "y": 1593.8457098007202,
+ "z": "513be127.a07bb",
"wires": [
[
- "563dd411.ce4bec",
- "87f2b4f1.95cd08"
+ "4e14c9d3.6c6ae8"
]
]
},
{
- "id": "7cc3fcae.700414",
+ "id": "4e14c9d3.6c6ae8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1929.138916015625,
- "y": 873.7499389648438,
- "z": "4d7c5b65.634a04",
+ "x": 1619.6387557983398,
+ "y": 1596.000005722046,
+ "z": "513be127.a07bb",
"wires": [
[
- "c7360c2e.2ad2",
- "ddff613a.99f4"
+ "ce56b9ce.c3b9a8",
+ "39e7d374.11df1c"
]
]
},
{
- "id": "6da28c56.8f5794",
+ "id": "ce56b9ce.c3b9a8",
"type": "execute",
"name": "read schemaSet",
"xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 1902.2378463745117,
- "y": 963.2931804656982,
- "z": "4d7c5b65.634a04",
+ "x": 1864.2995681762695,
+ "y": 1590.179042816162,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "b2a6435.8b0e5c",
+ "id": "39e7d374.11df1c",
"type": "switchNode",
"name": "check schemaSetName",
"xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 1925.7223815917969,
- "y": 1015.3888854980469,
- "z": "4d7c5b65.634a04",
+ "x": 1889.2715759277344,
+ "y": 1637.4290447235107,
+ "z": "513be127.a07bb",
"wires": [
[
- "7d5e20cf.b122f"
+ "b5ee1a85.0829b8"
]
]
},
{
- "id": "f7ee7f22.d5598",
- "type": "execute",
- "name": "read schemaSet",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "id": "b5ee1a85.0829b8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 1905.5495338439941,
- "y": 1070.5123624801636,
- "z": "4d7c5b65.634a04",
+ "x": 2115.077247619629,
+ "y": 1635.9012126922607,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "4b6dd38f.7d4acc"
+ ]
]
},
{
- "id": "a941c0ab.620a",
- "type": "switchNode",
- "name": "check schemaSetName",
- "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "id": "4b6dd38f.7d4acc",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1926.5215377807617,
- "y": 1143.7623653411865,
- "z": "4d7c5b65.634a04",
+ "x": 2307.139347076416,
+ "y": 1635.5000066757202,
+ "z": "513be127.a07bb",
"wires": [
[
- "beea823c.d83c8"
+ "4dc8ca92.8f7344",
+ "50a5816f.e3dec",
+ "3e8bbe48.8f6a72",
+ "7f28ad4.b113354",
+ "5f608acc.d3e534",
+ "ff1f8d4f.1c228",
+ "bbbe4cfd.aa908",
+ "c47ce08d.a909c",
+ "39a53327.ab28dc",
+ "e87c0a41.27d578",
+ "60503363.b2756c",
+ "a55d3a5b.3d31a8"
]
]
},
{
- "id": "563dd411.ce4bec",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "id": "1b814dca.ea75d2",
+ "type": "execute",
+ "name": "read sliceProfileId from input",
+ "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
"comments": "",
- "x": 2125.1665649414062,
- "y": 796.3332138061523,
- "z": "4d7c5b65.634a04",
- "wires": []
+ "outputs": 1,
+ "x": 2647.000129699707,
+ "y": 1035.9999618530273,
+ "z": "513be127.a07bb",
+ "wires": [
+ []
+ ]
},
{
- "id": "87f2b4f1.95cd08",
+ "id": "f94e3553.4bb888",
"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=\"Failed to fetch anchors from CPS\"/>",
+ "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=\"sliceprofileid from input\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2123.972412109375,
- "y": 832.8610229492188,
- "z": "4d7c5b65.634a04",
+ "x": 2580.000129699707,
+ "y": 1069.9999618530273,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "c7360c2e.2ad2",
- "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
+ "id": "3f6307bc.18b9e8",
+ "type": "execute",
+ "name": "generate plmnid URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 2127.888427734375,
- "y": 873.9998779296875,
- "z": "4d7c5b65.634a04",
+ "x": 2636.639347076416,
+ "y": 1102.9834051132202,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "ddff613a.99f4",
+ "id": "e6f44041.cb2f2",
"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-context.log' />",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid`\"/>",
"comments": "",
"outputs": 1,
- "x": 2144.4166259765625,
- "y": 916.7498779296875,
- "z": "4d7c5b65.634a04",
+ "x": 2628.639347076416,
+ "y": 1136.5833415985107,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "7d5e20cf.b122f",
- "type": "outcome",
- "name": "if ran-inventory",
- "xml": "<outcome value='ran-inventory'>\n",
+ "id": "a4307efb.aa7b6",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "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=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2142.0278930664062,
- "y": 1015.8611354827881,
- "z": "4d7c5b65.634a04",
+ "x": 2655.639316558838,
+ "y": 1171.7834553718567,
+ "z": "513be127.a07bb",
"wires": [
- [
- "29a681d4.fadf1e"
- ]
+ []
]
},
{
- "id": "beea823c.d83c8",
- "type": "outcome",
- "name": "if ran-inventory",
- "xml": "<outcome value='ran-inventory'>\n",
+ "id": "4bcb2812.d2a498",
+ "type": "execute",
+ "name": "Get pLMNId mcc, mnc from sliceprofileID",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnid-cps-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": 2149.3269653320312,
- "y": 1144.234531402588,
- "z": "4d7c5b65.634a04",
+ "x": 2684.6396446228027,
+ "y": 1206.7833800315857,
+ "z": "513be127.a07bb",
"wires": [
[
- "9d9e9816.080208"
+ "23a4a799.9b6888",
+ "c72af35e.c366e"
]
]
},
{
- "id": "29a681d4.fadf1e",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "23a4a799.9b6888",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2327.3301391601562,
- "y": 1016.1943836212158,
- "z": "4d7c5b65.634a04",
+ "x": 2951.4167671203613,
+ "y": 1146.6943154335022,
+ "z": "513be127.a07bb",
"wires": [
[
- "f3425f7f.85797",
- "d160bcca.e09da"
+ "ae56da96.03a168"
]
]
},
{
- "id": "9d9e9816.080208",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "c72af35e.c366e",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2350.462715148926,
- "y": 1144.456699371338,
- "z": "4d7c5b65.634a04",
+ "x": 2957.6386756896973,
+ "y": 1207.5833497047424,
+ "z": "513be127.a07bb",
"wires": [
[
- "f8577db4.f2c6d",
- "eeb6c5cb.590e98"
+ "dc58656a.6c97f8"
]
]
},
{
- "id": "d160bcca.e09da",
- "type": "execute",
- "name": "set nearRTRIC size",
- "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "id": "ae56da96.03a168",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2563.301338195801,
- "y": 962.6789206266403,
- "z": "4d7c5b65.634a04",
+ "x": 3129.639003753662,
+ "y": 1146.5831174850464,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "4bc0dc54.162a84",
+ "be287d98.8fce2",
+ "ba10a7c1.229f48",
+ "9d694bfa.b7a508"
+ ]
]
},
{
- "id": "f3425f7f.85797",
- "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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "id": "dc58656a.6c97f8",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2520.243724822998,
- "y": 1014.9998874664307,
- "z": "4d7c5b65.634a04",
+ "x": 3127.527675628662,
+ "y": 1207.4721035957336,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "3ac29824.416758",
+ "60bc452b.487fbc",
+ "2fb3c15f.93ca2e"
+ ]
]
},
{
- "id": "f8577db4.f2c6d",
- "type": "execute",
- "name": "read anchorName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "id": "be287d98.8fce2",
+ "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=\"Failed to obtain MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2578.444496154785,
- "y": 1094.1110763549805,
- "z": "4d7c5b65.634a04",
+ "x": 3313.3331871032715,
+ "y": 1066.6668195724487,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "eeb6c5cb.590e98",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "4bc0dc54.162a84",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "outputs": 1,
- "x": 2591.3894805908203,
- "y": 1142.8332448005676,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "bd769a90.99e7c8",
- "75163575.78825c",
- "f5f59c7b.34b9c",
- "705651e1.fb1af",
- "4a4a3fa0.89175",
- "5bfa480.41ee8b8",
- "8bbc2989.076ef8",
- "a048785c.f71c98",
- "e652ad9b.67808",
- "a000499.2be4cb8",
- "874b4b23.cea4d8",
- "72160438.6565fc"
- ]
- ]
+ "x": 3313.1945152282715,
+ "y": 1017.4721565246582,
+ "z": "513be127.a07bb",
+ "wires": []
},
{
- "id": "874b4b23.cea4d8",
+ "id": "60bc452b.487fbc",
"type": "execute",
- "name": "read sliceProfileId from input",
- "xml": "<set>\n<parameter name='tmp.sliceprofileid' value=\"`$payloadJson.input.sliceProfile.sliceProfileId`\" />",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mcc'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2941.999813079834,
- "y": 916.9998564720154,
- "z": "4d7c5b65.634a04",
+ "x": 3381.3503608703613,
+ "y": 1170.4496865272522,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "72160438.6565fc",
+ "id": "3ac29824.416758",
"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=\"sliceprofileid from input\"/>\n<parameter name=\"field2\" value=\"`$tmp.sliceprofileid`\"/>\n",
+ "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 MCC, MNC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$tmp.plmn.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmn.mnc`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 2869.999813079834,
- "y": 953.9998564720154,
- "z": "4d7c5b65.634a04",
+ "x": 3323.1394233703613,
+ "y": 1245.8332314491272,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "bd769a90.99e7c8",
- "type": "execute",
- "name": "generate plmnid URL cps",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "id": "ba10a7c1.229f48",
+ "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": "",
- "outputs": 1,
- "x": 2923.639030456543,
- "y": 986.9832997322083,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
+ "x": 3331.9998512268066,
+ "y": 1105.999990940094,
+ "z": "513be127.a07bb",
+ "wires": []
},
{
- "id": "75163575.78825c",
+ "id": "2fb3c15f.93ca2e",
"type": "execute",
- "name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid-mcc`\"/>",
+ "name": "read nearRTRICId-PLMN",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnid-cps-response.[0].mnc'`\" />\n",
"comments": "",
"outputs": 1,
- "x": 2920.639030456543,
- "y": 1025.5832362174988,
- "z": "4d7c5b65.634a04",
+ "x": 3379.6670112609863,
+ "y": 1208.0001015663147,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "f5f59c7b.34b9c",
+ "id": "afd12c75.342f3",
+ "type": "set",
+ "name": "set mcc & mnc Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
+ "comments": "",
+ "x": 2634.6670265197754,
+ "y": 1242.333445072174,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "aaf77a55.80b748",
"type": "record",
- "name": "record TBDMT RestAPI params",
- "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=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNID.url`\" />",
+ "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=\"mcc,mnc values...\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
"comments": "",
"outputs": 1,
- "x": 2945.638999938965,
- "y": 1068.7833499908447,
- "z": "4d7c5b65.634a04",
+ "x": 2578.66703414917,
+ "y": 1276.333445072174,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "705651e1.fb1af",
- "type": "execute",
- "name": "Get pLMNIdmcc from sliceprofileID",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmccid-cps-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\"/>",
+ "id": "4dc8ca92.8f7344",
+ "type": "set",
+ "name": "set Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n<parameter name='tmp.configParameter' value='`dLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.dLThptPerSlice`' />",
+ "comments": "",
+ "x": 2597.000171661377,
+ "y": 1471.999979019165,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "50a5816f.e3dec",
+ "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=\"Inputs\"/>\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.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
"comments": "",
"outputs": 1,
- "x": 2954.6393280029297,
- "y": 1111.7832746505737,
- "z": "4d7c5b65.634a04",
+ "x": 2576.8053436279297,
+ "y": 1504.6664958000183,
+ "z": "513be127.a07bb",
"wires": [
- [
- "d8528e68.284ff",
- "bcb36ade.065ef8"
- ]
+ []
]
},
{
- "id": "4a4a3fa0.89175",
+ "id": "3e8bbe48.8f6a72",
"type": "execute",
- "name": "generate plmnid URL cps",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "name": "generate dLThptPerSliceURL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 2917.639015197754,
- "y": 1154.9833045005798,
- "z": "4d7c5b65.634a04",
+ "x": 2653.4722061157227,
+ "y": 1537.6666736602783,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "5bfa480.41ee8b8",
+ "id": "7f28ad4.b113354",
"type": "execute",
"name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.getPLMNMNCID.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.get-plmnid-mnc`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
"comments": "",
"outputs": 1,
- "x": 2918.4390258789062,
- "y": 1195.583240032196,
- "z": "4d7c5b65.634a04",
+ "x": 2619.4722061157227,
+ "y": 1573.2666101455688,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "8bbc2989.076ef8",
+ "id": "5f608acc.d3e534",
"type": "record",
"name": "record TBDMT RestAPI params",
- "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=\"URL for CPS TDBMT to Get plmnid from sliceprofile\"/>\n<parameter name='field2' value=\"`$tmp.cps.getPLMNMNCID.url`\" />",
+ "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=\"URL for CPS TDBMT to patch dLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchconfigData.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2941.439022064209,
- "y": 1233.7833037376404,
- "z": "4d7c5b65.634a04",
+ "x": 2645.4720458984375,
+ "y": 1609.466480255127,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "a048785c.f71c98",
+ "id": "ff1f8d4f.1c228",
"type": "execute",
- "name": "Get pLMNIdmnc from sliceprofileID",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.getPLMNMNCID.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-get-plmnid.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"getplmnmncid-cps-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\"/>",
+ "name": "patch dLThptPerSlice",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchdLThptPerSlice-cps-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": 2949.438804626465,
- "y": 1274.783281326294,
- "z": "4d7c5b65.634a04",
+ "x": 2612.472007751465,
+ "y": 1644.4664916992188,
+ "z": "513be127.a07bb",
"wires": [
[
- "c5be1942.f9e138",
- "22fb40b8.c923f"
+ "e3fb6c6a.05a4",
+ "28104511.b614da"
]
]
},
{
- "id": "e652ad9b.67808",
- "type": "set",
- "name": "set mcc & mnc Variables",
- "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.plmn.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.plmn.mnc`'/>",
- "comments": "",
- "x": 2916.099937438965,
- "y": 1319.9501123428345,
- "z": "4d7c5b65.634a04",
- "wires": []
- },
- {
- "id": "a000499.2be4cb8",
- "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=\"mcc,mnc values...\"/>\n<parameter name=\"field2\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field3\" value=\"`$tmp.mnc`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2867.9723320007324,
- "y": 1363.7923183441162,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "d8528e68.284ff",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3242.4163551330566,
- "y": 1029.69424533844,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "377995a1.42065a"
- ]
- ]
- },
- {
- "id": "bcb36ade.065ef8",
+ "id": "28104511.b614da",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3247.638359069824,
- "y": 1110.5832443237305,
- "z": "4d7c5b65.634a04",
+ "x": 2861.471405029297,
+ "y": 1643.2662868499756,
+ "z": "513be127.a07bb",
"wires": [
[
- "f6a6ebc6.51c148"
+ "b01b9a3b.384858"
]
]
},
{
- "id": "c5be1942.f9e138",
+ "id": "e3fb6c6a.05a4",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3246.638359069824,
- "y": 1344.5831680297852,
- "z": "4d7c5b65.634a04",
+ "x": 2865.249336242676,
+ "y": 1564.3774337768555,
+ "z": "513be127.a07bb",
"wires": [
[
- "5478652b.fa7ecc"
+ "4e94910b.b126e"
]
]
},
{
- "id": "22fb40b8.c923f",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
- "comments": "",
- "outputs": 1,
- "x": 3246.639335632324,
- "y": 1278.5831680297852,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "1422f96e.e42af7"
- ]
- ]
- },
- {
- "id": "377995a1.42065a",
+ "id": "4e94910b.b126e",
"type": "block",
"name": "block",
"xml": "<block>",
"atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3419.638687133789,
- "y": 1030.5830121040344,
- "z": "4d7c5b65.634a04",
+ "x": 2995.471408843994,
+ "y": 1566.2662858963013,
+ "z": "513be127.a07bb",
"wires": [
[
- "5b267180.de1b2",
- "8f18659e.f69b78",
- "bc687d8e.5d461",
- "53f6cef7.f7902"
+ "34297ac8.2ed556",
+ "38b190fe.fb02c",
+ "738113cf.947b7c"
]
]
},
{
- "id": "f6a6ebc6.51c148",
+ "id": "b01b9a3b.384858",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3417.527359008789,
- "y": 1109.4719982147217,
- "z": "4d7c5b65.634a04",
+ "x": 3025.3607292175293,
+ "y": 1644.1552848815918,
+ "z": "513be127.a07bb",
"wires": [
[
- "85dbd4de.56dc68",
- "b0138cc8.abd22"
+ "24193db6.087a92"
]
]
},
{
- "id": "5478652b.fa7ecc",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 3404.6383628845215,
- "y": 1345.5830764770508,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "74526283.bfee3c",
- "c4866c85.64adf",
- "53f6cef7.f7902"
- ]
- ]
- },
- {
- "id": "1422f96e.e42af7",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 3413.860855102539,
- "y": 1279.3608283996582,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "3a7ac81f.3363c8",
- "411e5f61.ee056"
- ]
- ]
- },
- {
- "id": "8f18659e.f69b78",
+ "id": "24193db6.087a92",
"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=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
+ "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 dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 3603.3328704833984,
- "y": 950.6667141914368,
- "z": "4d7c5b65.634a04",
+ "x": 3204.972064971924,
+ "y": 1644.51628780365,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "5b267180.de1b2",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "id": "738113cf.947b7c",
+ "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": 3603.1941986083984,
- "y": 901.4720511436462,
- "z": "4d7c5b65.634a04",
+ "x": 3166.805347442627,
+ "y": 1564.6666860580444,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "b0138cc8.abd22",
- "type": "execute",
- "name": "read nearRTRICId-PLMN",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mcc' />\n\t<parameter name='source' value=\"`'getplmnmccid-cps-response.[0]'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3661.349956512451,
- "y": 1052.4496097564697,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "85dbd4de.56dc68",
- "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 MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$getplmnmccid-cps-response.httpResponse`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3614.1390228271484,
- "y": 1111.8330745697021,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "74526283.bfee3c",
+ "id": "34297ac8.2ed556",
"type": "set",
"name": "set",
"xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3601.6380462646484,
- "y": 1337.5831699371338,
- "z": "4d7c5b65.634a04",
+ "x": 3147.0271339416504,
+ "y": 1525.1555099487305,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "411e5f61.ee056",
- "type": "execute",
- "name": "read nearRTRICId-PLMN",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.plmn.mnc' />\n\t<parameter name='source' value=\"`'getplmnmncid-cps-response.[0]'`\" />\n",
- "comments": "",
- "outputs": 1,
- "x": 3654.4886322021484,
- "y": 1228.6331329345703,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "3a7ac81f.3363c8",
+ "id": "38b190fe.fb02c",
"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 MNC info from Cps\"/>\n<parameter name=\"field2\" value=\"`$getplmnmncid-cps-response.httpResponse`\"/>",
+ "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=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-configData.json`\"/>\n<parameter name=\"field3\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 3598.6380462646484,
- "y": 1276.083249092102,
- "z": "4d7c5b65.634a04",
+ "x": 3148.166072845459,
+ "y": 1484.349940776825,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "bc687d8e.5d461",
- "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": "fef565e4.dc1dc8",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "x": 3621.9995346069336,
- "y": 989.999885559082,
- "z": "4d7c5b65.634a04",
+ "x": 3212.3328819274902,
+ "y": 1824.8052654266357,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "c4866c85.64adf",
+ "id": "a00d28cc.f37068",
"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": 3623.9993743896484,
- "y": 1382.9998378753662,
- "z": "4d7c5b65.634a04",
+ "x": 3236.7781982421875,
+ "y": 1865.3166599273682,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "3e21d260.0305ae",
- "type": "switchNode",
- "name": "ransim mounted",
- "xml": "<switch test='`$prop.ransim-mounted`'>\n",
+ "id": "c961ef2f.69b8b",
+ "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 uLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchuLThptPerSlice-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 1448,
- "y": 1299,
- "z": "4d7c5b65.634a04",
+ "x": 3229.2781944274902,
+ "y": 1923.1663932800293,
+ "z": "513be127.a07bb",
"wires": [
- [
- "26c54f86.bf74b",
- "79f29ec2.b22c2"
- ]
+ []
]
},
{
- "id": "26c54f86.bf74b",
- "type": "outcome",
- "name": "Not Mounted",
- "xml": "<outcome value='false'>\n",
+ "id": "1408a4fb.b4a68b",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1661.9998474121094,
- "y": 1299.999755859375,
- "z": "4d7c5b65.634a04",
+ "x": 3051.666862487793,
+ "y": 1922.8057165145874,
+ "z": "513be127.a07bb",
"wires": [
[
- "3dd49a3.5a86666"
+ "c961ef2f.69b8b"
]
]
},
{
- "id": "79f29ec2.b22c2",
- "type": "outcome",
- "name": "Mounted",
- "xml": "<outcome value='true'>\n",
+ "id": "ca95f230.2f18a",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 1654.0000457763672,
- "y": 1341.9998397827148,
- "z": "4d7c5b65.634a04",
+ "x": 3016.7775382995605,
+ "y": 1867.9162693023682,
+ "z": "513be127.a07bb",
"wires": [
[
- "ab008fe8.c3e1c"
+ "fef565e4.dc1dc8",
+ "a00d28cc.f37068",
+ "39742e4f.f53b32"
]
]
},
{
- "id": "ab008fe8.c3e1c",
- "type": "block",
- "name": "ransim URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "5b8674a8.d9101c",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1827.9899635314941,
- "y": 1341.9998397827148,
- "z": "4d7c5b65.634a04",
+ "x": 2875.7775344848633,
+ "y": 1921.9163932800293,
+ "z": "513be127.a07bb",
"wires": [
[
- "197b8787.ab2868",
- "1f06dbc0.549624"
+ "1408a4fb.b4a68b"
]
]
},
{
- "id": "3dd49a3.5a86666",
- "type": "block",
- "name": "URL",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "f15175d1.84c128",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1824.2015113830566,
- "y": 1300.5989589691162,
- "z": "4d7c5b65.634a04",
+ "x": 2870.555353164673,
+ "y": 1868.0273904800415,
+ "z": "513be127.a07bb",
"wires": [
[
- "d9c4f2e2.58fc9"
+ "ca95f230.2f18a"
]
]
},
{
- "id": "d9c4f2e2.58fc9",
+ "id": "39a53327.ab28dc",
"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`\"/>",
+ "name": "generate uLThptPerSliceURL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 2121.0000190734863,
- "y": 1301.0001640319824,
- "z": "4d7c5b65.634a04",
+ "x": 2650.778160095215,
+ "y": 1758.316611289978,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "197b8787.ab2868",
+ "id": "e87c0a41.27d578",
"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`\"/>",
+ "name": "prepare tbdmt template",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-configData`\"/>",
"comments": "",
"outputs": 1,
- "x": 2122.534523010254,
- "y": 1342.5992851257324,
- "z": "4d7c5b65.634a04",
+ "x": 2620.7779998779297,
+ "y": 1793.9165487289429,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "1f06dbc0.549624",
- "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`\"/>",
+ "id": "60503363.b2756c",
+ "type": "record",
+ "name": "record TBDMT RestAPI params",
+ "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=\"URL for CPS TDBMT to patch uLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchuLThptPerSlice.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2063.5348510742188,
- "y": 1383.5989618301392,
- "z": "4d7c5b65.634a04",
+ "x": 2646.7779998779297,
+ "y": 1832.1164197921753,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "99f61b3f.7c9258",
+ "id": "a55d3a5b.3d31a8",
"type": "execute",
- "name": "getAnchors URL",
- "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
+ "name": "patch uLThptPerSlice",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchuLThptPerSlice-cps-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": 1448.7500381469727,
- "y": 1377.000002861023,
- "z": "4d7c5b65.634a04",
+ "x": 2613.7779998779297,
+ "y": 1869.116421699524,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "f15175d1.84c128",
+ "5b8674a8.d9101c"
+ ]
]
},
{
- "id": "4fcdfd93.2b2e94",
+ "id": "bbbe4cfd.aa908",
+ "type": "set",
+ "name": "set Variables",
+ "xml": "<set>\n<parameter name='tmp.configParameter' value='`uLThptPerSlice`' />\n<parameter name='tmp.configValue' value='`$tmp.uLThptPerSlice`' />",
+ "comments": "",
+ "x": 2586.361198425293,
+ "y": 1686.649926185608,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "39742e4f.f53b32",
"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=\"URL to fetch the anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
+ "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=\"Failed to update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-uLThptPerSlice.json`\"/>\n",
"comments": "",
"outputs": 1,
- "x": 1418.0000381469727,
- "y": 1421.7500042915344,
- "z": "4d7c5b65.634a04",
+ "x": 3210.472339630127,
+ "y": 1785.999979019165,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "8c7da0b4.ffdc8",
- "type": "execute",
- "name": "Get list of anchors from CPS",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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\"/>",
+ "id": "c47ce08d.a909c",
+ "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=\"Inputs\"/>\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.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.configValue`\"/>",
"comments": "",
"outputs": 1,
- "x": 1486.8055419921875,
- "y": 1465.916672706604,
- "z": "4d7c5b65.634a04",
+ "x": 2567.472225189209,
+ "y": 1722.9999389648438,
+ "z": "513be127.a07bb",
"wires": [
- [
- "1c00cebc.15e071",
- "655604d5.d3202c"
- ]
+ []
]
},
{
- "id": "b50c2ced.c3143",
+ "id": "5f116544.d498fc",
"type": "execute",
- "name": "set anchors size",
- "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
+ "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": 1451.1546630859375,
- "y": 1591.820972442627,
- "z": "4d7c5b65.634a04",
+ "x": 1415.0000381469727,
+ "y": 1336,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "8dd65b69.c1c0e8",
- "type": "for",
- "name": "For anchorsList",
- "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "id": "c776e8b8.6ecab8",
+ "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": 1452.6019287109375,
- "y": 1663.527681350708,
- "z": "4d7c5b65.634a04",
+ "x": 1413.5000381469727,
+ "y": 1379,
+ "z": "513be127.a07bb",
"wires": [
- [
- "63f61435.ddcfcc"
- ]
+ []
]
},
{
- "id": "24ce1a1c.0c4dc6",
- "type": "for",
- "name": "For anchorsList",
- "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
+ "id": "da52d684.8fdc18",
+ "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\n\n\n\n\n\n",
"comments": "",
"outputs": 1,
- "x": 1449.6177215576172,
- "y": 1714.8457164764404,
- "z": "4d7c5b65.634a04",
+ "x": 1401.2498779296875,
+ "y": 1425.2498779296875,
+ "z": "513be127.a07bb",
"wires": [
- [
- "1e1f2ec4.b57821"
- ]
+ []
]
},
{
- "id": "655604d5.d3202c",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "f6157bd6.6c8118",
+ "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": 1704.1110534667969,
- "y": 1465.555507659912,
- "z": "4d7c5b65.634a04",
+ "x": 1454.2500381469727,
+ "y": 1485.5,
+ "z": "513be127.a07bb",
"wires": [
[
- "8d6349e1.873878"
+ "a771db16.c54ed8",
+ "afb25100.488ec"
]
]
},
{
- "id": "1c00cebc.15e071",
+ "id": "a771db16.c54ed8",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 1700.111213684082,
- "y": 1549.7498455047607,
- "z": "4d7c5b65.634a04",
+ "x": 1708.7500457763672,
+ "y": 1461.7500066757202,
+ "z": "513be127.a07bb",
"wires": [
[
- "2bd9b284.5d46ee"
+ "354f8ec9.20bd92"
]
]
},
{
- "id": "63f61435.ddcfcc",
+ "id": "354f8ec9.20bd92",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 1672.9907722473145,
- "y": 1664.0555124282837,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "71d4252d.e9918c",
- "c4c1fd8.f3a05"
- ]
- ]
- },
- {
- "id": "1e1f2ec4.b57821",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
- "comments": "",
- "outputs": 1,
- "x": 1671.3053894042969,
- "y": 1714.0000133514404,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "13278ede.6bee51",
- "78acf035.46288"
- ]
- ]
- },
- {
- "id": "8d6349e1.873878",
- "type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
- "comments": "",
- "outputs": 1,
- "x": 1854.8055572509766,
- "y": 1465.1666717529297,
- "z": "4d7c5b65.634a04",
+ "x": 1876.7497215270996,
+ "y": 1460.7500076293945,
+ "z": "513be127.a07bb",
"wires": [
[
- "86eeee2b.9e923",
- "ecf3f9cf.0fc3c8"
+ "4b62f71e.19e488"
]
]
},
{
- "id": "86eeee2b.9e923",
+ "id": "f09fb8c5.52a858",
"type": "set",
"name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "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": 2014.5830688476562,
- "y": 1464.9998426437378,
- "z": "4d7c5b65.634a04",
+ "x": 2094.3131217956543,
+ "y": 1484.4233756065369,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "ecf3f9cf.0fc3c8",
+ "id": "4b62f71e.19e488",
"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=\"Failed to fetch anchors from CPS\"/>",
+ "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": 2014.3890533447266,
- "y": 1505.5276765823364,
- "z": "4d7c5b65.634a04",
+ "x": 2089.499523162842,
+ "y": 1428.5000357627869,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "2bd9b284.5d46ee",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "b8494607.b05f18",
+ "type": "execute",
+ "name": "getAnchors URL",
+ "xml": "<set>\n\t<parameter name='tmp.getAnchors.URL' value=\"`$prop.restapi.cps.anchors.endpoint`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 1857.5553894042969,
- "y": 1550.416675567627,
- "z": "4d7c5b65.634a04",
+ "x": 1700.0000839233398,
+ "y": 922.9999771118164,
+ "z": "513be127.a07bb",
"wires": [
- [
- "c866198.4c0c1e8",
- "eb35fb98.e94048"
- ]
+ []
]
},
{
- "id": "c866198.4c0c1e8",
+ "id": "76c3fe9.88825",
"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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 2019.3052368164062,
- "y": 1550.666675567627,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "eb35fb98.e94048",
- "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-context.log' />",
+ "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=\"URL to fetch cps anchors\"/>\n<parameter name=\"field2\" value=\"`$tmp.getAnchors.URL`\"/>",
"comments": "",
"outputs": 1,
- "x": 2035.8337211608887,
- "y": 1588.4166765213013,
- "z": "4d7c5b65.634a04",
+ "x": 1668.2500839233398,
+ "y": 965.7499780654907,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "c4c1fd8.f3a05",
+ "id": "57211dd0.b15634",
"type": "execute",
- "name": "read schemaSet",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
- "comments": "",
- "outputs": 1,
- "x": 1869.6543502807617,
- "y": 1620.9596455097198,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "71d4252d.e9918c",
- "type": "switchNode",
- "name": "check schemaSetName",
- "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "name": "Get list of anchors from CPS",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.getAnchors.URL`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"restapiUser\" value=\"cpsuser\" />\n<parameter name=\"restapiPassword\" value=\"cpsr0cks!\"/>\n<parameter name=\"responsePrefix\" value=\"get-anchors-cps-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": 1895.1390533447266,
- "y": 1664.055513381958,
- "z": "4d7c5b65.634a04",
+ "x": 1736.0556640625,
+ "y": 1009.9165649414062,
+ "z": "513be127.a07bb",
"wires": [
[
- "f465f427.c2b608"
+ "2497feac.6f4ba2",
+ "f244104d.0c3bf"
]
]
},
{
- "id": "13278ede.6bee51",
+ "id": "831a27a7.2b4128",
"type": "execute",
- "name": "read schemaSet",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
+ "name": "set anchors size",
+ "xml": "<set>\n\t<parameter name='tmp.anchors.length' value=\"`$get-anchors-cps-response._length`\"/>\n\t",
"comments": "",
"outputs": 1,
- "x": 1874.9662017822266,
- "y": 1714.179048538208,
- "z": "4d7c5b65.634a04",
+ "x": 1695.4047050476074,
+ "y": 1056.8208627700806,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "78acf035.46288",
- "type": "switchNode",
- "name": "check schemaSetName",
- "xml": "<switch test='`$tmp.schemaset.name`'>\n",
+ "id": "f244104d.0c3bf",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 1898.9382057189941,
- "y": 1759.4290504455566,
- "z": "4d7c5b65.634a04",
+ "x": 1991.3614120483398,
+ "y": 969.5554542541504,
+ "z": "513be127.a07bb",
"wires": [
[
- "9f12f9e9.9452b8"
+ "e455aa65.280a18"
]
]
},
{
- "id": "9f12f9e9.9452b8",
- "type": "outcome",
- "name": "if ran-network",
- "xml": "<outcome value='ran-network'>\n",
+ "id": "2497feac.6f4ba2",
+ "type": "success",
+ "name": "success",
+ "xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 2110.7438735961914,
- "y": 1759.9012184143066,
- "z": "4d7c5b65.634a04",
+ "x": 1992.3614120483398,
+ "y": 1008.7499122619629,
+ "z": "513be127.a07bb",
"wires": [
[
- "3ed1dd57.474582"
+ "e7a0fa4e.ddfcb8"
]
]
},
{
- "id": "f465f427.c2b608",
- "type": "outcome",
- "name": "if ran-network",
- "xml": "<outcome value='ran-network'>\n",
+ "id": "e455aa65.280a18",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2112.4445571899414,
- "y": 1663.5278425216675,
- "z": "4d7c5b65.634a04",
+ "x": 2147.05574798584,
+ "y": 969.1667823791504,
+ "z": "513be127.a07bb",
"wires": [
[
- "61f76815.9ea948"
+ "df1515b9.e17388",
+ "ad88fd2a.cc946"
]
]
},
{
- "id": "61f76815.9ea948",
+ "id": "e7a0fa4e.ddfcb8",
"type": "block",
"name": "block : atomic",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2294.746810913086,
- "y": 1662.8610124588013,
- "z": "4d7c5b65.634a04",
+ "x": 2166.8056259155273,
+ "y": 1009.4165382385254,
+ "z": "513be127.a07bb",
"wires": [
[
- "2bfe4fd7.4500e",
- "fe178d42.6417a"
+ "edad793e.73a418",
+ "455a620b.ba31fc"
]
]
},
{
- "id": "3ed1dd57.474582",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "df1515b9.e17388",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
"comments": "",
- "outputs": 1,
- "x": 2298.879623413086,
- "y": 1760.1233863830566,
- "z": "4d7c5b65.634a04",
- "wires": [
- [
- "5b36931e.63404c",
- "47429c6f.cdaf04"
- ]
- ]
+ "x": 2362.8332748413086,
+ "y": 931.999813079834,
+ "z": "513be127.a07bb",
+ "wires": []
},
{
- "id": "fe178d42.6417a",
- "type": "execute",
- "name": "set nearRTRIC size",
- "xml": "<set>\n\t<parameter name='tmp.RIC.length' value=\"`$tmp.RIC.length+1`\"/>\n\t",
+ "id": "ad88fd2a.cc946",
+ "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=\"Failed to fetch anchors from CPS\"/>",
"comments": "",
"outputs": 1,
- "x": 2506.718334197998,
- "y": 1625.3457126617432,
- "z": "4d7c5b65.634a04",
+ "x": 2361.6391220092773,
+ "y": 968.5276222229004,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "2bfe4fd7.4500e",
+ "id": "edad793e.73a418",
"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=\"Applicable RIC length\"/>\n<parameter name=\"field2\" value=\"`$tmp.RIC.length`\"/>",
+ "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 anchors from CPS\"/>\n<parameter name=\"field2\" value=\"`$get-anchors-cps-response._length`\"/>",
"comments": "",
"outputs": 1,
- "x": 2472.660717010498,
- "y": 1662.6666774749756,
- "z": "4d7c5b65.634a04",
+ "x": 2365.5551376342773,
+ "y": 1009.6664772033691,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "5b36931e.63404c",
+ "id": "455a620b.ba31fc",
"type": "execute",
- "name": "read anchorName",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.anchor.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].name'`\" />",
+ "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-context.log' />",
"comments": "",
"outputs": 1,
- "x": 2507.861396789551,
- "y": 1718.7778453826904,
- "z": "4d7c5b65.634a04",
+ "x": 2382.083335876465,
+ "y": 1052.4164772033691,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "47429c6f.cdaf04",
+ "id": "95147a7c.3155c8",
"type": "block",
- "name": "block : atomic",
+ "name": "get anchors",
"xml": "<block atomic='true'>",
"atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2514.8057403564453,
- "y": 1770.500015258789,
- "z": "4d7c5b65.634a04",
+ "x": 1413.0000839233398,
+ "y": 972.9999771118164,
+ "z": "513be127.a07bb",
"wires": [
[
- "8998c72c.4ff418",
- "9d7758a7.bd51f8",
- "9d39eb14.0fc3a8",
- "c69db98d.df76b8",
- "74d6c00.8c08c4",
- "eac71052.ffbb4",
- "755837fb.492b88",
- "ee4970e3.bde7c",
- "3f7e1749.9ebda8",
- "93440679.5fd8e8"
+ "b8494607.b05f18",
+ "76c3fe9.88825",
+ "57211dd0.b15634",
+ "831a27a7.2b4128"
]
]
},
{
- "id": "8998c72c.4ff418",
- "type": "execute",
- "name": "generate dLThptPerSliceURL cps",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchdLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "id": "afb25100.488ec",
+ "type": "failure",
+ "name": "failure",
+ "xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 2839.750160217285,
- "y": 1668.6666774749756,
- "z": "4d7c5b65.634a04",
+ "x": 1719.3128700256348,
+ "y": 1509.3125085830688,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "869f9778.eca168"
+ ]
]
},
{
- "id": "9d7758a7.bd51f8",
- "type": "execute",
- "name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchdLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-dLThptPerSlice`\"/>",
+ "id": "869f9778.eca168",
+ "type": "block",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 2805.750160217285,
- "y": 1704.266613960266,
- "z": "4d7c5b65.634a04",
+ "x": 1868.3127136230469,
+ "y": 1510.3123455047607,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "da64ade6.b898f",
+ "f09fb8c5.52a858"
+ ]
]
},
{
- "id": "9d39eb14.0fc3a8",
- "type": "record",
- "name": "record TBDMT RestAPI params",
- "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=\"URL for CPS TDBMT to patch dLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchdLThptPerSlice.url`\" />",
+ "id": "da64ade6.b898f",
+ "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": 2055.3126373291016,
+ "y": 1535.3123679161072,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "7f422a47.f33af4",
+ "type": "for",
+ "name": "For anchorsList",
+ "xml": "<for index='anc' start='0' end='`$tmp.anchors.length`'>",
"comments": "",
"outputs": 1,
- "x": 2831.75,
- "y": 1740.4664840698242,
- "z": "4d7c5b65.634a04",
+ "x": 1829.0000381469727,
+ "y": 2532,
+ "z": "513be127.a07bb",
"wires": [
- []
+ [
+ "1ec49b78.a5d815"
+ ]
]
},
{
- "id": "c69db98d.df76b8",
- "type": "execute",
- "name": "patch dLThptPerSlice",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchdLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-dLThptPerSlice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchdLThptPerSlice-cps-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\"/>",
+ "id": "1ec49b78.a5d815",
+ "type": "block",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 2798.75,
- "y": 1773.4664859771729,
- "z": "4d7c5b65.634a04",
+ "x": 2018.6877059936523,
+ "y": 2534.1542959213257,
+ "z": "513be127.a07bb",
"wires": [
[
- "41285c67.33d5c4",
- "b48fa3de.a329a"
+ "c0319f43.ae0bc",
+ "217e97ff.f67a68"
]
]
},
{
- "id": "b48fa3de.a329a",
- "type": "success",
- "name": "success",
- "xml": "<outcome value='success'>\n",
+ "id": "c0319f43.ae0bc",
+ "type": "execute",
+ "name": "read schemaSet",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.schemaset.name' />\n\t<parameter name='source' value=\"`'get-anchors-cps-response.['+$anc+'].schemaSetName'`\" />\n\n",
"comments": "",
"outputs": 1,
- "x": 3047.7493591308594,
- "y": 1774.2662906646729,
- "z": "4d7c5b65.634a04",
+ "x": 2263.348518371582,
+ "y": 2528.333333015442,
+ "z": "513be127.a07bb",
"wires": [
- [
- "2251f3b0.ca9bac"
- ]
+ []
]
},
{
- "id": "41285c67.33d5c4",
- "type": "failure",
- "name": "failure",
- "xml": "<outcome value='failure'>\n",
+ "id": "217e97ff.f67a68",
+ "type": "switchNode",
+ "name": "check schemaSetName",
+ "xml": "<switch test='`$tmp.schemaset.name`'>\n",
"comments": "",
"outputs": 1,
- "x": 3053.5273513793945,
- "y": 1696.3774547576904,
- "z": "4d7c5b65.634a04",
+ "x": 2288.320526123047,
+ "y": 2575.5833349227905,
+ "z": "513be127.a07bb",
"wires": [
[
- "3df4f6bd.dcdc8a"
+ "ff28cc3c.d03f8"
]
]
},
{
- "id": "2251f3b0.ca9bac",
- "type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "id": "ff28cc3c.d03f8",
+ "type": "outcome",
+ "name": "if ran-network",
+ "xml": "<outcome value='ran-network'>\n",
"comments": "",
"outputs": 1,
- "x": 3211.638683319092,
- "y": 1775.155288696289,
- "z": "4d7c5b65.634a04",
+ "x": 2514.1261978149414,
+ "y": 2574.0555028915405,
+ "z": "513be127.a07bb",
"wires": [
[
- "62c02278.218b8c"
+ "c02f503d.329a8"
]
]
},
{
- "id": "3df4f6bd.dcdc8a",
+ "id": "c02f503d.329a8",
"type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3181.7493629455566,
- "y": 1697.2662897109985,
- "z": "4d7c5b65.634a04",
+ "x": 2706.1882972717285,
+ "y": 2573.654296875,
+ "z": "513be127.a07bb",
"wires": [
[
- "f87039cf.b1f5c8",
- "a17212ca.4c0c7",
- "14cb93e3.154dbc",
- "53f6cef7.f7902"
+ "f991558d.341b18",
+ "b554151a.1ec478",
+ "28f088c9.42eb98",
+ "8590e230.e2d19",
+ "97255c.ed9b3aa8",
+ "2d2eb351.253ebc"
]
]
},
{
- "id": "f87039cf.b1f5c8",
+ "id": "f991558d.341b18",
"type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "name": "set Variables",
+ "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`'/>\n<parameter name='tmp.mnc' value='`$tmp.mnc`'/>\n<parameter name='tmp.configParameter' value='`maxNumberOfConns`'/>\n<parameter name='tmp.configValue' value='`$tmp.predictedMaxNumberofConns`'/>",
"comments": "",
- "x": 3337.305030822754,
- "y": 1656.1552848815918,
- "z": "4d7c5b65.634a04",
+ "x": 2989.0491218566895,
+ "y": 2520.154269218445,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "a17212ca.4c0c7",
+ "id": "b554151a.1ec478",
"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=\"Failed to fetch data from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-dLThptPerSlice.json`\"/>\n",
+ "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=\"Inputs\"/>\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.predictedMaxNumberofConns`\" />\n<parameter name=\"field7\" value=\"`$tmp.configParameter`\"/>\n<parameter name=\"field8\" value=\"`$tmp.idNRCellCU`\"/>",
"comments": "",
"outputs": 1,
- "x": 3334.4440269470215,
- "y": 1615.3499445915222,
- "z": "4d7c5b65.634a04",
+ "x": 2970.8542861938477,
+ "y": 2554.82080078125,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "62c02278.218b8c",
- "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 dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
- "comments": "",
- "outputs": 1,
- "x": 3391.2500190734863,
- "y": 1775.5162916183472,
- "z": "4d7c5b65.634a04",
- "wires": [
- []
- ]
- },
- {
- "id": "eac71052.ffbb4",
+ "id": "28f088c9.42eb98",
"type": "execute",
- "name": "generate uLThptPerSliceURL cps",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
+ "name": "generate patch configData URL cps",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cps.tbdmt.execute.endpoint`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n <parameter name=\"target\" value=\"{schemaSet}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.schemaset.name`\"/>",
"comments": "",
"outputs": 1,
- "x": 2835.083656311035,
- "y": 1810.6666812896729,
- "z": "4d7c5b65.634a04",
+ "x": 3052.521156311035,
+ "y": 2589.820963859558,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "755837fb.492b88",
+ "id": "8590e230.e2d19",
"type": "execute",
"name": "prepare tbdmt template",
- "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchuLThptPerSlice.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-uLThptPerSlice`\"/>",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n <parameter name=\"outputPath\" value=\"tmp.cps.patchconfigData.url\"/>\n <parameter name=\"target\" value=\"{templateId}\"/>\n <parameter name=\"replacement\" value=\"`$prop.tbdmt.template.patch-cell-configData`\"/>",
"comments": "",
"outputs": 1,
- "x": 2805.08349609375,
- "y": 1846.2666187286377,
- "z": "4d7c5b65.634a04",
+ "x": 3018.521156311035,
+ "y": 2625.4209003448486,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "ee4970e3.bde7c",
+ "id": "97255c.ed9b3aa8",
"type": "record",
"name": "record TBDMT RestAPI params",
- "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=\"URL for CPS TDBMT to patch uLThptPerSlice\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchuLThptPerSlice.url`\" />",
+ "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 CPS TDBMT to patch maxNumberOfConns\"/>\n<parameter name='field2' value=\"`$tmp.cps.patchconfigData.url`\" />",
"comments": "",
"outputs": 1,
- "x": 2831.08349609375,
- "y": 1884.4664897918701,
- "z": "4d7c5b65.634a04",
+ "x": 3047.52099609375,
+ "y": 2660.620849609375,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "3f7e1749.9ebda8",
+ "id": "2d2eb351.253ebc",
"type": "execute",
- "name": "patch dLThptPerSlice",
- "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchuLThptPerSlice.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-uLThptPerSlice.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchuLThptPerSlice-cps-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\"/>",
+ "name": "patch maxNumberOfConns",
+ "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$tmp.cps.patchconfigData.url`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/cps-templates/cps-patch-cell-configData.json'`\" />\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"patchmaxNumberOfConns-cps-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": 2798.08349609375,
- "y": 1921.4664916992188,
- "z": "4d7c5b65.634a04",
+ "x": 3038.52099609375,
+ "y": 2703.620849609375,
+ "z": "513be127.a07bb",
"wires": [
[
- "434c383e.3ac1a8",
- "628d0768.1183a8"
+ "6315c6f7.18d948",
+ "35068e32.491742"
]
]
},
{
- "id": "628d0768.1183a8",
+ "id": "35068e32.491742",
"type": "success",
"name": "success",
"xml": "<outcome value='success'>\n",
"comments": "",
"outputs": 1,
- "x": 3059.0828552246094,
- "y": 1972.2664184570312,
- "z": "4d7c5b65.634a04",
+ "x": 3260.5203552246094,
+ "y": 2695.4205770492554,
+ "z": "513be127.a07bb",
"wires": [
[
- "6b324c96.7b9424"
+ "64a8ff55.9a692"
]
]
},
{
- "id": "434c383e.3ac1a8",
+ "id": "6315c6f7.18d948",
"type": "failure",
"name": "failure",
"xml": "<outcome value='failure'>\n",
"comments": "",
"outputs": 1,
- "x": 3054.860849380493,
- "y": 1920.3774604797363,
- "z": "4d7c5b65.634a04",
+ "x": 3264.2982864379883,
+ "y": 2616.5317239761353,
+ "z": "513be127.a07bb",
"wires": [
[
- "ed31ef8a.b1ec1"
+ "adc2d7f7.f5a568"
]
]
},
{
- "id": "6b324c96.7b9424",
+ "id": "adc2d7f7.f5a568",
"type": "block",
- "name": "block : atomic",
- "xml": "<block atomic='true'>",
- "atomic": "true",
+ "name": "block",
+ "xml": "<block>",
+ "atomic": "false",
"comments": "",
"outputs": 1,
- "x": 3234.972183227539,
- "y": 1973.1557416915894,
- "z": "4d7c5b65.634a04",
+ "x": 3394.5203590393066,
+ "y": 2618.420576095581,
+ "z": "513be127.a07bb",
"wires": [
[
- "a870b460.fe9f68"
+ "5d487aa8.fe6324",
+ "e17e05fd.b0ee78",
+ "42ff46dc.5786b8"
]
]
},
{
- "id": "ed31ef8a.b1ec1",
+ "id": "64a8ff55.9a692",
"type": "block",
- "name": "block",
- "xml": "<block>",
- "atomic": "false",
+ "name": "block : atomic",
+ "xml": "<block atomic='true'>",
+ "atomic": "true",
"comments": "",
"outputs": 1,
- "x": 3200.0828590393066,
- "y": 1918.2662944793701,
- "z": "4d7c5b65.634a04",
+ "x": 3424.409679412842,
+ "y": 2696.3095750808716,
+ "z": "513be127.a07bb",
"wires": [
[
- "c8d7789d.e059f8",
- "50f408ea.d42668",
- "769aebc5.b0fdd4",
- "53f6cef7.f7902"
+ "4b9aed06.95a724"
]
]
},
{
- "id": "c8d7789d.e059f8",
- "type": "set",
- "name": "set",
- "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
- "comments": "",
- "x": 3395.6382026672363,
- "y": 1875.1552906036377,
- "z": "4d7c5b65.634a04",
- "wires": []
- },
- {
- "id": "50f408ea.d42668",
+ "id": "4b9aed06.95a724",
"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=\"UNSuccessfully Obtained MCC info from CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-get-plmnid.json`\"/>\n",
+ "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 patchedmaxNumberOfConns\"/>\n<parameter name=\"field2\" value=\"`$patchmaxNumberOfConns-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 3392.7775268554688,
- "y": 1834.3499507904053,
- "z": "4d7c5b65.634a04",
+ "x": 3604.0210151672363,
+ "y": 2696.6705780029297,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "a870b460.fe9f68",
+ "id": "42ff46dc.5786b8",
+ "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": 3565.8542976379395,
+ "y": 2616.820976257324,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "5d487aa8.fe6324",
+ "type": "set",
+ "name": "set",
+ "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from CPS. Aborting RPC executiopn'/>",
+ "comments": "",
+ "x": 3546.076084136963,
+ "y": 2577.3098001480103,
+ "z": "513be127.a07bb",
+ "wires": []
+ },
+ {
+ "id": "e17e05fd.b0ee78",
"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 dLThptPerSlice\"/>\n<parameter name=\"field2\" value=\"`$patchdLThptPerSlice-cps-response.httpResponse`\"/>",
+ "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 update CPS\"/>\n<parameter name=\"field2\" value=\"`$cps-patch-configData.json`\"/>\n<parameter name=\"field3\" value=\"`$patchmaxNumberOfConns-cps-response.httpResponse`\"/>",
"comments": "",
"outputs": 1,
- "x": 3412.5835151672363,
- "y": 1973.5164184570312,
- "z": "4d7c5b65.634a04",
+ "x": 3547.2150230407715,
+ "y": 2536.5042309761047,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "74d6c00.8c08c4",
+ "id": "fc231309.cfcd1",
"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=\"Inputs\"/>\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.dLThptPerSlice`\"/>\n<parameter name=\"field7\" value=\"`$tmp.uLThptPerSlice`\"/>",
+ "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 patch NearRTRIC configuration\"/>",
"comments": "",
"outputs": 1,
- "x": 2757.7506523132324,
- "y": 1633.6666765213013,
- "z": "4d7c5b65.634a04",
+ "x": 3029,
+ "y": 2376,
+ "z": "513be127.a07bb",
"wires": [
[]
]
},
{
- "id": "93440679.5fd8e8",
+ "id": "3bdc030.15f9bfe",
"type": "set",
"name": "set Variables",
- "xml": "<set>\n<parameter name='tmp.mcc' value='`$tmp.mcc`' />\n<parameter name='tmp.mnc' value='`$tmp.mnc`' />\n",
+ "xml": "<set>\n<parameter name='tmp.idNRCellCU' value='`$tmp.cellLocalId`'/>\n",
"comments": "",
- "x": 2778.4168281555176,
- "y": 1596.666675567627,
- "z": "4d7c5b65.634a04",
+ "x": 2282,
+ "y": 2185,
+ "z": "513be127.a07bb",
"wires": []
},
{
- "id": "769aebc5.b0fdd4",
- "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": 3420.0835189819336,
- "y": 1915.6666851043701,
- "z": "4d7c5b65.634a04",
- "wires": []
- },
- {
- "id": "14cb93e3.154dbc",
- "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": "e6c9a77.5298d58",
+ "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=\"Failed to patch NearRTRIC for closed loop operation\"/>",
"comments": "",
- "x": 3357.083351135254,
- "y": 1695.66667842865,
- "z": "4d7c5b65.634a04",
- "wires": []
+ "outputs": 1,
+ "x": 2187,
+ "y": 513,
+ "z": "513be127.a07bb",
+ "wires": [
+ []
+ ]
}
]