3 "id": "f06d79a.4f13a08",
\r
9 "z": "62554968.e321b8",
\r
17 "id": "e698fb0d.22ccb",
\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": 251.2856903076172,
\r
26 "y": 115.23810863494873,
\r
27 "z": "62554968.e321b8",
\r
35 "id": "c77e5b12.74fa8",
\r
37 "name": "method sotn-vf-operation-l2vpn-activate",
\r
38 "xml": "<method rpc='sotn-vf-operation-l2vpn-activate' mode='sync'>\n",
\r
41 "x": 254.42861938476562,
\r
42 "y": 200.00003242492676,
\r
43 "z": "62554968.e321b8",
\r
51 "id": "dc8a4134.633b38",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">",
\r
57 "x": 622.2380447387695,
\r
58 "y": 414.66666814964265,
\r
59 "z": "62554968.e321b8",
\r
73 "id": "6485c0f8.91ce08",
\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": 1037.3850173950195,
\r
79 "y": 601.6705513000488,
\r
80 "z": "62554968.e321b8",
\r
84 "id": "a02d1e2f.e50b18",
\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": 957.5717086791992,
\r
90 "y": 727.5970888137817,
\r
91 "z": "62554968.e321b8",
\r
95 "id": "c0d6a6a1.052f28",
\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": 1043.571662902832,
\r
101 "y": 549.5968055725098,
\r
102 "z": "62554968.e321b8",
\r
106 "id": "aff44c8.fd218b",
\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": 1052.0000610351562,
\r
113 "y": 304.00000545661896,
\r
114 "z": "62554968.e321b8",
\r
124 "id": "dab73261.53c13",
\r
127 "xml": "<outcome value='0'>\n",
\r
130 "x": 1310.9689559936523,
\r
131 "y": 265.96876499336213,
\r
132 "z": "62554968.e321b8",
\r
140 "id": "ac6cfd44.a241c",
\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": 1465.7778434753418,
\r
146 "y": 284.88903352897614,
\r
147 "z": "62554968.e321b8",
\r
151 "id": "c419b86f.420228",
\r
154 "xml": "<outcome value=''>\n",
\r
157 "x": 1304.0000953674316,
\r
158 "y": 305.00008651893586,
\r
159 "z": "62554968.e321b8",
\r
167 "id": "5e5514b0.5b9124",
\r
170 "xml": "<outcome value='Other'>\n",
\r
173 "x": 1297.000503540039,
\r
174 "y": 338.0000903336331,
\r
175 "z": "62554968.e321b8",
\r
183 "id": "639a074f.493e98",
\r
185 "name": "block : atomic",
\r
186 "xml": "<block atomic=\"true\">",
\r
189 "x": 1444.2700462341309,
\r
190 "y": 338.55473539512604,
\r
191 "z": "62554968.e321b8",
\r
199 "id": "6fa946fa.ca1978",
\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": 1690.2861633300781,
\r
206 "y": 345.4286558357999,
\r
207 "z": "62554968.e321b8",
\r
215 "id": "154eb41a.640b64",
\r
218 "xml": "<block>\n",
\r
222 "x": 1909.6357955932617,
\r
223 "y": 344.9687359062955,
\r
224 "z": "62554968.e321b8",
\r
232 "id": "330022d0.830a2e",
\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": 2063.7153930664062,
\r
239 "y": 344.67881796043366,
\r
240 "z": "62554968.e321b8",
\r
248 "id": "fcbe4c85.417af",
\r
249 "type": "outcomeTrue",
\r
251 "xml": "<outcome value='true'>\n",
\r
254 "x": 2239.6675148010254,
\r
255 "y": 344.57150003593415,
\r
256 "z": "62554968.e321b8",
\r
264 "id": "2fb9529b.c7be6e",
\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": 2449.1998901367188,
\r
270 "y": 346.3216001717374,
\r
271 "z": "62554968.e321b8",
\r
275 "id": "cdefed21.97b52",
\r
277 "name": "update AnAI - l2vpn.operational-status",
\r
278 "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\" \n\t\tkey=\"connectivity.connectivity-id = $vnfId\" >\n<parameter name=\"operational-status\" value=\"Active\" />",
\r
281 "x": 1063.0000228881836,
\r
282 "y": 668.0103769302368,
\r
283 "z": "62554968.e321b8",
\r
289 "id": "ef33383b.0eb5c8",
\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": 1042.0001373291016,
\r
295 "y": 499.010338306427,
\r
296 "z": "62554968.e321b8",
\r
300 "id": "6bb0bfe6.f5358",
\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
307 "y": 404.00390815734863,
\r
308 "z": "62554968.e321b8",
\r
317 "id": "5c7bc43a.bb701c",
\r
319 "name": "outcome Created",
\r
320 "xml": "<outcome value='Created'>\n",
\r
323 "x": 1274.583293914795,
\r
324 "y": 405.1150059700012,
\r
325 "z": "62554968.e321b8",
\r
333 "id": "b67194e3.094198",
\r
336 "xml": "<outcome value='Other'>\n",
\r
339 "x": 1252.5833129882812,
\r
340 "y": 455.115017414093,
\r
341 "z": "62554968.e321b8",
\r
349 "id": "b6453bfb.a302f",
\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": 1412.083080291748,
\r
355 "y": 458.1150164604187,
\r
356 "z": "62554968.e321b8",
\r
360 "id": "914253cd.1c469",
\r
362 "name": "block : atomic",
\r
363 "xml": "<block atomic=\"true\">",
\r
366 "x": 1484.8896675109863,
\r
367 "y": 416.4401812553406,
\r
368 "z": "62554968.e321b8",
\r