Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / SUBNET-API_managed-network-notification.json
1 [
2     {
3         "id": "8b0d413c.615c5",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 96,
8         "y": 89.33332824707031,
9         "z": "eea4a4fd.28e7f8",
10         "wires": [
11             [
12                 "a7a5e7f9.cbcdd8"
13             ]
14         ]
15     },
16     {
17         "id": "a7a5e7f9.cbcdd8",
18         "type": "service-logic",
19         "name": "SUBNET-API ${project.version}",
20         "module": "SUBNET-API",
21         "version": "${project.version}",
22         "comments": "",
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='SUBNET-API' version='${project.version}'>",
24         "outputs": 1,
25         "x": 409.83335876464844,
26         "y": 90.33332824707031,
27         "z": "eea4a4fd.28e7f8",
28         "wires": [
29             [
30                 "513fc617.f719c8"
31             ]
32         ]
33     },
34     {
35         "id": "6c165aea.75e544",
36         "type": "execute",
37         "name": "execute EIPAM activatesubnet",
38         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"activateSubnet\">\n\n",
39         "outputs": 1,
40         "x": 653.6905975341797,
41         "y": 328.7619323730469,
42         "z": "eea4a4fd.28e7f8",
43         "wires": [
44             [
45                 "d3c99160.64233",
46                 "a9c66f76.4dc69"
47             ]
48         ]
49     },
50     {
51         "id": "d3c99160.64233",
52         "type": "success",
53         "name": "outcome: success",
54         "xml": "<outcome value=\"success\">",
55         "comments": "",
56         "outputs": 1,
57         "x": 931.2143096923828,
58         "y": 206.4285888671875,
59         "z": "eea4a4fd.28e7f8",
60         "wires": [
61             [
62                 "e804c854.2cc4b8"
63             ]
64         ]
65     },
66     {
67         "id": "a9c66f76.4dc69",
68         "type": "other",
69         "name": "outcome Other ",
70         "xml": "<outcome value=\"Other\"> \n\n",
71         "outputs": 1,
72         "x": 915.3096466064453,
73         "y": 457.8094787597656,
74         "z": "eea4a4fd.28e7f8",
75         "wires": [
76             [
77                 "d4043b3c.76b5d8"
78             ]
79         ]
80     },
81     {
82         "id": "c794a1de.6c9f5",
83         "type": "returnFailure",
84         "name": "return failure",
85         "xml": " <return status=\"failure\">\n               <parameter name=\"error-code\" value=\"3000\" />\n              <parameter name=\"error-message\" value=\"ActivateSubnet failure, need to manually activate in EIPAM\" />\n",
86         "comments": "",
87         "x": 1423.4044036865234,
88         "y": 614.6665649414062,
89         "z": "eea4a4fd.28e7f8",
90         "wires": []
91     },
92     {
93         "id": "9f29750b.da2bd8",
94         "type": "save",
95         "name": "save: EIPAM IP Subnets Active",
96         "xml": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"ACTIVE\" />\n       \n",
97         "outputs": 1,
98         "x": 1780.1310005187988,
99         "y": 71.17860412597656,
100         "z": "eea4a4fd.28e7f8",
101         "wires": [
102             []
103         ]
104     },
105     {
106         "id": "9990bab.31cc148",
107         "type": "comment",
108         "name": "MANAGED-NETWORK-NOTIFICATION",
109         "info": "12/15/17: update AAI VPE to GENERIC-VNF for ADIod\n\t\tUS 518510 - 291247b-F24748: SDN-CP to update SUBNET-SERVICE DG for vPE orchestration on AIC 3.X",
110         "comments": "",
111         "x": 475.6999969482422,
112         "y": 25,
113         "z": "eea4a4fd.28e7f8",
114         "wires": []
115     },
116     {
117         "id": "513fc617.f719c8",
118         "type": "method",
119         "name": "managed-network-notification",
120         "xml": "<method rpc='managed-network-notification' mode='sync'>\n",
121         "outputs": 1,
122         "x": 775.7000427246094,
123         "y": 89.19999694824219,
124         "z": "eea4a4fd.28e7f8",
125         "wires": [
126             [
127                 "aec047af.aaab78"
128             ]
129         ]
130     },
131     {
132         "id": "aec047af.aaab78",
133         "type": "block",
134         "name": "block",
135         "xml": "<block>",
136         "atomic": "false",
137         "outputs": 1,
138         "x": 154.69998168945312,
139         "y": 154.1999969482422,
140         "z": "eea4a4fd.28e7f8",
141         "wires": [
142             [
143                 "9cc7c475.fb9c08",
144                 "4264e89c.40bd78"
145             ]
146         ]
147     },
148     {
149         "id": "9cc7c475.fb9c08",
150         "type": "record",
151         "name": "record",
152         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"managed-network-notification\"/>\n<parameter name=\"field3\" value=\"`$managed-network-notification-input.request-id`\"/>\n<parameter name=\"field4\" value=\"`$managed-network-notification-input.managed-network-status.status.code`\"/>\n<parameter name=\"field5\" value=\"`$managed-network-notification-input.managed-network-status.status.description`\"/>\n<parameter name=\"field6\" value=\"`$managed-network-notification-input.managed-network-status.final-notification-indicator`\"/>\n\n",
153         "comments": "",
154         "outputs": 1,
155         "x": 355.2714614868164,
156         "y": 155.06147956848145,
157         "z": "eea4a4fd.28e7f8",
158         "wires": [
159             []
160         ]
161     },
162     {
163         "id": "f7ea696e.95b708",
164         "type": "returnSuccess",
165         "name": "return success",
166         "xml": " <return status=\"success\">\n \n",
167         "x": 1430.2142333984375,
168         "y": 298.7618827819824,
169         "z": "eea4a4fd.28e7f8",
170         "wires": []
171     },
172     {
173         "id": "7c5909c0.2172c8",
174         "type": "set",
175         "name": "set: status = Active",
176         "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />",
177         "comments": "",
178         "x": 1435.5145721435547,
179         "y": 106.79519653320312,
180         "z": "eea4a4fd.28e7f8",
181         "wires": []
182     },
183     {
184         "id": "b4874196.8ae3d",
185         "type": "save",
186         "name": "save: status = Active",
187         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"ACTIVE\" />",
188         "outputs": 1,
189         "x": 1443.1810760498047,
190         "y": 155.1285400390625,
191         "z": "eea4a4fd.28e7f8",
192         "wires": [
193             []
194         ]
195     },
196     {
197         "id": "e804c854.2cc4b8",
198         "type": "block",
199         "name": "block",
200         "xml": "<block>",
201         "atomic": "false",
202         "outputs": 1,
203         "x": 1132.5475311279297,
204         "y": 206.09521484375,
205         "z": "eea4a4fd.28e7f8",
206         "wires": [
207             [
208                 "7c5909c0.2172c8",
209                 "b4874196.8ae3d",
210                 "f7ea696e.95b708",
211                 "51c1d9c0.103e68",
212                 "fc3f0e2.234e7f",
213                 "e09b4f51.fe4d2"
214             ]
215         ]
216     },
217     {
218         "id": "d4043b3c.76b5d8",
219         "type": "block",
220         "name": "block",
221         "xml": "<block>",
222         "atomic": "true",
223         "comments": "",
224         "outputs": 1,
225         "x": 1130.3094940185547,
226         "y": 457.8095397949219,
227         "z": "eea4a4fd.28e7f8",
228         "wires": [
229             [
230                 "c794a1de.6c9f5",
231                 "710f2497.34503c",
232                 "44e6903c.a5e7d",
233                 "b0f18382.a3db3"
234             ]
235         ]
236     },
237     {
238         "id": "4264e89c.40bd78",
239         "type": "switchNode",
240         "name": "switch: status Successful",
241         "xml": "<switch test=\"`$managed-network-notification-input.managed-network-status.status.code`\">\n\n",
242         "outputs": 1,
243         "x": 152.69998168945312,
244         "y": 274.2000274658203,
245         "z": "eea4a4fd.28e7f8",
246         "wires": [
247             [
248                 "9ab4229a.74392",
249                 "c3d16d19.cc9aa"
250             ]
251         ]
252     },
253     {
254         "id": "9ab4229a.74392",
255         "type": "success",
256         "name": "outcome: Success",
257         "xml": "<outcome value=\"Success\">",
258         "outputs": 1,
259         "x": 413.69996643066406,
260         "y": 274.20001220703125,
261         "z": "eea4a4fd.28e7f8",
262         "wires": [
263             [
264                 "6c165aea.75e544"
265             ]
266         ]
267     },
268     {
269         "id": "c3d16d19.cc9aa",
270         "type": "other",
271         "name": "outcome: Other",
272         "xml": "<outcome value=\"Other\">",
273         "outputs": 1,
274         "x": 330.699951171875,
275         "y": 477.1999969482422,
276         "z": "eea4a4fd.28e7f8",
277         "wires": [
278             [
279                 "93fdf0c8.f0ae4"
280             ]
281         ]
282     },
283     {
284         "id": "93fdf0c8.f0ae4",
285         "type": "execute",
286         "name": "execute EIPAM deallocateSubnet",
287         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deallocateSubnet\">\n\n",
288         "comments": "subnet and subnet_keys are deleted in the EIPAMPlugin",
289         "outputs": 1,
290         "x": 318.184814453125,
291         "y": 702.8561706542969,
292         "z": "eea4a4fd.28e7f8",
293         "wires": [
294             [
295                 "4f8b34e6.5bdd4c",
296                 "3cf915d5.0d1d9a"
297             ]
298         ]
299     },
300     {
301         "id": "a50ab9b4.106068",
302         "type": "save",
303         "name": "save: EIPAM IP Subnets DEALLOCATED",
304         "xml": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"DEALLOCATED\" />\n       \n",
305         "comments": "",
306         "outputs": 1,
307         "x": 2083.8927307128906,
308         "y": 824.5342540740967,
309         "z": "eea4a4fd.28e7f8",
310         "wires": [
311             []
312         ]
313     },
314     {
315         "id": "d96ce594.90a0c8",
316         "type": "set",
317         "name": "set: status = ERROR",
318         "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
319         "x": 1711.3316497802734,
320         "y": 919.9341735839844,
321         "z": "eea4a4fd.28e7f8",
322         "wires": []
323     },
324     {
325         "id": "cd7d1838.d5cf78",
326         "type": "save",
327         "name": "save: status = SDN_C_BACKOUT_ERROR",
328         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"SDN_C_BACKOUT_ERROR\" />",
329         "comments": "",
330         "outputs": 1,
331         "x": 1783.3318099975586,
332         "y": 970.2121124267578,
333         "z": "eea4a4fd.28e7f8",
334         "wires": [
335             []
336         ]
337     },
338     {
339         "id": "25a6ed6d.53b122",
340         "type": "block",
341         "name": "block",
342         "xml": "<block>",
343         "atomic": "false",
344         "comments": "",
345         "outputs": 1,
346         "x": 1477.9100799560547,
347         "y": 870.9460144042969,
348         "z": "eea4a4fd.28e7f8",
349         "wires": [
350             [
351                 "d96ce594.90a0c8",
352                 "cd7d1838.d5cf78",
353                 "e0730d75.098b2",
354                 "137b82df.54fe1d"
355             ]
356         ]
357     },
358     {
359         "id": "e0730d75.098b2",
360         "type": "returnFailure",
361         "name": "return failure ",
362         "xml": "  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\n",
363         "comments": "",
364         "x": 1687.9100189208984,
365         "y": 1109.5015563964844,
366         "z": "eea4a4fd.28e7f8",
367         "wires": []
368     },
369     {
370         "id": "6b63ef5.73de51",
371         "type": "save",
372         "name": "save: EIPAM IP Subnets ERROR",
373         "xml": "<save plugin=\"com.att.sdnctl.sli.resource.gamma.GammaResource\" resource=\"eipam-ip-subnets\"\n\tkey=\"entity-id = $eipam-ip-block.entity-id\" force=\"true\">\n        <parameter name=\"status\" value=\"EIPAM_ACTIVATESUBNET_ERROR\" />\n       \n",
374         "comments": "",
375         "outputs": 1,
376         "x": 1850.2252464294434,
377         "y": 379.9229793548584,
378         "z": "eea4a4fd.28e7f8",
379         "wires": [
380             []
381         ]
382     },
383     {
384         "id": "710f2497.34503c",
385         "type": "set",
386         "name": "set: status = ERROR",
387         "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
388         "comments": "",
389         "x": 1448.0254974365234,
390         "y": 426.48956298828125,
391         "z": "eea4a4fd.28e7f8",
392         "wires": []
393     },
394     {
395         "id": "44e6903c.a5e7d",
396         "type": "save",
397         "name": "save: status = ERROR",
398         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"EIPAM_ACTIVATESUBNET_ERROR\" />",
399         "comments": "",
400         "outputs": 1,
401         "x": 1453.0255584716797,
402         "y": 475.48956298828125,
403         "z": "eea4a4fd.28e7f8",
404         "wires": [
405             []
406         ]
407     },
408     {
409         "id": "4f8b34e6.5bdd4c",
410         "type": "success",
411         "name": "outcome: success",
412         "xml": "<outcome value=\"success\">",
413         "comments": "",
414         "outputs": 1,
415         "x": 632.0690155029297,
416         "y": 708.2610778808594,
417         "z": "eea4a4fd.28e7f8",
418         "wires": [
419             [
420                 "1502967b.43db7a"
421             ]
422         ]
423     },
424     {
425         "id": "ebe5df37.bfb75",
426         "type": "save",
427         "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV",
428         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t",
429         "comments": "",
430         "outputs": 1,
431         "x": 1814.999984741211,
432         "y": 1064.8334655761719,
433         "z": "eea4a4fd.28e7f8",
434         "wires": [
435             []
436         ]
437     },
438     {
439         "id": "59402378.f1791c",
440         "type": "save",
441         "name": "Update AAI: EIPAM_ERROR, PREPROV",
442         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"operational-state\" value=\"EIPAM_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t",
443         "comments": "",
444         "outputs": 1,
445         "x": 1511.1666717529297,
446         "y": 566.0832214355469,
447         "z": "eea4a4fd.28e7f8",
448         "wires": [
449             []
450         ]
451     },
452     {
453         "id": "51c1d9c0.103e68",
454         "type": "save",
455         "name": "Update AAI: SDNC_COMPLETED",
456         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-status\" value=\"Activated\" />\n\t<parameter name=\"prov-status\" value=\"NVTPROV\" />\n",
457         "comments": "",
458         "outputs": 1,
459         "x": 1486.166648864746,
460         "y": 252.50001907348633,
461         "z": "eea4a4fd.28e7f8",
462         "wires": [
463             []
464         ]
465     },
466     {
467         "id": "32cfc32.f7b6f3c",
468         "type": "execute",
469         "name": "execute: set aai-summary-status-message",
470         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>",
471         "comments": "",
472         "outputs": 1,
473         "x": 1781.999984741211,
474         "y": 1015.0834655761719,
475         "z": "eea4a4fd.28e7f8",
476         "wires": [
477             []
478         ]
479     },
480     {
481         "id": "2faf2d05.28d832",
482         "type": "execute",
483         "name": "execute: set aai-summary-status-message",
484         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"ActivateSubnet failure, need to manually activate in EIPAM.\"/>",
485         "comments": "",
486         "outputs": 1,
487         "x": 1515.0001068115234,
488         "y": 520.5832824707031,
489         "z": "eea4a4fd.28e7f8",
490         "wires": [
491             []
492         ]
493     },
494     {
495         "id": "67b3d858.1a81b8",
496         "type": "execute",
497         "name": "execute: set aai-summary-status-message with timestamp",
498         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"SUCCESS: eipam-ip-block.status is ACTIVE.\"/>",
499         "comments": "",
500         "outputs": 1,
501         "x": 1559.0001068115234,
502         "y": 204.08334350585938,
503         "z": "eea4a4fd.28e7f8",
504         "wires": [
505             []
506         ]
507     },
508     {
509         "id": "3cf915d5.0d1d9a",
510         "type": "other",
511         "name": "outcome Other ",
512         "xml": "<outcome value=\"Other\"> \n\n",
513         "outputs": 1,
514         "x": 605.6485595703125,
515         "y": 1139.633544921875,
516         "z": "eea4a4fd.28e7f8",
517         "wires": [
518             [
519                 "805eca59.0831f8"
520             ]
521         ]
522     },
523     {
524         "id": "1502967b.43db7a",
525         "type": "execute",
526         "name": "execute EIPAM deletePool",
527         "xml": "<execute plugin=\"com.att.sdnctl.sli.plugin.eipam.EIPAMPlugin\" method=\"deletePool\">\n\n",
528         "comments": "subnet and subnet_keys are deleted in the EIPAMPlugin",
529         "outputs": 1,
530         "x": 916.648681640625,
531         "y": 717.6335601806641,
532         "z": "eea4a4fd.28e7f8",
533         "wires": [
534             [
535                 "bd7da7e7.2442a8",
536                 "9e882eaf.4bab9"
537             ]
538         ]
539     },
540     {
541         "id": "8c247aa0.adb508",
542         "type": "returnFailure",
543         "name": "return failure",
544         "xml": " <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"2000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deleted pool/subnet in EIPAM\"/>\n \n",
545         "comments": "",
546         "x": 1527.918930053711,
547         "y": 811.6335754394531,
548         "z": "eea4a4fd.28e7f8",
549         "wires": []
550     },
551     {
552         "id": "3d115298.a6390e",
553         "type": "set",
554         "name": "set: status = Deleted",
555         "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"DELETED\" />",
556         "comments": "",
557         "x": 1552.9595794677734,
558         "y": 672.0675354003906,
559         "z": "eea4a4fd.28e7f8",
560         "wires": []
561     },
562     {
563         "id": "bd7da7e7.2442a8",
564         "type": "success",
565         "name": "outcome: success",
566         "xml": "<outcome value=\"success\">",
567         "comments": "",
568         "outputs": 1,
569         "x": 1168.5102996826172,
570         "y": 719.0281066894531,
571         "z": "eea4a4fd.28e7f8",
572         "wires": [
573             [
574                 "b202ceaa.bfcf8"
575             ]
576         ]
577     },
578     {
579         "id": "b202ceaa.bfcf8",
580         "type": "block",
581         "name": "block",
582         "xml": "<block>",
583         "atomic": "false",
584         "outputs": 1,
585         "x": 1366.0545501708984,
586         "y": 719.9361267089844,
587         "z": "eea4a4fd.28e7f8",
588         "wires": [
589             [
590                 "3d115298.a6390e",
591                 "8c247aa0.adb508"
592             ]
593         ]
594     },
595     {
596         "id": "fe96d80e.1742e8",
597         "type": "save",
598         "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV",
599         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" key=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n",
600         "comments": "",
601         "outputs": 1,
602         "x": 1654.441390991211,
603         "y": 766.8501892089844,
604         "z": "eea4a4fd.28e7f8",
605         "wires": [
606             []
607         ]
608     },
609     {
610         "id": "930f275.bbe09d8",
611         "type": "execute",
612         "name": "execute: set aai-summary-status-message",
613         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deleted pool/subnet in EIPAM.\"/>",
614         "comments": "",
615         "outputs": 1,
616         "x": 1622.441390991211,
617         "y": 719.3502807617188,
618         "z": "eea4a4fd.28e7f8",
619         "wires": [
620             []
621         ]
622     },
623     {
624         "id": "9e882eaf.4bab9",
625         "type": "other",
626         "name": "outcome Other ",
627         "xml": "<outcome value=\"Other\"> \n\n",
628         "outputs": 1,
629         "x": 1158.231201171875,
630         "y": 873.6335601806641,
631         "z": "eea4a4fd.28e7f8",
632         "wires": [
633             [
634                 "25a6ed6d.53b122"
635             ]
636         ]
637     },
638     {
639         "id": "c607d852.38d518",
640         "type": "set",
641         "name": "set: status = ERROR",
642         "xml": "<set>\n\t<parameter name=\"eipam-ip-block.status\" value=\"ERROR\" />",
643         "x": 1081.0957946777344,
644         "y": 1190.0476684570312,
645         "z": "eea4a4fd.28e7f8",
646         "wires": []
647     },
648     {
649         "id": "7d1e8b06.0568c4",
650         "type": "save",
651         "name": "save: status = SDN_C_BACKOUT_ERROR",
652         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource\" resource=\"eipam-ip-block\">\n\t<parameter name=\"eipam-ip-block.status\" value=\"SDN_C_BACKOUT_ERROR\" />",
653         "comments": "",
654         "outputs": 1,
655         "x": 1158.095962524414,
656         "y": 1237.825579881668,
657         "z": "eea4a4fd.28e7f8",
658         "wires": [
659             []
660         ]
661     },
662     {
663         "id": "805eca59.0831f8",
664         "type": "block",
665         "name": "block",
666         "xml": "<block>",
667         "atomic": "false",
668         "comments": "",
669         "outputs": 1,
670         "x": 847.6742248535156,
671         "y": 1138.0594177246094,
672         "z": "eea4a4fd.28e7f8",
673         "wires": [
674             [
675                 "c607d852.38d518",
676                 "7d1e8b06.0568c4",
677                 "61415345.f8ff0c",
678                 "65667bfd.a151d4"
679             ]
680         ]
681     },
682     {
683         "id": "61415345.f8ff0c",
684         "type": "returnFailure",
685         "name": "return failure ",
686         "xml": "  <return status=\"failure\">\n              <parameter name=\"error-code\" value=\"1000\" />\n              <parameter name=\"error-message\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\" />\n",
687         "comments": "",
688         "x": 1057.6741638183594,
689         "y": 1379.6150512695312,
690         "z": "eea4a4fd.28e7f8",
691         "wires": []
692     },
693     {
694         "id": "c854babb.1edeb8",
695         "type": "save",
696         "name": "Update AAI: SDN_C_BACKOUT_ERROR, PREPROV",
697         "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" resource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $tmp.vpe-pool-row.vpe-id\" pfx=\"vpe-after\">\n\t<parameter name=\"orchestration-state\" value=\"SDN_C_BACKOUT_ERROR\" />\n\t<parameter name=\"summary-status\" value=\"`$aai-summary-status-message`\" />\n\t<parameter name=\"prov-status\" value=\"PREPROV\" />\n\t",
698         "comments": "",
699         "outputs": 1,
700         "x": 1184.7641296386719,
701         "y": 1334.9469604492188,
702         "z": "eea4a4fd.28e7f8",
703         "wires": [
704             []
705         ]
706     },
707     {
708         "id": "fd307a6e.e37228",
709         "type": "execute",
710         "name": "execute: set aai-summary-status-message",
711         "xml": "<execute plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' method='setStatusMethod' >\n<parameter name=\"key1\" value=\"Failure from NCS and deletePool failed in EIPAM, need to manually delete.\"/>",
712         "comments": "",
713         "outputs": 1,
714         "x": 1151.7641296386719,
715         "y": 1285.1969604492188,
716         "z": "eea4a4fd.28e7f8",
717         "wires": [
718             []
719         ]
720     },
721     {
722         "id": "e09b4f51.fe4d2",
723         "type": "get-resource",
724         "name": "get-resource - vpe_pool",
725         "xml": "<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM VPE_POOL where vpe_name = $eipam-ip-block.ptnii-name ;\"\n        pfx='tmp.vpe-pool-row'>\n\n",
726         "comments": "",
727         "outputs": 1,
728         "x": 1453.7500076293945,
729         "y": 23.750003814697266,
730         "z": "eea4a4fd.28e7f8",
731         "wires": [
732             []
733         ]
734     },
735     {
736         "id": "fc3f0e2.234e7f",
737         "type": "save",
738         "name": "Update subnet to ACTIVE in DB",
739         "xml": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'ACTIVE' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\n",
740         "comments": "",
741         "outputs": 1,
742         "x": 1475.0000228881836,
743         "y": 67.5,
744         "z": "eea4a4fd.28e7f8",
745         "wires": [
746             []
747         ]
748     },
749     {
750         "id": "b0f18382.a3db3",
751         "type": "save",
752         "name": "Update subnet to ERROR in DB",
753         "xml": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'ACTIVATE_ERROR' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\n",
754         "comments": "",
755         "outputs": 1,
756         "x": 1482.5000228881836,
757         "y": 381.2500047683716,
758         "z": "eea4a4fd.28e7f8",
759         "wires": [
760             []
761         ]
762     },
763     {
764         "id": "137b82df.54fe1d",
765         "type": "save",
766         "name": "Update subnet to DEALLOCATED in DB",
767         "xml": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'DEALLOCATED' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\n",
768         "comments": "",
769         "outputs": 1,
770         "x": 1738.7500228881836,
771         "y": 870.0000123977661,
772         "z": "eea4a4fd.28e7f8",
773         "wires": [
774             []
775         ]
776     },
777     {
778         "id": "65667bfd.a151d4",
779         "type": "save",
780         "name": "Update subnet to ERROR in DB",
781         "xml": "<save \n\tplugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' \n\tresource='SQL'\n\tkey=\"UPDATE EIPAM_IP_SUBNETS\n             SET status = 'DEALLOCSUBNET_ERROR' \n             WHERE entity_id = $eipam-ip-block.entity-id ; \"\n    force='true'\n        pfx='pfx.eipam-subnet-row'>\n",
782         "comments": "",
783         "outputs": 1,
784         "x": 1113.750015258789,
785         "y": 1146.2500162124634,
786         "z": "eea4a4fd.28e7f8",
787         "wires": [
788             []
789         ]
790     },
791     {
792         "id": "628344a0.b07cfc",
793         "type": "get-resource",
794         "name": "get-resource - vpe_pool",
795         "xml": "<get-resource\n        plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource'\n        resource='SQL'\n        key=\"SELECT * FROM VPE_POOL where vpe_name = $eipam-ip-block.ptnii-name ;\"\n        pfx='tmp.vpe-pool-row'>\n\n",
796         "comments": "",
797         "outputs": 1,
798         "x": 1090.000015258789,
799         "y": 1081.250015258789,
800         "z": "eea4a4fd.28e7f8",
801         "wires": [
802             []
803         ]
804     }
805 ]