Bandwidth-attribute support for OOF in MDONS
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_tapi-update-network-to-aai.json
1 [\r
2     {\r
3         "id": "a7edec3b.144df8",\r
4         "type": "service-logic",\r
5         "name": "DataChange ${project.version}",\r
6         "module": "DataChange",\r
7         "version": "${project.version}",\r
8         "comments": "",\r
9         "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='DataChange' version='${project.version}'>",\r
10         "outputs": 1,\r
11         "x": 324,\r
12         "y": 54.75,\r
13         "z": "889fd083.2b7ef8",\r
14         "wires": [\r
15             [\r
16                 "8dc332cb.90cd4"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "8dc332cb.90cd4",\r
22         "type": "method",\r
23         "name": "method tapi-update-network-to-aai",\r
24         "xml": "<method rpc='tapi-update-network-to-aai' mode='sync'>\n",\r
25         "comments": "",\r
26         "outputs": 1,\r
27         "x": 138,\r
28         "y": 112.75,\r
29         "z": "889fd083.2b7ef8",\r
30         "wires": [\r
31             [\r
32                 "ebb05589.2bd32"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "ebb05589.2bd32",\r
38         "type": "block",\r
39         "name": "block : atomic",\r
40         "xml": "<block atomic='true'>",\r
41         "atomic": "true",\r
42         "comments": "",\r
43         "outputs": 1,\r
44         "x": 362,\r
45         "y": 157.75,\r
46         "z": "889fd083.2b7ef8",\r
47         "wires": [\r
48             [\r
49                 "b7ce40.d2c1e1c",\r
50                 "d796afca.e4e3e",\r
51                 "b51e26cd.d9ef08",\r
52                 "3e929576.d98cfa",\r
53                 "90c5e93d.155c88",\r
54                 "2c557c83.4496a4",\r
55                 "dab171d1.a299c8"\r
56             ]\r
57         ]\r
58     },\r
59     {\r
60         "id": "c208ca63.75b4c",\r
61         "type": "dgstart",\r
62         "name": "DGSTART",\r
63         "outputs": 1,\r
64         "x": 73,\r
65         "y": 55.75,\r
66         "z": "889fd083.2b7ef8",\r
67         "wires": [\r
68             [\r
69                 "a7edec3b.144df8"\r
70             ]\r
71         ]\r
72     },\r
73     {\r
74         "id": "90c5e93d.155c88",\r
75         "type": "set",\r
76         "name": "set network-id",\r
77         "xml": "<set>\n<parameter name='tmp.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-TAPI-' + $topology.uuid`\" />\n\n\n\n\n\n\n\n\n\n",\r
78         "comments": "",\r
79         "x": 633.5,\r
80         "y": 65.75,\r
81         "z": "889fd083.2b7ef8",\r
82         "wires": []\r
83     },\r
84     {\r
85         "id": "b7ce40.d2c1e1c",\r
86         "type": "save",\r
87         "name": "save network-resource in AAI",\r
88         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='network-resource'  \n     key='network-resource.network-id = $tmp.network-id' >\n<parameter name='network-id' value='`$tmp.network-id`' />",\r
89         "comments": "",\r
90         "outputs": 1,\r
91         "x": 647.5,\r
92         "y": 166.75,\r
93         "z": "889fd083.2b7ef8",\r
94         "wires": [\r
95             []\r
96         ]\r
97     },\r
98     {\r
99         "id": "d796afca.e4e3e",\r
100         "type": "save",\r
101         "name": "save network-resource relation with esr-thirdparty-sdnc",\r
102         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='esr-thirdparty-sdnc:relationship-list' \n      key='esr-thirdparty-sdnc.thirdparty-sdnc-id = $prop.sdncRestApi.thirdpartySdnc.id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />",\r
103         "comments": "",\r
104         "outputs": 1,\r
105         "x": 715.5,\r
106         "y": 211.75,\r
107         "z": "889fd083.2b7ef8",\r
108         "wires": [\r
109             []\r
110         ]\r
111     },\r
112     {\r
113         "id": "b51e26cd.d9ef08",\r
114         "type": "for",\r
115         "name": "for each node",\r
116         "xml": "<for index='nidx' start='0' end='`$topology.node_length`' >",\r
117         "comments": "",\r
118         "outputs": 1,\r
119         "x": 506.5,\r
120         "y": 368.75,\r
121         "z": "889fd083.2b7ef8",\r
122         "wires": [\r
123             [\r
124                 "d55f5e70.6b2e18",\r
125                 "49363ce8.54acd4",\r
126                 "5e457770.0870e"\r
127             ]\r
128         ]\r
129     },\r
130     {\r
131         "id": "d55f5e70.6b2e18",\r
132         "type": "set",\r
133         "name": "set node",\r
134         "xml": "<set>\n<parameter name='node.' value='`$topology.node[$nidx].`' />\n",\r
135         "comments": "",\r
136         "x": 729.5,\r
137         "y": 290.75,\r
138         "z": "889fd083.2b7ef8",\r
139         "wires": []\r
140     },\r
141     {\r
142         "id": "49363ce8.54acd4",\r
143         "type": "block",\r
144         "name": "block : atomic",\r
145         "xml": "<block atomic='true'>",\r
146         "atomic": "true",\r
147         "comments": "",\r
148         "outputs": 1,\r
149         "x": 725.5,\r
150         "y": 342.75,\r
151         "z": "889fd083.2b7ef8",\r
152         "wires": [\r
153             [\r
154                 "6da2f5a8.f434e4"\r
155             ]\r
156         ]\r
157     },\r
158     {\r
159         "id": "bc68d1e8.e31198",\r
160         "type": "switchNode",\r
161         "name": "switch name_length",\r
162         "xml": "<switch test='`$node.name_length`'>\n",\r
163         "comments": "",\r
164         "outputs": 1,\r
165         "x": 1169.5,\r
166         "y": 339.75,\r
167         "z": "889fd083.2b7ef8",\r
168         "wires": [\r
169             [\r
170                 "f575aab7.6099c",\r
171                 "2d59b1fc.76172e"\r
172             ]\r
173         ]\r
174     },\r
175     {\r
176         "id": "f575aab7.6099c",\r
177         "type": "outcomeTrue",\r
178         "name": "NULL Do nothing",\r
179         "xml": "<outcome value=''>\n",\r
180         "comments": "",\r
181         "outputs": 1,\r
182         "x": 1434.5,\r
183         "y": 303.75,\r
184         "z": "889fd083.2b7ef8",\r
185         "wires": [\r
186             []\r
187         ]\r
188     },\r
189     {\r
190         "id": "2d59b1fc.76172e",\r
191         "type": "outcomeTrue",\r
192         "name": "Other",\r
193         "xml": "<outcome value='Other'>\n",\r
194         "comments": "",\r
195         "outputs": 1,\r
196         "x": 1393.5,\r
197         "y": 425.75,\r
198         "z": "889fd083.2b7ef8",\r
199         "wires": [\r
200             [\r
201                 "d3f6f79b.751d78"\r
202             ]\r
203         ]\r
204     },\r
205     {\r
206         "id": "d3f6f79b.751d78",\r
207         "type": "for",\r
208         "name": "for each name ",\r
209         "xml": "<for index='na-idx' start='0' end='`$node.name_length`' >\n",\r
210         "comments": "",\r
211         "outputs": 1,\r
212         "x": 1607.5,\r
213         "y": 428.75,\r
214         "z": "889fd083.2b7ef8",\r
215         "wires": [\r
216             [\r
217                 "a71237dd.0b0ae"\r
218             ]\r
219         ]\r
220     },\r
221     {\r
222         "id": "a71237dd.0b0ae",\r
223         "type": "switchNode",\r
224         "name": "switch name-value = name",\r
225         "xml": "<switch test=\"`$node.name[$na-idx].value-name == 'name'`\">\n",\r
226         "comments": "",\r
227         "outputs": 1,\r
228         "x": 1517.5,\r
229         "y": 490.75,\r
230         "z": "889fd083.2b7ef8",\r
231         "wires": [\r
232             [\r
233                 "24cf65bf.b03702"\r
234             ]\r
235         ]\r
236     },\r
237     {\r
238         "id": "24cf65bf.b03702",\r
239         "type": "outcomeTrue",\r
240         "name": "true",\r
241         "xml": "<outcome value='true'>\n",\r
242         "comments": "",\r
243         "outputs": 1,\r
244         "x": 1723.5,\r
245         "y": 487.75,\r
246         "z": "889fd083.2b7ef8",\r
247         "wires": [\r
248             [\r
249                 "8acf18f5.f72c2"\r
250             ]\r
251         ]\r
252     },\r
253     {\r
254         "id": "8acf18f5.f72c2",\r
255         "type": "set",\r
256         "name": "set node-name",\r
257         "xml": "<set>\n<parameter name='node-name' value=\"`$node.name[$na-idx].value`\"/>\n",\r
258         "comments": "",\r
259         "x": 1893.5,\r
260         "y": 483.75,\r
261         "z": "889fd083.2b7ef8",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "86162f30.2a9ae8",\r
266         "type": "save",\r
267         "name": "save pnf in AAI",\r
268         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf'\nkey='pnf.pnf-name = $node.uuid' >\n    <parameter name='pnf-name' value='`$node.uuid`' />\n    <parameter name='pnf-id' value='`$node-name`' />\n    <parameter name='in-maint' value='true' />\n    \n                         \n",\r
269         "comments": "",\r
270         "outputs": 1,\r
271         "x": 1167.5,\r
272         "y": 470.75,\r
273         "z": "889fd083.2b7ef8",\r
274         "wires": [\r
275             []\r
276         ]\r
277     },\r
278     {\r
279         "id": "7f0ad56a.8f2d9c",\r
280         "type": "save",\r
281         "name": "save pnf relationship to network-resource in AAI",\r
282         "xml": "\n<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='pnf:relationship-list' \n      key='pnf.pnf-name = $node.uuid' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"network-resource\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/network-resources/network-resource/' + $tmp.network-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"network-resource.network-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.network-id`\" />\n",\r
283         "comments": "",\r
284         "outputs": 1,\r
285         "x": 1188.5,\r
286         "y": 538.75,\r
287         "z": "889fd083.2b7ef8",\r
288         "wires": [\r
289             []\r
290         ]\r
291     },\r
292     {\r
293         "id": "5e457770.0870e",\r
294         "type": "for",\r
295         "name": "for each termination point",\r
296         "xml": "<for index='tpidx' start='0' end='`$node.node-edge-point_length`' >\n",\r
297         "comments": "",\r
298         "outputs": 1,\r
299         "x": 455.5,\r
300         "y": 704.75,\r
301         "z": "889fd083.2b7ef8",\r
302         "wires": [\r
303             [\r
304                 "bbcde8a2.a05588",\r
305                 "6be63886.77475"\r
306             ]\r
307         ]\r
308     },\r
309     {\r
310         "id": "6be63886.77475",\r
311         "type": "set",\r
312         "name": "set termination point",\r
313         "xml": "<set>\n<parameter name='tp.' value='`$node.node-edge-point[$tpidx].`' />\n",\r
314         "comments": "",\r
315         "x": 683.5,\r
316         "y": 654.75,\r
317         "z": "889fd083.2b7ef8",\r
318         "wires": []\r
319     },\r
320     {\r
321         "id": "73c0be48.78d9c",\r
322         "type": "switchNode",\r
323         "name": "switch name_length",\r
324         "xml": "<switch test='`$tp.name_length`'>\n",\r
325         "comments": "",\r
326         "outputs": 1,\r
327         "x": 1208.5,\r
328         "y": 726.75,\r
329         "z": "889fd083.2b7ef8",\r
330         "wires": [\r
331             [\r
332                 "ca0cba27.74f9f",\r
333                 "aa56eb00.a66d2"\r
334             ]\r
335         ]\r
336     },\r
337     {\r
338         "id": "ca0cba27.74f9f",\r
339         "type": "outcomeTrue",\r
340         "name": "If NULL Do nothing",\r
341         "xml": "<outcome value=''>\n",\r
342         "comments": "",\r
343         "outputs": 1,\r
344         "x": 1472.5,\r
345         "y": 590.75,\r
346         "z": "889fd083.2b7ef8",\r
347         "wires": [\r
348             []\r
349         ]\r
350     },\r
351     {\r
352         "id": "aa56eb00.a66d2",\r
353         "type": "outcomeTrue",\r
354         "name": "Other",\r
355         "xml": "<outcome value='Other'>\n",\r
356         "comments": "",\r
357         "outputs": 1,\r
358         "x": 1437.5,\r
359         "y": 725.75,\r
360         "z": "889fd083.2b7ef8",\r
361         "wires": [\r
362             [\r
363                 "e457a2aa.ac468"\r
364             ]\r
365         ]\r
366     },\r
367     {\r
368         "id": "e457a2aa.ac468",\r
369         "type": "for",\r
370         "name": "for each name ",\r
371         "xml": "<for index='na-idx' start='0' end='`$tp.name_length`' >\n",\r
372         "comments": "",\r
373         "outputs": 1,\r
374         "x": 1609.5,\r
375         "y": 726.75,\r
376         "z": "889fd083.2b7ef8",\r
377         "wires": [\r
378             [\r
379                 "b8a62622.1cd83",\r
380                 "d4a568c4.eb62f"\r
381             ]\r
382         ]\r
383     },\r
384     {\r
385         "id": "b8a62622.1cd83",\r
386         "type": "switchNode",\r
387         "name": "switch name-value = name",\r
388         "xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'name'`\">\n",\r
389         "comments": "",\r
390         "outputs": 1,\r
391         "x": 1824.5,\r
392         "y": 577.75,\r
393         "z": "889fd083.2b7ef8",\r
394         "wires": [\r
395             [\r
396                 "7f0e9439.914194"\r
397             ]\r
398         ]\r
399     },\r
400     {\r
401         "id": "7f0e9439.914194",\r
402         "type": "outcomeTrue",\r
403         "name": "true",\r
404         "xml": "<outcome value='true'>\n",\r
405         "comments": "",\r
406         "outputs": 1,\r
407         "x": 2038.5,\r
408         "y": 619.75,\r
409         "z": "889fd083.2b7ef8",\r
410         "wires": [\r
411             [\r
412                 "b6376b35.f4dc8"\r
413             ]\r
414         ]\r
415     },\r
416     {\r
417         "id": "b6376b35.f4dc8",\r
418         "type": "set",\r
419         "name": "set equipment identifier (tp-name)",\r
420         "xml": "<set>\n<parameter name='tp-name' value=\"`$tp.name[$na-idx].value`\"/>\n",\r
421         "comments": "",\r
422         "x": 2260.5,\r
423         "y": 617.75,\r
424         "z": "889fd083.2b7ef8",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "dab171d1.a299c8",\r
429         "type": "for",\r
430         "name": " for each link",\r
431         "xml": "<for index='lidx' start='0' end='`$topology.link_length`' >\n\n\n",\r
432         "comments": "",\r
433         "outputs": 1,\r
434         "x": 309.5,\r
435         "y": 903.75,\r
436         "z": "889fd083.2b7ef8",\r
437         "wires": [\r
438             [\r
439                 "19cf86d.1428279",\r
440                 "7b2d45bb.75c5ec",\r
441                 "f6ec0ba5.049dd8",\r
442                 "981dfc53.49c1e",\r
443                 "6168108c.1668e"\r
444             ]\r
445         ]\r
446     },\r
447     {\r
448         "id": "19cf86d.1428279",\r
449         "type": "set",\r
450         "name": "set link",\r
451         "xml": "<set>\n<parameter name='link.' value='`$topology.link[$lidx].`' />\n",\r
452         "comments": "",\r
453         "x": 467.5,\r
454         "y": 827.75,\r
455         "z": "889fd083.2b7ef8",\r
456         "wires": []\r
457     },\r
458     {\r
459         "id": "3e929576.d98cfa",\r
460         "type": "record",\r
461         "name": "record",\r
462         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"`$topology.name[0].value`\"/>\n<parameter name=\"field2\" value=\"`$prop.sdncRestApi.thirdpartySdnc.id`\"/>\n\n\n\n\n\n\n",\r
463         "comments": "",\r
464         "outputs": 1,\r
465         "x": 599.5,\r
466         "y": 112.75,\r
467         "z": "889fd083.2b7ef8",\r
468         "wires": [\r
469             []\r
470         ]\r
471     },\r
472     {\r
473         "id": "92c307e6.97cbc",\r
474         "type": "record",\r
475         "name": "record",\r
476         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value='`$node.name_length`'/>\n\n\n\n\n\n",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 1150.5,\r
480         "y": 404.75,\r
481         "z": "889fd083.2b7ef8",\r
482         "wires": [\r
483             []\r
484         ]\r
485     },\r
486     {\r
487         "id": "7b2d45bb.75c5ec",\r
488         "type": "set",\r
489         "name": "set link-name",\r
490         "xml": "<set>\n<parameter name='link.name' value=\"`$link.uuid`\" />\n",\r
491         "comments": "",\r
492         "x": 507.5,\r
493         "y": 963.75,\r
494         "z": "889fd083.2b7ef8",\r
495         "wires": []\r
496     },\r
497     {\r
498         "id": "f6ec0ba5.049dd8",\r
499         "type": "save",\r
500         "name": "save link in AAI",\r
501         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link'\nkey='logical-link.link-name = $link.name' >\n    <parameter name='link-name' value='`$link.name`' />\n    <parameter name='link-type' value='OTN-LINK' />\n    <parameter name='in-maint' value='true' />\n    <parameter name='operational-status' value='`$link.operational-state`' />\n    \n",\r
502         "comments": "",\r
503         "outputs": 1,\r
504         "x": 499.5,\r
505         "y": 1055.75,\r
506         "z": "889fd083.2b7ef8",\r
507         "wires": [\r
508             []\r
509         ]\r
510     },\r
511     {\r
512         "id": "981dfc53.49c1e",\r
513         "type": "save",\r
514         "name": "save logical-link relationship to p-interface",\r
515         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n      key='logical-link.link-name = $link.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $pnf1 + '/p-interfaces/p-interface/' + $interface1 `\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$pnf1`\" /> \n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/network/pnfs/pnf/' + $pnf2 + '/p-interfaces/p-interface/' + $interface2 `\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"pnf.pnf-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$pnf2`\" /> ",\r
516         "comments": "",\r
517         "outputs": 1,\r
518         "x": 531.5,\r
519         "y": 1133.75,\r
520         "z": "889fd083.2b7ef8",\r
521         "wires": [\r
522             []\r
523         ]\r
524     },\r
525     {\r
526         "id": "d4a568c4.eb62f",\r
527         "type": "switchNode",\r
528         "name": "switch name-value=rate",\r
529         "xml": "<switch test=\"`$tp.name[$na-idx].value-name == 'rate'`\">",\r
530         "comments": "",\r
531         "outputs": 1,\r
532         "x": 1864.5,\r
533         "y": 736.75,\r
534         "z": "889fd083.2b7ef8",\r
535         "wires": [\r
536             [\r
537                 "e4a147e9.5afa68"\r
538             ]\r
539         ]\r
540     },\r
541     {\r
542         "id": "5798c7bb.e3d82",\r
543         "type": "set",\r
544         "name": "set speed-value",\r
545         "xml": "<set>\n<parameter name='tp-speed' value=\"`$tp.name[$na-idx].value`\"/>",\r
546         "comments": "",\r
547         "x": 2262.5,\r
548         "y": 741.75,\r
549         "z": "889fd083.2b7ef8",\r
550         "wires": []\r
551     },\r
552     {\r
553         "id": "e4a147e9.5afa68",\r
554         "type": "outcomeTrue",\r
555         "name": "true",\r
556         "xml": "<outcome value='true'>\n",\r
557         "comments": "",\r
558         "outputs": 1,\r
559         "x": 2080.5,\r
560         "y": 735.75,\r
561         "z": "889fd083.2b7ef8",\r
562         "wires": [\r
563             [\r
564                 "5798c7bb.e3d82"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "6fdf7fa8.7c48c8",\r
570         "type": "switchNode",\r
571         "name": "switch speed-value",\r
572         "xml": "<switch test='`$tp-speed`'>\n",\r
573         "comments": "",\r
574         "outputs": 1,\r
575         "x": 1201.5,\r
576         "y": 934.75,\r
577         "z": "889fd083.2b7ef8",\r
578         "wires": [\r
579             [\r
580                 "79078981.d6b788",\r
581                 "126a95d4.fdd29a",\r
582                 "a57ded19.dddc58",\r
583                 "dfcbe305.0a4f88",\r
584                 "ebb1e1fc.8f16c",\r
585                 "de9b3bad.cdcd28",\r
586                 "3e8c5177.a41e6e",\r
587                 "7a588f72.5a7e58",\r
588                 "81eb5532.c21f7",\r
589                 "5f14ca8c.31feb4",\r
590                 "2ae0f8dd.2dba4"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "79078981.d6b788",\r
596         "type": "other",\r
597         "name": "other",\r
598         "xml": "<outcome value='Other'>\n",\r
599         "comments": "",\r
600         "outputs": 1,\r
601         "x": 1374.5,\r
602         "y": 806.75,\r
603         "z": "889fd083.2b7ef8",\r
604         "wires": [\r
605             [\r
606                 "7d5d172a.351288"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "427cb754.a4ec08",\r
612         "type": "set",\r
613         "name": "set interface-type as NNI",\r
614         "xml": "<set>\n<parameter name='netinttype' value='NNI' />",\r
615         "comments": "",\r
616         "x": 1708.5,\r
617         "y": 936.75,\r
618         "z": "889fd083.2b7ef8",\r
619         "wires": []\r
620     },\r
621     {\r
622         "id": "7d5d172a.351288",\r
623         "type": "set",\r
624         "name": "set interface type as UNI",\r
625         "xml": "<set>\n<parameter name='netinttype' value='UNI' />\n",\r
626         "comments": "",\r
627         "x": 1565.5,\r
628         "y": 807.75,\r
629         "z": "889fd083.2b7ef8",\r
630         "wires": []\r
631     },\r
632     {\r
633         "id": "9063f945.45c61",\r
634         "type": "record",\r
635         "name": "record",\r
636         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"speed-values\"/>\n<parameter name=\"field2\" value=\"`$tp-speed`\"/>\n\n\n\n\n\n\n\n\n\n\n",\r
637         "comments": "",\r
638         "outputs": 1,\r
639         "x": 1234.5,\r
640         "y": 800.75,\r
641         "z": "889fd083.2b7ef8",\r
642         "wires": [\r
643             []\r
644         ]\r
645     },\r
646     {\r
647         "id": "bbcde8a2.a05588",\r
648         "type": "block",\r
649         "name": "block : atomic",\r
650         "xml": "<block atomic='true'>",\r
651         "atomic": "true",\r
652         "comments": "",\r
653         "outputs": 1,\r
654         "x": 645.5,\r
655         "y": 767.75,\r
656         "z": "889fd083.2b7ef8",\r
657         "wires": [\r
658             [\r
659                 "8864bdf1.b63b28"\r
660             ]\r
661         ]\r
662     },\r
663     {\r
664         "id": "8864bdf1.b63b28",\r
665         "type": "switchNode",\r
666         "name": "switch protocol-name",\r
667         "xml": "<switch test='`$tp.layer-protocol-name`'>\n",\r
668         "comments": "",\r
669         "outputs": 1,\r
670         "x": 811.5,\r
671         "y": 718.75,\r
672         "z": "889fd083.2b7ef8",\r
673         "wires": [\r
674             [\r
675                 "7e84f41e.7ff5a4",\r
676                 "fe1ec6df.57ce2"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "7e84f41e.7ff5a4",\r
682         "type": "outcome",\r
683         "name": "ODU",\r
684         "xml": "<outcome value='ODU'>\n",\r
685         "comments": "",\r
686         "outputs": 1,\r
687         "x": 848.5,\r
688         "y": 793.75,\r
689         "z": "889fd083.2b7ef8",\r
690         "wires": [\r
691             [\r
692                 "19c2e03c.0986a"\r
693             ]\r
694         ]\r
695     },\r
696     {\r
697         "id": "fe1ec6df.57ce2",\r
698         "type": "other",\r
699         "name": "other : Do nothing",\r
700         "xml": "<outcome value='Other'>\n",\r
701         "comments": "",\r
702         "outputs": 1,\r
703         "x": 1006.5,\r
704         "y": 659.75,\r
705         "z": "889fd083.2b7ef8",\r
706         "wires": [\r
707             []\r
708         ]\r
709     },\r
710     {\r
711         "id": "6da2f5a8.f434e4",\r
712         "type": "switchNode",\r
713         "name": "switch protocol-name",\r
714         "xml": "<switch test='`$node.layer-protocol-name[0]`'>\n",\r
715         "comments": "",\r
716         "outputs": 1,\r
717         "x": 743.5,\r
718         "y": 402.75,\r
719         "z": "889fd083.2b7ef8",\r
720         "wires": [\r
721             [\r
722                 "df721d57.a3d178",\r
723                 "5fd361c8.741368"\r
724             ]\r
725         ]\r
726     },\r
727     {\r
728         "id": "df721d57.a3d178",\r
729         "type": "outcome",\r
730         "name": "ODU",\r
731         "xml": "<outcome value='ODU'>\n",\r
732         "comments": "",\r
733         "outputs": 1,\r
734         "x": 911.5,\r
735         "y": 351.75,\r
736         "z": "889fd083.2b7ef8",\r
737         "wires": [\r
738             [\r
739                 "945c89c8.c9434"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "5fd361c8.741368",\r
745         "type": "other",\r
746         "name": "other : Do nothing",\r
747         "xml": "<outcome value='Other'>\n",\r
748         "comments": "",\r
749         "outputs": 1,\r
750         "x": 834.5,\r
751         "y": 519.75,\r
752         "z": "889fd083.2b7ef8",\r
753         "wires": [\r
754             []\r
755         ]\r
756     },\r
757     {\r
758         "id": "945c89c8.c9434",\r
759         "type": "block",\r
760         "name": "block",\r
761         "xml": "<block>\n",\r
762         "atomic": "false",\r
763         "comments": "",\r
764         "outputs": 1,\r
765         "x": 964.5,\r
766         "y": 411.75,\r
767         "z": "889fd083.2b7ef8",\r
768         "wires": [\r
769             [\r
770                 "bc68d1e8.e31198",\r
771                 "92c307e6.97cbc",\r
772                 "86162f30.2a9ae8",\r
773                 "7f0ad56a.8f2d9c"\r
774             ]\r
775         ]\r
776     },\r
777     {\r
778         "id": "19c2e03c.0986a",\r
779         "type": "block",\r
780         "name": "block : atomic",\r
781         "xml": "<block atomic='true'>",\r
782         "atomic": "true",\r
783         "comments": "",\r
784         "outputs": 1,\r
785         "x": 989.5,\r
786         "y": 791.75,\r
787         "z": "889fd083.2b7ef8",\r
788         "wires": [\r
789             [\r
790                 "73c0be48.78d9c",\r
791                 "9063f945.45c61",\r
792                 "6fdf7fa8.7c48c8",\r
793                 "ba5ade19.6c4198",\r
794                 "f873518e.db3378",\r
795                 "7b136b52.cc8804",\r
796                 "ab66aebe.96785",\r
797                 "4d7cdf9a.70d5",\r
798                 "1e6632e9.5e9045"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "6168108c.1668e",\r
804         "type": "set",\r
805         "name": "set link paramaters",\r
806         "xml": "<set>\n<parameter name='interface1' value=\"`$link.node-edge-point[0].node-edge-point-uuid`\" />\n<parameter name='interface2' value=\"`$link.node-edge-point[1].node-edge-point-uuid`\" />\n<parameter name='pnf1' value=\"`$link.node-edge-point[0].node-uuid`\" />\n<parameter name='pnf2' value=\"`$link.node-edge-point[1].node-uuid`\" />\n",\r
807         "comments": "",\r
808         "x": 532.5,\r
809         "y": 884.75,\r
810         "z": "889fd083.2b7ef8",\r
811         "wires": []\r
812     },\r
813     {\r
814         "id": "2c557c83.4496a4",\r
815         "type": "set",\r
816         "name": "set controller_id",\r
817         "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url + '_' + $prop.sdncRestApi.thirdpartySdnc.id`\" />\n\n\n\n",\r
818         "comments": "",\r
819         "x": 567.5,\r
820         "y": 263.75,\r
821         "z": "889fd083.2b7ef8",\r
822         "wires": []\r
823     },\r
824     {\r
825         "id": "126a95d4.fdd29a",\r
826         "type": "outcome",\r
827         "name": "ODU0",\r
828         "xml": "<outcome value='ODU0'>\n",\r
829         "comments": "",\r
830         "outputs": 1,\r
831         "x": 1396.5,\r
832         "y": 870.75,\r
833         "z": "889fd083.2b7ef8",\r
834         "wires": [\r
835             [\r
836                 "427cb754.a4ec08"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "a57ded19.dddc58",\r
842         "type": "outcome",\r
843         "name": "ODU1",\r
844         "xml": "<outcome value='ODU1'>\n",\r
845         "comments": "",\r
846         "outputs": 1,\r
847         "x": 1396.5,\r
848         "y": 908.75,\r
849         "z": "889fd083.2b7ef8",\r
850         "wires": [\r
851             [\r
852                 "427cb754.a4ec08"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "dfcbe305.0a4f88",\r
858         "type": "outcome",\r
859         "name": "ODU2",\r
860         "xml": "<outcome value='ODU2'>\n",\r
861         "comments": "",\r
862         "outputs": 1,\r
863         "x": 1389.5,\r
864         "y": 946.75,\r
865         "z": "889fd083.2b7ef8",\r
866         "wires": [\r
867             [\r
868                 "427cb754.a4ec08"\r
869             ]\r
870         ]\r
871     },\r
872     {\r
873         "id": "ab66aebe.96785",\r
874         "type": "for",\r
875         "name": "for each connection-point",\r
876         "xml": "<for index='cepx' start='0' end='`$tp.cep-list.connection-end-point_length`' >\n    \n    \n    \n    \n",\r
877         "comments": "",\r
878         "outputs": 1,\r
879         "x": 749.25,\r
880         "y": 2654,\r
881         "z": "889fd083.2b7ef8",\r
882         "wires": [\r
883             [\r
884                 "818c949c.9bcab",\r
885                 "5fcab391.9ecf5c"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "4d7cdf9a.70d5",\r
891         "type": "save",\r
892         "name": "save pnf & p-interface in DB",\r
893         "xml": "<save plugin=\"org.onap.ccsdk.sli.adaptors.resource.sql.SqlResource\" resource=\"SQL\" key=\"INSERT INTO TOPOLOGY_LOGICAL_RELATION_TO_PINTERFACE VALUES ( $tp.uuid , $tp-name , $node.uuid , $node-name , $controller_id , $tp-speed , null , $ce );\">\n\n",\r
894         "comments": "",\r
895         "outputs": 1,\r
896         "x": 711.25,\r
897         "y": 2788.2998046875,\r
898         "z": "889fd083.2b7ef8",\r
899         "wires": [\r
900             []\r
901         ]\r
902     },\r
903     {\r
904         "id": "818c949c.9bcab",\r
905         "type": "record",\r
906         "name": "record",\r
907         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"For every uuid\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point[$cepx].uuid`\"/>\n\n\n\n\n\n\n\n\n\n\n",\r
908         "comments": "",\r
909         "outputs": 1,\r
910         "x": 961.11669921875,\r
911         "y": 2574.7666015625,\r
912         "z": "889fd083.2b7ef8",\r
913         "wires": [\r
914             []\r
915         ]\r
916     },\r
917     {\r
918         "id": "5fcab391.9ecf5c",\r
919         "type": "switchNode",\r
920         "name": "switch",\r
921         "xml": "<switch test='`$tp.cep-list.connection-end-point_length`'>\n",\r
922         "comments": "",\r
923         "outputs": 1,\r
924         "x": 967.11669921875,\r
925         "y": 2678.7666015625,\r
926         "z": "889fd083.2b7ef8",\r
927         "wires": [\r
928             [\r
929                 "17e5cfef.9c4068",\r
930                 "70812c82.c38b6c",\r
931                 "cf38e78.4293198",\r
932                 "eb065e82.6bf0f8"\r
933             ]\r
934         ]\r
935     },\r
936     {\r
937         "id": "1225a782.17cc3",\r
938         "type": "set",\r
939         "name": "set cep-uuid ",\r
940         "xml": "<set>\n<parameter name='ce' value=\"`$ce + $tp.cep-list.connection-end-point[0].uuid`\" />\n",\r
941         "comments": "",\r
942         "x": 1516.11669921875,\r
943         "y": 2583.7666015625,\r
944         "z": "889fd083.2b7ef8",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "eb065e82.6bf0f8",\r
949         "type": "other",\r
950         "name": "0",\r
951         "xml": "<outcome value='0'>\n",\r
952         "comments": "",\r
953         "outputs": 1,\r
954         "x": 1140.11669921875,\r
955         "y": 2537.7666015625,\r
956         "z": "889fd083.2b7ef8",\r
957         "wires": [\r
958             [\r
959                 "7b42db44.8968b4"\r
960             ]\r
961         ]\r
962     },\r
963     {\r
964         "id": "17e5cfef.9c4068",\r
965         "type": "other",\r
966         "name": "1",\r
967         "xml": "<outcome value='1'>\n",\r
968         "comments": "",\r
969         "outputs": 1,\r
970         "x": 1145.283447265625,\r
971         "y": 2616.183349609375,\r
972         "z": "889fd083.2b7ef8",\r
973         "wires": [\r
974             [\r
975                 "66d4231b.135104"\r
976             ]\r
977         ]\r
978     },\r
979     {\r
980         "id": "70812c82.c38b6c",\r
981         "type": "other",\r
982         "name": "2",\r
983         "xml": "<outcome value='2'>\n",\r
984         "comments": "",\r
985         "outputs": 1,\r
986         "x": 1113.11669921875,\r
987         "y": 2679.7666015625,\r
988         "z": "889fd083.2b7ef8",\r
989         "wires": [\r
990             [\r
991                 "4d473378.a2567c"\r
992             ]\r
993         ]\r
994     },\r
995     {\r
996         "id": "4318b0c8.4f912",\r
997         "type": "set",\r
998         "name": "set cep-uuid ",\r
999         "xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='ce' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n\n",\r
1000         "comments": "",\r
1001         "x": 1475.283447265625,\r
1002         "y": 2658.183349609375,\r
1003         "z": "889fd083.2b7ef8",\r
1004         "wires": []\r
1005     },\r
1006     {\r
1007         "id": "cf38e78.4293198",\r
1008         "type": "other",\r
1009         "name": "3",\r
1010         "xml": "<outcome value='3'>\n",\r
1011         "comments": "",\r
1012         "outputs": 1,\r
1013         "x": 1126.166748046875,\r
1014         "y": 2801.966796875,\r
1015         "z": "889fd083.2b7ef8",\r
1016         "wires": [\r
1017             [\r
1018                 "3aded49e.98566c"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "2f6ac631.4d8692",\r
1024         "type": "set",\r
1025         "name": "set",\r
1026         "xml": "<set>\n<parameter name='some1' value=\"`$tp.cep-list.connection-end-point[0].uuid`\" />\n<parameter name='cep' value=\"`$some1 + ',' + $tp.cep-list.connection-end-point[1].uuid`\" />\n<parameter name='ce' value=\"`$cep + ',' + $tp.cep-list.connection-end-point[2].uuid`\" />\n",\r
1027         "comments": "",\r
1028         "x": 1484.11669921875,\r
1029         "y": 2805.7666015625,\r
1030         "z": "889fd083.2b7ef8",\r
1031         "wires": []\r
1032     },\r
1033     {\r
1034         "id": "66d4231b.135104",\r
1035         "type": "block",\r
1036         "name": "block : atomic",\r
1037         "xml": "<block atomic='true'>",\r
1038         "atomic": "true",\r
1039         "comments": "",\r
1040         "outputs": 1,\r
1041         "x": 1304.9833984375,\r
1042         "y": 2602.13330078125,\r
1043         "z": "889fd083.2b7ef8",\r
1044         "wires": [\r
1045             [\r
1046                 "1225a782.17cc3"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "4d473378.a2567c",\r
1052         "type": "block",\r
1053         "name": "block : atomic",\r
1054         "xml": "<block atomic='true'>",\r
1055         "atomic": "true",\r
1056         "comments": "",\r
1057         "outputs": 1,\r
1058         "x": 1291.9833984375,\r
1059         "y": 2678.13330078125,\r
1060         "z": "889fd083.2b7ef8",\r
1061         "wires": [\r
1062             [\r
1063                 "4318b0c8.4f912",\r
1064                 "b6deb945.82c008"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "3aded49e.98566c",\r
1070         "type": "block",\r
1071         "name": "block : atomic",\r
1072         "xml": "<block atomic='true'>",\r
1073         "atomic": "true",\r
1074         "comments": "",\r
1075         "outputs": 1,\r
1076         "x": 1314.9833984375,\r
1077         "y": 2810.13330078125,\r
1078         "z": "889fd083.2b7ef8",\r
1079         "wires": [\r
1080             [\r
1081                 "2f6ac631.4d8692"\r
1082             ]\r
1083         ]\r
1084     },\r
1085     {\r
1086         "id": "b6deb945.82c008",\r
1087         "type": "record",\r
1088         "name": "record",\r
1089         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/svclogic.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Length\"/>\n<parameter name=\"field2\" value=\"`$tp.cep-list.connection-end-point_length`\"/>\n\n<parameter name=\"field3\" value=\"`$some1`\"/>\n\n\n\n\n\n\n\n\n\n",\r
1090         "comments": "",\r
1091         "outputs": 1,\r
1092         "x": 1483.9833984375,\r
1093         "y": 2711.13330078125,\r
1094         "z": "889fd083.2b7ef8",\r
1095         "wires": [\r
1096             []\r
1097         ]\r
1098     },\r
1099     {\r
1100         "id": "cc05c606.1d6b7",\r
1101         "type": "set",\r
1102         "name": "set cep-uuid ",\r
1103         "xml": "<set>\n<parameter name='ce' value='' />\n",\r
1104         "comments": "",\r
1105         "x": 1502.283447265625,\r
1106         "y": 2520.183349609375,\r
1107         "z": "889fd083.2b7ef8",\r
1108         "wires": []\r
1109     },\r
1110     {\r
1111         "id": "7b42db44.8968b4",\r
1112         "type": "block",\r
1113         "name": "block : atomic",\r
1114         "xml": "<block atomic='true'>",\r
1115         "atomic": "true",\r
1116         "comments": "",\r
1117         "outputs": 1,\r
1118         "x": 1300.9833984375,\r
1119         "y": 2531.63330078125,\r
1120         "z": "889fd083.2b7ef8",\r
1121         "wires": [\r
1122             [\r
1123                 "cc05c606.1d6b7"\r
1124             ]\r
1125         ]\r
1126     },\r
1127     {\r
1128         "id": "ba5ade19.6c4198",\r
1129         "type": "save",\r
1130         "name": "save p-interface in AAI",\r
1131         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid' >      \n<parameter name='interface-name' value='`$tp.uuid`' />\n<parameter name='port-description' value='`$tp-name`' />\n<parameter name='operational-status' value='`$tp.administrative-state`' />\n<parameter name='in-maint' value=\"true\" />\n<parameter name='network-interface-type' value='`$netinttype`' />\n<parameter name='speed-units' value=\"Gbps\" />\n<parameter name='speed-value' value='`$tp-speed`' />\n<parameter name='available-capacity' value='`$tp-speed`' />\n\n\n\n\n\n",\r
1132         "comments": "",\r
1133         "outputs": 1,\r
1134         "x": 1166.5,\r
1135         "y": 1175.75,\r
1136         "z": "889fd083.2b7ef8",\r
1137         "wires": [\r
1138             []\r
1139         ]\r
1140     },\r
1141     {\r
1142         "id": "ebb1e1fc.8f16c",\r
1143         "type": "outcome",\r
1144         "name": "ODU3",\r
1145         "xml": "<outcome value='ODU3'>\n",\r
1146         "comments": "",\r
1147         "outputs": 1,\r
1148         "x": 1393.5,\r
1149         "y": 980.75,\r
1150         "z": "889fd083.2b7ef8",\r
1151         "wires": [\r
1152             [\r
1153                 "427cb754.a4ec08"\r
1154             ]\r
1155         ]\r
1156     },\r
1157     {\r
1158         "id": "de9b3bad.cdcd28",\r
1159         "type": "outcome",\r
1160         "name": "ODU4",\r
1161         "xml": "<outcome value='ODU4'>\n",\r
1162         "comments": "",\r
1163         "outputs": 1,\r
1164         "x": 1391.5,\r
1165         "y": 1019.75,\r
1166         "z": "889fd083.2b7ef8",\r
1167         "wires": [\r
1168             [\r
1169                 "427cb754.a4ec08"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "f873518e.db3378",\r
1175         "type": "get-resource",\r
1176         "name": "get-resource",\r
1177         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\"\nresource=\"p-interface\"\n key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid'  \n      pfx='aai.service' local-only='false'>",\r
1178         "comments": "",\r
1179         "outputs": 1,\r
1180         "x": 1085.066650390625,\r
1181         "y": 1313.316650390625,\r
1182         "z": "889fd083.2b7ef8",\r
1183         "wires": [\r
1184             [\r
1185                 "54b2ae84.6fbea"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "54b2ae84.6fbea",\r
1191         "type": "success",\r
1192         "name": "success",\r
1193         "xml": "<outcome value='success'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 1303.25,\r
1197         "y": 1322.5,\r
1198         "z": "889fd083.2b7ef8",\r
1199         "wires": [\r
1200             [\r
1201                 "10120b02.49d2ed"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "10120b02.49d2ed",\r
1207         "type": "set",\r
1208         "name": "set",\r
1209         "xml": "<set>\n<parameter name='interface-type' value='`$aai.service.network-interface-type`' />\n<parameter name='rate-param' value='`$aai.service.speed-value`' />\n\n",\r
1210         "comments": "",\r
1211         "x": 1456.25,\r
1212         "y": 1321.5,\r
1213         "z": "889fd083.2b7ef8",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "7b136b52.cc8804",\r
1218         "type": "switchNode",\r
1219         "name": "switch",\r
1220         "xml": "<switch test='`$interface-type`'>\n",\r
1221         "comments": "",\r
1222         "outputs": 1,\r
1223         "x": 1050.25,\r
1224         "y": 1429.5,\r
1225         "z": "889fd083.2b7ef8",\r
1226         "wires": [\r
1227             [\r
1228                 "ed1a6e9b.483498",\r
1229                 "ae07368.586efc8"\r
1230             ]\r
1231         ]\r
1232     },\r
1233     {\r
1234         "id": "ed1a6e9b.483498",\r
1235         "type": "outcome",\r
1236         "name": "UNI : Do Nothing",\r
1237         "xml": "<outcome value='UNI'>\n",\r
1238         "comments": "",\r
1239         "outputs": 1,\r
1240         "x": 1212.25,\r
1241         "y": 1395.5,\r
1242         "z": "889fd083.2b7ef8",\r
1243         "wires": [\r
1244             []\r
1245         ]\r
1246     },\r
1247     {\r
1248         "id": "ae07368.586efc8",\r
1249         "type": "outcome",\r
1250         "name": "NNI",\r
1251         "xml": "<outcome value='NNI'>\n",\r
1252         "comments": "",\r
1253         "outputs": 1,\r
1254         "x": 1188.25,\r
1255         "y": 1532.5,\r
1256         "z": "889fd083.2b7ef8",\r
1257         "wires": [\r
1258             [\r
1259                 "e05cb7b9.490098"\r
1260             ]\r
1261         ]\r
1262     },\r
1263     {\r
1264         "id": "e05cb7b9.490098",\r
1265         "type": "block",\r
1266         "name": "block : atomic",\r
1267         "xml": "<block atomic='true'>",\r
1268         "atomic": "true",\r
1269         "comments": "",\r
1270         "outputs": 1,\r
1271         "x": 1387.25,\r
1272         "y": 1425.5,\r
1273         "z": "889fd083.2b7ef8",\r
1274         "wires": [\r
1275             [\r
1276                 "a2374b93.049ea8",\r
1277                 "b32418a3.f6237",\r
1278                 "16bb4cdf.e580bb",\r
1279                 "b25de91c.bda328"\r
1280             ]\r
1281         ]\r
1282     },\r
1283     {\r
1284         "id": "a2374b93.049ea8",\r
1285         "type": "save",\r
1286         "name": "save p-interface in AAI",\r
1287         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='bandwidth-attribute' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba' >      \n<parameter name='bwa-id' value='`$random-ba`' />\n\n\n\n\n\n\n",\r
1288         "comments": "",\r
1289         "outputs": 1,\r
1290         "x": 1624.25,\r
1291         "y": 1449.4999389648438,\r
1292         "z": "889fd083.2b7ef8",\r
1293         "wires": [\r
1294             []\r
1295         ]\r
1296     },\r
1297     {\r
1298         "id": "1e6632e9.5e9045",\r
1299         "type": "set",\r
1300         "name": "set cep-uuid ",\r
1301         "xml": "<set>\n<parameter name='ce' value='' />\n<parameter name='some' value='' />\n",\r
1302         "comments": "",\r
1303         "x": 740.25,\r
1304         "y": 2572,\r
1305         "z": "889fd083.2b7ef8",\r
1306         "wires": []\r
1307     },\r
1308     {\r
1309         "id": "b32418a3.f6237",\r
1310         "type": "set",\r
1311         "name": "set",\r
1312         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1313         "comments": "",\r
1314         "x": 1604.25,\r
1315         "y": 1367,\r
1316         "z": "889fd083.2b7ef8",\r
1317         "wires": []\r
1318     },\r
1319     {\r
1320         "id": "16bb4cdf.e580bb",\r
1321         "type": "execute",\r
1322         "name": "execute",\r
1323         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid\"/>\n",\r
1324         "comments": "",\r
1325         "outputs": 1,\r
1326         "x": 1611.25,\r
1327         "y": 1284.5,\r
1328         "z": "889fd083.2b7ef8",\r
1329         "wires": [\r
1330             []\r
1331         ]\r
1332     },\r
1333     {\r
1334         "id": "b25de91c.bda328",\r
1335         "type": "switchNode",\r
1336         "name": "switch rate in NNI",\r
1337         "xml": "<switch test='`$rate-param`'>\n",\r
1338         "comments": "",\r
1339         "outputs": 1,\r
1340         "x": 1076.25,\r
1341         "y": 1925.5,\r
1342         "z": "889fd083.2b7ef8",\r
1343         "wires": [\r
1344             [\r
1345                 "cfd66cd.f7c259",\r
1346                 "6999d541.5ae774",\r
1347                 "2674f61.a788a8a",\r
1348                 "f8c8298c.683ff",\r
1349                 "a534af49.18093",\r
1350                 "3debfbca.1066ec",\r
1351                 "c1f6f555.a81e2",\r
1352                 "b5a03cf.2592ec",\r
1353                 "f479789f.1b4c28",\r
1354                 "1052b35d.5f118d"\r
1355             ]\r
1356         ]\r
1357     },\r
1358     {\r
1359         "id": "cfd66cd.f7c259",\r
1360         "type": "outcome",\r
1361         "name": "ODU0",\r
1362         "xml": "<outcome value='ODU0'>\n",\r
1363         "comments": "",\r
1364         "outputs": 1,\r
1365         "x": 1744.433349609375,\r
1366         "y": 1511.683349609375,\r
1367         "z": "889fd083.2b7ef8",\r
1368         "wires": [\r
1369             [\r
1370                 "f32bc7c2.faf2c"\r
1371             ]\r
1372         ]\r
1373     },\r
1374     {\r
1375         "id": "6999d541.5ae774",\r
1376         "type": "outcome",\r
1377         "name": "ODU1",\r
1378         "xml": "<outcome value='ODU1'>\n",\r
1379         "comments": "",\r
1380         "outputs": 1,\r
1381         "x": 1701.433349609375,\r
1382         "y": 1774.683349609375,\r
1383         "z": "889fd083.2b7ef8",\r
1384         "wires": [\r
1385             [\r
1386                 "1237b047.f6bdb8"\r
1387             ]\r
1388         ]\r
1389     },\r
1390     {\r
1391         "id": "2674f61.a788a8a",\r
1392         "type": "outcome",\r
1393         "name": "ODU2",\r
1394         "xml": "<outcome value='ODU2'>\n",\r
1395         "comments": "",\r
1396         "outputs": 1,\r
1397         "x": 1655.433349609375,\r
1398         "y": 2004.683349609375,\r
1399         "z": "889fd083.2b7ef8",\r
1400         "wires": [\r
1401             [\r
1402                 "edd28e3f.12d818"\r
1403             ]\r
1404         ]\r
1405     },\r
1406     {\r
1407         "id": "f8c8298c.683ff",\r
1408         "type": "outcome",\r
1409         "name": "ODU3",\r
1410         "xml": "<outcome value='ODU3'>\n",\r
1411         "comments": "",\r
1412         "outputs": 1,\r
1413         "x": 1747.433349609375,\r
1414         "y": 2375.683349609375,\r
1415         "z": "889fd083.2b7ef8",\r
1416         "wires": [\r
1417             [\r
1418                 "9f035a9.5dca828"\r
1419             ]\r
1420         ]\r
1421     },\r
1422     {\r
1423         "id": "a534af49.18093",\r
1424         "type": "outcome",\r
1425         "name": "ODU4",\r
1426         "xml": "<outcome value='ODU4'>\n",\r
1427         "comments": "",\r
1428         "outputs": 1,\r
1429         "x": 1732.433349609375,\r
1430         "y": 2601.683349609375,\r
1431         "z": "889fd083.2b7ef8",\r
1432         "wires": [\r
1433             [\r
1434                 "bab2a21f.c59978"\r
1435             ]\r
1436         ]\r
1437     },\r
1438     {\r
1439         "id": "f32bc7c2.faf2c",\r
1440         "type": "block",\r
1441         "name": "block : atomic",\r
1442         "xml": "<block atomic='true'>",\r
1443         "atomic": "true",\r
1444         "comments": "",\r
1445         "outputs": 1,\r
1446         "x": 1889.433349609375,\r
1447         "y": 1388.4833984375,\r
1448         "z": "889fd083.2b7ef8",\r
1449         "wires": [\r
1450             [\r
1451                 "b06e605b.2abf88",\r
1452                 "db6f5a5a.d155f8",\r
1453                 "37f9796c.91d556",\r
1454                 "b12688be.71b998",\r
1455                 "652396ac.fb2ca",\r
1456                 "dbec064.966df78"\r
1457             ]\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "b06e605b.2abf88",\r
1462         "type": "save",\r
1463         "name": "save available-bandwidth in AAI for odu0",\r
1464         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1465         "comments": "",\r
1466         "outputs": 1,\r
1467         "x": 2177.433349609375,\r
1468         "y": 1236.4833984375,\r
1469         "z": "889fd083.2b7ef8",\r
1470         "wires": [\r
1471             []\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "db6f5a5a.d155f8",\r
1476         "type": "save",\r
1477         "name": "save available-bandwidth in AAI for odu1",\r
1478         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 2170.75,\r
1482         "y": 1291.5,\r
1483         "z": "889fd083.2b7ef8",\r
1484         "wires": [\r
1485             []\r
1486         ]\r
1487     },\r
1488     {\r
1489         "id": "37f9796c.91d556",\r
1490         "type": "save",\r
1491         "name": "save available-bandwidth in AAI for odu2",\r
1492         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1493         "comments": "",\r
1494         "outputs": 1,\r
1495         "x": 2158.75,\r
1496         "y": 1365.5,\r
1497         "z": "889fd083.2b7ef8",\r
1498         "wires": [\r
1499             []\r
1500         ]\r
1501     },\r
1502     {\r
1503         "id": "b12688be.71b998",\r
1504         "type": "save",\r
1505         "name": "save available-bandwidth in AAI for odu3",\r
1506         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1507         "comments": "",\r
1508         "outputs": 1,\r
1509         "x": 2157.75,\r
1510         "y": 1439.5,\r
1511         "z": "889fd083.2b7ef8",\r
1512         "wires": [\r
1513             []\r
1514         ]\r
1515     },\r
1516     {\r
1517         "id": "652396ac.fb2ca",\r
1518         "type": "save",\r
1519         "name": "save available-bandwidth in AAI for odu4",\r
1520         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1521         "comments": "",\r
1522         "outputs": 1,\r
1523         "x": 2176.75,\r
1524         "y": 1542.5,\r
1525         "z": "889fd083.2b7ef8",\r
1526         "wires": [\r
1527             []\r
1528         ]\r
1529     },\r
1530     {\r
1531         "id": "1237b047.f6bdb8",\r
1532         "type": "block",\r
1533         "name": "block : atomic",\r
1534         "xml": "<block atomic='true'>",\r
1535         "atomic": "true",\r
1536         "comments": "",\r
1537         "outputs": 1,\r
1538         "x": 1883.75,\r
1539         "y": 1774.5,\r
1540         "z": "889fd083.2b7ef8",\r
1541         "wires": [\r
1542             [\r
1543                 "57ae3f0d.1b7ad8",\r
1544                 "b0d77cbd.9d154",\r
1545                 "f31475f6.d37a28",\r
1546                 "a1a0d33d.751ae8",\r
1547                 "b0639eba.414c4",\r
1548                 "96922cd9.800d9"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "57ae3f0d.1b7ad8",\r
1554         "type": "save",\r
1555         "name": "save available-bandwidth in AAI for odu0",\r
1556         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1557         "comments": "",\r
1558         "outputs": 1,\r
1559         "x": 2208.75,\r
1560         "y": 1621.5,\r
1561         "z": "889fd083.2b7ef8",\r
1562         "wires": [\r
1563             []\r
1564         ]\r
1565     },\r
1566     {\r
1567         "id": "b0d77cbd.9d154",\r
1568         "type": "save",\r
1569         "name": "save available-bandwidth in AAI for odu1",\r
1570         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1571         "comments": "",\r
1572         "outputs": 1,\r
1573         "x": 2192.066650390625,\r
1574         "y": 1692.5166015625,\r
1575         "z": "889fd083.2b7ef8",\r
1576         "wires": [\r
1577             []\r
1578         ]\r
1579     },\r
1580     {\r
1581         "id": "f31475f6.d37a28",\r
1582         "type": "save",\r
1583         "name": "save available-bandwidth in AAI for odu2",\r
1584         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1585         "comments": "",\r
1586         "outputs": 1,\r
1587         "x": 2188.066650390625,\r
1588         "y": 1747.5166015625,\r
1589         "z": "889fd083.2b7ef8",\r
1590         "wires": [\r
1591             []\r
1592         ]\r
1593     },\r
1594     {\r
1595         "id": "a1a0d33d.751ae8",\r
1596         "type": "save",\r
1597         "name": "save available-bandwidth in AAI for odu3",\r
1598         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1599         "comments": "",\r
1600         "outputs": 1,\r
1601         "x": 2203.066650390625,\r
1602         "y": 1812.5166015625,\r
1603         "z": "889fd083.2b7ef8",\r
1604         "wires": [\r
1605             []\r
1606         ]\r
1607     },\r
1608     {\r
1609         "id": "b0639eba.414c4",\r
1610         "type": "save",\r
1611         "name": "save available-bandwidth in AAI for odu4",\r
1612         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1613         "comments": "",\r
1614         "outputs": 1,\r
1615         "x": 2198.066650390625,\r
1616         "y": 1881.5166015625,\r
1617         "z": "889fd083.2b7ef8",\r
1618         "wires": [\r
1619             []\r
1620         ]\r
1621     },\r
1622     {\r
1623         "id": "edd28e3f.12d818",\r
1624         "type": "block",\r
1625         "name": "block : atomic",\r
1626         "xml": "<block atomic='true'>",\r
1627         "atomic": "true",\r
1628         "comments": "",\r
1629         "outputs": 1,\r
1630         "x": 1896.75,\r
1631         "y": 2080,\r
1632         "z": "889fd083.2b7ef8",\r
1633         "wires": [\r
1634             [\r
1635                 "ded6ae2e.d9274",\r
1636                 "125903bb.57f17c",\r
1637                 "fa15292e.7d1358",\r
1638                 "6d9b9d3.6c6bae4",\r
1639                 "283ad9a6.af3796",\r
1640                 "76f468c7.100f5",\r
1641                 "66321421.ead65c"\r
1642             ]\r
1643         ]\r
1644     },\r
1645     {\r
1646         "id": "ded6ae2e.d9274",\r
1647         "type": "save",\r
1648         "name": "save available-bandwidth in AAI for odu0",\r
1649         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='8' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1650         "comments": "",\r
1651         "outputs": 1,\r
1652         "x": 2181.75,\r
1653         "y": 1923,\r
1654         "z": "889fd083.2b7ef8",\r
1655         "wires": [\r
1656             []\r
1657         ]\r
1658     },\r
1659     {\r
1660         "id": "125903bb.57f17c",\r
1661         "type": "save",\r
1662         "name": "save available-bandwidth in AAI for odu1",\r
1663         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='4' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1664         "comments": "",\r
1665         "outputs": 1,\r
1666         "x": 2205.066650390625,\r
1667         "y": 1998.0166015625,\r
1668         "z": "889fd083.2b7ef8",\r
1669         "wires": [\r
1670             []\r
1671         ]\r
1672     },\r
1673     {\r
1674         "id": "fa15292e.7d1358",\r
1675         "type": "save",\r
1676         "name": "save available-bandwidth in AAI for odu2",\r
1677         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1678         "comments": "",\r
1679         "outputs": 1,\r
1680         "x": 2201.066650390625,\r
1681         "y": 2053.0166015625,\r
1682         "z": "889fd083.2b7ef8",\r
1683         "wires": [\r
1684             []\r
1685         ]\r
1686     },\r
1687     {\r
1688         "id": "6d9b9d3.6c6bae4",\r
1689         "type": "save",\r
1690         "name": "save available-bandwidth in AAI for odu3",\r
1691         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1692         "comments": "",\r
1693         "outputs": 1,\r
1694         "x": 2216.066650390625,\r
1695         "y": 2118.0166015625,\r
1696         "z": "889fd083.2b7ef8",\r
1697         "wires": [\r
1698             []\r
1699         ]\r
1700     },\r
1701     {\r
1702         "id": "283ad9a6.af3796",\r
1703         "type": "save",\r
1704         "name": "save available-bandwidth in AAI for odu4",\r
1705         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1706         "comments": "",\r
1707         "outputs": 1,\r
1708         "x": 2211.066650390625,\r
1709         "y": 2187.0166015625,\r
1710         "z": "889fd083.2b7ef8",\r
1711         "wires": [\r
1712             []\r
1713         ]\r
1714     },\r
1715     {\r
1716         "id": "9f035a9.5dca828",\r
1717         "type": "block",\r
1718         "name": "block : atomic",\r
1719         "xml": "<block atomic='true'>",\r
1720         "atomic": "true",\r
1721         "comments": "",\r
1722         "outputs": 1,\r
1723         "x": 1916.75,\r
1724         "y": 2401,\r
1725         "z": "889fd083.2b7ef8",\r
1726         "wires": [\r
1727             [\r
1728                 "b179181d.28f12",\r
1729                 "336e995f.88036e",\r
1730                 "52628aca.a0aae4",\r
1731                 "5057689a.9102",\r
1732                 "58a41cb0.80c304",\r
1733                 "c46e7716.9a56f8"\r
1734             ]\r
1735         ]\r
1736     },\r
1737     {\r
1738         "id": "b179181d.28f12",\r
1739         "type": "save",\r
1740         "name": "save available-bandwidth in AAI for odu0",\r
1741         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1742         "comments": "",\r
1743         "outputs": 1,\r
1744         "x": 2275.75,\r
1745         "y": 2252,\r
1746         "z": "889fd083.2b7ef8",\r
1747         "wires": [\r
1748             []\r
1749         ]\r
1750     },\r
1751     {\r
1752         "id": "336e995f.88036e",\r
1753         "type": "save",\r
1754         "name": "save available-bandwidth in AAI for odu1",\r
1755         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='20' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1756         "comments": "",\r
1757         "outputs": 1,\r
1758         "x": 2273.066650390625,\r
1759         "y": 2319.0166015625,\r
1760         "z": "889fd083.2b7ef8",\r
1761         "wires": [\r
1762             []\r
1763         ]\r
1764     },\r
1765     {\r
1766         "id": "52628aca.a0aae4",\r
1767         "type": "save",\r
1768         "name": "save available-bandwidth in AAI for odu2",\r
1769         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='5' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1770         "comments": "",\r
1771         "outputs": 1,\r
1772         "x": 2221.066650390625,\r
1773         "y": 2374.0166015625,\r
1774         "z": "889fd083.2b7ef8",\r
1775         "wires": [\r
1776             []\r
1777         ]\r
1778     },\r
1779     {\r
1780         "id": "5057689a.9102",\r
1781         "type": "save",\r
1782         "name": "save available-bandwidth in AAI for odu3",\r
1783         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1784         "comments": "",\r
1785         "outputs": 1,\r
1786         "x": 2236.066650390625,\r
1787         "y": 2439.0166015625,\r
1788         "z": "889fd083.2b7ef8",\r
1789         "wires": [\r
1790             []\r
1791         ]\r
1792     },\r
1793     {\r
1794         "id": "58a41cb0.80c304",\r
1795         "type": "save",\r
1796         "name": "save available-bandwidth in AAI for odu4",\r
1797         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='0' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1798         "comments": "",\r
1799         "outputs": 1,\r
1800         "x": 2231.066650390625,\r
1801         "y": 2508.0166015625,\r
1802         "z": "889fd083.2b7ef8",\r
1803         "wires": [\r
1804             []\r
1805         ]\r
1806     },\r
1807     {\r
1808         "id": "bab2a21f.c59978",\r
1809         "type": "block",\r
1810         "name": "block : atomic",\r
1811         "xml": "<block atomic='true'>",\r
1812         "atomic": "true",\r
1813         "comments": "",\r
1814         "outputs": 1,\r
1815         "x": 1940.75,\r
1816         "y": 2735,\r
1817         "z": "889fd083.2b7ef8",\r
1818         "wires": [\r
1819             [\r
1820                 "79aef29c.d9c214",\r
1821                 "afdcc7a1.004de",\r
1822                 "85342b90.307d48",\r
1823                 "5b42d06.879793",\r
1824                 "c8d299ec.5203f8",\r
1825                 "71414c15.79cd94"\r
1826             ]\r
1827         ]\r
1828     },\r
1829     {\r
1830         "id": "79aef29c.d9c214",\r
1831         "type": "save",\r
1832         "name": "save available-bandwidth in AAI for odu0",\r
1833         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu0' >      \n<parameter name='ab-id' value='`$odu0`' />\n<parameter name='odu-type' value=\"ODU0\" />\n<parameter name='number' value='80' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1834         "comments": "",\r
1835         "outputs": 1,\r
1836         "x": 2301.75,\r
1837         "y": 2582,\r
1838         "z": "889fd083.2b7ef8",\r
1839         "wires": [\r
1840             []\r
1841         ]\r
1842     },\r
1843     {\r
1844         "id": "afdcc7a1.004de",\r
1845         "type": "save",\r
1846         "name": "save available-bandwidth in AAI for odu1",\r
1847         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu1' >      \n<parameter name='ab-id' value='`$odu1`' />\n<parameter name='odu-type' value=\"ODU1\" />\n<parameter name='number' value='40' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1848         "comments": "",\r
1849         "outputs": 1,\r
1850         "x": 2287.066650390625,\r
1851         "y": 2653.0166015625,\r
1852         "z": "889fd083.2b7ef8",\r
1853         "wires": [\r
1854             []\r
1855         ]\r
1856     },\r
1857     {\r
1858         "id": "85342b90.307d48",\r
1859         "type": "save",\r
1860         "name": "save available-bandwidth in AAI for odu2",\r
1861         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu2' >      \n<parameter name='ab-id' value='`$odu2`' />\n<parameter name='odu-type' value=\"ODU2\" />\n<parameter name='number' value='10' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1862         "comments": "",\r
1863         "outputs": 1,\r
1864         "x": 2245.066650390625,\r
1865         "y": 2708.0166015625,\r
1866         "z": "889fd083.2b7ef8",\r
1867         "wires": [\r
1868             []\r
1869         ]\r
1870     },\r
1871     {\r
1872         "id": "5b42d06.879793",\r
1873         "type": "save",\r
1874         "name": "save available-bandwidth in AAI for odu3",\r
1875         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu3' >      \n<parameter name='ab-id' value='`$odu3`' />\n<parameter name='odu-type' value=\"ODU3\" />\n<parameter name='number' value='2' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1876         "comments": "",\r
1877         "outputs": 1,\r
1878         "x": 2260.066650390625,\r
1879         "y": 2773.0166015625,\r
1880         "z": "889fd083.2b7ef8",\r
1881         "wires": [\r
1882             []\r
1883         ]\r
1884     },\r
1885     {\r
1886         "id": "c8d299ec.5203f8",\r
1887         "type": "save",\r
1888         "name": "save available-bandwidth in AAI for odu4",\r
1889         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='available-bandwidth' \n      key='pnf.pnf-name = $node.uuid\n      AND p-interface.interface-name = $tp.uuid AND bandwidth-attribute.bwa-id = $random-ba AND available-bandwidth.ab-id = $odu4' >      \n<parameter name='ab-id' value='`$odu4`' />\n<parameter name='odu-type' value=\"ODU4\" />\n<parameter name='number' value='1' />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1890         "comments": "",\r
1891         "outputs": 1,\r
1892         "x": 2255.066650390625,\r
1893         "y": 2842.0166015625,\r
1894         "z": "889fd083.2b7ef8",\r
1895         "wires": [\r
1896             []\r
1897         ]\r
1898     },\r
1899     {\r
1900         "id": "3e8c5177.a41e6e",\r
1901         "type": "outcome",\r
1902         "name": "OTU0",\r
1903         "xml": "<outcome value='OTU0'>\n",\r
1904         "comments": "",\r
1905         "outputs": 1,\r
1906         "x": 1388.25,\r
1907         "y": 1055.5,\r
1908         "z": "889fd083.2b7ef8",\r
1909         "wires": [\r
1910             [\r
1911                 "427cb754.a4ec08"\r
1912             ]\r
1913         ]\r
1914     },\r
1915     {\r
1916         "id": "81eb5532.c21f7",\r
1917         "type": "outcome",\r
1918         "name": "OTU1",\r
1919         "xml": "<outcome value='OTU1'>\n",\r
1920         "comments": "",\r
1921         "outputs": 1,\r
1922         "x": 1385.25,\r
1923         "y": 1093.5,\r
1924         "z": "889fd083.2b7ef8",\r
1925         "wires": [\r
1926             [\r
1927                 "427cb754.a4ec08"\r
1928             ]\r
1929         ]\r
1930     },\r
1931     {\r
1932         "id": "7a588f72.5a7e58",\r
1933         "type": "outcome",\r
1934         "name": "OTU2",\r
1935         "xml": "<outcome value='OTU2'>\n",\r
1936         "comments": "",\r
1937         "outputs": 1,\r
1938         "x": 1392.25,\r
1939         "y": 1140.5,\r
1940         "z": "889fd083.2b7ef8",\r
1941         "wires": [\r
1942             [\r
1943                 "427cb754.a4ec08"\r
1944             ]\r
1945         ]\r
1946     },\r
1947     {\r
1948         "id": "5f14ca8c.31feb4",\r
1949         "type": "outcome",\r
1950         "name": "OTU3",\r
1951         "xml": "<outcome value='OTU3'>\n",\r
1952         "comments": "",\r
1953         "outputs": 1,\r
1954         "x": 1392.25,\r
1955         "y": 1188.5,\r
1956         "z": "889fd083.2b7ef8",\r
1957         "wires": [\r
1958             [\r
1959                 "427cb754.a4ec08"\r
1960             ]\r
1961         ]\r
1962     },\r
1963     {\r
1964         "id": "2ae0f8dd.2dba4",\r
1965         "type": "outcome",\r
1966         "name": "OTU4",\r
1967         "xml": "<outcome value='OTU4'>\n",\r
1968         "comments": "",\r
1969         "outputs": 1,\r
1970         "x": 1388.25,\r
1971         "y": 1235.5,\r
1972         "z": "889fd083.2b7ef8",\r
1973         "wires": [\r
1974             [\r
1975                 "427cb754.a4ec08"\r
1976             ]\r
1977         ]\r
1978     },\r
1979     {\r
1980         "id": "dbec064.966df78",\r
1981         "type": "set",\r
1982         "name": "set",\r
1983         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1984         "comments": "",\r
1985         "x": 1933.5,\r
1986         "y": 1253,\r
1987         "z": "889fd083.2b7ef8",\r
1988         "wires": []\r
1989     },\r
1990     {\r
1991         "id": "96922cd9.800d9",\r
1992         "type": "set",\r
1993         "name": "set",\r
1994         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
1995         "comments": "",\r
1996         "x": 1878.5,\r
1997         "y": 1616.75,\r
1998         "z": "889fd083.2b7ef8",\r
1999         "wires": []\r
2000     },\r
2001     {\r
2002         "id": "76f468c7.100f5",\r
2003         "type": "set",\r
2004         "name": "set",\r
2005         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
2006         "comments": "",\r
2007         "x": 1925.5,\r
2008         "y": 1914.5,\r
2009         "z": "889fd083.2b7ef8",\r
2010         "wires": []\r
2011     },\r
2012     {\r
2013         "id": "c46e7716.9a56f8",\r
2014         "type": "set",\r
2015         "name": "set",\r
2016         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
2017         "comments": "",\r
2018         "x": 2029.5,\r
2019         "y": 2247.25,\r
2020         "z": "889fd083.2b7ef8",\r
2021         "wires": []\r
2022     },\r
2023     {\r
2024         "id": "71414c15.79cd94",\r
2025         "type": "set",\r
2026         "name": "set",\r
2027         "xml": "<set>\n<parameter name='random-ba' value=\"`$node.uuid + '_' + $tp.uuid`\" />\n<parameter name='odu0' value=\"`$random-ba + '-ODU0'`\" />\n<parameter name='odu1' value=\"`$random-ba + '-ODU1'`\" />\n<parameter name='odu2' value=\"`$random-ba + '-ODU2'`\" />\n<parameter name='odu3' value=\"`$random-ba + '-ODU3'`\" />\n<parameter name='odu4' value=\"`$random-ba + '-ODU4'`\" />\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n",\r
2028         "comments": "",\r
2029         "x": 2055.5,\r
2030         "y": 2574.75,\r
2031         "z": "889fd083.2b7ef8",\r
2032         "wires": []\r
2033     },\r
2034     {\r
2035         "id": "3debfbca.1066ec",\r
2036         "type": "outcome",\r
2037         "name": "OTU0",\r
2038         "xml": "<outcome value='OTU0'>\n",\r
2039         "comments": "",\r
2040         "outputs": 1,\r
2041         "x": 1743.75,\r
2042         "y": 1570.5,\r
2043         "z": "889fd083.2b7ef8",\r
2044         "wires": [\r
2045             [\r
2046                 "f32bc7c2.faf2c"\r
2047             ]\r
2048         ]\r
2049     },\r
2050     {\r
2051         "id": "c1f6f555.a81e2",\r
2052         "type": "outcome",\r
2053         "name": "OTU1",\r
2054         "xml": "<outcome value='OTU1'>\n",\r
2055         "comments": "",\r
2056         "outputs": 1,\r
2057         "x": 1707.75,\r
2058         "y": 1837.5,\r
2059         "z": "889fd083.2b7ef8",\r
2060         "wires": [\r
2061             [\r
2062                 "1237b047.f6bdb8"\r
2063             ]\r
2064         ]\r
2065     },\r
2066     {\r
2067         "id": "b5a03cf.2592ec",\r
2068         "type": "outcome",\r
2069         "name": "OTU2",\r
2070         "xml": "<outcome value='OTU2'>\n",\r
2071         "comments": "",\r
2072         "outputs": 1,\r
2073         "x": 1646.75,\r
2074         "y": 2084.75,\r
2075         "z": "889fd083.2b7ef8",\r
2076         "wires": [\r
2077             [\r
2078                 "edd28e3f.12d818"\r
2079             ]\r
2080         ]\r
2081     },\r
2082     {\r
2083         "id": "f479789f.1b4c28",\r
2084         "type": "outcome",\r
2085         "name": "OTU3",\r
2086         "xml": "<outcome value='OTU3'>\n",\r
2087         "comments": "",\r
2088         "outputs": 1,\r
2089         "x": 1739.75,\r
2090         "y": 2445.5,\r
2091         "z": "889fd083.2b7ef8",\r
2092         "wires": [\r
2093             [\r
2094                 "9f035a9.5dca828"\r
2095             ]\r
2096         ]\r
2097     },\r
2098     {\r
2099         "id": "1052b35d.5f118d",\r
2100         "type": "outcome",\r
2101         "name": "OTU4",\r
2102         "xml": "<outcome value='OTU4'>\n",\r
2103         "comments": "",\r
2104         "outputs": 1,\r
2105         "x": 1732.75,\r
2106         "y": 2673.75,\r
2107         "z": "889fd083.2b7ef8",\r
2108         "wires": [\r
2109             [\r
2110                 "bab2a21f.c59978"\r
2111             ]\r
2112         ]\r
2113     },\r
2114     {\r
2115         "id": "66321421.ead65c",\r
2116         "type": "record",\r
2117         "name": "record",\r
2118         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/optical-service-delete.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"ODU0 value\" />\n<parameter name=\"field2\" value=\"`$odu0`\"/>\n\n",\r
2119         "comments": "",\r
2120         "outputs": 1,\r
2121         "x": 2068,\r
2122         "y": 1957,\r
2123         "z": "889fd083.2b7ef8",\r
2124         "wires": [\r
2125             []\r
2126         ]\r
2127     }\r
2128 ]