SDNR OOFPCIPOC - DG Updates for ConfigDB DMAAP
[ccsdk/distribution.git] / platform-logic / oofpcipoc-api / src / main / json / oofpcipoc-api_generic-neighbor-configuration.json
1 [
2     {
3         "id": "62c88a41.7901c4",
4         "type": "comment",
5         "name": "Generic Neighbor Configuration",
6         "info": "",
7         "comments": "",
8         "x": 363,
9         "y": 27,
10         "z": "b5912bac.e498b8",
11         "wires": []
12     },
13     {
14         "id": "baa967e2.faeed8",
15         "type": "block",
16         "name": "block : atomic",
17         "xml": "<block atomic='true'>",
18         "atomic": "true",
19         "comments": "",
20         "outputs": 1,
21         "x": 604.0000457763672,
22         "y": 247.01050186157227,
23         "z": "b5912bac.e498b8",
24         "wires": [
25             [
26                 "e7f7731c.df44c",
27                 "e8c58776.722298",
28                 "26d77802.a1d148",
29                 "a1ea2bf1.677578",
30                 "1dc9243f.b48cec",
31                 "42fc4612.e644c8",
32                 "dd9a5d15.06aae",
33                 "772f6c66.8f6644",
34                 "9257d114.fbb5f",
35                 "bf3b2072.183ee",
36                 "5dfa3076.0f2dc"
37             ]
38         ]
39     },
40     {
41         "id": "3b46224d.2d6b5e",
42         "type": "for",
43         "name": "for",
44         "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
45         "comments": "",
46         "outputs": 1,
47         "x": 551.0001831054688,
48         "y": 405,
49         "z": "b5912bac.e498b8",
50         "wires": [
51             [
52                 "baa967e2.faeed8"
53             ]
54         ]
55     },
56     {
57         "id": "e7f7731c.df44c",
58         "type": "set",
59         "name": "set tmp variables for the requested fap service input parms",
60         "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
61         "comments": "",
62         "x": 935.0011596679688,
63         "y": 49.88909912109375,
64         "z": "b5912bac.e498b8",
65         "wires": []
66     },
67     {
68         "id": "e8c58776.722298",
69         "type": "record",
70         "name": "record",
71         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
72         "comments": "",
73         "outputs": 1,
74         "x": 799.5105075836182,
75         "y": 93.01042747497559,
76         "z": "b5912bac.e498b8",
77         "wires": [
78             []
79         ]
80     },
81     {
82         "id": "472be384.ef3bac",
83         "type": "block",
84         "name": "block : atomic",
85         "xml": "<block atomic='true'>",
86         "atomic": "true",
87         "comments": "",
88         "outputs": 1,
89         "x": 126.48959350585938,
90         "y": 283.9896240234375,
91         "z": "b5912bac.e498b8",
92         "wires": [
93             [
94                 "58f1d84.b947928",
95                 "f7111027.f6312",
96                 "be76099f.4dfad8",
97                 "ce40b7fa.694068",
98                 "d8ef20b.61a53e",
99                 "1cfec41e.135f0c",
100                 "598648b2.5aa358",
101                 "3e67b041.fa193"
102             ]
103         ]
104     },
105     {
106         "id": "98417a7.9342688",
107         "type": "method",
108         "name": "method",
109         "xml": "<method rpc='generic-neighbor-configuration' mode='sync'>\n",
110         "comments": "",
111         "outputs": 1,
112         "x": 112,
113         "y": 184.9895782470703,
114         "z": "b5912bac.e498b8",
115         "wires": [
116             [
117                 "472be384.ef3bac"
118             ]
119         ]
120     },
121     {
122         "id": "58f1d84.b947928",
123         "type": "returnSuccess",
124         "name": "return success",
125         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"SUCCESSFUL Execution\" />\n",
126         "comments": "",
127         "x": 117.00033950805664,
128         "y": 2844.989965438843,
129         "z": "b5912bac.e498b8",
130         "wires": []
131     },
132     {
133         "id": "f7111027.f6312",
134         "type": "record",
135         "name": "record",
136         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"RPC to Configure Neighbors INVOKED. Number of Neighbors to configure: \"/>\n<parameter name=\"field2\" value=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\"/>\n",
137         "comments": "",
138         "outputs": 1,
139         "x": 413.00030517578125,
140         "y": 84.01042938232422,
141         "z": "b5912bac.e498b8",
142         "wires": [
143             []
144         ]
145     },
146     {
147         "id": "be76099f.4dfad8",
148         "type": "for",
149         "name": "for",
150         "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
151         "comments": "",
152         "outputs": 1,
153         "x": 424.085693359375,
154         "y": 130.9531707763672,
155         "z": "b5912bac.e498b8",
156         "wires": [
157             [
158                 "93be64d3.f030f8"
159             ]
160         ]
161     },
162     {
163         "id": "ce40b7fa.694068",
164         "type": "execute",
165         "name": "execute Properties",
166         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/sdnr-oofpcipoc-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
167         "comments": "",
168         "outputs": 1,
169         "x": 427.00018310546875,
170         "y": 189.01040649414062,
171         "z": "b5912bac.e498b8",
172         "wires": [
173             []
174         ]
175     },
176     {
177         "id": "d8ef20b.61a53e",
178         "type": "record",
179         "name": "record",
180         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. generic neighbor config template\"/>\n<parameter name=\"field2\" value=\"`$prop.restapi.generic-neighbor-patch.template`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field5\" value=\"`$prop.controller.url`\"/>",
181         "comments": "",
182         "outputs": 1,
183         "x": 379.000301361084,
184         "y": 257.01050090789795,
185         "z": "b5912bac.e498b8",
186         "wires": [
187             []
188         ]
189     },
190     {
191         "id": "f6fcf198.4f53a",
192         "type": "service-logic",
193         "name": "oofpcipoc-api ${project.version}",
194         "module": "oofpcipoc-api",
195         "version": "${project.version}",
196         "comments": "",
197         "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='oofpcipoc-api' version='${project.version}'>",
198         "outputs": 1,
199         "x": 167.99998474121094,
200         "y": 95.98968505859375,
201         "z": "b5912bac.e498b8",
202         "wires": [
203             [
204                 "98417a7.9342688"
205             ]
206         ]
207     },
208     {
209         "id": "93be64d3.f030f8",
210         "type": "record",
211         "name": "record",
212         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Input RPC Payload request. Neighbor #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"field4\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"field5\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>",
213         "comments": "",
214         "outputs": 1,
215         "x": 589.0005493164062,
216         "y": 114.98963165283203,
217         "z": "b5912bac.e498b8",
218         "wires": [
219             []
220         ]
221     },
222     {
223         "id": "9a50d806.bf9d88",
224         "type": "dgstart",
225         "name": "DGSTART",
226         "outputs": 1,
227         "x": 103,
228         "y": 33.989585876464844,
229         "z": "b5912bac.e498b8",
230         "wires": [
231             [
232                 "f6fcf198.4f53a"
233             ]
234         ]
235     },
236     {
237         "id": "bf3b2072.183ee",
238         "type": "execute",
239         "name": "generate neighbor config URL",
240         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
241         "comments": "",
242         "outputs": 1,
243         "x": 870.5108642578125,
244         "y": 137.56614685058594,
245         "z": "b5912bac.e498b8",
246         "wires": [
247             []
248         ]
249     },
250     {
251         "id": "26d77802.a1d148",
252         "type": "record",
253         "name": "record",
254         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
255         "comments": "",
256         "outputs": 1,
257         "x": 797.510498046875,
258         "y": 190.7882080078125,
259         "z": "b5912bac.e498b8",
260         "wires": [
261             []
262         ]
263     },
264     {
265         "id": "a1ea2bf1.677578",
266         "type": "execute",
267         "name": "populate plmnid",
268         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{plmnid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
269         "comments": "",
270         "outputs": 1,
271         "x": 999.5106258392334,
272         "y": 202.78822231292725,
273         "z": "b5912bac.e498b8",
274         "wires": [
275             []
276         ]
277     },
278     {
279         "id": "1dc9243f.b48cec",
280         "type": "record",
281         "name": "record",
282         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
283         "comments": "",
284         "outputs": 1,
285         "x": 867.5104789733887,
286         "y": 246.78819751739502,
287         "z": "b5912bac.e498b8",
288         "wires": [
289             []
290         ]
291     },
292     {
293         "id": "42fc4612.e644c8",
294         "type": "execute",
295         "name": "populate cid",
296         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{cid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
297         "comments": "",
298         "outputs": 1,
299         "x": 890.5105075836182,
300         "y": 291.7882204055786,
301         "z": "b5912bac.e498b8",
302         "wires": [
303             []
304         ]
305     },
306     {
307         "id": "772f6c66.8f6644",
308         "type": "execute",
309         "name": "Configure neighbor using PATCH",
310         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
311         "comments": "",
312         "outputs": 1,
313         "x": 922.510498046875,
314         "y": 431.788330078125,
315         "z": "b5912bac.e498b8",
316         "wires": [
317             [
318                 "18e5fc47.677d84",
319                 "9996e5f3.0463a8"
320             ]
321         ]
322     },
323     {
324         "id": "18e5fc47.677d84",
325         "type": "failure",
326         "name": "failure",
327         "xml": "<outcome value='failure'>\n",
328         "comments": "",
329         "outputs": 1,
330         "x": 1183.5103855133057,
331         "y": 395.77778339385986,
332         "z": "b5912bac.e498b8",
333         "wires": [
334             [
335                 "7e1599c6.f4b258"
336             ]
337         ]
338     },
339     {
340         "id": "9996e5f3.0463a8",
341         "type": "success",
342         "name": "success",
343         "xml": "<outcome value='success'>\n",
344         "comments": "",
345         "outputs": 1,
346         "x": 1185.5103302001953,
347         "y": 459.77761459350586,
348         "z": "b5912bac.e498b8",
349         "wires": [
350             [
351                 "8be63bfe.ba0d78"
352             ]
353         ]
354     },
355     {
356         "id": "24c17f16.af7c2",
357         "type": "record",
358         "name": "record",
359         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
360         "comments": "",
361         "outputs": 1,
362         "x": 1516.510124206543,
363         "y": 455.77770233154297,
364         "z": "b5912bac.e498b8",
365         "wires": [
366             []
367         ]
368     },
369     {
370         "id": "8be63bfe.ba0d78",
371         "type": "block",
372         "name": "block",
373         "xml": "<block>\n",
374         "atomic": "false",
375         "comments": "",
376         "outputs": 1,
377         "x": 1352.5101737976074,
378         "y": 458.77769660949707,
379         "z": "b5912bac.e498b8",
380         "wires": [
381             [
382                 "24c17f16.af7c2"
383             ]
384         ]
385     },
386     {
387         "id": "7e1599c6.f4b258",
388         "type": "block",
389         "name": "block",
390         "xml": "<block>\n",
391         "atomic": "false",
392         "comments": "",
393         "outputs": 1,
394         "x": 1342.510248184204,
395         "y": 404.7777690887451,
396         "z": "b5912bac.e498b8",
397         "wires": [
398             [
399                 "ce7d1839.31b058"
400             ]
401         ]
402     },
403     {
404         "id": "ce7d1839.31b058",
405         "type": "returnFailure",
406         "name": "return failure",
407         "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 adding a new neighbor\" />",
408         "comments": "",
409         "x": 1518.5100116729736,
410         "y": 389.77774238586426,
411         "z": "b5912bac.e498b8",
412         "wires": []
413     },
414     {
415         "id": "dd9a5d15.06aae",
416         "type": "execute",
417         "name": "Get neighbor details pre-configuration",
418         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
419         "comments": "",
420         "outputs": 1,
421         "x": 920.5104370117188,
422         "y": 343.7882080078125,
423         "z": "b5912bac.e498b8",
424         "wires": [
425             [
426                 "9fe95e60.166c3",
427                 "9512e3ea.241a4"
428             ]
429         ]
430     },
431     {
432         "id": "9fe95e60.166c3",
433         "type": "failure",
434         "name": "failure",
435         "xml": "<outcome value='failure'>\n",
436         "comments": "",
437         "outputs": 1,
438         "x": 1188.510498046875,
439         "y": 280.4442491531372,
440         "z": "b5912bac.e498b8",
441         "wires": [
442             [
443                 "5a501fde.87adb"
444             ]
445         ]
446     },
447     {
448         "id": "9512e3ea.241a4",
449         "type": "success",
450         "name": "success",
451         "xml": "<outcome value='success'>\n",
452         "comments": "",
453         "outputs": 1,
454         "x": 1175.5103912353516,
455         "y": 344.44439697265625,
456         "z": "b5912bac.e498b8",
457         "wires": [
458             [
459                 "f3752e03.cce3d"
460             ]
461         ]
462     },
463     {
464         "id": "f3752e03.cce3d",
465         "type": "block",
466         "name": "block",
467         "xml": "<block>\n",
468         "atomic": "false",
469         "comments": "",
470         "outputs": 1,
471         "x": 1318.5101871490479,
472         "y": 341.44431257247925,
473         "z": "b5912bac.e498b8",
474         "wires": [
475             [
476                 "56993fd5.34454"
477             ]
478         ]
479     },
480     {
481         "id": "56993fd5.34454",
482         "type": "record",
483         "name": "record",
484         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
485         "comments": "",
486         "outputs": 1,
487         "x": 1479.510103225708,
488         "y": 335.44458293914795,
489         "z": "b5912bac.e498b8",
490         "wires": [
491             []
492         ]
493     },
494     {
495         "id": "5a501fde.87adb",
496         "type": "returnFailure",
497         "name": "return failure",
498         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
499         "comments": "",
500         "x": 1387.5103912353516,
501         "y": 270.4442768096924,
502         "z": "b5912bac.e498b8",
503         "wires": []
504     },
505     {
506         "id": "9257d114.fbb5f",
507         "type": "execute",
508         "name": "Get neighbor details post-configuration",
509         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
510         "comments": "",
511         "outputs": 1,
512         "x": 878.5104370117188,
513         "y": 507.67706298828125,
514         "z": "b5912bac.e498b8",
515         "wires": [
516             [
517                 "f3eccc73.b462e",
518                 "3ed6cc6a.c6c044"
519             ]
520         ]
521     },
522     {
523         "id": "f3eccc73.b462e",
524         "type": "failure",
525         "name": "failure",
526         "xml": "<outcome value='failure'>\n",
527         "comments": "",
528         "outputs": 1,
529         "x": 1213.5104370117188,
530         "y": 507.3331050872803,
531         "z": "b5912bac.e498b8",
532         "wires": [
533             [
534                 "1ebdbe5d.7f30b2"
535             ]
536         ]
537     },
538     {
539         "id": "3ed6cc6a.c6c044",
540         "type": "success",
541         "name": "success",
542         "xml": "<outcome value='success'>\n",
543         "comments": "",
544         "outputs": 1,
545         "x": 1206.5103302001953,
546         "y": 559.3333015441895,
547         "z": "b5912bac.e498b8",
548         "wires": [
549             [
550                 "7a33e4a5.c1140c"
551             ]
552         ]
553     },
554     {
555         "id": "7a33e4a5.c1140c",
556         "type": "block",
557         "name": "block",
558         "xml": "<block>\n",
559         "atomic": "false",
560         "comments": "",
561         "outputs": 1,
562         "x": 1375.5100898742676,
563         "y": 566.3332405090332,
564         "z": "b5912bac.e498b8",
565         "wires": [
566             [
567                 "8874cc8.fdd9c3"
568             ]
569         ]
570     },
571     {
572         "id": "1ebdbe5d.7f30b2",
573         "type": "returnFailure",
574         "name": "return failure",
575         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
576         "comments": "",
577         "x": 1386.5103912353516,
578         "y": 504.33313274383545,
579         "z": "b5912bac.e498b8",
580         "wires": []
581     },
582     {
583         "id": "8874cc8.fdd9c3",
584         "type": "record",
585         "name": "record",
586         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
587         "comments": "",
588         "outputs": 1,
589         "x": 1522.510124206543,
590         "y": 564.333456993103,
591         "z": "b5912bac.e498b8",
592         "wires": [
593             []
594         ]
595     },
596     {
597         "id": "caedd83d.51f7c8",
598         "type": "block",
599         "name": "block : atomic",
600         "xml": "<block atomic='true'>",
601         "atomic": "true",
602         "comments": "",
603         "outputs": 1,
604         "x": 576.9999465942383,
605         "y": 1317.0000581741333,
606         "z": "b5912bac.e498b8",
607         "wires": [
608             [
609                 "1c84f0b8.618d3f",
610                 "661254e5.c354ac",
611                 "30fcd4e2.e8af6c",
612                 "f65cc795.09a8f8",
613                 "6002fae9.c462d4",
614                 "26a41e87.9a2a42",
615                 "8ad484a4.2e48f8",
616                 "9cd115c6.7d3528",
617                 "aa95ae6a.9db0c",
618                 "917698f.742c268",
619                 "5d5cd71e.9e8ad8",
620                 "dd44dc35.baa9a"
621             ]
622         ]
623     },
624     {
625         "id": "49402706.7c5b88",
626         "type": "for",
627         "name": "for",
628         "xml": "<for index='idx' start='0' end=\"`$generic-neighbor-configuration-input.lte-cell-number-of-entries`\" >",
629         "comments": "",
630         "outputs": 1,
631         "x": 520.0001831054688,
632         "y": 497.989501953125,
633         "z": "b5912bac.e498b8",
634         "wires": [
635             [
636                 "caedd83d.51f7c8"
637             ]
638         ]
639     },
640     {
641         "id": "1c84f0b8.618d3f",
642         "type": "set",
643         "name": "set tmp variables for the requested fap service input parms",
644         "xml": "<set>\n<parameter name=\"tmp.alias\" value=\"`$generic-neighbor-configuration-input.alias`\"/>\n<parameter name=\"tmp.plmnid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].plmnid`\"/>\n<parameter name=\"tmp.cid\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].cid`\"/>\n<parameter name=\"tmp.phy-cell-id\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].phy-cell-id`\"/>\n<parameter name=\"tmp.pnf-name\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].pnf-name`\"/>\n<parameter name=\"tmp.blacklisted\" value=\"`$generic-neighbor-configuration-input.neighbor-list-in-use[$idx].blacklisted`\"/>\n",
645         "comments": "",
646         "x": 910.0011806488037,
647         "y": 1000.8786706924438,
648         "z": "b5912bac.e498b8",
649         "wires": []
650     },
651     {
652         "id": "661254e5.c354ac",
653         "type": "record",
654         "name": "record",
655         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Temporary varaibles set. Neighbor #:  \"/>\n<parameter name=\"field2\" value=\"`$idx`\"/>\n<parameter name=\"field3\" value=\"`$tmp.plmnid`\"/>\n<parameter name=\"field4\" value=\"`$tmp.cid`\"/>\n<parameter name=\"field5\" value=\"`$tmp.phy-cell-id`\"/>\n<parameter name=\"field6\" value=\"`$tmp.pnf-name`\"/>\n<parameter name=\"field7\" value=\"`$tmp.blacklisted`\"/>",
656         "comments": "",
657         "outputs": 1,
658         "x": 780.5105037689209,
659         "y": 1077.0000381469727,
660         "z": "b5912bac.e498b8",
661         "wires": [
662             []
663         ]
664     },
665     {
666         "id": "917698f.742c268",
667         "type": "execute",
668         "name": "generate neighbor config URL",
669         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.lte-ran-neighbor-in-use.ransim-mounted`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{alias}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
670         "comments": "",
671         "outputs": 1,
672         "x": 873.5108242034912,
673         "y": 1138.5557250976562,
674         "z": "b5912bac.e498b8",
675         "wires": [
676             []
677         ]
678     },
679     {
680         "id": "30fcd4e2.e8af6c",
681         "type": "record",
682         "name": "record",
683         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>",
684         "comments": "",
685         "outputs": 1,
686         "x": 814.5104579925537,
687         "y": 1187.7777709960938,
688         "z": "b5912bac.e498b8",
689         "wires": [
690             []
691         ]
692     },
693     {
694         "id": "f65cc795.09a8f8",
695         "type": "execute",
696         "name": "populate plmnid",
697         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{plmnid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.plmnid`\"/>",
698         "comments": "",
699         "outputs": 1,
700         "x": 878.5105800628662,
701         "y": 1283.7777709960938,
702         "z": "b5912bac.e498b8",
703         "wires": [
704             []
705         ]
706     },
707     {
708         "id": "6002fae9.c462d4",
709         "type": "record",
710         "name": "record",
711         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Config Neighbor List URL\"/>\n<parameter name=\"field2\" value=\"`$tmp.config-neighbor-service-url`\"/>\n",
712         "comments": "",
713         "outputs": 1,
714         "x": 853.5104579925537,
715         "y": 1331.7777709960938,
716         "z": "b5912bac.e498b8",
717         "wires": [
718             []
719         ]
720     },
721     {
722         "id": "26a41e87.9a2a42",
723         "type": "execute",
724         "name": "populate cid",
725         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{cid}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
726         "comments": "",
727         "outputs": 1,
728         "x": 862.5104579925537,
729         "y": 1368.7777709960938,
730         "z": "b5912bac.e498b8",
731         "wires": [
732             []
733         ]
734     },
735     {
736         "id": "9cd115c6.7d3528",
737         "type": "execute",
738         "name": "Configure neighbor using PATCH",
739         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-generic-neighbor-patch.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-patch-response\"/>\n<parameter name='contentType' value='application/yang.patch+json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/yang.patch-status+json' />",
740         "comments": "",
741         "outputs": 1,
742         "x": 876.5104579925537,
743         "y": 1498.7778930664062,
744         "z": "b5912bac.e498b8",
745         "wires": [
746             [
747                 "550d2fe8.b2398",
748                 "c01d1028.d9257"
749             ]
750         ]
751     },
752     {
753         "id": "550d2fe8.b2398",
754         "type": "failure",
755         "name": "failure",
756         "xml": "<outcome value='failure'>\n",
757         "comments": "",
758         "outputs": 1,
759         "x": 1171.5103454589844,
760         "y": 1505.767346382141,
761         "z": "b5912bac.e498b8",
762         "wires": [
763             [
764                 "6a5a8363.937f4c"
765             ]
766         ]
767     },
768     {
769         "id": "c01d1028.d9257",
770         "type": "success",
771         "name": "success",
772         "xml": "<outcome value='success'>\n",
773         "comments": "",
774         "outputs": 1,
775         "x": 1189.5103874206543,
776         "y": 1573.7671728134155,
777         "z": "b5912bac.e498b8",
778         "wires": [
779             [
780                 "52465faf.7e9e9"
781             ]
782         ]
783     },
784     {
785         "id": "7626dcea.9b0314",
786         "type": "record",
787         "name": "record",
788         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"PATCH Neighbor Executed Successfully \"/>",
789         "comments": "",
790         "outputs": 1,
791         "x": 1527.510139465332,
792         "y": 1560.7672810554504,
793         "z": "b5912bac.e498b8",
794         "wires": [
795             []
796         ]
797     },
798     {
799         "id": "52465faf.7e9e9",
800         "type": "block",
801         "name": "block",
802         "xml": "<block>\n",
803         "atomic": "false",
804         "comments": "",
805         "outputs": 1,
806         "x": 1369.510051727295,
807         "y": 1571.7672538757324,
808         "z": "b5912bac.e498b8",
809         "wires": [
810             [
811                 "7626dcea.9b0314"
812             ]
813         ]
814     },
815     {
816         "id": "6a5a8363.937f4c",
817         "type": "block",
818         "name": "block",
819         "xml": "<block>\n",
820         "atomic": "false",
821         "comments": "",
822         "outputs": 1,
823         "x": 1330.5102081298828,
824         "y": 1514.7673320770264,
825         "z": "b5912bac.e498b8",
826         "wires": [
827             [
828                 "c37acb1b.5bf368"
829             ]
830         ]
831     },
832     {
833         "id": "c37acb1b.5bf368",
834         "type": "returnFailure",
835         "name": "return failure",
836         "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 adding a new neighbor\" />",
837         "comments": "",
838         "x": 1506.5099716186523,
839         "y": 1499.7673053741455,
840         "z": "b5912bac.e498b8",
841         "wires": []
842     },
843     {
844         "id": "8ad484a4.2e48f8",
845         "type": "execute",
846         "name": "Get neighbor details pre-configuration",
847         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
848         "comments": "",
849         "outputs": 1,
850         "x": 886.5103969573975,
851         "y": 1413.7777709960938,
852         "z": "b5912bac.e498b8",
853         "wires": [
854             [
855                 "91fb4292.af9ba",
856                 "4fbff7ac.8fb1f8"
857             ]
858         ]
859     },
860     {
861         "id": "91fb4292.af9ba",
862         "type": "failure",
863         "name": "failure",
864         "xml": "<outcome value='failure'>\n",
865         "comments": "",
866         "outputs": 1,
867         "x": 1159.510498046875,
868         "y": 1386.43381690979,
869         "z": "b5912bac.e498b8",
870         "wires": [
871             [
872                 "a8a950c8.2502f"
873             ]
874         ]
875     },
876     {
877         "id": "4fbff7ac.8fb1f8",
878         "type": "success",
879         "name": "success",
880         "xml": "<outcome value='success'>\n",
881         "comments": "",
882         "outputs": 1,
883         "x": 1154.5103302001953,
884         "y": 1442.433970451355,
885         "z": "b5912bac.e498b8",
886         "wires": [
887             [
888                 "ffc0c87a.ab73b8"
889             ]
890         ]
891     },
892     {
893         "id": "ffc0c87a.ab73b8",
894         "type": "block",
895         "name": "block",
896         "xml": "<block>\n",
897         "atomic": "false",
898         "comments": "",
899         "outputs": 1,
900         "x": 1306.5101470947266,
901         "y": 1451.4338755607605,
902         "z": "b5912bac.e498b8",
903         "wires": [
904             [
905                 "d27f355.abdb1c8"
906             ]
907         ]
908     },
909     {
910         "id": "d27f355.abdb1c8",
911         "type": "record",
912         "name": "record",
913         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Pre-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
914         "comments": "",
915         "outputs": 1,
916         "x": 1467.5100631713867,
917         "y": 1445.4341459274292,
918         "z": "b5912bac.e498b8",
919         "wires": [
920             []
921         ]
922     },
923     {
924         "id": "a8a950c8.2502f",
925         "type": "returnFailure",
926         "name": "return failure",
927         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
928         "comments": "",
929         "x": 1360.5102882385254,
930         "y": 1392.433825492859,
931         "z": "b5912bac.e498b8",
932         "wires": []
933     },
934     {
935         "id": "aa95ae6a.9db0c",
936         "type": "execute",
937         "name": "Get neighbor details post-configuration",
938         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.controller.url + $tmp.config-neighbor-service-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=\"oofpci-neighbor-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n",
939         "comments": "",
940         "outputs": 1,
941         "x": 842.5103969573975,
942         "y": 1612.6666870117188,
943         "z": "b5912bac.e498b8",
944         "wires": [
945             [
946                 "9a649311.6c99",
947                 "6cc8d6fb.f0ac98"
948             ]
949         ]
950     },
951     {
952         "id": "9a649311.6c99",
953         "type": "failure",
954         "name": "failure",
955         "xml": "<outcome value='failure'>\n",
956         "comments": "",
957         "outputs": 1,
958         "x": 1199.510498046875,
959         "y": 1624.3226718902588,
960         "z": "b5912bac.e498b8",
961         "wires": [
962             [
963                 "cdae9665.c04dc8"
964             ]
965         ]
966     },
967     {
968         "id": "6cc8d6fb.f0ac98",
969         "type": "success",
970         "name": "success",
971         "xml": "<outcome value='success'>\n",
972         "comments": "",
973         "outputs": 1,
974         "x": 1194.5103302001953,
975         "y": 1680.3228254318237,
976         "z": "b5912bac.e498b8",
977         "wires": [
978             [
979                 "c3f07c0c.f0779"
980             ]
981         ]
982     },
983     {
984         "id": "c3f07c0c.f0779",
985         "type": "block",
986         "name": "block",
987         "xml": "<block>\n",
988         "atomic": "false",
989         "comments": "",
990         "outputs": 1,
991         "x": 1346.5101470947266,
992         "y": 1689.3227305412292,
993         "z": "b5912bac.e498b8",
994         "wires": [
995             [
996                 "adbc9ce8.ce34e"
997             ]
998         ]
999     },
1000     {
1001         "id": "cdae9665.c04dc8",
1002         "type": "returnFailure",
1003         "name": "return failure",
1004         "xml": "<return status='failure'>\n<parameter name='ack-final' value='Y'/>\n<parameter name=\"error-code\" value=\"500\" />\n<parameter name=\"error-message\" value=\"Error getting details about new neighbor \" />",
1005         "comments": "",
1006         "x": 1400.5102882385254,
1007         "y": 1630.3226804733276,
1008         "z": "b5912bac.e498b8",
1009         "wires": []
1010     },
1011     {
1012         "id": "adbc9ce8.ce34e",
1013         "type": "record",
1014         "name": "record",
1015         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Details about Neighbor Post-configuration\"/>\n<parameter name=\"field2\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].plmnid`\"/>\n<parameter name=\"field3\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].cid`\"/>\n<parameter name=\"field4\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].phy-cell-id`\"/>\n<parameter name=\"field5\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].pnf-name`\"/>\n<parameter name=\"field6\" value=\"`$oofpci-neighbor-response.lte-ran-neighbor-list-in-use-lte-cell[0].blacklisted`\"/>",
1016         "comments": "",
1017         "outputs": 1,
1018         "x": 1507.5100555419922,
1019         "y": 1682.3229751586914,
1020         "z": "b5912bac.e498b8",
1021         "wires": [
1022             []
1023         ]
1024     },
1025     {
1026         "id": "9e1d4a81.fff878",
1027         "type": "outcome",
1028         "name": "Not Mounted",
1029         "xml": "<outcome value='false'>\n",
1030         "comments": "",
1031         "outputs": 1,
1032         "x": 427,
1033         "y": 324,
1034         "z": "b5912bac.e498b8",
1035         "wires": [
1036             [
1037                 "3b46224d.2d6b5e"
1038             ]
1039         ]
1040     },
1041     {
1042         "id": "1cfec41e.135f0c",
1043         "type": "switchNode",
1044         "name": "switch mounted",
1045         "xml": "<switch test='`$prop.ransim-mounted`'>\n",
1046         "comments": "",
1047         "outputs": 1,
1048         "x": 325,
1049         "y": 413,
1050         "z": "b5912bac.e498b8",
1051         "wires": [
1052             [
1053                 "9e1d4a81.fff878",
1054                 "f4668911.4ee4b8"
1055             ]
1056         ]
1057     },
1058     {
1059         "id": "f4668911.4ee4b8",
1060         "type": "outcome",
1061         "name": "Mounted",
1062         "xml": "<outcome value='true'>\n",
1063         "comments": "",
1064         "outputs": 1,
1065         "x": 358,
1066         "y": 491,
1067         "z": "b5912bac.e498b8",
1068         "wires": [
1069             [
1070                 "49402706.7c5b88"
1071             ]
1072         ]
1073     },
1074     {
1075         "id": "5d5cd71e.9e8ad8",
1076         "type": "execute",
1077         "name": "populate netconf mount",
1078         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.config-neighbor-service-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.config-neighbor-service-url\"/>\n    <parameter name=\"target\" value=\"{pnf-name}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.pnf-name`\"/>",
1079         "comments": "",
1080         "outputs": 1,
1081         "x": 882.9999599456787,
1082         "y": 1239.0000610351562,
1083         "z": "b5912bac.e498b8",
1084         "wires": [
1085             []
1086         ]
1087     },
1088     {
1089         "id": "3cf0d2d4.0a5d0e",
1090         "type": "execute",
1091         "name": "execute TemplateNode",
1092         "xml": "<execute plugin=\"org.onap.ccsdk.sli.plugins.template.TemplateNode\" method=\"evaluateTemplate\" >\n    <parameter name='templatePath' value='oofpcipoc-dmaap-publish-modifyconfiganr-resp-payload-template.vtl' />\n    <parameter name='output' value='resp-payload' />\n    <parameter name='prefix' value='sdnr' />",
1093         "comments": "",
1094         "outputs": 1,
1095         "x": 872.0104598999023,
1096         "y": 2125.4550261497498,
1097         "z": "b5912bac.e498b8",
1098         "wires": [
1099             [
1100                 "fb7f30bc.4c65b",
1101                 "bdb5c927.8af808"
1102             ]
1103         ]
1104     },
1105     {
1106         "id": "fb7f30bc.4c65b",
1107         "type": "success",
1108         "name": "success",
1109         "xml": "<outcome value='success'>\n",
1110         "comments": "",
1111         "outputs": 1,
1112         "x": 1146.0104598999023,
1113         "y": 2094.4550261497498,
1114         "z": "b5912bac.e498b8",
1115         "wires": [
1116             [
1117                 "c11aee10.e6e67"
1118             ]
1119         ]
1120     },
1121     {
1122         "id": "c11aee10.e6e67",
1123         "type": "block",
1124         "name": "block : atomic",
1125         "xml": "<block atomic='true'>",
1126         "atomic": "true",
1127         "comments": "",
1128         "outputs": 1,
1129         "x": 1337.0104598999023,
1130         "y": 2097.4550261497498,
1131         "z": "b5912bac.e498b8",
1132         "wires": [
1133             [
1134                 "9a917d5e.1c727"
1135             ]
1136         ]
1137     },
1138     {
1139         "id": "9a917d5e.1c727",
1140         "type": "record",
1141         "name": "record",
1142         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred sdnr payload template as a string\"/>\n<parameter name='field3' value='`$sdnr.resp-payload`' />",
1143         "comments": "",
1144         "outputs": 1,
1145         "x": 1505.0104598999023,
1146         "y": 2098.4550261497498,
1147         "z": "b5912bac.e498b8",
1148         "wires": [
1149             []
1150         ]
1151     },
1152     {
1153         "id": "df99ee06.4ace2",
1154         "type": "execute",
1155         "name": "remove new lines",
1156         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$sdnr.resp-payload`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n    <parameter name=\"target\" value=\"\\n\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n\n",
1157         "comments": "",
1158         "outputs": 1,
1159         "x": 844.5104598999023,
1160         "y": 2241.4550261497498,
1161         "z": "b5912bac.e498b8",
1162         "wires": [
1163             [
1164                 "c93e93f1.a82ee",
1165                 "185060e1.24becf"
1166             ]
1167         ]
1168     },
1169     {
1170         "id": "2dc1f234.42072e",
1171         "type": "execute",
1172         "name": "remove tabs",
1173         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replaceAll' >\n    <parameter name=\"source\" value=\"`$tmp.oofpcipoc-dmaap-config-resp.payload`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.oofpcipoc-dmaap-config-resp.payload\"/>\n    <parameter name=\"target\" value=\"\\t\"/>\n    <parameter name=\"replacement\" value=\"\"/>\n\n",
1174         "comments": "",
1175         "outputs": 1,
1176         "x": 834.0104598999023,
1177         "y": 2323.4550261497498,
1178         "z": "b5912bac.e498b8",
1179         "wires": [
1180             [
1181                 "6e15985e.9487b8",
1182                 "ee17f7c6.a13008"
1183             ]
1184         ]
1185     },
1186     {
1187         "id": "d94faf20.0bc6f",
1188         "type": "execute",
1189         "name": "Escape JSON String",
1190         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='escapeJsonString' >\n    <parameter name=\"source\" value='`$tmp.oofpcipoc-dmaap-config-resp.payload`'/>\n    <parameter name=\"target\" value='tmp.oofpcipoc-dmaap-config-resp.payload'/>\n",
1191         "comments": "",
1192         "outputs": 1,
1193         "x": 821.5104598999023,
1194         "y": 2439.4550261497498,
1195         "z": "b5912bac.e498b8",
1196         "wires": [
1197             [
1198                 "90e3f8bd.7c3bc8",
1199                 "a4d7a3a6.62a39"
1200             ]
1201         ]
1202     },
1203     {
1204         "id": "90e3f8bd.7c3bc8",
1205         "type": "success",
1206         "name": "success",
1207         "xml": "<outcome value='success'>\n",
1208         "comments": "",
1209         "outputs": 1,
1210         "x": 1023.5104598999023,
1211         "y": 2429.4550261497498,
1212         "z": "b5912bac.e498b8",
1213         "wires": [
1214             [
1215                 "dc13ddfc.0613e"
1216             ]
1217         ]
1218     },
1219     {
1220         "id": "6e15985e.9487b8",
1221         "type": "success",
1222         "name": "success",
1223         "xml": "<outcome value='success'>\n",
1224         "comments": "",
1225         "outputs": 1,
1226         "x": 1016.5104598999023,
1227         "y": 2331.4550261497498,
1228         "z": "b5912bac.e498b8",
1229         "wires": [
1230             [
1231                 "a4df22c7.c42fd"
1232             ]
1233         ]
1234     },
1235     {
1236         "id": "dc13ddfc.0613e",
1237         "type": "block",
1238         "name": "block : atomic",
1239         "xml": "<block atomic='true'>",
1240         "atomic": "true",
1241         "comments": "",
1242         "outputs": 1,
1243         "x": 1187.5104598999023,
1244         "y": 2431.4550261497498,
1245         "z": "b5912bac.e498b8",
1246         "wires": [
1247             [
1248                 "a1498459.692f68"
1249             ]
1250         ]
1251     },
1252     {
1253         "id": "a1498459.692f68",
1254         "type": "record",
1255         "name": "record",
1256         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template as an Escaped string\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
1257         "comments": "",
1258         "outputs": 1,
1259         "x": 1347.5104598999023,
1260         "y": 2430.4550261497498,
1261         "z": "b5912bac.e498b8",
1262         "wires": [
1263             []
1264         ]
1265     },
1266     {
1267         "id": "a4df22c7.c42fd",
1268         "type": "block",
1269         "name": "block : atomic",
1270         "xml": "<block atomic='true'>",
1271         "atomic": "true",
1272         "comments": "",
1273         "outputs": 1,
1274         "x": 1201.5104598999023,
1275         "y": 2329.4550261497498,
1276         "z": "b5912bac.e498b8",
1277         "wires": [
1278             [
1279                 "64c913b9.99501c"
1280             ]
1281         ]
1282     },
1283     {
1284         "id": "64c913b9.99501c",
1285         "type": "record",
1286         "name": "record",
1287         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with tabs removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
1288         "comments": "",
1289         "outputs": 1,
1290         "x": 1403.5104598999023,
1291         "y": 2324.4550261497498,
1292         "z": "b5912bac.e498b8",
1293         "wires": [
1294             []
1295         ]
1296     },
1297     {
1298         "id": "c93e93f1.a82ee",
1299         "type": "success",
1300         "name": "success",
1301         "xml": "<outcome value='success'>\n",
1302         "comments": "",
1303         "outputs": 1,
1304         "x": 1038.0104598999023,
1305         "y": 2209.4550261497498,
1306         "z": "b5912bac.e498b8",
1307         "wires": [
1308             [
1309                 "d0d96a57.50b6a8"
1310             ]
1311         ]
1312     },
1313     {
1314         "id": "d0d96a57.50b6a8",
1315         "type": "block",
1316         "name": "block : atomic",
1317         "xml": "<block atomic='true'>",
1318         "atomic": "true",
1319         "comments": "",
1320         "outputs": 1,
1321         "x": 1213.0104598999023,
1322         "y": 2223.4550261497498,
1323         "z": "b5912bac.e498b8",
1324         "wires": [
1325             [
1326                 "f893a35e.08e4f"
1327             ]
1328         ]
1329     },
1330     {
1331         "id": "f893a35e.08e4f",
1332         "type": "record",
1333         "name": "record",
1334         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"Redndred template with lines removed \\r\"/>\n<parameter name='field3' value='`$tmp.oofpcipoc-dmaap-config-resp.payload`' />\n",
1335         "comments": "",
1336         "outputs": 1,
1337         "x": 1401.0104598999023,
1338         "y": 2225.4550261497498,
1339         "z": "b5912bac.e498b8",
1340         "wires": [
1341             []
1342         ]
1343     },
1344     {
1345         "id": "bdb5c927.8af808",
1346         "type": "failure",
1347         "name": "failure",
1348         "xml": "<outcome value='failure'>\n",
1349         "comments": "",
1350         "outputs": 1,
1351         "x": 1145.0104598999023,
1352         "y": 2151.4550261497498,
1353         "z": "b5912bac.e498b8",
1354         "wires": [
1355             [
1356                 "3f455a05.46ca56"
1357             ]
1358         ]
1359     },
1360     {
1361         "id": "3f455a05.46ca56",
1362         "type": "block",
1363         "name": "block",
1364         "xml": "<block>\n",
1365         "atomic": "false",
1366         "comments": "",
1367         "outputs": 1,
1368         "x": 1314.0103378295898,
1369         "y": 2157.4550261497498,
1370         "z": "b5912bac.e498b8",
1371         "wires": [
1372             [
1373                 "4b319563.0e680c"
1374             ]
1375         ]
1376     },
1377     {
1378         "id": "4b319563.0e680c",
1379         "type": "returnFailure",
1380         "name": "return failure",
1381         "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 creating SDNR response payload string. Aborting PCI configuration\" />",
1382         "comments": "",
1383         "x": 1470.0100936889648,
1384         "y": 2156.4550261497498,
1385         "z": "b5912bac.e498b8",
1386         "wires": []
1387     },
1388     {
1389         "id": "185060e1.24becf",
1390         "type": "failure",
1391         "name": "failure",
1392         "xml": "<outcome value='failure'>\n",
1393         "comments": "",
1394         "outputs": 1,
1395         "x": 1059.0104598999023,
1396         "y": 2280.4550261497498,
1397         "z": "b5912bac.e498b8",
1398         "wires": [
1399             [
1400                 "f035b64a.afd518"
1401             ]
1402         ]
1403     },
1404     {
1405         "id": "f035b64a.afd518",
1406         "type": "block",
1407         "name": "block",
1408         "xml": "<block>\n",
1409         "atomic": "false",
1410         "comments": "",
1411         "outputs": 1,
1412         "x": 1227.0103378295898,
1413         "y": 2275.4550261497498,
1414         "z": "b5912bac.e498b8",
1415         "wires": [
1416             [
1417                 "3f311f39.6d976"
1418             ]
1419         ]
1420     },
1421     {
1422         "id": "3f311f39.6d976",
1423         "type": "returnFailure",
1424         "name": "return failure",
1425         "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 removing lines from SDNR response payload string. Aborting PCI configuration\" />",
1426         "comments": "",
1427         "x": 1385.0100326538086,
1428         "y": 2278.4550261497498,
1429         "z": "b5912bac.e498b8",
1430         "wires": []
1431     },
1432     {
1433         "id": "ee17f7c6.a13008",
1434         "type": "failure",
1435         "name": "failure",
1436         "xml": "<outcome value='failure'>\n",
1437         "comments": "",
1438         "outputs": 1,
1439         "x": 1019.0104598999023,
1440         "y": 2379.4550261497498,
1441         "z": "b5912bac.e498b8",
1442         "wires": [
1443             [
1444                 "435f1a9.a102ee4"
1445             ]
1446         ]
1447     },
1448     {
1449         "id": "435f1a9.a102ee4",
1450         "type": "block",
1451         "name": "block",
1452         "xml": "<block>\n",
1453         "atomic": "false",
1454         "comments": "",
1455         "outputs": 1,
1456         "x": 1195.0103378295898,
1457         "y": 2380.4550261497498,
1458         "z": "b5912bac.e498b8",
1459         "wires": [
1460             [
1461                 "d581508c.2e804"
1462             ]
1463         ]
1464     },
1465     {
1466         "id": "d581508c.2e804",
1467         "type": "returnFailure",
1468         "name": "return failure",
1469         "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 removing tabs from SDNR response payload string. Aborting PCI configuration\" />",
1470         "comments": "",
1471         "x": 1342.0100326538086,
1472         "y": 2383.4550261497498,
1473         "z": "b5912bac.e498b8",
1474         "wires": []
1475     },
1476     {
1477         "id": "a4d7a3a6.62a39",
1478         "type": "failure",
1479         "name": "failure",
1480         "xml": "<outcome value='failure'>\n",
1481         "comments": "",
1482         "outputs": 1,
1483         "x": 1017.0104598999023,
1484         "y": 2491.4550261497498,
1485         "z": "b5912bac.e498b8",
1486         "wires": [
1487             [
1488                 "7a39172d.482ce8"
1489             ]
1490         ]
1491     },
1492     {
1493         "id": "7a39172d.482ce8",
1494         "type": "block",
1495         "name": "block",
1496         "xml": "<block>\n",
1497         "atomic": "false",
1498         "comments": "",
1499         "outputs": 1,
1500         "x": 1179.0103378295898,
1501         "y": 2487.4550261497498,
1502         "z": "b5912bac.e498b8",
1503         "wires": [
1504             [
1505                 "7705a742.9b25b8"
1506             ]
1507         ]
1508     },
1509     {
1510         "id": "7705a742.9b25b8",
1511         "type": "returnFailure",
1512         "name": "return failure",
1513         "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 inserting escape chars in SDNR response payload string. Aborting PCI configuration\" />",
1514         "comments": "",
1515         "x": 1340.0100326538086,
1516         "y": 2495.4550261497498,
1517         "z": "b5912bac.e498b8",
1518         "wires": []
1519     },
1520     {
1521         "id": "598648b2.5aa358",
1522         "type": "block",
1523         "name": "DMAAP Payload Generation",
1524         "xml": "<block atomic='true'>",
1525         "atomic": "true",
1526         "comments": "",
1527         "outputs": 1,
1528         "x": 576.0104751586914,
1529         "y": 2243.4551243782043,
1530         "z": "b5912bac.e498b8",
1531         "wires": [
1532             [
1533                 "3cf0d2d4.0a5d0e",
1534                 "df99ee06.4ace2",
1535                 "2dc1f234.42072e",
1536                 "d94faf20.0bc6f"
1537             ]
1538         ]
1539     },
1540     {
1541         "id": "3e67b041.fa193",
1542         "type": "block",
1543         "name": "DMAAP Reponse Publish",
1544         "xml": "<block atomic='true'>",
1545         "atomic": "true",
1546         "comments": "",
1547         "outputs": 1,
1548         "x": 438.0104446411133,
1549         "y": 2591.343816280365,
1550         "z": "b5912bac.e498b8",
1551         "wires": [
1552             [
1553                 "31416be7.b41224",
1554                 "5ccbfc1e.20e2f4"
1555             ]
1556         ]
1557     },
1558     {
1559         "id": "5ccbfc1e.20e2f4",
1560         "type": "execute",
1561         "name": "execute DmaapMsg",
1562         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.dmaap-publish-config-response.template`\" />\n    <parameter name='restapiUrl' value=\"`$prop.dmaap-message-router.url + '/' + $prop.oofpcipoc-dmaap-configuration-response.topic`\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name='responsePrefix' value='dmaap' />",
1563         "comments": "",
1564         "outputs": 1,
1565         "x": 853.0105209350586,
1566         "y": 2653.4550433158875,
1567         "z": "b5912bac.e498b8",
1568         "wires": [
1569             [
1570                 "35df2cf3.78dc74",
1571                 "ecbae94b.e41fd8"
1572             ]
1573         ]
1574     },
1575     {
1576         "id": "31416be7.b41224",
1577         "type": "set",
1578         "name": "set",
1579         "xml": "<set>\n<parameter name='tmp.oofpcipoc-dmaap-config-resp.rpc-name' value='`$prop.oofpcipoc-dmaap-config-resp.rpc-name.modifyconfiganr`'/>",
1580         "comments": "",
1581         "x": 839.6772193908691,
1582         "y": 2549.4550337791443,
1583         "z": "b5912bac.e498b8",
1584         "wires": []
1585     },
1586     {
1587         "id": "35df2cf3.78dc74",
1588         "type": "failure",
1589         "name": "failure",
1590         "xml": "<outcome value='failure'>\n",
1591         "comments": "",
1592         "outputs": 1,
1593         "x": 1027.510498046875,
1594         "y": 2587.3717608451843,
1595         "z": "b5912bac.e498b8",
1596         "wires": [
1597             [
1598                 "6faec48c.adf59c"
1599             ]
1600         ]
1601     },
1602     {
1603         "id": "ecbae94b.e41fd8",
1604         "type": "success",
1605         "name": "success",
1606         "xml": "<outcome value='success'>\n",
1607         "comments": "",
1608         "outputs": 1,
1609         "x": 1050.510353088379,
1610         "y": 2716.3718676567078,
1611         "z": "b5912bac.e498b8",
1612         "wires": [
1613             [
1614                 "7c97eaeb.048ce4"
1615             ]
1616         ]
1617     },
1618     {
1619         "id": "6faec48c.adf59c",
1620         "type": "block",
1621         "name": "block",
1622         "xml": "<block>\n",
1623         "atomic": "false",
1624         "comments": "",
1625         "outputs": 1,
1626         "x": 1208.510269165039,
1627         "y": 2590.3718905448914,
1628         "z": "b5912bac.e498b8",
1629         "wires": [
1630             [
1631                 "96ee7bd4.ade948"
1632             ]
1633         ]
1634     },
1635     {
1636         "id": "96ee7bd4.ade948",
1637         "type": "returnFailure",
1638         "name": "return failure",
1639         "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 publishing DMAAP Config Response message. ConfigDB Updated; TO be rolled back...will handle next release\" />",
1640         "comments": "",
1641         "x": 1382.5099868774414,
1642         "y": 2597.3718156814575,
1643         "z": "b5912bac.e498b8",
1644         "wires": []
1645     },
1646     {
1647         "id": "7c97eaeb.048ce4",
1648         "type": "block",
1649         "name": "block",
1650         "xml": "<block>\n",
1651         "atomic": "false",
1652         "comments": "",
1653         "outputs": 1,
1654         "x": 1210.5099983215332,
1655         "y": 2708.3718400001526,
1656         "z": "b5912bac.e498b8",
1657         "wires": [
1658             [
1659                 "9752c29a.925d5"
1660             ]
1661         ]
1662     },
1663     {
1664         "id": "9752c29a.925d5",
1665         "type": "record",
1666         "name": "record",
1667         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"DMAAP Config Response Message Successfully Published \"/>",
1668         "comments": "",
1669         "outputs": 1,
1670         "x": 1387.5101165771484,
1671         "y": 2713.3719487190247,
1672         "z": "b5912bac.e498b8",
1673         "wires": [
1674             []
1675         ]
1676     },
1677     {
1678         "id": "6658e995.a8afc8",
1679         "type": "block",
1680         "name": "block : atomic",
1681         "xml": "<block atomic='true'>",
1682         "atomic": "true",
1683         "comments": "",
1684         "outputs": 1,
1685         "x": 891.0104370117188,
1686         "y": 843.34375,
1687         "z": "b5912bac.e498b8",
1688         "wires": [
1689             [
1690                 "be155b7f.4b4658",
1691                 "e5e6ffd6.3ceea",
1692                 "33c67261.6b5ade",
1693                 "aa8fe0bd.58667"
1694             ]
1695         ]
1696     },
1697     {
1698         "id": "be155b7f.4b4658",
1699         "type": "execute",
1700         "name": "generate configdb nbr ho patch url",
1701         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
1702         "comments": "",
1703         "outputs": 1,
1704         "x": 1173.0103607177734,
1705         "y": 696.3437967300415,
1706         "z": "b5912bac.e498b8",
1707         "wires": [
1708             []
1709         ]
1710     },
1711     {
1712         "id": "e5e6ffd6.3ceea",
1713         "type": "record",
1714         "name": "record configdb RestAPI parms",
1715         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
1716         "comments": "",
1717         "outputs": 1,
1718         "x": 1182.0104522705078,
1719         "y": 809.3437929153442,
1720         "z": "b5912bac.e498b8",
1721         "wires": [
1722             []
1723         ]
1724     },
1725     {
1726         "id": "33c67261.6b5ade",
1727         "type": "execute",
1728         "name": "Configure PCI value in configdb",
1729         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
1730         "comments": "",
1731         "outputs": 1,
1732         "x": 1149.0104370117188,
1733         "y": 914.34375,
1734         "z": "b5912bac.e498b8",
1735         "wires": [
1736             [
1737                 "cbd12702.8e4338",
1738                 "12af70f8.c2945f"
1739             ]
1740         ]
1741     },
1742     {
1743         "id": "cbd12702.8e4338",
1744         "type": "failure",
1745         "name": "failure",
1746         "xml": "<outcome value='failure'>\n",
1747         "comments": "",
1748         "outputs": 1,
1749         "x": 1364.0104370117188,
1750         "y": 857.34375,
1751         "z": "b5912bac.e498b8",
1752         "wires": [
1753             [
1754                 "eebd8d4d.fd481"
1755             ]
1756         ]
1757     },
1758     {
1759         "id": "12af70f8.c2945f",
1760         "type": "success",
1761         "name": "success",
1762         "xml": "<outcome value='success'>\n",
1763         "comments": "",
1764         "outputs": 1,
1765         "x": 1364.0103149414062,
1766         "y": 953.3436279296875,
1767         "z": "b5912bac.e498b8",
1768         "wires": [
1769             [
1770                 "342f48d0.8ab638"
1771             ]
1772         ]
1773     },
1774     {
1775         "id": "eebd8d4d.fd481",
1776         "type": "block",
1777         "name": "block",
1778         "xml": "<block>\n",
1779         "atomic": "false",
1780         "comments": "",
1781         "outputs": 1,
1782         "x": 1533.0103149414062,
1783         "y": 868.34375,
1784         "z": "b5912bac.e498b8",
1785         "wires": [
1786             [
1787                 "d55d851b.fc1958"
1788             ]
1789         ]
1790     },
1791     {
1792         "id": "342f48d0.8ab638",
1793         "type": "block",
1794         "name": "block",
1795         "xml": "<block>\n",
1796         "atomic": "false",
1797         "comments": "",
1798         "outputs": 1,
1799         "x": 1526.0100708007812,
1800         "y": 954.34375,
1801         "z": "b5912bac.e498b8",
1802         "wires": [
1803             [
1804                 "6dcdc966.a406c8"
1805             ]
1806         ]
1807     },
1808     {
1809         "id": "d55d851b.fc1958",
1810         "type": "returnFailure",
1811         "name": "return failure",
1812         "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 configDB. Aborting Nbr HO configuration\" />",
1813         "comments": "",
1814         "x": 1687.010009765625,
1815         "y": 861.34375,
1816         "z": "b5912bac.e498b8",
1817         "wires": []
1818     },
1819     {
1820         "id": "6dcdc966.a406c8",
1821         "type": "record",
1822         "name": "record",
1823         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
1824         "comments": "",
1825         "outputs": 1,
1826         "x": 1681.010269165039,
1827         "y": 951.3437585830688,
1828         "z": "b5912bac.e498b8",
1829         "wires": [
1830             []
1831         ]
1832     },
1833     {
1834         "id": "5dfa3076.0f2dc",
1835         "type": "switchNode",
1836         "name": "switch configdb deployed",
1837         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
1838         "comments": "",
1839         "outputs": 1,
1840         "x": 774.0104522705078,
1841         "y": 637.343770980835,
1842         "z": "b5912bac.e498b8",
1843         "wires": [
1844             [
1845                 "f86727f0.323a28",
1846                 "b1853d4e.2ef79"
1847             ]
1848         ]
1849     },
1850     {
1851         "id": "f86727f0.323a28",
1852         "type": "outcome",
1853         "name": "Deployed",
1854         "xml": "<outcome value='true'>\n",
1855         "comments": "",
1856         "outputs": 1,
1857         "x": 816.0104370117188,
1858         "y": 767.34375,
1859         "z": "b5912bac.e498b8",
1860         "wires": [
1861             [
1862                 "6658e995.a8afc8"
1863             ]
1864         ]
1865     },
1866     {
1867         "id": "aa8fe0bd.58667",
1868         "type": "execute",
1869         "name": "Update target cellid for configdb nbr ho patch url",
1870         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n    <parameter name=\"target\" value=\"{targetCellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
1871         "comments": "",
1872         "outputs": 1,
1873         "x": 1241.0103912353516,
1874         "y": 748.4549632072449,
1875         "z": "b5912bac.e498b8",
1876         "wires": [
1877             []
1878         ]
1879     },
1880     {
1881         "id": "fcdde69d.5ef6b8",
1882         "type": "record",
1883         "name": "record",
1884         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
1885         "comments": "",
1886         "outputs": 1,
1887         "x": 1213.0103645324707,
1888         "y": 623.5659379959106,
1889         "z": "b5912bac.e498b8",
1890         "wires": [
1891             []
1892         ]
1893     },
1894     {
1895         "id": "b1853d4e.2ef79",
1896         "type": "outcome",
1897         "name": "Not Deployed",
1898         "xml": "<outcome value='false'>\n",
1899         "comments": "",
1900         "outputs": 1,
1901         "x": 1039.0103302001953,
1902         "y": 619.6770076751709,
1903         "z": "b5912bac.e498b8",
1904         "wires": [
1905             [
1906                 "fcdde69d.5ef6b8"
1907             ]
1908         ]
1909     },
1910     {
1911         "id": "b59fe403.100df8",
1912         "type": "block",
1913         "name": "block : atomic",
1914         "xml": "<block atomic='true'>",
1915         "atomic": "true",
1916         "comments": "",
1917         "outputs": 1,
1918         "x": 880.0104370117188,
1919         "y": 1921.5660400390625,
1920         "z": "b5912bac.e498b8",
1921         "wires": [
1922             [
1923                 "5fee4a24.714e24",
1924                 "e80f49c7.bc5e98",
1925                 "9f3eddb8.4c8b6",
1926                 "ede238d3.02b908"
1927             ]
1928         ]
1929     },
1930     {
1931         "id": "5fee4a24.714e24",
1932         "type": "execute",
1933         "name": "generate configdb nbr ho patch url",
1934         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.configdb.patch-ho-for-nbr`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n    <parameter name=\"target\" value=\"{cellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.alias`\"/>",
1935         "comments": "",
1936         "outputs": 1,
1937         "x": 1207.0103759765625,
1938         "y": 1782.5660467147827,
1939         "z": "b5912bac.e498b8",
1940         "wires": [
1941             []
1942         ]
1943     },
1944     {
1945         "id": "e80f49c7.bc5e98",
1946         "type": "execute",
1947         "name": "Configure Nbr HO value in configdb",
1948         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/oofpcipoc-patch-configdb-ho-for-nbr.json'`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\"/>\n<parameter name=\"httpMethod\" value=\"PATCH\"/>\n<parameter name=\"responsePrefix\" value=\"oofpci-configdb-response\"/>\n<parameter name='contentType' value='application/json' /> \n<parameter name='format' value='json' />\n<parameter name='accept' value='application/json' />\n",
1949         "comments": "",
1950         "outputs": 1,
1951         "x": 1138.0104370117188,
1952         "y": 1992.5660400390625,
1953         "z": "b5912bac.e498b8",
1954         "wires": [
1955             [
1956                 "fde36f04.ecf63",
1957                 "5da0cd73.d5ac34"
1958             ]
1959         ]
1960     },
1961     {
1962         "id": "fde36f04.ecf63",
1963         "type": "failure",
1964         "name": "failure",
1965         "xml": "<outcome value='failure'>\n",
1966         "comments": "",
1967         "outputs": 1,
1968         "x": 1353.0104370117188,
1969         "y": 1935.5660400390625,
1970         "z": "b5912bac.e498b8",
1971         "wires": [
1972             [
1973                 "b0184360.4173a"
1974             ]
1975         ]
1976     },
1977     {
1978         "id": "5da0cd73.d5ac34",
1979         "type": "success",
1980         "name": "success",
1981         "xml": "<outcome value='success'>\n",
1982         "comments": "",
1983         "outputs": 1,
1984         "x": 1353.0103149414062,
1985         "y": 2031.56591796875,
1986         "z": "b5912bac.e498b8",
1987         "wires": [
1988             [
1989                 "6d733c40.16c4e4"
1990             ]
1991         ]
1992     },
1993     {
1994         "id": "b0184360.4173a",
1995         "type": "block",
1996         "name": "block",
1997         "xml": "<block>\n",
1998         "atomic": "false",
1999         "comments": "",
2000         "outputs": 1,
2001         "x": 1522.0103149414062,
2002         "y": 1946.5660400390625,
2003         "z": "b5912bac.e498b8",
2004         "wires": [
2005             [
2006                 "c56ebe3b.bbda7"
2007             ]
2008         ]
2009     },
2010     {
2011         "id": "6d733c40.16c4e4",
2012         "type": "block",
2013         "name": "block",
2014         "xml": "<block>\n",
2015         "atomic": "false",
2016         "comments": "",
2017         "outputs": 1,
2018         "x": 1515.0100708007812,
2019         "y": 2032.5660400390625,
2020         "z": "b5912bac.e498b8",
2021         "wires": [
2022             [
2023                 "c9d72369.59a1b"
2024             ]
2025         ]
2026     },
2027     {
2028         "id": "c56ebe3b.bbda7",
2029         "type": "returnFailure",
2030         "name": "return failure",
2031         "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 configDB. Aborting Nbr HO configuration\" />",
2032         "comments": "",
2033         "x": 1676.010009765625,
2034         "y": 1939.5660400390625,
2035         "z": "b5912bac.e498b8",
2036         "wires": []
2037     },
2038     {
2039         "id": "c9d72369.59a1b",
2040         "type": "record",
2041         "name": "record",
2042         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"HO Value for nbr updated in ConfigDB\"/>",
2043         "comments": "",
2044         "outputs": 1,
2045         "x": 1670.010269165039,
2046         "y": 2029.5660486221313,
2047         "z": "b5912bac.e498b8",
2048         "wires": [
2049             []
2050         ]
2051     },
2052     {
2053         "id": "dd44dc35.baa9a",
2054         "type": "switchNode",
2055         "name": "switch configdb deployed",
2056         "xml": "<switch test='`$prop.configdb-deployed`'>\n",
2057         "comments": "",
2058         "outputs": 1,
2059         "x": 696.0107116699219,
2060         "y": 1734.566120147705,
2061         "z": "b5912bac.e498b8",
2062         "wires": [
2063             [
2064                 "b541eb45.1e5278",
2065                 "eefdf306.9fa25"
2066             ]
2067         ]
2068     },
2069     {
2070         "id": "b541eb45.1e5278",
2071         "type": "outcome",
2072         "name": "Deployed",
2073         "xml": "<outcome value='true'>\n",
2074         "comments": "",
2075         "outputs": 1,
2076         "x": 900.0104904174805,
2077         "y": 1819.5660769939423,
2078         "z": "b5912bac.e498b8",
2079         "wires": [
2080             [
2081                 "b59fe403.100df8"
2082             ]
2083         ]
2084     },
2085     {
2086         "id": "9f3eddb8.4c8b6",
2087         "type": "execute",
2088         "name": "Update target cellid for configdb nbr ho patch url",
2089         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.configdb.patch-ho-for-nbr.url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.configdb.patch-ho-for-nbr.url\"/>\n    <parameter name=\"target\" value=\"{targetCellId}\"/>\n    <parameter name=\"replacement\" value=\"`$tmp.cid`\"/>",
2090         "comments": "",
2091         "outputs": 1,
2092         "x": 1258.0103759765625,
2093         "y": 1835.6773228645325,
2094         "z": "b5912bac.e498b8",
2095         "wires": [
2096             []
2097         ]
2098     },
2099     {
2100         "id": "a5a8d47.a6e5b28",
2101         "type": "record",
2102         "name": "record",
2103         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ConfigDB Update Skipped\"/>",
2104         "comments": "",
2105         "outputs": 1,
2106         "x": 1191.0104579925537,
2107         "y": 1732.788185119629,
2108         "z": "b5912bac.e498b8",
2109         "wires": [
2110             []
2111         ]
2112     },
2113     {
2114         "id": "eefdf306.9fa25",
2115         "type": "outcome",
2116         "name": "Not Deployed",
2117         "xml": "<outcome value='false'>\n",
2118         "comments": "",
2119         "outputs": 1,
2120         "x": 1012.010383605957,
2121         "y": 1719.8994035720825,
2122         "z": "b5912bac.e498b8",
2123         "wires": [
2124             [
2125                 "a5a8d47.a6e5b28"
2126             ]
2127         ]
2128     },
2129     {
2130         "id": "ede238d3.02b908",
2131         "type": "record",
2132         "name": "record configdb RestAPI parms",
2133         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/generic-neighbor-config.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"URL for configDB PCI Update\"/>\n<parameter name='field2' value=\"`$prop.configdb.url + $tmp.configdb.patch-ho-for-nbr.url`\" />\n<parameter name='field3' value=\"`$tmp.alias`\" />\n<parameter name='field4' value=\"`$tmp.cid`\" />",
2134         "comments": "",
2135         "outputs": 1,
2136         "x": 1203.565933227539,
2137         "y": 1892.3437194824219,
2138         "z": "b5912bac.e498b8",
2139         "wires": [
2140             []
2141         ]
2142     }
2143 ]