a2645b3b988f837c7829021e8d612d2a0e3b9fb9
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_self-serve-vnf-unassign.json
1 [
2     {
3         "id": "62b65505.f8b4b4",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 89,
8         "y": 30,
9         "z": "252d9282.9374ae",
10         "wires": [
11             [
12                 "928d511f.36c158"
13             ]
14         ]
15     },
16     {
17         "id": "f87c0728.0afeb8",
18         "type": "block",
19         "name": "block : atomic",
20         "xml": "<block atomic='true'>",
21         "atomic": "true",
22         "comments": "",
23         "outputs": 1,
24         "x": 132.72620391845703,
25         "y": 148.77779006958008,
26         "z": "252d9282.9374ae",
27         "wires": [
28             [
29                 "3b27abcc.c2ec34",
30                 "bf1b89ba.b063e",
31                 "1ddd3a42.29f04e",
32                 "e5f0334a.e9ca1",
33                 "2163e816.27402"
34             ]
35         ]
36     },
37     {
38         "id": "2406fa8b.d43ed6",
39         "type": "method",
40         "name": "method self-serve-vnf-unassign",
41         "xml": "<method rpc='self-serve-vnf-unassign' mode='sync'>\n",
42         "comments": "",
43         "outputs": 1,
44         "x": 205.76190948486328,
45         "y": 84.70635509490967,
46         "z": "252d9282.9374ae",
47         "wires": [
48             [
49                 "f87c0728.0afeb8"
50             ]
51         ]
52     },
53     {
54         "id": "928d511f.36c158",
55         "type": "service-logic",
56         "name": "GENERIC-RESOURCE-API ${project.version}",
57         "module": "GENERIC-RESOURCE-API",
58         "version": "${project.version}",
59         "comments": "",
60         "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}'>",
61         "outputs": 1,
62         "x": 364.23819732666016,
63         "y": 30.190492630004883,
64         "z": "252d9282.9374ae",
65         "wires": [
66             [
67                 "2406fa8b.d43ed6"
68             ]
69         ]
70     },
71     {
72         "id": "2869f38e.95f41c",
73         "type": "for",
74         "name": "foreach vnf-parameters-data.param[]",
75         "xml": "<for index='pidx' start='0' end='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param_length`' >\n",
76         "comments": "",
77         "outputs": 1,
78         "x": 721.4645538330078,
79         "y": 374.70241928100586,
80         "z": "252d9282.9374ae",
81         "wires": [
82             [
83                 "acaba079.b68f38",
84                 "81ad392.f64cec8"
85             ]
86         ]
87     },
88     {
89         "id": "6b50d8c3.1dbdd",
90         "type": "switchNode",
91         "name": "switch resource-resolution-data.status",
92         "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`'>\n",
93         "comments": "",
94         "outputs": 1,
95         "x": 458.17897033691406,
96         "y": 771.50013256073,
97         "z": "252d9282.9374ae",
98         "wires": [
99             [
100                 "4641618f.395528",
101                 "38e2fce4.feed74",
102                 "fa07b3ee.3e2bd"
103             ]
104         ]
105     },
106     {
107         "id": "4641618f.395528",
108         "type": "other",
109         "name": "SUCCESS",
110         "xml": "<outcome value='SUCCESS'>\n",
111         "comments": "",
112         "outputs": 1,
113         "x": 733.5719718933105,
114         "y": 772.2143878936768,
115         "z": "252d9282.9374ae",
116         "wires": [
117             [
118                 "d99a0768.8b7718"
119             ]
120         ]
121     },
122     {
123         "id": "3b27abcc.c2ec34",
124         "type": "for",
125         "name": "foreach capability-order[]",
126         "xml": "<for index='cidx' start='0' end='`$ss.capability.execution-order_length`' >\n",
127         "comments": "",
128         "outputs": 1,
129         "x": 387.0357894897461,
130         "y": 229.89282417297363,
131         "z": "252d9282.9374ae",
132         "wires": [
133             [
134                 "25e2075a.6d1a6",
135                 "96711265.1987a",
136                 "2869f38e.95f41c",
137                 "8523e1fb.bcf3a8"
138             ]
139         ]
140     },
141     {
142         "id": "acaba079.b68f38",
143         "type": "switchNode",
144         "name": "switch param capability-name == execution",
145         "xml": "<switch test='`$ss.capability-name == $tmp.param.capability-name`'>\n",
146         "comments": "",
147         "outputs": 1,
148         "x": 1077.3574676513672,
149         "y": 418.4285488128662,
150         "z": "252d9282.9374ae",
151         "wires": [
152             [
153                 "468c9926.a05e6"
154             ]
155         ]
156     },
157     {
158         "id": "468c9926.a05e6",
159         "type": "outcomeTrue",
160         "name": "true",
161         "xml": "<outcome value='true'>\n",
162         "comments": "",
163         "outputs": 1,
164         "x": 1340.8574676513672,
165         "y": 418.6785488128662,
166         "z": "252d9282.9374ae",
167         "wires": [
168             [
169                 "6b50d8c3.1dbdd"
170             ]
171         ]
172     },
173     {
174         "id": "d99a0768.8b7718",
175         "type": "call",
176         "name": "call ss.capability-dg",
177         "xml": "<call module='GENERIC-RESOURCE-API' rpc='`$ss.capability-dg`' mode='sync' >\n",
178         "comments": "",
179         "outputs": 1,
180         "x": 938.6907043457031,
181         "y": 771.9762392044067,
182         "z": "252d9282.9374ae",
183         "wires": [
184             [
185                 "458b24e4.d3efa4"
186             ]
187         ]
188     },
189     {
190         "id": "25e2075a.6d1a6",
191         "type": "set",
192         "name": "ss.capability-name",
193         "xml": "<set>\n<parameter name='ss.capability-name' value='`$ss.capability.execution-order[$cidx]`' />\n\n<!--\nss.capability.execution-order[]\n-->\n",
194         "comments": "",
195         "x": 667.3928451538086,
196         "y": 229.84527587890625,
197         "z": "252d9282.9374ae",
198         "wires": []
199     },
200     {
201         "id": "81ad392.f64cec8",
202         "type": "set",
203         "name": "tmp.param.capability-name",
204         "xml": "<set>\n<parameter name='tmp.param.capability-name' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.capability-name`' />\n",
205         "comments": "",
206         "x": 1026.7144927978516,
207         "y": 373.03575897216797,
208         "z": "252d9282.9374ae",
209         "wires": []
210     },
211     {
212         "id": "96711265.1987a",
213         "type": "set",
214         "name": "set ss.capability.action = unassign",
215         "xml": "<set>\n<parameter name='ss.capability-action' value='unassign' />\n",
216         "comments": "",
217         "x": 714.1069869995117,
218         "y": 276.7618598937988,
219         "z": "252d9282.9374ae",
220         "wires": []
221     },
222     {
223         "id": "458b24e4.d3efa4",
224         "type": "failure",
225         "name": "failure",
226         "xml": "<outcome value='failure'>\n",
227         "comments": "",
228         "outputs": 1,
229         "x": 1123.5832138061523,
230         "y": 771.976300239563,
231         "z": "252d9282.9374ae",
232         "wires": [
233             [
234                 "6583acac.b53fac"
235             ]
236         ]
237     },
238     {
239         "id": "8523e1fb.bcf3a8",
240         "type": "set",
241         "name": "set capability-dg",
242         "xml": "<set>\n<parameter name='ss.capability-dg' value=\"`'self-serve-' + $ss.capability.execution-order[$cidx]`\" />\n",
243         "comments": "",
244         "x": 658.5356750488281,
245         "y": 325.6547737121582,
246         "z": "252d9282.9374ae",
247         "wires": []
248     },
249     {
250         "id": "d5c58631.876b",
251         "type": "execute",
252         "name": "generate ss-vnf url replace service-instance-id",
253         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$prop.restapi.ss-vnf-assignments`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{service-instance-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id`\"/>\n",
254         "comments": "",
255         "outputs": 1,
256         "x": 1606.4405975341797,
257         "y": 825.8580255508423,
258         "z": "252d9282.9374ae",
259         "wires": [
260             []
261         ]
262     },
263     {
264         "id": "5291091f.f20088",
265         "type": "execute",
266         "name": "execute RestApiCallNode - PUT vnf",
267         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ss.vnf.templatefile`\" />\n    <parameter name='restapiUrl' value='`$prop.controller.url + $tmp.ss-vnf-url`' />\n    <parameter name='restapiUser' value='`$prop.controller.user`' />\n    <parameter name='restapiPassword' value='`$prop.controller.pwd`' />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='PUT' />\n    <parameter name=\"responsePrefix\" value=\"mdsal-ss-vnf\" />\n\n",
268         "comments": "",
269         "outputs": 1,
270         "x": 1575.9048919677734,
271         "y": 928.7152471542358,
272         "z": "252d9282.9374ae",
273         "wires": [
274             [
275                 "2353e7c1.60c118",
276                 "3fc02d49.7486d2"
277             ]
278         ]
279     },
280     {
281         "id": "2353e7c1.60c118",
282         "type": "not-found",
283         "name": "not-found",
284         "xml": "<outcome value='not-found'>\n",
285         "comments": "",
286         "outputs": 1,
287         "x": 1850.4985580444336,
288         "y": 982.7134008407593,
289         "z": "252d9282.9374ae",
290         "wires": [
291             [
292                 "bda099a1.06eb38"
293             ]
294         ]
295     },
296     {
297         "id": "3fc02d49.7486d2",
298         "type": "failure",
299         "name": "failure",
300         "xml": "<outcome value='failure'>\n",
301         "comments": "",
302         "outputs": 1,
303         "x": 1842.9271926879883,
304         "y": 929.2134208679199,
305         "z": "252d9282.9374ae",
306         "wires": [
307             [
308                 "bda099a1.06eb38"
309             ]
310         ]
311     },
312     {
313         "id": "bda099a1.06eb38",
314         "type": "block",
315         "name": "block : atomic",
316         "xml": "<block atomic=\"true\">",
317         "atomic": "true",
318         "outputs": 1,
319         "x": 2045.0595169067383,
320         "y": 928.8576755523682,
321         "z": "252d9282.9374ae",
322         "wires": [
323             [
324                 "d9c8574d.b3fa68"
325             ]
326         ]
327     },
328     {
329         "id": "d9c8574d.b3fa68",
330         "type": "configure",
331         "name": "set error-message",
332         "xml": "<set>\n<parameter name=\"error-message\" value=\"Error persisting self-serve vnf assignments in MD-SAL during unassign\" />\n",
333         "comments": "",
334         "outputs": 1,
335         "x": 2263.345283508301,
336         "y": 929.0005388259888,
337         "z": "252d9282.9374ae",
338         "wires": [
339             []
340         ]
341     },
342     {
343         "id": "4bfafa2c.df4c8c",
344         "type": "set",
345         "name": "set vf data for restapi-call-node",
346         "xml": "<set>\n<parameter name='vf.vnf-id'\n    value='`$service-data.vnfs.vnf[$vnf-index].vnf-id`' />\n<parameter name='vf.vnf-data.sdnc-request-header.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.`' />\n<parameter name='vf.vnf-data.request-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.`' />\n<parameter name='vf.vnf-data.service-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.`' />\n<parameter name='vf.vnf-data.vnf-information.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.`' />\n<parameter name='vf.vnf-data.vnf-request-input.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.`' />\n<parameter name='vf.vnf-data.vnf-request-input.vnf-input-parameters.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.`' />\n<parameter name='vf.vnf-data.vnf-topology.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.`' />\n<parameter name='vf.vnf-data.vnf-level-oper-status.'\n  value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.`' />",
347         "comments": "",
348         "x": 1558.8928985595703,
349         "y": 771.9525375366211,
350         "z": "252d9282.9374ae",
351         "wires": []
352     },
353     {
354         "id": "9abc0123.468d9",
355         "type": "execute",
356         "name": "generate ss-vnf url - replace vnf-id",
357         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n    <parameter name=\"source\" value=\"`$tmp.ss-vnf-url`\"/>\n    <parameter name=\"outputPath\" value=\"tmp.ss-vnf-url\"/>\n    <parameter name=\"target\" value=\"{vnf-id}\"/>\n    <parameter name=\"replacement\" value=\"`$service-data.vnfs.vnf[$vnf-index].vnf-id`\"/>\n",
358         "comments": "",
359         "outputs": 1,
360         "x": 1570.726303100586,
361         "y": 876.6667938232422,
362         "z": "252d9282.9374ae",
363         "wires": [
364             []
365         ]
366     },
367     {
368         "id": "6583acac.b53fac",
369         "type": "block",
370         "name": "block : atomic",
371         "xml": "<block atomic='true'>",
372         "atomic": "true",
373         "comments": "",
374         "outputs": 1,
375         "x": 1284.535888671875,
376         "y": 771.7144117355347,
377         "z": "252d9282.9374ae",
378         "wires": [
379             [
380                 "d5c58631.876b",
381                 "5291091f.f20088",
382                 "4bfafa2c.df4c8c",
383                 "9abc0123.468d9",
384                 "e212b878.28b838"
385             ]
386         ]
387     },
388     {
389         "id": "e212b878.28b838",
390         "type": "returnFailure",
391         "name": "return failure",
392         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to unassign self-serve vnf assignments for ' + $ss.capability-dg + ' with error: ' + $error-message`\" />\n",
393         "comments": "",
394         "x": 1505.4408569335938,
395         "y": 1056.488195180893,
396         "z": "252d9282.9374ae",
397         "wires": []
398     },
399     {
400         "id": "e5f0334a.e9ca1",
401         "type": "execute",
402         "name": "printContext",
403         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss-vnf-assign.log' />\n",
404         "comments": "",
405         "outputs": 1,
406         "x": 348.1193313598633,
407         "y": 1426.0595903396606,
408         "z": "252d9282.9374ae",
409         "wires": [
410             []
411         ]
412     },
413     {
414         "id": "bf1b89ba.b063e",
415         "type": "set",
416         "name": "set ss.capability.execution-order[]",
417         "xml": "<set>\n<parameter name='ss.capability.execution-order[0]' value='mac-address-assign' />\n<parameter name='ss.capability.execution-order[1]' value='mS-mac-address-assign' />\n<parameter name='ss.capability.execution-order[2]' value='eipam-ip-assign' />\n<parameter name='ss.capability.execution-order[3]' value='netbox-ip-assign' />\n<parameter name='ss.capability.execution-order[4]' value='vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[5]' value='mS-vlan-tag-assign' />\n<parameter name='ss.capability.execution-order[6]' value='alts-license-assign' />\n<parameter name='ss.capability.execution-order[7]' value='alts-entitlement-assign' />\n<parameter name='ss.capability.execution-order[8]' value='generate-name' />\n<parameter name='ss.capability.execution-order_length' value='9' />",
418         "comments": "",
419         "x": 412.25003814697266,
420         "y": 149.00000381469727,
421         "z": "252d9282.9374ae",
422         "wires": []
423     },
424     {
425         "id": "38e2fce4.feed74",
426         "type": "other",
427         "name": "DELETED",
428         "xml": "<outcome value='DELETED'>\n",
429         "comments": "",
430         "outputs": 1,
431         "x": 734.0714416503906,
432         "y": 838.7499847412109,
433         "z": "252d9282.9374ae",
434         "wires": [
435             [
436                 "d6fe1639.ceebb8"
437             ]
438         ]
439     },
440     {
441         "id": "1ddd3a42.29f04e",
442         "type": "set",
443         "name": "set ss.capability-type = vnf",
444         "xml": "<set>\n<parameter name='ss.capability-type' value='vnf' />\n",
445         "comments": "",
446         "x": 391.85713958740234,
447         "y": 188.5714340209961,
448         "z": "252d9282.9374ae",
449         "wires": []
450     },
451     {
452         "id": "52dbf114.d1abc",
453         "type": "returnFailure",
454         "name": "return failure",
455         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value=\"`'Failed to unassign self-serve vnf assignments because the status for ' + $ss.capability-name + ' is '  + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`\"/>",
456         "comments": "",
457         "x": 1116.1428833007812,
458         "y": 948.9643857138499,
459         "z": "252d9282.9374ae",
460         "wires": []
461     },
462     {
463         "id": "d6fe1639.ceebb8",
464         "type": "block",
465         "name": "block",
466         "xml": "<block>\n",
467         "atomic": "false",
468         "comments": "",
469         "outputs": 1,
470         "x": 890.5714340209961,
471         "y": 838.7499732971191,
472         "z": "252d9282.9374ae",
473         "wires": [
474             []
475         ]
476     },
477     {
478         "id": "fa07b3ee.3e2bd",
479         "type": "other",
480         "name": "other",
481         "xml": "<outcome value='Other'>\n",
482         "comments": "",
483         "outputs": 1,
484         "x": 725.1428375244141,
485         "y": 896.9642868041992,
486         "z": "252d9282.9374ae",
487         "wires": [
488             [
489                 "dc8bc4e.8f580b8"
490             ]
491         ]
492     },
493     {
494         "id": "b045a5.6f842258",
495         "type": "record",
496         "name": "record",
497         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"`'SS: resource-resolution-data.status: ' + $service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-topology.vnf-parameters-data.param[$pidx].resource-resolution-data.status`\"/>\n<parameter name=\"field2\" value=\"`'SS: ss.capability-name: ' + $ss.capability-name`\"/>",
498         "comments": "",
499         "outputs": 1,
500         "x": 1095.4285888671875,
501         "y": 896.9643923895701,
502         "z": "252d9282.9374ae",
503         "wires": [
504             []
505         ]
506     },
507     {
508         "id": "dc8bc4e.8f580b8",
509         "type": "block",
510         "name": "block : atomic",
511         "xml": "<block atomic='true'>",
512         "atomic": "true",
513         "comments": "",
514         "outputs": 1,
515         "x": 911.8571319580078,
516         "y": 896.9643383026123,
517         "z": "252d9282.9374ae",
518         "wires": [
519             [
520                 "b045a5.6f842258",
521                 "52dbf114.d1abc"
522             ]
523         ]
524     },
525     {
526         "id": "1de371de.5b6456",
527         "type": "for",
528         "name": "for each vnf",
529         "xml": "<for index='idx' start='`$vnf-index + 1`' end='`$service-data.vnfs.vnf_length`' >\n",
530         "comments": "",
531         "outputs": 1,
532         "x": 915.6666145324707,
533         "y": 1255.9525175094604,
534         "z": "252d9282.9374ae",
535         "wires": [
536             [
537                 "a5b6b8ba.4ebf4"
538             ]
539         ]
540     },
541     {
542         "id": "a90545d8.1a2728",
543         "type": "comment",
544         "name": "Remove VNF from service data",
545         "info": "",
546         "comments": "",
547         "x": 327.825382232666,
548         "y": 1214.524169921875,
549         "z": "252d9282.9374ae",
550         "wires": []
551     },
552     {
553         "id": "a5b6b8ba.4ebf4",
554         "type": "set",
555         "name": "move vnf to remove one",
556         "xml": "<set>\n\t<parameter name=\"$tmpidx\" value=\"`$idx - 1`\"/>\n\t<parameter name=\"service-data.vnfs.vnf[$tmpidx].\" value=\"$service-data.vnfs.vnf[$idx].\" />\n\t\n",
557         "comments": "",
558         "x": 1149.2577476501465,
559         "y": 1254.976469039917,
560         "z": "252d9282.9374ae",
561         "wires": []
562     },
563     {
564         "id": "2163e816.27402",
565         "type": "switchNode",
566         "name": "switch vnf_length",
567         "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
568         "comments": "",
569         "outputs": 1,
570         "x": 371.92447662353516,
571         "y": 1257.5321464538574,
572         "z": "252d9282.9374ae",
573         "wires": [
574             [
575                 "db4581e7.f5001",
576                 "4742a047.92dc2"
577             ]
578         ]
579     },
580     {
581         "id": "db4581e7.f5001",
582         "type": "outcome",
583         "name": "1",
584         "xml": "<outcome value='1'>\n",
585         "comments": "",
586         "outputs": 1,
587         "x": 548.9245185852051,
588         "y": 1218.198733329773,
589         "z": "252d9282.9374ae",
590         "wires": [
591             [
592                 "d699690.c208a18"
593             ]
594         ]
595     },
596     {
597         "id": "d699690.c208a18",
598         "type": "set",
599         "name": "Remove vnfs",
600         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.\" value=\"\"/>\n\n",
601         "comments": "",
602         "x": 712.5910148620605,
603         "y": 1218.1988325119019,
604         "z": "252d9282.9374ae",
605         "wires": []
606     },
607     {
608         "id": "4742a047.92dc2",
609         "type": "other",
610         "name": "other",
611         "xml": "<outcome value='Other'>\n",
612         "comments": "",
613         "outputs": 1,
614         "x": 550.4484100341797,
615         "y": 1301.6748723983765,
616         "z": "252d9282.9374ae",
617         "wires": [
618             [
619                 "f5197751.96d6b8"
620             ]
621         ]
622     },
623     {
624         "id": "8416ad4e.28c64",
625         "type": "set",
626         "name": "set new vnf length",
627         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf_length\" value=\"`$service-data.vnfs.vnf_length - 1`\"/>\n\n\t\n",
628         "comments": "",
629         "x": 935.220703125,
630         "y": 1346.532091140747,
631         "z": "252d9282.9374ae",
632         "wires": []
633     },
634     {
635         "id": "225e71ff.ef5996",
636         "type": "set",
637         "name": "Remove the last vnf in the list",
638         "xml": "<set>\n\t<parameter name=\"service-data.vnfs.vnf[$service-data.vnfs.vnf_length-1].\" value=\"\"/>\n\n",
639         "comments": "",
640         "x": 970.9243583679199,
641         "y": 1301.6431121826172,
642         "z": "252d9282.9374ae",
643         "wires": []
644     },
645     {
646         "id": "f5197751.96d6b8",
647         "type": "block",
648         "name": "block : atomic",
649         "xml": "<block atomic=\"true\">",
650         "atomic": "true",
651         "outputs": 1,
652         "x": 716.2577514648438,
653         "y": 1302.1986532211304,
654         "z": "252d9282.9374ae",
655         "wires": [
656             [
657                 "1de371de.5b6456",
658                 "225e71ff.ef5996",
659                 "8416ad4e.28c64"
660             ]
661         ]
662     }
663 ]