3 "id": "ed874a4d.fd8fa8",
5 "name": "block : atomic",
6 "xml": "<block atomic=\"true\">",
9 "x": 205.71429443359375,
10 "y": 164.2857208251953,
11 "z": "16a5084d.6904d8",
22 "id": "be439a72.253938",
25 "xml": "<outcome value='not-found'>\n",
28 "x": 688.7422180175781,
29 "y": 164.44003295898438,
30 "z": "16a5084d.6904d8",
38 "id": "b0ac9e35.109ef",
39 "type": "returnFailure",
40 "name": "return failure",
41 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"404\" />\n\t<parameter name=\"error-message\" value=\"`'l3-network not found in AnAI with network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
43 "x": 851.9366149902344,
44 "y": 164.55125427246094,
45 "z": "16a5084d.6904d8",
49 "id": "24d7124b.287cae",
51 "name": "switch: l3-network.orchestration_status",
52 "xml": "<switch test=\"`$tmp.AnAI.l3network.orchestration-status`\">",
55 "x": 463.72552490234375,
56 "y": 272.89379501342773,
57 "z": "16a5084d.6904d8",
67 "id": "2c75bd76.80f6d2",
69 "name": "pending-create",
70 "xml": "<outcome value='pending-create'>\n",
73 "x": 747.4795608520508,
74 "y": 273.5526599884033,
75 "z": "16a5084d.6904d8",
83 "id": "ba62e3d9.12a4",
85 "name": "pending-update",
86 "xml": "<outcome value='pending-update'>\n",
89 "x": 750.0867538452148,
90 "y": 383.1594228744507,
91 "z": "16a5084d.6904d8",
99 "id": "4c028d7d.749944",
101 "name": "pending-delete",
102 "xml": "<outcome value='pending-delete'>\n",
105 "x": 747.2295074462891,
106 "y": 328.2672004699707,
107 "z": "16a5084d.6904d8",
115 "id": "d63de22c.d6ac3",
117 "name": "update AnAI: l3-network.orchestration-status",
118 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" >\n<parameter name=\"orchestration-status\" value=\"active\" />",
121 "x": 1029.535385131836,
122 "y": 328.9064884185791,
123 "z": "16a5084d.6904d8",
131 "id": "30ace356.607a3c",
134 "xml": "<outcome value='failure'>\n",
137 "x": 1282.0407447814941,
138 "y": 328.19105052948,
139 "z": "16a5084d.6904d8",
147 "id": "65d58e38.14597",
148 "type": "returnFailure",
149 "name": "return failure",
150 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Failed to update l3-netework orchestration-status in AnAI for network-id = ' + $network-topology-operation-input.network-request-information.network-id`\"/>",
152 "x": 1440.5405006408691,
153 "y": 327.69105052948,
154 "z": "16a5084d.6904d8",
158 "id": "56187c49.06fa54",
159 "type": "returnSuccess",
160 "name": "return success",
161 "xml": "<return status=\"success\">\n\t<parameter name=\"networkId\" value=\"`$network-topology-operation-input.network-request-information.network-id`\" />\n\t<parameter name=\"error-code\" value=\"200\" />",
163 "x": 387.8685607910156,
164 "y": 810.4369297027588,
165 "z": "16a5084d.6904d8",
169 "id": "6f5f0903.600f88",
171 "name": "Set final indicator to Y",
172 "xml": "<set>\n<parameter name=\"ack-final\" value=\"Y\"/>",
175 "x": 411.8686218261719,
176 "y": 763.4369297027588,
177 "z": "16a5084d.6904d8",
183 "id": "924236c2.8eb018",
185 "name": "block : atomic",
186 "xml": "<block atomic=\"true\">\n",
190 "x": 934.9215087890625,
191 "y": 383.1720905303955,
192 "z": "16a5084d.6904d8",
202 "id": "ddbaf6a3.157138",
204 "name": "for loop i - tmp.AnAI.l3network.subnets.subnet[]",
205 "xml": "<for index=\"i\" start=\"0\" end=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">\n",
208 "x": 1257.5074462890625,
209 "y": 437.3375072479248,
210 "z": "16a5084d.6904d8",
218 "id": "3a9492ae.aa26ae",
219 "type": "switchNode",
220 "name": "switch : l3subnet.orchestration-status",
221 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet[$i].orchestration-status`\">",
224 "x": 1308.7061004638672,
225 "y": 534.154951095581,
226 "z": "16a5084d.6904d8",
235 "id": "dcb0b0f5.3edc8",
237 "name": "pending-create",
238 "xml": "<outcome value='pending-create'>\n",
241 "x": 1579.3409118652344,
242 "y": 533.6986665725708,
243 "z": "16a5084d.6904d8",
251 "id": "3c0ecb2f.7fa144",
253 "name": "pending-delete",
254 "xml": "<outcome value='pending-delete'>\n",
257 "x": 1581.5910339355469,
258 "y": 580.4486694335938,
259 "z": "16a5084d.6904d8",
267 "id": "ce707857.7d5938",
270 "xml": "<outcome value='failure'>\n",
273 "x": 1483.0867156982422,
274 "y": 644.0207948684692,
275 "z": "16a5084d.6904d8",
283 "id": "105e0afc.2b75f5",
284 "type": "returnFailure",
285 "name": "return failure",
286 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Failed to rollback l3-netework orchestration-status in AnAI for network-id = ' + $network-topology-operation-input.network-request-information.network-id`\"/>",
288 "x": 1648.9435691833496,
289 "y": 644.0206813812256,
290 "z": "16a5084d.6904d8",
294 "id": "7560895d.bec338",
296 "name": "method network-topology-rollback",
297 "xml": "<method rpc=\"network-topology-rollback\" mode=\"sync\">",
300 "x": 254.35324096679688,
301 "y": 104.81352615356445,
302 "z": "16a5084d.6904d8",
310 "id": "22f704b1.4b00ac",
311 "type": "service-logic",
312 "name": "VNF-API ${project.version}",
314 "version": "${project.version}",
316 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
318 "x": 308.79766845703125,
319 "y": 48.480201721191406,
320 "z": "16a5084d.6904d8",
328 "id": "14e828b3.f5f857",
332 "x": 144.68655395507812,
333 "y": 48.480201721191406,
334 "z": "16a5084d.6904d8",
342 "id": "34867ac.18cfc86",
343 "type": "get-resource",
344 "name": "get AnAI - l3-network by network-id",
345 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" \n\t\tpfx=\"tmp.AnAI.l3network\">\n",
348 "x": 453.4643249511719,
349 "y": 164.9246368408203,
350 "z": "16a5084d.6904d8",
359 "id": "d84ea22f.e407c",
362 "xml": "<outcome value='failure'>\n",
365 "x": 681.4643249511719,
366 "y": 207.9246368408203,
367 "z": "16a5084d.6904d8",
375 "id": "42ccb0c4.44987",
376 "type": "returnFailure",
377 "name": "return failure",
378 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"500\" />\n\t<parameter name=\"error-message\" value=\"`'An error occurred while querying l3-network from AnAI with network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
380 "x": 833.5754089355469,
381 "y": 208.14686584472656,
382 "z": "16a5084d.6904d8",
386 "id": "262c9783.799c48",
388 "name": "update AnAI - subnet.orchestration-status",
389 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id \n\t\t\tAND subnet.subnet-id = $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id\" >\n\t<parameter name=\"orchestration-status\" value=\"active\" />\n\t\t",
392 "x": 1862.6230087280273,
393 "y": 580.6667499542236,
394 "z": "16a5084d.6904d8",
402 "id": "d89faa07.866668",
404 "name": "delete AnAI - l3-network",
405 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" >",
408 "x": 968.1071929931641,
409 "y": 273.78178787231445,
410 "z": "16a5084d.6904d8",
418 "id": "9ce56dcb.c4e3b",
421 "xml": "<outcome value='failure'>\n",
424 "x": 1159.857177734375,
425 "y": 273.5317840576172,
426 "z": "16a5084d.6904d8",
434 "id": "119f926b.f22d8e",
435 "type": "returnFailure",
436 "name": "return failure",
437 "xml": "<return status='failure'>\n\t<parameter name='error-code' value='500'/>\n\t<parameter name='error-message' value=\"`'Failed to delete l3-network from AAI with network-id = ' + $network-topology-operation-input.network-request-information.network-id`\"/>",
439 "x": 1318.3570355589,
440 "y": 273.0320094249846,
441 "z": "16a5084d.6904d8",
445 "id": "4b483612.3e69e8",
447 "name": "delete l3-network.subnet",
448 "xml": "<delete plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"subnet\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id \n\t\t\tAND subnet.subnet-id = $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id\" >",
451 "x": 1808.6865310668945,
452 "y": 533.5754108428955,
453 "z": "16a5084d.6904d8",
461 "id": "b17a76ed.0f85b8",
463 "name": "update AnAI - l3-network.orchestration-status",
464 "xml": "<update plugin=\"org.openecomp.sdnc.sli.aai.AAIService\" \n\tresource=\"l3-network\" \n\t\tkey=\"l3-network.network-id = $network-topology-operation-input.network-request-information.network-id\" >\n<parameter name=\"orchestration-status\" value=\"active\" />",
467 "x": 1219.020034790039,
468 "y": 644.4007987976074,
469 "z": "16a5084d.6904d8",
477 "id": "88c83fbb.cfade",
480 "xml": "<outcome value='failure'>\n",
483 "x": 2002.8293075561523,
484 "y": 533.5754375457764,
485 "z": "16a5084d.6904d8",
493 "id": "ad6689b7.9adf18",
494 "type": "returnFailure",
495 "name": "return failure",
496 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"500\" />\n\t<parameter name=\"error-message\" value=\"`'Failed to rollback to delete subnet from AnAI with subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id + ' and network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
498 "x": 2150.9403915405273,
499 "y": 533.7976665496826,
500 "z": "16a5084d.6904d8",
504 "id": "c9eebef.d2d794",
507 "xml": "<outcome value='failure'>\n",
510 "x": 2115.6864852905273,
511 "y": 580.4325847625732,
512 "z": "16a5084d.6904d8",
520 "id": "b2f04093.c9348",
521 "type": "returnFailure",
522 "name": "return failure",
523 "xml": "<return status='failure'>\n\t<parameter name=\"error-code\" value=\"500\" />\n\t<parameter name=\"error-message\" value=\"`'Failed to rollback subnet orchestration-status from AnAI with subnet-id = ' + $tmp.AnAI.l3network.subnets.subnet[$i].subnet-id + ' and network-id = ' + $network-topology-operation-input.network-request-information.network-id`\" />",
525 "x": 2263.7975692749023,
526 "y": 580.6548137664795,
527 "z": "16a5084d.6904d8",
531 "id": "601ab575.5ab91c",
532 "type": "switchNode",
533 "name": "switch ... tmp.AnAI.l3network.subnets.subnet_length[]",
534 "xml": "<switch test=\"`$tmp.AnAI.l3network.subnets.subnet_length`\">",
537 "x": 1275.1428833007812,
538 "y": 383.2857360839844,
539 "z": "16a5084d.6904d8",
547 "id": "fc8ffad6.e42698",
550 "xml": "<outcome value=''>",
552 "x": 1556.5873336791992,
553 "y": 383.0634717941284,
554 "z": "16a5084d.6904d8",
562 "id": "188c2712.ad31f9",
564 "name": "set tmp.AnAI.l3network.subnets.subnet_length = 0",
565 "xml": "<set>\n<parameter name=\"tmp.AnAI.l3network.subnets.subnet_length\" value=\"0\" />\n",
568 "x": 1831.1429426405166,
569 "y": 383.0634924570718,
570 "z": "16a5084d.6904d8",