3 "id": "3ad24b85.b3bf64",
\r
9 "z": "1749c920.27afb7",
\r
17 "id": "7476f33b.2d0eb4",
\r
18 "type": "service-logic",
\r
19 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
20 "module": "GENERIC-RESOURCE-API",
\r
21 "version": "${project.version}",
\r
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}'>",
\r
25 "x": 390.2856903076172,
\r
26 "y": 117.23810863494873,
\r
27 "z": "1749c920.27afb7",
\r
35 "id": "7da838c5.7d227",
\r
37 "name": "method sotn-vnf-topology-operation-underlay-deactivate",
\r
38 "xml": "<method rpc='sotn-vnf-topology-operation-underlay-deactivate' mode='sync'>\n",
\r
41 "x": 396.42860412597656,
\r
42 "y": 202.00003051757812,
\r
43 "z": "1749c920.27afb7",
\r
51 "id": "a742330d.128a3",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 592.2380447387695,
\r
58 "y": 360.66666814964265,
\r
59 "z": "1749c920.27afb7",
\r
73 "id": "dfd1a930.eeb17",
\r
75 "name": "set vnf-level-oper-status to PendingDelete",
\r
76 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='PendingDelete' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-rpc-action' value='`$vnf-topology-operation-input.sdnc-request-header.svc-action`' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />",
\r
78 "x": 1000.3849029541016,
\r
79 "y": 509.670627951622,
\r
80 "z": "1749c920.27afb7",
\r
84 "id": "b0be94f0.05dfb8",
\r
85 "type": "returnSuccess",
\r
86 "name": "return success",
\r
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",
\r
89 "x": 926.5716247558594,
\r
90 "y": 618.5970582962036,
\r
91 "z": "1749c920.27afb7",
\r
95 "id": "59f78da4.50f2fc",
\r
97 "name": "set vnf-index and vnf-object-path",
\r
98 "xml": "<set>\n<parameter name='vnfId' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n<parameter name=\"vnf-object-path\" value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/' + $vnf-topology-operation-input.service-information.service-instance-id + '/service-data/vnfs/vnf/' + $vnf-topology-operation-input.vnf-information.vnf-id + '/vnf-data/'` \" />",
\r
100 "x": 977.5716247558594,
\r
101 "y": 465.5968955755234,
\r
102 "z": "1749c920.27afb7",
\r
106 "id": "41673fa0.b1a818",
\r
107 "type": "switchNode",
\r
108 "name": "switch service-data.vnfs.vnf_length",
\r
109 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
112 "x": 1022.0000610351562,
\r
113 "y": 250.00000545661896,
\r
114 "z": "1749c920.27afb7",
\r
124 "id": "95730397.a4e998",
\r
127 "xml": "<outcome value='0'>\n",
\r
130 "x": 1280.9689559936523,
\r
131 "y": 211.96876499336213,
\r
132 "z": "1749c920.27afb7",
\r
140 "id": "646213b6.68f42c",
\r
141 "type": "returnFailure",
\r
142 "name": "return failure",
\r
143 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
145 "x": 1435.7778434753418,
\r
146 "y": 230.88903352897614,
\r
147 "z": "1749c920.27afb7",
\r
151 "id": "46f139dc.3ca98",
\r
154 "xml": "<outcome value=''>\n",
\r
157 "x": 1274.0000953674316,
\r
158 "y": 251.00008651893586,
\r
159 "z": "1749c920.27afb7",
\r
167 "id": "7a6d1b04.564dbc",
\r
170 "xml": "<outcome value='Other'>\n",
\r
173 "x": 1267.000503540039,
\r
174 "y": 284.0000903336331,
\r
175 "z": "1749c920.27afb7",
\r
183 "id": "4e29626e.e0608c",
\r
185 "name": "block : atomic",
\r
186 "xml": "<block atomic=\"true\">",
\r
189 "x": 1414.2700462341309,
\r
190 "y": 284.55473539512604,
\r
191 "z": "1749c920.27afb7",
\r
200 "id": "530877d0.02663",
\r
202 "name": "for vidx..service-data.vnfs.vnf_length[]",
\r
203 "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
206 "x": 1660.2861633300781,
\r
207 "y": 291.4286558357999,
\r
208 "z": "1749c920.27afb7",
\r
216 "id": "a8e35f93.0e2bf",
\r
219 "xml": "<block>\n",
\r
223 "x": 1879.6357955932617,
\r
224 "y": 290.9687359062955,
\r
225 "z": "1749c920.27afb7",
\r
233 "id": "370233d.767e7cc",
\r
234 "type": "switchNode",
\r
235 "name": "switch vnfid found",
\r
236 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r
239 "x": 2033.7153930664062,
\r
240 "y": 290.67881796043366,
\r
241 "z": "1749c920.27afb7",
\r
249 "id": "908635e8.5a6bb",
\r
250 "type": "outcomeTrue",
\r
252 "xml": "<outcome value='true'>\n",
\r
255 "x": 2209.6675148010254,
\r
256 "y": 290.57150003593415,
\r
257 "z": "1749c920.27afb7",
\r
265 "id": "f0769224.c0af2",
\r
267 "name": "block : atomic",
\r
268 "xml": "<block atomic=\"true\">",
\r
271 "x": 2358.312973022461,
\r
272 "y": 278.97913000267,
\r
273 "z": "1749c920.27afb7",
\r
281 "id": "6bf835a7.6620bc",
\r
283 "name": "set tmp.vidx and ctx.vnf-data",
\r
284 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
\r
286 "x": 2620.1997680664062,
\r
287 "y": 256.3215563027188,
\r
288 "z": "1749c920.27afb7",
\r
292 "id": "a9f43f7c.095d3",
\r
293 "type": "switchNode",
\r
294 "name": "switch tmp.vidx ",
\r
295 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
\r
298 "x": 1603.0000228881836,
\r
299 "y": 345.99999353569,
\r
300 "z": "1749c920.27afb7",
\r
308 "id": "b3149be7.2c6a9",
\r
311 "xml": "<outcome value=''>\n",
\r
314 "x": 1758.4286499023438,
\r
315 "y": 345.57137701194733,
\r
316 "z": "1749c920.27afb7",
\r
324 "id": "4610208d.e47188",
\r
325 "type": "returnFailure",
\r
326 "name": "return failure",
\r
327 "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=\"vnf-topology-operation-input.vnf-request-input.vnf-id not found in service-data\" />\n",
\r
329 "x": 1903.8573913574219,
\r
330 "y": 345.7143146721646,
\r
331 "z": "1749c920.27afb7",
\r
335 "id": "cdfb0ad2.8ad0d8",
\r
336 "type": "switchNode",
\r
337 "name": "switch vnf-level-oper-status",
\r
338 "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
\r
341 "x": 971.0000762939453,
\r
342 "y": 358.88902044296265,
\r
343 "z": "1749c920.27afb7",
\r
352 "id": "c03a8f6a.5ba2c",
\r
354 "name": "outcome Active",
\r
355 "xml": "<outcome value='Active'>\n",
\r
358 "x": 1216.8333702087402,
\r
359 "y": 360.00011825561523,
\r
360 "z": "1749c920.27afb7",
\r
368 "id": "442f984.65ce9e8",
\r
370 "name": "block : atomic",
\r
371 "xml": "<block atomic=\"true\">",
\r
374 "x": 1430.139762878418,
\r
375 "y": 369.32530784606934,
\r
376 "z": "1749c920.27afb7",
\r
382 "id": "fbd10336.a597a8",
\r
385 "xml": "<outcome value='Other'>\n",
\r
388 "x": 1194.8333892822266,
\r
389 "y": 410.00012969970703,
\r
390 "z": "1749c920.27afb7",
\r
398 "id": "2dff766b.d66b12",
\r
399 "type": "returnFailure",
\r
400 "name": "return failure",
\r
401 "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=\"`'VNF is not in appropriate state for activate. Current state is ' + $service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`\" />",
\r
403 "x": 1354.3331565856934,
\r
404 "y": 413.0001287460327,
\r
405 "z": "1749c920.27afb7",
\r
409 "id": "4b93b56d.437c5c",
\r
411 "name": "copy input data to service data",
\r
412 "xml": "<set>\n<!--parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' /-->\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.sdnc-request-header.' value='$vnf-topology-operation-input.sdnc-request-header.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.request-information.' value='$vnf-topology-operation-input.request-information.' />\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.service-information.' value='$vnf-topology-operation-input.service-information.' />",
\r
414 "x": 980.0065612792969,
\r
415 "y": 418.010435461998,
\r
416 "z": "1749c920.27afb7",
\r
420 "id": "614f37e0.0249a",
\r
422 "name": "update AnAI - vnf-instance.orchestration-status",
\r
423 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"generic-vnf\" \n\t\tkey=\"generic-vnf.vnf-id = $vnfId\" >\n<parameter name=\"orchestration-status\" value=\"PendingDelete\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",
\r
426 "x": 1022.0064239501953,
\r
427 "y": 564.0105141401291,
\r
428 "z": "1749c920.27afb7",
\r