Fix set nodelist in SW upgrade DGs
[sdnc/oam.git] / platform-logic / lcm / src / main / json / LCM_upgrade-post-check.json
1 [\r
2     {\r
3         "id": "ab475552.d851d8",\r
4         "type": "method",\r
5         "name": "upgrade-post-check",\r
6         "xml": "<method rpc='upgrade-post-check' mode='sync'>\n",\r
7         "comments": "",\r
8         "outputs": 1,\r
9         "x": 548,\r
10         "y": 59,\r
11         "z": "802a6e37.fb3c1",\r
12         "wires": [\r
13             [\r
14                 "356938f4.e6ef78"\r
15             ]\r
16         ]\r
17     },\r
18     {\r
19         "id": "db22c5e0.c4b368",\r
20         "type": "service-logic",\r
21         "name": "LCM 1.4.5",\r
22         "module": "LCM",\r
23         "version": "1.4.5",\r
24         "comments": "",\r
25         "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='LCM' version='${project.version}'>",\r
26         "outputs": 1,\r
27         "x": 335.99993896484375,\r
28         "y": 60,\r
29         "z": "802a6e37.fb3c1",\r
30         "wires": [\r
31             [\r
32                 "ab475552.d851d8"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "74883a0a.669d34",\r
38         "type": "execute",\r
39         "name": "execute AnsibleA.reqExec",\r
40         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExec' >\n<parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n<parameter name='User' value='`$prop.ansible.user`'/>\n<parameter name='Password' value='`$prop.ansible.password`'/>\n<parameter name='LocalParameters' value='`$prop.ansible.lcm.localparameters`'/>\n<parameter name='EnvParameters' value='`$upgrade-post-check-input.payload`'/>\n<parameter name='NodeList' value=\"`$nodelist`\"/>\n<parameter name='Timeout' value='`$prop.ansible.timeout`'/>\n<parameter name='Version' value='`$prop.ansible.version`'/>\n<parameter name='Id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='PlaybookName' value='`$playbookname`'/>",\r
41         "comments": "",\r
42         "outputs": 1,\r
43         "x": 403.00001525878906,\r
44         "y": 667,\r
45         "z": "802a6e37.fb3c1",\r
46         "wires": [\r
47             [\r
48                 "8efae65a.30c7b8",\r
49                 "fdc248e2.dda948",\r
50                 "fc8e86cf.976918"\r
51             ]\r
52         ]\r
53     },\r
54     {\r
55         "id": "ea8ede8a.5e5e7",\r
56         "type": "switchNode",\r
57         "name": "switch",\r
58         "xml": "<switch test=\"`$org.onap.appc.adapter.ansible.result.code`\">\n",\r
59         "comments": "",\r
60         "outputs": 1,\r
61         "x": 802.9999389648438,\r
62         "y": 775.0000305175781,\r
63         "z": "802a6e37.fb3c1",\r
64         "wires": [\r
65             [\r
66                 "ed747ae6.f82e38",\r
67                 "d348a5a9.90bb58",\r
68                 "606ee94e.547568"\r
69             ]\r
70         ]\r
71     },\r
72     {\r
73         "id": "ed747ae6.f82e38",\r
74         "type": "other",\r
75         "name": "outcome 500",\r
76         "xml": "<outcome value='500'>\n",\r
77         "comments": "",\r
78         "outputs": 1,\r
79         "x": 947.9999389648438,\r
80         "y": 773.0000381469727,\r
81         "z": "802a6e37.fb3c1",\r
82         "wires": [\r
83             [\r
84                 "8e974f56.dbd44"\r
85             ]\r
86         ]\r
87     },\r
88     {\r
89         "id": "d348a5a9.90bb58",\r
90         "type": "other",\r
91         "name": "outcome 100",\r
92         "xml": "<outcome value='100'>\n",\r
93         "comments": "",\r
94         "outputs": 1,\r
95         "x": 944.9999389648438,\r
96         "y": 830.0000305175781,\r
97         "z": "802a6e37.fb3c1",\r
98         "wires": [\r
99             [\r
100                 "5fe71ec4.57d62"\r
101             ]\r
102         ]\r
103     },\r
104     {\r
105         "id": "5fe71ec4.57d62",\r
106         "type": "execute",\r
107         "name": "execute reqExecResult",\r
108         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.ansible.AnsibleAdapter' method='reqExecResult' >\n    <parameter name='AgentUrl' value='`$prop.ansible.agenturl`'/>\n\t<parameter name='User' value='`$prop.ansible.user`'/>\n\t<parameter name='Password' value='`$prop.ansible.password`'/>\n\t<parameter name='Id' value='`$org.onap.appc.adapter.ansible.Id`'/>\n\t<parameter name='PlaybookName' value='`$playbookname`'/>\n\t\n\n\n\n\n",\r
109         "comments": "",\r
110         "outputs": 1,\r
111         "x": 1132.9999389648438,\r
112         "y": 829.0000305175781,\r
113         "z": "802a6e37.fb3c1",\r
114         "wires": [\r
115             [\r
116                 "484e1e77.a4c4c",\r
117                 "ef7a898e.c55ae8"\r
118             ]\r
119         ]\r
120     },\r
121     {\r
122         "id": "fdc248e2.dda948",\r
123         "type": "failure",\r
124         "name": "failure",\r
125         "xml": "<outcome value='failure'>\n",\r
126         "comments": "",\r
127         "outputs": 1,\r
128         "x": 661.9999389648438,\r
129         "y": 688.0000915527344,\r
130         "z": "802a6e37.fb3c1",\r
131         "wires": [\r
132             [\r
133                 "8e974f56.dbd44"\r
134             ]\r
135         ]\r
136     },\r
137     {\r
138         "id": "8efae65a.30c7b8",\r
139         "type": "other",\r
140         "name": "other",\r
141         "xml": "<outcome value='Other'>\n",\r
142         "comments": "",\r
143         "outputs": 1,\r
144         "x": 663.9999389648438,\r
145         "y": 740.0000610351562,\r
146         "z": "802a6e37.fb3c1",\r
147         "wires": [\r
148             [\r
149                 "ea8ede8a.5e5e7"\r
150             ]\r
151         ]\r
152     },\r
153     {\r
154         "id": "484e1e77.a4c4c",\r
155         "type": "failure",\r
156         "name": "failure",\r
157         "xml": "<outcome value='failure'>\n",\r
158         "comments": "",\r
159         "outputs": 1,\r
160         "x": 1301.9999389648438,\r
161         "y": 787.0000381469727,\r
162         "z": "802a6e37.fb3c1",\r
163         "wires": [\r
164             [\r
165                 "8e974f56.dbd44"\r
166             ]\r
167         ]\r
168     },\r
169     {\r
170         "id": "606ee94e.547568",\r
171         "type": "other",\r
172         "name": "outcome 101",\r
173         "xml": "<outcome value='101'>\n",\r
174         "comments": "",\r
175         "outputs": 1,\r
176         "x": 944.9999389648438,\r
177         "y": 731.0000686645508,\r
178         "z": "802a6e37.fb3c1",\r
179         "wires": [\r
180             [\r
181                 "8e974f56.dbd44"\r
182             ]\r
183         ]\r
184     },\r
185     {\r
186         "id": "ef7a898e.c55ae8",\r
187         "type": "success",\r
188         "name": "success",\r
189         "xml": "<outcome value='success'>\n",\r
190         "comments": "",\r
191         "outputs": 1,\r
192         "x": 1309.9998779296875,\r
193         "y": 835.0001220703125,\r
194         "z": "802a6e37.fb3c1",\r
195         "wires": [\r
196             [\r
197                 "565fc0b9.1ff1a"\r
198             ]\r
199         ]\r
200     },\r
201     {\r
202         "id": "bca33267.b186f",\r
203         "type": "returnSuccess",\r
204         "name": "return success",\r
205         "xml": "<return status='success'>\n<parameter name='status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`'/>",\r
206         "comments": "",\r
207         "x": 1603.9998779296875,\r
208         "y": 892.0000610351562,\r
209         "z": "802a6e37.fb3c1",\r
210         "wires": []\r
211     },\r
212     {\r
213         "id": "f3c40140.4762d",\r
214         "type": "dgstart",\r
215         "name": "DGSTART",\r
216         "outputs": 1,\r
217         "x": 151,\r
218         "y": 59,\r
219         "z": "802a6e37.fb3c1",\r
220         "wires": [\r
221             [\r
222                 "db22c5e0.c4b368"\r
223             ]\r
224         ]\r
225     },\r
226     {\r
227         "id": "356938f4.e6ef78",\r
228         "type": "block",\r
229         "name": "block",\r
230         "xml": "<block>\n",\r
231         "atomic": "false",\r
232         "comments": "",\r
233         "outputs": 1,\r
234         "x": 148.91668701171875,\r
235         "y": 151.08334350585938,\r
236         "z": "802a6e37.fb3c1",\r
237         "wires": [\r
238             [\r
239                 "74883a0a.669d34",\r
240                 "5f157934.113238",\r
241                 "fad67e1f.e709b",\r
242                 "f04f2fb5.8c0ca",\r
243                 "a1aa3253.06afa",\r
244                 "e636c2ac.2dc0d",\r
245                 "8b5b2558.88c888",\r
246                 "89a1b60f.9a2848"\r
247             ]\r
248         ]\r
249     },\r
250     {\r
251         "id": "5f157934.113238",\r
252         "type": "execute",\r
253         "name": "execute Properties",\r
254         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/lcm-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",\r
255         "comments": "",\r
256         "outputs": 1,\r
257         "x": 447.0000305175781,\r
258         "y": 184.08334350585938,\r
259         "z": "802a6e37.fb3c1",\r
260         "wires": [\r
261             []\r
262         ]\r
263     },\r
264     {\r
265         "id": "9c2d2fed.0688d",\r
266         "type": "execute",\r
267         "name": "execute DmaapMsg",\r
268         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
269         "comments": "",\r
270         "outputs": 1,\r
271         "x": 1613.9998779296875,\r
272         "y": 637.0834045410156,\r
273         "z": "802a6e37.fb3c1",\r
274         "wires": [\r
275             [\r
276                 "789af377.cced2c"\r
277             ]\r
278         ]\r
279     },\r
280     {\r
281         "id": "789af377.cced2c",\r
282         "type": "failure",\r
283         "name": "failure",\r
284         "xml": "<outcome value='failure'>\n",\r
285         "comments": "",\r
286         "outputs": 1,\r
287         "x": 1783.9998168945312,\r
288         "y": 636.0834045410156,\r
289         "z": "802a6e37.fb3c1",\r
290         "wires": [\r
291             [\r
292                 "c75d24f.c2de2d8"\r
293             ]\r
294         ]\r
295     },\r
296     {\r
297         "id": "8e974f56.dbd44",\r
298         "type": "block",\r
299         "name": "block",\r
300         "xml": "<block>\n",\r
301         "atomic": "false",\r
302         "comments": "",\r
303         "outputs": 1,\r
304         "x": 1416.9998168945312,\r
305         "y": 661.0834045410156,\r
306         "z": "802a6e37.fb3c1",\r
307         "wires": [\r
308             [\r
309                 "9c2d2fed.0688d",\r
310                 "a0c3935d.9a935",\r
311                 "82255155.ccaef"\r
312             ]\r
313         ]\r
314     },\r
315     {\r
316         "id": "2939808a.b52ef",\r
317         "type": "execute",\r
318         "name": "execute DmaapMsg",\r
319         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.lcm.dmaap.publish.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.lcm.dmaap.url`' />\n    <parameter name='restapiUser' value='`$prop.lcm.dmaap.user`' />\n    <parameter name='restapiPassword' value='`$prop.lcm.dmaap.password`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='POST' />\n    <parameter name='contentType' value='application/json' />\n    <parameter name=\"responsePrefix\" value=\"lcm\" />\n",\r
320         "comments": "",\r
321         "outputs": 1,\r
322         "x": 1614.4998779296875,\r
323         "y": 842.0833740234375,\r
324         "z": "802a6e37.fb3c1",\r
325         "wires": [\r
326             [\r
327                 "22bed4c.08b6a2c"\r
328             ]\r
329         ]\r
330     },\r
331     {\r
332         "id": "22bed4c.08b6a2c",\r
333         "type": "failure",\r
334         "name": "failure",\r
335         "xml": "<outcome value='failure'>\n",\r
336         "comments": "",\r
337         "outputs": 1,\r
338         "x": 1782.4998779296875,\r
339         "y": 842.0833740234375,\r
340         "z": "802a6e37.fb3c1",\r
341         "wires": [\r
342             [\r
343                 "8841bc4a.67149"\r
344             ]\r
345         ]\r
346     },\r
347     {\r
348         "id": "c75d24f.c2de2d8",\r
349         "type": "record",\r
350         "name": "record",\r
351         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
352         "comments": "",\r
353         "outputs": 1,\r
354         "x": 1903.9998779296875,\r
355         "y": 635.0833740234375,\r
356         "z": "802a6e37.fb3c1",\r
357         "wires": [\r
358             []\r
359         ]\r
360     },\r
361     {\r
362         "id": "a0c3935d.9a935",\r
363         "type": "returnFailure",\r
364         "name": "return failure",\r
365         "xml": "<return status='failure'>\n<parameter name='status.code' value='401' />\n<parameter name='status.message' value='`$org.onap.appc.adapter.ansible.message`' />\n",\r
366         "comments": "",\r
367         "x": 1595.91650390625,\r
368         "y": 688.0834045410156,\r
369         "z": "802a6e37.fb3c1",\r
370         "wires": []\r
371     },\r
372     {\r
373         "id": "8841bc4a.67149",\r
374         "type": "record",\r
375         "name": "record",\r
376         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='Failed to Publish to DMaap'/>",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 1910.9166259765625,\r
380         "y": 842.0833740234375,\r
381         "z": "802a6e37.fb3c1",\r
382         "wires": [\r
383             []\r
384         ]\r
385     },\r
386     {\r
387         "id": "82255155.ccaef",\r
388         "type": "set",\r
389         "name": "set DmaapReq",\r
390         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
391         "comments": "",\r
392         "x": 1600.9998779296875,\r
393         "y": 584.0833740234375,\r
394         "z": "802a6e37.fb3c1",\r
395         "wires": []\r
396     },\r
397     {\r
398         "id": "565fc0b9.1ff1a",\r
399         "type": "block",\r
400         "name": "block",\r
401         "xml": "<block>\n",\r
402         "atomic": "false",\r
403         "comments": "",\r
404         "outputs": 1,\r
405         "x": 1437.9998779296875,\r
406         "y": 836.0833740234375,\r
407         "z": "802a6e37.fb3c1",\r
408         "wires": [\r
409             [\r
410                 "2939808a.b52ef",\r
411                 "cd18f032.f6fef",\r
412                 "bca33267.b186f"\r
413             ]\r
414         ]\r
415     },\r
416     {\r
417         "id": "cd18f032.f6fef",\r
418         "type": "set",\r
419         "name": "set DmaapReq",\r
420         "xml": "<set>\n<parameter name='lcm-dmaap.version' value='`$prop.lcm.dmaap.version`'/>\n<parameter name='lcm-dmaap.correlation-id' value=\"`$upgrade-post-check-input.common-header.request-id + '-' + $upgrade-post-check-input.common-header.sub-request-id`\"/>\n<parameter name='lcm-dmaap.partition' value='`$prop.lcm.dmaap.partition`'/>\n<parameter name='lcm-dmaap.rpc-name' value='upgrade-post-check'/>\n<parameter name='lcm-dmaap.type' value='`$prop.lcm.dmaap.type`'/>\n<parameter name='lcm-dmaap.timestamp' value='`$upgrade-post-check-input.common-header.timestamp`'/>\n<parameter name='lcm-dmaap.api-ver' value='`$upgrade-post-check-input.common-header.api-ver`'/>\n<parameter name='lcm-dmaap.originator-id' value='`$upgrade-post-check-input.common-header.originator-id`'/>\n<parameter name='lcm-dmaap.request-id' value='`$upgrade-post-check-input.common-header.request-id`'/>\n<parameter name='lcm-dmaap.sub-request-id' value='`$upgrade-post-check-input.common-header.sub-request-id`'/>\n<parameter name='lcm-dmaap.flags.mode' value='`$upgrade-post-check-input.common-header.flags.mode`'/>\n<parameter name='lcm-dmaap.flags.force' value='`$upgrade-post-check-input.common-header.flags.force`'/>\n<parameter name='lcm-dmaap.flags.ttl' value='`$upgrade-post-check-input.common-header.flags.ttl`'/>\n<parameter name='lcm-dmaap.status.code' value='`$org.onap.appc.adapter.ansible.result.code`' />\n<parameter name='lcm-dmaap.status.message' value='`$org.onap.appc.adapter.ansible.message`'/>\n",\r
421         "comments": "",\r
422         "x": 1604.1666259765625,\r
423         "y": 787.0833740234375,\r
424         "z": "802a6e37.fb3c1",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "fc8e86cf.976918",\r
429         "type": "not-found",\r
430         "name": "not-found",\r
431         "xml": "<outcome value='not-found'>\n",\r
432         "comments": "",\r
433         "outputs": 1,\r
434         "x": 670.9999389648438,\r
435         "y": 640.0000610351562,\r
436         "z": "802a6e37.fb3c1",\r
437         "wires": [\r
438             [\r
439                 "95e77813.ba9108"\r
440             ]\r
441         ]\r
442     },\r
443     {\r
444         "id": "60c18ca3.4f03c4",\r
445         "type": "set",\r
446         "name": "set Defaults",\r
447         "xml": "<set>\n<parameter name='org.onap.appc.adapter.ansible.result.code' value='401'/>\n<parameter name='org.onap.appc.adapter.ansible.message' value='Ansible Adapter was not found'/>\n",\r
448         "comments": "",\r
449         "x": 961.9999389648438,\r
450         "y": 599,\r
451         "z": "802a6e37.fb3c1",\r
452         "wires": []\r
453     },\r
454     {\r
455         "id": "95e77813.ba9108",\r
456         "type": "block",\r
457         "name": "block",\r
458         "xml": "<block>\n",\r
459         "atomic": "false",\r
460         "comments": "",\r
461         "outputs": 1,\r
462         "x": 807.9999389648438,\r
463         "y": 634.0000610351562,\r
464         "z": "802a6e37.fb3c1",\r
465         "wires": [\r
466             [\r
467                 "60c18ca3.4f03c4",\r
468                 "8e974f56.dbd44"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "fad67e1f.e709b",\r
474         "type": "set",\r
475         "name": "set default values",\r
476         "xml": "<set>\n<parameter name='status.code' value='200' />\n<parameter name='status.message' value='unexpected return from DG' />\n<parameter name='quote' value=\"'\" />\n",\r
477         "comments": "",\r
478         "x": 440,\r
479         "y": 231,\r
480         "z": "802a6e37.fb3c1",\r
481         "wires": []\r
482     },\r
483     {\r
484         "id": "24f45898.65de18",\r
485         "type": "get-resource",\r
486         "name": "get aai.generic-vnf ",\r
487         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $upgrade-post-check-input.action-identifiers.vnf-id\" \n\t\tlocal-only=\"false\" \n\t\tpfx='aai.generic-vnf'>",\r
488         "comments": "",\r
489         "outputs": 1,\r
490         "x": 980,\r
491         "y": 407,\r
492         "z": "802a6e37.fb3c1",\r
493         "wires": [\r
494             [\r
495                 "3a57fbc.0ac6d04"\r
496             ]\r
497         ]\r
498     },\r
499     {\r
500         "id": "3a57fbc.0ac6d04",\r
501         "type": "success",\r
502         "name": "success",\r
503         "xml": "<outcome value='success'>\n",\r
504         "comments": "",\r
505         "outputs": 1,\r
506         "x": 1138.3907470703125,\r
507         "y": 405.28399658203125,\r
508         "z": "802a6e37.fb3c1",\r
509         "wires": [\r
510             [\r
511                 "721a47cc.cdf2d8"\r
512             ]\r
513         ]\r
514     },\r
515     {\r
516         "id": "8b5b2558.88c888",\r
517         "type": "record",\r
518         "name": "record",\r
519         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\"> \n\t<parameter name=\"logger\" value=\"message-log\"/> \n\t<parameter name=\"field1\" value='`$playbookname`'/>\n\t<parameter name=\"field2\" value='`$nodelist`'/>",\r
520         "comments": "",\r
521         "outputs": 1,\r
522         "x": 368.9998779296875,\r
523         "y": 595,\r
524         "z": "802a6e37.fb3c1",\r
525         "wires": [\r
526             []\r
527         ]\r
528     },\r
529     {\r
530         "id": "a1aa3253.06afa",\r
531         "type": "switchNode",\r
532         "name": "switch pnf-flag",\r
533         "xml": "<switch test='`$payloadJson.pnf-flag`'>\n",\r
534         "comments": "",\r
535         "outputs": 1,\r
536         "x": 422,\r
537         "y": 332,\r
538         "z": "802a6e37.fb3c1",\r
539         "wires": [\r
540             [\r
541                 "9417db8c.51c568",\r
542                 "9e3df3f5.2c2d9"\r
543             ]\r
544         ]\r
545     },\r
546     {\r
547         "id": "f04f2fb5.8c0ca",\r
548         "type": "execute",\r
549         "name": "execute jsonStringToCtx",\r
550         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='jsonStringToCtx'>\n\t<parameter name='source' value='upgrade-post-check-input.payload' />\n\t<parameter name='outputPath' value='payloadJson' />\n\t<parameter name='isEscaped' value='true' />",\r
551         "comments": "",\r
552         "outputs": 1,\r
553         "x": 454,\r
554         "y": 278,\r
555         "z": "802a6e37.fb3c1",\r
556         "wires": [\r
557             []\r
558         ]\r
559     },\r
560     {\r
561         "id": "9417db8c.51c568",\r
562         "type": "outcome",\r
563         "name": "true",\r
564         "xml": "<outcome value='true'>\n",\r
565         "comments": "",\r
566         "outputs": 1,\r
567         "x": 619,\r
568         "y": 311,\r
569         "z": "802a6e37.fb3c1",\r
570         "wires": [\r
571             [\r
572                 "94353f3f.e7eee"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "9e3df3f5.2c2d9",\r
578         "type": "outcome",\r
579         "name": "other",\r
580         "xml": "<outcome value='Other'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 618.9999389648438,\r
584         "y": 372,\r
585         "z": "802a6e37.fb3c1",\r
586         "wires": [\r
587             [\r
588                 "95b6db3f.a43608"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "95b6db3f.a43608",\r
594         "type": "block",\r
595         "name": "block",\r
596         "xml": "<block>\n",\r
597         "atomic": "false",\r
598         "comments": "",\r
599         "outputs": 1,\r
600         "x": 766.9999389648438,\r
601         "y": 371,\r
602         "z": "802a6e37.fb3c1",\r
603         "wires": [\r
604             [\r
605                 "24f45898.65de18",\r
606                 "240a5e4b.ef6af2"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "94353f3f.e7eee",\r
612         "type": "set",\r
613         "name": "set AnsibleReq",\r
614         "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $payloadJson.ipaddress-v4-oam +  $quote + ']'`\"/>\n<parameter name='playbookname' value='`$prop.lcm.pnf.upgrade-post-check.playbookname`'/>\n",\r
615         "comments": "",\r
616         "x": 780,\r
617         "y": 309,\r
618         "z": "802a6e37.fb3c1",\r
619         "wires": []\r
620     },\r
621     {\r
622         "id": "240a5e4b.ef6af2",\r
623         "type": "execute",\r
624         "name": "set playbookname",\r
625         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $payloadJson.nf-naming-code + '.upgrade-post-check.playbookname'`\" />\n\n",\r
626         "comments": "",\r
627         "outputs": 1,\r
628         "x": 989,\r
629         "y": 351,\r
630         "z": "802a6e37.fb3c1",\r
631         "wires": [\r
632             []\r
633         ]\r
634     },\r
635     {\r
636         "id": "e636c2ac.2dc0d",\r
637         "type": "switchNode",\r
638         "name": "switch playbookname",\r
639         "xml": "<switch test='`$playbookname`'>\n",\r
640         "comments": "",\r
641         "outputs": 1,\r
642         "x": 419,\r
643         "y": 463,\r
644         "z": "802a6e37.fb3c1",\r
645         "wires": [\r
646             [\r
647                 "a65bd4c9.27f638"\r
648             ]\r
649         ]\r
650     },\r
651     {\r
652         "id": "a65bd4c9.27f638",\r
653         "type": "outcome",\r
654         "name": "null",\r
655         "xml": "<outcome value=''>\n",\r
656         "comments": "",\r
657         "outputs": 1,\r
658         "x": 590,\r
659         "y": 464,\r
660         "z": "802a6e37.fb3c1",\r
661         "wires": [\r
662             [\r
663                 "286bc0d0.e5819"\r
664             ]\r
665         ]\r
666     },\r
667     {\r
668         "id": "286bc0d0.e5819",\r
669         "type": "set",\r
670         "name": "set playbookname",\r
671         "xml": "<set>\n<parameter name='playbookname' value='`$prop.lcm.upgrade-post-check.playbookname`'/>",\r
672         "comments": "",\r
673         "x": 780,\r
674         "y": 463,\r
675         "z": "802a6e37.fb3c1",\r
676         "wires": []\r
677     },\r
678     {\r
679         "id": "89a1b60f.9a2848",\r
680         "type": "switchNode",\r
681         "name": "switch nodelist",\r
682         "xml": "<switch test='`$nodelist`'>\n",\r
683         "comments": "",\r
684         "outputs": 1,\r
685         "x": 409,\r
686         "y": 522,\r
687         "z": "802a6e37.fb3c1",\r
688         "wires": [\r
689             [\r
690                 "10bd0563.dd89eb",\r
691                 "9f1eacfe.fa54"\r
692             ]\r
693         ]\r
694     },\r
695     {\r
696         "id": "10bd0563.dd89eb",\r
697         "type": "outcome",\r
698         "name": "null",\r
699         "xml": "<outcome value=''>\n",\r
700         "comments": "",\r
701         "outputs": 1,\r
702         "x": 589,\r
703         "y": 515,\r
704         "z": "802a6e37.fb3c1",\r
705         "wires": [\r
706             [\r
707                 "f0ef60d3.f64f"\r
708             ]\r
709         ]\r
710     },\r
711     {\r
712         "id": "f0ef60d3.f64f",\r
713         "type": "set",\r
714         "name": "set nodelist",\r
715         "xml": "<set>\n<parameter name='nodelist' value=\"`$prop.ansible.nodelist`\"/>",\r
716         "comments": "",\r
717         "x": 746,\r
718         "y": 529,\r
719         "z": "802a6e37.fb3c1",\r
720         "wires": []\r
721     },\r
722     {\r
723         "id": "9f1eacfe.fa54",\r
724         "type": "outcome",\r
725         "name": "empty",\r
726         "xml": "<outcome value=\"['']\">\n\n",\r
727         "comments": "",\r
728         "outputs": 1,\r
729         "x": 588,\r
730         "y": 559,\r
731         "z": "802a6e37.fb3c1",\r
732         "wires": [\r
733             [\r
734                 "f0ef60d3.f64f"\r
735             ]\r
736         ]\r
737     },\r
738     {\r
739         "id": "26d43493.24ca8c",\r
740         "type": "switchNode",\r
741         "name": "switch playbookname",\r
742         "xml": "<switch test='`$playbookname`'>\n",\r
743         "comments": "",\r
744         "outputs": 1,\r
745         "x": 1464,\r
746         "y": 394,\r
747         "z": "802a6e37.fb3c1",\r
748         "wires": [\r
749             [\r
750                 "ad0fd429.dd1178"\r
751             ]\r
752         ]\r
753     },\r
754     {\r
755         "id": "ad0fd429.dd1178",\r
756         "type": "outcome",\r
757         "name": "null",\r
758         "xml": "<outcome value=''>\n",\r
759         "comments": "",\r
760         "outputs": 1,\r
761         "x": 1642,\r
762         "y": 394,\r
763         "z": "802a6e37.fb3c1",\r
764         "wires": [\r
765             [\r
766                 "bbed41e1.ca0c4"\r
767             ]\r
768         ]\r
769     },\r
770     {\r
771         "id": "3935df66.a3be5",\r
772         "type": "set",\r
773         "name": "set nodelist",\r
774         "xml": "<set>\n<parameter name='nodelist' value=\"`'[' + $quote + $aai.generic-vnf.ipv4-oam-address +  $quote + ']'`\"/>\n",\r
775         "comments": "",\r
776         "x": 1437,\r
777         "y": 447,\r
778         "z": "802a6e37.fb3c1",\r
779         "wires": []\r
780     },\r
781     {\r
782         "id": "721a47cc.cdf2d8",\r
783         "type": "block",\r
784         "name": "block",\r
785         "xml": "<block>\n",\r
786         "atomic": "false",\r
787         "comments": "",\r
788         "outputs": 1,\r
789         "x": 1267,\r
790         "y": 404,\r
791         "z": "802a6e37.fb3c1",\r
792         "wires": [\r
793             [\r
794                 "26d43493.24ca8c",\r
795                 "3935df66.a3be5"\r
796             ]\r
797         ]\r
798     },\r
799     {\r
800         "id": "bbed41e1.ca0c4",\r
801         "type": "execute",\r
802         "name": "set playbookname",\r
803         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='getAttributeValue'>\n\t<parameter name='outputPath' value='playbookname' />\n\t<parameter name='source' value=\"`'prop.lcm.' + $aai.generic-vnf.nf-naming-code + '.upgrade-post-check.playbookname'`\" />\n\n",\r
804         "comments": "",\r
805         "outputs": 1,\r
806         "x": 1814,\r
807         "y": 392,\r
808         "z": "802a6e37.fb3c1",\r
809         "wires": [\r
810             []\r
811         ]\r
812     }\r
813 ]