fb57cbe8f33ad10c93178e46f0bc9c1bc2acdaee
[sdnc/oam.git] /
1 [
2   {
3     "id": "2530b9b4.e6f64e",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 122,
8     "y": 66,
9     "z": "a50b508.c70bcb",
10     "wires": [
11       [
12         "f24329c.83c4e58"
13       ]
14     ]
15   },
16   {
17     "id": "97a5934b.60b828",
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": 257.7857208251953,
24     "y": 123.1269884109497,
25     "z": "a50b508.c70bcb",
26     "wires": [
27       [
28         "439274d0.e50354"
29       ]
30     ]
31   },
32   {
33     "id": "439274d0.e50354",
34     "type": "block",
35     "name": "block : atomic",
36     "xml": "<block atomic=\"true\">",
37     "atomic": "true",
38     "comments": "",
39     "outputs": 1,
40     "x": 151.32144165039062,
41     "y": 209.4286069869995,
42     "z": "a50b508.c70bcb",
43     "wires": [
44       [
45         "4408534b.4e62fc",
46         "795381cc.ae76e8",
47         "9e36d81b.e4d19"
48       ]
49     ]
50   },
51   {
52     "id": "f24329c.83c4e58",
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": 394.8571472167969,
61     "y": 65.42856693267822,
62     "z": "a50b508.c70bcb",
63     "wires": [
64       [
65         "97a5934b.60b828"
66       ]
67     ]
68   },
69   {
70     "id": "4408534b.4e62fc",
71     "type": "switchNode",
72     "name": "switch: ss.capability-name",
73     "xml": "<switch test='`$ss.capability-name`'>\n",
74     "comments": "",
75     "outputs": 1,
76     "x": 385.75000762939453,
77     "y": 210.75000476837158,
78     "z": "a50b508.c70bcb",
79     "wires": [
80       [
81         "e3e743cf.b5708"
82       ]
83     ]
84   },
85   {
86     "id": "e3e743cf.b5708",
87     "type": "outcome",
88     "name": "NULL",
89     "xml": "<outcome value=''>",
90     "outputs": 1,
91     "x": 610.7500305175781,
92     "y": 211.2500033378601,
93     "z": "a50b508.c70bcb",
94     "wires": [
95       [
96         "45c19f4e.02e1e"
97       ]
98     ]
99   },
100   {
101     "id": "45c19f4e.02e1e",
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": 770.6667022705078,
107     "y": 211.361102104187,
108     "z": "a50b508.c70bcb",
109     "wires": []
110   },
111   {
112     "id": "795381cc.ae76e8",
113     "type": "switchNode",
114     "name": "switch: ss.capability-action",
115     "xml": "<switch test='`$ss.capability-action`'>\n",
116     "comments": "",
117     "outputs": 1,
118     "x": 387.00002670288086,
119     "y": 260.75000524520874,
120     "z": "a50b508.c70bcb",
121     "wires": [
122       [
123         "9d04bb67.f3d528",
124         "969e4445.b0611",
125         "d6457743.c33b1"
126       ]
127     ]
128   },
129   {
130     "id": "9d04bb67.f3d528",
131     "type": "outcome",
132     "name": "NULL",
133     "xml": "<outcome value=''>",
134     "comments": "",
135     "outputs": 1,
136     "x": 610.5000228881836,
137     "y": 261.00000524520874,
138     "z": "a50b508.c70bcb",
139     "wires": [
140       [
141         "7ed3650.ebf061c"
142       ]
143     ]
144   },
145   {
146     "id": "7ed3650.ebf061c",
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": 770.4166946411133,
152     "y": 261.11110401153564,
153     "z": "a50b508.c70bcb",
154     "wires": []
155   },
156   {
157     "id": "969e4445.b0611",
158     "type": "outcome",
159     "name": "assign",
160     "xml": "<outcome value='assign'>",
161     "comments": "",
162     "outputs": 1,
163     "x": 609.2500190734863,
164     "y": 316.00000858306885,
165     "z": "a50b508.c70bcb",
166     "wires": [
167       [
168         "f154be48.ae57c"
169       ]
170     ]
171   },
172   {
173     "id": "d6457743.c33b1",
174     "type": "outcome",
175     "name": "unassign",
176     "xml": "<outcome value='unassign'>",
177     "comments": "",
178     "outputs": 1,
179     "x": 609.1786499023438,
180     "y": 1127.642822265625,
181     "z": "a50b508.c70bcb",
182     "wires": [
183       [
184         "6adef88c.08d9f8"
185       ]
186     ]
187   },
188   {
189     "id": "ddde01a5.7d761",
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": 1099.416748046875,
196     "y": 316.25,
197     "z": "a50b508.c70bcb",
198     "wires": [
199       [
200         "289ac02f.fef728"
201       ]
202     ]
203   },
204   {
205     "id": "289ac02f.fef728",
206     "type": "failure",
207     "name": "failure",
208     "xml": "<outcome value='failure'>\n",
209     "comments": "",
210     "outputs": 1,
211     "x": 1350.6666679382324,
212     "y": 316.25000858306885,
213     "z": "a50b508.c70bcb",
214     "wires": [
215       [
216         "37e2330e.5ce094"
217       ]
218     ]
219   },
220   {
221     "id": "37e2330e.5ce094",
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": 1509.416648864746,
227     "y": 316.2500047683716,
228     "z": "a50b508.c70bcb",
229     "wires": []
230   },
231   {
232     "id": "193f213d.d80e7f",
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": 1514.5634536743164,
238     "y": 372.03172874450684,
239     "z": "a50b508.c70bcb",
240     "wires": []
241   },
242   {
243     "id": "667d4699.51911",
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": 1224.7776794433594,
250     "y": 372.10319900512695,
251     "z": "a50b508.c70bcb",
252     "wires": [
253       [
254         "e03f298c.89ef68",
255         "193f213d.d80e7f",
256         "4678ae91.df7428"
257       ]
258     ]
259   },
260   {
261     "id": "e03f298c.89ef68",
262     "type": "switchNode",
263     "name": "switch: capability-name - ss vs param",
264     "xml": "<switch test='`$tmp.ss.param.capability-name == $ss.capability-name`'>\n",
265     "comments": "",
266     "outputs": 1,
267     "x": 1527.638916015625,
268     "y": 453.3809814453125,
269     "z": "a50b508.c70bcb",
270     "wires": [
271       [
272         "ad87e8f8.f29d8"
273       ]
274     ]
275   },
276   {
277     "id": "ad87e8f8.f29d8",
278     "type": "outcomeTrue",
279     "name": "true",
280     "xml": "<outcome value='true'>\n",
281     "comments": "",
282     "outputs": 1,
283     "x": 1766.3889236450195,
284     "y": 453.1309814453125,
285     "z": "a50b508.c70bcb",
286     "wires": [
287       [
288         "3fea9750.333958"
289       ]
290     ]
291   },
292   {
293     "id": "4b58ccb.9c3cd34",
294     "type": "switchNode",
295     "name": "switch: resource-key[].name",
296     "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",
297     "comments": "",
298     "outputs": 1,
299     "x": 1526.0637130737305,
300     "y": 542.9484596252441,
301     "z": "a50b508.c70bcb",
302     "wires": [
303       [
304         "5c012e9d.3803c",
305         "d37d3547.691c58",
306         "180cc75.008d139",
307         "385a53b.66671ac",
308         "6407a5bc.0cc834"
309       ]
310     ]
311   },
312   {
313     "id": "d37d3547.691c58",
314     "type": "outcome",
315     "name": "service-instance-id",
316     "xml": "<outcome value='service-instance-id'>\n",
317     "comments": "",
318     "outputs": 1,
319     "x": 1797.452621459961,
320     "y": 542.4206781387329,
321     "z": "a50b508.c70bcb",
322     "wires": [
323       [
324         "52db4f21.43a918"
325       ]
326     ]
327   },
328   {
329     "id": "52db4f21.43a918",
330     "type": "set",
331     "name": "set tmp.ss.service-instance-id",
332     "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",
333     "comments": "",
334     "x": 2063.702621459961,
335     "y": 542.1706781387329,
336     "z": "a50b508.c70bcb",
337     "wires": []
338   },
339   {
340     "id": "daf7a5b3.f6dd1",
341     "type": "set",
342     "name": "set service-data...param[].value = ip-address",
343     "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",
344     "comments": "",
345     "x": 2035.96044921875,
346     "y": 980.0316772460938,
347     "z": "a50b508.c70bcb",
348     "wires": []
349   },
350   {
351     "id": "680b90a.12cf17",
352     "type": "for",
353     "name": "for pidx in param_length",
354     "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`\">",
355     "comments": "",
356     "outputs": 1,
357     "x": 1042.28564453125,
358     "y": 980.9642944335938,
359     "z": "a50b508.c70bcb",
360     "wires": [
361       [
362         "62315add.1e0734"
363       ]
364     ]
365   },
366   {
367     "id": "62315add.1e0734",
368     "type": "switchNode",
369     "name": "switch: param[].name",
370     "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",
371     "comments": "",
372     "outputs": 1,
373     "x": 1288.0633544921875,
374     "y": 980.7142333984375,
375     "z": "a50b508.c70bcb",
376     "wires": [
377       [
378         "2bb8b8e0.b3d528"
379       ]
380     ]
381   },
382   {
383     "id": "e46bc99.e09a7b8",
384     "type": "block",
385     "name": "block",
386     "xml": "<block>\n",
387     "atomic": "false",
388     "comments": "",
389     "outputs": 1,
390     "x": 1766.0714225769043,
391     "y": 980.8928833007812,
392     "z": "a50b508.c70bcb",
393     "wires": [
394       [
395         "daf7a5b3.f6dd1",
396         "c2ef384b.46015"
397       ]
398     ]
399   },
400   {
401     "id": "789789b0.192b1",
402     "type": "update",
403     "name": "get-resource NETBOX_IP_ASSIGNMENTS",
404     "xml": "<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource' resource='SQL'\n\tkey='SELECT * from NETBOX_IP_ASSIGNMENTS \n\t\tWHERE external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
405     "comments": "",
406     "outputs": 1,
407     "x": 1084.6627197265625,
408     "y": 1126.4642333984375,
409     "z": "a50b508.c70bcb",
410     "wires": [
411       [
412         "263460f3.585f6",
413         "e0cf0d4e.662af8"
414       ]
415     ]
416   },
417   {
418     "id": "263460f3.585f6",
419     "type": "not-found",
420     "name": "not-found",
421     "xml": "<outcome value='not-found'>\n",
422     "comments": "",
423     "outputs": 1,
424     "x": 1379.250057220459,
425     "y": 1127.46426653862,
426     "z": "a50b508.c70bcb",
427     "wires": [
428       [
429         "827adc75.f19d3"
430       ]
431     ]
432   },
433   {
434     "id": "827adc75.f19d3",
435     "type": "block",
436     "name": "block",
437     "xml": "<block>\n",
438     "atomic": "false",
439     "comments": "",
440     "outputs": 1,
441     "x": 1549.3928658621653,
442     "y": 1127.8928443363734,
443     "z": "a50b508.c70bcb",
444     "wires": [
445       []
446     ]
447   },
448   {
449     "id": "e0cf0d4e.662af8",
450     "type": "success",
451     "name": "success",
452     "xml": "<outcome value='success'>\n",
453     "comments": "",
454     "outputs": 1,
455     "x": 1375.9642028808594,
456     "y": 1175.1785793304443,
457     "z": "a50b508.c70bcb",
458     "wires": [
459       [
460         "74c412e0.e4563c"
461       ]
462     ]
463   },
464   {
465     "id": "6adef88c.08d9f8",
466     "type": "block",
467     "name": "block : atomic",
468     "xml": "<block atomic=\"true\">",
469     "atomic": "true",
470     "outputs": 1,
471     "x": 778.5000152587891,
472     "y": 1128.107177734375,
473     "z": "a50b508.c70bcb",
474     "wires": [
475       [
476         "97394cd8.c006c",
477         "789789b0.192b1",
478         "8a29b237.3a1ab8"
479       ]
480     ]
481   },
482   {
483     "id": "f154be48.ae57c",
484     "type": "block",
485     "name": "block : atomic",
486     "xml": "<block atomic=\"true\">",
487     "atomic": "true",
488     "comments": "",
489     "outputs": 1,
490     "x": 782.0000305175781,
491     "y": 316.25000953674316,
492     "z": "a50b508.c70bcb",
493     "wires": [
494       [
495         "ddde01a5.7d761",
496         "97394cd8.c006c",
497         "680b90a.12cf17",
498         "bfdda910.78af88"
499       ]
500     ]
501   },
502   {
503     "id": "3fea9750.333958",
504     "type": "break",
505     "name": "break",
506     "xml": "<break>\n",
507     "comments": "",
508     "x": 1904.785831451416,
509     "y": 452.4483938217163,
510     "z": "a50b508.c70bcb",
511     "wires": []
512   },
513   {
514     "id": "2cc58bea.09d2f4",
515     "type": "for",
516     "name": "for kidx in resource-key_length",
517     "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`\">",
518     "comments": "",
519     "outputs": 1,
520     "x": 1246.924789428711,
521     "y": 542.8095703125,
522     "z": "a50b508.c70bcb",
523     "wires": [
524       [
525         "4b58ccb.9c3cd34"
526       ]
527     ]
528   },
529   {
530     "id": "97394cd8.c006c",
531     "type": "block",
532     "name": "block",
533     "xml": "<block>\n",
534     "atomic": "false",
535     "comments": "",
536     "outputs": 1,
537     "x": 990.0357055664062,
538     "y": 372.2261657714844,
539     "z": "a50b508.c70bcb",
540     "wires": [
541       [
542         "667d4699.51911",
543         "2cc58bea.09d2f4",
544         "c6e8fa3c.1df4d8"
545       ]
546     ]
547   },
548   {
549     "id": "9e36d81b.e4d19",
550     "type": "execute",
551     "name": "printContext",
552     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n<parameter name='filename' value='/var/tmp/ss.eipam.log' />\n",
553     "comments": "",
554     "outputs": 1,
555     "x": 343.25000762939453,
556     "y": 426.0000066757202,
557     "z": "a50b508.c70bcb",
558     "wires": [
559       []
560     ]
561   },
562   {
563     "id": "b4c5f803.8e5ff8",
564     "type": "update",
565     "name": "update NETBOX_IP_ASSIGNMENTS to PENDING_DELETE...",
566     "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 external_key = $tmp.ss.external-key\n\t\tAND service_instance_id = $tmp.ss.service-instance-id\" >",
567     "comments": "",
568     "outputs": 1,
569     "x": 1907.5596923828125,
570     "y": 1218.1429443359375,
571     "z": "a50b508.c70bcb",
572     "wires": [
573       [
574         "804b2812.ef90a8"
575       ]
576     ]
577   },
578   {
579     "id": "331e2fe5.e9d148",
580     "type": "set",
581     "name": "set status = PENDING_DELETE",
582     "xml": "<set>\n<parameter name='tmp.status' value=\"PENDING_DELETE\" />\n",
583     "comments": "",
584     "x": 1817.4761962890625,
585     "y": 1176.4761962890625,
586     "z": "a50b508.c70bcb",
587     "wires": []
588   },
589   {
590     "id": "804b2812.ef90a8",
591     "type": "failure",
592     "name": "failure",
593     "xml": "<outcome value='failure'>\n",
594     "comments": "",
595     "outputs": 1,
596     "x": 2215.2261505126953,
597     "y": 1218.7262678146362,
598     "z": "a50b508.c70bcb",
599     "wires": [
600       [
601         "5b0ce03c.02484"
602       ]
603     ]
604   },
605   {
606     "id": "5b0ce03c.02484",
607     "type": "returnFailure",
608     "name": "return failure",
609     "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",
610     "comments": "",
611     "x": 2394.2264404296875,
612     "y": 1218.535888671875,
613     "z": "a50b508.c70bcb",
614     "wires": []
615   },
616   {
617     "id": "c884502.10a993",
618     "type": "execute",
619     "name": "execute Netbox unassign IP addresses",
620     "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"unassignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external_key`\" />",
621     "comments": "",
622     "outputs": 1,
623     "x": 1837.5595703125,
624     "y": 1264.3930053710938,
625     "z": "a50b508.c70bcb",
626     "wires": [
627       [
628         "938555fd.2c9f4"
629       ]
630     ]
631   },
632   {
633     "id": "938555fd.2c9f4",
634     "type": "failure",
635     "name": "failure",
636     "xml": "<outcome value='failure'>\n",
637     "comments": "",
638     "outputs": 1,
639     "x": 2080.892837524414,
640     "y": 1264.392954826355,
641     "z": "a50b508.c70bcb",
642     "wires": [
643       [
644         "73bb5af.611c4a4"
645       ]
646     ]
647   },
648   {
649     "id": "73bb5af.611c4a4",
650     "type": "returnFailure",
651     "name": "return failure",
652     "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",
653     "comments": "",
654     "x": 2242.892864227295,
655     "y": 1264.2026901245117,
656     "z": "a50b508.c70bcb",
657     "wires": []
658   },
659   {
660     "id": "74c412e0.e4563c",
661     "type": "block",
662     "name": "block : atomic",
663     "xml": "<block atomic=\"true\">",
664     "atomic": "true",
665     "outputs": 1,
666     "x": 1558.1786041259766,
667     "y": 1175.8928241729736,
668     "z": "a50b508.c70bcb",
669     "wires": [
670       [
671         "331e2fe5.e9d148",
672         "b4c5f803.8e5ff8",
673         "c884502.10a993"
674       ]
675     ]
676   },
677   {
678     "id": "c6e8fa3c.1df4d8",
679     "type": "record",
680     "name": "record",
681     "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",
682     "comments": "",
683     "outputs": 1,
684     "x": 1171.84130859375,
685     "y": 488.4206237792969,
686     "z": "a50b508.c70bcb",
687     "wires": [
688       []
689     ]
690   },
691   {
692     "id": "5c012e9d.3803c",
693     "type": "outcome",
694     "name": "vf-module-id",
695     "xml": "<outcome value='vf-module-id'>\n",
696     "comments": "",
697     "outputs": 1,
698     "x": 1779.285629272461,
699     "y": 588.6706171035767,
700     "z": "a50b508.c70bcb",
701     "wires": [
702       [
703         "b3c8659d.3706c"
704       ]
705     ]
706   },
707   {
708     "id": "b3c8659d.3706c",
709     "type": "set",
710     "name": "set tmp.ss.vf-module-id",
711     "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",
712     "comments": "",
713     "x": 2045.2857513427734,
714     "y": 588.6706171035767,
715     "z": "a50b508.c70bcb",
716     "wires": []
717   },
718   {
719     "id": "8a29b237.3a1ab8",
720     "type": "for",
721     "name": "for pidx in param_length",
722     "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`\">",
723     "comments": "",
724     "outputs": 1,
725     "x": 1045.9285888671875,
726     "y": 1366.7142124176025,
727     "z": "a50b508.c70bcb",
728     "wires": [
729       [
730         "e55f8062.b15058"
731       ]
732     ]
733   },
734   {
735     "id": "e55f8062.b15058",
736     "type": "switchNode",
737     "name": "switch: param[].name",
738     "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",
739     "comments": "",
740     "outputs": 1,
741     "x": 1293.9285888671875,
742     "y": 1366.4642124176025,
743     "z": "a50b508.c70bcb",
744     "wires": [
745       [
746         "783ce22f.9c0904"
747       ]
748     ]
749   },
750   {
751     "id": "783ce22f.9c0904",
752     "type": "outcome",
753     "name": "ip-address",
754     "xml": "<outcome value='ip-address'>",
755     "comments": "",
756     "outputs": 1,
757     "x": 1538.464340209961,
758     "y": 1366.642786026001,
759     "z": "a50b508.c70bcb",
760     "wires": [
761       [
762         "85da44f2.9478b8"
763       ]
764     ]
765   },
766   {
767     "id": "85da44f2.9478b8",
768     "type": "set",
769     "name": "set resource-resolution-data.status = DELETED",
770     "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",
771     "comments": "",
772     "x": 1860.6429443359375,
773     "y": 1366.857177734375,
774     "z": "a50b508.c70bcb",
775     "wires": []
776   },
777   {
778     "id": "180cc75.008d139",
779     "type": "outcome",
780     "name": "prefix-id",
781     "xml": "<outcome value='prefix-id'>\n",
782     "comments": "",
783     "outputs": 1,
784     "x": 1768.341293334961,
785     "y": 632.9206476211548,
786     "z": "a50b508.c70bcb",
787     "wires": [
788       [
789         "4e3dfad.08e4684"
790       ]
791     ]
792   },
793   {
794     "id": "4e3dfad.08e4684",
795     "type": "set",
796     "name": "set prefix-id",
797     "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",
798     "comments": "",
799     "x": 2014.841293334961,
800     "y": 633.1706171035767,
801     "z": "a50b508.c70bcb",
802     "wires": []
803   },
804   {
805     "id": "bfdda910.78af88",
806     "type": "execute",
807     "name": "execute NetboxClient assignIpAddress",
808     "xml": "<execute plugin=\"org.onap.ccsdk.sli.adaptors.netbox.api.NetboxClient\" method=\"assignIpAddress\">\n<parameter name=\"service_instance_id\" value=\"`$tmp.ss.service-instance-id`\" />\n<parameter name=\"vf_module_id\" value=\"`$tmp.ss.vf-module-id`\" />\n<parameter name=\"prefix_id\" value=\"`$tmp.ss.prefix-id`\" />\n<parameter name=\"resource_name\" value=\"`$tmp.ss.param.name`\" />\n<parameter name=\"external_key\" value=\"`$tmp.ss.external_key`\" />",
809     "comments": "",
810     "outputs": 1,
811     "x": 1094.52392578125,
812     "y": 804.2023315429688,
813     "z": "a50b508.c70bcb",
814     "wires": [
815       [
816         "632677c6.e90368"
817       ]
818     ]
819   },
820   {
821     "id": "632677c6.e90368",
822     "type": "failure",
823     "name": "failure",
824     "xml": "<outcome value='failure'>\n",
825     "comments": "",
826     "outputs": 1,
827     "x": 1349.5238647460938,
828     "y": 804.2023315429688,
829     "z": "a50b508.c70bcb",
830     "wires": [
831       [
832         "2c62cad1.235d9e"
833       ]
834     ]
835   },
836   {
837     "id": "2c62cad1.235d9e",
838     "type": "block",
839     "name": "block : atomic",
840     "xml": "<block atomic='true'>",
841     "atomic": "true",
842     "comments": "",
843     "outputs": 1,
844     "x": 1519.5238647460938,
845     "y": 804.2023315429688,
846     "z": "a50b508.c70bcb",
847     "wires": [
848       [
849         "db150ab3.5a407",
850         "5b7f4cc.962b0b4"
851       ]
852     ]
853   },
854   {
855     "id": "db150ab3.5a407",
856     "type": "set",
857     "name": "set resource-resolution-data.status = FAILED",
858     "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",
859     "comments": "",
860     "x": 1834.5238647460938,
861     "y": 804.2023315429688,
862     "z": "a50b508.c70bcb",
863     "wires": []
864   },
865   {
866     "id": "5b7f4cc.962b0b4",
867     "type": "returnFailure",
868     "name": "return failure",
869     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
870     "comments": "",
871     "x": 1736.1903076171875,
872     "y": 858.0912170410156,
873     "z": "a50b508.c70bcb",
874     "wires": []
875   },
876   {
877     "id": "c2ef384b.46015",
878     "type": "set",
879     "name": "set resource-resolution-data.status = SUCCESS",
880     "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",
881     "comments": "",
882     "x": 2057.3214111328125,
883     "y": 1037.8928833007812,
884     "z": "a50b508.c70bcb",
885     "wires": []
886   },
887   {
888     "id": "385a53b.66671ac",
889     "type": "outcome",
890     "name": "ip-address-id",
891     "xml": "<outcome value='ip-address-id'>\n",
892     "comments": "",
893     "outputs": 1,
894     "x": 1782.2224426269531,
895     "y": 677.7777214050293,
896     "z": "a50b508.c70bcb",
897     "wires": [
898       [
899         "882acfd1.857a7"
900       ]
901     ]
902   },
903   {
904     "id": "882acfd1.857a7",
905     "type": "set",
906     "name": "ip-address-id",
907     "xml": "<set>\n<parameter name='tmp.ss.ip-address-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",
908     "comments": "",
909     "x": 2017.2223205566406,
910     "y": 677.7777824401855,
911     "z": "a50b508.c70bcb",
912     "wires": []
913   },
914   {
915     "id": "6407a5bc.0cc834",
916     "type": "outcome",
917     "name": "external_key",
918     "xml": "<outcome value='external_key'>\n",
919     "comments": "",
920     "outputs": 1,
921     "x": 1769.8414611816406,
922     "y": 723.492015838623,
923     "z": "a50b508.c70bcb",
924     "wires": [
925       [
926         "51922093.53fea8"
927       ]
928     ]
929   },
930   {
931     "id": "51922093.53fea8",
932     "type": "set",
933     "name": "set external-key",
934     "xml": "<set>\n<parameter name='tmp.ss.external-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",
935     "comments": "",
936     "x": 2018.4128723144531,
937     "y": 723.4920768737793,
938     "z": "a50b508.c70bcb",
939     "wires": []
940   },
941   {
942     "id": "2bb8b8e0.b3d528",
943     "type": "outcome",
944     "name": "tmp.ss.param.name",
945     "xml": "<outcome value='tmp.ss.param.name'>\n",
946     "comments": "",
947     "outputs": 1,
948     "x": 1543.3333740234375,
949     "y": 979.9998779296875,
950     "z": "a50b508.c70bcb",
951     "wires": [
952       [
953         "e46bc99.e09a7b8"
954       ]
955     ]
956   },
957   {
958     "id": "4678ae91.df7428",
959     "type": "set",
960     "name": "set tmp.ss.param.name",
961     "xml": "<set>\n<parameter name='tmp.ss.param.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].name`' />\n",
962     "comments": "",
963     "x": 1477.7779541015625,
964     "y": 412.22216796875,
965     "z": "a50b508.c70bcb",
966     "wires": []
967   }
968 ]