3 "id": "82c84658.77d1d8",
\r
5 "name": "method vnf-topology-operation-vpn-site-resource-deactivate",
\r
6 "xml": "<method rpc='vnf-topology-operation-vpn-site-resource-deactivate' mode='sync'>\n",
\r
10 "y": 212.99999639671296,
\r
11 "z": "655c6ddc.e1d044",
\r
19 "id": "d37f40ab.ae426",
\r
23 "x": 138.5713882446289,
\r
25 "z": "655c6ddc.e1d044",
\r
33 "id": "90866c8c.0566b",
\r
34 "type": "service-logic",
\r
35 "name": "GENERIC-RESOURCE-API ${project.version}",
\r
36 "module": "GENERIC-RESOURCE-API",
\r
37 "version": "${project.version}",
\r
39 "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
41 "x": 237.85708618164062,
\r
42 "y": 123.23810789268464,
\r
43 "z": "655c6ddc.e1d044",
\r
51 "id": "20631342.a0c9ec",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 239.23804473876953,
\r
58 "y": 384.66666814964265,
\r
59 "z": "655c6ddc.e1d044",
\r
73 "id": "223e8ad6.61f2e6",
\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": 647.3849029541016,
\r
79 "y": 533.670627951622,
\r
80 "z": "655c6ddc.e1d044",
\r
84 "id": "7a1d8d04.0ea1a4",
\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": 573.5716247558594,
\r
90 "y": 642.5970582962036,
\r
91 "z": "655c6ddc.e1d044",
\r
95 "id": "fb28da85.68b248",
\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": 624.5716247558594,
\r
101 "y": 489.5968955755234,
\r
102 "z": "655c6ddc.e1d044",
\r
106 "id": "638a26a6.3e9618",
\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": 669.0000610351562,
\r
113 "y": 274.00000545661896,
\r
114 "z": "655c6ddc.e1d044",
\r
124 "id": "9fa8cca.2d7cf3",
\r
127 "xml": "<outcome value='0'>\n",
\r
130 "x": 927.9689559936523,
\r
131 "y": 235.96876499336213,
\r
132 "z": "655c6ddc.e1d044",
\r
140 "id": "4d9ccf75.fe9af",
\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": 1082.7778434753418,
\r
146 "y": 254.88903352897614,
\r
147 "z": "655c6ddc.e1d044",
\r
151 "id": "3f139002.12bae",
\r
154 "xml": "<outcome value=''>\n",
\r
157 "x": 921.0000953674316,
\r
158 "y": 275.00008651893586,
\r
159 "z": "655c6ddc.e1d044",
\r
167 "id": "6579ac8.d79e654",
\r
170 "xml": "<outcome value='Other'>\n",
\r
173 "x": 914.0005035400391,
\r
174 "y": 308.0000903336331,
\r
175 "z": "655c6ddc.e1d044",
\r
183 "id": "4494b904.813828",
\r
185 "name": "block : atomic",
\r
186 "xml": "<block atomic=\"true\">",
\r
189 "x": 1061.2700462341309,
\r
190 "y": 308.55473539512604,
\r
191 "z": "655c6ddc.e1d044",
\r
200 "id": "2347d15a.1d922e",
\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": 1307.2861633300781,
\r
207 "y": 315.4286558357999,
\r
208 "z": "655c6ddc.e1d044",
\r
216 "id": "ca1a5a9.775eaa8",
\r
219 "xml": "<block>\n",
\r
223 "x": 1526.6357955932617,
\r
224 "y": 314.9687359062955,
\r
225 "z": "655c6ddc.e1d044",
\r
233 "id": "66b63707.1820b8",
\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": 1680.7153930664062,
\r
240 "y": 314.67881796043366,
\r
241 "z": "655c6ddc.e1d044",
\r
249 "id": "ae7ef72d.e51818",
\r
250 "type": "outcomeTrue",
\r
252 "xml": "<outcome value='true'>\n",
\r
255 "x": 1856.6675148010254,
\r
256 "y": 314.57150003593415,
\r
257 "z": "655c6ddc.e1d044",
\r
265 "id": "502325a8.6e120c",
\r
267 "name": "block : atomic",
\r
268 "xml": "<block atomic=\"true\">",
\r
271 "x": 2005.312973022461,
\r
272 "y": 302.97913000267,
\r
273 "z": "655c6ddc.e1d044",
\r
281 "id": "1a1e9503.dc6a5b",
\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": 2267.1997680664062,
\r
287 "y": 280.3215563027188,
\r
288 "z": "655c6ddc.e1d044",
\r
292 "id": "d97f0a58.4e7db8",
\r
293 "type": "switchNode",
\r
294 "name": "switch tmp.vidx ",
\r
295 "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
\r
298 "x": 1250.0000228881836,
\r
299 "y": 369.99999353569,
\r
300 "z": "655c6ddc.e1d044",
\r
308 "id": "aa55c60d.624e08",
\r
311 "xml": "<outcome value=''>\n",
\r
314 "x": 1405.4286499023438,
\r
315 "y": 369.57137701194733,
\r
316 "z": "655c6ddc.e1d044",
\r
324 "id": "d6654813.27fba8",
\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": 1550.8573913574219,
\r
330 "y": 369.7143146721646,
\r
331 "z": "655c6ddc.e1d044",
\r
335 "id": "30cf2c07.d44e14",
\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": 618.0000762939453,
\r
342 "y": 382.88902044296265,
\r
343 "z": "655c6ddc.e1d044",
\r
352 "id": "d1af1362.431e7",
\r
354 "name": "outcome Active",
\r
355 "xml": "<outcome value='Active'>\n",
\r
358 "x": 863.8333702087402,
\r
359 "y": 384.00011825561523,
\r
360 "z": "655c6ddc.e1d044",
\r
368 "id": "e723a3c3.7cd85",
\r
370 "name": "block : atomic",
\r
371 "xml": "<block atomic=\"true\">",
\r
374 "x": 1077.139762878418,
\r
375 "y": 393.32530784606934,
\r
376 "z": "655c6ddc.e1d044",
\r
382 "id": "a3563b5d.54f858",
\r
385 "xml": "<outcome value='Other'>\n",
\r
388 "x": 841.8333892822266,
\r
389 "y": 434.00012969970703,
\r
390 "z": "655c6ddc.e1d044",
\r
398 "id": "5cde8b39.a2f424",
\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": 1001.3331565856934,
\r
404 "y": 437.0001287460327,
\r
405 "z": "655c6ddc.e1d044",
\r
409 "id": "fbfde082.6174",
\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": 627.0065612792969,
\r
415 "y": 442.010435461998,
\r
416 "z": "655c6ddc.e1d044",
\r
420 "id": "c6ba194.447c2e8",
\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": 669.0064239501953,
\r
427 "y": 588.0105141401291,
\r
428 "z": "655c6ddc.e1d044",
\r