3 "id": "aaa6ff4b.724ea",
5 "name": "execute: generateUUID",
6 "xml": "<execute plugin=\"org.openecomp.sdnc.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-subnets-subnet-id.uuid\" />",
9 "x": 412.8571472167969,
10 "y": 357.1428527832031,
11 "z": "212bebba.daa304",
19 "id": "5dbe3d08.2b3ac4",
22 "xml": "<outcome value='failure'>\n",
25 "x": 608.6071548461914,
26 "y": 357.1428527832031,
27 "z": "212bebba.daa304",
35 "id": "e14fcee.4b28f3",
36 "type": "returnFailure",
37 "name": "return failure",
38 "xml": "<return status='failure'>\n\t<!-- Used to work around execute node bug -->\n\t<parameter name=\"execute_failure\" value=\"false\" />\n\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"An error occured while generating a UUID for L3-NETWORK.\" />",
40 "x": 773.6071548461914,
41 "y": 357.3928499221802,
42 "z": "212bebba.daa304",
46 "id": "a4f5c20.aaf894",
47 "type": "get-resource",
48 "name": "Query AnAI - subnets",
49 "xml": "<get-resource plugin=\"org.openecomp.sdnc.sli.aai.AAIService\"\n\tresource=\"subnet\"\n\t\tkey=\"l3-network.network-id = $tmp.local.network-id \n\t\t\tAND subnet.subnet-id = $tmp.return.generate-subnets-subnet-id.uuid\"\n\t\tlocal-only=\"false\"\n\t\tpfx=\"tmp.local-variables.generate-subnets-subnet-id.SUBNETS\" >",
52 "x": 538.1071548461914,
53 "y": 448.3928499221802,
54 "z": "212bebba.daa304",
65 "id": "6e3cbfaa.cae83",
67 "name": "for s: true",
68 "xml": "<for atomic=\"true\" index=\"s\" start=\"0\" end=\"1\" >",
71 "x": 362.1071548461914,
72 "y": 448.3928499221802,
73 "z": "212bebba.daa304",
81 "id": "7566b0aa.23333",
84 "xml": "<outcome value='success'>\n",
87 "x": 742.6071548461914,
88 "y": 448.3928499221802,
89 "z": "212bebba.daa304",
97 "id": "41541145.8f2fe",
100 "xml": "<outcome value='failure'>\n",
103 "x": 738.6071548461914,
104 "y": 528.3928499221802,
105 "z": "212bebba.daa304",
113 "id": "f04ddaec.babb98",
116 "xml": "<outcome value='not-found'>\n",
119 "x": 747.6071548461914,
120 "y": 488.3928499221802,
121 "z": "212bebba.daa304",
129 "id": "f6eee8f.2de7c18",
130 "type": "returnFailure",
131 "name": "return failure",
132 "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-subnets-subnet-id\" value=\"`'An error occured while checking if a generated subnets-subnet-id was unique. subnet-id = ' + $tmp.local-variables.generate-subnets-subnet-id.uuid`\" />",
134 "x": 905.1071624755859,
135 "y": 553.3928556442261,
136 "z": "212bebba.daa304",
140 "id": "a7ff3de0.89a3b",
142 "name": "block : atomic",
143 "xml": "<block atomic='true'>",
147 "x": 900.6071548461914,
148 "y": 448.3928499221802,
149 "z": "212bebba.daa304",
158 "id": "bde977bc.984908",
160 "name": "set: ...local...is-unique = 0",
161 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-subnets-subnet-id.is-unique\" value=\"0\" />",
164 "x": 1118.1072082519531,
165 "y": 448.3928556442261,
166 "z": "212bebba.daa304",
172 "id": "a44a8681.7894a8",
174 "name": "execute: generateUUID",
175 "xml": "<execute plugin=\"org.openecomp.sdnc.sli.SliPluginUtils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-subnets-subnet-id.uuid\" />",
178 "x": 1111.6071548461914,
179 "y": 488.3928499221802,
180 "z": "212bebba.daa304",
188 "id": "87ba26d4.c54c58",
191 "xml": "<outcome value='failure'>\n",
194 "x": 1298.6071548461914,
195 "y": 488.3928499221802,
196 "z": "212bebba.daa304",
204 "id": "22793b05.dbc9f4",
205 "type": "returnFailure",
206 "name": "return failure",
207 "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-subnets-subnet-id\" value=\"An error occured while generating a UUID for SUBNETS.\" />",
209 "x": 1452.6071548461914,
210 "y": 488.3928499221802,
211 "z": "212bebba.daa304",
215 "id": "ef8307c7.c73008",
222 "x": 878.6071548461914,
223 "y": 488.3928499221802,
224 "z": "212bebba.daa304",
230 "id": "514ace13.73fbc",
234 "x": 119.10715103149414,
235 "y": 44.64284896850586,
236 "z": "212bebba.daa304",
244 "id": "1b1cc085.47687f",
245 "type": "service-logic",
246 "name": "VNF-API ${project.version}",
248 "version": "${project.version}",
250 "xml": "<service-logic xmlns='http://www.openecomp.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.openecomp.org/sdnc/svclogic ./svclogic.xsd' module='VNF-API' version='${project.version}'>",
252 "x": 143.10714721679688,
253 "y": 90.89284896850586,
254 "z": "212bebba.daa304",
262 "id": "d99b1637.7ed018",
264 "name": "method generate-subnets-subnet-id",
265 "xml": "<method rpc=\"generate-subnets-subnet-id\" mode=\"sync\">",
268 "x": 228.85714721679688,
269 "y": 143.39284896850586,
270 "z": "212bebba.daa304",
278 "id": "c84b6b4.9fc4398",
280 "name": "VNF-API: GENERATE-SUBNETS-SUBNET-ID",
283 "x": 670.6071624755859,
284 "y": 50.89284706115723,
285 "z": "212bebba.daa304",
289 "id": "11287140.bdd92f",
291 "name": "block : atomic",
292 "xml": "<block atomic=\"true\">",
296 "x": 180.6071548461914,
297 "y": 268.3928499221802,
298 "z": "212bebba.daa304",
309 "id": "6ab42343.db7f8c",
311 "name": "LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI",
314 "x": 581.8571472167969,
315 "y": 404.64285373687744,
316 "z": "212bebba.daa304",
320 "id": "b9ed64f0.37f1d8",
322 "name": "GENERATE A SUBNET-ID",
325 "x": 445.6071472167969,
326 "y": 314.6428518295288,
327 "z": "212bebba.daa304",
331 "id": "a5490895.039508",
333 "name": "unset: local-variables & return",
334 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-subnets-subnet-id.\" value=\"\" />\n\t<parameter name=\"tmp.return.generate-subnets-subnet-id.\" value=\"\" />",
337 "x": 431.6071548461914,
338 "y": 268.3928499221802,
339 "z": "212bebba.daa304",
345 "id": "60c2bbdc.ec4e64",
347 "name": "CLEANUP LOCAL VARIABLES TO BE USED",
350 "x": 515.8571472167969,
351 "y": 224.6428508758545,
352 "z": "212bebba.daa304",
356 "id": "71172ef4.cf0d8",
358 "name": "GLOBAL VARIABLES USED",
359 "info": "// RETURN VALUES\nerror-message.generate-generic-vnf-id\ntmp.return.generate-generic-vnf-id.uuid\n\n// LOCAL VARIABLES (erased at beginning & end of DG)\ntmp.local-variables.generate-generic-vnf-id.*\ntmp.local-variables.generate-generic-vnf-id.GENERIC_VNF.*",
361 "x": 657.107177734375,
362 "y": 90.89284706115723,
363 "z": "212bebba.daa304",
367 "id": "41976a7f.5999d4",
369 "name": "unset: local-variables & return",
370 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-subnets-subnet-id.\" value=\"\" />",
373 "x": 431.6071548461914,
374 "y": 548.3928499221802,
375 "z": "212bebba.daa304",
381 "id": "57f68649.0093a8",
383 "name": "CLEANUP LOCAL VARIABLES",
386 "x": 473.1071472167969,
387 "y": 505.89285469055176,
388 "z": "212bebba.daa304",
392 "id": "53fa760f.b1d208",
395 "xml": "<outcome value=\"Other\">",
398 "x": 738.6071548461914,
399 "y": 568.3928499221802,
400 "z": "212bebba.daa304",