c640ab5b5e81cdcb129102292eca42c47971b135
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_site-vnf-topology-operation-activate.json
1 [
2   {
3     "id": "8213d9f3.3e3b78",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 134.01040649414062,
8     "y": 78.01041412353516,
9     "z": "68309cb5.9fbe94",
10     "wires": [
11       [
12         "3fd007b3.454158"
13       ]
14     ]
15   },
16   {
17     "id": "3fd007b3.454158",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
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}'>",
24     "outputs": 1,
25     "x": 209.29611206054688,
26     "y": 118.24852561950684,
27     "z": "68309cb5.9fbe94",
28     "wires": [
29       [
30         "f3d8ce84.4fd8"
31       ]
32     ]
33   },
34   {
35     "id": "f3d8ce84.4fd8",
36     "type": "method",
37     "name": "method site-vnf-topology-operation-activate",
38     "xml": "<method rpc='site-vnf-topology-operation-activate' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 230.43902587890625,
42     "y": 208.01041412353516,
43     "z": "68309cb5.9fbe94",
44     "wires": [
45       [
46         "931047c0.e29ba8"
47       ]
48     ]
49   },
50   {
51     "id": "931047c0.e29ba8",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">",
55     "atomic": "true",
56     "outputs": 1,
57     "x": 210.67707061767578,
58     "y": 379.67708587646484,
59     "z": "68309cb5.9fbe94",
60     "wires": [
61       [
62         "87b79277.d3a8",
63         "443f31de.8f2cf",
64         "e48e518f.1dc2a",
65         "4a014615.6e9cf8",
66         "bf95d9ae.8087f8",
67         "c850e5af.e42fa8",
68         "b4c6f1a.73d561",
69         "d7008318.12e1b",
70         "3993fb6.79aca04",
71         "2b37bcac.68f084"
72       ]
73     ]
74   },
75   {
76     "id": "87b79277.d3a8",
77     "type": "for",
78     "name": "for loop i - VNF input parameters",
79     "xml": "<for index='idx' start='0' end='`$ctx.vnf-data.vnf-request-input.vnf-input-parameters.param_length`' >\n",
80     "comments": "",
81     "outputs": 1,
82     "x": 663.1151428222656,
83     "y": 267.0782470703125,
84     "z": "68309cb5.9fbe94",
85     "wires": [
86       [
87         "73aa520a.b2adbc"
88       ]
89     ]
90   },
91   {
92     "id": "73aa520a.b2adbc",
93     "type": "block",
94     "name": "block",
95     "xml": "<block>\n",
96     "atomic": "false",
97     "comments": "",
98     "outputs": 1,
99     "x": 909.893337726593,
100     "y": 267.6338765351102,
101     "z": "68309cb5.9fbe94",
102     "wires": [
103       [
104         "ac680e81.777c9",
105         "27ece0ee.53311",
106         "2e9d64a5.63180c",
107         "ad341ac7.a856e8",
108         "43160102.ca0c8",
109         "8a88d2d2.3cbb4"
110       ]
111     ]
112   },
113   {
114     "id": "ac680e81.777c9",
115     "type": "switchNode",
116     "name": "switch name",
117     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'name'`\">\n",
118     "comments": "",
119     "outputs": 1,
120     "x": 1115.1152267456055,
121     "y": 222.63385391235352,
122     "z": "68309cb5.9fbe94",
123     "wires": [
124       [
125         "f0bc6f88.f42a7"
126       ]
127     ]
128   },
129   {
130     "id": "f0bc6f88.f42a7",
131     "type": "outcomeTrue",
132     "name": "true",
133     "xml": "<outcome value='true'>\n",
134     "comments": "",
135     "outputs": 1,
136     "x": 1302.1152267456055,
137     "y": 218.63385391235352,
138     "z": "68309cb5.9fbe94",
139     "wires": [
140       [
141         "a80ac0f1.029e7"
142       ]
143     ]
144   },
145   {
146     "id": "a80ac0f1.029e7",
147     "type": "set",
148     "name": "set name",
149     "xml": "<set>\n<parameter name='prop.site.name' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
150     "comments": "",
151     "x": 1470.1152267456055,
152     "y": 219.23386001586914,
153     "z": "68309cb5.9fbe94",
154     "wires": [
155       
156     ]
157   },
158   {
159     "id": "27ece0ee.53311",
160     "type": "switchNode",
161     "name": "switch description",
162     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'description'`\">\n",
163     "comments": "",
164     "outputs": 1,
165     "x": 1132.9549446105957,
166     "y": 265.63384914398193,
167     "z": "68309cb5.9fbe94",
168     "wires": [
169       [
170         "3c96f97e.2329d6"
171       ]
172     ]
173   },
174   {
175     "id": "3c96f97e.2329d6",
176     "type": "outcomeTrue",
177     "name": "true",
178     "xml": "<outcome value='true'>\n",
179     "comments": "",
180     "outputs": 1,
181     "x": 1319.9549446105957,
182     "y": 261.63384914398193,
183     "z": "68309cb5.9fbe94",
184     "wires": [
185       [
186         "38a8969d.eda21a"
187       ]
188     ]
189   },
190   {
191     "id": "38a8969d.eda21a",
192     "type": "set",
193     "name": "set description",
194     "xml": "<set>\n<parameter name='prop.site.description' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
195     "comments": "",
196     "x": 1481.2884254455566,
197     "y": 261.09500885009766,
198     "z": "68309cb5.9fbe94",
199     "wires": [
200       
201     ]
202   },
203   {
204     "id": "2e9d64a5.63180c",
205     "type": "switchNode",
206     "name": "switch location",
207     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'location'`\">\n",
208     "comments": "",
209     "outputs": 1,
210     "x": 1123.04105758667,
211     "y": 308.0411911010742,
212     "z": "68309cb5.9fbe94",
213     "wires": [
214       [
215         "4384d4ab.76bf6c"
216       ]
217     ]
218   },
219   {
220     "id": "4384d4ab.76bf6c",
221     "type": "outcomeTrue",
222     "name": "true",
223     "xml": "<outcome value='true'>\n",
224     "comments": "",
225     "outputs": 1,
226     "x": 1310.04105758667,
227     "y": 304.0411911010742,
228     "z": "68309cb5.9fbe94",
229     "wires": [
230       [
231         "3079a852.4cd8f8"
232       ]
233     ]
234   },
235   {
236     "id": "3079a852.4cd8f8",
237     "type": "set",
238     "name": "set location",
239     "xml": "<set>\n<parameter name='prop.site.location' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
240     "comments": "",
241     "x": 1478.04105758667,
242     "y": 304.64119720458984,
243     "z": "68309cb5.9fbe94",
244     "wires": [
245       
246     ]
247   },
248   {
249     "id": "ad341ac7.a856e8",
250     "type": "switchNode",
251     "name": "switch id",
252     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'id'`\">\n",
253     "comments": "",
254     "outputs": 1,
255     "x": 1113.0103759765625,
256     "y": 176.607177734375,
257     "z": "68309cb5.9fbe94",
258     "wires": [
259       [
260         "653e71ed.565a9"
261       ]
262     ]
263   },
264   {
265     "id": "653e71ed.565a9",
266     "type": "outcomeTrue",
267     "name": "true",
268     "xml": "<outcome value='true'>\n",
269     "comments": "",
270     "outputs": 1,
271     "x": 1300.0103759765625,
272     "y": 172.607177734375,
273     "z": "68309cb5.9fbe94",
274     "wires": [
275       [
276         "2466a0b0.31d85"
277       ]
278     ]
279   },
280   {
281     "id": "2466a0b0.31d85",
282     "type": "set",
283     "name": "set id",
284     "xml": "<set>\n<parameter name='prop.site.id' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n",
285     "comments": "",
286     "x": 1468.0103759765625,
287     "y": 173.20718383789062,
288     "z": "68309cb5.9fbe94",
289     "wires": [
290       
291     ]
292   },
293   {
294     "id": "43160102.ca0c8",
295     "type": "switchNode",
296     "name": "switch type",
297     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'type'`\">\n",
298     "comments": "",
299     "outputs": 1,
300     "x": 1122.0103759765625,
301     "y": 351.60717010498047,
302     "z": "68309cb5.9fbe94",
303     "wires": [
304       [
305         "5f80b289.c102cc"
306       ]
307     ]
308   },
309   {
310     "id": "5f80b289.c102cc",
311     "type": "outcomeTrue",
312     "name": "true",
313     "xml": "<outcome value='true'>\n",
314     "comments": "",
315     "outputs": 1,
316     "x": 1309.0103759765625,
317     "y": 347.60717010498047,
318     "z": "68309cb5.9fbe94",
319     "wires": [
320       [
321         "123b0821.89fa08"
322       ]
323     ]
324   },
325   {
326     "id": "123b0821.89fa08",
327     "type": "set",
328     "name": "set type & sdwan.site",
329     "xml": "<set>\n<parameter name='prop.site.type' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='tmp.sdwan.site' value='true' />",
330     "comments": "",
331     "x": 1507.0103759765625,
332     "y": 347.2071838378906,
333     "z": "68309cb5.9fbe94",
334     "wires": [
335       
336     ]
337   },
338   {
339     "id": "8a88d2d2.3cbb4",
340     "type": "switchNode",
341     "name": "switch role",
342     "xml": "<switch test=\"`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].name == 'role'`\">\n",
343     "comments": "",
344     "outputs": 1,
345     "x": 1125.0103759765625,
346     "y": 394.60717010498047,
347     "z": "68309cb5.9fbe94",
348     "wires": [
349       [
350         "dbc514.9b453af"
351       ]
352     ]
353   },
354   {
355     "id": "dbc514.9b453af",
356     "type": "outcomeTrue",
357     "name": "true",
358     "xml": "<outcome value='true'>\n",
359     "comments": "",
360     "outputs": 1,
361     "x": 1312.0103759765625,
362     "y": 390.60717010498047,
363     "z": "68309cb5.9fbe94",
364     "wires": [
365       [
366         "78dc31fa.1149c"
367       ]
368     ]
369   },
370   {
371     "id": "78dc31fa.1149c",
372     "type": "set",
373     "name": "set role & sdwan.site",
374     "xml": "<set>\n<parameter name='prop.site.role' value='`$vnf-topology-operation-input.vnf-request-input.vnf-input-parameters.param[$idx].value`' />\n<parameter name='tmp.sdwan.site' value='true' />\n",
375     "comments": "",
376     "x": 1520.0103759765625,
377     "y": 390.2071838378906,
378     "z": "68309cb5.9fbe94",
379     "wires": [
380       
381     ]
382   },
383   {
384     "id": "443f31de.8f2cf",
385     "type": "switchNode",
386     "name": "switch service-data.vnfs.vnf_length",
387     "xml": "<switch test='`$service-data.vnfs.vnf_length`'>\n",
388     "comments": "",
389     "outputs": 1,
390     "x": 671,
391     "y": 69,
392     "z": "68309cb5.9fbe94",
393     "wires": [
394       [
395         "d2748c44.5140a",
396         "132b0e47.fe6172",
397         "6c7ae40f.24628c"
398       ]
399     ]
400   },
401   {
402     "id": "d2748c44.5140a",
403     "type": "other",
404     "name": "Null",
405     "xml": "<outcome value=''>\n",
406     "comments": "",
407     "outputs": 1,
408     "x": 1084,
409     "y": 62.00006103515625,
410     "z": "68309cb5.9fbe94",
411     "wires": [
412       [
413         "910f30c.abfcad"
414       ]
415     ]
416   },
417   {
418     "id": "910f30c.abfcad",
419     "type": "returnFailure",
420     "name": "return failure",
421     "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",
422     "comments": "",
423     "x": 1302.7774658203125,
424     "y": 37.889007568359375,
425     "z": "68309cb5.9fbe94",
426     "wires": [
427       
428     ]
429   },
430   {
431     "id": "132b0e47.fe6172",
432     "type": "other",
433     "name": "other",
434     "xml": "<outcome value='Other'>\n",
435     "comments": "",
436     "outputs": 1,
437     "x": 996.0003662109375,
438     "y": 116.00007629394531,
439     "z": "68309cb5.9fbe94",
440     "wires": [
441       [
442         "2df38444.65759c"
443       ]
444     ]
445   },
446   {
447     "id": "2df38444.65759c",
448     "type": "block",
449     "name": "block : atomic",
450     "xml": "<block atomic=\"true\">",
451     "atomic": "true",
452     "outputs": 1,
453     "x": 1167.2698974609375,
454     "y": 99.55461120605469,
455     "z": "68309cb5.9fbe94",
456     "wires": [
457       [
458         "1580b603.a7115a",
459         "2393097b.207106"
460       ]
461     ]
462   },
463   {
464     "id": "1580b603.a7115a",
465     "type": "for",
466     "name": "for vidx..service-data.vnfs.vnf_length[]",
467     "xml": "<for index='vidx' start='0' end='`$service-data.vnfs.vnf_length`' >\n",
468     "comments": "",
469     "outputs": 1,
470     "x": 1465.285888671875,
471     "y": 80.42861938476562,
472     "z": "68309cb5.9fbe94",
473     "wires": [
474       [
475         "d610b844.0652c8"
476       ]
477     ]
478   },
479   {
480     "id": "2393097b.207106",
481     "type": "switchNode",
482     "name": "switch tmp.vidx ",
483     "xml": "<switch test=\"`$tmp.vidx`\">\n\n",
484     "comments": "",
485     "outputs": 1,
486     "x": 1386.5872802734375,
487     "y": 123.41180419921875,
488     "z": "68309cb5.9fbe94",
489     "wires": [
490       [
491         "dd032095.3aded"
492       ]
493     ]
494   },
495   {
496     "id": "dd032095.3aded",
497     "type": "outcome",
498     "name": "NULL",
499     "xml": "<outcome value=''>\n",
500     "comments": "",
501     "outputs": 1,
502     "x": 1587.015869140625,
503     "y": 128.98321533203125,
504     "z": "68309cb5.9fbe94",
505     "wires": [
506       [
507         "40072c93.943294"
508       ]
509     ]
510   },
511   {
512     "id": "d610b844.0652c8",
513     "type": "switchNode",
514     "name": "switch vnfid found",
515     "xml": "<switch test=\"`$service-data.vnfs.vnf[$vidx].vnf-id == $vnf-topology-operation-input.vnf-information.vnf-id`\">\n\n",
516     "comments": "",
517     "outputs": 1,
518     "x": 1775.7144775390625,
519     "y": 78.6787109375,
520     "z": "68309cb5.9fbe94",
521     "wires": [
522       [
523         "fc26d8de.94b0a8"
524       ]
525     ]
526   },
527   {
528     "id": "40072c93.943294",
529     "type": "returnFailure",
530     "name": "return failure",
531     "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",
532     "comments": "",
533     "x": 1758.4443359375,
534     "y": 129.12606811523438,
535     "z": "68309cb5.9fbe94",
536     "wires": [
537       
538     ]
539   },
540   {
541     "id": "fc26d8de.94b0a8",
542     "type": "outcomeTrue",
543     "name": "true",
544     "xml": "<outcome value='true'>\n",
545     "comments": "",
546     "outputs": 1,
547     "x": 1981.666748046875,
548     "y": 77.57144165039062,
549     "z": "68309cb5.9fbe94",
550     "wires": [
551       [
552         "7149eeb8.6b351"
553       ]
554     ]
555   },
556   {
557     "id": "7149eeb8.6b351",
558     "type": "set",
559     "name": "set tmp.vidx and ctx.vnf-data",
560     "xml": "<set>\n<parameter name='tmp.vidx' value='`$vidx`' />\n<parameter name='ctx.vnf-data.' value='`$service-data.vnfs.vnf[$vidx].`' />\n",
561     "comments": "",
562     "x": 2220.198486328125,
563     "y": 73.32144165039062,
564     "z": "68309cb5.9fbe94",
565     "wires": [
566       
567     ]
568   },
569   {
570     "id": "6c7ae40f.24628c",
571     "type": "outcome",
572     "name": "0",
573     "xml": "<outcome value='0'>\n",
574     "comments": "",
575     "outputs": 1,
576     "x": 1077.96875,
577     "y": 25.96875,
578     "z": "68309cb5.9fbe94",
579     "wires": [
580       [
581         "910f30c.abfcad"
582       ]
583     ]
584   },
585   {
586     "id": "cdf59db6.a5688",
587     "type": "comment",
588     "name": "TODO: Check validation",
589     "info": "",
590     "comments": "",
591     "x": 628,
592     "y": 21,
593     "z": "68309cb5.9fbe94",
594     "wires": [
595       
596     ]
597   },
598   {
599     "id": "e48e518f.1dc2a",
600     "type": "returnSuccess",
601     "name": "return success",
602     "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",
603     "comments": "",
604     "x": 606.3436889648438,
605     "y": 717.34375,
606     "z": "68309cb5.9fbe94",
607     "wires": [
608       
609     ]
610   },
611   {
612     "id": "4a014615.6e9cf8",
613     "type": "set",
614     "name": "set vnf-level-oper-status to Active",
615     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vnf-level-oper-status.order-status' value='Active' />\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",
616     "comments": "",
617     "x": 662.8237915039062,
618     "y": 543.680908203125,
619     "z": "68309cb5.9fbe94",
620     "wires": [
621       
622     ]
623   },
624   {
625     "id": "bf95d9ae.8087f8",
626     "type": "set",
627     "name": "copy input data to service data",
628     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-id' value='`$prop.vnf-index`' />\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\n",
629     "comments": "",
630     "x": 652.6769409179688,
631     "y": 502.6771240234375,
632     "z": "68309cb5.9fbe94",
633     "wires": [
634       
635     ]
636   },
637   {
638     "id": "c850e5af.e42fa8",
639     "type": "save",
640     "name": "update siteInstance configuration in AAI",
641     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='generic-vnf' \n      key='generic-vnf.vnf-id = $prop.vnf-index' >\n<parameter name='vnf-id' value='`$prop.vnf-index`' />\n<parameter name='in-maint' value='true' />\n<parameter name='is-closed-loop-disabled' value='false' />\n<parameter name='orchestration-status' value='Active' />\n<parameter name='operational-status' value='Active' />\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-index  + '/vnf-data/'` \" />\n",
642     "comments": "",
643     "outputs": 1,
644     "x": 683.0104370117188,
645     "y": 627.5659790039062,
646     "z": "68309cb5.9fbe94",
647     "wires": [
648       [
649         
650       ]
651     ]
652   },
653   {
654     "id": "b4c6f1a.73d561",
655     "type": "save",
656     "name": "save service relationship in AAI",
657     "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=\"generic-vnf\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/generic-vnfs/generic-vnf/' + $prop.vnf-index`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"generic-vnf.vnf-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.vnf-index`\" />",
658     "comments": "",
659     "outputs": 1,
660     "x": 654.0104370117188,
661     "y": 668.34375,
662     "z": "68309cb5.9fbe94",
663     "wires": [
664       [
665         
666       ]
667     ]
668   },
669   {
670     "id": "d7008318.12e1b",
671     "type": "set",
672     "name": "set vnf-index and vnf-object-path",
673     "xml": "<set>\n<parameter name='vnfId' value='`$prop.vnf-index`' />\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-index  + '/vnf-data/'` \" />",
674     "comments": "",
675     "x": 659.5104370117188,
676     "y": 585.34375,
677     "z": "68309cb5.9fbe94",
678     "wires": [
679       
680     ]
681   },
682   {
683     "id": "2b37bcac.68f084",
684     "type": "switchNode",
685     "name": "switch sdwan.site",
686     "xml": "<switch test=\"`$tmp.sdwan.site`\">\n",
687     "comments": "",
688     "outputs": 1,
689     "x": 615,
690     "y": 348,
691     "z": "68309cb5.9fbe94",
692     "wires": [
693       [
694         "a9004d13.a7ec4",
695         "27d5839b.ac9ebc"
696       ]
697     ]
698   },
699   {
700     "id": "3993fb6.79aca04",
701     "type": "set",
702     "name": "set sdwan.site",
703     "xml": "<set>\n<parameter name='tmp.sdwan.site' value='false' />\n",
704     "comments": "",
705     "x": 606,
706     "y": 217,
707     "z": "68309cb5.9fbe94",
708     "wires": [
709       
710     ]
711   },
712   {
713     "id": "27d5839b.ac9ebc",
714     "type": "outcomeTrue",
715     "name": "true",
716     "xml": "<outcome value='true'>\n",
717     "comments": "",
718     "outputs": 1,
719     "x": 751,
720     "y": 441,
721     "z": "68309cb5.9fbe94",
722     "wires": [
723       [
724         "1ed61d3a.a1c323"
725       ]
726     ]
727   },
728   {
729     "id": "a9004d13.a7ec4",
730     "type": "outcomeTrue",
731     "name": "false",
732     "xml": "<outcome value='false'>\n",
733     "comments": "",
734     "outputs": 1,
735     "x": 794.8887939453125,
736     "y": 361.00006103515625,
737     "z": "68309cb5.9fbe94",
738     "wires": [
739       [
740         "289c3fbe.f462"
741       ]
742     ]
743   },
744   {
745     "id": "289c3fbe.f462",
746     "type": "block",
747     "name": "block",
748     "xml": "<block>\n",
749     "atomic": "false",
750     "comments": "",
751     "outputs": 1,
752     "x": 934,
753     "y": 361,
754     "z": "68309cb5.9fbe94",
755     "wires": [
756       [
757         
758       ]
759     ]
760   },
761   {
762     "id": "1ed61d3a.a1c323",
763     "type": "block",
764     "name": "block : atomic",
765     "xml": "<block atomic=\"true\">",
766     "atomic": "true",
767     "outputs": 1,
768     "x": 913,
769     "y": 440,
770     "z": "68309cb5.9fbe94",
771     "wires": [
772       [
773         
774       ]
775     ]
776   },
777   {
778     "id": "ce5d0a29.098d18",
779     "type": "comment",
780     "name": "TODO: SDWAN implementation for site",
781     "info": "",
782     "comments": "",
783     "x": 1097,
784     "y": 485,
785     "z": "68309cb5.9fbe94",
786     "wires": [
787       
788     ]
789   },
790   {
791     "id": "ba135787.4aba08",
792     "type": "comment",
793     "name": "Site and role will be used to identify SDWAN service",
794     "info": "",
795     "comments": "",
796     "x": 1829,
797     "y": 358,
798     "z": "68309cb5.9fbe94",
799     "wires": [
800       
801     ]
802   },
803   {
804     "id": "c30ca451.c8aa78",
805     "type": "comment",
806     "name": "TODO: AAI",
807     "info": "",
808     "comments": "",
809     "x": 900,
810     "y": 638,
811     "z": "68309cb5.9fbe94",
812     "wires": [
813       
814     ]
815   }
816 ]