SDWAN flow based end-end test and issue fix
[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": "9cb483d7.ff8df",
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": 183.78570556640625,
12     "y": 145.0002658367157,
13     "z": "f234e69c.c27828",
14     "wires": [
15       [
16         "82081d1c.b4352"
17       ]
18     ]
19   },
20   {
21     "id": "a3a5e35d.08a8b",
22     "type": "dgstart",
23     "name": "DGSTART",
24     "outputs": 1,
25     "x": 104.5,
26     "y": 82.76215624809265,
27     "z": "f234e69c.c27828",
28     "wires": [
29       [
30         "9cb483d7.ff8df"
31       ]
32     ]
33   },
34   {
35     "id": "194cf25c.9d64be",
36     "type": "block",
37     "name": "block : atomic",
38     "xml": "<block atomic=\"true\">",
39     "atomic": "true",
40     "outputs": 1,
41     "x": 185.16666412353516,
42     "y": 406.4288260936737,
43     "z": "f234e69c.c27828",
44     "wires": [
45       [
46         "12b7db37.f7ff25",
47         "94ec7644.8f3208",
48         "d463d74.bf70428",
49         "ade80aa2.c72f18",
50         "d76d180.81a43e8",
51         "d4716c92.1b3cb",
52         "1202a9f6.764af6",
53         "50fb4440.68b56c",
54         "35434662.4bcfda",
55         "b21ec7e.52c2938",
56         "93472449.69d418",
57         "9bf97976.fa1928"
58       ]
59     ]
60   },
61   {
62     "id": "94ec7644.8f3208",
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": 565.8336067199707,
68     "y": 1028.0958859920502,
69     "z": "f234e69c.c27828",
70     "wires": []
71   },
72   {
73     "id": "12b7db37.f7ff25",
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": 655.3136177062988,
79     "y": 760.4329907894135,
80     "z": "f234e69c.c27828",
81     "wires": []
82   },
83   {
84     "id": "ade80aa2.c72f18",
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": 633.1668090820312,
90     "y": 816.4291665554047,
91     "z": "f234e69c.c27828",
92     "wires": []
93   },
94   {
95     "id": "bf289ee9.17eee",
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.id = $prop.vnf-id' >\n<parameter name='id' value='`$prop.vnf-id`' />\n<parameter name='esn' value='`$prop.device.name`' />\n<parameter name='name' value=\"true\" />\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": 1111.5007019042969,
102     "y": 833.3184735774994,
103     "z": "f234e69c.c27828",
104     "wires": [
105       []
106     ]
107   },
108   {
109     "id": "82081d1c.b4352",
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": 195.5,
116     "y": 239.3484981060028,
117     "z": "f234e69c.c27828",
118     "wires": [
119       [
120         "194cf25c.9d64be"
121       ]
122     ]
123   },
124   {
125     "id": "d463d74.bf70428",
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": 636.5002593994141,
131     "y": 709.3488032817841,
132     "z": "f234e69c.c27828",
133     "wires": []
134   },
135   {
136     "id": "b128ad93.6f9ac",
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": 642.5004119873047,
142     "y": 661.349050283432,
143     "z": "f234e69c.c27828",
144     "wires": []
145   },
146   {
147     "id": "de11064d.94a5d8",
148     "type": "comment",
149     "name": "AAI resource need to update",
150     "info": "",
151     "comments": "",
152     "x": 957.5003051757812,
153     "y": 787.3489129543304,
154     "z": "f234e69c.c27828",
155     "wires": []
156   },
157   {
158     "id": "4f128f3f.350cf",
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": 1141.5006866455078,
165     "y": 174.3486087322235,
166     "z": "f234e69c.c27828",
167     "wires": [
168       []
169     ]
170   },
171   {
172     "id": "9bf97976.fa1928",
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.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-id`\" />",
176     "comments": "",
177     "outputs": 1,
178     "x": 623.500560760498,
179     "y": 983.0957877635956,
180     "z": "f234e69c.c27828",
181     "wires": [
182       []
183     ]
184   },
185   {
186     "id": "d76d180.81a43e8",
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": 605.5001068115234,
193     "y": 278.0000274181366,
194     "z": "f234e69c.c27828",
195     "wires": [
196       [
197         "621f97e2.b689f8",
198         "786ad46d.cda56c"
199       ]
200     ]
201   },
202   {
203     "id": "621f97e2.b689f8",
204     "type": "outcome",
205     "name": "NULL",
206     "xml": "<outcome value=''>",
207     "comments": "",
208     "outputs": 1,
209     "x": 746.5001106262207,
210     "y": 253.00001883506775,
211     "z": "f234e69c.c27828",
212     "wires": [
213       [
214         "ef09f155.972b9"
215       ]
216     ]
217   },
218   {
219     "id": "ef09f155.972b9",
220     "type": "block",
221     "name": "block : atomic",
222     "xml": "<block atomic=\"true\">",
223     "atomic": "true",
224     "outputs": 1,
225     "x": 894.5002136230469,
226     "y": 189.00001120567322,
227     "z": "f234e69c.c27828",
228     "wires": [
229       [
230         "4f128f3f.350cf",
231         "e345eb47.17b7c8",
232         "82623d50.b5d47"
233       ]
234     ]
235   },
236   {
237     "id": "786ad46d.cda56c",
238     "type": "other",
239     "name": "other",
240     "xml": "<outcome value='Other'>\n",
241     "comments": "",
242     "outputs": 1,
243     "x": 743.0312881469727,
244     "y": 313.03125643730164,
245     "z": "f234e69c.c27828",
246     "wires": [
247       [
248         "b8aff249.035f2"
249       ]
250     ]
251   },
252   {
253     "id": "8bf27ffe.7192e",
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": 1082.0320434570312,
259     "y": 392.03162956237793,
260     "z": "f234e69c.c27828",
261     "wires": []
262   },
263   {
264     "id": "b8aff249.035f2",
265     "type": "block",
266     "name": "block : atomic",
267     "xml": "<block atomic=\"true\">",
268     "atomic": "true",
269     "outputs": 1,
270     "x": 894.0317077636719,
271     "y": 345.03137850761414,
272     "z": "f234e69c.c27828",
273     "wires": [
274       [
275         "8bf27ffe.7192e",
276         "82623d50.b5d47",
277         "ac207b07.0b4de8"
278       ]
279     ]
280   },
281   {
282     "id": "d4716c92.1b3cb",
283     "type": "set",
284     "name": "set prop.sdncCreate=false",
285     "xml": "<set>\n<parameter name='prop.sdncCreate' value='false' />\n",
286     "comments": "",
287     "x": 680.0313568115234,
288     "y": 169.03125071525574,
289     "z": "f234e69c.c27828",
290     "wires": []
291   },
292   {
293     "id": "1202a9f6.764af6",
294     "type": "switchNode",
295     "name": "switch prop.sdncCreate",
296     "xml": "<switch test='`$prop.sdncCreate`'>\n",
297     "comments": "",
298     "outputs": 1,
299     "x": 602.5316925048828,
300     "y": 863.031670331955,
301     "z": "f234e69c.c27828",
302     "wires": [
303       [
304         "a65c4106.c8fe7",
305         "b49509b2.10c3c8"
306       ]
307     ]
308   },
309   {
310     "id": "a65c4106.c8fe7",
311     "type": "outcomeTrue",
312     "name": "true",
313     "xml": "<outcome value='true'>\n",
314     "comments": "",
315     "outputs": 1,
316     "x": 848.5314636230469,
317     "y": 833.5314071178436,
318     "z": "f234e69c.c27828",
319     "wires": [
320       [
321         "bf289ee9.17eee"
322       ]
323     ]
324   },
325   {
326     "id": "b49509b2.10c3c8",
327     "type": "outcomeTrue",
328     "name": "false",
329     "xml": "<outcome value='false'>\n",
330     "comments": "",
331     "outputs": 1,
332     "x": 850.0314483642578,
333     "y": 888.5314214229584,
334     "z": "f234e69c.c27828",
335     "wires": [
336       [
337         "593b4cfd.497904"
338       ]
339     ]
340   },
341   {
342     "id": "e345eb47.17b7c8",
343     "type": "set",
344     "name": "set prop.updateAAIsdncCreate",
345     "xml": "<set>\n<parameter name='prop.sdncCreate' value='true' />\n",
346     "comments": "",
347     "x": 1159.0317764282227,
348     "y": 134.03133463859558,
349     "z": "f234e69c.c27828",
350     "wires": []
351   },
352   {
353     "id": "50fb4440.68b56c",
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": 668.0314331054688,
360     "y": 463.0312850475311,
361     "z": "f234e69c.c27828",
362     "wires": [
363       [
364         "d8830e39.7254c"
365       ]
366     ]
367   },
368   {
369     "id": "d8830e39.7254c",
370     "type": "block",
371     "name": "block",
372     "xml": "<block>\n",
373     "atomic": "false",
374     "comments": "",
375     "outputs": 1,
376     "x": 882.8097763061523,
377     "y": 460.58686900138855,
378     "z": "f234e69c.c27828",
379     "wires": [
380       [
381         "6cb4a749.692908",
382         "24244ebf.8f5572"
383       ]
384     ]
385   },
386   {
387     "id": "24244ebf.8f5572",
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": 1048.5104064941406,
393     "y": 475.3351237773895,
394     "z": "f234e69c.c27828",
395     "wires": []
396   },
397   {
398     "id": "6cb4a749.692908",
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": 1079.0659790039062,
405     "y": 438.3350074291229,
406     "z": "f234e69c.c27828",
407     "wires": [
408       []
409     ]
410   },
411   {
412     "id": "35434662.4bcfda",
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": 630.0310516357422,
418     "y": 537.3559997081757,
419     "z": "f234e69c.c27828",
420     "wires": []
421   },
422   {
423     "id": "b21ec7e.52c2938",
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": 655.0314331054688,
430     "y": 569.3561599254608,
431     "z": "f234e69c.c27828",
432     "wires": [
433       []
434     ]
435   },
436   {
437     "id": "bcf057ee.ac0fd8",
438     "type": "comment",
439     "name": "if SO provide vnf-id use that else create new",
440     "info": "",
441     "comments": "",
442     "x": 697.0312805175781,
443     "y": 223.0312602519989,
444     "z": "f234e69c.c27828",
445     "wires": []
446   },
447   {
448     "id": "82623d50.b5d47",
449     "type": "block",
450     "name": "block : atomic",
451     "xml": "<block atomic=\"true\">",
452     "atomic": "true",
453     "outputs": 1,
454     "x": 1102.5317840576172,
455     "y": 271.0313537120819,
456     "z": "f234e69c.c27828",
457     "wires": [
458       [
459         "d5e68c18.6d168",
460         "2bfd5f0a.c7681"
461       ]
462     ]
463   },
464   {
465     "id": "d5e68c18.6d168",
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": 1346.5316734313965,
472     "y": 228.0313470363617,
473     "z": "f234e69c.c27828",
474     "wires": [
475       [
476         "f59d1f3f.83f78",
477         "475c8f31.8dce6"
478       ]
479     ]
480   },
481   {
482     "id": "f59d1f3f.83f78",
483     "type": "other",
484     "name": "NULL",
485     "xml": "<outcome value=''>\n",
486     "comments": "",
487     "outputs": 1,
488     "x": 1560.2460556030273,
489     "y": 211.1741178035736,
490     "z": "f234e69c.c27828",
491     "wires": [
492       [
493         "b1cc315c.65ade"
494       ]
495     ]
496   },
497   {
498     "id": "b1cc315c.65ade",
499     "type": "set",
500     "name": "set vnf-index=0",
501     "xml": "<set>\n<parameter name='vnf-index' value='0' />\n",
502     "comments": "",
503     "x": 1708.5317039489746,
504     "y": 208.17417216300964,
505     "z": "f234e69c.c27828",
506     "wires": []
507   },
508   {
509     "id": "475c8f31.8dce6",
510     "type": "other",
511     "name": "other",
512     "xml": "<outcome value='Other'>\n",
513     "comments": "",
514     "outputs": 1,
515     "x": 1563.6745529174805,
516     "y": 256.45990920066833,
517     "z": "f234e69c.c27828",
518     "wires": [
519       [
520         "f950bc3f.5973b"
521       ]
522     ]
523   },
524   {
525     "id": "f950bc3f.5973b",
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": 1747.5322952270508,
531     "y": 256.74567770957947,
532     "z": "f234e69c.c27828",
533     "wires": []
534   },
535   {
536     "id": "2bfd5f0a.c7681",
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": 1293.5318145751953,
542     "y": 276.0313377380371,
543     "z": "f234e69c.c27828",
544     "wires": []
545   },
546   {
547     "id": "593b4cfd.497904",
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.id = $prop.vnf-id' >\n<parameter name='id' value='`$prop.vnf-id`' />\n<parameter name='esn' value='`$prop.device.name`' />\n<parameter name='name' value=\"true\" />\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": 1103.5312805175781,
554     "y": 891.0312745571136,
555     "z": "f234e69c.c27828",
556     "wires": [
557       []
558     ]
559   },
560   {
561     "id": "ac207b07.0b4de8",
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": 1109.5313186645508,
568     "y": 343.03128695487976,
569     "z": "f234e69c.c27828",
570     "wires": [
571       [
572         "d4f21952.f2dd68"
573       ]
574     ]
575   },
576   {
577     "id": "4fb64c02.89a0b4",
578     "type": "outcomeTrue",
579     "name": "true",
580     "xml": "<outcome value='true'>\n",
581     "comments": "",
582     "outputs": 1,
583     "x": 1646.1031284332275,
584     "y": 391.17424178123474,
585     "z": "f234e69c.c27828",
586     "wires": [
587       [
588         "1752f719.1e90a9"
589       ]
590     ]
591   },
592   {
593     "id": "1752f719.1e90a9",
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": 1784.6744861602783,
599     "y": 391.17420268058777,
600     "z": "f234e69c.c27828",
601     "wires": []
602   },
603   {
604     "id": "1b529b77.5e22e5",
605     "type": "comment",
606     "name": "make sure this vnf-id doesn't exist already",
607     "info": "",
608     "comments": "",
609     "x": 1739.959602355957,
610     "y": 520.174124956131,
611     "z": "f234e69c.c27828",
612     "wires": []
613   },
614   {
615     "id": "d4f21952.f2dd68",
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": 1448.5313262939453,
622     "y": 344.0312898159027,
623     "z": "f234e69c.c27828",
624     "wires": [
625       [
626         "4fb64c02.89a0b4"
627       ]
628     ]
629   },
630   {
631     "id": "93472449.69d418",
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": 616.5313682556152,
637     "y": 924.0312774181366,
638     "z": "f234e69c.c27828",
639     "wires": []
640   }
641 ]