3 "id": "dd70f366.d125c",
5 "name": "execute: generateUUID",
6 "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
11 "z": "d1ec70b0.44ebb",
19 "id": "f9cd5358.f88ee",
22 "xml": "<outcome value='failure'>\n",
25 "x": 704.5000076293945,
27 "z": "d1ec70b0.44ebb",
35 "id": "8a954bff.6fab18",
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": 869.5000076293945,
41 "y": 337.74999713897705,
42 "z": "d1ec70b0.44ebb",
46 "id": "e113a5e5.a5dc38",
47 "type": "get-resource",
48 "name": "Query AnAI - l3-network",
49 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\n resource=\"l3-network\"\n key=\"l3-network.network-id = $tmp.return.generate-l3network-network-id.uuid\"\n local-only=\"false\"\n pfx=\"tmp.local-variables.generate-l3network-network-id.L3NETWORK\" >",
52 "x": 634.0000076293945,
53 "y": 428.74999713897705,
54 "z": "d1ec70b0.44ebb",
65 "id": "5c1d01b6.e9f5e",
67 "name": "for n: true",
68 "xml": "<for atomic=\"true\" index=\"n\" start=\"0\" end=\"1\" >",
71 "x": 458.00000762939453,
72 "y": 428.74999713897705,
73 "z": "d1ec70b0.44ebb",
81 "id": "8852c700.cf1728",
84 "xml": "<outcome value='success'>\n",
87 "x": 838.5000076293945,
88 "y": 428.74999713897705,
89 "z": "d1ec70b0.44ebb",
97 "id": "49979ca4.27c0b4",
100 "xml": "<outcome value='failure'>\n",
103 "x": 834.5000076293945,
104 "y": 508.74999713897705,
105 "z": "d1ec70b0.44ebb",
113 "id": "414c6b14.1afed4",
116 "xml": "<outcome value='not-found'>\n",
119 "x": 843.5000076293945,
120 "y": 468.74999713897705,
121 "z": "d1ec70b0.44ebb",
129 "id": "9c34c546.317498",
130 "type": "returnFailure",
131 "name": "return failure",
132 "xml": "<return status=\"failure\">\n\t<!-- return parameters -->\n\t<parameter name=\"error-message.generate-l3network-network-id\" value=\"`'An error occured while checking if a generated l3network-network-id was unique. network-id = ' + $tmp.local-variables.generate-l3network-network-id.uuid`\" />",
134 "x": 1001.0000152587891,
135 "y": 533.750002861023,
136 "z": "d1ec70b0.44ebb",
140 "id": "8e45d485.7ae718",
142 "name": "block : atomic",
143 "xml": "<block atomic='true'>",
147 "x": 996.5000076293945,
148 "y": 428.74999713897705,
149 "z": "d1ec70b0.44ebb",
158 "id": "2b4a6d59.a9d4b2",
160 "name": "set: ...local...is-unique = 0",
161 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.is-unique\" value=\"0\" />",
164 "x": 1214.0000610351562,
165 "y": 428.75000286102295,
166 "z": "d1ec70b0.44ebb",
172 "id": "401c414.4d08ac",
174 "name": "execute: generateUUID",
175 "xml": "<execute plugin=\"org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils\" method=\"generateUUID\" >\n\t<parameter name=\"ctx-destination\" value=\"tmp.return.generate-l3network-network-id.uuid\" />",
178 "x": 1207.5000076293945,
179 "y": 468.74999713897705,
180 "z": "d1ec70b0.44ebb",
188 "id": "2afa9dc4.53e492",
191 "xml": "<outcome value='failure'>\n",
194 "x": 1394.5000076293945,
195 "y": 468.74999713897705,
196 "z": "d1ec70b0.44ebb",
204 "id": "34a04552.d8838a",
205 "type": "returnFailure",
206 "name": "return failure",
207 "xml": "<return status=\"failure\">\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.\" />",
209 "x": 1548.5000076293945,
210 "y": 468.74999713897705,
211 "z": "d1ec70b0.44ebb",
215 "id": "6b739598.b52fcc",
222 "x": 974.5000076293945,
223 "y": 468.74999713897705,
224 "z": "d1ec70b0.44ebb",
230 "id": "437c334.fa9bacc",
234 "x": 215.00000381469727,
235 "y": 24.999996185302734,
236 "z": "d1ec70b0.44ebb",
244 "id": "d0d787ad.11a628",
245 "type": "service-logic",
246 "name": "VNF-API ${project.version}",
248 "version": "${project.version}",
250 "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='VNF-API' version='${project.version}'>",
253 "y": 71.24999618530273,
254 "z": "d1ec70b0.44ebb",
262 "id": "b3eba119.c492f",
264 "name": "method generate-l3network-network-id",
265 "xml": "<method rpc=\"generate-l3network-network-id\" mode=\"sync\">",
269 "y": 123.74999618530273,
270 "z": "d1ec70b0.44ebb",
278 "id": "bd83e429.00ab68",
280 "name": "VNF-API: GENERATE-L3NETWORK-NETWORK-ID",
283 "x": 766.5000152587891,
284 "y": 31.2499942779541,
285 "z": "d1ec70b0.44ebb",
289 "id": "f616b569.f578f8",
291 "name": "block : atomic",
292 "xml": "<block atomic=\"true\">",
296 "x": 276.50000762939453,
297 "y": 248.74999713897705,
298 "z": "d1ec70b0.44ebb",
309 "id": "2ec4eee9.2ac6b2",
311 "name": "LOOP UNTIL GENERATED NETWORK-ID ISN'T FOUND IN A&AI",
315 "y": 385.0000009536743,
316 "z": "d1ec70b0.44ebb",
320 "id": "5ce6ee54.fd9d2",
322 "name": "GENERATE A NETWORK-ID",
326 "y": 294.9999990463257,
327 "z": "d1ec70b0.44ebb",
331 "id": "b4996f5b.9e931",
333 "name": "unset: local-variables & return",
334 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />\n\t<parameter name=\"tmp.return.generate-l3network-network-id.\" value=\"\" />",
337 "x": 527.5000076293945,
338 "y": 248.74999713897705,
339 "z": "d1ec70b0.44ebb",
345 "id": "a706e0b1.9117a",
347 "name": "CLEANUP LOCAL VARIABLES TO BE USED",
351 "y": 204.99999809265137,
352 "z": "d1ec70b0.44ebb",
356 "id": "a0f4690f.efa0d8",
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": 753.0000305175781,
362 "y": 71.2499942779541,
363 "z": "d1ec70b0.44ebb",
367 "id": "60de1533.5bb86c",
369 "name": "unset: local-variables & return",
370 "xml": "<set>\n\t<parameter name=\"tmp.local-variables.generate-l3network-network-id.\" value=\"\" />",
373 "x": 527.5000076293945,
374 "y": 528.749997138977,
375 "z": "d1ec70b0.44ebb",
381 "id": "39e8f5d1.20ee3a",
383 "name": "CLEANUP LOCAL VARIABLES",
387 "y": 486.25000190734863,
388 "z": "d1ec70b0.44ebb",
392 "id": "5312fbfe.635864",
395 "xml": "<outcome value=\"Other\">",
398 "x": 834.5000076293945,
399 "y": 548.749997138977,
400 "z": "d1ec70b0.44ebb",