DG Implementation - RAN Slice RPCS
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_instantiateRANSliceModifyAllocate.json
1 [
2     {
3         "id": "307f33c6.dd742c",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 417.8125,
8         "y": 157.8125,
9         "z": "7108e868.a979d8",
10         "wires": [
11             [
12                 "fa0eeda0.c794f"
13             ]
14         ]
15     },
16     {
17         "id": "fa0eeda0.c794f",
18         "type": "service-logic",
19         "name": "ran-slice-api ${project.version}",
20         "module": "ran-slice-api",
21         "version": "${project.version}",
22         "comments": "",
23         "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}'>",
24         "outputs": 1,
25         "x": 502.8125228881836,
26         "y": 224.81246948242188,
27         "z": "7108e868.a979d8",
28         "wires": [
29             [
30                 "93c2d6b3.d318c8"
31             ]
32         ]
33     },
34     {
35         "id": "93c2d6b3.d318c8",
36         "type": "method",
37         "name": "method",
38         "xml": "<method rpc='instantiateRANSliceModifyAllocate' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 436.8125,
42         "y": 284.8124351501465,
43         "z": "7108e868.a979d8",
44         "wires": [
45             [
46                 "d3c9dd74.37db6"
47             ]
48         ]
49     },
50     {
51         "id": "d3c9dd74.37db6",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 432.81249237060547,
59         "y": 345.8124713897705,
60         "z": "7108e868.a979d8",
61         "wires": [
62             [
63                 "164712ad.822b9d",
64                 "80dd96ef.ed69b8",
65                 "134f1599.6c4a8a",
66                 "f0e433f3.dc406"
67             ]
68         ]
69     },
70     {
71         "id": "164712ad.822b9d",
72         "type": "block",
73         "name": "block : atomic",
74         "xml": "<block atomic='true'>",
75         "atomic": "true",
76         "comments": "",
77         "outputs": 1,
78         "x": 690.8124847412109,
79         "y": 347.81249237060547,
80         "z": "7108e868.a979d8",
81         "wires": [
82             [
83                 "d71a2225.52045",
84                 "836a2684.eb82f8",
85                 "85517da2.bd54b"
86             ]
87         ]
88     },
89     {
90         "id": "d71a2225.52045",
91         "type": "execute",
92         "name": "generate getNearRTRICsFromRANNFNSSI URL",
93         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.getNearRTRICByNSSI`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.getNearRTRICByNSSI.url\"/>\n    <parameter name=\"target\" value=\"{ranNFNSSIId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.payload.RANNFNSSIId`\"/>",
94         "comments": "",
95         "outputs": 1,
96         "x": 1022.8124847412109,
97         "y": 345.81249237060547,
98         "z": "7108e868.a979d8",
99         "wires": [
100             []
101         ]
102     },
103     {
104         "id": "836a2684.eb82f8",
105         "type": "record",
106         "name": "record configdb RestAPI params",
107         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB to Get NearRTRIC for RANNFNSSI\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\" />\n<parameter name='field3' value=\"`$tmp.payload.RANNFNSSIId`\" />",
108         "comments": "",
109         "outputs": 1,
110         "x": 976.8124847412109,
111         "y": 416.81249237060547,
112         "z": "7108e868.a979d8",
113         "wires": [
114             []
115         ]
116     },
117     {
118         "id": "85517da2.bd54b",
119         "type": "execute",
120         "name": "Get nearRTRIC for RANNFNSSIId",
121         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.getNearRTRICByNSSI.url`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"getNFNSSIRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
122         "comments": "",
123         "outputs": 1,
124         "x": 977.8125457763672,
125         "y": 477.81251525878906,
126         "z": "7108e868.a979d8",
127         "wires": [
128             [
129                 "4d4a9497.964e7c",
130                 "7a7fe81.59f6a18"
131             ]
132         ]
133     },
134     {
135         "id": "4d4a9497.964e7c",
136         "type": "success",
137         "name": "success",
138         "xml": "<outcome value='success'>\n",
139         "comments": "",
140         "outputs": 1,
141         "x": 1255.6305885314941,
142         "y": 572.6305503845215,
143         "z": "7108e868.a979d8",
144         "wires": [
145             [
146                 "99314aa2.bc5dc8"
147             ]
148         ]
149     },
150     {
151         "id": "99314aa2.bc5dc8",
152         "type": "block",
153         "name": "block : atomic",
154         "xml": "<block atomic='true'>",
155         "atomic": "true",
156         "comments": "",
157         "outputs": 1,
158         "x": 1433.6304454803467,
159         "y": 571.6306915283203,
160         "z": "7108e868.a979d8",
161         "wires": [
162             [
163                 "fef1db8.1964128",
164                 "48780fbe.03af7"
165             ]
166         ]
167     },
168     {
169         "id": "fef1db8.1964128",
170         "type": "record",
171         "name": "record",
172         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Obtained NearRT RIC info from ConfigDB\"/>\n<parameter name=\"field2\" value=\"`$getNFNSSIRIC-configdb-response._length`\"/>",
173         "comments": "",
174         "outputs": 1,
175         "x": 1595.6302490234375,
176         "y": 567.6306762695312,
177         "z": "7108e868.a979d8",
178         "wires": [
179             []
180         ]
181     },
182     {
183         "id": "48780fbe.03af7",
184         "type": "execute",
185         "name": "printContext",
186         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
187         "comments": "",
188         "outputs": 1,
189         "x": 1586.4084930419922,
190         "y": 634.6306686401367,
191         "z": "7108e868.a979d8",
192         "wires": [
193             []
194         ]
195     },
196     {
197         "id": "7a7fe81.59f6a18",
198         "type": "failure",
199         "name": "failure",
200         "xml": "<outcome value='failure'>\n",
201         "comments": "",
202         "outputs": 1,
203         "x": 1278.630573272705,
204         "y": 473.63065814971924,
205         "z": "7108e868.a979d8",
206         "wires": [
207             [
208                 "e008015f.cfa71"
209             ]
210         ]
211     },
212     {
213         "id": "e008015f.cfa71",
214         "type": "block",
215         "name": "block",
216         "xml": "<block>",
217         "atomic": "false",
218         "comments": "",
219         "outputs": 1,
220         "x": 1483.630615234375,
221         "y": 422.63069915771484,
222         "z": "7108e868.a979d8",
223         "wires": [
224             [
225                 "849418c6.f295c8",
226                 "ef5706f3.674e08"
227             ]
228         ]
229     },
230     {
231         "id": "849418c6.f295c8",
232         "type": "set",
233         "name": "set",
234         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error Getting Info from ConfigDB. Aborting RPC executiopn'/>",
235         "comments": "",
236         "x": 1597.630313873291,
237         "y": 347.7417392730713,
238         "z": "7108e868.a979d8",
239         "wires": []
240     },
241     {
242         "id": "80dd96ef.ed69b8",
243         "type": "for",
244         "name": "foreach NearRTRIC",
245         "xml": "<for index='idy' start='0' end='`$getNFNSSIRIC-configdb-response._length`' >\n",
246         "comments": "",
247         "outputs": 1,
248         "x": 589.8125,
249         "y": 981.6306762695312,
250         "z": "7108e868.a979d8",
251         "wires": [
252             [
253                 "1ef3c9dc.82ed86",
254                 "6c5cf2d1.84abec",
255                 "d086944b.c66398",
256                 "4e830c1f.7bebc4"
257             ]
258         ]
259     },
260     {
261         "id": "1ef3c9dc.82ed86",
262         "type": "block",
263         "name": "Process NearRTRIC",
264         "xml": "<block atomic='true'>",
265         "atomic": "true",
266         "comments": "",
267         "outputs": 1,
268         "x": 883.7215576171875,
269         "y": 975.539794921875,
270         "z": "7108e868.a979d8",
271         "wires": [
272             [
273                 "1c2d7304.ea98cd",
274                 "d2bc2ba0.f263f8",
275                 "1d207fa8.45607",
276                 "38089fef.f14fa",
277                 "dbf7b9fd.e29e98",
278                 "bc8d47bf.d46a68"
279             ]
280         ]
281     },
282     {
283         "id": "1c2d7304.ea98cd",
284         "type": "execute",
285         "name": "read nearRTRICId",
286         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.nearRTRICId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].nearRTRICId'`\" />\n",
287         "comments": "",
288         "outputs": 1,
289         "x": 1344.3579559326172,
290         "y": 942.5398120880127,
291         "z": "7108e868.a979d8",
292         "wires": [
293             []
294         ]
295     },
296     {
297         "id": "d2bc2ba0.f263f8",
298         "type": "execute",
299         "name": "read gNBId",
300         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.gNBId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy + '].gNBId'`\" />",
301         "comments": "",
302         "outputs": 1,
303         "x": 1321.3579444885254,
304         "y": 1003.5398387908936,
305         "z": "7108e868.a979d8",
306         "wires": [
307             []
308         ]
309     },
310     {
311         "id": "1d207fa8.45607",
312         "type": "set",
313         "name": "Calculate uLThptPerSlice dLThptPerSlice maxNumberOfConns",
314         "xml": "<set>\n<parameter name='tmp.nearRTRIC.uLThptPerSlice1' value='`$payloadJson.input.sliceProfile.uLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.uLThptPerSlice' value='`$tmp.nearRTRIC.uLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice1' value='`$payloadJson.input.sliceProfile.dLThptPerSlice * 1.1`' />\n<parameter name='tmp.nearRTRIC.dLThptPerSlice' value='`$tmp.nearRTRIC.dLThptPerSlice1 / $getNFNSSIRIC-configdb-response._length`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns1' value='`$payloadJson.input.sliceProfile.maxNumberofConns * 1.1`' />\n<parameter name='tmp.nearRTRIC.maxNumberOfConns' value='`$tmp.nearRTRIC.maxNumberOfConns1 / $getNFNSSIRIC-configdb-response._length`' />",
315         "comments": "",
316         "x": 1502.7216186523438,
317         "y": 1127.3579711914062,
318         "z": "7108e868.a979d8",
319         "wires": []
320     },
321     {
322         "id": "38089fef.f14fa",
323         "type": "record",
324         "name": "record",
325         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calculated uLThptPerSlice for nearRTRIC \"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRIC.uLThptPerSlice`\"/>\n<parameter name=\"field3\" value=\"dLThptPerSlice for nearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.dLThptPerSlice`\"/>\n<parameter name=\"field5\" value=\"maxNumberOfConn for nearRTRIC\"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.maxNumberOfConns`\"/>\n<parameter name=\"field7\" value=\"nearRTRICId\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field9\" value=\"gNBId\"/>\n<parameter name=\"field10\" value=\"`$tmp.gNBId`\"/>\n<parameter name=\"field11\" value=\"RANNFNSSI\"/>\n<parameter name=\"field12\" value=\"`$tmp.ranNFNSSIListEntry`\"/>\n<parameter name=\"field13\" value=\"NSSAI\"/>\n<parameter name=\"field14\" value=\"`$tmp.payload.sNSSAI`\"/>",
326         "comments": "",
327         "outputs": 1,
328         "x": 1326.630615234375,
329         "y": 1190.3580322265625,
330         "z": "7108e868.a979d8",
331         "wires": [
332             []
333         ]
334     },
335     {
336         "id": "dbf7b9fd.e29e98",
337         "type": "execute",
338         "name": "Update nearRT RIC Details in ConfigDB",
339         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updatenearRTRIC`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updatenearRTRIC.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"modify-allocate-nearRTRIC-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
340         "comments": "",
341         "outputs": 1,
342         "x": 1422.6306762695312,
343         "y": 1237.26708984375,
344         "z": "7108e868.a979d8",
345         "wires": [
346             [
347                 "6ed5711a.e5781",
348                 "8ca4207e.7575c"
349             ]
350         ]
351     },
352     {
353         "id": "6ed5711a.e5781",
354         "type": "failure",
355         "name": "failure",
356         "xml": "<outcome value='failure'>\n",
357         "comments": "",
358         "outputs": 1,
359         "x": 1748.630615234375,
360         "y": 1201.0851440429688,
361         "z": "7108e868.a979d8",
362         "wires": [
363             [
364                 "c7d74ae6.23d9c8"
365             ]
366         ]
367     },
368     {
369         "id": "c7d74ae6.23d9c8",
370         "type": "block",
371         "name": "block",
372         "xml": "<block>",
373         "atomic": "false",
374         "comments": "",
375         "outputs": 1,
376         "x": 1880.6307373046875,
377         "y": 1163.0851440429688,
378         "z": "7108e868.a979d8",
379         "wires": [
380             [
381                 "d8421ee9.0c90f",
382                 "6be76b86.5e2224"
383             ]
384         ]
385     },
386     {
387         "id": "6be76b86.5e2224",
388         "type": "set",
389         "name": "set",
390         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
391         "comments": "",
392         "x": 2069.6304931640625,
393         "y": 1110.1961669921875,
394         "z": "7108e868.a979d8",
395         "wires": []
396     },
397     {
398         "id": "d8421ee9.0c90f",
399         "type": "returnFailure",
400         "name": "return failure",
401         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
402         "comments": "",
403         "x": 2077.6304931640625,
404         "y": 1210.085205078125,
405         "z": "7108e868.a979d8",
406         "wires": []
407     },
408     {
409         "id": "8ca4207e.7575c",
410         "type": "success",
411         "name": "success",
412         "xml": "<outcome value='success'>\n",
413         "comments": "",
414         "outputs": 1,
415         "x": 1746.44873046875,
416         "y": 1300.9942626953125,
417         "z": "7108e868.a979d8",
418         "wires": [
419             [
420                 "56064406.6a9b3c"
421             ]
422         ]
423     },
424     {
425         "id": "56064406.6a9b3c",
426         "type": "block",
427         "name": "block",
428         "xml": "<block>\n",
429         "atomic": "false",
430         "comments": "",
431         "outputs": 1,
432         "x": 1910.4486083984375,
433         "y": 1301.994384765625,
434         "z": "7108e868.a979d8",
435         "wires": [
436             [
437                 "f7fc925a.c53a3"
438             ]
439         ]
440     },
441     {
442         "id": "f7fc925a.c53a3",
443         "type": "record",
444         "name": "record",
445         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Updated NearRT RIC info in ConfigDB\"/>",
446         "comments": "",
447         "outputs": 1,
448         "x": 2060.4486083984375,
449         "y": 1296.9945068359375,
450         "z": "7108e868.a979d8",
451         "wires": [
452             []
453         ]
454     },
455     {
456         "id": "bc8d47bf.d46a68",
457         "type": "execute",
458         "name": "ranNFNSSIListEntry",
459         "xml": "<set>\n<parameter name='tmp.ranNFNSSIListEntry' value=\"`$payloadJson.input.RANNFNSSIId`\"/>",
460         "comments": "",
461         "outputs": 1,
462         "x": 1370.8125,
463         "y": 1060.8125,
464         "z": "7108e868.a979d8",
465         "wires": [
466             []
467         ]
468     },
469     {
470         "id": "b8a93326.20b78",
471         "type": "execute",
472         "name": "read CUCP list size",
473         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList_length'`\" />\n    ",
474         "comments": "",
475         "outputs": 1,
476         "x": 1263.8125,
477         "y": 1344.8125,
478         "z": "7108e868.a979d8",
479         "wires": [
480             []
481         ]
482     },
483     {
484         "id": "6c5cf2d1.84abec",
485         "type": "block",
486         "name": "Process CUCP",
487         "xml": "<block atomic='true'>",
488         "atomic": "true",
489         "comments": "",
490         "outputs": 1,
491         "x": 863.8125,
492         "y": 1328.8125,
493         "z": "7108e868.a979d8",
494         "wires": [
495             [
496                 "b8a93326.20b78",
497                 "bafd24dc.562168",
498                 "ed358e77.3b307"
499             ]
500         ]
501     },
502     {
503         "id": "bafd24dc.562168",
504         "type": "record",
505         "name": "record",
506         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
507         "comments": "",
508         "outputs": 1,
509         "x": 1235.8125,
510         "y": 1409.8125,
511         "z": "7108e868.a979d8",
512         "wires": [
513             []
514         ]
515     },
516     {
517         "id": "ed358e77.3b307",
518         "type": "for",
519         "name": "foreach CUCP",
520         "xml": "<for index='idz' start='0' end='`$tmp.CUCPList_length`'>\n",
521         "comments": "",
522         "outputs": 1,
523         "x": 1263.8125,
524         "y": 1484.8125,
525         "z": "7108e868.a979d8",
526         "wires": [
527             [
528                 "aa9d51fb.0103c"
529             ]
530         ]
531     },
532     {
533         "id": "aa9d51fb.0103c",
534         "type": "block",
535         "name": "block : process CUCP",
536         "xml": "<block atomic='true'>",
537         "atomic": "true",
538         "comments": "",
539         "outputs": 1,
540         "x": 1484.8125,
541         "y": 1491.8125,
542         "z": "7108e868.a979d8",
543         "wires": [
544             [
545                 "cf612911.c44998",
546                 "c906a35a.2ccc5",
547                 "ed66efa7.cab5c",
548                 "f042d642.d93388"
549             ]
550         ]
551     },
552     {
553         "id": "cf612911.c44998",
554         "type": "execute",
555         "name": "read CUCP name",
556         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUCPName' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].gNBCUName'`\" />",
557         "comments": "",
558         "outputs": 1,
559         "x": 1835.8125,
560         "y": 1344.8125,
561         "z": "7108e868.a979d8",
562         "wires": [
563             []
564         ]
565     },
566     {
567         "id": "c906a35a.2ccc5",
568         "type": "for",
569         "name": "for cellCUList",
570         "xml": "<for index='idcu' start='0' end='`$tmp.cellCUList_length`' >\n",
571         "comments": "",
572         "outputs": 1,
573         "x": 1839.8125,
574         "y": 1488.8125,
575         "z": "7108e868.a979d8",
576         "wires": [
577             [
578                 "2367fdf7.13e052"
579             ]
580         ]
581     },
582     {
583         "id": "a59b3348.53d8e",
584         "type": "execute",
585         "name": "read cellCU",
586         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].cellLocalId'`\" />",
587         "comments": "",
588         "outputs": 1,
589         "x": 2543.8125,
590         "y": 1258.8125,
591         "z": "7108e868.a979d8",
592         "wires": [
593             []
594         ]
595     },
596     {
597         "id": "eb810d0e.4dd5d",
598         "type": "execute",
599         "name": "prepare mnc",
600         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
601         "comments": "",
602         "outputs": 1,
603         "x": 2488.8125,
604         "y": 1512.8125,
605         "z": "7108e868.a979d8",
606         "wires": [
607             []
608         ]
609     },
610     {
611         "id": "58b9362d.eda568",
612         "type": "execute",
613         "name": "patch PLMNInfoListEntry ToNRCellCU",
614         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry.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-cellCU-PLMNInfoList-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' />",
615         "comments": "",
616         "outputs": 1,
617         "x": 2522.8126068115234,
618         "y": 1641.8124732971191,
619         "z": "7108e868.a979d8",
620         "wires": [
621             [
622                 "91d2ca4f.cc02a8",
623                 "2a6ef5af.0afada"
624             ]
625         ]
626     },
627     {
628         "id": "bb2b6a10.6ae608",
629         "type": "record",
630         "name": "record API params",
631         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.CUCPName`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellCULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n",
632         "comments": "",
633         "outputs": 1,
634         "x": 2482.8125,
635         "y": 1578.8125,
636         "z": "7108e868.a979d8",
637         "wires": [
638             []
639         ]
640     },
641     {
642         "id": "d5711de.7d20ee",
643         "type": "block",
644         "name": "block : atomic",
645         "xml": "<block atomic='true'>",
646         "atomic": "true",
647         "comments": "",
648         "outputs": 1,
649         "x": 2353.8125,
650         "y": 1095.8125,
651         "z": "7108e868.a979d8",
652         "wires": [
653             [
654                 "a59b3348.53d8e",
655                 "eb810d0e.4dd5d",
656                 "bb2b6a10.6ae608",
657                 "58b9362d.eda568",
658                 "1f2cbe8.ab92042",
659                 "2fa14d3.a7367b2",
660                 "3c40ea7f.5428a6",
661                 "6cc8a38.caae65c",
662                 "1df8c261.39d8be",
663                 "8dd84100.059ce",
664                 "d05460e1.aaaa4"
665             ]
666         ]
667     },
668     {
669         "id": "91d2ca4f.cc02a8",
670         "type": "success",
671         "name": "success",
672         "xml": "<outcome value='success'>\n",
673         "comments": "",
674         "outputs": 1,
675         "x": 2773.812614440918,
676         "y": 1637.8127174377441,
677         "z": "7108e868.a979d8",
678         "wires": [
679             [
680                 "13392720.662ca9"
681             ]
682         ]
683     },
684     {
685         "id": "13392720.662ca9",
686         "type": "block",
687         "name": "block : atomic",
688         "xml": "<block atomic='true'>",
689         "atomic": "true",
690         "comments": "",
691         "outputs": 1,
692         "x": 2946.812400817871,
693         "y": 1636.8127784729004,
694         "z": "7108e868.a979d8",
695         "wires": [
696             [
697                 "ee4d18d9.5f1cd8"
698             ]
699         ]
700     },
701     {
702         "id": "ee4d18d9.5f1cd8",
703         "type": "record",
704         "name": "record",
705         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU PLMNInfo List\"/>",
706         "comments": "",
707         "outputs": 1,
708         "x": 3144.8124618530273,
709         "y": 1633.812900543213,
710         "z": "7108e868.a979d8",
711         "wires": [
712             []
713         ]
714     },
715     {
716         "id": "2a6ef5af.0afada",
717         "type": "failure",
718         "name": "failure",
719         "xml": "<outcome value='failure'>\n",
720         "comments": "",
721         "outputs": 1,
722         "x": 2738.81258392334,
723         "y": 1520.8124732971191,
724         "z": "7108e868.a979d8",
725         "wires": [
726             [
727                 "a4b20ac1.7e5948"
728             ]
729         ]
730     },
731     {
732         "id": "a4b20ac1.7e5948",
733         "type": "block",
734         "name": "block : atomic",
735         "xml": "<block atomic='true'>",
736         "atomic": "true",
737         "comments": "",
738         "outputs": 1,
739         "x": 2888.812858581543,
740         "y": 1479.812656402588,
741         "z": "7108e868.a979d8",
742         "wires": [
743             [
744                 "9879822d.b1fa8",
745                 "6a5df2ad.c26a0c",
746                 "ef5706f3.674e08"
747             ]
748         ]
749     },
750     {
751         "id": "9879822d.b1fa8",
752         "type": "returnFailure",
753         "name": "return failure",
754         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRcellCU - PLMNInfo. Aborting RPC executiopn'/>",
755         "comments": "",
756         "x": 3059.8124923706055,
757         "y": 1540.8127174377441,
758         "z": "7108e868.a979d8",
759         "wires": []
760     },
761     {
762         "id": "6a5df2ad.c26a0c",
763         "type": "set",
764         "name": "set",
765         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU PLMNInfoList. Aborting RPC executiopn'/>",
766         "comments": "",
767         "x": 3054.812614440918,
768         "y": 1445.812656402588,
769         "z": "7108e868.a979d8",
770         "wires": []
771     },
772     {
773         "id": "1f2cbe8.ab92042",
774         "type": "execute",
775         "name": "prepare idGNBCUCPFunction",
776         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
777         "comments": "",
778         "outputs": 1,
779         "x": 2570.8125,
780         "y": 1322.8125,
781         "z": "7108e868.a979d8",
782         "wires": [
783             []
784         ]
785     },
786     {
787         "id": "2fa14d3.a7367b2",
788         "type": "execute",
789         "name": "prepare idNRCellCU",
790         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
791         "comments": "",
792         "outputs": 1,
793         "x": 2531.8125,
794         "y": 1390.8125,
795         "z": "7108e868.a979d8",
796         "wires": [
797             []
798         ]
799     },
800     {
801         "id": "3c40ea7f.5428a6",
802         "type": "execute",
803         "name": "prepare mcc",
804         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
805         "comments": "",
806         "outputs": 1,
807         "x": 2498.8125,
808         "y": 1448.8125,
809         "z": "7108e868.a979d8",
810         "wires": [
811             []
812         ]
813     },
814     {
815         "id": "ed66efa7.cab5c",
816         "type": "record",
817         "name": "record",
818         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUCPName \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUCPName`\"/>\n\n",
819         "comments": "",
820         "outputs": 1,
821         "x": 1808.8125,
822         "y": 1395.8125,
823         "z": "7108e868.a979d8",
824         "wires": [
825             []
826         ]
827     },
828     {
829         "id": "f042d642.d93388",
830         "type": "execute",
831         "name": "read cellCU list size",
832         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellCUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUCPList[' + $idz +'].cellCUList_length'`\" />\n    ",
833         "comments": "",
834         "outputs": 1,
835         "x": 1849.8125,
836         "y": 1444.8125,
837         "z": "7108e868.a979d8",
838         "wires": [
839             []
840         ]
841     },
842     {
843         "id": "6cc8a38.caae65c",
844         "type": "switchNode",
845         "name": "ransim mounted",
846         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
847         "comments": "",
848         "outputs": 1,
849         "x": 2576.8125,
850         "y": 1158.8125,
851         "z": "7108e868.a979d8",
852         "wires": [
853             [
854                 "9cab3cd4.ad8c8",
855                 "2575bb63.cb1f64"
856             ]
857         ]
858     },
859     {
860         "id": "9cab3cd4.ad8c8",
861         "type": "outcome",
862         "name": "Not Mounted",
863         "xml": "<outcome value='false'>\n",
864         "comments": "",
865         "outputs": 1,
866         "x": 2784.8125,
867         "y": 1123.812255859375,
868         "z": "7108e868.a979d8",
869         "wires": [
870             [
871                 "8a68726.7a5319"
872             ]
873         ]
874     },
875     {
876         "id": "8a68726.7a5319",
877         "type": "execute",
878         "name": "generate patch PLMNInfoListEntry ToNRCellCU",
879         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
880         "comments": "",
881         "outputs": 1,
882         "x": 3104.8125,
883         "y": 1138.8125,
884         "z": "7108e868.a979d8",
885         "wires": [
886             []
887         ]
888     },
889     {
890         "id": "2575bb63.cb1f64",
891         "type": "outcome",
892         "name": "Mounted",
893         "xml": "<outcome value='true'>\n",
894         "comments": "",
895         "outputs": 1,
896         "x": 2772.8125,
897         "y": 1225.8125,
898         "z": "7108e868.a979d8",
899         "wires": [
900             [
901                 "1be9da11.5515e6"
902             ]
903         ]
904     },
905     {
906         "id": "1df8c261.39d8be",
907         "type": "block",
908         "name": "block : atomic",
909         "xml": "<block atomic='true'>",
910         "atomic": "true",
911         "comments": "",
912         "outputs": 1,
913         "x": 2131.8125,
914         "y": 1909.8125,
915         "z": "7108e868.a979d8",
916         "wires": [
917             [
918                 "fa450f85.96907",
919                 "ac83dc96.d0414",
920                 "eee75d70.5462f",
921                 "68e0063b.7afdb8",
922                 "11885992.57a3d6",
923                 "b7fc9607.06c2c8",
924                 "48a3f198.0b5bb",
925                 "3e1fe485.57c5dc",
926                 "cb510840.ed88c8"
927             ]
928         ]
929     },
930     {
931         "id": "fa450f85.96907",
932         "type": "set",
933         "name": "Calculate RRMPolicyRatio",
934         "xml": "<set>\n<parameter name='tmp.maxNumberOfConnsPercellCU' value='`$tmp.payload.maxNumberofConns / $tmp.cellCUList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellCU1' value='`$tmp.maxNumberOfConnsPercellCU * 100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio_SliceProfile' value='`$tmp.rRMPolicyDedicatedRatio.CellCU1 / $prop.nrcellcu.maxNumberOfConnsPerCell`' />",
935         "comments": "",
936         "x": 2313.8125,
937         "y": 1692.8125,
938         "z": "7108e868.a979d8",
939         "wires": []
940     },
941     {
942         "id": "ac83dc96.d0414",
943         "type": "record",
944         "name": "record",
945         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellCU`\"/>",
946         "comments": "",
947         "outputs": 1,
948         "x": 2312.8125,
949         "y": 1748.8125,
950         "z": "7108e868.a979d8",
951         "wires": [
952             []
953         ]
954     },
955     {
956         "id": "eee75d70.5462f",
957         "type": "switchNode",
958         "name": "ransim mounted",
959         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
960         "comments": "",
961         "outputs": 1,
962         "x": 2353.8125,
963         "y": 1815.8125,
964         "z": "7108e868.a979d8",
965         "wires": [
966             [
967                 "c44d770c.8f6248",
968                 "2db4eb44.da6004"
969             ]
970         ]
971     },
972     {
973         "id": "c44d770c.8f6248",
974         "type": "outcome",
975         "name": "Not Mounted",
976         "xml": "<outcome value='false'>\n",
977         "comments": "",
978         "outputs": 1,
979         "x": 2531.8125,
980         "y": 1782.812255859375,
981         "z": "7108e868.a979d8",
982         "wires": [
983             [
984                 "b1dca537.3b57a8"
985             ]
986         ]
987     },
988     {
989         "id": "b1dca537.3b57a8",
990         "type": "execute",
991         "name": "fetch RRMPolicyRatio NRCellCU - URL",
992         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
993         "comments": "",
994         "outputs": 1,
995         "x": 2809.8125,
996         "y": 1774.8125,
997         "z": "7108e868.a979d8",
998         "wires": [
999             []
1000         ]
1001     },
1002     {
1003         "id": "68e0063b.7afdb8",
1004         "type": "execute",
1005         "name": "prepare idGNBCUCPFunction",
1006         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUCPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>\n",
1007         "comments": "",
1008         "outputs": 1,
1009         "x": 2388.8125,
1010         "y": 1887.8125,
1011         "z": "7108e868.a979d8",
1012         "wires": [
1013             []
1014         ]
1015     },
1016     {
1017         "id": "11885992.57a3d6",
1018         "type": "execute",
1019         "name": "prepare idNRCellCU",
1020         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellCU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
1021         "comments": "",
1022         "outputs": 1,
1023         "x": 2353.8125,
1024         "y": 1939.8125,
1025         "z": "7108e868.a979d8",
1026         "wires": [
1027             []
1028         ]
1029     },
1030     {
1031         "id": "684c1622.e09e58",
1032         "type": "success",
1033         "name": "success",
1034         "xml": "<outcome value='success'>\n",
1035         "comments": "",
1036         "outputs": 1,
1037         "x": 2639.8125,
1038         "y": 2066.8125,
1039         "z": "7108e868.a979d8",
1040         "wires": [
1041             [
1042                 "4f5d406d.e309"
1043             ]
1044         ]
1045     },
1046     {
1047         "id": "4f5d406d.e309",
1048         "type": "block",
1049         "name": "block : atomic",
1050         "xml": "<block atomic='true'>",
1051         "atomic": "true",
1052         "comments": "",
1053         "outputs": 1,
1054         "x": 2803.8123779296875,
1055         "y": 2067.8126220703125,
1056         "z": "7108e868.a979d8",
1057         "wires": [
1058             [
1059                 "45f75ec6.863ec",
1060                 "34f6d9ce.d2e016"
1061             ]
1062         ]
1063     },
1064     {
1065         "id": "45f75ec6.863ec",
1066         "type": "record",
1067         "name": "record",
1068         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
1069         "comments": "",
1070         "outputs": 1,
1071         "x": 2953.8123779296875,
1072         "y": 2062.812744140625,
1073         "z": "7108e868.a979d8",
1074         "wires": [
1075             []
1076         ]
1077     },
1078     {
1079         "id": "9a82e320.b76eb",
1080         "type": "failure",
1081         "name": "failure",
1082         "xml": "<outcome value='failure'>\n",
1083         "comments": "",
1084         "outputs": 1,
1085         "x": 2635.8125,
1086         "y": 1987.8125,
1087         "z": "7108e868.a979d8",
1088         "wires": [
1089             [
1090                 "59cf3b6.cca69c4"
1091             ]
1092         ]
1093     },
1094     {
1095         "id": "59cf3b6.cca69c4",
1096         "type": "block",
1097         "name": "block : atomic",
1098         "xml": "<block atomic='true'>",
1099         "atomic": "true",
1100         "comments": "",
1101         "outputs": 1,
1102         "x": 2793.812744140625,
1103         "y": 1935.8125,
1104         "z": "7108e868.a979d8",
1105         "wires": [
1106             [
1107                 "d0aa5e9f.9758a",
1108                 "6409cd63.1a0bf4",
1109                 "ef5706f3.674e08"
1110             ]
1111         ]
1112     },
1113     {
1114         "id": "d0aa5e9f.9758a",
1115         "type": "returnFailure",
1116         "name": "return failure",
1117         "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 in Fetching RRMPolicyRatio - CellCU. Aborting RPC executiopn'/>",
1118         "comments": "",
1119         "x": 2964.8123779296875,
1120         "y": 1996.8125610351562,
1121         "z": "7108e868.a979d8",
1122         "wires": []
1123     },
1124     {
1125         "id": "6409cd63.1a0bf4",
1126         "type": "set",
1127         "name": "set",
1128         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
1129         "comments": "",
1130         "x": 2959.8125,
1131         "y": 1901.8125,
1132         "z": "7108e868.a979d8",
1133         "wires": []
1134     },
1135     {
1136         "id": "b7fc9607.06c2c8",
1137         "type": "execute",
1138         "name": "fetch RRMPolicyRatio - NRCellCU",
1139         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-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\"/>",
1140         "comments": "",
1141         "outputs": 1,
1142         "x": 2388.8125,
1143         "y": 2014.8125,
1144         "z": "7108e868.a979d8",
1145         "wires": [
1146             [
1147                 "9a82e320.b76eb",
1148                 "684c1622.e09e58"
1149             ]
1150         ]
1151     },
1152     {
1153         "id": "34f6d9ce.d2e016",
1154         "type": "execute",
1155         "name": "printContext",
1156         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
1157         "comments": "",
1158         "outputs": 1,
1159         "x": 2968.8125,
1160         "y": 2125.8125,
1161         "z": "7108e868.a979d8",
1162         "wires": [
1163             []
1164         ]
1165     },
1166     {
1167         "id": "48a3f198.0b5bb",
1168         "type": "for",
1169         "name": "for each rrmpolicyratio",
1170         "xml": "<for index='idcu-rrm' start='0' end='`$tmp.rrmPolicyRatioList_length`' >\n",
1171         "comments": "",
1172         "outputs": 1,
1173         "x": 2323.8125,
1174         "y": 2172.812728881836,
1175         "z": "7108e868.a979d8",
1176         "wires": [
1177             [
1178                 "cc5f4f75.fa631"
1179             ]
1180         ]
1181     },
1182     {
1183         "id": "3e1fe485.57c5dc",
1184         "type": "execute",
1185         "name": "read rrmpolicyratio list size",
1186         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
1187         "comments": "",
1188         "outputs": 1,
1189         "x": 2367.8125,
1190         "y": 2068.8125,
1191         "z": "7108e868.a979d8",
1192         "wires": [
1193             []
1194         ]
1195     },
1196     {
1197         "id": "cc5f4f75.fa631",
1198         "type": "block",
1199         "name": "block : atomic",
1200         "xml": "<block atomic='true'>",
1201         "atomic": "true",
1202         "comments": "",
1203         "outputs": 1,
1204         "x": 2544.8125,
1205         "y": 2192.812728881836,
1206         "z": "7108e868.a979d8",
1207         "wires": [
1208             [
1209                 "d8c3d055.2d419",
1210                 "6a9f9afc.9b7fa4",
1211                 "ef468aba.45ebb8",
1212                 "fcd1306a.0ccea",
1213                 "4a4813ea.c1f99c",
1214                 "79d52a8e.70e584"
1215             ]
1216         ]
1217     },
1218     {
1219         "id": "d8c3d055.2d419",
1220         "type": "set",
1221         "name": "Calculate updated RRMPolicyRatio",
1222         "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellCU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellCU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellCU + $tmp.rRMPolicyDedicatedRatio_SliceProfile`\" />",
1223         "comments": "",
1224         "x": 2869.8125,
1225         "y": 2169.812728881836,
1226         "z": "7108e868.a979d8",
1227         "wires": []
1228     },
1229     {
1230         "id": "6a9f9afc.9b7fa4",
1231         "type": "record",
1232         "name": "record",
1233         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
1234         "comments": "",
1235         "outputs": 1,
1236         "x": 2799.8125,
1237         "y": 2349.8125,
1238         "z": "7108e868.a979d8",
1239         "wires": [
1240             []
1241         ]
1242     },
1243     {
1244         "id": "ef468aba.45ebb8",
1245         "type": "switchNode",
1246         "name": "ransim mounted",
1247         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1248         "comments": "",
1249         "outputs": 1,
1250         "x": 2837.8125,
1251         "y": 2220.8125,
1252         "z": "7108e868.a979d8",
1253         "wires": [
1254             [
1255                 "e34f118.cd120f",
1256                 "4555531e.6f353c"
1257             ]
1258         ]
1259     },
1260     {
1261         "id": "e34f118.cd120f",
1262         "type": "outcome",
1263         "name": "Not Mounted",
1264         "xml": "<outcome value='false'>\n",
1265         "comments": "",
1266         "outputs": 1,
1267         "x": 3037.8125,
1268         "y": 2227.812255859375,
1269         "z": "7108e868.a979d8",
1270         "wires": [
1271             [
1272                 "c7e16a4d.5ee148"
1273             ]
1274         ]
1275     },
1276     {
1277         "id": "c7e16a4d.5ee148",
1278         "type": "execute",
1279         "name": "fetch RRMPolicyRatio NRCellCU - URL",
1280         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
1281         "comments": "",
1282         "outputs": 1,
1283         "x": 3303.8125,
1284         "y": 2231.8125,
1285         "z": "7108e868.a979d8",
1286         "wires": [
1287             []
1288         ]
1289     },
1290     {
1291         "id": "fcd1306a.0ccea",
1292         "type": "execute",
1293         "name": "patch NRCellCU - RRMPolicyRatio",
1294         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio.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-cellCU-RRMPolicyRatio-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' />",
1295         "comments": "",
1296         "outputs": 1,
1297         "x": 2866.8125,
1298         "y": 2391.8125,
1299         "z": "7108e868.a979d8",
1300         "wires": [
1301             [
1302                 "a24f6f33.5c01f",
1303                 "df336133.6e823"
1304             ]
1305         ]
1306     },
1307     {
1308         "id": "a24f6f33.5c01f",
1309         "type": "success",
1310         "name": "success",
1311         "xml": "<outcome value='success'>\n",
1312         "comments": "",
1313         "outputs": 1,
1314         "x": 3138.8125,
1315         "y": 2383.8125,
1316         "z": "7108e868.a979d8",
1317         "wires": [
1318             [
1319                 "f5047557.3f0658"
1320             ]
1321         ]
1322     },
1323     {
1324         "id": "f5047557.3f0658",
1325         "type": "block",
1326         "name": "block : atomic",
1327         "xml": "<block atomic='true'>",
1328         "atomic": "true",
1329         "comments": "",
1330         "outputs": 1,
1331         "x": 3329.8125,
1332         "y": 2383.8125,
1333         "z": "7108e868.a979d8",
1334         "wires": [
1335             [
1336                 "b391edca.02267",
1337                 "ef5706f3.674e08"
1338             ]
1339         ]
1340     },
1341     {
1342         "id": "b391edca.02267",
1343         "type": "record",
1344         "name": "record",
1345         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
1346         "comments": "",
1347         "outputs": 1,
1348         "x": 3514.812255859375,
1349         "y": 2384.812744140625,
1350         "z": "7108e868.a979d8",
1351         "wires": [
1352             []
1353         ]
1354     },
1355     {
1356         "id": "df336133.6e823",
1357         "type": "failure",
1358         "name": "failure",
1359         "xml": "<outcome value='failure'>\n",
1360         "comments": "",
1361         "outputs": 1,
1362         "x": 3137.8125,
1363         "y": 2471.8125,
1364         "z": "7108e868.a979d8",
1365         "wires": [
1366             [
1367                 "c338375f.71e348"
1368             ]
1369         ]
1370     },
1371     {
1372         "id": "c338375f.71e348",
1373         "type": "block",
1374         "name": "block : atomic",
1375         "xml": "<block atomic='true'>",
1376         "atomic": "true",
1377         "comments": "",
1378         "outputs": 1,
1379         "x": 3356.812744140625,
1380         "y": 2476.8125,
1381         "z": "7108e868.a979d8",
1382         "wires": [
1383             [
1384                 "e396dc8f.6db54",
1385                 "89bcda2.7d97e28"
1386             ]
1387         ]
1388     },
1389     {
1390         "id": "e396dc8f.6db54",
1391         "type": "returnFailure",
1392         "name": "return failure",
1393         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU - RRMPolicyRAtio. Aborting RPC executiopn'/>",
1394         "comments": "",
1395         "x": 3601.8123779296875,
1396         "y": 2522.8125610351562,
1397         "z": "7108e868.a979d8",
1398         "wires": []
1399     },
1400     {
1401         "id": "89bcda2.7d97e28",
1402         "type": "set",
1403         "name": "set",
1404         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
1405         "comments": "",
1406         "x": 3596.8125,
1407         "y": 2427.8125,
1408         "z": "7108e868.a979d8",
1409         "wires": []
1410     },
1411     {
1412         "id": "cb510840.ed88c8",
1413         "type": "record",
1414         "name": "record",
1415         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
1416         "comments": "",
1417         "outputs": 1,
1418         "x": 2307.8125,
1419         "y": 2122.8125,
1420         "z": "7108e868.a979d8",
1421         "wires": [
1422             []
1423         ]
1424     },
1425     {
1426         "id": "2367fdf7.13e052",
1427         "type": "block",
1428         "name": "block",
1429         "xml": "<block atomic='true'>",
1430         "atomic": "true",
1431         "comments": "",
1432         "outputs": 1,
1433         "x": 2059.8125,
1434         "y": 1397.8125,
1435         "z": "7108e868.a979d8",
1436         "wires": [
1437             [
1438                 "f75f3c8b.be38f",
1439                 "ab9b5a5f.7edca8"
1440             ]
1441         ]
1442     },
1443     {
1444         "id": "8dd84100.059ce",
1445         "type": "record",
1446         "name": "record",
1447         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellCU is applicable for the NSSAI \"/>\n\n\n",
1448         "comments": "",
1449         "outputs": 1,
1450         "x": 2548.8125,
1451         "y": 1090.8125,
1452         "z": "7108e868.a979d8",
1453         "wires": [
1454             []
1455         ]
1456     },
1457     {
1458         "id": "d05460e1.aaaa4",
1459         "type": "block",
1460         "name": "block : atomic",
1461         "xml": "<block atomic='true'>",
1462         "atomic": "true",
1463         "comments": "",
1464         "outputs": 1,
1465         "x": 1948.8124542236328,
1466         "y": 2374.812511444092,
1467         "z": "7108e868.a979d8",
1468         "wires": [
1469             [
1470                 "fe92705b.ea1c8",
1471                 "d084ab4e.bc34d8"
1472             ]
1473         ]
1474     },
1475     {
1476         "id": "fe92705b.ea1c8",
1477         "type": "execute",
1478         "name": "Update cellCU for gNBCUCP in ConfigDB",
1479         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUCP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updategNBCUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
1480         "comments": "",
1481         "outputs": 1,
1482         "x": 2231.812454223633,
1483         "y": 2374.812511444092,
1484         "z": "7108e868.a979d8",
1485         "wires": [
1486             [
1487                 "79c4d718.a8c6e8",
1488                 "b47984b.f7f7b78"
1489             ]
1490         ]
1491     },
1492     {
1493         "id": "b47984b.f7f7b78",
1494         "type": "success",
1495         "name": "success",
1496         "xml": "<outcome value='success'>\n",
1497         "comments": "",
1498         "outputs": 1,
1499         "x": 2467.812454223633,
1500         "y": 2446.812511444092,
1501         "z": "7108e868.a979d8",
1502         "wires": [
1503             [
1504                 "ce3eb8e1.c1ccb8"
1505             ]
1506         ]
1507     },
1508     {
1509         "id": "79c4d718.a8c6e8",
1510         "type": "failure",
1511         "name": "failure",
1512         "xml": "<outcome value='failure'>\n",
1513         "comments": "",
1514         "outputs": 1,
1515         "x": 2518.812454223633,
1516         "y": 2345.812755584717,
1517         "z": "7108e868.a979d8",
1518         "wires": [
1519             [
1520                 "bef7b599.2a8f68"
1521             ]
1522         ]
1523     },
1524     {
1525         "id": "bef7b599.2a8f68",
1526         "type": "block",
1527         "name": "block : atomic",
1528         "xml": "<block atomic='true'>",
1529         "atomic": "true",
1530         "comments": "",
1531         "outputs": 1,
1532         "x": 2710.812454223633,
1533         "y": 2461.812511444092,
1534         "z": "7108e868.a979d8",
1535         "wires": [
1536             [
1537                 "70a96b2.3356894",
1538                 "e1603c4c.c51ab",
1539                 "ef5706f3.674e08"
1540             ]
1541         ]
1542     },
1543     {
1544         "id": "e1603c4c.c51ab",
1545         "type": "set",
1546         "name": "set",
1547         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
1548         "comments": "",
1549         "x": 2876.812255859375,
1550         "y": 2429.8125,
1551         "z": "7108e868.a979d8",
1552         "wires": []
1553     },
1554     {
1555         "id": "70a96b2.3356894",
1556         "type": "returnFailure",
1557         "name": "return failure",
1558         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
1559         "comments": "",
1560         "x": 2881.8120880126953,
1561         "y": 2522.812572479248,
1562         "z": "7108e868.a979d8",
1563         "wires": []
1564     },
1565     {
1566         "id": "b9fc74bf.735e68",
1567         "type": "record",
1568         "name": "record",
1569         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
1570         "comments": "",
1571         "outputs": 1,
1572         "x": 2717.812454223633,
1573         "y": 2533.812511444092,
1574         "z": "7108e868.a979d8",
1575         "wires": [
1576             []
1577         ]
1578     },
1579     {
1580         "id": "ce3eb8e1.c1ccb8",
1581         "type": "block",
1582         "name": "block",
1583         "xml": "<block>\n",
1584         "atomic": "false",
1585         "comments": "",
1586         "outputs": 1,
1587         "x": 2553.8124389648438,
1588         "y": 2527.812572479248,
1589         "z": "7108e868.a979d8",
1590         "wires": [
1591             [
1592                 "b9fc74bf.735e68"
1593             ]
1594         ]
1595     },
1596     {
1597         "id": "d084ab4e.bc34d8",
1598         "type": "execute",
1599         "name": "Update RRMPolicy for gNBCUCP in ConfigDB",
1600         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUCP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
1601         "comments": "",
1602         "outputs": 1,
1603         "x": 2252.8125,
1604         "y": 2660.8125,
1605         "z": "7108e868.a979d8",
1606         "wires": [
1607             [
1608                 "b305e15b.ccf55",
1609                 "14cd58ef.8378c7"
1610             ]
1611         ]
1612     },
1613     {
1614         "id": "b305e15b.ccf55",
1615         "type": "failure",
1616         "name": "failure",
1617         "xml": "<outcome value='failure'>\n",
1618         "comments": "",
1619         "outputs": 1,
1620         "x": 2550.8125,
1621         "y": 2610.8125,
1622         "z": "7108e868.a979d8",
1623         "wires": [
1624             [
1625                 "d2644aeb.86dd28"
1626             ]
1627         ]
1628     },
1629     {
1630         "id": "14cd58ef.8378c7",
1631         "type": "success",
1632         "name": "success",
1633         "xml": "<outcome value='success'>\n",
1634         "comments": "",
1635         "outputs": 1,
1636         "x": 2550.8125,
1637         "y": 2720.812255859375,
1638         "z": "7108e868.a979d8",
1639         "wires": [
1640             [
1641                 "b6930962.6ec088"
1642             ]
1643         ]
1644     },
1645     {
1646         "id": "d2644aeb.86dd28",
1647         "type": "block",
1648         "name": "block : atomic",
1649         "xml": "<block atomic='true'>",
1650         "atomic": "true",
1651         "comments": "",
1652         "outputs": 1,
1653         "x": 2753.8125,
1654         "y": 2607.8125,
1655         "z": "7108e868.a979d8",
1656         "wires": [
1657             [
1658                 "b50e41ac.16a5a",
1659                 "b28fe2e8.9a973",
1660                 "ef5706f3.674e08"
1661             ]
1662         ]
1663     },
1664     {
1665         "id": "b28fe2e8.9a973",
1666         "type": "set",
1667         "name": "set",
1668         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellCU. Aborting RPC executiopn'/>",
1669         "comments": "",
1670         "x": 2919.812255859375,
1671         "y": 2573.8125,
1672         "z": "7108e868.a979d8",
1673         "wires": []
1674     },
1675     {
1676         "id": "b50e41ac.16a5a",
1677         "type": "returnFailure",
1678         "name": "return failure",
1679         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
1680         "comments": "",
1681         "x": 2924.8121337890625,
1682         "y": 2668.8125610351562,
1683         "z": "7108e868.a979d8",
1684         "wires": []
1685     },
1686     {
1687         "id": "b6930962.6ec088",
1688         "type": "block",
1689         "name": "block",
1690         "xml": "<block>\n",
1691         "atomic": "false",
1692         "comments": "",
1693         "outputs": 1,
1694         "x": 2731.8125,
1695         "y": 2714.8125,
1696         "z": "7108e868.a979d8",
1697         "wires": [
1698             [
1699                 "43de9281.43d8bc"
1700             ]
1701         ]
1702     },
1703     {
1704         "id": "43de9281.43d8bc",
1705         "type": "record",
1706         "name": "record",
1707         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU RRMPolicyRatio \"/>",
1708         "comments": "",
1709         "outputs": 1,
1710         "x": 2897.8125,
1711         "y": 2715.8125,
1712         "z": "7108e868.a979d8",
1713         "wires": [
1714             []
1715         ]
1716     },
1717     {
1718         "id": "d086944b.c66398",
1719         "type": "block",
1720         "name": "Process CUUP",
1721         "xml": "<block atomic='true'>",
1722         "atomic": "true",
1723         "comments": "",
1724         "outputs": 1,
1725         "x": 844.8125,
1726         "y": 1554.8125,
1727         "z": "7108e868.a979d8",
1728         "wires": [
1729             [
1730                 "462da7ab.a5a448",
1731                 "e48738e4.73f948",
1732                 "3f53493c.b3bae6"
1733             ]
1734         ]
1735     },
1736     {
1737         "id": "462da7ab.a5a448",
1738         "type": "execute",
1739         "name": "read CUUP list size",
1740         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.CUUPList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBCUUPList_length'`\" />\n    ",
1741         "comments": "",
1742         "outputs": 1,
1743         "x": 1175.8125,
1744         "y": 1564.8125,
1745         "z": "7108e868.a979d8",
1746         "wires": [
1747             []
1748         ]
1749     },
1750     {
1751         "id": "e48738e4.73f948",
1752         "type": "record",
1753         "name": "record",
1754         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of CUCP List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.CUUPList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
1755         "comments": "",
1756         "outputs": 1,
1757         "x": 1147.8125,
1758         "y": 1629.8125,
1759         "z": "7108e868.a979d8",
1760         "wires": [
1761             []
1762         ]
1763     },
1764     {
1765         "id": "3f53493c.b3bae6",
1766         "type": "for",
1767         "name": "foreach CUUP",
1768         "xml": "<for index='id-cuup' start='0' end='`$tmp.CUUPList_length`'>\n",
1769         "comments": "",
1770         "outputs": 1,
1771         "x": 1175.8125,
1772         "y": 1704.8125,
1773         "z": "7108e868.a979d8",
1774         "wires": [
1775             [
1776                 "b771bcd9.93d"
1777             ]
1778         ]
1779     },
1780     {
1781         "id": "b771bcd9.93d",
1782         "type": "block",
1783         "name": "block : process CUUP",
1784         "xml": "<block atomic='true'>",
1785         "atomic": "true",
1786         "comments": "",
1787         "outputs": 1,
1788         "x": 1396.8125,
1789         "y": 1711.8125,
1790         "z": "7108e868.a979d8",
1791         "wires": [
1792             [
1793                 "902fd630.8a9ff8",
1794                 "3f3bdc31.8c0ec4",
1795                 "56f3c5f4.783d1c",
1796                 "68482403.97ca3c"
1797             ]
1798         ]
1799     },
1800     {
1801         "id": "902fd630.8a9ff8",
1802         "type": "execute",
1803         "name": "read CUUP id",
1804         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.idGNBCUUPFunction' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].gNBCUUPId'`\" />",
1805         "comments": "",
1806         "outputs": 1,
1807         "x": 1630.8125,
1808         "y": 1545.8125,
1809         "z": "7108e868.a979d8",
1810         "wires": [
1811             []
1812         ]
1813     },
1814     {
1815         "id": "3f3bdc31.8c0ec4",
1816         "type": "record",
1817         "name": "record",
1818         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"idGNBCUUPFunction \"/>\n<parameter name=\"field2\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n\n",
1819         "comments": "",
1820         "outputs": 1,
1821         "x": 1626.8125,
1822         "y": 1599.8125,
1823         "z": "7108e868.a979d8",
1824         "wires": [
1825             []
1826         ]
1827     },
1828     {
1829         "id": "56f3c5f4.783d1c",
1830         "type": "execute",
1831         "name": "read plmninfolist size",
1832         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUUPList['+ $id-cuup +'].pLMNInfoList_length'`\" />",
1833         "comments": "",
1834         "outputs": 1,
1835         "x": 1677.8125,
1836         "y": 1664.8125,
1837         "z": "7108e868.a979d8",
1838         "wires": [
1839             []
1840         ]
1841     },
1842     {
1843         "id": "68482403.97ca3c",
1844         "type": "for",
1845         "name": "foreach pLMNInfo",
1846         "xml": "<for index='id-plmn' start='0' end='`$tmp.pLMNInfoList`'>\n",
1847         "comments": "",
1848         "outputs": 1,
1849         "x": 1663.8125,
1850         "y": 1719.8125,
1851         "z": "7108e868.a979d8",
1852         "wires": [
1853             [
1854                 "62fc86b9.2bf388"
1855             ]
1856         ]
1857     },
1858     {
1859         "id": "62fc86b9.2bf388",
1860         "type": "block",
1861         "name": "block : atomic",
1862         "xml": "<block atomic='true'>",
1863         "atomic": "true",
1864         "comments": "",
1865         "outputs": 1,
1866         "x": 1629.8125,
1867         "y": 2795.8125,
1868         "z": "7108e868.a979d8",
1869         "wires": [
1870             [
1871                 "bd37c8ec.2cb548",
1872                 "75687bbe.c8ac34",
1873                 "2ecbf849.cff368",
1874                 "e1fe95a4.e56b88",
1875                 "f11648d2.8a6158",
1876                 "b26edd45.59a21",
1877                 "4a615dd1.f7d994",
1878                 "82f93bbe.2a8f58",
1879                 "5806bd74.97f274",
1880                 "bbd5f05e.aa95f",
1881                 "7b0b3132.35108",
1882                 "ba3263a2.7a90f"
1883             ]
1884         ]
1885     },
1886     {
1887         "id": "2ecbf849.cff368",
1888         "type": "execute",
1889         "name": "patch PLMNInfoListEntry gNBCUUP",
1890         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoList-CUUP.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-gNBCUUP-PLMNInfoList-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' />",
1891         "comments": "",
1892         "outputs": 1,
1893         "x": 1957.8125,
1894         "y": 2993.8125,
1895         "z": "7108e868.a979d8",
1896         "wires": [
1897             [
1898                 "6a4ff84d.86f158",
1899                 "a21ae80.f8a7c18"
1900             ]
1901         ]
1902     },
1903     {
1904         "id": "6a4ff84d.86f158",
1905         "type": "failure",
1906         "name": "failure",
1907         "xml": "<outcome value='failure'>\n",
1908         "comments": "",
1909         "outputs": 1,
1910         "x": 2259.8126525878906,
1911         "y": 2995.8127393722534,
1912         "z": "7108e868.a979d8",
1913         "wires": [
1914             [
1915                 "f129f56b.6a8468"
1916             ]
1917         ]
1918     },
1919     {
1920         "id": "f129f56b.6a8468",
1921         "type": "block",
1922         "name": "block : atomic",
1923         "xml": "<block atomic='true'>",
1924         "atomic": "true",
1925         "comments": "",
1926         "outputs": 1,
1927         "x": 2436.812774658203,
1928         "y": 2984.812617301941,
1929         "z": "7108e868.a979d8",
1930         "wires": [
1931             [
1932                 "818116b.749a3e8",
1933                 "4c0fe3af.87361c",
1934                 "ef5706f3.674e08"
1935             ]
1936         ]
1937     },
1938     {
1939         "id": "4c0fe3af.87361c",
1940         "type": "set",
1941         "name": "set",
1942         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching CUUP PLMNInfoList. Aborting RPC executiopn'/>",
1943         "comments": "",
1944         "x": 2707.8127098083496,
1945         "y": 2888.812978744507,
1946         "z": "7108e868.a979d8",
1947         "wires": []
1948     },
1949     {
1950         "id": "818116b.749a3e8",
1951         "type": "returnFailure",
1952         "name": "return failure",
1953         "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 CUUP PLMNInfo. Aborting RPC executiopn'/>",
1954         "comments": "",
1955         "x": 2692.812713623047,
1956         "y": 2942.8129177093506,
1957         "z": "7108e868.a979d8",
1958         "wires": []
1959     },
1960     {
1961         "id": "88c21b9a.22d488",
1962         "type": "record",
1963         "name": "record",
1964         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - gNBCUUP PLMNInfo List\"/>",
1965         "comments": "",
1966         "outputs": 1,
1967         "x": 2586.812225341797,
1968         "y": 3067.8127393722534,
1969         "z": "7108e868.a979d8",
1970         "wires": [
1971             []
1972         ]
1973     },
1974     {
1975         "id": "c2e2f484.ae9978",
1976         "type": "block",
1977         "name": "block : atomic",
1978         "xml": "<block atomic='true'>",
1979         "atomic": "true",
1980         "comments": "",
1981         "outputs": 1,
1982         "x": 2433.812530517578,
1983         "y": 3067.8124952316284,
1984         "z": "7108e868.a979d8",
1985         "wires": [
1986             [
1987                 "88c21b9a.22d488"
1988             ]
1989         ]
1990     },
1991     {
1992         "id": "a21ae80.f8a7c18",
1993         "type": "success",
1994         "name": "success",
1995         "xml": "<outcome value='success'>\n",
1996         "comments": "",
1997         "outputs": 1,
1998         "x": 2253.812530517578,
1999         "y": 3062.812678337097,
2000         "z": "7108e868.a979d8",
2001         "wires": [
2002             [
2003                 "c2e2f484.ae9978"
2004             ]
2005         ]
2006     },
2007     {
2008         "id": "bd37c8ec.2cb548",
2009         "type": "switchNode",
2010         "name": "ransim mounted",
2011         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2012         "comments": "",
2013         "outputs": 1,
2014         "x": 1896.8125,
2015         "y": 2797.8125,
2016         "z": "7108e868.a979d8",
2017         "wires": [
2018             [
2019                 "31b6e50e.0ffa9a",
2020                 "605133da.405fac"
2021             ]
2022         ]
2023     },
2024     {
2025         "id": "31b6e50e.0ffa9a",
2026         "type": "outcome",
2027         "name": "Not Mounted",
2028         "xml": "<outcome value='false'>\n",
2029         "comments": "",
2030         "outputs": 1,
2031         "x": 2104.8125,
2032         "y": 2762.812255859375,
2033         "z": "7108e868.a979d8",
2034         "wires": [
2035             [
2036                 "ca261737.b9abf8"
2037             ]
2038         ]
2039     },
2040     {
2041         "id": "605133da.405fac",
2042         "type": "outcome",
2043         "name": "Mounted",
2044         "xml": "<outcome value='true'>\n",
2045         "comments": "",
2046         "outputs": 1,
2047         "x": 2092.8125,
2048         "y": 2864.8125,
2049         "z": "7108e868.a979d8",
2050         "wires": [
2051             [
2052                 "cec48822.0fc488"
2053             ]
2054         ]
2055     },
2056     {
2057         "id": "ca261737.b9abf8",
2058         "type": "execute",
2059         "name": "generate patch PLMNInfoListEntry CUUP URL",
2060         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
2061         "comments": "",
2062         "outputs": 1,
2063         "x": 2424.8125,
2064         "y": 2777.8125,
2065         "z": "7108e868.a979d8",
2066         "wires": [
2067             []
2068         ]
2069     },
2070     {
2071         "id": "75687bbe.c8ac34",
2072         "type": "execute",
2073         "name": "prepare idGNBCUCPFunction",
2074         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
2075         "comments": "",
2076         "outputs": 1,
2077         "x": 1941.8125,
2078         "y": 2936.8125,
2079         "z": "7108e868.a979d8",
2080         "wires": [
2081             []
2082         ]
2083     },
2084     {
2085         "id": "4a4813ea.c1f99c",
2086         "type": "set",
2087         "name": "RRMPolicyRatio id",
2088         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+'].id'`\" />",
2089         "comments": "",
2090         "x": 2851.8125,
2091         "y": 2258.8125,
2092         "z": "7108e868.a979d8",
2093         "wires": []
2094     },
2095     {
2096         "id": "79d52a8e.70e584",
2097         "type": "set",
2098         "name": "RRMPolicyMember Id",
2099         "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $idcu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
2100         "comments": "",
2101         "x": 2842.8125,
2102         "y": 2305.8125,
2103         "z": "7108e868.a979d8",
2104         "wires": []
2105     },
2106     {
2107         "id": "e1fe95a4.e56b88",
2108         "type": "set",
2109         "name": "Calculate RRMPolicyRatio",
2110         "xml": "<set>\n<parameter name='tmp.maxNumberOfDRBsPerNSSAI' value='`$tmp.payload.maxNumberofConns*4`' />\n<parameter name='tmp.maxNumberOfDRBsPerCUUP' value='`$tmp.maxNumberOfDRBsPerNSSAI /$tmp.CUUPList_length`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio1' value='`$tmp.maxNumberOfDRBsPerCUUP*100`' />\n<parameter name='tmp.rRMPolicyDedicatedRatio-CUUP' value='`$tmp.rRMPolicyDedicatedRatio1/$prop.cuupfunction.maxNumberOfDRBsPerCUUP`' />",
2111         "comments": "",
2112         "x": 1930.8127136230469,
2113         "y": 3065.812994003296,
2114         "z": "7108e868.a979d8",
2115         "wires": []
2116     },
2117     {
2118         "id": "f11648d2.8a6158",
2119         "type": "record",
2120         "name": "record",
2121         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatio for this profile is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio-CUUP`\"/>",
2122         "comments": "",
2123         "outputs": 1,
2124         "x": 1876.8127059936523,
2125         "y": 3137.812997817993,
2126         "z": "7108e868.a979d8",
2127         "wires": [
2128             []
2129         ]
2130     },
2131     {
2132         "id": "b26edd45.59a21",
2133         "type": "switchNode",
2134         "name": "ransim mounted",
2135         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2136         "comments": "",
2137         "outputs": 1,
2138         "x": 1887.8125,
2139         "y": 3212.8125,
2140         "z": "7108e868.a979d8",
2141         "wires": [
2142             [
2143                 "b48e9df0.37c53",
2144                 "84a6a111.772e4"
2145             ]
2146         ]
2147     },
2148     {
2149         "id": "b48e9df0.37c53",
2150         "type": "outcome",
2151         "name": "Not Mounted",
2152         "xml": "<outcome value='false'>\n",
2153         "comments": "",
2154         "outputs": 1,
2155         "x": 2065.8125,
2156         "y": 3179.812255859375,
2157         "z": "7108e868.a979d8",
2158         "wires": [
2159             [
2160                 "164e8c22.475114"
2161             ]
2162         ]
2163     },
2164     {
2165         "id": "164e8c22.475114",
2166         "type": "execute",
2167         "name": "fetch RRMPolicyRatio CUUP - URL",
2168         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
2169         "comments": "",
2170         "outputs": 1,
2171         "x": 2360.812530517578,
2172         "y": 3125.8125562667847,
2173         "z": "7108e868.a979d8",
2174         "wires": [
2175             []
2176         ]
2177     },
2178     {
2179         "id": "4a615dd1.f7d994",
2180         "type": "execute",
2181         "name": "prepare idGNBCUUPFunction",
2182         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idGNBCUUPFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>\n",
2183         "comments": "",
2184         "outputs": 1,
2185         "x": 1924.8125839233398,
2186         "y": 3267.8125133514404,
2187         "z": "7108e868.a979d8",
2188         "wires": [
2189             []
2190         ]
2191     },
2192     {
2193         "id": "82f93bbe.2a8f58",
2194         "type": "execute",
2195         "name": "fetch RRMPolicyRatio - CUUP",
2196         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-cuup-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\"/>",
2197         "comments": "",
2198         "outputs": 1,
2199         "x": 1920.8127517700195,
2200         "y": 3324.8125143051147,
2201         "z": "7108e868.a979d8",
2202         "wires": [
2203             [
2204                 "e03ffc51.6fbca",
2205                 "cce032c0.0d88f"
2206             ]
2207         ]
2208     },
2209     {
2210         "id": "e03ffc51.6fbca",
2211         "type": "failure",
2212         "name": "failure",
2213         "xml": "<outcome value='failure'>\n",
2214         "comments": "",
2215         "outputs": 1,
2216         "x": 2170.8125953674316,
2217         "y": 3314.812678337097,
2218         "z": "7108e868.a979d8",
2219         "wires": [
2220             [
2221                 "2261ec2.bfaac14"
2222             ]
2223         ]
2224     },
2225     {
2226         "id": "2261ec2.bfaac14",
2227         "type": "block",
2228         "name": "block : atomic",
2229         "xml": "<block atomic='true'>",
2230         "atomic": "true",
2231         "comments": "",
2232         "outputs": 1,
2233         "x": 2331.812744140625,
2234         "y": 3333.8125,
2235         "z": "7108e868.a979d8",
2236         "wires": [
2237             [
2238                 "fde07db7.6edee",
2239                 "4a0a2150.dd5b7",
2240                 "ef5706f3.674e08"
2241             ]
2242         ]
2243     },
2244     {
2245         "id": "4a0a2150.dd5b7",
2246         "type": "set",
2247         "name": "set",
2248         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
2249         "comments": "",
2250         "x": 2497.8125,
2251         "y": 3299.8125,
2252         "z": "7108e868.a979d8",
2253         "wires": []
2254     },
2255     {
2256         "id": "fde07db7.6edee",
2257         "type": "returnFailure",
2258         "name": "return failure",
2259         "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 in fetching RRMPolicyRatio. Aborting RPC executiopn'/>",
2260         "comments": "",
2261         "x": 2502.8123779296875,
2262         "y": 3394.8125610351562,
2263         "z": "7108e868.a979d8",
2264         "wires": []
2265     },
2266     {
2267         "id": "5f5f8a4d.ecf264",
2268         "type": "execute",
2269         "name": "printContext",
2270         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
2271         "comments": "",
2272         "outputs": 1,
2273         "x": 2506.8125,
2274         "y": 3523.8125,
2275         "z": "7108e868.a979d8",
2276         "wires": [
2277             []
2278         ]
2279     },
2280     {
2281         "id": "be1c4c39.89b8c",
2282         "type": "record",
2283         "name": "record",
2284         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
2285         "comments": "",
2286         "outputs": 1,
2287         "x": 2491.8123779296875,
2288         "y": 3460.812744140625,
2289         "z": "7108e868.a979d8",
2290         "wires": [
2291             []
2292         ]
2293     },
2294     {
2295         "id": "2d110399.7859bc",
2296         "type": "block",
2297         "name": "block : atomic",
2298         "xml": "<block atomic='true'>",
2299         "atomic": "true",
2300         "comments": "",
2301         "outputs": 1,
2302         "x": 2325.8123168945312,
2303         "y": 3406.81268119812,
2304         "z": "7108e868.a979d8",
2305         "wires": [
2306             [
2307                 "be1c4c39.89b8c",
2308                 "5f5f8a4d.ecf264"
2309             ]
2310         ]
2311     },
2312     {
2313         "id": "cce032c0.0d88f",
2314         "type": "success",
2315         "name": "success",
2316         "xml": "<outcome value='success'>\n",
2317         "comments": "",
2318         "outputs": 1,
2319         "x": 2161.8125953674316,
2320         "y": 3384.81268119812,
2321         "z": "7108e868.a979d8",
2322         "wires": [
2323             [
2324                 "2d110399.7859bc"
2325             ]
2326         ]
2327     },
2328     {
2329         "id": "5806bd74.97f274",
2330         "type": "execute",
2331         "name": "read rrmpolicyratio list size",
2332         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioList_CUUP_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
2333         "comments": "",
2334         "outputs": 1,
2335         "x": 1898.8125915527344,
2336         "y": 3389.812599182129,
2337         "z": "7108e868.a979d8",
2338         "wires": [
2339             []
2340         ]
2341     },
2342     {
2343         "id": "bbd5f05e.aa95f",
2344         "type": "record",
2345         "name": "record",
2346         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CUUP - RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.tmp.rrmPolicyRatioList_CUUP_length`\"/>\n",
2347         "comments": "",
2348         "outputs": 1,
2349         "x": 1838.8125839233398,
2350         "y": 3440.8126010894775,
2351         "z": "7108e868.a979d8",
2352         "wires": [
2353             []
2354         ]
2355     },
2356     {
2357         "id": "7b0b3132.35108",
2358         "type": "for",
2359         "name": "for each rrmpolicyratio",
2360         "xml": "<for index='idcuup-rrm' start='0' end='`$tmp.rrmPolicyRatioList_CUUP_length`' >\n",
2361         "comments": "",
2362         "outputs": 1,
2363         "x": 1886.4791717529297,
2364         "y": 3581.1459369659424,
2365         "z": "7108e868.a979d8",
2366         "wires": [
2367             [
2368                 "8250f885.9a6238"
2369             ]
2370         ]
2371     },
2372     {
2373         "id": "8250f885.9a6238",
2374         "type": "block",
2375         "name": "block : atomic",
2376         "xml": "<block atomic='true'>",
2377         "atomic": "true",
2378         "comments": "",
2379         "outputs": 1,
2380         "x": 2104.4791259765625,
2381         "y": 3608.145751953125,
2382         "z": "7108e868.a979d8",
2383         "wires": [
2384             [
2385                 "f1bf3011.d74b2",
2386                 "d818aaf7.0aee18",
2387                 "6cb09c3f.522a24",
2388                 "3a30a758.d1cd78",
2389                 "568f3597.ab1f0c",
2390                 "4e2db998.18c708"
2391             ]
2392         ]
2393     },
2394     {
2395         "id": "f1bf3011.d74b2",
2396         "type": "set",
2397         "name": "Calculate updated RRMPolicyRatio",
2398         "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CUUP_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP + $tmp.rRMPolicyDedicatedRatio-CUUP`\" />",
2399         "comments": "",
2400         "x": 2429.4791259765625,
2401         "y": 3585.145751953125,
2402         "z": "7108e868.a979d8",
2403         "wires": []
2404     },
2405     {
2406         "id": "6cb09c3f.522a24",
2407         "type": "switchNode",
2408         "name": "ransim mounted",
2409         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
2410         "comments": "",
2411         "outputs": 1,
2412         "x": 2397.4791259765625,
2413         "y": 3636.145751953125,
2414         "z": "7108e868.a979d8",
2415         "wires": [
2416             [
2417                 "68da40a6.630dc",
2418                 "96bf52a5.a5094"
2419             ]
2420         ]
2421     },
2422     {
2423         "id": "568f3597.ab1f0c",
2424         "type": "set",
2425         "name": "RRMPolicyRatio id",
2426         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+'].id'`\" />",
2427         "comments": "",
2428         "x": 2411.4791259765625,
2429         "y": 3674.145751953125,
2430         "z": "7108e868.a979d8",
2431         "wires": []
2432     },
2433     {
2434         "id": "68da40a6.630dc",
2435         "type": "outcome",
2436         "name": "Not Mounted",
2437         "xml": "<outcome value='false'>\n",
2438         "comments": "",
2439         "outputs": 1,
2440         "x": 2614.4792251586914,
2441         "y": 3623.145571708679,
2442         "z": "7108e868.a979d8",
2443         "wires": [
2444             [
2445                 "ed44c1a6.36128"
2446             ]
2447         ]
2448     },
2449     {
2450         "id": "ed44c1a6.36128",
2451         "type": "execute",
2452         "name": "patch RRMPolicyRatio CUUP- URL",
2453         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
2454         "comments": "",
2455         "outputs": 1,
2456         "x": 2887.4790954589844,
2457         "y": 3593.1461219787598,
2458         "z": "7108e868.a979d8",
2459         "wires": [
2460             []
2461         ]
2462     },
2463     {
2464         "id": "4e2db998.18c708",
2465         "type": "set",
2466         "name": "RRMPolicyMember Id",
2467         "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-cuup-response.attributes.RRMPolicyRatio['+ $idcuup-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
2468         "comments": "",
2469         "x": 2402.4791259765625,
2470         "y": 3721.145751953125,
2471         "z": "7108e868.a979d8",
2472         "wires": []
2473     },
2474     {
2475         "id": "d818aaf7.0aee18",
2476         "type": "record",
2477         "name": "record",
2478         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CUUP is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_CUUP_updated`\"/>",
2479         "comments": "",
2480         "outputs": 1,
2481         "x": 2359.4791259765625,
2482         "y": 3765.145751953125,
2483         "z": "7108e868.a979d8",
2484         "wires": [
2485             []
2486         ]
2487     },
2488     {
2489         "id": "3a30a758.d1cd78",
2490         "type": "execute",
2491         "name": "patch CUUP- RRMPolicyRatio",
2492         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-CUUP.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-CUUP-RRMPolicyRatio-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' />",
2493         "comments": "",
2494         "outputs": 1,
2495         "x": 2426.4791259765625,
2496         "y": 3807.145751953125,
2497         "z": "7108e868.a979d8",
2498         "wires": [
2499             [
2500                 "7c1a793c.e7f098",
2501                 "ecae4a1e.4ed968"
2502             ]
2503         ]
2504     },
2505     {
2506         "id": "7c1a793c.e7f098",
2507         "type": "success",
2508         "name": "success",
2509         "xml": "<outcome value='success'>\n",
2510         "comments": "",
2511         "outputs": 1,
2512         "x": 2698.4791259765625,
2513         "y": 3799.145751953125,
2514         "z": "7108e868.a979d8",
2515         "wires": [
2516             [
2517                 "ee919351.884ae"
2518             ]
2519         ]
2520     },
2521     {
2522         "id": "ee919351.884ae",
2523         "type": "block",
2524         "name": "block : atomic",
2525         "xml": "<block atomic='true'>",
2526         "atomic": "true",
2527         "comments": "",
2528         "outputs": 1,
2529         "x": 2889.4791259765625,
2530         "y": 3799.145751953125,
2531         "z": "7108e868.a979d8",
2532         "wires": [
2533             [
2534                 "9967fe18.3f52",
2535                 "ef5706f3.674e08"
2536             ]
2537         ]
2538     },
2539     {
2540         "id": "9967fe18.3f52",
2541         "type": "record",
2542         "name": "record",
2543         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellCU RRMpolicyRatio\"/>",
2544         "comments": "",
2545         "outputs": 1,
2546         "x": 3074.4788818359375,
2547         "y": 3800.14599609375,
2548         "z": "7108e868.a979d8",
2549         "wires": [
2550             []
2551         ]
2552     },
2553     {
2554         "id": "3d107c96.8f4394",
2555         "type": "set",
2556         "name": "set",
2557         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellCU RRMPolicyRatio. Aborting RPC executiopn'/>",
2558         "comments": "",
2559         "x": 3156.4791259765625,
2560         "y": 3843.145751953125,
2561         "z": "7108e868.a979d8",
2562         "wires": []
2563     },
2564     {
2565         "id": "64358581.2074dc",
2566         "type": "returnFailure",
2567         "name": "return failure",
2568         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating nearRTRIC info in ConfigDB. Aborting RPC executiopn'/>",
2569         "comments": "",
2570         "x": 3161.47900390625,
2571         "y": 3938.1458129882812,
2572         "z": "7108e868.a979d8",
2573         "wires": []
2574     },
2575     {
2576         "id": "87867dbd.bfc9c",
2577         "type": "block",
2578         "name": "block : atomic",
2579         "xml": "<block atomic='true'>",
2580         "atomic": "true",
2581         "comments": "",
2582         "outputs": 1,
2583         "x": 2916.4793701171875,
2584         "y": 3892.145751953125,
2585         "z": "7108e868.a979d8",
2586         "wires": [
2587             [
2588                 "64358581.2074dc",
2589                 "3d107c96.8f4394"
2590             ]
2591         ]
2592     },
2593     {
2594         "id": "ecae4a1e.4ed968",
2595         "type": "failure",
2596         "name": "failure",
2597         "xml": "<outcome value='failure'>\n",
2598         "comments": "",
2599         "outputs": 1,
2600         "x": 2697.4791259765625,
2601         "y": 3887.145751953125,
2602         "z": "7108e868.a979d8",
2603         "wires": [
2604             [
2605                 "87867dbd.bfc9c"
2606             ]
2607         ]
2608     },
2609     {
2610         "id": "ba3263a2.7a90f",
2611         "type": "block",
2612         "name": "block : atomic",
2613         "xml": "<block atomic='true'>",
2614         "atomic": "true",
2615         "comments": "",
2616         "outputs": 1,
2617         "x": 1843.1459197998047,
2618         "y": 3920.4793615341187,
2619         "z": "7108e868.a979d8",
2620         "wires": [
2621             [
2622                 "a8779bfe.2ebaa8",
2623                 "6bdc54a8.a8bcfc"
2624             ]
2625         ]
2626     },
2627     {
2628         "id": "a8779bfe.2ebaa8",
2629         "type": "execute",
2630         "name": "Update gNBCUUP in ConfigDB",
2631         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBCUUP`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBCUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2632         "comments": "",
2633         "outputs": 1,
2634         "x": 2176.1458740234375,
2635         "y": 3921.479248046875,
2636         "z": "7108e868.a979d8",
2637         "wires": [
2638             [
2639                 "a157ef66.82e47",
2640                 "156a4239.7ef9ee"
2641             ]
2642         ]
2643     },
2644     {
2645         "id": "a157ef66.82e47",
2646         "type": "failure",
2647         "name": "failure",
2648         "xml": "<outcome value='failure'>\n",
2649         "comments": "",
2650         "outputs": 1,
2651         "x": 2463.1458740234375,
2652         "y": 3892.4794921875,
2653         "z": "7108e868.a979d8",
2654         "wires": [
2655             [
2656                 "b14a144c.9974f8"
2657             ]
2658         ]
2659     },
2660     {
2661         "id": "156a4239.7ef9ee",
2662         "type": "success",
2663         "name": "success",
2664         "xml": "<outcome value='success'>\n",
2665         "comments": "",
2666         "outputs": 1,
2667         "x": 2412.1458740234375,
2668         "y": 3993.479248046875,
2669         "z": "7108e868.a979d8",
2670         "wires": [
2671             [
2672                 "8205426c.ef651"
2673             ]
2674         ]
2675     },
2676     {
2677         "id": "8205426c.ef651",
2678         "type": "block",
2679         "name": "block",
2680         "xml": "<block>\n",
2681         "atomic": "false",
2682         "comments": "",
2683         "outputs": 1,
2684         "x": 2498.1458587646484,
2685         "y": 4074.4793090820312,
2686         "z": "7108e868.a979d8",
2687         "wires": [
2688             [
2689                 "88c98d77.84bc2"
2690             ]
2691         ]
2692     },
2693     {
2694         "id": "b14a144c.9974f8",
2695         "type": "block",
2696         "name": "block : atomic",
2697         "xml": "<block atomic='true'>",
2698         "atomic": "true",
2699         "comments": "",
2700         "outputs": 1,
2701         "x": 2655.1458740234375,
2702         "y": 4008.479248046875,
2703         "z": "7108e868.a979d8",
2704         "wires": [
2705             [
2706                 "bdfa1f09.353b8",
2707                 "8fd72176.397c5",
2708                 "ef5706f3.674e08"
2709             ]
2710         ]
2711     },
2712     {
2713         "id": "88c98d77.84bc2",
2714         "type": "record",
2715         "name": "record",
2716         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
2717         "comments": "",
2718         "outputs": 1,
2719         "x": 2662.1458740234375,
2720         "y": 4080.479248046875,
2721         "z": "7108e868.a979d8",
2722         "wires": [
2723             []
2724         ]
2725     },
2726     {
2727         "id": "bdfa1f09.353b8",
2728         "type": "returnFailure",
2729         "name": "return failure",
2730         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellCU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
2731         "comments": "",
2732         "x": 2826.1455078125,
2733         "y": 4069.4793090820312,
2734         "z": "7108e868.a979d8",
2735         "wires": []
2736     },
2737     {
2738         "id": "8fd72176.397c5",
2739         "type": "set",
2740         "name": "set",
2741         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellCU. Aborting RPC executiopn'/>",
2742         "comments": "",
2743         "x": 2821.1456756591797,
2744         "y": 3976.479236602783,
2745         "z": "7108e868.a979d8",
2746         "wires": []
2747     },
2748     {
2749         "id": "3cba221d.f1507e",
2750         "type": "set",
2751         "name": "set",
2752         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - CUUP. Aborting RPC executiopn'/>",
2753         "comments": "",
2754         "x": 2864.1456756591797,
2755         "y": 4120.479236602783,
2756         "z": "7108e868.a979d8",
2757         "wires": []
2758     },
2759     {
2760         "id": "a2654622.6dd498",
2761         "type": "returnFailure",
2762         "name": "return failure",
2763         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating CUUP-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
2764         "comments": "",
2765         "x": 2869.145553588867,
2766         "y": 4215.479297637939,
2767         "z": "7108e868.a979d8",
2768         "wires": []
2769     },
2770     {
2771         "id": "95bfc417.2c1f08",
2772         "type": "block",
2773         "name": "block : atomic",
2774         "xml": "<block atomic='true'>",
2775         "atomic": "true",
2776         "comments": "",
2777         "outputs": 1,
2778         "x": 2698.1459197998047,
2779         "y": 4154.479236602783,
2780         "z": "7108e868.a979d8",
2781         "wires": [
2782             [
2783                 "a2654622.6dd498",
2784                 "3cba221d.f1507e",
2785                 "ef5706f3.674e08"
2786             ]
2787         ]
2788     },
2789     {
2790         "id": "d8512ddf.3f171",
2791         "type": "record",
2792         "name": "record",
2793         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - CUUP RRMPolicyRatio \"/>",
2794         "comments": "",
2795         "outputs": 1,
2796         "x": 2842.1459197998047,
2797         "y": 4262.479236602783,
2798         "z": "7108e868.a979d8",
2799         "wires": [
2800             []
2801         ]
2802     },
2803     {
2804         "id": "a66973d7.69104",
2805         "type": "block",
2806         "name": "block",
2807         "xml": "<block>\n",
2808         "atomic": "false",
2809         "comments": "",
2810         "outputs": 1,
2811         "x": 2676.1459197998047,
2812         "y": 4261.479236602783,
2813         "z": "7108e868.a979d8",
2814         "wires": [
2815             [
2816                 "d8512ddf.3f171"
2817             ]
2818         ]
2819     },
2820     {
2821         "id": "15ec48d8.926787",
2822         "type": "success",
2823         "name": "success",
2824         "xml": "<outcome value='success'>\n",
2825         "comments": "",
2826         "outputs": 1,
2827         "x": 2495.1459197998047,
2828         "y": 4267.478992462158,
2829         "z": "7108e868.a979d8",
2830         "wires": [
2831             [
2832                 "a66973d7.69104"
2833             ]
2834         ]
2835     },
2836     {
2837         "id": "2a3a4f34.54219",
2838         "type": "failure",
2839         "name": "failure",
2840         "xml": "<outcome value='failure'>\n",
2841         "comments": "",
2842         "outputs": 1,
2843         "x": 2495.1459197998047,
2844         "y": 4157.479236602783,
2845         "z": "7108e868.a979d8",
2846         "wires": [
2847             [
2848                 "95bfc417.2c1f08"
2849             ]
2850         ]
2851     },
2852     {
2853         "id": "6bdc54a8.a8bcfc",
2854         "type": "execute",
2855         "name": "Update RRMPolicy for gNBCUUP in ConfigDB",
2856         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updateRRMPolicy.CUUP.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBCUUP-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
2857         "comments": "",
2858         "outputs": 1,
2859         "x": 2197.1459197998047,
2860         "y": 4207.479236602783,
2861         "z": "7108e868.a979d8",
2862         "wires": [
2863             [
2864                 "2a3a4f34.54219",
2865                 "15ec48d8.926787"
2866             ]
2867         ]
2868     },
2869     {
2870         "id": "4e830c1f.7bebc4",
2871         "type": "block",
2872         "name": "Process gNBDU",
2873         "xml": "<block atomic='true'>",
2874         "atomic": "true",
2875         "comments": "",
2876         "outputs": 1,
2877         "x": 1207.5626754760742,
2878         "y": 4192.563228607178,
2879         "z": "7108e868.a979d8",
2880         "wires": [
2881             [
2882                 "5a3d52ff.69f48c",
2883                 "96c6fb05.5a9858",
2884                 "4d47cf04.2ab97"
2885             ]
2886         ]
2887     },
2888     {
2889         "id": "5a3d52ff.69f48c",
2890         "type": "execute",
2891         "name": "read DUlist size",
2892         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList_length'`\" />\n    ",
2893         "comments": "",
2894         "outputs": 1,
2895         "x": 1536.5626754760742,
2896         "y": 4223.563228607178,
2897         "z": "7108e868.a979d8",
2898         "wires": [
2899             []
2900         ]
2901     },
2902     {
2903         "id": "96c6fb05.5a9858",
2904         "type": "record",
2905         "name": "record",
2906         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Number of DU List Entries \"/>\n<parameter name=\"field2\" value=\"`$tmp.DUList_length`\"/>\n<parameter name=\"field3\" value=\"for the NearRTRIC\"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRICId`\"/>\n",
2907         "comments": "",
2908         "outputs": 1,
2909         "x": 1494.5626602172852,
2910         "y": 4284.563228607178,
2911         "z": "7108e868.a979d8",
2912         "wires": [
2913             []
2914         ]
2915     },
2916     {
2917         "id": "4d47cf04.2ab97",
2918         "type": "for",
2919         "name": "foreach DU",
2920         "xml": "<for index='id-du' start='0' end='`$tmp.DUList_length`'>\n",
2921         "comments": "",
2922         "outputs": 1,
2923         "x": 1506.5627059936523,
2924         "y": 4354.563228607178,
2925         "z": "7108e868.a979d8",
2926         "wires": [
2927             [
2928                 "c924ba25.82a328"
2929             ]
2930         ]
2931     },
2932     {
2933         "id": "c924ba25.82a328",
2934         "type": "block",
2935         "name": "block : process gNBDU",
2936         "xml": "<block atomic='true'>",
2937         "atomic": "true",
2938         "comments": "",
2939         "outputs": 1,
2940         "x": 1787.5626754760742,
2941         "y": 4355.5631980896,
2942         "z": "7108e868.a979d8",
2943         "wires": [
2944             [
2945                 "a0fa0a49.9180c8",
2946                 "b69431be.ded5f",
2947                 "e4e685e5.2c8388",
2948                 "d1761b06.379698"
2949             ]
2950         ]
2951     },
2952     {
2953         "id": "a0fa0a49.9180c8",
2954         "type": "execute",
2955         "name": "read DU id",
2956         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.GNBDUId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].gNBDUId'`\" />",
2957         "comments": "",
2958         "outputs": 1,
2959         "x": 2066.5625,
2960         "y": 4351.5625,
2961         "z": "7108e868.a979d8",
2962         "wires": [
2963             []
2964         ]
2965     },
2966     {
2967         "id": "b69431be.ded5f",
2968         "type": "record",
2969         "name": "record",
2970         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"GNBDUId \"/>\n<parameter name=\"field2\" value=\"`$tmp.GNBDUId`\"/>\n\n",
2971         "comments": "",
2972         "outputs": 1,
2973         "x": 2039.5625,
2974         "y": 4402.5625,
2975         "z": "7108e868.a979d8",
2976         "wires": [
2977             []
2978         ]
2979     },
2980     {
2981         "id": "e4e685e5.2c8388",
2982         "type": "execute",
2983         "name": "read cellDU list size",
2984         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDUList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.[' + $idy +'].gNBDUList[' + $id-du +'].cellDUList_length'`\" />\n    ",
2985         "comments": "",
2986         "outputs": 1,
2987         "x": 2080.5625,
2988         "y": 4451.5625,
2989         "z": "7108e868.a979d8",
2990         "wires": [
2991             []
2992         ]
2993     },
2994     {
2995         "id": "d1761b06.379698",
2996         "type": "for",
2997         "name": "for cellDUList",
2998         "xml": "<for index='id-celldu' start='0' end='`$tmp.cellDUList_length`' >\n",
2999         "comments": "",
3000         "outputs": 1,
3001         "x": 2070.5625,
3002         "y": 4495.5625,
3003         "z": "7108e868.a979d8",
3004         "wires": [
3005             [
3006                 "2d9b1779.25da68"
3007             ]
3008         ]
3009     },
3010     {
3011         "id": "2e0cb657.fa72aa",
3012         "type": "block",
3013         "name": "block : atomic",
3014         "xml": "<block atomic='true'>",
3015         "atomic": "true",
3016         "comments": "",
3017         "outputs": 1,
3018         "x": 3097.3125,
3019         "y": 4549.5625,
3020         "z": "7108e868.a979d8",
3021         "wires": [
3022             [
3023                 "db01efc8.367e1",
3024                 "cbb5449b.077ff8",
3025                 "c37094ee.0620b8",
3026                 "9664007c.b3591",
3027                 "f8fddf6b.372eb",
3028                 "7e214221.f3333c",
3029                 "7e449816.b97cc8",
3030                 "5b53f44f.273f7c",
3031                 "f6f39dfc.75a01",
3032                 "a63081a.5cdd48",
3033                 "2ea51be.93ad1e4"
3034             ]
3035         ]
3036     },
3037     {
3038         "id": "5b53f44f.273f7c",
3039         "type": "record",
3040         "name": "record",
3041         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"CellDU is applicable for the NSSAI \"/>\n\n\n",
3042         "comments": "",
3043         "outputs": 1,
3044         "x": 3292.3125,
3045         "y": 4544.5625,
3046         "z": "7108e868.a979d8",
3047         "wires": [
3048             []
3049         ]
3050     },
3051     {
3052         "id": "7e449816.b97cc8",
3053         "type": "switchNode",
3054         "name": "ransim mounted",
3055         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
3056         "comments": "",
3057         "outputs": 1,
3058         "x": 3320.3125,
3059         "y": 4612.5625,
3060         "z": "7108e868.a979d8",
3061         "wires": [
3062             [
3063                 "d4c9f7e3.e84858",
3064                 "9ff04c6b.5afd8"
3065             ]
3066         ]
3067     },
3068     {
3069         "id": "d4c9f7e3.e84858",
3070         "type": "outcome",
3071         "name": "Not Mounted",
3072         "xml": "<outcome value='false'>\n",
3073         "comments": "",
3074         "outputs": 1,
3075         "x": 3528.3125,
3076         "y": 4577.562255859375,
3077         "z": "7108e868.a979d8",
3078         "wires": [
3079             [
3080                 "3bce64e2.b4273c"
3081             ]
3082         ]
3083     },
3084     {
3085         "id": "9ff04c6b.5afd8",
3086         "type": "outcome",
3087         "name": "Mounted",
3088         "xml": "<outcome value='true'>\n",
3089         "comments": "",
3090         "outputs": 1,
3091         "x": 3523.3125495910645,
3092         "y": 4646.562824249268,
3093         "z": "7108e868.a979d8",
3094         "wires": [
3095             [
3096                 "e66f84d4.6add28"
3097             ]
3098         ]
3099     },
3100     {
3101         "id": "3bce64e2.b4273c",
3102         "type": "execute",
3103         "name": "generate patch PLMNInfoListEntry ToNRCellDU",
3104         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
3105         "comments": "",
3106         "outputs": 1,
3107         "x": 3848.3125,
3108         "y": 4592.5625,
3109         "z": "7108e868.a979d8",
3110         "wires": [
3111             []
3112         ]
3113     },
3114     {
3115         "id": "db01efc8.367e1",
3116         "type": "execute",
3117         "name": "read cellDU",
3118         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.cellDULocalId' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellCUList['+ $id-celldu +'].cellLocalId'`\" />",
3119         "comments": "",
3120         "outputs": 1,
3121         "x": 3317.3126525878906,
3122         "y": 4700.562744140625,
3123         "z": "7108e868.a979d8",
3124         "wires": [
3125             []
3126         ]
3127     },
3128     {
3129         "id": "9664007c.b3591",
3130         "type": "execute",
3131         "name": "prepare idGNBDUFunction",
3132         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
3133         "comments": "",
3134         "outputs": 1,
3135         "x": 3372.312713623047,
3136         "y": 4765.562682151794,
3137         "z": "7108e868.a979d8",
3138         "wires": [
3139             []
3140         ]
3141     },
3142     {
3143         "id": "f8fddf6b.372eb",
3144         "type": "execute",
3145         "name": "prepare idNRCellDU",
3146         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellCULocalId`\"/>\n",
3147         "comments": "",
3148         "outputs": 1,
3149         "x": 3345.3128967285156,
3150         "y": 4820.562684059143,
3151         "z": "7108e868.a979d8",
3152         "wires": [
3153             []
3154         ]
3155     },
3156     {
3157         "id": "7e214221.f3333c",
3158         "type": "execute",
3159         "name": "prepare mcc",
3160         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mcc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mcc`\"/>\n   ",
3161         "comments": "",
3162         "outputs": 1,
3163         "x": 3325.3125915527344,
3164         "y": 4883.562990188599,
3165         "z": "7108e868.a979d8",
3166         "wires": [
3167             []
3168         ]
3169     },
3170     {
3171         "id": "cbb5449b.077ff8",
3172         "type": "execute",
3173         "name": "prepare mnc",
3174         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mnc}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.mnc`\"/>",
3175         "comments": "",
3176         "outputs": 1,
3177         "x": 3327.3128356933594,
3178         "y": 4941.562623023987,
3179         "z": "7108e868.a979d8",
3180         "wires": [
3181             []
3182         ]
3183     },
3184     {
3185         "id": "c37094ee.0620b8",
3186         "type": "record",
3187         "name": "record API params",
3188         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"patch cellCU NSSAI parameters\"/>\n<parameter name=\"field2\" value=\"`$tmp.nearRTRICId`\"/>\n<parameter name=\"field3\" value=\"`$tmp.GNBDUId`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cellDULocalId`\"/>\n<parameter name=\"field5\" value=\"`$tmp.mcc`\"/>\n<parameter name=\"field6\" value=\"`$tmp.mnc`\"/>\n<parameter name=\"field7\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n",
3189         "comments": "",
3190         "outputs": 1,
3191         "x": 3332.312469482422,
3192         "y": 5009.56311416626,
3193         "z": "7108e868.a979d8",
3194         "wires": [
3195             []
3196         ]
3197     },
3198     {
3199         "id": "f6f39dfc.75a01",
3200         "type": "execute",
3201         "name": "patch PLMNInfoListEntry ToNRCellDU",
3202         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-sNSSAI-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.patchPLMNInfoListEntry-cellDU.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-cellDU-PLMNInfoList-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' />",
3203         "comments": "",
3204         "outputs": 1,
3205         "x": 3389.3125,
3206         "y": 5084.8125,
3207         "z": "7108e868.a979d8",
3208         "wires": [
3209             [
3210                 "d8729278.1cd58",
3211                 "157bda42.dc1776"
3212             ]
3213         ]
3214     },
3215     {
3216         "id": "157bda42.dc1776",
3217         "type": "failure",
3218         "name": "failure",
3219         "xml": "<outcome value='failure'>\n",
3220         "comments": "",
3221         "outputs": 1,
3222         "x": 3656.3125,
3223         "y": 4984.8125,
3224         "z": "7108e868.a979d8",
3225         "wires": [
3226             [
3227                 "ea70704f.084d2"
3228             ]
3229         ]
3230     },
3231     {
3232         "id": "d8729278.1cd58",
3233         "type": "success",
3234         "name": "success",
3235         "xml": "<outcome value='success'>\n",
3236         "comments": "",
3237         "outputs": 1,
3238         "x": 3655.3125,
3239         "y": 5083.8125,
3240         "z": "7108e868.a979d8",
3241         "wires": [
3242             [
3243                 "8bfbcf74.666d1"
3244             ]
3245         ]
3246     },
3247     {
3248         "id": "ea70704f.084d2",
3249         "type": "block",
3250         "name": "block : atomic",
3251         "xml": "<block atomic='true'>",
3252         "atomic": "true",
3253         "comments": "",
3254         "outputs": 1,
3255         "x": 3814.312744140625,
3256         "y": 4932.8125,
3257         "z": "7108e868.a979d8",
3258         "wires": [
3259             [
3260                 "24efbd9d.3eeb72",
3261                 "223f16d0.c8885a",
3262                 "ef5706f3.674e08"
3263             ]
3264         ]
3265     },
3266     {
3267         "id": "8bfbcf74.666d1",
3268         "type": "block",
3269         "name": "block : atomic",
3270         "xml": "<block atomic='true'>",
3271         "atomic": "true",
3272         "comments": "",
3273         "outputs": 1,
3274         "x": 3823.3125,
3275         "y": 5080.812502622604,
3276         "z": "7108e868.a979d8",
3277         "wires": [
3278             [
3279                 "6125ea01.fba5c4"
3280             ]
3281         ]
3282     },
3283     {
3284         "id": "6125ea01.fba5c4",
3285         "type": "record",
3286         "name": "record",
3287         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU PLMNInfo List\"/>",
3288         "comments": "",
3289         "outputs": 1,
3290         "x": 3969.3123779296875,
3291         "y": 5079.812744140625,
3292         "z": "7108e868.a979d8",
3293         "wires": [
3294             []
3295         ]
3296     },
3297     {
3298         "id": "24efbd9d.3eeb72",
3299         "type": "returnFailure",
3300         "name": "return failure",
3301         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NECellDU - PLMNInfo. Aborting RPC executiopn'/>",
3302         "comments": "",
3303         "x": 3985.3123779296875,
3304         "y": 4993.812561035156,
3305         "z": "7108e868.a979d8",
3306         "wires": []
3307     },
3308     {
3309         "id": "223f16d0.c8885a",
3310         "type": "set",
3311         "name": "set",
3312         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU PLMNInfoList. Aborting RPC executiopn'/>",
3313         "comments": "",
3314         "x": 3980.3125,
3315         "y": 4898.8125,
3316         "z": "7108e868.a979d8",
3317         "wires": []
3318     },
3319     {
3320         "id": "a63081a.5cdd48",
3321         "type": "block",
3322         "name": "block : atomic",
3323         "xml": "<block atomic='true'>",
3324         "atomic": "true",
3325         "comments": "",
3326         "outputs": 1,
3327         "x": 3190.5625,
3328         "y": 5357.8125,
3329         "z": "7108e868.a979d8",
3330         "wires": [
3331             [
3332                 "5cb5d6ea.770248",
3333                 "98f00bff.356c18",
3334                 "5d40a1b9.c2994",
3335                 "f43c3c63.25ad9",
3336                 "65c6ca75.936b14",
3337                 "6bcc8bb1.e1d3e4",
3338                 "f0dfe9fd.ba7e58",
3339                 "fa410ab8.5baa78"
3340             ]
3341         ]
3342     },
3343     {
3344         "id": "5cb5d6ea.770248",
3345         "type": "switchNode",
3346         "name": "ransim mounted",
3347         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
3348         "comments": "",
3349         "outputs": 1,
3350         "x": 3412.5625,
3351         "y": 5263.8125,
3352         "z": "7108e868.a979d8",
3353         "wires": [
3354             [
3355                 "7ea81051.7f23a",
3356                 "5a933026.4d27b"
3357             ]
3358         ]
3359     },
3360     {
3361         "id": "7ea81051.7f23a",
3362         "type": "outcome",
3363         "name": "Not Mounted",
3364         "xml": "<outcome value='false'>\n",
3365         "comments": "",
3366         "outputs": 1,
3367         "x": 3595.5627365112305,
3368         "y": 5201.8128299713135,
3369         "z": "7108e868.a979d8",
3370         "wires": [
3371             [
3372                 "193f0677.2c64aa"
3373             ]
3374         ]
3375     },
3376     {
3377         "id": "193f0677.2c64aa",
3378         "type": "execute",
3379         "name": "fetch RRMPolicyRatio NRCellDU - URL",
3380         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
3381         "comments": "",
3382         "outputs": 1,
3383         "x": 3895.5626068115234,
3384         "y": 5202.812952041626,
3385         "z": "7108e868.a979d8",
3386         "wires": [
3387             []
3388         ]
3389     },
3390     {
3391         "id": "98f00bff.356c18",
3392         "type": "execute",
3393         "name": "prepare idGNBDUFunction",
3394         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idGNBDUFunction}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>\n",
3395         "comments": "",
3396         "outputs": 1,
3397         "x": 3447.5625,
3398         "y": 5335.8125,
3399         "z": "7108e868.a979d8",
3400         "wires": [
3401             []
3402         ]
3403     },
3404     {
3405         "id": "5d40a1b9.c2994",
3406         "type": "execute",
3407         "name": "prepare idNRCellDU",
3408         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNRCellDU}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cellDULocalId`\"/>\n",
3409         "comments": "",
3410         "outputs": 1,
3411         "x": 3412.5625,
3412         "y": 5387.8125,
3413         "z": "7108e868.a979d8",
3414         "wires": [
3415             []
3416         ]
3417     },
3418     {
3419         "id": "f43c3c63.25ad9",
3420         "type": "execute",
3421         "name": "fetch RRMPolicyRatio - NRCellDU",
3422         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n<parameter name=\"restapiUser\" value=\"`$prop.controller.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"httpMethod\" value=\"GET\"/>\n<parameter name=\"responsePrefix\" value=\"get-rrmpolicyratio-du-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\"/>",
3423         "comments": "",
3424         "outputs": 1,
3425         "x": 3447.5625,
3426         "y": 5462.8125,
3427         "z": "7108e868.a979d8",
3428         "wires": [
3429             [
3430                 "e3b08095.b4e31",
3431                 "f911831.2bcd58"
3432             ]
3433         ]
3434     },
3435     {
3436         "id": "e3b08095.b4e31",
3437         "type": "failure",
3438         "name": "failure",
3439         "xml": "<outcome value='failure'>\n",
3440         "comments": "",
3441         "outputs": 1,
3442         "x": 3694.5625,
3443         "y": 5435.8125,
3444         "z": "7108e868.a979d8",
3445         "wires": [
3446             [
3447                 "981c46e8.e33468"
3448             ]
3449         ]
3450     },
3451     {
3452         "id": "f911831.2bcd58",
3453         "type": "success",
3454         "name": "success",
3455         "xml": "<outcome value='success'>\n",
3456         "comments": "",
3457         "outputs": 1,
3458         "x": 3698.5625,
3459         "y": 5514.8125,
3460         "z": "7108e868.a979d8",
3461         "wires": [
3462             [
3463                 "748cf1b0.9d517"
3464             ]
3465         ]
3466     },
3467     {
3468         "id": "981c46e8.e33468",
3469         "type": "block",
3470         "name": "block : atomic",
3471         "xml": "<block atomic='true'>",
3472         "atomic": "true",
3473         "comments": "",
3474         "outputs": 1,
3475         "x": 3852.562744140625,
3476         "y": 5383.8125,
3477         "z": "7108e868.a979d8",
3478         "wires": [
3479             [
3480                 "633b5c69.cd1044",
3481                 "cfbf14b0.9443f8",
3482                 "ef5706f3.674e08"
3483             ]
3484         ]
3485     },
3486     {
3487         "id": "cfbf14b0.9443f8",
3488         "type": "set",
3489         "name": "set",
3490         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in retrieving RRMPolicyRatio. Aborting RPC executiopn'/>",
3491         "comments": "",
3492         "x": 4018.5625,
3493         "y": 5349.8125,
3494         "z": "7108e868.a979d8",
3495         "wires": []
3496     },
3497     {
3498         "id": "633b5c69.cd1044",
3499         "type": "returnFailure",
3500         "name": "return failure",
3501         "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 in Fetching RRMPolicyRatio - CellDU. Aborting RPC executiopn'/>",
3502         "comments": "",
3503         "x": 4023.5623779296875,
3504         "y": 5444.812561035156,
3505         "z": "7108e868.a979d8",
3506         "wires": []
3507     },
3508     {
3509         "id": "748cf1b0.9d517",
3510         "type": "block",
3511         "name": "block : atomic",
3512         "xml": "<block atomic='true'>",
3513         "atomic": "true",
3514         "comments": "",
3515         "outputs": 1,
3516         "x": 3862.5623779296875,
3517         "y": 5515.8126220703125,
3518         "z": "7108e868.a979d8",
3519         "wires": [
3520             [
3521                 "8916b53d.b90f88",
3522                 "d6acc856.973798"
3523             ]
3524         ]
3525     },
3526     {
3527         "id": "8916b53d.b90f88",
3528         "type": "record",
3529         "name": "record",
3530         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Retrieved - RRMPolicyRatio\"/>",
3531         "comments": "",
3532         "outputs": 1,
3533         "x": 4012.5623779296875,
3534         "y": 5510.812744140625,
3535         "z": "7108e868.a979d8",
3536         "wires": [
3537             []
3538         ]
3539     },
3540     {
3541         "id": "d6acc856.973798",
3542         "type": "execute",
3543         "name": "printContext",
3544         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/opt/opendaylight/current/data/log/ranSlice-instantiateRANSlice-configrsp-context.log' />\n\n\n",
3545         "comments": "",
3546         "outputs": 1,
3547         "x": 4027.5625,
3548         "y": 5573.8125,
3549         "z": "7108e868.a979d8",
3550         "wires": [
3551             []
3552         ]
3553     },
3554     {
3555         "id": "65c6ca75.936b14",
3556         "type": "execute",
3557         "name": "read rrmpolicyratio list size",
3558         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.rrmPolicyRatioDUList_length' />\n\t<parameter name='source' value=\"`'get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio_length '`\" />\n    ",
3559         "comments": "",
3560         "outputs": 1,
3561         "x": 3426.5625,
3562         "y": 5516.8125,
3563         "z": "7108e868.a979d8",
3564         "wires": [
3565             []
3566         ]
3567     },
3568     {
3569         "id": "6bcc8bb1.e1d3e4",
3570         "type": "record",
3571         "name": "record",
3572         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RRMPolicyRatioList size\"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyRatioList_length`\"/>\n",
3573         "comments": "",
3574         "outputs": 1,
3575         "x": 3366.5625,
3576         "y": 5570.8125,
3577         "z": "7108e868.a979d8",
3578         "wires": [
3579             []
3580         ]
3581     },
3582     {
3583         "id": "f0dfe9fd.ba7e58",
3584         "type": "block",
3585         "name": "rrmPolicyDedicatedRatio",
3586         "xml": "<block atomic='true'>",
3587         "atomic": "true",
3588         "comments": "",
3589         "outputs": 1,
3590         "x": 3971.5625381469727,
3591         "y": 5147.812589645386,
3592         "z": "7108e868.a979d8",
3593         "wires": [
3594             [
3595                 "25bccfbe.74997",
3596                 "83d763f9.c0daa",
3597                 "5c90938f.aae84c",
3598                 "5eb33de6.997004",
3599                 "1269be21.81b8d2",
3600                 "99edb9aa.d44a48",
3601                 "5717a3b9.d0abfc",
3602                 "d6422a31.9a6c68",
3603                 "31c3f05.90cfe1",
3604                 "7d3ffa6.132c704",
3605                 "78a6faf9.59c974"
3606             ]
3607         ]
3608     },
3609     {
3610         "id": "5c90938f.aae84c",
3611         "type": "set",
3612         "name": "Calculate RRM Parms1",
3613         "xml": "<set>\n<parameter name='tmp.uLThptPerSlice' value='`$payloadJson.input.sliceProfile.uLThptPerSlice`' />\n",
3614         "comments": "",
3615         "x": 4415.552307128906,
3616         "y": 4928.135252952576,
3617         "z": "7108e868.a979d8",
3618         "wires": []
3619     },
3620     {
3621         "id": "5eb33de6.997004",
3622         "type": "set",
3623         "name": "Calculate RRM Parms2",
3624         "xml": "<set>\n<parameter name='tmp.dLThptPerSlice' value='`$payloadJson.input.sliceProfile.dLThptPerSlice`' />\n",
3625         "comments": "",
3626         "x": 4424.093566894531,
3627         "y": 4973.155272424221,
3628         "z": "7108e868.a979d8",
3629         "wires": []
3630     },
3631     {
3632         "id": "1269be21.81b8d2",
3633         "type": "set",
3634         "name": "Calculate RRM Parms3",
3635         "xml": "<set>\n<parameter name='tmp.maxNumberOfConns' value='`$payloadJson.input.sliceProfile.maxNumberOfConns`' />",
3636         "comments": "",
3637         "x": 4414.093688964844,
3638         "y": 5028.1551503539085,
3639         "z": "7108e868.a979d8",
3640         "wires": []
3641     },
3642     {
3643         "id": "99edb9aa.d44a48",
3644         "type": "set",
3645         "name": "Calculate RRM Parms4",
3646         "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity1' value='`$tmp.uLThptPerSlice + $tmp.dLThptPerSlice`' />\n",
3647         "comments": "",
3648         "x": 4414.093566894531,
3649         "y": 5079.155150413513,
3650         "z": "7108e868.a979d8",
3651         "wires": []
3652     },
3653     {
3654         "id": "5717a3b9.d0abfc",
3655         "type": "set",
3656         "name": "Calculate RRM Parms5",
3657         "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacity' value='`$tmp.nearRTRIC.trafficCapacity1 / 2`' />",
3658         "comments": "",
3659         "x": 4402.093688964844,
3660         "y": 5139.155272424221,
3661         "z": "7108e868.a979d8",
3662         "wires": []
3663     },
3664     {
3665         "id": "d6422a31.9a6c68",
3666         "type": "set",
3667         "name": "Calculate RRM Parms6",
3668         "xml": "<set>\n<parameter name='tmp.nearRTRIC.trafficCapacityBPS' value='`$tmp.nearRTRIC.trafficCapacity * 1000000`' />",
3669         "comments": "",
3670         "x": 4440.093566894531,
3671         "y": 5189.155272424221,
3672         "z": "7108e868.a979d8",
3673         "wires": []
3674     },
3675     {
3676         "id": "31c3f05.90cfe1",
3677         "type": "set",
3678         "name": "Calculate RRM Parms7",
3679         "xml": "<set>\n<parameter name='tmp.nrcelldu.totalPRBForSNSSAI' value='`$tmp.nearRTRIC.trafficCapacityBPS / 1008000`' />\n",
3680         "comments": "",
3681         "x": 4427.093505859375,
3682         "y": 5259.155638694763,
3683         "z": "7108e868.a979d8",
3684         "wires": []
3685     },
3686     {
3687         "id": "7d3ffa6.132c704",
3688         "type": "set",
3689         "name": "calculation8",
3690         "xml": "<set>\n<parameter name='tmp.nrcelldu.PRBPerImpactedCell' value='`$tmp.nrcelldu.totalPRBForSNSSAI / $tmp.cellDUList_length`' />\n",
3691         "comments": "",
3692         "x": 4398.093505859375,
3693         "y": 5323.154662132263,
3694         "z": "7108e868.a979d8",
3695         "wires": []
3696     },
3697     {
3698         "id": "78a6faf9.59c974",
3699         "type": "set",
3700         "name": "calculation9",
3701         "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU1' value='`$tmp.nrcelldu.PRBPerImpactedCell * 100`' />\n",
3702         "comments": "",
3703         "x": 4386.094055175781,
3704         "y": 5374.154540061951,
3705         "z": "7108e868.a979d8",
3706         "wires": []
3707     },
3708     {
3709         "id": "83d763f9.c0daa",
3710         "type": "set",
3711         "name": "calculation10",
3712         "xml": "<set>\n<parameter name='tmp.rRMPolicyDedicatedRatio.CellDU' value='`$tmp.rRMPolicyDedicatedRatio.CellDU1 / $prop.nrcelldu.TotalPRBsPerCell`' />\n",
3713         "comments": "",
3714         "x": 4361.5523681640625,
3715         "y": 5440.135008811951,
3716         "z": "7108e868.a979d8",
3717         "wires": []
3718     },
3719     {
3720         "id": "25bccfbe.74997",
3721         "type": "record",
3722         "name": "record",
3723         "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=\"rRMPolicyDedicatedRatio for CellDU \"/>\n<parameter name=\"field2\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU`\"/>\n<parameter name=\"field3\" value=\"tmp.nearRTRIC.trafficCapacity1 \"/>\n<parameter name=\"field4\" value=\"`$tmp.nearRTRIC.trafficCapacity1`\"/>\n<parameter name=\"field5\" value=\"tmp.nearRTRIC.trafficCapacity \"/>\n<parameter name=\"field6\" value=\"`$tmp.nearRTRIC.trafficCapacity`\"/>\n<parameter name=\"field7\" value=\"tmp.nearRTRIC.trafficCapacityBPS\"/>\n<parameter name=\"field8\" value=\"`$tmp.nearRTRIC.trafficCapacityBPS`\"/>\n<parameter name=\"field9\" value=\"tmp.nrcelldu.totalPRBForSNSSAI \"/>\n<parameter name=\"field10\" value=\"`$tmp.nrcelldu.totalPRBForSNSSAI`\"/>\n<parameter name=\"field11\" value=\"tmp.nrcelldu.PRBPerImpactedCell \"/>\n<parameter name=\"field12\" value=\"`$tmp.nrcelldu.PRBPerImpactedCell`\"/>\n<parameter name=\"field13\" value=\"tmp.rRMPolicyDedicatedRatio.CellDU1 \"/>\n<parameter name=\"field14\" value=\"`$tmp.rRMPolicyDedicatedRatio.CellDU1`\"/>",
3724         "comments": "",
3725         "outputs": 1,
3726         "x": 4187.562294006348,
3727         "y": 5452.256315231323,
3728         "z": "7108e868.a979d8",
3729         "wires": [
3730             []
3731         ]
3732     },
3733     {
3734         "id": "fa410ab8.5baa78",
3735         "type": "for",
3736         "name": "for each rrmpolicyratio",
3737         "xml": "<for index='iddu-rrm' start='0' end='`$tmp.rrmPolicyRatioDUList_length`' >\n",
3738         "comments": "",
3739         "outputs": 1,
3740         "x": 3407.8125,
3741         "y": 5641.8125,
3742         "z": "7108e868.a979d8",
3743         "wires": [
3744             [
3745                 "d5e66414.61b738"
3746             ]
3747         ]
3748     },
3749     {
3750         "id": "d5e66414.61b738",
3751         "type": "block",
3752         "name": "block : atomic",
3753         "xml": "<block atomic='true'>",
3754         "atomic": "true",
3755         "comments": "",
3756         "outputs": 1,
3757         "x": 3628.8125,
3758         "y": 5661.8125,
3759         "z": "7108e868.a979d8",
3760         "wires": [
3761             [
3762                 "178d9c71.3e3cd4",
3763                 "7eb64cc3.660424",
3764                 "d35c9422.9abe48",
3765                 "84121f2e.40449",
3766                 "73826fd4.8f1b6",
3767                 "6c4671d6.29012"
3768             ]
3769         ]
3770     },
3771     {
3772         "id": "178d9c71.3e3cd4",
3773         "type": "set",
3774         "name": "Calculate updated RRMPolicyRatio",
3775         "xml": "<set>\n<parameter name='tmp.rrmPolicyDedicatedRatio_cellDU' value=\"`'$get-rrmpolicyratio-response.attributes.RRMPolicyRatio['+ $iddu-rrm +'].attributes.rRMPolicyDedicatedRatio'`\" />\n<parameter name='tmp.rrmPolicyDedicatedRatio_CellDU_updated' value=\"`$tmp.rrmPolicyDedicatedRatio_cellDU + $tmp.rRMPolicyDedicatedRatio.CellDU`\" />",
3776         "comments": "",
3777         "x": 3953.8125,
3778         "y": 5638.8125,
3779         "z": "7108e868.a979d8",
3780         "wires": []
3781     },
3782     {
3783         "id": "d35c9422.9abe48",
3784         "type": "switchNode",
3785         "name": "ransim mounted",
3786         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
3787         "comments": "",
3788         "outputs": 1,
3789         "x": 3921.8125,
3790         "y": 5689.812271118164,
3791         "z": "7108e868.a979d8",
3792         "wires": [
3793             [
3794                 "6c8d9351.4d651c",
3795                 "f56b6248.5a011"
3796             ]
3797         ]
3798     },
3799     {
3800         "id": "6c8d9351.4d651c",
3801         "type": "outcome",
3802         "name": "Not Mounted",
3803         "xml": "<outcome value='false'>\n",
3804         "comments": "",
3805         "outputs": 1,
3806         "x": 4121.8125,
3807         "y": 5696.812026977539,
3808         "z": "7108e868.a979d8",
3809         "wires": [
3810             [
3811                 "f50efe95.ca3d2"
3812             ]
3813         ]
3814     },
3815     {
3816         "id": "f50efe95.ca3d2",
3817         "type": "execute",
3818         "name": "patchRRMPolicyRatio NRCellDU - URL",
3819         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>\n",
3820         "comments": "",
3821         "outputs": 1,
3822         "x": 4403.8124923706055,
3823         "y": 5651.812838077545,
3824         "z": "7108e868.a979d8",
3825         "wires": [
3826             []
3827         ]
3828     },
3829     {
3830         "id": "73826fd4.8f1b6",
3831         "type": "set",
3832         "name": "RRMPolicyRatio id",
3833         "xml": "<set>\n<parameter name='tmp.RRMPolicyRatio_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+'].id'`\" />",
3834         "comments": "",
3835         "x": 3935.8125,
3836         "y": 5727.812271118164,
3837         "z": "7108e868.a979d8",
3838         "wires": []
3839     },
3840     {
3841         "id": "6c4671d6.29012",
3842         "type": "set",
3843         "name": "RRMPolicyMember Id",
3844         "xml": "<set>\n<parameter name='tmp.RRMPolicyMember_id' value=\"`'$get-rrmpolicyratio-du-response.attributes.RRMPolicyRatio['+ $iddu-rrm+ ']'.attributes.rRMPolicyMemberList_length+1`\" />",
3845         "comments": "",
3846         "x": 3926.8125,
3847         "y": 5774.812271118164,
3848         "z": "7108e868.a979d8",
3849         "wires": []
3850     },
3851     {
3852         "id": "7eb64cc3.660424",
3853         "type": "record",
3854         "name": "record",
3855         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Updated RRMPolicyRatio for CellCU is - \"/>\n<parameter name=\"field2\" value=\"`$tmp.rrmPolicyDedicatedRatio_updated`\"/>",
3856         "comments": "",
3857         "outputs": 1,
3858         "x": 3883.8125,
3859         "y": 5818.812271118164,
3860         "z": "7108e868.a979d8",
3861         "wires": [
3862             []
3863         ]
3864     },
3865     {
3866         "id": "84121f2e.40449",
3867         "type": "execute",
3868         "name": "patch NRCellDU - RRMPolicyRatio",
3869         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-patch-RRMPolicyRatio-NRCellCU.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.getRRMPolicyRatio-gNBDU.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-cellDU-RRMPolicyRatio-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' />",
3870         "comments": "",
3871         "outputs": 1,
3872         "x": 3950.8125,
3873         "y": 5860.812271118164,
3874         "z": "7108e868.a979d8",
3875         "wires": [
3876             [
3877                 "f3b17c12.36f39",
3878                 "b73daad5.796e88"
3879             ]
3880         ]
3881     },
3882     {
3883         "id": "f3b17c12.36f39",
3884         "type": "success",
3885         "name": "success",
3886         "xml": "<outcome value='success'>\n",
3887         "comments": "",
3888         "outputs": 1,
3889         "x": 4222.8125,
3890         "y": 5852.812271118164,
3891         "z": "7108e868.a979d8",
3892         "wires": [
3893             [
3894                 "6383fa28.ddc1f4"
3895             ]
3896         ]
3897     },
3898     {
3899         "id": "6383fa28.ddc1f4",
3900         "type": "block",
3901         "name": "block : atomic",
3902         "xml": "<block atomic='true'>",
3903         "atomic": "true",
3904         "comments": "",
3905         "outputs": 1,
3906         "x": 4413.8125,
3907         "y": 5852.812271118164,
3908         "z": "7108e868.a979d8",
3909         "wires": [
3910             [
3911                 "68bb8ff1.a9c8"
3912             ]
3913         ]
3914     },
3915     {
3916         "id": "68bb8ff1.a9c8",
3917         "type": "record",
3918         "name": "record",
3919         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully Patched - cellDU RRMpolicyRatio\"/>",
3920         "comments": "",
3921         "outputs": 1,
3922         "x": 4598.812255859375,
3923         "y": 5853.812515258789,
3924         "z": "7108e868.a979d8",
3925         "wires": [
3926             []
3927         ]
3928     },
3929     {
3930         "id": "ab223540.8967f8",
3931         "type": "set",
3932         "name": "set",
3933         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error patching cellDU RRMPolicyRatio. Aborting RPC executiopn'/>",
3934         "comments": "",
3935         "x": 4680.8125,
3936         "y": 5896.812271118164,
3937         "z": "7108e868.a979d8",
3938         "wires": []
3939     },
3940     {
3941         "id": "b6b94cea.8a762",
3942         "type": "returnFailure",
3943         "name": "return failure",
3944         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating RRMPolicyRatio for NRCellDU. Aborting RPC executiopn'/>",
3945         "comments": "",
3946         "x": 4685.8123779296875,
3947         "y": 5991.81233215332,
3948         "z": "7108e868.a979d8",
3949         "wires": []
3950     },
3951     {
3952         "id": "6b1cdeed.a4366",
3953         "type": "block",
3954         "name": "block : atomic",
3955         "xml": "<block atomic='true'>",
3956         "atomic": "true",
3957         "comments": "",
3958         "outputs": 1,
3959         "x": 4440.812744140625,
3960         "y": 5945.812271118164,
3961         "z": "7108e868.a979d8",
3962         "wires": [
3963             [
3964                 "b6b94cea.8a762",
3965                 "ab223540.8967f8",
3966                 "ef5706f3.674e08"
3967             ]
3968         ]
3969     },
3970     {
3971         "id": "b73daad5.796e88",
3972         "type": "failure",
3973         "name": "failure",
3974         "xml": "<outcome value='failure'>\n",
3975         "comments": "",
3976         "outputs": 1,
3977         "x": 4221.8125,
3978         "y": 5940.812271118164,
3979         "z": "7108e868.a979d8",
3980         "wires": [
3981             [
3982                 "6b1cdeed.a4366"
3983             ]
3984         ]
3985     },
3986     {
3987         "id": "2ea51be.93ad1e4",
3988         "type": "block",
3989         "name": "block : atomic",
3990         "xml": "<block atomic='true'>",
3991         "atomic": "true",
3992         "comments": "",
3993         "outputs": 1,
3994         "x": 3143.3125915527344,
3995         "y": 5945.81259727478,
3996         "z": "7108e868.a979d8",
3997         "wires": [
3998             [
3999                 "c73356e6.02bb68",
4000                 "39bf934c.b3043c"
4001             ]
4002         ]
4003     },
4004     {
4005         "id": "c73356e6.02bb68",
4006         "type": "execute",
4007         "name": "Update cellDU for gNBDU in ConfigDB",
4008         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updategNBDU`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/restapi.configDB.updategNBDU.templatefile'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
4009         "comments": "",
4010         "outputs": 1,
4011         "x": 3606.3125,
4012         "y": 5953.8125,
4013         "z": "7108e868.a979d8",
4014         "wires": [
4015             [
4016                 "a24fd2cf.8b1ec",
4017                 "8419e3c3.46911"
4018             ]
4019         ]
4020     },
4021     {
4022         "id": "a24fd2cf.8b1ec",
4023         "type": "failure",
4024         "name": "failure",
4025         "xml": "<outcome value='failure'>\n",
4026         "comments": "",
4027         "outputs": 1,
4028         "x": 3893.3125,
4029         "y": 5924.812744140625,
4030         "z": "7108e868.a979d8",
4031         "wires": [
4032             [
4033                 "89e2bad2.ccb4f8"
4034             ]
4035         ]
4036     },
4037     {
4038         "id": "8419e3c3.46911",
4039         "type": "success",
4040         "name": "success",
4041         "xml": "<outcome value='success'>\n",
4042         "comments": "",
4043         "outputs": 1,
4044         "x": 3842.3125,
4045         "y": 6025.8125,
4046         "z": "7108e868.a979d8",
4047         "wires": [
4048             [
4049                 "64bf915a.e00cf"
4050             ]
4051         ]
4052     },
4053     {
4054         "id": "64bf915a.e00cf",
4055         "type": "block",
4056         "name": "block",
4057         "xml": "<block>\n",
4058         "atomic": "false",
4059         "comments": "",
4060         "outputs": 1,
4061         "x": 3928.312484741211,
4062         "y": 6106.812561035156,
4063         "z": "7108e868.a979d8",
4064         "wires": [
4065             [
4066                 "a85db168.b368f"
4067             ]
4068         ]
4069     },
4070     {
4071         "id": "89e2bad2.ccb4f8",
4072         "type": "block",
4073         "name": "block : atomic",
4074         "xml": "<block atomic='true'>",
4075         "atomic": "true",
4076         "comments": "",
4077         "outputs": 1,
4078         "x": 4085.3125,
4079         "y": 6040.8125,
4080         "z": "7108e868.a979d8",
4081         "wires": [
4082             [
4083                 "5e5df2c7.c7192c",
4084                 "9592e6f2.09e4f8",
4085                 "ef5706f3.674e08"
4086             ]
4087         ]
4088     },
4089     {
4090         "id": "9592e6f2.09e4f8",
4091         "type": "set",
4092         "name": "set",
4093         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating Config DB - NRCellDU. Aborting RPC executiopn'/>",
4094         "comments": "",
4095         "x": 4251.312301635742,
4096         "y": 6008.812488555908,
4097         "z": "7108e868.a979d8",
4098         "wires": []
4099     },
4100     {
4101         "id": "a85db168.b368f",
4102         "type": "record",
4103         "name": "record",
4104         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellCU pLMNinfo \"/>",
4105         "comments": "",
4106         "outputs": 1,
4107         "x": 4092.3125,
4108         "y": 6112.8125,
4109         "z": "7108e868.a979d8",
4110         "wires": [
4111             []
4112         ]
4113     },
4114     {
4115         "id": "5e5df2c7.c7192c",
4116         "type": "returnFailure",
4117         "name": "return failure",
4118         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-PLMNInfo in ConfigDB. Aborting RPC executiopn'/>",
4119         "comments": "",
4120         "x": 4256.3121337890625,
4121         "y": 6101.812561035156,
4122         "z": "7108e868.a979d8",
4123         "wires": []
4124     },
4125     {
4126         "id": "fa7c7018.fe14d",
4127         "type": "set",
4128         "name": "set",
4129         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error in updating RRMPolicyRatio - NRCellDU. Aborting RPC executiopn'/>",
4130         "comments": "",
4131         "x": 4294.312301635742,
4132         "y": 6152.812488555908,
4133         "z": "7108e868.a979d8",
4134         "wires": []
4135     },
4136     {
4137         "id": "7184d1ab.d87de",
4138         "type": "returnFailure",
4139         "name": "return failure",
4140         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error updating NRCellDU-RRMPolicyRatio in ConfigDB. Aborting RPC executiopn'/>",
4141         "comments": "",
4142         "x": 4299.31217956543,
4143         "y": 6247.812549591064,
4144         "z": "7108e868.a979d8",
4145         "wires": []
4146     },
4147     {
4148         "id": "31dba375.14b29c",
4149         "type": "block",
4150         "name": "block : atomic",
4151         "xml": "<block atomic='true'>",
4152         "atomic": "true",
4153         "comments": "",
4154         "outputs": 1,
4155         "x": 4128.312545776367,
4156         "y": 6186.812488555908,
4157         "z": "7108e868.a979d8",
4158         "wires": [
4159             [
4160                 "7184d1ab.d87de",
4161                 "fa7c7018.fe14d",
4162                 "ef5706f3.674e08"
4163             ]
4164         ]
4165     },
4166     {
4167         "id": "ad921fdb.ed082",
4168         "type": "failure",
4169         "name": "failure",
4170         "xml": "<outcome value='failure'>\n",
4171         "comments": "",
4172         "outputs": 1,
4173         "x": 3925.312545776367,
4174         "y": 6189.812488555908,
4175         "z": "7108e868.a979d8",
4176         "wires": [
4177             [
4178                 "31dba375.14b29c"
4179             ]
4180         ]
4181     },
4182     {
4183         "id": "39bf934c.b3043c",
4184         "type": "execute",
4185         "name": "Update RRMPolicy for gNBDU in ConfigDB",
4186         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $prop.restapi.configdb.updateRRMPolicy`\"/>\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-configDB-updateRRMPolicy-CUCP.json'`\" />\n<parameter name=\"httpMethod\" value=\"PUT\"/>\n<parameter name=\"responsePrefix\" value=\"update-gNBDU-rrmpolicy-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"convertResponse\" value=\"true\"/>",
4187         "comments": "",
4188         "outputs": 1,
4189         "x": 3627.312545776367,
4190         "y": 6239.812488555908,
4191         "z": "7108e868.a979d8",
4192         "wires": [
4193             [
4194                 "ad921fdb.ed082",
4195                 "9dc33a14.4035f8"
4196             ]
4197         ]
4198     },
4199     {
4200         "id": "9dc33a14.4035f8",
4201         "type": "success",
4202         "name": "success",
4203         "xml": "<outcome value='success'>\n",
4204         "comments": "",
4205         "outputs": 1,
4206         "x": 3925.312545776367,
4207         "y": 6299.812244415283,
4208         "z": "7108e868.a979d8",
4209         "wires": [
4210             [
4211                 "3a10913d.9ec45e"
4212             ]
4213         ]
4214     },
4215     {
4216         "id": "3a10913d.9ec45e",
4217         "type": "block",
4218         "name": "block",
4219         "xml": "<block>\n",
4220         "atomic": "false",
4221         "comments": "",
4222         "outputs": 1,
4223         "x": 4106.312545776367,
4224         "y": 6293.812488555908,
4225         "z": "7108e868.a979d8",
4226         "wires": [
4227             [
4228                 "acec8e16.d2012"
4229             ]
4230         ]
4231     },
4232     {
4233         "id": "acec8e16.d2012",
4234         "type": "record",
4235         "name": "record",
4236         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Successfully updated ConfigDB - NRCellDU RRMPolicyRatio \"/>",
4237         "comments": "",
4238         "outputs": 1,
4239         "x": 4272.312545776367,
4240         "y": 6294.812488555908,
4241         "z": "7108e868.a979d8",
4242         "wires": [
4243             []
4244         ]
4245     },
4246     {
4247         "id": "ef5706f3.674e08",
4248         "type": "block",
4249         "name": "block : SO Response",
4250         "xml": "<block atomic='true'>",
4251         "atomic": "true",
4252         "comments": "",
4253         "outputs": 1,
4254         "x": 4765.296875,
4255         "y": 2845.8125026226044,
4256         "z": "7108e868.a979d8",
4257         "wires": [
4258             [
4259                 "e14a6d46.023e1",
4260                 "f540d7f6.c63608",
4261                 "dcc8b791.a74578"
4262             ]
4263         ]
4264     },
4265     {
4266         "id": "e14a6d46.023e1",
4267         "type": "set",
4268         "name": "set tmp variables for SO response",
4269         "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",
4270         "comments": "",
4271         "x": 5427.2978515625,
4272         "y": 2637.7121608257294,
4273         "z": "7108e868.a979d8",
4274         "wires": []
4275     },
4276     {
4277         "id": "f540d7f6.c63608",
4278         "type": "record",
4279         "name": "record configdb RestAPI parms",
4280         "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`\" />",
4281         "comments": "",
4282         "outputs": 1,
4283         "x": 5402.296737670898,
4284         "y": 2734.8128383159637,
4285         "z": "7108e868.a979d8",
4286         "wires": [
4287             []
4288         ]
4289     },
4290     {
4291         "id": "dcc8b791.a74578",
4292         "type": "execute",
4293         "name": "Send to SO",
4294         "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-modify-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\"/>",
4295         "comments": "",
4296         "outputs": 1,
4297         "x": 5317.29674911499,
4298         "y": 2831.8127162456512,
4299         "z": "7108e868.a979d8",
4300         "wires": [
4301             [
4302                 "aa777b08.53a7a8",
4303                 "104728ce.e17727"
4304             ]
4305         ]
4306     },
4307     {
4308         "id": "aa777b08.53a7a8",
4309         "type": "failure",
4310         "name": "failure",
4311         "xml": "<outcome value='failure'>\n",
4312         "comments": "",
4313         "outputs": 1,
4314         "x": 5543.296757698059,
4315         "y": 2808.812685251236,
4316         "z": "7108e868.a979d8",
4317         "wires": [
4318             [
4319                 "f4582848.a8f468"
4320             ]
4321         ]
4322     },
4323     {
4324         "id": "104728ce.e17727",
4325         "type": "success",
4326         "name": "success",
4327         "xml": "<outcome value='success'>\n",
4328         "comments": "",
4329         "outputs": 1,
4330         "x": 5533.296611785889,
4331         "y": 2916.812624692917,
4332         "z": "7108e868.a979d8",
4333         "wires": [
4334             [
4335                 "c051cef5.032e7"
4336             ]
4337         ]
4338     },
4339     {
4340         "id": "c051cef5.032e7",
4341         "type": "block",
4342         "name": "block",
4343         "xml": "<block>\n",
4344         "atomic": "false",
4345         "comments": "",
4346         "outputs": 1,
4347         "x": 5683.296398162842,
4348         "y": 2935.812685728073,
4349         "z": "7108e868.a979d8",
4350         "wires": [
4351             [
4352                 "afe80856.a1d1c8"
4353             ]
4354         ]
4355     },
4356     {
4357         "id": "f4582848.a8f468",
4358         "type": "block",
4359         "name": "block",
4360         "xml": "<block>\n",
4361         "atomic": "false",
4362         "comments": "",
4363         "outputs": 1,
4364         "x": 5694.296627044678,
4365         "y": 2803.8128073215485,
4366         "z": "7108e868.a979d8",
4367         "wires": [
4368             [
4369                 "7098be89.b1eb5"
4370             ]
4371         ]
4372     },
4373     {
4374         "id": "7098be89.b1eb5",
4375         "type": "returnFailure",
4376         "name": "return failure",
4377         "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\" />",
4378         "comments": "",
4379         "x": 5860.296306610107,
4380         "y": 2806.812624692917,
4381         "z": "7108e868.a979d8",
4382         "wires": []
4383     },
4384     {
4385         "id": "afe80856.a1d1c8",
4386         "type": "record",
4387         "name": "record",
4388         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
4389         "comments": "",
4390         "outputs": 1,
4391         "x": 5847.296413421631,
4392         "y": 2941.812624692917,
4393         "z": "7108e868.a979d8",
4394         "wires": [
4395             []
4396         ]
4397     },
4398     {
4399         "id": "134f1599.6c4a8a",
4400         "type": "block",
4401         "name": "SO Response",
4402         "xml": "<block atomic='true'>",
4403         "atomic": "true",
4404         "comments": "",
4405         "outputs": 1,
4406         "x": 847.296875,
4407         "y": 4527.812502622604,
4408         "z": "7108e868.a979d8",
4409         "wires": [
4410             [
4411                 "82904319.0efd1",
4412                 "5831ff8f.1496e",
4413                 "1d979743.441219",
4414                 "fa9893c6.512cc"
4415             ]
4416         ]
4417     },
4418     {
4419         "id": "1d979743.441219",
4420         "type": "set",
4421         "name": "set tmp variables for SO response",
4422         "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",
4423         "comments": "",
4424         "x": 1127.2980194091797,
4425         "y": 4377.711987257004,
4426         "z": "7108e868.a979d8",
4427         "wires": []
4428     },
4429     {
4430         "id": "82904319.0efd1",
4431         "type": "record",
4432         "name": "record SO reply parms",
4433         "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`\" />",
4434         "comments": "",
4435         "outputs": 1,
4436         "x": 1124.2968521118164,
4437         "y": 4531.812685728073,
4438         "z": "7108e868.a979d8",
4439         "wires": [
4440             []
4441         ]
4442     },
4443     {
4444         "id": "5831ff8f.1496e",
4445         "type": "execute",
4446         "name": "Send to SO",
4447         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/ranSlice-so-response.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$payloadJson.input.callbackURL`\"/>\n<parameter name=\"httpMethod\" value=\"POST\"/>\n<parameter name=\"responsePrefix\" value=\"so-callback-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n<parameter name=\"restapiUser\" value=\"`$prop.restapi.so.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.restapi.so.password`\"/>",
4448         "comments": "",
4449         "outputs": 1,
4450         "x": 993.2969512939453,
4451         "y": 4648.812390089035,
4452         "z": "7108e868.a979d8",
4453         "wires": [
4454             [
4455                 "a65f78fa.56f2d8",
4456                 "c50ac077.03657"
4457             ]
4458         ]
4459     },
4460     {
4461         "id": "a65f78fa.56f2d8",
4462         "type": "failure",
4463         "name": "failure",
4464         "xml": "<outcome value='failure'>\n",
4465         "comments": "",
4466         "outputs": 1,
4467         "x": 1158.2969512939453,
4468         "y": 4628.812389135361,
4469         "z": "7108e868.a979d8",
4470         "wires": [
4471             [
4472                 "a2576d09.489f3"
4473             ]
4474         ]
4475     },
4476     {
4477         "id": "c50ac077.03657",
4478         "type": "success",
4479         "name": "success",
4480         "xml": "<outcome value='success'>\n",
4481         "comments": "",
4482         "outputs": 1,
4483         "x": 1150.2968444824219,
4484         "y": 4701.812339544296,
4485         "z": "7108e868.a979d8",
4486         "wires": [
4487             [
4488                 "e328c501.176f58"
4489             ]
4490         ]
4491     },
4492     {
4493         "id": "e328c501.176f58",
4494         "type": "block",
4495         "name": "block",
4496         "xml": "<block>\n",
4497         "atomic": "false",
4498         "comments": "",
4499         "outputs": 1,
4500         "x": 1296.296688079834,
4501         "y": 4706.812448263168,
4502         "z": "7108e868.a979d8",
4503         "wires": [
4504             [
4505                 "6c9548b2.9d00a8"
4506             ]
4507         ]
4508     },
4509     {
4510         "id": "a2576d09.489f3",
4511         "type": "block",
4512         "name": "block",
4513         "xml": "<block>\n",
4514         "atomic": "false",
4515         "comments": "",
4516         "outputs": 1,
4517         "x": 1307.2968521118164,
4518         "y": 4624.812524557114,
4519         "z": "7108e868.a979d8",
4520         "wires": [
4521             [
4522                 "97c6f5ad.db3368",
4523                 "7528351d.82c32c"
4524             ]
4525         ]
4526     },
4527     {
4528         "id": "97c6f5ad.db3368",
4529         "type": "returnFailure",
4530         "name": "return failure",
4531         "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\" />",
4532         "comments": "",
4533         "x": 1454.2964706420898,
4534         "y": 4635.812266111374,
4535         "z": "7108e868.a979d8",
4536         "wires": []
4537     },
4538     {
4539         "id": "6c9548b2.9d00a8",
4540         "type": "record",
4541         "name": "record",
4542         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"SO Response Sent \"/>",
4543         "comments": "",
4544         "outputs": 1,
4545         "x": 1457.2966079711914,
4546         "y": 4712.812340497971,
4547         "z": "7108e868.a979d8",
4548         "wires": [
4549             []
4550         ]
4551     },
4552     {
4553         "id": "7528351d.82c32c",
4554         "type": "set",
4555         "name": "set",
4556         "xml": "<set>\n<parameter name='error-code' value='500'/>\n<parameter name='error-message' value='Error sending SO response. Aborting RPC executiopn'/>",
4557         "comments": "",
4558         "x": 1441.8070793151855,
4559         "y": 4539.801757574081,
4560         "z": "7108e868.a979d8",
4561         "wires": []
4562     },
4563     {
4564         "id": "fa9893c6.512cc",
4565         "type": "execute",
4566         "name": "generate URL for SO Callback",
4567         "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`\"/>",
4568         "comments": "",
4569         "outputs": 1,
4570         "x": 1146.636474609375,
4571         "y": 4467.79783987999,
4572         "z": "7108e868.a979d8",
4573         "wires": [
4574             []
4575         ]
4576     },
4577     {
4578         "id": "2db4eb44.da6004",
4579         "type": "outcome",
4580         "name": "Mounted",
4581         "xml": "<outcome value='true'>\n",
4582         "comments": "",
4583         "outputs": 1,
4584         "x": 2548.8125,
4585         "y": 1842.8125,
4586         "z": "7108e868.a979d8",
4587         "wires": [
4588             [
4589                 "6181616d.f9638"
4590             ]
4591         ]
4592     },
4593     {
4594         "id": "6181616d.f9638",
4595         "type": "block",
4596         "name": "ransim  URL",
4597         "xml": "<block atomic='true'>",
4598         "atomic": "true",
4599         "comments": "",
4600         "outputs": 1,
4601         "x": 2741.802158355713,
4602         "y": 1842.8126220703125,
4603         "z": "7108e868.a979d8",
4604         "wires": [
4605             [
4606                 "368a72f6.49333e",
4607                 "255bdee5.7c7202"
4608             ]
4609         ]
4610     },
4611     {
4612         "id": "368a72f6.49333e",
4613         "type": "execute",
4614         "name": "generate fetchRRMPolicyRatio.ToNRCellCU",
4615         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4616         "comments": "",
4617         "outputs": 1,
4618         "x": 3048.802345275879,
4619         "y": 1809.81272315979,
4620         "z": "7108e868.a979d8",
4621         "wires": [
4622             []
4623         ]
4624     },
4625     {
4626         "id": "255bdee5.7c7202",
4627         "type": "execute",
4628         "name": "populate mountName",
4629         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
4630         "comments": "",
4631         "outputs": 1,
4632         "x": 2992.802745819092,
4633         "y": 1862.8129167556763,
4634         "z": "7108e868.a979d8",
4635         "wires": [
4636             []
4637         ]
4638     },
4639     {
4640         "id": "1be9da11.5515e6",
4641         "type": "block",
4642         "name": "ransim  URL",
4643         "xml": "<block atomic='true'>",
4644         "atomic": "true",
4645         "comments": "",
4646         "outputs": 1,
4647         "x": 2976.3125,
4648         "y": 1226.8125,
4649         "z": "7108e868.a979d8",
4650         "wires": [
4651             [
4652                 "914f0a5c.a3eae8",
4653                 "a4bc1334.77552"
4654             ]
4655         ]
4656     },
4657     {
4658         "id": "a4bc1334.77552",
4659         "type": "execute",
4660         "name": "populate mountName",
4661         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
4662         "comments": "",
4663         "outputs": 1,
4664         "x": 3227.312931060791,
4665         "y": 1249.81263256073,
4666         "z": "7108e868.a979d8",
4667         "wires": [
4668             []
4669         ]
4670     },
4671     {
4672         "id": "914f0a5c.a3eae8",
4673         "type": "execute",
4674         "name": "generate patchPLMNInfoList.ToNRCellCU",
4675         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4676         "comments": "",
4677         "outputs": 1,
4678         "x": 3283.312530517578,
4679         "y": 1196.8124389648438,
4680         "z": "7108e868.a979d8",
4681         "wires": [
4682             []
4683         ]
4684     },
4685     {
4686         "id": "c7e85be4.6ec848",
4687         "type": "execute",
4688         "name": "populate mountName",
4689         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.CUCPName`\"/>",
4690         "comments": "",
4691         "outputs": 1,
4692         "x": 3479.312641143799,
4693         "y": 2323.8125944137573,
4694         "z": "7108e868.a979d8",
4695         "wires": [
4696             []
4697         ]
4698     },
4699     {
4700         "id": "9860039d.f6928",
4701         "type": "execute",
4702         "name": "generate patchRRMPolicyRatio.ToNRCellCU",
4703         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToNRCellCU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4704         "comments": "",
4705         "outputs": 1,
4706         "x": 3535.312240600586,
4707         "y": 2270.812400817871,
4708         "z": "7108e868.a979d8",
4709         "wires": [
4710             []
4711         ]
4712     },
4713     {
4714         "id": "53ef7019.7a1f9",
4715         "type": "block",
4716         "name": "ransim  URL",
4717         "xml": "<block atomic='true'>",
4718         "atomic": "true",
4719         "comments": "",
4720         "outputs": 1,
4721         "x": 3228.31205368042,
4722         "y": 2303.8122997283936,
4723         "z": "7108e868.a979d8",
4724         "wires": [
4725             [
4726                 "9860039d.f6928",
4727                 "c7e85be4.6ec848"
4728             ]
4729         ]
4730     },
4731     {
4732         "id": "4555531e.6f353c",
4733         "type": "outcome",
4734         "name": "Mounted",
4735         "xml": "<outcome value='true'>\n",
4736         "comments": "",
4737         "outputs": 1,
4738         "x": 3035.322395324707,
4739         "y": 2303.812177658081,
4740         "z": "7108e868.a979d8",
4741         "wires": [
4742             [
4743                 "53ef7019.7a1f9"
4744             ]
4745         ]
4746     },
4747     {
4748         "id": "40ea92ad.608b2c",
4749         "type": "execute",
4750         "name": "populate mountName",
4751         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoList-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
4752         "comments": "",
4753         "outputs": 1,
4754         "x": 2515.8125,
4755         "y": 2879.8125,
4756         "z": "7108e868.a979d8",
4757         "wires": [
4758             []
4759         ]
4760     },
4761     {
4762         "id": "9ec13137.5f236",
4763         "type": "execute",
4764         "name": "generate patchPLMNInfoList.TogNBCUUP",
4765         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoList-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4766         "comments": "",
4767         "outputs": 1,
4768         "x": 2571.812099456787,
4769         "y": 2826.8123064041138,
4770         "z": "7108e868.a979d8",
4771         "wires": [
4772             []
4773         ]
4774     },
4775     {
4776         "id": "cec48822.0fc488",
4777         "type": "block",
4778         "name": "ransim  URL",
4779         "xml": "<block atomic='true'>",
4780         "atomic": "true",
4781         "comments": "",
4782         "outputs": 1,
4783         "x": 2269.8121643066406,
4784         "y": 2866.8122453689575,
4785         "z": "7108e868.a979d8",
4786         "wires": [
4787             [
4788                 "9ec13137.5f236",
4789                 "40ea92ad.608b2c"
4790             ]
4791         ]
4792     },
4793     {
4794         "id": "ea9d3f75.46bf6",
4795         "type": "block",
4796         "name": "ransim  URL",
4797         "xml": "<block atomic='true'>",
4798         "atomic": "true",
4799         "comments": "",
4800         "outputs": 1,
4801         "x": 2295.8125,
4802         "y": 3223.8125,
4803         "z": "7108e868.a979d8",
4804         "wires": [
4805             [
4806                 "4c5f38d0.c0dbe8",
4807                 "408475cd.4bbdbc"
4808             ]
4809         ]
4810     },
4811     {
4812         "id": "4c5f38d0.c0dbe8",
4813         "type": "execute",
4814         "name": "fetch RRMPolicyRatio.TogNBCUUP",
4815         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4816         "comments": "",
4817         "outputs": 1,
4818         "x": 2597.8124351501465,
4819         "y": 3183.8125610351562,
4820         "z": "7108e868.a979d8",
4821         "wires": [
4822             []
4823         ]
4824     },
4825     {
4826         "id": "408475cd.4bbdbc",
4827         "type": "execute",
4828         "name": "populate mountName",
4829         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
4830         "comments": "",
4831         "outputs": 1,
4832         "x": 2541.8128356933594,
4833         "y": 3236.8127546310425,
4834         "z": "7108e868.a979d8",
4835         "wires": [
4836             []
4837         ]
4838     },
4839     {
4840         "id": "84a6a111.772e4",
4841         "type": "outcome",
4842         "name": "Mounted",
4843         "xml": "<outcome value='true'>\n",
4844         "comments": "",
4845         "outputs": 1,
4846         "x": 2068.3125,
4847         "y": 3232.8125,
4848         "z": "7108e868.a979d8",
4849         "wires": [
4850             [
4851                 "ea9d3f75.46bf6"
4852             ]
4853         ]
4854     },
4855     {
4856         "id": "96bf52a5.a5094",
4857         "type": "outcome",
4858         "name": "Mounted",
4859         "xml": "<outcome value='true'>\n",
4860         "comments": "",
4861         "outputs": 1,
4862         "x": 2605.3125,
4863         "y": 3678.8125,
4864         "z": "7108e868.a979d8",
4865         "wires": [
4866             [
4867                 "f833b9d4.5c52d8"
4868             ]
4869         ]
4870     },
4871     {
4872         "id": "f833b9d4.5c52d8",
4873         "type": "block",
4874         "name": "ransim  URL",
4875         "xml": "<block atomic='true'>",
4876         "atomic": "true",
4877         "comments": "",
4878         "outputs": 1,
4879         "x": 2832.8125,
4880         "y": 3669.8125,
4881         "z": "7108e868.a979d8",
4882         "wires": [
4883             [
4884                 "56078e71.c09d6",
4885                 "da40eae9.0ed398"
4886             ]
4887         ]
4888     },
4889     {
4890         "id": "56078e71.c09d6",
4891         "type": "execute",
4892         "name": "patch RRMPolicyRatio.TogNBCUUP",
4893         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBCUUP.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4894         "comments": "",
4895         "outputs": 1,
4896         "x": 3134.8124351501465,
4897         "y": 3629.8125610351562,
4898         "z": "7108e868.a979d8",
4899         "wires": [
4900             []
4901         ]
4902     },
4903     {
4904         "id": "da40eae9.0ed398",
4905         "type": "execute",
4906         "name": "populate mountName",
4907         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-CUUP.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-CUUP.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.idGNBCUUPFunction`\"/>",
4908         "comments": "",
4909         "outputs": 1,
4910         "x": 3078.8128356933594,
4911         "y": 3682.8127546310425,
4912         "z": "7108e868.a979d8",
4913         "wires": [
4914             []
4915         ]
4916     },
4917     {
4918         "id": "e66f84d4.6add28",
4919         "type": "block",
4920         "name": "ransim  URL",
4921         "xml": "<block atomic='true'>",
4922         "atomic": "true",
4923         "comments": "",
4924         "outputs": 1,
4925         "x": 3718.3125,
4926         "y": 4661.8125,
4927         "z": "7108e868.a979d8",
4928         "wires": [
4929             [
4930                 "260b2835.22a518",
4931                 "6e4be15c.f00f2"
4932             ]
4933         ]
4934     },
4935     {
4936         "id": "260b2835.22a518",
4937         "type": "execute",
4938         "name": "generate patchPLMNInfoList.ToNRCellDU",
4939         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.patchPLMNInfoListEntry.ToNRCellDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
4940         "comments": "",
4941         "outputs": 1,
4942         "x": 4025.312530517578,
4943         "y": 4631.812438964844,
4944         "z": "7108e868.a979d8",
4945         "wires": [
4946             []
4947         ]
4948     },
4949     {
4950         "id": "6e4be15c.f00f2",
4951         "type": "execute",
4952         "name": "populate mountName",
4953         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.patchPLMNInfoListEntry-cellDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.patchPLMNInfoListEntry-cellDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
4954         "comments": "",
4955         "outputs": 1,
4956         "x": 3969.312931060791,
4957         "y": 4684.81263256073,
4958         "z": "7108e868.a979d8",
4959         "wires": [
4960             []
4961         ]
4962     },
4963     {
4964         "id": "5a933026.4d27b",
4965         "type": "outcome",
4966         "name": "Mounted",
4967         "xml": "<outcome value='true'>\n",
4968         "comments": "",
4969         "outputs": 1,
4970         "x": 3615.0625,
4971         "y": 5284.8125,
4972         "z": "7108e868.a979d8",
4973         "wires": [
4974             [
4975                 "a8f05d38.a83c1"
4976             ]
4977         ]
4978     },
4979     {
4980         "id": "a8f05d38.a83c1",
4981         "type": "block",
4982         "name": "ransim  URL",
4983         "xml": "<block atomic='true'>",
4984         "atomic": "true",
4985         "comments": "",
4986         "outputs": 1,
4987         "x": 3782.062732696533,
4988         "y": 5283.0620975494385,
4989         "z": "7108e868.a979d8",
4990         "wires": [
4991             [
4992                 "4c48557d.0a3a9c",
4993                 "73416530.7efcdc"
4994             ]
4995         ]
4996     },
4997     {
4998         "id": "4c48557d.0a3a9c",
4999         "type": "execute",
5000         "name": "generate patchRRMPolicyRatio.ToNRCellDU",
5001         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
5002         "comments": "",
5003         "outputs": 1,
5004         "x": 4029.0625495910645,
5005         "y": 5250.0620975494385,
5006         "z": "7108e868.a979d8",
5007         "wires": [
5008             []
5009         ]
5010     },
5011     {
5012         "id": "73416530.7efcdc",
5013         "type": "execute",
5014         "name": "populate mountName",
5015         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
5016         "comments": "",
5017         "outputs": 1,
5018         "x": 3972.0630378723145,
5019         "y": 5311.062463760376,
5020         "z": "7108e868.a979d8",
5021         "wires": [
5022             []
5023         ]
5024     },
5025     {
5026         "id": "f56b6248.5a011",
5027         "type": "outcome",
5028         "name": "Mounted",
5029         "xml": "<outcome value='true'>\n",
5030         "comments": "",
5031         "outputs": 1,
5032         "x": 4115.0625,
5033         "y": 5759.8125,
5034         "z": "7108e868.a979d8",
5035         "wires": [
5036             [
5037                 "bbf06627.f3ed78"
5038             ]
5039         ]
5040     },
5041     {
5042         "id": "bbf06627.f3ed78",
5043         "type": "block",
5044         "name": "ransim  URL",
5045         "xml": "<block atomic='true'>",
5046         "atomic": "true",
5047         "comments": "",
5048         "outputs": 1,
5049         "x": 4282.062732696533,
5050         "y": 5758.0620975494385,
5051         "z": "7108e868.a979d8",
5052         "wires": [
5053             [
5054                 "5f9cb422.af919c",
5055                 "da32c67c.e299e8"
5056             ]
5057         ]
5058     },
5059     {
5060         "id": "5f9cb422.af919c",
5061         "type": "execute",
5062         "name": "generate patchRRMPolicyRatio.ToNRCellDU",
5063         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.RRMPolicyRatioEntry.ToGNBDU.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{idNearRTRIC}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.nearRTRICId`\"/>",
5064         "comments": "",
5065         "outputs": 1,
5066         "x": 4529.062549591064,
5067         "y": 5725.0620975494385,
5068         "z": "7108e868.a979d8",
5069         "wires": [
5070             []
5071         ]
5072     },
5073     {
5074         "id": "da32c67c.e299e8",
5075         "type": "execute",
5076         "name": "populate mountName",
5077         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.getRRMPolicyRatio-gNBDU.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.getRRMPolicyRatio-gNBDU.url\"/>\n    <parameter name=\"target\" value=\"{mountName}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.GNBDUId`\"/>",
5078         "comments": "",
5079         "outputs": 1,
5080         "x": 4472.063037872314,
5081         "y": 5786.062463760376,
5082         "z": "7108e868.a979d8",
5083         "wires": [
5084             []
5085         ]
5086     },
5087     {
5088         "id": "e20376cf.788968",
5089         "type": "comment",
5090         "name": "instantiateRANSlice-ModifyAllocate",
5091         "info": "",
5092         "comments": "",
5093         "x": 1096.5625,
5094         "y": 154.0625,
5095         "z": "7108e868.a979d8",
5096         "wires": []
5097     },
5098     {
5099         "id": "f75f3c8b.be38f",
5100         "type": "execute",
5101         "name": "read PLMNList size",
5102         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.pLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList_length '`\" />",
5103         "comments": "",
5104         "outputs": 1,
5105         "x": 2322.4656295776367,
5106         "y": 885.909752368927,
5107         "z": "7108e868.a979d8",
5108         "wires": [
5109             []
5110         ]
5111     },
5112     {
5113         "id": "ab9b5a5f.7edca8",
5114         "type": "for",
5115         "name": "foreach PLMNInfo",
5116         "xml": "<for index='id-cuplmn' start='0' end='`$tmp.pLMNInfoList_length`' >\n",
5117         "comments": "",
5118         "outputs": 1,
5119         "x": 2337.0490646362305,
5120         "y": 949.6597952842712,
5121         "z": "7108e868.a979d8",
5122         "wires": [
5123             [
5124                 "327234de.3a864c"
5125             ]
5126         ]
5127     },
5128     {
5129         "id": "327234de.3a864c",
5130         "type": "block",
5131         "name": "block : atomic",
5132         "xml": "<block atomic='true'>",
5133         "atomic": "true",
5134         "comments": "",
5135         "outputs": 1,
5136         "x": 2514.9380416870117,
5137         "y": 872.437584400177,
5138         "z": "7108e868.a979d8",
5139         "wires": [
5140             [
5141                 "1a9da553.0446fb",
5142                 "ed323aec.b19e28",
5143                 "81e0ba30.914fd8"
5144             ]
5145         ]
5146     },
5147     {
5148         "id": "1a9da553.0446fb",
5149         "type": "record",
5150         "name": "record",
5151         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
5152         "comments": "",
5153         "outputs": 1,
5154         "x": 2720.827003479004,
5155         "y": 895.6597666740417,
5156         "z": "7108e868.a979d8",
5157         "wires": [
5158             []
5159         ]
5160     },
5161     {
5162         "id": "ed323aec.b19e28",
5163         "type": "switchNode",
5164         "name": "is NSSAI exists",
5165         "xml": "<switch test='`$tmp.configDBSNSSAI == $tmp.sNSSAI`'>\n",
5166         "comments": "",
5167         "outputs": 1,
5168         "x": 2759.7158432006836,
5169         "y": 960.2153334617615,
5170         "z": "7108e868.a979d8",
5171         "wires": [
5172             [
5173                 "7dcede1.de3672"
5174             ]
5175         ]
5176     },
5177     {
5178         "id": "7dcede1.de3672",
5179         "type": "outcome",
5180         "name": "True",
5181         "xml": "<outcome value='true'>\n",
5182         "comments": "",
5183         "outputs": 1,
5184         "x": 2949.1880416870117,
5185         "y": 960.437662601471,
5186         "z": "7108e868.a979d8",
5187         "wires": [
5188             [
5189                 "d5711de.7d20ee"
5190             ]
5191         ]
5192     },
5193     {
5194         "id": "81e0ba30.914fd8",
5195         "type": "execute",
5196         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
5197         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBCUCPList['+ $idz +'].cellCUList['+ $idcu +'].pLMNInfoList['+ $id-cuplmn +'].sNSSAI.sNSSAI'`\" />",
5198         "comments": "",
5199         "outputs": 1,
5200         "x": 2849.8268966674805,
5201         "y": 827.6598153114319,
5202         "z": "7108e868.a979d8",
5203         "wires": [
5204             []
5205         ]
5206     },
5207     {
5208         "id": "9075c0f5.a64f5",
5209         "type": "execute",
5210         "name": "read PLMNList size",
5211         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.DUpLMNInfoList_length' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList_length '`\" />",
5212         "comments": "",
5213         "outputs": 1,
5214         "x": 2445.3125,
5215         "y": 4357.8125,
5216         "z": "7108e868.a979d8",
5217         "wires": [
5218             []
5219         ]
5220     },
5221     {
5222         "id": "db078c99.82cd6",
5223         "type": "for",
5224         "name": "foreach PLMNInfo",
5225         "xml": "<for index='id-duplmn' start='0' end='`$tmp.DUpLMNInfoList_length`' >\n",
5226         "comments": "",
5227         "outputs": 1,
5228         "x": 2423.6458740234375,
5229         "y": 4427.8125,
5230         "z": "7108e868.a979d8",
5231         "wires": [
5232             [
5233                 "790d6865.84f598"
5234             ]
5235         ]
5236     },
5237     {
5238         "id": "790d6865.84f598",
5239         "type": "block",
5240         "name": "block : atomic",
5241         "xml": "<block atomic='true'>",
5242         "atomic": "true",
5243         "comments": "",
5244         "outputs": 1,
5245         "x": 2609.0346603393555,
5246         "y": 4421.8402099609375,
5247         "z": "7108e868.a979d8",
5248         "wires": [
5249             [
5250                 "31b6396b.687da6",
5251                 "d7e5ca37.7359c8",
5252                 "fdf60abf.fb88a8"
5253             ]
5254         ]
5255     },
5256     {
5257         "id": "fdf60abf.fb88a8",
5258         "type": "execute",
5259         "name": "read sNSSAI from getNFNSSIRIC-configdb-response",
5260         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='tmp.configDBSNSSAI-DU' />\n\t<parameter name='source' value=\"`'getNFNSSIRIC-configdb-response.['+ $idy +'].gNBDUList['+ $id-du +'].cellDUList['+ $id-celldu +'].pLMNInfoList['+ $id-duplmn +'].sNSSAI.sNSSAI'`\" />",
5261         "comments": "",
5262         "outputs": 1,
5263         "x": 2975.173667907715,
5264         "y": 4307.062685012817,
5265         "z": "7108e868.a979d8",
5266         "wires": [
5267             []
5268         ]
5269     },
5270     {
5271         "id": "31b6396b.687da6",
5272         "type": "record",
5273         "name": "record",
5274         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSliceModifyAllocate.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"sNSSAI - getNFNSSIRIC-configdb-response\"/>\n<parameter name=\"field2\" value=\"`$tmp.configDBSNSSAI-DU`\"/>\n<parameter name=\"field3\" value=\"sNSSAI from request\"/>\n<parameter name=\"field4\" value=\"`$tmp.sNSSAI`\"/>\n\n",
5275         "comments": "",
5276         "outputs": 1,
5277         "x": 2844.923667907715,
5278         "y": 4375.062562942505,
5279         "z": "7108e868.a979d8",
5280         "wires": [
5281             []
5282         ]
5283     },
5284     {
5285         "id": "d7e5ca37.7359c8",
5286         "type": "switchNode",
5287         "name": "is NSSAI exists",
5288         "xml": "<switch test='`$tmp.configDBSNSSAI-DU == $tmp.sNSSAI`'>\n",
5289         "comments": "",
5290         "outputs": 1,
5291         "x": 2840.06258392334,
5292         "y": 4448.3682289123535,
5293         "z": "7108e868.a979d8",
5294         "wires": [
5295             [
5296                 "46572f40.c306d"
5297             ]
5298         ]
5299     },
5300     {
5301         "id": "46572f40.c306d",
5302         "type": "outcome",
5303         "name": "True",
5304         "xml": "<outcome value='true'>\n",
5305         "comments": "",
5306         "outputs": 1,
5307         "x": 3009.5347213745117,
5308         "y": 4474.840398788452,
5309         "z": "7108e868.a979d8",
5310         "wires": [
5311             [
5312                 "2e0cb657.fa72aa"
5313             ]
5314         ]
5315     },
5316     {
5317         "id": "2d9b1779.25da68",
5318         "type": "block",
5319         "name": "block",
5320         "xml": "<block>\n",
5321         "atomic": "false",
5322         "comments": "",
5323         "outputs": 1,
5324         "x": 2230.3125610351562,
5325         "y": 4495.312624931335,
5326         "z": "7108e868.a979d8",
5327         "wires": [
5328             [
5329                 "9075c0f5.a64f5",
5330                 "db078c99.82cd6"
5331             ]
5332         ]
5333     },
5334     {
5335         "id": "f0e433f3.dc406",
5336         "type": "returnSuccess",
5337         "name": "return success",
5338         "xml": "<return status='success'>\n<parameter name=\"ack-final\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />",
5339         "comments": "",
5340         "x": 495.83331298828125,
5341         "y": 1529.1666259765625,
5342         "z": "7108e868.a979d8",
5343         "wires": []
5344     }
5345 ]