3 "id": "c5061897.ed3c88",
17 "id": "d133c187.d5ddc",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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='GENERIC-RESOURCE-API' version='${project.version}'>",
25 "x": 291.2419891357422,
26 "y": 156.95239233970642,
27 "z": "9b1f52ae.5be64",
35 "id": "9bd84115.0bcf5",
37 "name": "contrail-route-topology-operation-delete",
38 "xml": "<method rpc='contrail-route-topology-operation-delete' mode='sync'>\n",
41 "x": 371.1587562561035,
42 "y": 226.19044089317322,
43 "z": "9b1f52ae.5be64",
51 "id": "987d07ed.d93588",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">",
58 "x": 279.4800910949707,
59 "y": 369.5237829685211,
60 "z": "9b1f52ae.5be64",
84 "id": "6625fcb1.258284",
85 "type": "returnSuccess",
86 "name": "return success",
87 "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=\"`$error-message`\" />\n",
89 "x": 546.7183418273926,
90 "y": 1561.5481803417206,
91 "z": "9b1f52ae.5be64",
95 "id": "7f5b06d6.6b7628",
97 "name": "set output to api handler",
98 "xml": "<set>\n<parameter name='allotted-resource-id' value='`$tmp.ar.allotted-resource-id`' />\n<parameter name='contrail-route-object-path' value=\"`$tmp.ar.self-link`\"/>\n<parameter name='service-object-path' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'\n + $contrail-route-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'`\"/>\n \n",
100 "x": 575.4722480773926,
101 "y": 1524.0039737224579,
102 "z": "9b1f52ae.5be64",
106 "id": "8cf7c911.670d88",
108 "name": "set allotted-resource-oper-status",
109 "xml": "<set>\n<parameter name='ar.allotted-resource-data.allotted-resource-oper-status.order-status' value='PendingDelete' />\n<parameter name='ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$contrail-route-topology-operation-input.request-information.request-action`' />\n<parameter name='ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$contrail-route-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$contrail-route-topology-operation-input.sdnc-request-header.svc-request-id`' />\n<parameter name='ar.allotted-resource-data.allotted-resource-oper-status.create-timestamp' value='`$tmp.current-time`' />\n",
111 "x": 610.4724044799805,
112 "y": 1403.0514628887177,
113 "z": "9b1f52ae.5be64",
117 "id": "b01a42c3.cd422",
119 "name": "set tmp.ar.self-link",
120 "xml": "<set>\n<parameter name='tmp.ar.self-link' value=\"`'restconf/config/GENERIC-RESOURCE-API:contrail-route-allotted-resources/contrail-route-allotted-resource/'\n + $tmp.ar.allotted-resource-id\n + '/allotted-resource-data/contrail-route-topology/'` \" />\n\n",
122 "x": 541.7419624328613,
123 "y": 343.3333203792572,
124 "z": "9b1f52ae.5be64",
128 "id": "44946444.eccd7c",
130 "name": "set tmp.ar.allotted-resource-id,etc",
131 "xml": "<set>\n<parameter name='tmp.ar.allotted-resource-id' value='`$contrail-route-topology-operation-input.allotted-resource-information.allotted-resource-id`' />\n<parameter name='tmp.ar.parent-service-instance-id' value='`$contrail-route-topology-operation-input.allotted-resource-information.parent-service-instance-id`' />\n<parameter name='tmp.ar.sz-vnf-id' value='`$contrail-route-topology-operation-input.allotted-resource-data.security-zone-topology.security-zone-assignments.security-zone-vnf-id`' />\n\n\n",
133 "x": 589.0012245178223,
134 "y": 309.5925862789154,
135 "z": "9b1f52ae.5be64",
139 "id": "60f60d5f.c792f4",
141 "name": "execute Properties - pull properties file",
142 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n <parameter name='contextPrefix' value='prop' />\n",
145 "x": 611.9973220825195,
146 "y": 379.2315490245819,
147 "z": "9b1f52ae.5be64",
153 "id": "8ae65e99.398e4",
155 "name": "execute RestApiCallNode - Get AR by id",
156 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='GET' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
159 "x": 618.5226516723633,
160 "y": 547.4595077037811,
161 "z": "9b1f52ae.5be64",
170 "id": "de226263.4e383",
172 "name": "generate allotted-resource url",
173 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$prop.restapi.cr-allottedresource`\"/>\n <parameter name=\"outputPath\" value=\"tmp.ar-url\"/>\n <parameter name=\"target\" value=\"{allotted-resource-id}\"/>\n <parameter name=\"replacement\" value=\"`$tmp.ar.allotted-resource-id`\"/>\n",
176 "x": 576.0687522888184,
177 "y": 439.01722407341003,
178 "z": "9b1f52ae.5be64",
184 "id": "5450effe.e31e8",
187 "xml": "<outcome value='success'>\n",
190 "x": 863.8187561035156,
191 "y": 548.2673213481903,
192 "z": "9b1f52ae.5be64",
200 "id": "a3f2e35f.ed328",
202 "name": "execute RestApiCallNode - PUT AR by id",
203 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cr.templatefile`\" />\n <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ar-url`' />\n <parameter name='restapiUser' value='`$prop.controller.user`' />\n <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name=\"responsePrefix\" value=\"mdsal-ar\" />\n\n",
206 "x": 638.5808792114258,
207 "y": 1477.1009557247162,
208 "z": "9b1f52ae.5be64",
218 "id": "f9a00937.0d9618",
221 "xml": "<outcome value='not-found'>\n",
224 "x": 908.8888969421387,
225 "y": 1530.0991565212607,
226 "z": "9b1f52ae.5be64",
234 "id": "730f992c.7587c8",
237 "xml": "<outcome value='failure'>\n",
240 "x": 899.8889465332031,
241 "y": 1498.5991822704673,
242 "z": "9b1f52ae.5be64",
250 "id": "f3c956c8.bd3aa8",
253 "xml": "<outcome value='success'>\n",
256 "x": 903.6389846801758,
257 "y": 1468.9562871456146,
258 "z": "9b1f52ae.5be64",
266 "id": "88fe6f2.744949",
267 "type": "returnFailure",
268 "name": "return failure",
269 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error updating md-sal for contrail-route-allotted-resource\" />\n",
271 "x": 1069.6389846801758,
272 "y": 1499.3492061123252,
273 "z": "9b1f52ae.5be64",
277 "id": "f85b6040.a71da",
279 "name": "block: atomic",
280 "xml": "<block atomic=\"true\">\n",
284 "x": 1032.818759918213,
285 "y": 546.7672221660614,
286 "z": "9b1f52ae.5be64",
294 "id": "5e224962.ffe4e8",
295 "type": "switchNode",
296 "name": "switch cr length",
297 "xml": "<switch test='`$mdsal-ar.contrail-route-allotted-resource_length`'>\n",
300 "x": 1243.6760025024414,
301 "y": 546.3863513469696,
302 "z": "9b1f52ae.5be64",
311 "id": "65011a08.04a8a4",
314 "xml": "<outcome value='1'>\n",
317 "x": 1433.0093078613281,
318 "y": 546.3863093852997,
319 "z": "9b1f52ae.5be64",
327 "id": "73af2ecc.73814",
329 "name": "set ar from get",
330 "xml": "<set>\n<parameter name='ar.' value='$mdsal-ar.contrail-route-allotted-resource[0].' />\n",
332 "x": 1906.2001266479492,
333 "y": 509.62452483177185,
334 "z": "9b1f52ae.5be64",
338 "id": "28009d40.8ff902",
340 "name": "block: atomic",
341 "xml": "<block atomic='true'>\n",
345 "x": 1617.533197402954,
346 "y": 543.2911431789398,
347 "z": "9b1f52ae.5be64",
358 "id": "444240e9.62dc7",
360 "name": "set oper-status",
361 "xml": "<set>\n<parameter name='sz-ar.allotted-resource-data.allotted-resource-oper-status.last-action' value='`$sz-ar.allotted-resource-data.allotted-resource-operation-information.request-information.request-action`' />\n<parameter name='sz-ar.allotted-resource-data.allotted-resource-oper-status.last-rpc-action' value='`$sz-ar.allotted-resource-status.rpc-action`' />\n<parameter name='sz-ar.allotted-resource-data.allotted-resource-oper-status.last-svc-request-id' value='`$sz-ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.svc-request-id`' />\n\n",
363 "x": 1914.2000541687012,
364 "y": 573.7196681499481,
365 "z": "9b1f52ae.5be64",
369 "id": "a55a5912.caf608",
371 "name": "GET security-zone-allotted-resource from mdsal",
374 "x": 631.8186988830566,
375 "y": 514.7672107219696,
376 "z": "9b1f52ae.5be64",
380 "id": "a873ed89.11c27",
381 "type": "switchNode",
382 "name": "switch order-status",
383 "xml": "<switch test='`$ar.allotted-resource-data.allotted-resource-oper-status.order-status`'>\n",
386 "x": 1922.199909210205,
387 "y": 540.624480009079,
388 "z": "9b1f52ae.5be64",
397 "id": "8b3ee0f.ac5862",
399 "name": "outcome PendingDelete",
400 "xml": "<outcome value='PendingDelete'>\n",
403 "x": 2135.4664611816406,
404 "y": 523.2911956310272,
405 "z": "9b1f52ae.5be64",
413 "id": "baabeb4c.f12f78",
415 "name": "outcome Other",
416 "xml": "<outcome value='Other'>\n",
419 "x": 2157.8475799560547,
420 "y": 555.0531890392303,
421 "z": "9b1f52ae.5be64",
429 "id": "155a1c4d.6f5b24",
430 "type": "returnFailure",
431 "name": "return failure",
432 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" \n value=\"`'Existing contrail-route-allotted-resource with order status of ' + $ar.allotted-resource-data.allotted-resource-oper-status.order-status + '.'`\" />\n",
434 "x": 2398.466329574585,
435 "y": 557.9577786922455,
436 "z": "9b1f52ae.5be64",
440 "id": "b6b50cbe.e565d",
442 "name": "save backup copy of mdsal-ar for rollback",
443 "xml": "<set>\n<parameter name='bk-cr-ar' value='$mdsal-ar.' />\n",
445 "x": 1994.0571784973145,
446 "y": 476.4340169429779,
447 "z": "9b1f52ae.5be64",
451 "id": "926c38.d1cbf3c8",
453 "name": "Create urls for restapi",
456 "x": 546.9615592956543,
457 "y": 408.62435126304626,
458 "z": "9b1f52ae.5be64",
462 "id": "871a277.93ca1d8",
469 "x": 1045.2949523925781,
470 "y": 1465.1484563350677,
471 "z": "9b1f52ae.5be64",
477 "id": "9cedd0a1.cc44e",
479 "name": "execute getTime",
480 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='setTime' >\n <parameter name=\"outputPath\" value=\"tmp.current-time\" />\n\n",
483 "x": 561.2949981689453,
484 "y": 1369.481594800949,
485 "z": "9b1f52ae.5be64",
491 "id": "d7b00e7e.19998",
492 "type": "returnFailure",
493 "name": "return failure",
494 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"404\" />\n <parameter name=\"error-message\" value=\"Error: Contrail Route not found\" />\n \n",
496 "x": 1616.670904159546,
497 "y": 659.3333842754364,
498 "z": "9b1f52ae.5be64",
502 "id": "b254beba.55dd2",
505 "xml": "<outcome value='Other'>\n",
508 "x": 855.6705589294434,
509 "y": 583.3334062099457,
510 "z": "9b1f52ae.5be64",
518 "id": "1e7432bc.b4681d",
520 "name": "block: atomic",
521 "xml": "<block atomic=\"true\">\n",
525 "x": 1035.670509338379,
526 "y": 583.9999568462372,
527 "z": "9b1f52ae.5be64",
535 "id": "b921706b.d44a",
537 "name": "set ar data",
538 "xml": "<set>\n<parameter name='ar.allotted-resource-id' value=\"`$tmp.ar.allotted-resource-id` \" />\n<parameter name='ar.allotted-resource-status.action' value=\"`$contrail-route-topology-operation-input.request-information.request-action` \" />\n<parameter name='ar.allotted-resource-status.rpc-name' value=\"contrail-route-topology-operation\" />\n<parameter name='ar.allotted-resource-status.rpc-action' value=\"`$contrail-route-topology-operation-input.sdnc-request-header.svc-action` \" />\n<parameter name='ar.allotted-resource-data.allotted-resource-operation-information.request-information.' value=\"`$contrail-route-topology-operation-input.request-information.` \" />\n<parameter name='ar.allotted-resource-data.allotted-resource-operation-information.sdnc-request-header.' value=\"`$contrail-route-topology-operation-input.sdnc-request-header.` \" />\n<parameter name='ar.allotted-resource-data.allotted-resource-operation-information.service-information.' value=\"`$contrail-route-topology-operation-input.service-information.` \" />\n<parameter name='ar.allotted-resource-data.allotted-resource-operation-information.allotted-resource-information.' value=\"`$contrail-route-topology-operation-input.allotted-resource-information.` \" />\n<parameter name='ar.allotted-resource-data.allotted-resource-operation-information.contrail-route-request-input.' value=\"`$contrail-route-topology-operation-input.contrail-route-request-input.` \" />\n",
540 "x": 525.6704864501953,
541 "y": 577.380893945694,
542 "z": "9b1f52ae.5be64",
546 "id": "7554338.6b121cc",
549 "xml": "<outcome value='Other'>\n",
552 "x": 1421.3372611999512,
553 "y": 583.6666696071625,
554 "z": "9b1f52ae.5be64",
562 "id": "32a3480b.e12e28",
569 "x": 2382.337375640869,
570 "y": 523.6666963100433,
571 "z": "9b1f52ae.5be64",
577 "id": "d3399ea0.e3d6b",
579 "name": "Need to rollback aai here",
582 "x": 1295.718246459961,
583 "y": 1498.666801214218,
584 "z": "9b1f52ae.5be64",
588 "id": "e190ac80.23028",
590 "name": "Create network policy in AAI",
593 "x": 595.0515213012695,
594 "y": 1318.6666886806488,
595 "z": "9b1f52ae.5be64",
599 "id": "68581ed1.0cd02",
601 "name": "update AAI allotted-resource",
602 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"allotted-resource\" \n\t\tkey=\"customer.global-customer-id = $service-data.service-information.global-customer-id AND\n\t\t\tservice-subscription.service-type = $service-data.service-information.subscription-service-type AND\n\t\t\tservice-instance.service-instance-id = $service-data.service-information.service-instance-id AND\n\t\t\tallotted-resource.id = $tmp.ar.allotted-resource-id\"\n pfx='pfx' local-only='false' force='false'>\n\t<parameter name=\"operational-status\" value=\"null\" />\n",
605 "x": 588.7181777954102,
606 "y": 1256.6667726039886,
607 "z": "9b1f52ae.5be64",
616 "id": "d5f2f899.1e05c8",
619 "xml": "<outcome value='failure'>\n",
622 "x": 844.480110168457,
623 "y": 1233.9049470424652,
624 "z": "9b1f52ae.5be64",
632 "id": "fb1878e6.e35ec8",
635 "xml": "<outcome value='not-found'>\n",
638 "x": 849.7895393371582,
639 "y": 1269.476364850998,
640 "z": "9b1f52ae.5be64",
648 "id": "be1256d6.02f548",
649 "type": "returnFailure",
650 "name": "return failure",
651 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"AAI failed\" />\n",
653 "x": 1059.575325012207,
654 "y": 1235.5239913463593,
655 "z": "9b1f52ae.5be64",
659 "id": "8f619b62.bdcdb8",
661 "name": "Update AAI AR",
664 "x": 552.06103515625,
665 "y": 1220.09521651268,
666 "z": "9b1f52ae.5be64",
670 "id": "50310cfe.876cb4",
672 "name": "set ar-assignments",
673 "xml": "<set>\n<parameter name='ar-assignments.' value=\"`$ar.allotted-resource-data.contrail-route-topology.contrail-route-assignments.`\" />\n\n\n\n",
675 "x": 554.4801483154297,
676 "y": 607.9048221111298,
677 "z": "9b1f52ae.5be64",
681 "id": "1c0b3eb4.2a1111",
682 "type": "switchNode",
683 "name": "switch source-network.network-id",
684 "xml": "<switch test='`$ar.allotted-resource-data.contrail-route-topology.contrail-route-assignments.source-network.network-id`'>\n\n",
687 "x": 608.0039291381836,
688 "y": 792.5000422000885,
689 "z": "9b1f52ae.5be64",
698 "id": "f32d3627.d60638",
701 "xml": "<outcome value='Other'>",
704 "x": 956.0041160583496,
705 "y": 789.1665117740631,
706 "z": "9b1f52ae.5be64",
714 "id": "84e18965.3c0918",
717 "xml": "<outcome value=''>",
720 "x": 966.6709899902344,
721 "y": 737.1663014888763,
722 "z": "9b1f52ae.5be64",
730 "id": "de967f6b.a246e",
732 "name": "for nidx..service-data.networks.network[]",
733 "xml": "<for index='nidx' start='0' end='`$service-data.networks.network_length`' >\n",
736 "x": 2091.448890686035,
737 "y": 828.9442895650864,
738 "z": "9b1f52ae.5be64",
746 "id": "cb4d15ad.5b3e08",
747 "type": "switchNode",
748 "name": "switch service-data.networks.network_length",
749 "xml": "<switch test='`$service-data.networks.network_length`'>\n",
752 "x": 1347.8295516967773,
753 "y": 789.1823389530182,
754 "z": "9b1f52ae.5be64",
763 "id": "e7768c09.76407",
765 "name": "outcome Null",
766 "xml": "<outcome value=''>\n",
769 "x": 1636.8295516967773,
770 "y": 791.1823999881744,
771 "z": "9b1f52ae.5be64",
779 "id": "ddc2e983.b27498",
782 "xml": "<outcome value='Other'>\n",
785 "x": 1616.8295516967773,
786 "y": 826.1823999881744,
787 "z": "9b1f52ae.5be64",
795 "id": "63dd8cb4.e41794",
797 "name": "block : atomic",
798 "xml": "<block atomic=\"true\">",
801 "x": 1821.4328536987305,
802 "y": 830.0702737569809,
803 "z": "9b1f52ae.5be64",
811 "id": "b963a897.df44d8",
818 "x": 1090.1153717041016,
819 "y": 789.6109163761139,
820 "z": "9b1f52ae.5be64",
828 "id": "607f0213.4585ec",
829 "type": "returnFailure",
830 "name": "return failure",
831 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error assigning contrail route. Source network not found\" />\n",
833 "x": 1120.8043975830078,
834 "y": 736.1664967536926,
835 "z": "9b1f52ae.5be64",
839 "id": "86330abf.322018",
840 "type": "returnFailure",
841 "name": "return failure",
842 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error assigning contrail route. Source network not found\" />\n",
844 "x": 1829.937629699707,
845 "y": 791.4998601675034,
846 "z": "9b1f52ae.5be64",
850 "id": "e72045.3754efb8",
852 "name": "Find tenant id/cloud region from source network",
855 "x": 637.4042205810547,
856 "y": 757.1664483547211,
857 "z": "9b1f52ae.5be64",
861 "id": "d5b5a378.f12e8",
862 "type": "switchNode",
863 "name": "switch networkid found",
864 "xml": "<switch test=\"`$service-data.networks.network[$nidx].network-id == $ar.allotted-resource-data.contrail-route-topology.contrail-route-assignments.source-network.network-id`\">\n\n",
867 "x": 2384.0037002563477,
868 "y": 825.8334163427353,
869 "z": "9b1f52ae.5be64",
878 "id": "a942d336.9a02",
880 "name": "set tmp vals",
881 "xml": "<set>\n<parameter name='tmp.ar.cloud-region-id' value='`$service-data.networks.network[$nidx].network-data.network-topology.aic-cloud-region`' />\n\n\n",
883 "x": 2925.670669555664,
884 "y": 823.3333702087402,
885 "z": "9b1f52ae.5be64",
889 "id": "95efe68c.15ea68",
896 "x": 2748.737051010132,
897 "y": 826.3333842754364,
898 "z": "9b1f52ae.5be64",
906 "id": "22ec946b.3bde1c",
907 "type": "outcomeTrue",
909 "xml": "<outcome value='true'>\n",
912 "x": 2593.2704277038574,
913 "y": 826.3332469463348,
914 "z": "9b1f52ae.5be64",
922 "id": "2d69773c.9c9fd8",
925 "xml": "<outcome value='Other'>\n",
928 "x": 2594.070037841797,
929 "y": 864.3332498073578,
930 "z": "9b1f52ae.5be64",
938 "id": "81a644d4.111c68",
939 "type": "returnFailure",
940 "name": "return failure",
941 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Error assigning contrail route. Source network not found\" />\n",
943 "x": 2772.0701942443848,
944 "y": 864.3333156108856,
945 "z": "9b1f52ae.5be64",
949 "id": "b6736797.38e8b8",
951 "name": "Call contrail api here",
954 "x": 564.2895889282227,
955 "y": 848.666722536087,
956 "z": "9b1f52ae.5be64",
960 "id": "ac1afd99.47658",
962 "name": "execute Contrail API delete network policy",
963 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.contrail.ContrailAdaptor' method='sendContrailRequest' emitsOutcome='true' >\n<parameter name='api-name' value='network-policy' />\n<parameter name='api-action' value='delete' />\n<parameter name='resp-prefix' value='contrailResp' />\n<parameter name='cloud-region-id' value='`$tmp.ar.cloud-region-id`' />\n<parameter name='contrail-network-policy-id' value='`$ar-assignments.contrail-id`' />\n\n",
966 "x": 647.4086608886719,
967 "y": 886.3097550868988,
968 "z": "9b1f52ae.5be64",
977 "id": "711f0aee.ce8ba4",
980 "xml": "<outcome value='success'>\n",
983 "x": 928.7895965576172,
984 "y": 854.4521206952631,
985 "z": "9b1f52ae.5be64",
993 "id": "9b1b549c.7a2818",
996 "xml": "<outcome value='failure'>\n",
999 "x": 926.8849182128906,
1000 "y": 887.4520604610443,
1001 "z": "9b1f52ae.5be64",
1009 "id": "43c06676.1dbba8",
1010 "type": "returnFailure",
1011 "name": "return failure",
1012 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failed to create policy in Contrail\" />\n",
1014 "x": 1086.7896881103516,
1015 "y": 886.7854270078242,
1016 "z": "9b1f52ae.5be64",
1020 "id": "9ce64e2c.ea266",
1027 "x": 1080.980079650879,
1028 "y": 855.1188457012177,
1029 "z": "9b1f52ae.5be64",
1035 "id": "8a766565.291e68",
1037 "name": "Delete network policy in AAI",
1041 "y": 1074.999998807907,
1042 "z": "9b1f52ae.5be64",
1046 "id": "3c6fdb59.f8fd14",
1048 "name": "delete AnAI - network-policy",
1049 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\" \n\t\tkey=\"network-policy.network-policy-id = $ar-assignments.contrail-id\" >\n\n\n\n",
1052 "x": 580.8807907104492,
1053 "y": 1112.0675637722015,
1054 "z": "9b1f52ae.5be64",
1063 "id": "8ff84544.9d71e8",
1064 "type": "returnFailure",
1065 "name": "return failure",
1066 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"Failed to save network policy in AAI\" />\n",
1068 "x": 1053.2262992858887,
1069 "y": 1102.349177122116,
1070 "z": "9b1f52ae.5be64",
1074 "id": "8cd17d42.0bcda",
1077 "xml": "<outcome value='failure'>\n",
1080 "x": 824.6549072265625,
1081 "y": 1101.3649146556854,
1082 "z": "9b1f52ae.5be64",
1090 "id": "cf16a62d.8c70a8",
1091 "type": "not-found",
1092 "name": "not-found",
1093 "xml": "<outcome value='not-found'>\n",
1096 "x": 828.4644050598145,
1097 "y": 1130.841331243515,
1098 "z": "9b1f52ae.5be64",
1106 "id": "d23354a7.464df8",
1108 "name": "call policy-manager-delete-policy",
1109 "xml": "<call module='GENERIC-RESOURCE-API' rpc='policy-manager-delete-policy' mode='sync' >\n",
1112 "x": 627.9205322265625,
1113 "y": 972.8333117961884,
1114 "z": "9b1f52ae.5be64",
1123 "id": "62a5debd.c203a",
1126 "xml": "<outcome value='failure'>\n",
1129 "x": 863.4998931884766,
1130 "y": 970.175279378891,
1131 "z": "9b1f52ae.5be64",
1139 "id": "4180c869.1d0ea8",
1142 "xml": "<outcome value='success'>\n",
1145 "x": 869.4921607971191,
1146 "y": 1010.9763548374176,
1147 "z": "9b1f52ae.5be64",
1155 "id": "6ad8d723.6b8888",
1157 "name": "block : atomic",
1158 "xml": "<block atomic=\"true\">",
1161 "x": 1022.1587257385254,
1162 "y": 1009.3096830844879,
1163 "z": "9b1f52ae.5be64",
1169 "id": "6e04473c.a254f8",
1171 "name": "block: atomic",
1172 "xml": "<block atomic=\"true\">\n",
1176 "x": 1022.2063369750977,
1177 "y": 964.2620389461517,
1178 "z": "9b1f52ae.5be64",
1184 "id": "785a4111.a959a",
1186 "name": "Call policy mgr. continue on failure",
1189 "x": 618.5872039794922,
1190 "y": 941.166601896286,
1191 "z": "9b1f52ae.5be64",