98ffc8a71d8c0bb7f618f3ff5be8472aafe009c3
[sdnc/oam.git] /
1 [
2   {
3     "id": "d82ababf.4deaf",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 112,
8     "y": 59,
9     "z": "158dead5.f2086d",
10     "wires": [
11       [
12         "514957da.088018"
13       ]
14     ]
15   },
16   {
17     "id": "5c4ab99.de900c8",
18     "type": "method",
19     "name": "method self-serve-netbox-ip-assignment",
20     "xml": "<method rpc='self-serve-netbox-ip-assignment' mode='sync'>\n",
21     "comments": "",
22     "outputs": 1,
23     "x": 247.7857208251953,
24     "y": 116.1269884109497,
25     "z": "158dead5.f2086d",
26     "wires": [
27       [
28         "ad092d5.0a569d"
29       ]
30     ]
31   },
32   {
33     "id": "ad092d5.0a569d",
34     "type": "block",
35     "name": "block : atomic",
36     "xml": "<block atomic=\"true\">",
37     "atomic": "true",
38     "comments": "",
39     "outputs": 1,
40     "x": 141.32144165039062,
41     "y": 202.4286069869995,
42     "z": "158dead5.f2086d",
43     "wires": [
44       [
45         "b3535f37.0a7d5",
46         "cf52bd4f.68ddb",
47         "acedbb53.5c913"
48       ]
49     ]
50   },
51   {
52     "id": "514957da.088018",
53     "type": "service-logic",
54     "name": "GENERIC-RESOURCE-API ${project.version}",
55     "module": "GENERIC-RESOURCE-API",
56     "version": "${project.version}",
57     "comments": "",
58     "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}'>",
59     "outputs": 1,
60     "x": 384.8571472167969,
61     "y": 58.42856693267822,
62     "z": "158dead5.f2086d",
63     "wires": [
64       [
65         "5c4ab99.de900c8"
66       ]
67     ]
68   },
69   {
70     "id": "b3535f37.0a7d5",
71     "type": "switchNode",
72     "name": "switch: ss.capability-name",
73     "xml": "<switch test='`$ss.capability-name`'>\n",
74     "comments": "",
75     "outputs": 1,
76     "x": 375.75000762939453,
77     "y": 203.75000476837158,
78     "z": "158dead5.f2086d",
79     "wires": [
80       [
81         "4c0e104c.c8992"
82       ]
83     ]
84   },
85   {
86     "id": "4c0e104c.c8992",
87     "type": "outcome",
88     "name": "NULL",
89     "xml": "<outcome value=''>",
90     "outputs": 1,
91     "x": 600.7500305175781,
92     "y": 204.2500033378601,
93     "z": "158dead5.f2086d",
94     "wires": [
95       [
96         "3e59422c.56b57e"
97       ]
98     ]
99   },
100   {
101     "id": "3e59422c.56b57e",
102     "type": "returnFailure",
103     "name": "return failure",
104     "xml": "<return status=\"failure\">\n\t<parameter name=\"ack-final\" value=\"Y\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"ss.capability-name is null\" />\n",
105     "comments": "",
106     "x": 760.6667022705078,
107     "y": 204.361102104187,
108     "z": "158dead5.f2086d",
109     "wires": []
110   },
111   {
112     "id": "cf52bd4f.68ddb",
113     "type": "switchNode",
114     "name": "switch: ss.capability-action",
115     "xml": "<switch test='`$ss.capability-action`'>\n",
116     "comments": "",
117     "outputs": 1,
118     "x": 377.00002670288086,
119     "y": 253.75000524520874,
120     "z": "158dead5.f2086d",
121     "wires": [
122       [
123         "5c7f0bf6.ffeef4",
124         "8699e334.7ba04",
125         "aeaaa4c.eb96958"
126       ]
127     ]
128   },
129   {
130     "id": "5c7f0bf6.ffeef4",
131     "type": "outcome",
132     "name": "NULL",
133     "xml": "<outcome value=''>",
134     "comments": "",
135     "outputs": 1,
136     "x": 600.5000228881836,
137     "y": 254.00000524520874,
138     "z": "158dead5.f2086d",
139     "wires": [
140       [
141         "e43d474e.c67e6"
142       ]
143     ]
144   },
145   {
146     "id": "e43d474e.c67e6",
147     "type": "returnFailure",
148     "name": "return failure",
149     "xml": "<return status=\"failure\">\n\t<parameter name=\"ack-final\" value=\"Y\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"ss.capability-action is null\" />\n",
150     "comments": "",
151     "x": 760.4166946411133,
152     "y": 254.11110401153564,
153     "z": "158dead5.f2086d",
154     "wires": []
155   },
156   {
157     "id": "8699e334.7ba04",
158     "type": "outcome",
159     "name": "assign",
160     "xml": "<outcome value='assign'>",
161     "comments": "",
162     "outputs": 1,
163     "x": 599.2500190734863,
164     "y": 309.00000858306885,
165     "z": "158dead5.f2086d",
166     "wires": [
167       [
168         "aec36890.ff2fb"
169       ]
170     ]
171   },
172   {
173     "id": "aeaaa4c.eb96958",
174     "type": "outcome",
175     "name": "unassign",
176     "xml": "<outcome value='unassign'>",
177     "comments": "",
178     "outputs": 1,
179     "x": 599.1786499023438,
180     "y": 1120.642822265625,
181     "z": "158dead5.f2086d",
182     "wires": [
183       [
184         "56d47025.86d16"
185       ]
186     ]
187   },
188   {
189     "id": "f70a5fa0.d247d",
190     "type": "call",
191     "name": "call self-service-capability-param-resolution",
192     "xml": "<call module='GENERIC-RESOURCE-API' rpc='self-service-capability-param-resolution' mode='sync' >\n",
193     "comments": "",
194     "outputs": 1,
195     "x": 1090.6666870117188,
196     "y": 309.2500123977661,
197     "z": "158dead5.f2086d",
198     "wires": [
199       [
200         "14ec23cb.75b09c"
201       ]
202     ]
203   },
204   {
205     "id": "14ec23cb.75b09c",
206     "type": "failure",
207     "name": "failure",
208     "xml": "<outcome value='failure'>\n",
209     "comments": "",
210     "outputs": 1,
211     "x": 1340.6666679382324,
212     "y": 309.25000858306885,
213     "z": "158dead5.f2086d",
214     "wires": [
215       [
216         "7c50a969.b62318"
217       ]
218     ]
219   },
220   {
221     "id": "7c50a969.b62318",
222     "type": "returnFailure",
223     "name": "return failure",
224     "xml": "<return status=\"failure\">\n\t<parameter name=\"ack-final\" value=\"Y\" />\n\t<parameter name=\"error-code\" value=\"500\"/>\n\t<parameter name=\"error-message\" value=\"`'Not all assignments are resolved' + $error-message`\" />\n",
225     "comments": "",
226     "x": 1499.416648864746,
227     "y": 309.2500047683716,
228     "z": "158dead5.f2086d",
229     "wires": []
230   },
231   {
232     "id": "1843f01b.23ada8",
233     "type": "set",
234     "name": "set tmp.ss.param.capability-name",
235     "xml": "<set>\n<parameter name='tmp.ss.param.capability-name' \n\tvalue='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.capability-name`' />\n",
236     "comments": "",
237     "x": 1504.5634536743164,
238     "y": 365.03172874450684,
239     "z": "158dead5.f2086d",
240     "wires": []
241   },
242   {
243     "id": "a2dda04a.43ae58",
244     "type": "for",
245     "name": "for pidx in param_length",
246     "xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
247     "comments": "",
248     "outputs": 1,
249     "x": 1214.7776794433594,
250     "y": 365.10319900512695,
251     "z": "158dead5.f2086d",
252     "wires": [
253       [
254         "943c092c.4b3b3",
255         "1843f01b.23ada8"
256       ]
257     ]
258   },
259   {
260     "id": "943c092c.4b3b3",
261     "type": "switchNode",
262     "name": "switch: capability-name - ss vs param",
263     "xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
264     "comments": "",
265     "outputs": 1,
266     "x": 1516.5276794433594,
267     "y": 408.6032028198242,
268     "z": "158dead5.f2086d",
269     "wires": [
270       [
271         "740fdfdc.63143"
272       ]
273     ]
274   },
275   {
276     "id": "740fdfdc.63143",
277     "type": "outcomeTrue",
278     "name": "true",
279     "xml": "<outcome value='true'>\n",
280     "comments": "",
281     "outputs": 1,
282     "x": 1755.277687072754,
283     "y": 408.3532028198242,
284     "z": "158dead5.f2086d",
285     "wires": [
286       [
287         "ff105b45.f52f4"
288       ]
289     ]
290   },
291   {
292     "id": "32fe15e5.a7bf9a",
293     "type": "switchNode",
294     "name": "switch: resource-key[].name",
295     "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].name`'>\n",
296     "comments": "",
297     "outputs": 1,
298     "x": 1520.5081405639648,
299     "y": 498.1706771850586,
300     "z": "158dead5.f2086d",
301     "wires": [
302       [
303         "318167f.d597118",
304         "f4971b35.f262",
305         "dfc56a05.e2c65",
306         "c64f6887.de64e"
307       ]
308     ]
309   },
310   {
311     "id": "dfc56a05.e2c65",
312     "type": "outcome",
313     "name": "service-instance-id",
314     "xml": "<outcome value='service-instance-id'>\n",
315     "comments": "",
316     "outputs": 1,
317     "x": 1791.8970489501953,
318     "y": 497.64289569854736,
319     "z": "158dead5.f2086d",
320     "wires": [
321       [
322         "d9a882de.1d6658"
323       ]
324     ]
325   },
326   {
327     "id": "d9a882de.1d6658",
328     "type": "set",
329     "name": "set tmp.ss.service-instance-id",
330     "xml": "<set>\n<parameter name='tmp.ss.service-instance-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
331     "comments": "",
332     "x": 2058.1470489501953,
333     "y": 497.39289569854736,
334     "z": "158dead5.f2086d",
335     "wires": []
336   },
337   {
338     "id": "318167f.d597118",
339     "type": "outcome",
340     "name": "client-key",
341     "xml": "<outcome value='client-key'>\n",
342     "comments": "",
343     "outputs": 1,
344     "x": 1767.4804229736328,
345     "y": 633.7817506790161,
346     "z": "158dead5.f2086d",
347     "wires": [
348       [
349         "bb45bf6b.de9f78"
350       ]
351     ]
352   },
353   {
354     "id": "bb45bf6b.de9f78",
355     "type": "set",
356     "name": "set tmp.ss.client-key",
357     "xml": "<set>\n<parameter name='tmp.ss.client-key' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
358     "comments": "",
359     "x": 2036.4804229736328,
360     "y": 633.7817506790161,
361     "z": "158dead5.f2086d",
362     "wires": []
363   },
364   {
365     "id": "f7c84a6b.9d9108",
366     "type": "set",
367     "name": "set service-data...param[].value = ip-prefix",
368     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].value' \n\tvalue='`$self_serve_netbox_ip_assignement.ip-address`' />\n",
369     "comments": "",
370     "x": 2028.500015258789,
371     "y": 907,
372     "z": "158dead5.f2086d",
373     "wires": []
374   },
375   {
376     "id": "73427b92.9bde0c",
377     "type": "for",
378     "name": "for pidx in param_length",
379     "xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
380     "comments": "",
381     "outputs": 1,
382     "x": 1033.7142333984375,
383     "y": 906.8214111328125,
384     "z": "158dead5.f2086d",
385     "wires": [
386       [
387         "3466ae83.83e262"
388       ]
389     ]
390   },
391   {
392     "id": "3466ae83.83e262",
393     "type": "switchNode",
394     "name": "switch: param[].name",
395     "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`'>\n",
396     "comments": "",
397     "outputs": 1,
398     "x": 1281.7142333984375,
399     "y": 906.5714111328125,
400     "z": "158dead5.f2086d",
401     "wires": [
402       [
403         "870cd21d.8e341"
404       ]
405     ]
406   },
407   {
408     "id": "870cd21d.8e341",
409     "type": "outcome",
410     "name": "ip-address",
411     "xml": "<outcome value='ip-address'>",
412     "comments": "",
413     "outputs": 1,
414     "x": 1526.249984741211,
415     "y": 906.7499847412109,
416     "z": "158dead5.f2086d",
417     "wires": [
418       [
419         "52f0e6b1.b33288"
420       ]
421     ]
422   },
423   {
424     "id": "52f0e6b1.b33288",
425     "type": "block",
426     "name": "block",
427     "xml": "<block>\n",
428     "atomic": "false",
429     "comments": "",
430     "outputs": 1,
431     "x": 1757.5000114440918,
432     "y": 906.75,
433     "z": "158dead5.f2086d",
434     "wires": [
435       [
436         "f7c84a6b.9d9108",
437         "3f62b174.894c0e"
438       ]
439     ]
440   },
441   {
442     "id": "b7977f7d.8ce65",
443     "type": "update",
444     "name": "get-resource NETBOX_IP_ASSIGNMENTS",
445     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from NETBOX_IP_ASSIGNMENTS \n\t\tWHERE service_instance_id = $tmp.ss.service-instance-id\n\t\tAND client_key = $tmp.ss.client-key'>",
446     "comments": "",
447     "outputs": 1,
448     "x": 1077.6785888671875,
449     "y": 1120.892822265625,
450     "z": "158dead5.f2086d",
451     "wires": [
452       [
453         "f72ccdef.62b18",
454         "8dd46bd6.87c01"
455       ]
456     ]
457   },
458   {
459     "id": "f72ccdef.62b18",
460     "type": "not-found",
461     "name": "not-found",
462     "xml": "<outcome value='not-found'>\n",
463     "comments": "",
464     "outputs": 1,
465     "x": 1369.250057220459,
466     "y": 1120.46426653862,
467     "z": "158dead5.f2086d",
468     "wires": [
469       [
470         "7de1e772.abc858"
471       ]
472     ]
473   },
474   {
475     "id": "7de1e772.abc858",
476     "type": "block",
477     "name": "block",
478     "xml": "<block>\n",
479     "atomic": "false",
480     "comments": "",
481     "outputs": 1,
482     "x": 1539.3928658621653,
483     "y": 1120.8928443363734,
484     "z": "158dead5.f2086d",
485     "wires": [
486       []
487     ]
488   },
489   {
490     "id": "8dd46bd6.87c01",
491     "type": "success",
492     "name": "success",
493     "xml": "<outcome value='success'>\n",
494     "comments": "",
495     "outputs": 1,
496     "x": 1365.9642028808594,
497     "y": 1168.1785793304443,
498     "z": "158dead5.f2086d",
499     "wires": [
500       [
501         "87ae6929.f38048"
502       ]
503     ]
504   },
505   {
506     "id": "56d47025.86d16",
507     "type": "block",
508     "name": "block : atomic",
509     "xml": "<block atomic=\"true\">",
510     "atomic": "true",
511     "outputs": 1,
512     "x": 768.5000152587891,
513     "y": 1121.107177734375,
514     "z": "158dead5.f2086d",
515     "wires": [
516       [
517         "c62e6e8f.bfa43",
518         "b7977f7d.8ce65",
519         "684ada9c.20cdbc"
520       ]
521     ]
522   },
523   {
524     "id": "aec36890.ff2fb",
525     "type": "block",
526     "name": "block : atomic",
527     "xml": "<block atomic=\"true\">",
528     "atomic": "true",
529     "comments": "",
530     "outputs": 1,
531     "x": 772.0000305175781,
532     "y": 309.25000953674316,
533     "z": "158dead5.f2086d",
534     "wires": [
535       [
536         "f70a5fa0.d247d",
537         "c62e6e8f.bfa43",
538         "73427b92.9bde0c"
539       ]
540     ]
541   },
542   {
543     "id": "ff105b45.f52f4",
544     "type": "break",
545     "name": "break",
546     "xml": "<break>\n",
547     "comments": "",
548     "x": 1893.6745948791504,
549     "y": 407.670615196228,
550     "z": "158dead5.f2086d",
551     "wires": []
552   },
553   {
554     "id": "999294fe.a69638",
555     "type": "for",
556     "name": "for kidx in resource-key_length",
557     "xml": "<for index=\"kidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key_length`\">",
558     "comments": "",
559     "outputs": 1,
560     "x": 1241.3692169189453,
561     "y": 498.03178787231445,
562     "z": "158dead5.f2086d",
563     "wires": [
564       [
565         "32fe15e5.a7bf9a"
566       ]
567     ]
568   },
569   {
570     "id": "c62e6e8f.bfa43",
571     "type": "block",
572     "name": "block",
573     "xml": "<block>\n",
574     "atomic": "false",
575     "comments": "",
576     "outputs": 1,
577     "x": 980.0357055664062,
578     "y": 365.2261657714844,
579     "z": "158dead5.f2086d",
580     "wires": [
581       [
582         "a2dda04a.43ae58",
583         "999294fe.a69638",
584         "72366483.e4dd0c",
585         "93e0546d.de75b"
586       ]
587     ]
588   },
589   {
590     "id": "acedbb53.5c913",
591     "type": "execute",
592     "name": "printContext",
593     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss.eipam.log' />\n",
594     "comments": "",
595     "outputs": 1,
596     "x": 333.25000762939453,
597     "y": 419.0000066757202,
598     "z": "158dead5.f2086d",
599     "wires": [
600       []
601     ]
602   },
603   {
604     "id": "4e153620.e3c8d",
605     "type": "update",
606     "name": "update NETBOX_IP_ASSIGNMENTS to PENDING_DELETE...",
607     "xml": "<update plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\"\n\tkey=\"UPDATE NETBOX_IP_ASSIGNMENTS set ip_status = $tmp.status \n\t\tWHERE service_instance_id = $tmp.ss.service-instance-id \n\t\tAND client_key = $tmp.ss.client-key\" >",
608     "comments": "",
609     "outputs": 1,
610     "x": 1899.2262420654297,
611     "y": 1212.3929681777954,
612     "z": "158dead5.f2086d",
613     "wires": [
614       [
615         "3ca10d66.8e421a"
616       ]
617     ]
618   },
619   {
620     "id": "59682f69.8b602",
621     "type": "set",
622     "name": "set status = PENDING_DELETE",
623     "xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
624     "comments": "",
625     "x": 1808.7262344360352,
626     "y": 1169.476219177246,
627     "z": "158dead5.f2086d",
628     "wires": []
629   },
630   {
631     "id": "3ca10d66.8e421a",
632     "type": "failure",
633     "name": "failure",
634     "xml": "<outcome value='failure'>\n",
635     "comments": "",
636     "outputs": 1,
637     "x": 2205.2261505126953,
638     "y": 1211.7262678146362,
639     "z": "158dead5.f2086d",
640     "wires": [
641       [
642         "a79b0cd6.ba9dc"
643       ]
644     ]
645   },
646   {
647     "id": "a79b0cd6.ba9dc",
648     "type": "returnFailure",
649     "name": "return failure",
650     "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=\"`'Error updating EIPAM_IP_ASSIGNMENTS table to unassign ip with client_key=' + $tmp.ss.client-key + ' and service_instance_id=' + $tmp.ss.service-instance-id`\" />\n",
651     "comments": "",
652     "x": 2384.2264404296875,
653     "y": 1211.535888671875,
654     "z": "158dead5.f2086d",
655     "wires": []
656   },
657   {
658     "id": "1aee94d6.e70a7b",
659     "type": "execute",
660     "name": "execute EIPAM unassign IP addresses",
661     "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">",
662     "comments": "",
663     "outputs": 1,
664     "x": 1834.2262115478516,
665     "y": 1257.393012046814,
666     "z": "158dead5.f2086d",
667     "wires": [
668       [
669         "fdf0362f.fd4f4"
670       ]
671     ]
672   },
673   {
674     "id": "fdf0362f.fd4f4",
675     "type": "failure",
676     "name": "failure",
677     "xml": "<outcome value='failure'>\n",
678     "comments": "",
679     "outputs": 1,
680     "x": 2070.892837524414,
681     "y": 1257.392954826355,
682     "z": "158dead5.f2086d",
683     "wires": [
684       [
685         "6b5c8b96.1eb51c"
686       ]
687     ]
688   },
689   {
690     "id": "6b5c8b96.1eb51c",
691     "type": "returnFailure",
692     "name": "return failure",
693     "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=\"`'Error in EIPAMPlugin.unassignIPAddress with client-key='+ $tmp.ss.client-key`\" />\n",
694     "comments": "",
695     "x": 2232.892864227295,
696     "y": 1257.2026901245117,
697     "z": "158dead5.f2086d",
698     "wires": []
699   },
700   {
701     "id": "87ae6929.f38048",
702     "type": "block",
703     "name": "block : atomic",
704     "xml": "<block atomic=\"true\">",
705     "atomic": "true",
706     "outputs": 1,
707     "x": 1548.1786041259766,
708     "y": 1168.8928241729736,
709     "z": "158dead5.f2086d",
710     "wires": [
711       [
712         "59682f69.8b602",
713         "4e153620.e3c8d",
714         "1aee94d6.e70a7b"
715       ]
716     ]
717   },
718   {
719     "id": "72366483.e4dd0c",
720     "type": "record",
721     "name": "record",
722     "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.Slf4jRecorder\">\n<parameter name=\"logger\" value=\"message-log\"/>\n<parameter name=\"field1\" value=\"__TIMESTAMP__\"/>\n<parameter name=\"field2\" value=\"`'SS: pidx: ' + $pidx`\"/>\n",
723     "comments": "",
724     "outputs": 1,
725     "x": 1166.2857360839844,
726     "y": 443.6428413391113,
727     "z": "158dead5.f2086d",
728     "wires": [
729       []
730     ]
731   },
732   {
733     "id": "f4971b35.f262",
734     "type": "outcome",
735     "name": "vf-module-id",
736     "xml": "<outcome value='vf-module-id'>\n",
737     "comments": "",
738     "outputs": 1,
739     "x": 1773.7300567626953,
740     "y": 543.8928346633911,
741     "z": "158dead5.f2086d",
742     "wires": [
743       [
744         "e7bc24a5.2b1688"
745       ]
746     ]
747   },
748   {
749     "id": "e7bc24a5.2b1688",
750     "type": "set",
751     "name": "set tmp.ss.vf-module-id",
752     "xml": "<set>\n<parameter name='tmp.ss.vf-module-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
753     "comments": "",
754     "x": 2039.7301788330078,
755     "y": 543.8928346633911,
756     "z": "158dead5.f2086d",
757     "wires": []
758   },
759   {
760     "id": "684ada9c.20cdbc",
761     "type": "for",
762     "name": "for pidx in param_length",
763     "xml": "<for index=\"pidx\" start=\"0\" end=\"`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param_length`\">",
764     "comments": "",
765     "outputs": 1,
766     "x": 1035.9285888671875,
767     "y": 1359.7142124176025,
768     "z": "158dead5.f2086d",
769     "wires": [
770       [
771         "c9290a31.bc6ba"
772       ]
773     ]
774   },
775   {
776     "id": "c9290a31.bc6ba",
777     "type": "switchNode",
778     "name": "switch: param[].name",
779     "xml": "<switch test='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].name`'>\n",
780     "comments": "",
781     "outputs": 1,
782     "x": 1283.9285888671875,
783     "y": 1359.4642124176025,
784     "z": "158dead5.f2086d",
785     "wires": [
786       [
787         "b44fcfdb.b21448"
788       ]
789     ]
790   },
791   {
792     "id": "b44fcfdb.b21448",
793     "type": "outcome",
794     "name": "ip-address",
795     "xml": "<outcome value='ip-address'>",
796     "comments": "",
797     "outputs": 1,
798     "x": 1528.464340209961,
799     "y": 1359.642786026001,
800     "z": "158dead5.f2086d",
801     "wires": [
802       [
803         "885816c2.0cf518"
804       ]
805     ]
806   },
807   {
808     "id": "885816c2.0cf518",
809     "type": "set",
810     "name": "set resource-resolution-data.status = DELETED",
811     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='DELETED' />\n",
812     "comments": "",
813     "x": 1850.6429443359375,
814     "y": 1359.857177734375,
815     "z": "158dead5.f2086d",
816     "wires": []
817   },
818   {
819     "id": "c64f6887.de64e",
820     "type": "outcome",
821     "name": "prefix-id",
822     "xml": "<outcome value='prefix-id'>\n",
823     "comments": "",
824     "outputs": 1,
825     "x": 1762.7857208251953,
826     "y": 588.1428651809692,
827     "z": "158dead5.f2086d",
828     "wires": [
829       [
830         "5e015d1e.a95ec4"
831       ]
832     ]
833   },
834   {
835     "id": "5e015d1e.a95ec4",
836     "type": "set",
837     "name": "set prefix-id",
838     "xml": "<set>\n<parameter name='tmp.ss.prefix-id' value='`$service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.resource-key[$kidx].value`' />\n",
839     "comments": "",
840     "x": 2009.2857208251953,
841     "y": 588.3928346633911,
842     "z": "158dead5.f2086d",
843     "wires": []
844   },
845   {
846     "id": "93e0546d.de75b",
847     "type": "execute",
848     "name": "execute NetboxClient assignIpAddress",
849     "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">",
850     "comments": "",
851     "outputs": 1,
852     "x": 1259.285903930664,
853     "y": 713.3928346633911,
854     "z": "158dead5.f2086d",
855     "wires": [
856       [
857         "a3087de2.330a5"
858       ]
859     ]
860   },
861   {
862     "id": "a3087de2.330a5",
863     "type": "failure",
864     "name": "failure",
865     "xml": "<outcome value='failure'>\n",
866     "comments": "",
867     "outputs": 1,
868     "x": 1514.2858428955078,
869     "y": 713.3928346633911,
870     "z": "158dead5.f2086d",
871     "wires": [
872       [
873         "c5dacbf8.86fe78"
874       ]
875     ]
876   },
877   {
878     "id": "c5dacbf8.86fe78",
879     "type": "block",
880     "name": "block : atomic",
881     "xml": "<block atomic='true'>",
882     "atomic": "true",
883     "comments": "",
884     "outputs": 1,
885     "x": 1684.2858428955078,
886     "y": 713.3928346633911,
887     "z": "158dead5.f2086d",
888     "wires": [
889       [
890         "1f126d73.fa4e23",
891         "f3e9ed8c.ec8d78"
892       ]
893     ]
894   },
895   {
896     "id": "1f126d73.fa4e23",
897     "type": "set",
898     "name": "set resource-resolution-data.status = FAILED",
899     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' value='FAILED' />\n",
900     "comments": "",
901     "x": 1999.2858428955078,
902     "y": 713.3928346633911,
903     "z": "158dead5.f2086d",
904     "wires": []
905   },
906   {
907     "id": "f3e9ed8c.ec8d78",
908     "type": "returnFailure",
909     "name": "return failure",
910     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
911     "comments": "",
912     "x": 1914.2857208251953,
913     "y": 778.3928346633911,
914     "z": "158dead5.f2086d",
915     "wires": []
916   },
917   {
918     "id": "3f62b174.894c0e",
919     "type": "set",
920     "name": "set resource-resolution-data.status = SUCCESS",
921     "xml": "<set>\n<parameter name='service-data.vnfs.vnf[$vnf-index].vnf-data.vf-modules.vf-module[$vf-module-index].vf-module-data.vf-module-topology.vf-module-parameters.param[$pidx].resource-resolution-data.status' \n\tvalue='SUCCESS' />\n",
922     "comments": "",
923     "x": 2048.75,
924     "y": 963.75,
925     "z": "158dead5.f2086d",
926     "wires": []
927   }
928 ]