3 "id": "951a58ad.b622b8",
\r
5 "name": "method vnf-topology-operation-vpn-site-resource-activate",
\r
6 "xml": "<method rpc='vnf-topology-operation-vpn-site-resource-activate' mode='sync'>\n",
\r
10 "y": 217.9999771118164,
\r
11 "z": "e44dd5e7.6a1128",
\r
19 "id": "ce93efc.702d31",
\r
23 "x": 151.5752944946289,
\r
24 "y": 53.99999809265137,
\r
25 "z": "e44dd5e7.6a1128",
\r
33 "id": "6be0f3e4.bbd19c",
\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": 250.86099243164062,
\r
42 "y": 128.238105985336,
\r
43 "z": "e44dd5e7.6a1128",
\r
51 "id": "9f312de.ebe59d",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 252.24195098876953,
\r
58 "y": 389.666666242294,
\r
59 "z": "e44dd5e7.6a1128",
\r
73 "id": "94324bec.af0568",
\r
75 "name": "set vnf-level-oper-status to Active",
\r
76 "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status' value='Active' />\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": 667.3889236450195,
\r
79 "y": 576.6705493927002,
\r
80 "z": "e44dd5e7.6a1128",
\r
84 "id": "9e7bd407.d70c08",
\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": 587.5756149291992,
\r
90 "y": 702.5970869064331,
\r
91 "z": "e44dd5e7.6a1128",
\r
95 "id": "240a825d.6226de",
\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": 673.575569152832,
\r
101 "y": 524.5968036651611,
\r
102 "z": "e44dd5e7.6a1128",
\r
106 "id": "c7c4dafb.a3de48",
\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": 682.0039672851562,
\r
113 "y": 279.00000354927033,
\r
114 "z": "e44dd5e7.6a1128",
\r
124 "id": "4701274a.571b48",
\r
127 "xml": "<outcome value='0'>\n",
\r
130 "x": 940.9728622436523,
\r
131 "y": 240.9687630860135,
\r
132 "z": "e44dd5e7.6a1128",
\r
140 "id": "fd0fb6fb.9706b8",
\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": 1095.7817497253418,
\r
146 "y": 259.8890316216275,
\r
147 "z": "e44dd5e7.6a1128",
\r
151 "id": "f4d8522c.a4d9b",
\r
154 "xml": "<outcome value=''>\n",
\r
157 "x": 934.0040016174316,
\r
158 "y": 280.0000846115872,
\r
159 "z": "e44dd5e7.6a1128",
\r
167 "id": "2bef8938.25fbd6",
\r
170 "xml": "<outcome value='Other'>\n",
\r
173 "x": 927.0044097900391,
\r
174 "y": 313.0000884262845,
\r
175 "z": "e44dd5e7.6a1128",
\r
183 "id": "f298ba1.2d54c48",
\r
185 "name": "block : atomic",
\r
186 "xml": "<block atomic=\"true\">",
\r
189 "x": 1074.2739524841309,
\r
190 "y": 313.5547334877774,
\r
191 "z": "e44dd5e7.6a1128",
\r
199 "id": "5f9416f7.4477e8",
\r
201 "name": "for vidx..service-data.vnfs.vnf_length[]",
\r
202 "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
\r
205 "x": 1320.2900695800781,
\r
206 "y": 320.42865392845124,
\r
207 "z": "e44dd5e7.6a1128",
\r
215 "id": "d1140903.826428",
\r
218 "xml": "<block>\n",
\r
222 "x": 1539.6397018432617,
\r
223 "y": 319.96873399894685,
\r
224 "z": "e44dd5e7.6a1128",
\r
232 "id": "634303dc.2373ac",
\r
233 "type": "switchNode",
\r
234 "name": "switch vnfid found",
\r
235 "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
\r
238 "x": 1693.7192993164062,
\r
239 "y": 319.67881605308503,
\r
240 "z": "e44dd5e7.6a1128",
\r
248 "id": "acd02e3d.622b7",
\r
249 "type": "outcomeTrue",
\r
251 "xml": "<outcome value='true'>\n",
\r
254 "x": 1869.6714210510254,
\r
255 "y": 319.5714981285855,
\r
256 "z": "e44dd5e7.6a1128",
\r
264 "id": "eb3ae849.6809a8",
\r
266 "name": "set tmp.vidx and ctx.vnf-data",
\r
267 "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
\r
269 "x": 2079.2037963867188,
\r
270 "y": 321.32159826438874,
\r
271 "z": "e44dd5e7.6a1128",
\r
275 "id": "af4009d1.a698c8",
\r
277 "name": "update AnAI - vnf-instance.orchestration-status",
\r
278 "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=\"Active\" />\n<parameter name=\"vnf-type\" value=\"some vnf-type\" />",
\r
281 "x": 693.0039291381836,
\r
282 "y": 643.0103750228882,
\r
283 "z": "e44dd5e7.6a1128",
\r
289 "id": "db202f3e.dab93",
\r
291 "name": "copy input data to service data",
\r
292 "xml": "<set>\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
294 "x": 672.0040435791016,
\r
295 "y": 474.01033639907837,
\r
296 "z": "e44dd5e7.6a1128",
\r
300 "id": "5b908f22.f7f5a",
\r
301 "type": "switchNode",
\r
302 "name": "switch vnf-level-oper-status",
\r
303 "xml": "<switch test='`$service-data.vnfs.vnf[$tmp.vidx].vnf-data.vnf-level-oper-status.order-status`'>\n",
\r
308 "z": "e44dd5e7.6a1128",
\r
317 "id": "5ccb4fe0.99339",
\r
319 "name": "outcome Created",
\r
320 "xml": "<outcome value='Created'>\n",
\r
323 "x": 904.5872001647949,
\r
324 "y": 380.1150040626526,
\r
325 "z": "e44dd5e7.6a1128",
\r
333 "id": "814ec70c.a8b9c8",
\r
336 "xml": "<outcome value='Other'>\n",
\r
339 "x": 882.5872192382812,
\r
340 "y": 430.1150155067444,
\r
341 "z": "e44dd5e7.6a1128",
\r
349 "id": "50309b2.08dbf64",
\r
350 "type": "returnFailure",
\r
351 "name": "return failure",
\r
352 "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
354 "x": 1042.086986541748,
\r
355 "y": 433.11501455307007,
\r
356 "z": "e44dd5e7.6a1128",
\r
360 "id": "e3b020d0.17a88",
\r
362 "name": "block : atomic",
\r
363 "xml": "<block atomic=\"true\">",
\r
366 "x": 1114.8935737609863,
\r
367 "y": 391.44017934799194,
\r
368 "z": "e44dd5e7.6a1128",
\r