ad93223d2890837c3dbd84be175bce24881f1168
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_tapi-update-network-to-aai.json
1 [\r
2     {\r
3         "id": "dd0d634e.2a2c2",\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": 335,\r
12         "y": 65.56666564941406,\r
13         "z": "4a2cc4e8.fff2dc",\r
14         "wires": [\r
15             [\r
16                 "1cbc4994.bb76be"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "1cbc4994.bb76be",\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": 149,\r
28         "y": 123.56666564941406,\r
29         "z": "4a2cc4e8.fff2dc",\r
30         "wires": [\r
31             [\r
32                 "94d58717.09f498"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "94d58717.09f498",\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": 373,\r
45         "y": 168.56666564941406,\r
46         "z": "4a2cc4e8.fff2dc",\r
47         "wires": [\r
48             [\r
49                 "9ab8c0cf.e6f98",\r
50                 "e690bc57.ec78a",\r
51                 "35fef5d3.ca4d02",\r
52                 "e0fab15a.f10c18",\r
53                 "60d36464.813cfc",\r
54                 "4f3ea1d6.c426d",\r
55                 "de75f383.c32b18"\r
56             ]\r
57         ]\r
58     },\r
59     {\r
60         "id": "7a504318.e0fe94",\r
61         "type": "dgstart",\r
62         "name": "DGSTART",\r
63         "outputs": 1,\r
64         "x": 84,\r
65         "y": 66.56666564941406,\r
66         "z": "4a2cc4e8.fff2dc",\r
67         "wires": [\r
68             [\r
69                 "dd0d634e.2a2c2"\r
70             ]\r
71         ]\r
72     },\r
73     {\r
74         "id": "60d36464.813cfc",\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": 644.5,\r
80         "y": 76.56666564941406,\r
81         "z": "4a2cc4e8.fff2dc",\r
82         "wires": []\r
83     },\r
84     {\r
85         "id": "9ab8c0cf.e6f98",\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": 658.5,\r
92         "y": 177.56666564941406,\r
93         "z": "4a2cc4e8.fff2dc",\r
94         "wires": [\r
95             []\r
96         ]\r
97     },\r
98     {\r
99         "id": "e690bc57.ec78a",\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": 726.5,\r
106         "y": 222.56666564941406,\r
107         "z": "4a2cc4e8.fff2dc",\r
108         "wires": [\r
109             []\r
110         ]\r
111     },\r
112     {\r
113         "id": "35fef5d3.ca4d02",\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": 517.5,\r
120         "y": 379.56666564941406,\r
121         "z": "4a2cc4e8.fff2dc",\r
122         "wires": [\r
123             [\r
124                 "3c67cc6c.cfe42c",\r
125                 "9229822e.14f158",\r
126                 "6b1527e8.25be7"\r
127             ]\r
128         ]\r
129     },\r
130     {\r
131         "id": "3c67cc6c.cfe42c",\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": 740.5,\r
137         "y": 301.56666564941406,\r
138         "z": "4a2cc4e8.fff2dc",\r
139         "wires": []\r
140     },\r
141     {\r
142         "id": "9229822e.14f158",\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": 736.5,\r
150         "y": 353.56666564941406,\r
151         "z": "4a2cc4e8.fff2dc",\r
152         "wires": [\r
153             [\r
154                 "7815b3bd.d57894"\r
155             ]\r
156         ]\r
157     },\r
158     {\r
159         "id": "705eebcd.82fa04",\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": 1180.5,\r
166         "y": 350.56666564941406,\r
167         "z": "4a2cc4e8.fff2dc",\r
168         "wires": [\r
169             [\r
170                 "e6f8e410.73b858",\r
171                 "4d0546eb.27bdd8"\r
172             ]\r
173         ]\r
174     },\r
175     {\r
176         "id": "e6f8e410.73b858",\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": 1445.5,\r
183         "y": 314.56666564941406,\r
184         "z": "4a2cc4e8.fff2dc",\r
185         "wires": [\r
186             []\r
187         ]\r
188     },\r
189     {\r
190         "id": "4d0546eb.27bdd8",\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": 1404.5,\r
197         "y": 436.56666564941406,\r
198         "z": "4a2cc4e8.fff2dc",\r
199         "wires": [\r
200             [\r
201                 "6dad649c.dedce4"\r
202             ]\r
203         ]\r
204     },\r
205     {\r
206         "id": "6dad649c.dedce4",\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": 1618.5,\r
213         "y": 439.56666564941406,\r
214         "z": "4a2cc4e8.fff2dc",\r
215         "wires": [\r
216             [\r
217                 "cfe7c49.701eab8"\r
218             ]\r
219         ]\r
220     },\r
221     {\r
222         "id": "cfe7c49.701eab8",\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": 1528.5,\r
229         "y": 501.56666564941406,\r
230         "z": "4a2cc4e8.fff2dc",\r
231         "wires": [\r
232             [\r
233                 "72453289.f9940c"\r
234             ]\r
235         ]\r
236     },\r
237     {\r
238         "id": "72453289.f9940c",\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": 1734.5,\r
245         "y": 498.56666564941406,\r
246         "z": "4a2cc4e8.fff2dc",\r
247         "wires": [\r
248             [\r
249                 "98c4c13b.021d4"\r
250             ]\r
251         ]\r
252     },\r
253     {\r
254         "id": "98c4c13b.021d4",\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": 1904.5,\r
260         "y": 494.56666564941406,\r
261         "z": "4a2cc4e8.fff2dc",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "ee278548.48c048",\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": 1178.5,\r
272         "y": 481.56666564941406,\r
273         "z": "4a2cc4e8.fff2dc",\r
274         "wires": [\r
275             []\r
276         ]\r
277     },\r
278     {\r
279         "id": "f54e4cb0.06b158",\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": 1199.5,\r
286         "y": 549.5666656494141,\r
287         "z": "4a2cc4e8.fff2dc",\r
288         "wires": [\r
289             []\r
290         ]\r
291     },\r
292     {\r
293         "id": "6b1527e8.25be7",\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": 466.5,\r
300         "y": 715.5666656494141,\r
301         "z": "4a2cc4e8.fff2dc",\r
302         "wires": [\r
303             [\r
304                 "9bc4ad0d.346da",\r
305                 "3f256854.d899a"\r
306             ]\r
307         ]\r
308     },\r
309     {\r
310         "id": "3f256854.d899a",\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": 694.5,\r
316         "y": 665.5666656494141,\r
317         "z": "4a2cc4e8.fff2dc",\r
318         "wires": []\r
319     },\r
320     {\r
321         "id": "dfedd521.86b5a",\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": 1219.5,\r
328         "y": 737.5666656494141,\r
329         "z": "4a2cc4e8.fff2dc",\r
330         "wires": [\r
331             [\r
332                 "b7d6f4f0.e0bd3",\r
333                 "66cf26fb.09f71"\r
334             ]\r
335         ]\r
336     },\r
337     {\r
338         "id": "b7d6f4f0.e0bd3",\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": 1483.5,\r
345         "y": 601.5666656494141,\r
346         "z": "4a2cc4e8.fff2dc",\r
347         "wires": [\r
348             []\r
349         ]\r
350     },\r
351     {\r
352         "id": "66cf26fb.09f71",\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": 1448.5,\r
359         "y": 736.5666656494141,\r
360         "z": "4a2cc4e8.fff2dc",\r
361         "wires": [\r
362             [\r
363                 "862b958d.f2e34"\r
364             ]\r
365         ]\r
366     },\r
367     {\r
368         "id": "862b958d.f2e34",\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": 1620.5,\r
375         "y": 737.5666656494141,\r
376         "z": "4a2cc4e8.fff2dc",\r
377         "wires": [\r
378             [\r
379                 "a4a363d9.79d1a",\r
380                 "3453f969.e5d4fe"\r
381             ]\r
382         ]\r
383     },\r
384     {\r
385         "id": "a4a363d9.79d1a",\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": 1835.5,\r
392         "y": 588.5666656494141,\r
393         "z": "4a2cc4e8.fff2dc",\r
394         "wires": [\r
395             [\r
396                 "162774dd.4da85b"\r
397             ]\r
398         ]\r
399     },\r
400     {\r
401         "id": "162774dd.4da85b",\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": 2049.5,\r
408         "y": 630.5666656494141,\r
409         "z": "4a2cc4e8.fff2dc",\r
410         "wires": [\r
411             [\r
412                 "62abe205.1c35e4"\r
413             ]\r
414         ]\r
415     },\r
416     {\r
417         "id": "62abe205.1c35e4",\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": 2271.5,\r
423         "y": 628.5666656494141,\r
424         "z": "4a2cc4e8.fff2dc",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "de75f383.c32b18",\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": 320.5,\r
435         "y": 914.5666656494141,\r
436         "z": "4a2cc4e8.fff2dc",\r
437         "wires": [\r
438             [\r
439                 "82a5932e.ce1e3",\r
440                 "7acdad8b.581844",\r
441                 "c92f2637.6550b8",\r
442                 "1af3399a.6caa5e",\r
443                 "137abc28.75c06c"\r
444             ]\r
445         ]\r
446     },\r
447     {\r
448         "id": "82a5932e.ce1e3",\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": 478.5,\r
454         "y": 838.5666656494141,\r
455         "z": "4a2cc4e8.fff2dc",\r
456         "wires": []\r
457     },\r
458     {\r
459         "id": "e0fab15a.f10c18",\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": 610.5,\r
466         "y": 123.56666564941406,\r
467         "z": "4a2cc4e8.fff2dc",\r
468         "wires": [\r
469             []\r
470         ]\r
471     },\r
472     {\r
473         "id": "5d2cdae.4f905a4",\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": 1161.5,\r
480         "y": 415.56666564941406,\r
481         "z": "4a2cc4e8.fff2dc",\r
482         "wires": [\r
483             []\r
484         ]\r
485     },\r
486     {\r
487         "id": "7acdad8b.581844",\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": 518.5,\r
493         "y": 974.5666656494141,\r
494         "z": "4a2cc4e8.fff2dc",\r
495         "wires": []\r
496     },\r
497     {\r
498         "id": "c92f2637.6550b8",\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": 510.5,\r
505         "y": 1066.566665649414,\r
506         "z": "4a2cc4e8.fff2dc",\r
507         "wires": [\r
508             []\r
509         ]\r
510     },\r
511     {\r
512         "id": "1af3399a.6caa5e",\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": 542.5,\r
519         "y": 1144.566665649414,\r
520         "z": "4a2cc4e8.fff2dc",\r
521         "wires": [\r
522             []\r
523         ]\r
524     },\r
525     {\r
526         "id": "3453f969.e5d4fe",\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": 1875.5,\r
533         "y": 747.5666656494141,\r
534         "z": "4a2cc4e8.fff2dc",\r
535         "wires": [\r
536             [\r
537                 "f20b41d5.0223a8"\r
538             ]\r
539         ]\r
540     },\r
541     {\r
542         "id": "66cfa48e.98759c",\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": 2273.5,\r
548         "y": 752.5666656494141,\r
549         "z": "4a2cc4e8.fff2dc",\r
550         "wires": []\r
551     },\r
552     {\r
553         "id": "f20b41d5.0223a8",\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": 2091.5,\r
560         "y": 746.5666656494141,\r
561         "z": "4a2cc4e8.fff2dc",\r
562         "wires": [\r
563             [\r
564                 "66cfa48e.98759c"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "c0fc82b3.30b7b8",\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": 1212.5,\r
576         "y": 945.5666656494141,\r
577         "z": "4a2cc4e8.fff2dc",\r
578         "wires": [\r
579             [\r
580                 "e27e9d29.e7909",\r
581                 "a8a78b1e.d9fbe8",\r
582                 "6d366e8d.e15bb",\r
583                 "760758e3.4dee9",\r
584                 "7b7866ff.b65f9",\r
585                 "ee64d5ad.37015",\r
586                 "ebd113cf.809d58",\r
587                 "55df563c.f847e8",\r
588                 "5e039964.21b738",\r
589                 "2a77e6fd.99cfe2",\r
590                 "b446277d.b32c2"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "e27e9d29.e7909",\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": 1385.5,\r
602         "y": 817.5666656494141,\r
603         "z": "4a2cc4e8.fff2dc",\r
604         "wires": [\r
605             [\r
606                 "88200379.ba144"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "fe9ed448.89feb",\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": 1719.5,\r
617         "y": 947.5666656494141,\r
618         "z": "4a2cc4e8.fff2dc",\r
619         "wires": []\r
620     },\r
621     {\r
622         "id": "88200379.ba144",\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": 1576.5,\r
628         "y": 818.5666656494141,\r
629         "z": "4a2cc4e8.fff2dc",\r
630         "wires": []\r
631     },\r
632     {\r
633         "id": "62c4a0a9.7119d",\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": 1245.5,\r
640         "y": 811.5666656494141,\r
641         "z": "4a2cc4e8.fff2dc",\r
642         "wires": [\r
643             []\r
644         ]\r
645     },\r
646     {\r
647         "id": "9bc4ad0d.346da",\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": 656.5,\r
655         "y": 778.5666656494141,\r
656         "z": "4a2cc4e8.fff2dc",\r
657         "wires": [\r
658             [\r
659                 "20b1aa33.4b13b6"\r
660             ]\r
661         ]\r
662     },\r
663     {\r
664         "id": "20b1aa33.4b13b6",\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": 822.5,\r
671         "y": 729.5666656494141,\r
672         "z": "4a2cc4e8.fff2dc",\r
673         "wires": [\r
674             [\r
675                 "3ccfdf03.565b68",\r
676                 "36a79e43.96952a"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "3ccfdf03.565b68",\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": 859.5,\r
688         "y": 804.5666656494141,\r
689         "z": "4a2cc4e8.fff2dc",\r
690         "wires": [\r
691             [\r
692                 "689242aa.067e9c"\r
693             ]\r
694         ]\r
695     },\r
696     {\r
697         "id": "36a79e43.96952a",\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": 1017.5,\r
704         "y": 670.5666656494141,\r
705         "z": "4a2cc4e8.fff2dc",\r
706         "wires": [\r
707             []\r
708         ]\r
709     },\r
710     {\r
711         "id": "7815b3bd.d57894",\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": 754.5,\r
718         "y": 413.56666564941406,\r
719         "z": "4a2cc4e8.fff2dc",\r
720         "wires": [\r
721             [\r
722                 "228d2ded.a28e1a",\r
723                 "c84e2543.54c0f8"\r
724             ]\r
725         ]\r
726     },\r
727     {\r
728         "id": "228d2ded.a28e1a",\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": 922.5,\r
735         "y": 362.56666564941406,\r
736         "z": "4a2cc4e8.fff2dc",\r
737         "wires": [\r
738             [\r
739                 "90388069.5c1f6"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "c84e2543.54c0f8",\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": 845.5,\r
751         "y": 530.5666656494141,\r
752         "z": "4a2cc4e8.fff2dc",\r
753         "wires": [\r
754             []\r
755         ]\r
756     },\r
757     {\r
758         "id": "90388069.5c1f6",\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": 975.5,\r
766         "y": 422.56666564941406,\r
767         "z": "4a2cc4e8.fff2dc",\r
768         "wires": [\r
769             [\r
770                 "705eebcd.82fa04",\r
771                 "5d2cdae.4f905a4",\r
772                 "ee278548.48c048",\r
773                 "f54e4cb0.06b158"\r
774             ]\r
775         ]\r
776     },\r
777     {\r
778         "id": "689242aa.067e9c",\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": 1000.5,\r
786         "y": 802.5666656494141,\r
787         "z": "4a2cc4e8.fff2dc",\r
788         "wires": [\r
789             [\r
790                 "dfedd521.86b5a",\r
791                 "62c4a0a9.7119d",\r
792                 "c0fc82b3.30b7b8",\r
793                 "d13f710c.ed5cd",\r
794                 "f6b93d25.146b98",\r
795                 "ac5930e6.a398f8",\r
796                 "618e03f2.2580c4",\r
797                 "7b143047.5b21b8",\r
798                 "9e26b070.282158"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "137abc28.75c06c",\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": 543.5,\r
809         "y": 895.5666656494141,\r
810         "z": "4a2cc4e8.fff2dc",\r
811         "wires": []\r
812     },\r
813     {\r
814         "id": "4f3ea1d6.c426d",\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": 578.5,\r
820         "y": 274.56666564941406,\r
821         "z": "4a2cc4e8.fff2dc",\r
822         "wires": []\r
823     },\r
824     {\r
825         "id": "a8a78b1e.d9fbe8",\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": 1407.5,\r
832         "y": 881.5666656494141,\r
833         "z": "4a2cc4e8.fff2dc",\r
834         "wires": [\r
835             [\r
836                 "fe9ed448.89feb"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "6d366e8d.e15bb",\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": 1407.5,\r
848         "y": 919.5666656494141,\r
849         "z": "4a2cc4e8.fff2dc",\r
850         "wires": [\r
851             [\r
852                 "fe9ed448.89feb"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "760758e3.4dee9",\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": 1400.5,\r
864         "y": 957.5666656494141,\r
865         "z": "4a2cc4e8.fff2dc",\r
866         "wires": [\r
867             [\r
868                 "fe9ed448.89feb"\r
869             ]\r
870         ]\r
871     },\r
872     {\r
873         "id": "618e03f2.2580c4",\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": 760.25,\r
880         "y": 2664.816665649414,\r
881         "z": "4a2cc4e8.fff2dc",\r
882         "wires": [\r
883             [\r
884                 "20e29f32.cd952",\r
885                 "cc6c35b3.c62f2"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "7b143047.5b21b8",\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": 722.25,\r
897         "y": 2799.116470336914,\r
898         "z": "4a2cc4e8.fff2dc",\r
899         "wires": [\r
900             []\r
901         ]\r
902     },\r
903     {\r
904         "id": "20e29f32.cd952",\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": 972.11669921875,\r
911         "y": 2585.583267211914,\r
912         "z": "4a2cc4e8.fff2dc",\r
913         "wires": [\r
914             []\r
915         ]\r
916     },\r
917     {\r
918         "id": "cc6c35b3.c62f2",\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": 978.11669921875,\r
925         "y": 2689.583267211914,\r
926         "z": "4a2cc4e8.fff2dc",\r
927         "wires": [\r
928             [\r
929                 "273def74.3cce9",\r
930                 "6fc0b135.b9369",\r
931                 "7d3171a.679f41",\r
932                 "ad2c24d8.6c26"\r
933             ]\r
934         ]\r
935     },\r
936     {\r
937         "id": "322c7b5a.6844d4",\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": 1527.11669921875,\r
943         "y": 2594.583267211914,\r
944         "z": "4a2cc4e8.fff2dc",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "ad2c24d8.6c26",\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": 1151.11669921875,\r
955         "y": 2548.583267211914,\r
956         "z": "4a2cc4e8.fff2dc",\r
957         "wires": [\r
958             [\r
959                 "c49ebae2.bd0708"\r
960             ]\r
961         ]\r
962     },\r
963     {\r
964         "id": "273def74.3cce9",\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": 1156.283447265625,\r
971         "y": 2627.000015258789,\r
972         "z": "4a2cc4e8.fff2dc",\r
973         "wires": [\r
974             [\r
975                 "40ec28a5.0ef9b"\r
976             ]\r
977         ]\r
978     },\r
979     {\r
980         "id": "6fc0b135.b9369",\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": 1124.11669921875,\r
987         "y": 2690.583267211914,\r
988         "z": "4a2cc4e8.fff2dc",\r
989         "wires": [\r
990             [\r
991                 "45a84518.ed353c"\r
992             ]\r
993         ]\r
994     },\r
995     {\r
996         "id": "f10a50ff.a09b",\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": 1486.283447265625,\r
1002         "y": 2669.000015258789,\r
1003         "z": "4a2cc4e8.fff2dc",\r
1004         "wires": []\r
1005     },\r
1006     {\r
1007         "id": "7d3171a.679f41",\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": 1137.166748046875,\r
1014         "y": 2812.783462524414,\r
1015         "z": "4a2cc4e8.fff2dc",\r
1016         "wires": [\r
1017             [\r
1018                 "35343890.318c5"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "972c5dc6.97f998",\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": 1495.11669921875,\r
1029         "y": 2816.583267211914,\r
1030         "z": "4a2cc4e8.fff2dc",\r
1031         "wires": []\r
1032     },\r
1033     {\r
1034         "id": "40ec28a5.0ef9b",\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": 1315.9833984375,\r
1042         "y": 2612.949966430664,\r
1043         "z": "4a2cc4e8.fff2dc",\r
1044         "wires": [\r
1045             [\r
1046                 "322c7b5a.6844d4"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "45a84518.ed353c",\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": 1302.9833984375,\r
1059         "y": 2688.949966430664,\r
1060         "z": "4a2cc4e8.fff2dc",\r
1061         "wires": [\r
1062             [\r
1063                 "f10a50ff.a09b",\r
1064                 "8f18f763.8fc5f"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "35343890.318c5",\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": 1325.9833984375,\r
1077         "y": 2820.949966430664,\r
1078         "z": "4a2cc4e8.fff2dc",\r
1079         "wires": [\r
1080             [\r
1081                 "972c5dc6.97f998"\r
1082             ]\r
1083         ]\r
1084     },\r
1085     {\r
1086         "id": "8f18f763.8fc5f",\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": 1494.9833984375,\r
1093         "y": 2721.949966430664,\r
1094         "z": "4a2cc4e8.fff2dc",\r
1095         "wires": [\r
1096             []\r
1097         ]\r
1098     },\r
1099     {\r
1100         "id": "134a61b.b91ba1e",\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": 1513.283447265625,\r
1106         "y": 2531.000015258789,\r
1107         "z": "4a2cc4e8.fff2dc",\r
1108         "wires": []\r
1109     },\r
1110     {\r
1111         "id": "c49ebae2.bd0708",\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": 1311.9833984375,\r
1119         "y": 2542.449966430664,\r
1120         "z": "4a2cc4e8.fff2dc",\r
1121         "wires": [\r
1122             [\r
1123                 "134a61b.b91ba1e"\r
1124             ]\r
1125         ]\r
1126     },\r
1127     {\r
1128         "id": "d13f710c.ed5cd",\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": 1177.5,\r
1135         "y": 1186.566665649414,\r
1136         "z": "4a2cc4e8.fff2dc",\r
1137         "wires": [\r
1138             []\r
1139         ]\r
1140     },\r
1141     {\r
1142         "id": "7b7866ff.b65f9",\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": 1404.5,\r
1149         "y": 991.5666656494141,\r
1150         "z": "4a2cc4e8.fff2dc",\r
1151         "wires": [\r
1152             [\r
1153                 "fe9ed448.89feb"\r
1154             ]\r
1155         ]\r
1156     },\r
1157     {\r
1158         "id": "ee64d5ad.37015",\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": 1402.5,\r
1165         "y": 1030.566665649414,\r
1166         "z": "4a2cc4e8.fff2dc",\r
1167         "wires": [\r
1168             [\r
1169                 "fe9ed448.89feb"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "f6b93d25.146b98",\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": 1096.066650390625,\r
1181         "y": 1324.133316040039,\r
1182         "z": "4a2cc4e8.fff2dc",\r
1183         "wires": [\r
1184             [\r
1185                 "453ceaef.3975e4"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "453ceaef.3975e4",\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": 1314.25,\r
1197         "y": 1333.316665649414,\r
1198         "z": "4a2cc4e8.fff2dc",\r
1199         "wires": [\r
1200             [\r
1201                 "be595bc4.13c43"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "be595bc4.13c43",\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": 1467.25,\r
1212         "y": 1332.316665649414,\r
1213         "z": "4a2cc4e8.fff2dc",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "ac5930e6.a398f8",\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": 1061.25,\r
1224         "y": 1440.316665649414,\r
1225         "z": "4a2cc4e8.fff2dc",\r
1226         "wires": [\r
1227             [\r
1228                 "cdc64818.36fd",\r
1229                 "b011f5a6.ef38d8"\r
1230             ]\r
1231         ]\r
1232     },\r
1233     {\r
1234         "id": "cdc64818.36fd",\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": 1223.25,\r
1241         "y": 1406.316665649414,\r
1242         "z": "4a2cc4e8.fff2dc",\r
1243         "wires": [\r
1244             []\r
1245         ]\r
1246     },\r
1247     {\r
1248         "id": "b011f5a6.ef38d8",\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": 1199.25,\r
1255         "y": 1543.316665649414,\r
1256         "z": "4a2cc4e8.fff2dc",\r
1257         "wires": [\r
1258             [\r
1259                 "f7262702.8d2888"\r
1260             ]\r
1261         ]\r
1262     },\r
1263     {\r
1264         "id": "f7262702.8d2888",\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": 1398.25,\r
1272         "y": 1436.316665649414,\r
1273         "z": "4a2cc4e8.fff2dc",\r
1274         "wires": [\r
1275             [\r
1276                 "8e99d37.4c0f43",\r
1277                 "3b2ad59e.117432",\r
1278                 "d63ed666.f191b8",\r
1279                 "6902bc7e.130e9c"\r
1280             ]\r
1281         ]\r
1282     },\r
1283     {\r
1284         "id": "8e99d37.4c0f43",\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": 1635.25,\r
1291         "y": 1460.3166046142578,\r
1292         "z": "4a2cc4e8.fff2dc",\r
1293         "wires": [\r
1294             []\r
1295         ]\r
1296     },\r
1297     {\r
1298         "id": "9e26b070.282158",\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": 751.25,\r
1304         "y": 2582.816665649414,\r
1305         "z": "4a2cc4e8.fff2dc",\r
1306         "wires": []\r
1307     },\r
1308     {\r
1309         "id": "3b2ad59e.117432",\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": 1615.25,\r
1315         "y": 1377.816665649414,\r
1316         "z": "4a2cc4e8.fff2dc",\r
1317         "wires": []\r
1318     },\r
1319     {\r
1320         "id": "d63ed666.f191b8",\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": 1622.25,\r
1327         "y": 1295.316665649414,\r
1328         "z": "4a2cc4e8.fff2dc",\r
1329         "wires": [\r
1330             []\r
1331         ]\r
1332     },\r
1333     {\r
1334         "id": "6902bc7e.130e9c",\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": 1087.25,\r
1341         "y": 1936.316665649414,\r
1342         "z": "4a2cc4e8.fff2dc",\r
1343         "wires": [\r
1344             [\r
1345                 "5071ff0f.45a7a",\r
1346                 "ab34cf8f.734be",\r
1347                 "c356f219.2efb",\r
1348                 "d2d986e3.cc045",\r
1349                 "2091cc41.70c8cc"\r
1350             ]\r
1351         ]\r
1352     },\r
1353     {\r
1354         "id": "5071ff0f.45a7a",\r
1355         "type": "outcome",\r
1356         "name": "ODU0",\r
1357         "xml": "<outcome value='ODU0'>\n",\r
1358         "comments": "",\r
1359         "outputs": 1,\r
1360         "x": 1755.433349609375,\r
1361         "y": 1522.500015258789,\r
1362         "z": "4a2cc4e8.fff2dc",\r
1363         "wires": [\r
1364             [\r
1365                 "19f4b73d.cdd069"\r
1366             ]\r
1367         ]\r
1368     },\r
1369     {\r
1370         "id": "ab34cf8f.734be",\r
1371         "type": "outcome",\r
1372         "name": "ODU1",\r
1373         "xml": "<outcome value='ODU1'>\n",\r
1374         "comments": "",\r
1375         "outputs": 1,\r
1376         "x": 1712.433349609375,\r
1377         "y": 1785.500015258789,\r
1378         "z": "4a2cc4e8.fff2dc",\r
1379         "wires": [\r
1380             [\r
1381                 "1e178e7a.d3ed5a"\r
1382             ]\r
1383         ]\r
1384     },\r
1385     {\r
1386         "id": "c356f219.2efb",\r
1387         "type": "outcome",\r
1388         "name": "ODU2",\r
1389         "xml": "<outcome value='ODU2'>\n",\r
1390         "comments": "",\r
1391         "outputs": 1,\r
1392         "x": 1666.433349609375,\r
1393         "y": 2015.500015258789,\r
1394         "z": "4a2cc4e8.fff2dc",\r
1395         "wires": [\r
1396             [\r
1397                 "40f83d7a.41a484"\r
1398             ]\r
1399         ]\r
1400     },\r
1401     {\r
1402         "id": "d2d986e3.cc045",\r
1403         "type": "outcome",\r
1404         "name": "ODU3",\r
1405         "xml": "<outcome value='ODU3'>\n",\r
1406         "comments": "",\r
1407         "outputs": 1,\r
1408         "x": 1758.433349609375,\r
1409         "y": 2386.500015258789,\r
1410         "z": "4a2cc4e8.fff2dc",\r
1411         "wires": [\r
1412             [\r
1413                 "91b89ace.609a68"\r
1414             ]\r
1415         ]\r
1416     },\r
1417     {\r
1418         "id": "2091cc41.70c8cc",\r
1419         "type": "outcome",\r
1420         "name": "ODU4",\r
1421         "xml": "<outcome value='ODU4'>\n",\r
1422         "comments": "",\r
1423         "outputs": 1,\r
1424         "x": 1743.433349609375,\r
1425         "y": 2612.500015258789,\r
1426         "z": "4a2cc4e8.fff2dc",\r
1427         "wires": [\r
1428             [\r
1429                 "f610d634.b8cc4"\r
1430             ]\r
1431         ]\r
1432     },\r
1433     {\r
1434         "id": "19f4b73d.cdd069",\r
1435         "type": "block",\r
1436         "name": "block : atomic",\r
1437         "xml": "<block atomic='true'>",\r
1438         "atomic": "true",\r
1439         "comments": "",\r
1440         "outputs": 1,\r
1441         "x": 1900.433349609375,\r
1442         "y": 1399.300064086914,\r
1443         "z": "4a2cc4e8.fff2dc",\r
1444         "wires": [\r
1445             [\r
1446                 "19e54ba0.7c2e0c",\r
1447                 "9b8b0393.415698",\r
1448                 "ae120072.9b7ff",\r
1449                 "d8f0832e.4d0f7",\r
1450                 "e2261dd3.e1a278",\r
1451                 "c59ccd0.41ff13"\r
1452             ]\r
1453         ]\r
1454     },\r
1455     {\r
1456         "id": "19e54ba0.7c2e0c",\r
1457         "type": "save",\r
1458         "name": "save available-bandwidth in AAI for odu0",\r
1459         "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
1460         "comments": "",\r
1461         "outputs": 1,\r
1462         "x": 2188.433349609375,\r
1463         "y": 1247.300064086914,\r
1464         "z": "4a2cc4e8.fff2dc",\r
1465         "wires": [\r
1466             []\r
1467         ]\r
1468     },\r
1469     {\r
1470         "id": "9b8b0393.415698",\r
1471         "type": "save",\r
1472         "name": "save available-bandwidth in AAI for odu1",\r
1473         "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
1474         "comments": "",\r
1475         "outputs": 1,\r
1476         "x": 2181.75,\r
1477         "y": 1302.316665649414,\r
1478         "z": "4a2cc4e8.fff2dc",\r
1479         "wires": [\r
1480             []\r
1481         ]\r
1482     },\r
1483     {\r
1484         "id": "ae120072.9b7ff",\r
1485         "type": "save",\r
1486         "name": "save available-bandwidth in AAI for odu2",\r
1487         "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
1488         "comments": "",\r
1489         "outputs": 1,\r
1490         "x": 2169.75,\r
1491         "y": 1376.316665649414,\r
1492         "z": "4a2cc4e8.fff2dc",\r
1493         "wires": [\r
1494             []\r
1495         ]\r
1496     },\r
1497     {\r
1498         "id": "d8f0832e.4d0f7",\r
1499         "type": "save",\r
1500         "name": "save available-bandwidth in AAI for odu3",\r
1501         "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
1502         "comments": "",\r
1503         "outputs": 1,\r
1504         "x": 2168.75,\r
1505         "y": 1450.316665649414,\r
1506         "z": "4a2cc4e8.fff2dc",\r
1507         "wires": [\r
1508             []\r
1509         ]\r
1510     },\r
1511     {\r
1512         "id": "e2261dd3.e1a278",\r
1513         "type": "save",\r
1514         "name": "save available-bandwidth in AAI for odu4",\r
1515         "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
1516         "comments": "",\r
1517         "outputs": 1,\r
1518         "x": 2187.75,\r
1519         "y": 1553.316665649414,\r
1520         "z": "4a2cc4e8.fff2dc",\r
1521         "wires": [\r
1522             []\r
1523         ]\r
1524     },\r
1525     {\r
1526         "id": "1e178e7a.d3ed5a",\r
1527         "type": "block",\r
1528         "name": "block : atomic",\r
1529         "xml": "<block atomic='true'>",\r
1530         "atomic": "true",\r
1531         "comments": "",\r
1532         "outputs": 1,\r
1533         "x": 1894.75,\r
1534         "y": 1785.316665649414,\r
1535         "z": "4a2cc4e8.fff2dc",\r
1536         "wires": [\r
1537             [\r
1538                 "11cbd181.874abe",\r
1539                 "2f3663f5.b479dc",\r
1540                 "de12e90e.01947",\r
1541                 "790ae74c.b00338",\r
1542                 "2418cab2.d227fe",\r
1543                 "97c5cda9.f9b988"\r
1544             ]\r
1545         ]\r
1546     },\r
1547     {\r
1548         "id": "11cbd181.874abe",\r
1549         "type": "save",\r
1550         "name": "save available-bandwidth in AAI for odu0",\r
1551         "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
1552         "comments": "",\r
1553         "outputs": 1,\r
1554         "x": 2219.75,\r
1555         "y": 1632.316665649414,\r
1556         "z": "4a2cc4e8.fff2dc",\r
1557         "wires": [\r
1558             []\r
1559         ]\r
1560     },\r
1561     {\r
1562         "id": "2f3663f5.b479dc",\r
1563         "type": "save",\r
1564         "name": "save available-bandwidth in AAI for odu1",\r
1565         "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
1566         "comments": "",\r
1567         "outputs": 1,\r
1568         "x": 2203.066650390625,\r
1569         "y": 1703.333267211914,\r
1570         "z": "4a2cc4e8.fff2dc",\r
1571         "wires": [\r
1572             []\r
1573         ]\r
1574     },\r
1575     {\r
1576         "id": "de12e90e.01947",\r
1577         "type": "save",\r
1578         "name": "save available-bandwidth in AAI for odu2",\r
1579         "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
1580         "comments": "",\r
1581         "outputs": 1,\r
1582         "x": 2199.066650390625,\r
1583         "y": 1758.333267211914,\r
1584         "z": "4a2cc4e8.fff2dc",\r
1585         "wires": [\r
1586             []\r
1587         ]\r
1588     },\r
1589     {\r
1590         "id": "790ae74c.b00338",\r
1591         "type": "save",\r
1592         "name": "save available-bandwidth in AAI for odu3",\r
1593         "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
1594         "comments": "",\r
1595         "outputs": 1,\r
1596         "x": 2214.066650390625,\r
1597         "y": 1823.333267211914,\r
1598         "z": "4a2cc4e8.fff2dc",\r
1599         "wires": [\r
1600             []\r
1601         ]\r
1602     },\r
1603     {\r
1604         "id": "2418cab2.d227fe",\r
1605         "type": "save",\r
1606         "name": "save available-bandwidth in AAI for odu4",\r
1607         "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
1608         "comments": "",\r
1609         "outputs": 1,\r
1610         "x": 2209.066650390625,\r
1611         "y": 1892.333267211914,\r
1612         "z": "4a2cc4e8.fff2dc",\r
1613         "wires": [\r
1614             []\r
1615         ]\r
1616     },\r
1617     {\r
1618         "id": "40f83d7a.41a484",\r
1619         "type": "block",\r
1620         "name": "block : atomic",\r
1621         "xml": "<block atomic='true'>",\r
1622         "atomic": "true",\r
1623         "comments": "",\r
1624         "outputs": 1,\r
1625         "x": 1907.75,\r
1626         "y": 2090.816665649414,\r
1627         "z": "4a2cc4e8.fff2dc",\r
1628         "wires": [\r
1629             [\r
1630                 "4406468d.5ce9b",\r
1631                 "bfd3738c.6803a8",\r
1632                 "b85d6527.346848",\r
1633                 "b41c7ac9.59a77",\r
1634                 "8f7d9a54.5cdd1",\r
1635                 "31c35c3d.e2a904"\r
1636             ]\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "4406468d.5ce9b",\r
1641         "type": "save",\r
1642         "name": "save available-bandwidth in AAI for odu0",\r
1643         "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",\r
1644         "comments": "",\r
1645         "outputs": 1,\r
1646         "x": 2232.75,\r
1647         "y": 1937.816665649414,\r
1648         "z": "4a2cc4e8.fff2dc",\r
1649         "wires": [\r
1650             []\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "bfd3738c.6803a8",\r
1655         "type": "save",\r
1656         "name": "save available-bandwidth in AAI for odu1",\r
1657         "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
1658         "comments": "",\r
1659         "outputs": 1,\r
1660         "x": 2216.066650390625,\r
1661         "y": 2008.833267211914,\r
1662         "z": "4a2cc4e8.fff2dc",\r
1663         "wires": [\r
1664             []\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "b85d6527.346848",\r
1669         "type": "save",\r
1670         "name": "save available-bandwidth in AAI for odu2",\r
1671         "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
1672         "comments": "",\r
1673         "outputs": 1,\r
1674         "x": 2212.066650390625,\r
1675         "y": 2063.833267211914,\r
1676         "z": "4a2cc4e8.fff2dc",\r
1677         "wires": [\r
1678             []\r
1679         ]\r
1680     },\r
1681     {\r
1682         "id": "b41c7ac9.59a77",\r
1683         "type": "save",\r
1684         "name": "save available-bandwidth in AAI for odu3",\r
1685         "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
1686         "comments": "",\r
1687         "outputs": 1,\r
1688         "x": 2227.066650390625,\r
1689         "y": 2128.833267211914,\r
1690         "z": "4a2cc4e8.fff2dc",\r
1691         "wires": [\r
1692             []\r
1693         ]\r
1694     },\r
1695     {\r
1696         "id": "8f7d9a54.5cdd1",\r
1697         "type": "save",\r
1698         "name": "save available-bandwidth in AAI for odu4",\r
1699         "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
1700         "comments": "",\r
1701         "outputs": 1,\r
1702         "x": 2222.066650390625,\r
1703         "y": 2197.833267211914,\r
1704         "z": "4a2cc4e8.fff2dc",\r
1705         "wires": [\r
1706             []\r
1707         ]\r
1708     },\r
1709     {\r
1710         "id": "91b89ace.609a68",\r
1711         "type": "block",\r
1712         "name": "block : atomic",\r
1713         "xml": "<block atomic='true'>",\r
1714         "atomic": "true",\r
1715         "comments": "",\r
1716         "outputs": 1,\r
1717         "x": 1927.75,\r
1718         "y": 2411.816665649414,\r
1719         "z": "4a2cc4e8.fff2dc",\r
1720         "wires": [\r
1721             [\r
1722                 "ee326db5.8436a",\r
1723                 "35407e33.d79e02",\r
1724                 "18be1ac.ac0dde5",\r
1725                 "aebddf9c.15c58",\r
1726                 "765cd24e.25591c",\r
1727                 "7d4e01bf.0dfb3"\r
1728             ]\r
1729         ]\r
1730     },\r
1731     {\r
1732         "id": "ee326db5.8436a",\r
1733         "type": "save",\r
1734         "name": "save available-bandwidth in AAI for odu0",\r
1735         "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
1736         "comments": "",\r
1737         "outputs": 1,\r
1738         "x": 2286.75,\r
1739         "y": 2262.816665649414,\r
1740         "z": "4a2cc4e8.fff2dc",\r
1741         "wires": [\r
1742             []\r
1743         ]\r
1744     },\r
1745     {\r
1746         "id": "35407e33.d79e02",\r
1747         "type": "save",\r
1748         "name": "save available-bandwidth in AAI for odu1",\r
1749         "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
1750         "comments": "",\r
1751         "outputs": 1,\r
1752         "x": 2284.066650390625,\r
1753         "y": 2329.833267211914,\r
1754         "z": "4a2cc4e8.fff2dc",\r
1755         "wires": [\r
1756             []\r
1757         ]\r
1758     },\r
1759     {\r
1760         "id": "18be1ac.ac0dde5",\r
1761         "type": "save",\r
1762         "name": "save available-bandwidth in AAI for odu2",\r
1763         "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
1764         "comments": "",\r
1765         "outputs": 1,\r
1766         "x": 2232.066650390625,\r
1767         "y": 2384.833267211914,\r
1768         "z": "4a2cc4e8.fff2dc",\r
1769         "wires": [\r
1770             []\r
1771         ]\r
1772     },\r
1773     {\r
1774         "id": "aebddf9c.15c58",\r
1775         "type": "save",\r
1776         "name": "save available-bandwidth in AAI for odu3",\r
1777         "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
1778         "comments": "",\r
1779         "outputs": 1,\r
1780         "x": 2247.066650390625,\r
1781         "y": 2449.833267211914,\r
1782         "z": "4a2cc4e8.fff2dc",\r
1783         "wires": [\r
1784             []\r
1785         ]\r
1786     },\r
1787     {\r
1788         "id": "765cd24e.25591c",\r
1789         "type": "save",\r
1790         "name": "save available-bandwidth in AAI for odu4",\r
1791         "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
1792         "comments": "",\r
1793         "outputs": 1,\r
1794         "x": 2242.066650390625,\r
1795         "y": 2518.833267211914,\r
1796         "z": "4a2cc4e8.fff2dc",\r
1797         "wires": [\r
1798             []\r
1799         ]\r
1800     },\r
1801     {\r
1802         "id": "f610d634.b8cc4",\r
1803         "type": "block",\r
1804         "name": "block : atomic",\r
1805         "xml": "<block atomic='true'>",\r
1806         "atomic": "true",\r
1807         "comments": "",\r
1808         "outputs": 1,\r
1809         "x": 1951.75,\r
1810         "y": 2745.816665649414,\r
1811         "z": "4a2cc4e8.fff2dc",\r
1812         "wires": [\r
1813             [\r
1814                 "46acc9e7.1d9a8",\r
1815                 "a8c71c34.c3e7c",\r
1816                 "4f6686a5.9e0468",\r
1817                 "ae2f3dac.166",\r
1818                 "ad5a2744.3a73f",\r
1819                 "2aeb6b3e.6c3a4c"\r
1820             ]\r
1821         ]\r
1822     },\r
1823     {\r
1824         "id": "46acc9e7.1d9a8",\r
1825         "type": "save",\r
1826         "name": "save available-bandwidth in AAI for odu0",\r
1827         "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
1828         "comments": "",\r
1829         "outputs": 1,\r
1830         "x": 2312.75,\r
1831         "y": 2592.816665649414,\r
1832         "z": "4a2cc4e8.fff2dc",\r
1833         "wires": [\r
1834             []\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "a8c71c34.c3e7c",\r
1839         "type": "save",\r
1840         "name": "save available-bandwidth in AAI for odu1",\r
1841         "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
1842         "comments": "",\r
1843         "outputs": 1,\r
1844         "x": 2298.066650390625,\r
1845         "y": 2663.833267211914,\r
1846         "z": "4a2cc4e8.fff2dc",\r
1847         "wires": [\r
1848             []\r
1849         ]\r
1850     },\r
1851     {\r
1852         "id": "4f6686a5.9e0468",\r
1853         "type": "save",\r
1854         "name": "save available-bandwidth in AAI for odu2",\r
1855         "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
1856         "comments": "",\r
1857         "outputs": 1,\r
1858         "x": 2256.066650390625,\r
1859         "y": 2718.833267211914,\r
1860         "z": "4a2cc4e8.fff2dc",\r
1861         "wires": [\r
1862             []\r
1863         ]\r
1864     },\r
1865     {\r
1866         "id": "ae2f3dac.166",\r
1867         "type": "save",\r
1868         "name": "save available-bandwidth in AAI for odu3",\r
1869         "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
1870         "comments": "",\r
1871         "outputs": 1,\r
1872         "x": 2271.066650390625,\r
1873         "y": 2783.833267211914,\r
1874         "z": "4a2cc4e8.fff2dc",\r
1875         "wires": [\r
1876             []\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "ad5a2744.3a73f",\r
1881         "type": "save",\r
1882         "name": "save available-bandwidth in AAI for odu4",\r
1883         "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
1884         "comments": "",\r
1885         "outputs": 1,\r
1886         "x": 2266.066650390625,\r
1887         "y": 2852.833267211914,\r
1888         "z": "4a2cc4e8.fff2dc",\r
1889         "wires": [\r
1890             []\r
1891         ]\r
1892     },\r
1893     {\r
1894         "id": "ebd113cf.809d58",\r
1895         "type": "outcome",\r
1896         "name": "OTU0",\r
1897         "xml": "<outcome value='OTU0'>\n",\r
1898         "comments": "",\r
1899         "outputs": 1,\r
1900         "x": 1399.25,\r
1901         "y": 1066.316665649414,\r
1902         "z": "4a2cc4e8.fff2dc",\r
1903         "wires": [\r
1904             [\r
1905                 "fe9ed448.89feb"\r
1906             ]\r
1907         ]\r
1908     },\r
1909     {\r
1910         "id": "5e039964.21b738",\r
1911         "type": "outcome",\r
1912         "name": "OTU1",\r
1913         "xml": "<outcome value='OTU1'>\n",\r
1914         "comments": "",\r
1915         "outputs": 1,\r
1916         "x": 1396.25,\r
1917         "y": 1104.316665649414,\r
1918         "z": "4a2cc4e8.fff2dc",\r
1919         "wires": [\r
1920             [\r
1921                 "fe9ed448.89feb"\r
1922             ]\r
1923         ]\r
1924     },\r
1925     {\r
1926         "id": "55df563c.f847e8",\r
1927         "type": "outcome",\r
1928         "name": "OTU2",\r
1929         "xml": "<outcome value='OTU2'>\n",\r
1930         "comments": "",\r
1931         "outputs": 1,\r
1932         "x": 1403.25,\r
1933         "y": 1151.316665649414,\r
1934         "z": "4a2cc4e8.fff2dc",\r
1935         "wires": [\r
1936             [\r
1937                 "fe9ed448.89feb"\r
1938             ]\r
1939         ]\r
1940     },\r
1941     {\r
1942         "id": "2a77e6fd.99cfe2",\r
1943         "type": "outcome",\r
1944         "name": "OTU3",\r
1945         "xml": "<outcome value='OTU3'>\n",\r
1946         "comments": "",\r
1947         "outputs": 1,\r
1948         "x": 1403.25,\r
1949         "y": 1199.316665649414,\r
1950         "z": "4a2cc4e8.fff2dc",\r
1951         "wires": [\r
1952             [\r
1953                 "fe9ed448.89feb"\r
1954             ]\r
1955         ]\r
1956     },\r
1957     {\r
1958         "id": "b446277d.b32c2",\r
1959         "type": "outcome",\r
1960         "name": "OTU4",\r
1961         "xml": "<outcome value='OTU4'>\n",\r
1962         "comments": "",\r
1963         "outputs": 1,\r
1964         "x": 1399.25,\r
1965         "y": 1246.316665649414,\r
1966         "z": "4a2cc4e8.fff2dc",\r
1967         "wires": [\r
1968             [\r
1969                 "fe9ed448.89feb"\r
1970             ]\r
1971         ]\r
1972     },\r
1973     {\r
1974         "id": "c59ccd0.41ff13",\r
1975         "type": "set",\r
1976         "name": "set",\r
1977         "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
1978         "comments": "",\r
1979         "x": 1944.5,\r
1980         "y": 1263.816665649414,\r
1981         "z": "4a2cc4e8.fff2dc",\r
1982         "wires": []\r
1983     },\r
1984     {\r
1985         "id": "97c5cda9.f9b988",\r
1986         "type": "set",\r
1987         "name": "set",\r
1988         "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
1989         "comments": "",\r
1990         "x": 1889.5,\r
1991         "y": 1627.566665649414,\r
1992         "z": "4a2cc4e8.fff2dc",\r
1993         "wires": []\r
1994     },\r
1995     {\r
1996         "id": "31c35c3d.e2a904",\r
1997         "type": "set",\r
1998         "name": "set",\r
1999         "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
2000         "comments": "",\r
2001         "x": 1990.5,\r
2002         "y": 1959.316665649414,\r
2003         "z": "4a2cc4e8.fff2dc",\r
2004         "wires": []\r
2005     },\r
2006     {\r
2007         "id": "7d4e01bf.0dfb3",\r
2008         "type": "set",\r
2009         "name": "set",\r
2010         "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
2011         "comments": "",\r
2012         "x": 2040.5,\r
2013         "y": 2258.066665649414,\r
2014         "z": "4a2cc4e8.fff2dc",\r
2015         "wires": []\r
2016     },\r
2017     {\r
2018         "id": "2aeb6b3e.6c3a4c",\r
2019         "type": "set",\r
2020         "name": "set",\r
2021         "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
2022         "comments": "",\r
2023         "x": 2066.5,\r
2024         "y": 2585.566665649414,\r
2025         "z": "4a2cc4e8.fff2dc",\r
2026         "wires": []\r
2027     }\r
2028 ]