Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_sdwan-vnf-topology-operation-device-create.json
1 [
2   {
3     "id": "fd0440a.ecd51c",
4     "type": "service-logic",
5     "name": "GENERIC-RESOURCE-API ${project.version}",
6     "module": "GENERIC-RESOURCE-API",
7     "version": "${project.version}",
8     "comments": "",
9     "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}'>",
10     "outputs": 1,
11     "x": 196,
12     "y": 82.23810958862305,
13     "z": "842fbc05.cce04",
14     "wires": [
15       [
16         "127bb9c5.150526"
17       ]
18     ]
19   },
20   {
21     "id": "e5b0a995.906238",
22     "type": "dgstart",
23     "name": "DGSTART",
24     "outputs": 1,
25     "x": 116.71429443359375,
26     "y": 20,
27     "z": "842fbc05.cce04",
28     "wires": [
29       [
30         "fd0440a.ecd51c"
31       ]
32     ]
33   },
34   {
35     "id": "23553cdf.889914",
36     "type": "block",
37     "name": "block : atomic",
38     "xml": "<block atomic=\"true\">",
39     "atomic": "true",
40     "outputs": 1,
41     "x": 197.3809585571289,
42     "y": 343.66666984558105,
43     "z": "842fbc05.cce04",
44     "wires": [
45       [
46         "bf0f7a26.a11068",
47         "f71d7490.89bd28",
48         "ed1f7a5f.52aa38",
49         "20a30a30.b04286",
50         "1a809147.c1ebef",
51         "53d08385.3ed46c",
52         "d658c8ee.f13848",
53         "8e20e633.b9b588",
54         "61dc4d5e.3ba864",
55         "43e73a53.fc83c4",
56         "ff98826e.6bc6d",
57         "60a78e84.5e55"
58       ]
59     ]
60   },
61   {
62     "id": "f71d7490.89bd28",
63     "type": "returnSuccess",
64     "name": "return success",
65     "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",
66     "comments": "",
67     "x": 578.0479011535645,
68     "y": 965.3337297439575,
69     "z": "842fbc05.cce04",
70     "wires": []
71   },
72   {
73     "id": "bf0f7a26.a11068",
74     "type": "set",
75     "name": "set vnf-level-oper-status to Created",
76     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Created' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].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[$vnf-index].vnf-data.vnf-level-oper-status.last-action' value='`$vnf-topology-operation-input.request-information.request-action`' />\n",
77     "comments": "",
78     "x": 667.5279121398926,
79     "y": 697.6708345413208,
80     "z": "842fbc05.cce04",
81     "wires": []
82   },
83   {
84     "id": "20a30a30.b04286",
85     "type": "set",
86     "name": "copy input data to service data",
87     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.sdnc-request-header.' value='`$vnf-topology-operation-input.sdnc-request-header.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.request-information.' value='`$vnf-topology-operation-input.request-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.' value='`$vnf-topology-operation-input.service-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-information.' value='`$vnf-topology-operation-input.vnf-information.`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />",
88     "comments": "",
89     "x": 645.381103515625,
90     "y": 753.667010307312,
91     "z": "842fbc05.cce04",
92     "wires": []
93   },
94   {
95     "id": "ef25e38.ee9742",
96     "type": "save",
97     "name": "save deviceInstance configuration in AAI",
98     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $prop.vnf-id' >\n<parameter name='device-id' value='`$prop.vnf-id`' />\n<parameter name='esn' value='`$prop.device.esn`' />\n<parameter name='device-name' value='`$prop.device.name`' />\n<parameter name='description' value='`$prop.device.description`' />\n<parameter name='vendor' value='`$prop.device.vendor`' />\n<parameter name='class' value='`$prop.device.class`' />\n<parameter name='type' value='`$prop.device.deviceModel`' />\n<parameter name='version' value='`$prop.device.version`' />\n<parameter name='system-ip' value='`$prop.device.systemIp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $prop.vnf-id  + '/vnf-data/'` \" />\n",
99     "comments": "",
100     "outputs": 1,
101     "x": 1123.7149963378906,
102     "y": 770.5563173294067,
103     "z": "842fbc05.cce04",
104     "wires": [
105       []
106     ]
107   },
108   {
109     "id": "127bb9c5.150526",
110     "type": "method",
111     "name": "method sdwan-vnf-topology-operation-device-create",
112     "xml": "<method rpc='sdwan-vnf-topology-operation-device-create' mode='sync'>\n",
113     "comments": "",
114     "outputs": 1,
115     "x": 207.71429443359375,
116     "y": 176.58634185791016,
117     "z": "842fbc05.cce04",
118     "wires": [
119       [
120         "23553cdf.889914"
121       ]
122     ]
123   },
124   {
125     "id": "ed1f7a5f.52aa38",
126     "type": "set",
127     "name": "set vnfId and vnf-object-path",
128     "xml": "<set>\n<parameter name='vnfId' value='`$prop.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/'  + $prop.vnf-id  + '/vnf-data/'` \" />",
129     "comments": "",
130     "x": 648.7145538330078,
131     "y": 646.5866470336914,
132     "z": "842fbc05.cce04",
133     "wires": []
134   },
135   {
136     "id": "abbdb9a7.a00168",
137     "type": "set",
138     "name": "set deviceId to service data",
139     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-id`' />\n",
140     "comments": "",
141     "x": 654.7147064208984,
142     "y": 598.5868940353394,
143     "z": "842fbc05.cce04",
144     "wires": []
145   },
146   {
147     "id": "c106be0b.38899",
148     "type": "comment",
149     "name": "AAI resource need to update",
150     "info": "",
151     "comments": "",
152     "x": 969.714599609375,
153     "y": 724.5867567062378,
154     "z": "842fbc05.cce04",
155     "wires": []
156   },
157   {
158     "id": "63a58c6c.370174",
159     "type": "execute",
160     "name": "execute generate-vnf-id",
161     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vnf-id\"/>\n",
162     "comments": "",
163     "outputs": 1,
164     "x": 1153.7149810791016,
165     "y": 111.58645248413086,
166     "z": "842fbc05.cce04",
167     "wires": [
168       []
169     ]
170   },
171   {
172     "id": "60a78e84.5e55",
173     "type": "save",
174     "name": "save service relationship in AAI",
175     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id \n         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id \n         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"device\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/devices/device/' + $prop.vnf-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"device.device-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />",
176     "comments": "",
177     "outputs": 1,
178     "x": 635.7148551940918,
179     "y": 920.3336315155029,
180     "z": "842fbc05.cce04",
181     "wires": [
182       []
183     ]
184   },
185   {
186     "id": "1a809147.c1ebef",
187     "type": "switchNode",
188     "name": "switch vnf-id",
189     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-information.vnf-id`\">\n",
190     "comments": "",
191     "outputs": 1,
192     "x": 617.7144012451172,
193     "y": 215.23787117004395,
194     "z": "842fbc05.cce04",
195     "wires": [
196       [
197         "ecde6b48.bbfc48",
198         "1019aeef.5808d1"
199       ]
200     ]
201   },
202   {
203     "id": "ecde6b48.bbfc48",
204     "type": "outcome",
205     "name": "NULL",
206     "xml": "<outcome value=''>",
207     "comments": "",
208     "outputs": 1,
209     "x": 758.7144050598145,
210     "y": 190.2378625869751,
211     "z": "842fbc05.cce04",
212     "wires": [
213       [
214         "81003234.70dcc"
215       ]
216     ]
217   },
218   {
219     "id": "81003234.70dcc",
220     "type": "block",
221     "name": "block : atomic",
222     "xml": "<block atomic=\"true\">",
223     "atomic": "true",
224     "outputs": 1,
225     "x": 906.7145080566406,
226     "y": 126.23785495758057,
227     "z": "842fbc05.cce04",
228     "wires": [
229       [
230         "63a58c6c.370174",
231         "69aa8a5d.0ac9a4",
232         "6eb09a3f.09bc74"
233       ]
234     ]
235   },
236   {
237     "id": "1019aeef.5808d1",
238     "type": "other",
239     "name": "other",
240     "xml": "<outcome value='Other'>\n",
241     "comments": "",
242     "outputs": 1,
243     "x": 755.2455825805664,
244     "y": 250.26910018920898,
245     "z": "842fbc05.cce04",
246     "wires": [
247       [
248         "b2303be.abcc1c8"
249       ]
250     ]
251   },
252   {
253     "id": "fe4dccde.57bcf",
254     "type": "set",
255     "name": "set prop.vnf-id",
256     "xml": "<set>\n<parameter name='prop.vnf-id' value='`$vnf-topology-operation-input.vnf-information.vnf-id`' />\n",
257     "comments": "",
258     "x": 1094.246337890625,
259     "y": 329.2694733142853,
260     "z": "842fbc05.cce04",
261     "wires": []
262   },
263   {
264     "id": "b2303be.abcc1c8",
265     "type": "block",
266     "name": "block : atomic",
267     "xml": "<block atomic=\"true\">",
268     "atomic": "true",
269     "outputs": 1,
270     "x": 906.2460021972656,
271     "y": 282.2692222595215,
272     "z": "842fbc05.cce04",
273     "wires": [
274       [
275         "fe4dccde.57bcf",
276         "6eb09a3f.09bc74",
277         "d5a722bf.9d266"
278       ]
279     ]
280   },
281   {
282     "id": "53d08385.3ed46c",
283     "type": "set",
284     "name": "set prop.sdncCreate=false",
285     "xml": "<set>\n<parameter name='prop.sdncCreate' value='false' />\n",
286     "comments": "",
287     "x": 692.2456512451172,
288     "y": 106.26909446716309,
289     "z": "842fbc05.cce04",
290     "wires": []
291   },
292   {
293     "id": "d658c8ee.f13848",
294     "type": "switchNode",
295     "name": "switch prop.sdncCreate",
296     "xml": "<switch test='`$prop.sdncCreate`'>\n",
297     "comments": "",
298     "outputs": 1,
299     "x": 614.7459869384766,
300     "y": 800.2695140838623,
301     "z": "842fbc05.cce04",
302     "wires": [
303       [
304         "be0155ce.278c18",
305         "f63d8c0c.a2846"
306       ]
307     ]
308   },
309   {
310     "id": "be0155ce.278c18",
311     "type": "outcomeTrue",
312     "name": "true",
313     "xml": "<outcome value='true'>\n",
314     "comments": "",
315     "outputs": 1,
316     "x": 860.7457580566406,
317     "y": 770.769250869751,
318     "z": "842fbc05.cce04",
319     "wires": [
320       [
321         "ef25e38.ee9742"
322       ]
323     ]
324   },
325   {
326     "id": "f63d8c0c.a2846",
327     "type": "outcomeTrue",
328     "name": "false",
329     "xml": "<outcome value='false'>\n",
330     "comments": "",
331     "outputs": 1,
332     "x": 862.2457427978516,
333     "y": 825.7692651748657,
334     "z": "842fbc05.cce04",
335     "wires": [
336       [
337         "2097a67.fbc2c5a"
338       ]
339     ]
340   },
341   {
342     "id": "69aa8a5d.0ac9a4",
343     "type": "set",
344     "name": "set prop.updateAAIsdncCreate",
345     "xml": "<set>\n<parameter name='prop.sdncCreate' value='true' />\n",
346     "comments": "",
347     "x": 1171.2460708618164,
348     "y": 71.26917839050293,
349     "z": "842fbc05.cce04",
350     "wires": []
351   },
352   {
353     "id": "8e20e633.b9b588",
354     "type": "for",
355     "name": "for loop idx - VNF input parameters",
356     "xml": "<for index=\"idx\" start=\"0\" end=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param_length`\">\n",
357     "comments": "",
358     "outputs": 1,
359     "x": 680.2457275390625,
360     "y": 400.2691287994385,
361     "z": "842fbc05.cce04",
362     "wires": [
363       [
364         "6a3b248.f431cdc"
365       ]
366     ]
367   },
368   {
369     "id": "6a3b248.f431cdc",
370     "type": "block",
371     "name": "block",
372     "xml": "<block>\n",
373     "atomic": "false",
374     "comments": "",
375     "outputs": 1,
376     "x": 895.0240707397461,
377     "y": 397.8247127532959,
378     "z": "842fbc05.cce04",
379     "wires": [
380       [
381         "c1af467b.da6408",
382         "b9f2cae.04bc638"
383       ]
384     ]
385   },
386   {
387     "id": "b9f2cae.04bc638",
388     "type": "set",
389     "name": "set parameterName",
390     "xml": "<set>\n<parameter name=\"`vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`\" value='`$param-prefix[$param-prefix_length -1]`'/>\n",
391     "comments": "",
392     "x": 1060.7247009277344,
393     "y": 412.5729675292969,
394     "z": "842fbc05.cce04",
395     "wires": []
396   },
397   {
398     "id": "c1af467b.da6408",
399     "type": "execute",
400     "name": "execute split parameterName",
401     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name`'/>\n<parameter name=\"regex\" value=\"_\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix\"/>\n",
402     "comments": "",
403     "outputs": 1,
404     "x": 1091.2802734375,
405     "y": 375.5728511810303,
406     "z": "842fbc05.cce04",
407     "wires": [
408       []
409     ]
410   },
411   {
412     "id": "61dc4d5e.3ba864",
413     "type": "set",
414     "name": "set vnf-request-input.",
415     "xml": "<set>\n<parameter name='vnf-request-input.' value='`$vnf-topology-operation-input.vnf-request-input.`' />\n",
416     "comments": "",
417     "x": 642.2453460693359,
418     "y": 474.593843460083,
419     "z": "842fbc05.cce04",
420     "wires": []
421   },
422   {
423     "id": "43e73a53.fc83c4",
424     "type": "call",
425     "name": "call sdwan-get-device-param",
426     "xml": "<call module='GENERIC-RESOURCE-API' rpc='sdwan-get-device-param' mode='sync' >\n",
427     "comments": "",
428     "outputs": 1,
429     "x": 667.2457275390625,
430     "y": 506.59400367736816,
431     "z": "842fbc05.cce04",
432     "wires": [
433       []
434     ]
435   },
436   {
437     "id": "98f6587a.b563b8",
438     "type": "comment",
439     "name": "if SO provide vnf-id use that else create new",
440     "info": "",
441     "comments": "",
442     "x": 709.2455749511719,
443     "y": 160.26910400390625,
444     "z": "842fbc05.cce04",
445     "wires": []
446   },
447   {
448     "id": "6eb09a3f.09bc74",
449     "type": "block",
450     "name": "block : atomic",
451     "xml": "<block atomic=\"true\">",
452     "atomic": "true",
453     "outputs": 1,
454     "x": 1114.746078491211,
455     "y": 208.26919746398926,
456     "z": "842fbc05.cce04",
457     "wires": [
458       [
459         "10311b8f.214a74",
460         "d0785948.131e88"
461       ]
462     ]
463   },
464   {
465     "id": "10311b8f.214a74",
466     "type": "switchNode",
467     "name": "switch service-data.vnfs.vnf_length",
468     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
469     "comments": "",
470     "outputs": 1,
471     "x": 1358.7459678649902,
472     "y": 165.26919078826904,
473     "z": "842fbc05.cce04",
474     "wires": [
475       [
476         "e8ee65b6.e0bb98",
477         "8e4d05a7.18d778"
478       ]
479     ]
480   },
481   {
482     "id": "e8ee65b6.e0bb98",
483     "type": "other",
484     "name": "NULL",
485     "xml": "<outcome value=''>\n",
486     "comments": "",
487     "outputs": 1,
488     "x": 1572.460350036621,
489     "y": 148.41196155548096,
490     "z": "842fbc05.cce04",
491     "wires": [
492       [
493         "2bb1c8ad.9ae4c8"
494       ]
495     ]
496   },
497   {
498     "id": "2bb1c8ad.9ae4c8",
499     "type": "set",
500     "name": "set vnf-index=0",
501     "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
502     "comments": "",
503     "x": 1720.7459983825684,
504     "y": 145.412015914917,
505     "z": "842fbc05.cce04",
506     "wires": []
507   },
508   {
509     "id": "8e4d05a7.18d778",
510     "type": "other",
511     "name": "other",
512     "xml": "<outcome value='Other'>\n",
513     "comments": "",
514     "outputs": 1,
515     "x": 1575.8888473510742,
516     "y": 193.69775295257568,
517     "z": "842fbc05.cce04",
518     "wires": [
519       [
520         "20358c1.fc83f74"
521       ]
522     ]
523   },
524   {
525     "id": "20358c1.fc83f74",
526     "type": "set",
527     "name": "set vnf-index = vnf_length",
528     "xml": "<set>\n<parameter name='vnf-index' value='`$service-data.vnfs.vnf_length`' />\n",
529     "comments": "",
530     "x": 1759.7465896606445,
531     "y": 193.98352146148682,
532     "z": "842fbc05.cce04",
533     "wires": []
534   },
535   {
536     "id": "d0785948.131e88",
537     "type": "set",
538     "name": "set new vnf_length",
539     "xml": "<set>\n<parameter name='service-data.vnfs.vnf_length' value='`$vnf-index + 1`' />\n",
540     "comments": "",
541     "x": 1305.746109008789,
542     "y": 213.26918148994446,
543     "z": "842fbc05.cce04",
544     "wires": []
545   },
546   {
547     "id": "2097a67.fbc2c5a",
548     "type": "save",
549     "name": "update deviceInstance configuration in AAI",
550     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='device' \n      key='device.device-id = $prop.vnf-id' >\n<parameter name='device-id' value='`$prop.vnf-id`' />\n<parameter name='esn' value='`$prop.device.esn`' />\n<parameter name='device-name' value='`$prop.device.name`' />\n<parameter name='description' value='`$prop.device.description`' />\n<parameter name='vendor' value='`$prop.device.vendor`' />\n<parameter name='class' value='`$prop.device.class`' />\n<parameter name='type' value='`$prop.device.deviceModel`' />\n<parameter name='version' value='`$prop.device.version`' />\n<parameter name='system-ip' value='`$prop.device.systemIp`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$vnf-topology-operation-input.vnf-information.onap-model-information.model-uuid`' />\n<parameter name='selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $vnf-topology-operation-input.service-information.service-instance-id  + '/service-data/vnfs/vnf/'  + $prop.vnf-id  + '/vnf-data/'` \" />\n",
551     "comments": "",
552     "outputs": 1,
553     "x": 1115.7455749511719,
554     "y": 828.269118309021,
555     "z": "842fbc05.cce04",
556     "wires": [
557       []
558     ]
559   },
560   {
561     "id": "d5a722bf.9d266",
562     "type": "for",
563     "name": "for each existing VNF",
564     "xml": "<for index='idx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
565     "comments": "",
566     "outputs": 1,
567     "x": 1121.7456130981445,
568     "y": 280.2691307067871,
569     "z": "842fbc05.cce04",
570     "wires": [
571       [
572         "aceae556.187d88"
573       ]
574     ]
575   },
576   {
577     "id": "7b2ea8f.f293e58",
578     "type": "outcomeTrue",
579     "name": "true",
580     "xml": "<outcome value='true'>\n",
581     "comments": "",
582     "outputs": 1,
583     "x": 1658.3174228668213,
584     "y": 328.4120855331421,
585     "z": "842fbc05.cce04",
586     "wires": [
587       [
588         "6db207f2.3f0a88"
589       ]
590     ]
591   },
592   {
593     "id": "6db207f2.3f0a88",
594     "type": "returnFailure",
595     "name": "return failure",
596     "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 id ' + $service-data.vnfs.vnf[$idx].vnf-id\n      + ' already exists, and has order status ' + $service-data.vnfs.vnf[$idx].vnf-data.vnf-level-oper-status.order-status`\" />\n",
597     "comments": "",
598     "x": 1796.888780593872,
599     "y": 328.4120464324951,
600     "z": "842fbc05.cce04",
601     "wires": []
602   },
603   {
604     "id": "f8ea0727.32b188",
605     "type": "comment",
606     "name": "make sure this vnf-id doesn't exist already",
607     "info": "",
608     "comments": "",
609     "x": 1752.1738967895508,
610     "y": 457.41196870803833,
611     "z": "842fbc05.cce04",
612     "wires": []
613   },
614   {
615     "id": "aceae556.187d88",
616     "type": "switchNode",
617     "name": "switch vnf-information.vnf-id == service-data.vnfs.vnf[].vnf-id",
618     "xml": "<switch test='`$vnf-topology-operation-input.vnf-information.vnf-id == $service-data.vnfs.vnf[$idx].vnf-id`'>\n",
619     "comments": "",
620     "outputs": 1,
621     "x": 1460.745620727539,
622     "y": 281.26913356781006,
623     "z": "842fbc05.cce04",
624     "wires": [
625       [
626         "7b2ea8f.f293e58"
627       ]
628     ]
629   },
630   {
631     "id": "ff98826e.6bc6d",
632     "type": "set",
633     "name": "set sdncCreate to service data",
634     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param_length].name' value=\"sdncCreate\" />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param[$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param_length].value' value='`$prop.sdncCreate`' />\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param_length' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-request-input.vnf-input-parameters.param_length + 1`' />\n",
635     "comments": "",
636     "x": 628.745662689209,
637     "y": 861.269121170044,
638     "z": "842fbc05.cce04",
639     "wires": []
640   }
641 ]