3 "id": "99dfdf6b.5f9318",
\r
9 "z": "fa25b782.cc03a",
\r
17 "id": "92759b22.eb00d",
\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": 383.2856903076172,
\r
26 "y": 105.23810863494873,
\r
27 "z": "fa25b782.cc03a",
\r
35 "id": "2dedb06e.bc71a8",
\r
37 "name": "method sotn-vnf-topology-operation-underlay-delete",
\r
38 "xml": "<method rpc='sotn-vnf-topology-operation-underlay-delete' mode='sync'>\n",
\r
41 "x": 389.42860412597656,
\r
42 "y": 190.00003051757812,
\r
43 "z": "fa25b782.cc03a",
\r
51 "id": "9d9a5f2a.b67c4",
\r
53 "name": "site-vnf-topology-operation-delete",
\r
56 "x": 961.9162979125977,
\r
57 "y": 111.58639907836914,
\r
58 "z": "fa25b782.cc03a",
\r
62 "id": "97c9b256.2d5028",
\r
64 "name": "block : atomic",
\r
65 "xml": "<block atomic=\"true\">",
\r
68 "x": 589.2380447387695,
\r
69 "y": 339.6666717529297,
\r
70 "z": "fa25b782.cc03a",
\r
87 "id": "74bea299.2fc214",
\r
88 "type": "switchNode",
\r
89 "name": "switch service-data.vnfs.vnf_length",
\r
90 "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
\r
93 "x": 1041.6660919189453,
\r
94 "y": 257.2611792087555,
\r
95 "z": "fa25b782.cc03a",
\r
104 "id": "c81a6b20.3c67a",
\r
106 "name": "outcome Null",
\r
107 "xml": "<outcome value=''>\n",
\r
110 "x": 1306.3884048461914,
\r
111 "y": 239.81680130958557,
\r
112 "z": "fa25b782.cc03a",
\r
120 "id": "86a36888.63694",
\r
121 "type": "returnFailure",
\r
122 "name": "return failure",
\r
123 "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
125 "x": 1487.3882751464844,
\r
126 "y": 234.81667923927307,
\r
127 "z": "fa25b782.cc03a",
\r
131 "id": "3105aeca.f2a9f2",
\r
134 "xml": "<outcome value='Other'>\n",
\r
137 "x": 1291.8884048461914,
\r
138 "y": 291.81676411628723,
\r
139 "z": "fa25b782.cc03a",
\r
147 "id": "e367ae2f.4837d8",
\r
149 "name": "block : atomic",
\r
150 "xml": "<block atomic=\"true\">",
\r
153 "x": 1463.888111114502,
\r
154 "y": 291.8167622089386,
\r
155 "z": "fa25b782.cc03a",
\r
164 "id": "5859a1a2.5df2c8",
\r
165 "type": "switchNode",
\r
166 "name": "switch tmp.nidx ",
\r
167 "xml": "<switch test=\"`$tmp.nidx`\">\n\n",
\r
170 "x": 1638.888282775879,
\r
171 "y": 310.81668400764465,
\r
172 "z": "fa25b782.cc03a",
\r
180 "id": "8eccfc5e.058248",
\r
181 "type": "switchNode",
\r
182 "name": "switch vnf-level-oper-status",
\r
183 "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.nidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
\r
186 "x": 1012.0550918579102,
\r
187 "y": 331.7056429386139,
\r
188 "z": "fa25b782.cc03a",
\r
197 "id": "4aaa97b8.591b",
\r
199 "name": "outcome PendingDelete",
\r
200 "xml": "<outcome value='PendingDelete'>\n",
\r
203 "x": 1288.8884353637695,
\r
204 "y": 334.8167426586151,
\r
205 "z": "fa25b782.cc03a",
\r
213 "id": "ac9c60b4.538be8",
\r
216 "xml": "<outcome value='Other'>\n",
\r
219 "x": 1249.8884201049805,
\r
220 "y": 380.8167917728424,
\r
221 "z": "fa25b782.cc03a",
\r
229 "id": "309ebf7d.9eaeb",
\r
230 "type": "returnFailure",
\r
231 "name": "return failure",
\r
232 "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
234 "x": 1398.3881340026855,
\r
235 "y": 379.81677174568176,
\r
236 "z": "fa25b782.cc03a",
\r
240 "id": "ca45e630.8251e",
\r
242 "name": "execute requiredParameters",
\r
243 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='requiredParameters' >\n<parameter name=\"vnf-topology-operation-input.vnf-information.vnf-id\" value=\"$vnf-topology-operation-input.vnf-information.vnf-id\"/>\n\n",
\r
246 "x": 1028.388427734375,
\r
247 "y": 200.8167588710785,
\r
248 "z": "fa25b782.cc03a",
\r
254 "id": "5a431e2a.3fe42",
\r
256 "name": "for nidx..service-data.vnfs.vnf[]",
\r
257 "xml": "<for index='nidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
260 "x": 1699.3882865905762,
\r
261 "y": 246.8166801929474,
\r
262 "z": "fa25b782.cc03a",
\r
270 "id": "aad2af6a.5ca7a8",
\r
271 "type": "switchNode",
\r
272 "name": "switch vnf-id found",
\r
273 "xml": "<switch test=\"`$service-data.vnfs.vnf[$nidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r
276 "x": 1955.3883056640625,
\r
277 "y": 246.8166801929474,
\r
278 "z": "fa25b782.cc03a",
\r
286 "id": "5de2b129.640c08",
\r
287 "type": "outcomeTrue",
\r
289 "xml": "<outcome value='true'>\n",
\r
292 "x": 2131.888359069824,
\r
293 "y": 249.8166801929474,
\r
294 "z": "fa25b782.cc03a",
\r
302 "id": "46f375ea.217e34",
\r
304 "name": "set tmp.nidx and ctx.vnf-data",
\r
305 "xml": "<set>\n<parameter name='tmp.nidx' value='`$nidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$nidx].vnf-data.`' />\n",
\r
307 "x": 2298.8883743286133,
\r
308 "y": 310.8166801929474,
\r
309 "z": "fa25b782.cc03a",
\r
313 "id": "579c1f0d.46de88",
\r
314 "type": "returnFailure",
\r
315 "name": "return failure",
\r
316 "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
318 "x": 1944.388298034668,
\r
319 "y": 310.81668400764465,
\r
320 "z": "fa25b782.cc03a",
\r
324 "id": "fcf67c01.2589c8",
\r
327 "xml": "<outcome value=''>\n",
\r
330 "x": 1806.888298034668,
\r
331 "y": 310.81668400764465,
\r
332 "z": "fa25b782.cc03a",
\r
340 "id": "26acbc94.464644",
\r
342 "name": "set vnfId and vnf-object-path",
\r
343 "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/'\n + $vnf-topology-operation-input.service-information.service-instance-id\n + '/service-data/service-topology/'` \" />",
\r
345 "x": 998.9051132202148,
\r
346 "y": 546.3336856365204,
\r
347 "z": "fa25b782.cc03a",
\r
351 "id": "29ca41d0.155d6e",
\r
352 "type": "returnSuccess",
\r
353 "name": "return success",
\r
354 "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
356 "x": 955.0162658691406,
\r
357 "y": 623.8892447948456,
\r
358 "z": "fa25b782.cc03a",
\r
362 "id": "4f3006f4.4a2aa",
\r
364 "name": "block : atomic",
\r
365 "xml": "<block atomic=\"true\">",
\r
368 "x": 1484.1947937011719,
\r
369 "y": 342.14194798469543,
\r
370 "z": "fa25b782.cc03a",
\r
376 "id": "bd55244d.57f018",
\r
378 "name": "set prop.vnfNewidx",
\r
379 "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`0`' />\n",
\r
381 "x": 981.0000839233398,
\r
382 "y": 382.00007796287537,
\r
383 "z": "fa25b782.cc03a",
\r
387 "id": "f446816e.b70aa8",
\r
389 "name": "for lidx..service-data.vnfs.vnf[]",
\r
390 "xml": "<for index='lidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
393 "x": 1005.0000686645508,
\r
394 "y": 424.0000765323639,
\r
395 "z": "fa25b782.cc03a",
\r
403 "id": "1ab96be7.cabb84",
\r
405 "name": "block : atomic",
\r
406 "xml": "<block atomic=\"true\">",
\r
409 "x": 1266.000144958496,
\r
410 "y": 428.00011134147644,
\r
411 "z": "fa25b782.cc03a",
\r
419 "id": "29fae41e.925d84",
\r
420 "type": "switchNode",
\r
421 "name": "switch vnf-id found",
\r
422 "xml": "<switch test=\"`$service-data.vnfs.vnf[$lidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r
425 "x": 1458.0000915527344,
\r
426 "y": 437.00015568733215,
\r
427 "z": "fa25b782.cc03a",
\r
435 "id": "3df67c89.832674",
\r
436 "type": "outcomeFalse",
\r
438 "xml": "<outcome value='false'>\n",
\r
441 "x": 1644.0001068115234,
\r
442 "y": 421.0000422000885,
\r
443 "z": "fa25b782.cc03a",
\r
451 "id": "7d2244a.01d08bc",
\r
453 "name": "block : atomic",
\r
454 "xml": "<block atomic=\"true\">",
\r
457 "x": 1795.0000305175781,
\r
458 "y": 422.0000784397125,
\r
459 "z": "fa25b782.cc03a",
\r
468 "id": "83093bd6.426818",
\r
470 "name": "set vnf data",
\r
471 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-id' value='`$service-data.vnfs.vnf[$lidx].vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$prop.vnfidxLen].vnf-data.' value='`$service-data.vnfs.vnf[$lidx].vnf-data.`' />\n",
\r
473 "x": 1962.0001983642578,
\r
474 "y": 396.00026202201843,
\r
475 "z": "fa25b782.cc03a",
\r
479 "id": "5e4d811b.25e5b",
\r
481 "name": "set prop.vnfNewidx",
\r
482 "xml": "<set>\n<parameter name='prop.vnfidxLen' value='`$prop.vnfidxLen + 1`' />\n",
\r
484 "x": 1982.0001258850098,
\r
485 "y": 453.0001976490021,
\r
486 "z": "fa25b782.cc03a",
\r
490 "id": "b3a04e31.994298",
\r
492 "name": "set new vnf length",
\r
493 "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value='`$prop.vnfidxLen`'/>\n\n\t\n",
\r
495 "x": 973.1014823913574,
\r
496 "y": 467.804429769516,
\r
497 "z": "fa25b782.cc03a",
\r
501 "id": "de69c0de.2774",
\r
503 "name": "Remove vnf from ServiceData",
\r
504 "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$prop.vnfidxLen].\" value=\"\"/>\n\n",
\r
506 "x": 1003.0002517700195,
\r
507 "y": 506.00021290779114,
\r
508 "z": "fa25b782.cc03a",
\r
512 "id": "145f15a6.badfba",
\r
514 "name": "delete AnAI - vnf-instance.orchestration-status",
\r
515 "xml": "<delete 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\" />\n",
\r
518 "x": 1060.0066452026367,
\r
519 "y": 583.0106251239777,
\r
520 "z": "fa25b782.cc03a",
\r