88eef90108effbc69f246b7aae11982fba2bbfe9
[sdnc/oam.git] / platform-logic / datachange / src / main / json / DataChange_tapi-update-network-to-aai.json
1 [\r
2     {\r
3         "id": "935a3170.617d58",\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": 328.5,\r
12         "y": 96,\r
13         "z": "12d97b5.248ff85",\r
14         "wires": [\r
15             [\r
16                 "b0347539.62863"\r
17             ]\r
18         ]\r
19     },\r
20     {\r
21         "id": "b0347539.62863",\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": 142.5,\r
28         "y": 154,\r
29         "z": "12d97b5.248ff85",\r
30         "wires": [\r
31             [\r
32                 "c7d276d1.b2201"\r
33             ]\r
34         ]\r
35     },\r
36     {\r
37         "id": "c7d276d1.b2201",\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": 366.5,\r
45         "y": 199,\r
46         "z": "12d97b5.248ff85",\r
47         "wires": [\r
48             [\r
49                 "9d541262.2259c",\r
50                 "9085ed80.90f39",\r
51                 "a234d204.9ad8d",\r
52                 "cd55a1ab.6e1058",\r
53                 "42993030.f025",\r
54                 "68ba4fb8.0ba9e",\r
55                 "6381672e.4b66e8"\r
56             ]\r
57         ]\r
58     },\r
59     {\r
60         "id": "b010e3f2.4096b",\r
61         "type": "dgstart",\r
62         "name": "DGSTART",\r
63         "outputs": 1,\r
64         "x": 77.5,\r
65         "y": 97,\r
66         "z": "12d97b5.248ff85",\r
67         "wires": [\r
68             [\r
69                 "935a3170.617d58"\r
70             ]\r
71         ]\r
72     },\r
73     {\r
74         "id": "42993030.f025",\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": 638,\r
80         "y": 107,\r
81         "z": "12d97b5.248ff85",\r
82         "wires": []\r
83     },\r
84     {\r
85         "id": "9d541262.2259c",\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": 652,\r
92         "y": 208,\r
93         "z": "12d97b5.248ff85",\r
94         "wires": [\r
95             []\r
96         ]\r
97     },\r
98     {\r
99         "id": "9085ed80.90f39",\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": 720,\r
106         "y": 253,\r
107         "z": "12d97b5.248ff85",\r
108         "wires": [\r
109             []\r
110         ]\r
111     },\r
112     {\r
113         "id": "a234d204.9ad8d",\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": 511,\r
120         "y": 410,\r
121         "z": "12d97b5.248ff85",\r
122         "wires": [\r
123             [\r
124                 "50a0e2c1.af46dc",\r
125                 "b0afae25.cb087",\r
126                 "e9e2ecad.80a61"\r
127             ]\r
128         ]\r
129     },\r
130     {\r
131         "id": "50a0e2c1.af46dc",\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": 734,\r
137         "y": 332,\r
138         "z": "12d97b5.248ff85",\r
139         "wires": []\r
140     },\r
141     {\r
142         "id": "b0afae25.cb087",\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": 730,\r
150         "y": 384,\r
151         "z": "12d97b5.248ff85",\r
152         "wires": [\r
153             [\r
154                 "4e4155b0.3e1144"\r
155             ]\r
156         ]\r
157     },\r
158     {\r
159         "id": "fd732489.b8daa",\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": 1174,\r
166         "y": 381,\r
167         "z": "12d97b5.248ff85",\r
168         "wires": [\r
169             [\r
170                 "3bb8d7e2.eaee28",\r
171                 "80a53d1e.bbca58"\r
172             ]\r
173         ]\r
174     },\r
175     {\r
176         "id": "3bb8d7e2.eaee28",\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": 1439,\r
183         "y": 345,\r
184         "z": "12d97b5.248ff85",\r
185         "wires": [\r
186             []\r
187         ]\r
188     },\r
189     {\r
190         "id": "80a53d1e.bbca58",\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": 1398,\r
197         "y": 467,\r
198         "z": "12d97b5.248ff85",\r
199         "wires": [\r
200             [\r
201                 "52f17a63.9bfd44"\r
202             ]\r
203         ]\r
204     },\r
205     {\r
206         "id": "52f17a63.9bfd44",\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": 1612,\r
213         "y": 470,\r
214         "z": "12d97b5.248ff85",\r
215         "wires": [\r
216             [\r
217                 "1eee1e7b.5435f2"\r
218             ]\r
219         ]\r
220     },\r
221     {\r
222         "id": "1eee1e7b.5435f2",\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": 1522,\r
229         "y": 532,\r
230         "z": "12d97b5.248ff85",\r
231         "wires": [\r
232             [\r
233                 "1cf3cb4d.a6fb3d"\r
234             ]\r
235         ]\r
236     },\r
237     {\r
238         "id": "1cf3cb4d.a6fb3d",\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": 1728,\r
245         "y": 529,\r
246         "z": "12d97b5.248ff85",\r
247         "wires": [\r
248             [\r
249                 "38316d9c.01edfa"\r
250             ]\r
251         ]\r
252     },\r
253     {\r
254         "id": "38316d9c.01edfa",\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": 1898,\r
260         "y": 525,\r
261         "z": "12d97b5.248ff85",\r
262         "wires": []\r
263     },\r
264     {\r
265         "id": "6555285e.9ebd6",\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": 1172,\r
272         "y": 512,\r
273         "z": "12d97b5.248ff85",\r
274         "wires": [\r
275             []\r
276         ]\r
277     },\r
278     {\r
279         "id": "81aa1acf.f68a58",\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": 1193,\r
286         "y": 580,\r
287         "z": "12d97b5.248ff85",\r
288         "wires": [\r
289             []\r
290         ]\r
291     },\r
292     {\r
293         "id": "e9e2ecad.80a61",\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": 460,\r
300         "y": 746,\r
301         "z": "12d97b5.248ff85",\r
302         "wires": [\r
303             [\r
304                 "c89d18fe.055318",\r
305                 "ac9bd5ab.d519c"\r
306             ]\r
307         ]\r
308     },\r
309     {\r
310         "id": "ac9bd5ab.d519c",\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": 688,\r
316         "y": 696,\r
317         "z": "12d97b5.248ff85",\r
318         "wires": []\r
319     },\r
320     {\r
321         "id": "6f66e8cb.64f95",\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": 1213,\r
328         "y": 768,\r
329         "z": "12d97b5.248ff85",\r
330         "wires": [\r
331             [\r
332                 "ee3c6985.76e71",\r
333                 "bfda0f7b.b56b18"\r
334             ]\r
335         ]\r
336     },\r
337     {\r
338         "id": "ee3c6985.76e71",\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": 1477,\r
345         "y": 632,\r
346         "z": "12d97b5.248ff85",\r
347         "wires": [\r
348             []\r
349         ]\r
350     },\r
351     {\r
352         "id": "bfda0f7b.b56b18",\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": 1442,\r
359         "y": 767,\r
360         "z": "12d97b5.248ff85",\r
361         "wires": [\r
362             [\r
363                 "9320404b.db2348"\r
364             ]\r
365         ]\r
366     },\r
367     {\r
368         "id": "9320404b.db2348",\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": 1614,\r
375         "y": 768,\r
376         "z": "12d97b5.248ff85",\r
377         "wires": [\r
378             [\r
379                 "aef7823d.d8a618",\r
380                 "35cc269a.e40662"\r
381             ]\r
382         ]\r
383     },\r
384     {\r
385         "id": "aef7823d.d8a618",\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": 1829,\r
392         "y": 619,\r
393         "z": "12d97b5.248ff85",\r
394         "wires": [\r
395             [\r
396                 "35fb5cff.eb7ef4"\r
397             ]\r
398         ]\r
399     },\r
400     {\r
401         "id": "35fb5cff.eb7ef4",\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": 2043,\r
408         "y": 661,\r
409         "z": "12d97b5.248ff85",\r
410         "wires": [\r
411             [\r
412                 "9d15562e.3da29"\r
413             ]\r
414         ]\r
415     },\r
416     {\r
417         "id": "9d15562e.3da29",\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": 2265,\r
423         "y": 659,\r
424         "z": "12d97b5.248ff85",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "6381672e.4b66e8",\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": 314,\r
435         "y": 945,\r
436         "z": "12d97b5.248ff85",\r
437         "wires": [\r
438             [\r
439                 "c58ed545.369738",\r
440                 "719956b2.0cd3",\r
441                 "7e813e06.d7a0a8",\r
442                 "b416801f.d4ff5",\r
443                 "10707cde.2f4863"\r
444             ]\r
445         ]\r
446     },\r
447     {\r
448         "id": "c58ed545.369738",\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": 472,\r
454         "y": 869,\r
455         "z": "12d97b5.248ff85",\r
456         "wires": []\r
457     },\r
458     {\r
459         "id": "cd55a1ab.6e1058",\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": 604,\r
466         "y": 154,\r
467         "z": "12d97b5.248ff85",\r
468         "wires": [\r
469             []\r
470         ]\r
471     },\r
472     {\r
473         "id": "ac455a91.e52088",\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": 1155,\r
480         "y": 446,\r
481         "z": "12d97b5.248ff85",\r
482         "wires": [\r
483             []\r
484         ]\r
485     },\r
486     {\r
487         "id": "719956b2.0cd3",\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": 512,\r
493         "y": 1005,\r
494         "z": "12d97b5.248ff85",\r
495         "wires": []\r
496     },\r
497     {\r
498         "id": "7e813e06.d7a0a8",\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": 504,\r
505         "y": 1097,\r
506         "z": "12d97b5.248ff85",\r
507         "wires": [\r
508             []\r
509         ]\r
510     },\r
511     {\r
512         "id": "b416801f.d4ff5",\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": 536,\r
519         "y": 1175,\r
520         "z": "12d97b5.248ff85",\r
521         "wires": [\r
522             []\r
523         ]\r
524     },\r
525     {\r
526         "id": "35cc269a.e40662",\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": 1869,\r
533         "y": 778,\r
534         "z": "12d97b5.248ff85",\r
535         "wires": [\r
536             [\r
537                 "1b3ff34.e74448d"\r
538             ]\r
539         ]\r
540     },\r
541     {\r
542         "id": "ec747020.3cd26",\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": 2267,\r
548         "y": 783,\r
549         "z": "12d97b5.248ff85",\r
550         "wires": []\r
551     },\r
552     {\r
553         "id": "1b3ff34.e74448d",\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": 2085,\r
560         "y": 777,\r
561         "z": "12d97b5.248ff85",\r
562         "wires": [\r
563             [\r
564                 "ec747020.3cd26"\r
565             ]\r
566         ]\r
567     },\r
568     {\r
569         "id": "72dab98.9c32948",\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": 1206,\r
576         "y": 976,\r
577         "z": "12d97b5.248ff85",\r
578         "wires": [\r
579             [\r
580                 "7c1acbf6.52a7b4",\r
581                 "e680c1d4.8d26b",\r
582                 "637bc8ed.78c8f8",\r
583                 "546b1c73.cde174",\r
584                 "ff2067e8.34ff3",\r
585                 "137d910.c7ebc6f",\r
586                 "3a380053.5e28e8",\r
587                 "c59da1dd.0a3a6",\r
588                 "d7b0999b.5401d8",\r
589                 "9ef45078.45166",\r
590                 "a8b7220d.93d588"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "7c1acbf6.52a7b4",\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": 1379,\r
602         "y": 848,\r
603         "z": "12d97b5.248ff85",\r
604         "wires": [\r
605             [\r
606                 "c6b4b57e.be0f4"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "3f789e8e.088bd2",\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": 1713,\r
617         "y": 978,\r
618         "z": "12d97b5.248ff85",\r
619         "wires": []\r
620     },\r
621     {\r
622         "id": "c6b4b57e.be0f4",\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": 1570,\r
628         "y": 849,\r
629         "z": "12d97b5.248ff85",\r
630         "wires": []\r
631     },\r
632     {\r
633         "id": "4ff9fdea.07798c",\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": 1239,\r
640         "y": 842,\r
641         "z": "12d97b5.248ff85",\r
642         "wires": [\r
643             []\r
644         ]\r
645     },\r
646     {\r
647         "id": "c89d18fe.055318",\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": 650,\r
655         "y": 809,\r
656         "z": "12d97b5.248ff85",\r
657         "wires": [\r
658             [\r
659                 "7215b4d0.41eff4"\r
660             ]\r
661         ]\r
662     },\r
663     {\r
664         "id": "7215b4d0.41eff4",\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": 816,\r
671         "y": 760,\r
672         "z": "12d97b5.248ff85",\r
673         "wires": [\r
674             [\r
675                 "2a45d6ca.fdcd6a",\r
676                 "9e6c2d7a.6a9"\r
677             ]\r
678         ]\r
679     },\r
680     {\r
681         "id": "2a45d6ca.fdcd6a",\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": 853,\r
688         "y": 835,\r
689         "z": "12d97b5.248ff85",\r
690         "wires": [\r
691             [\r
692                 "dbc08438.6ccc88"\r
693             ]\r
694         ]\r
695     },\r
696     {\r
697         "id": "9e6c2d7a.6a9",\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": 1011,\r
704         "y": 701,\r
705         "z": "12d97b5.248ff85",\r
706         "wires": [\r
707             []\r
708         ]\r
709     },\r
710     {\r
711         "id": "4e4155b0.3e1144",\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": 748,\r
718         "y": 444,\r
719         "z": "12d97b5.248ff85",\r
720         "wires": [\r
721             [\r
722                 "7222169b.377ed8",\r
723                 "491fb5e5.6c1c64"\r
724             ]\r
725         ]\r
726     },\r
727     {\r
728         "id": "7222169b.377ed8",\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": 916,\r
735         "y": 393,\r
736         "z": "12d97b5.248ff85",\r
737         "wires": [\r
738             [\r
739                 "7f13a4a.2f87fdc"\r
740             ]\r
741         ]\r
742     },\r
743     {\r
744         "id": "491fb5e5.6c1c64",\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": 839,\r
751         "y": 561,\r
752         "z": "12d97b5.248ff85",\r
753         "wires": [\r
754             []\r
755         ]\r
756     },\r
757     {\r
758         "id": "7f13a4a.2f87fdc",\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": 969,\r
766         "y": 453,\r
767         "z": "12d97b5.248ff85",\r
768         "wires": [\r
769             [\r
770                 "fd732489.b8daa",\r
771                 "ac455a91.e52088",\r
772                 "6555285e.9ebd6",\r
773                 "81aa1acf.f68a58"\r
774             ]\r
775         ]\r
776     },\r
777     {\r
778         "id": "dbc08438.6ccc88",\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": 994,\r
786         "y": 833,\r
787         "z": "12d97b5.248ff85",\r
788         "wires": [\r
789             [\r
790                 "6f66e8cb.64f95",\r
791                 "4ff9fdea.07798c",\r
792                 "72dab98.9c32948",\r
793                 "e75de0f2.fdaed",\r
794                 "f6aff657.ff10f8",\r
795                 "caaa66fd.e0cba",\r
796                 "38a93e32.54219a",\r
797                 "500637ea.435bb8",\r
798                 "8c9dedce.28c178"\r
799             ]\r
800         ]\r
801     },\r
802     {\r
803         "id": "10707cde.2f4863",\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": 537,\r
809         "y": 926,\r
810         "z": "12d97b5.248ff85",\r
811         "wires": []\r
812     },\r
813     {\r
814         "id": "68ba4fb8.0ba9e",\r
815         "type": "set",\r
816         "name": "set",\r
817         "xml": "<set>\n<parameter name='controller_id' value=\"`$prop.sdncRestApi.type + '_' + $prop.sdncRestApi.thirdpartySdnc.url`\" />\n\n\n\n",\r
818         "comments": "",\r
819         "x": 572,\r
820         "y": 305,\r
821         "z": "12d97b5.248ff85",\r
822         "wires": []\r
823     },\r
824     {\r
825         "id": "e680c1d4.8d26b",\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": 1401,\r
832         "y": 912,\r
833         "z": "12d97b5.248ff85",\r
834         "wires": [\r
835             [\r
836                 "3f789e8e.088bd2"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "637bc8ed.78c8f8",\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": 1401,\r
848         "y": 950,\r
849         "z": "12d97b5.248ff85",\r
850         "wires": [\r
851             [\r
852                 "3f789e8e.088bd2"\r
853             ]\r
854         ]\r
855     },\r
856     {\r
857         "id": "546b1c73.cde174",\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": 1394,\r
864         "y": 988,\r
865         "z": "12d97b5.248ff85",\r
866         "wires": [\r
867             [\r
868                 "3f789e8e.088bd2"\r
869             ]\r
870         ]\r
871     },\r
872     {\r
873         "id": "38a93e32.54219a",\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": 753.75,\r
880         "y": 2695.25,\r
881         "z": "12d97b5.248ff85",\r
882         "wires": [\r
883             [\r
884                 "e2073ad2.b58ea8",\r
885                 "9baa5127.75eb5"\r
886             ]\r
887         ]\r
888     },\r
889     {\r
890         "id": "500637ea.435bb8",\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": 715.75,\r
897         "y": 2829.5498046875,\r
898         "z": "12d97b5.248ff85",\r
899         "wires": [\r
900             []\r
901         ]\r
902     },\r
903     {\r
904         "id": "e2073ad2.b58ea8",\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": 965.61669921875,\r
911         "y": 2616.0166015625,\r
912         "z": "12d97b5.248ff85",\r
913         "wires": [\r
914             []\r
915         ]\r
916     },\r
917     {\r
918         "id": "9baa5127.75eb5",\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": 971.61669921875,\r
925         "y": 2720.0166015625,\r
926         "z": "12d97b5.248ff85",\r
927         "wires": [\r
928             [\r
929                 "d3741b24.f41a38",\r
930                 "fbbf0be.c3047f8",\r
931                 "5c2bdcbd.9ea0e4",\r
932                 "7cb8cac.25fb634"\r
933             ]\r
934         ]\r
935     },\r
936     {\r
937         "id": "4519c61a.330528",\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": 1520.61669921875,\r
943         "y": 2625.0166015625,\r
944         "z": "12d97b5.248ff85",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "7cb8cac.25fb634",\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": 1144.61669921875,\r
955         "y": 2579.0166015625,\r
956         "z": "12d97b5.248ff85",\r
957         "wires": [\r
958             [\r
959                 "467d498d.a66ab8"\r
960             ]\r
961         ]\r
962     },\r
963     {\r
964         "id": "d3741b24.f41a38",\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": 1149.783447265625,\r
971         "y": 2657.433349609375,\r
972         "z": "12d97b5.248ff85",\r
973         "wires": [\r
974             [\r
975                 "322831f2.c2967e"\r
976             ]\r
977         ]\r
978     },\r
979     {\r
980         "id": "fbbf0be.c3047f8",\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": 1117.61669921875,\r
987         "y": 2721.0166015625,\r
988         "z": "12d97b5.248ff85",\r
989         "wires": [\r
990             [\r
991                 "2bf1c373.508c94"\r
992             ]\r
993         ]\r
994     },\r
995     {\r
996         "id": "cbf030b5.5d4338",\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": 1479.783447265625,\r
1002         "y": 2699.433349609375,\r
1003         "z": "12d97b5.248ff85",\r
1004         "wires": []\r
1005     },\r
1006     {\r
1007         "id": "5c2bdcbd.9ea0e4",\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": 1130.666748046875,\r
1014         "y": 2843.216796875,\r
1015         "z": "12d97b5.248ff85",\r
1016         "wires": [\r
1017             [\r
1018                 "f57bea8c.8d2af8"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "ef6bffe9.2ced08",\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": 1488.61669921875,\r
1029         "y": 2847.0166015625,\r
1030         "z": "12d97b5.248ff85",\r
1031         "wires": []\r
1032     },\r
1033     {\r
1034         "id": "322831f2.c2967e",\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": 1309.4833984375,\r
1042         "y": 2643.38330078125,\r
1043         "z": "12d97b5.248ff85",\r
1044         "wires": [\r
1045             [\r
1046                 "4519c61a.330528"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "2bf1c373.508c94",\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": 1296.4833984375,\r
1059         "y": 2719.38330078125,\r
1060         "z": "12d97b5.248ff85",\r
1061         "wires": [\r
1062             [\r
1063                 "cbf030b5.5d4338",\r
1064                 "d43dd35.5a18fb"\r
1065             ]\r
1066         ]\r
1067     },\r
1068     {\r
1069         "id": "f57bea8c.8d2af8",\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": 1319.4833984375,\r
1077         "y": 2851.38330078125,\r
1078         "z": "12d97b5.248ff85",\r
1079         "wires": [\r
1080             [\r
1081                 "ef6bffe9.2ced08"\r
1082             ]\r
1083         ]\r
1084     },\r
1085     {\r
1086         "id": "d43dd35.5a18fb",\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": 1488.4833984375,\r
1093         "y": 2752.38330078125,\r
1094         "z": "12d97b5.248ff85",\r
1095         "wires": [\r
1096             []\r
1097         ]\r
1098     },\r
1099     {\r
1100         "id": "d03ef92d.fe74c8",\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": 1506.783447265625,\r
1106         "y": 2561.433349609375,\r
1107         "z": "12d97b5.248ff85",\r
1108         "wires": []\r
1109     },\r
1110     {\r
1111         "id": "467d498d.a66ab8",\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": 1305.4833984375,\r
1119         "y": 2572.88330078125,\r
1120         "z": "12d97b5.248ff85",\r
1121         "wires": [\r
1122             [\r
1123                 "d03ef92d.fe74c8"\r
1124             ]\r
1125         ]\r
1126     },\r
1127     {\r
1128         "id": "e75de0f2.fdaed",\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": 1171,\r
1135         "y": 1217,\r
1136         "z": "12d97b5.248ff85",\r
1137         "wires": [\r
1138             []\r
1139         ]\r
1140     },\r
1141     {\r
1142         "id": "ff2067e8.34ff3",\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": 1398,\r
1149         "y": 1022,\r
1150         "z": "12d97b5.248ff85",\r
1151         "wires": [\r
1152             [\r
1153                 "3f789e8e.088bd2"\r
1154             ]\r
1155         ]\r
1156     },\r
1157     {\r
1158         "id": "137d910.c7ebc6f",\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": 1396,\r
1165         "y": 1061,\r
1166         "z": "12d97b5.248ff85",\r
1167         "wires": [\r
1168             [\r
1169                 "3f789e8e.088bd2"\r
1170             ]\r
1171         ]\r
1172     },\r
1173     {\r
1174         "id": "f6aff657.ff10f8",\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": 1089.566650390625,\r
1181         "y": 1354.566650390625,\r
1182         "z": "12d97b5.248ff85",\r
1183         "wires": [\r
1184             [\r
1185                 "12efb7be.6d223"\r
1186             ]\r
1187         ]\r
1188     },\r
1189     {\r
1190         "id": "12efb7be.6d223",\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": 1307.75,\r
1197         "y": 1363.75,\r
1198         "z": "12d97b5.248ff85",\r
1199         "wires": [\r
1200             [\r
1201                 "87e62e83.a861a"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "87e62e83.a861a",\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": 1460.75,\r
1212         "y": 1362.75,\r
1213         "z": "12d97b5.248ff85",\r
1214         "wires": []\r
1215     },\r
1216     {\r
1217         "id": "caaa66fd.e0cba",\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": 1054.75,\r
1224         "y": 1470.75,\r
1225         "z": "12d97b5.248ff85",\r
1226         "wires": [\r
1227             [\r
1228                 "62e0ec7.acc3f94",\r
1229                 "b8317d0d.95e438"\r
1230             ]\r
1231         ]\r
1232     },\r
1233     {\r
1234         "id": "62e0ec7.acc3f94",\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": 1216.75,\r
1241         "y": 1436.75,\r
1242         "z": "12d97b5.248ff85",\r
1243         "wires": [\r
1244             []\r
1245         ]\r
1246     },\r
1247     {\r
1248         "id": "b8317d0d.95e438",\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": 1192.75,\r
1255         "y": 1573.75,\r
1256         "z": "12d97b5.248ff85",\r
1257         "wires": [\r
1258             [\r
1259                 "4eb8450f.7429b4"\r
1260             ]\r
1261         ]\r
1262     },\r
1263     {\r
1264         "id": "4eb8450f.7429b4",\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": 1391.75,\r
1272         "y": 1466.75,\r
1273         "z": "12d97b5.248ff85",\r
1274         "wires": [\r
1275             [\r
1276                 "3796a832.dd7c9",\r
1277                 "f32c42b.ef627c",\r
1278                 "113f1be5.7b839c",\r
1279                 "d298a5ec.4701a8"\r
1280             ]\r
1281         ]\r
1282     },\r
1283     {\r
1284         "id": "3796a832.dd7c9",\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": 1628.75,\r
1291         "y": 1490.7499389648438,\r
1292         "z": "12d97b5.248ff85",\r
1293         "wires": [\r
1294             []\r
1295         ]\r
1296     },\r
1297     {\r
1298         "id": "8c9dedce.28c178",\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": 744.75,\r
1304         "y": 2613.25,\r
1305         "z": "12d97b5.248ff85",\r
1306         "wires": []\r
1307     },\r
1308     {\r
1309         "id": "f32c42b.ef627c",\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": 1608.75,\r
1315         "y": 1408.25,\r
1316         "z": "12d97b5.248ff85",\r
1317         "wires": []\r
1318     },\r
1319     {\r
1320         "id": "113f1be5.7b839c",\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": 1615.75,\r
1327         "y": 1325.75,\r
1328         "z": "12d97b5.248ff85",\r
1329         "wires": [\r
1330             []\r
1331         ]\r
1332     },\r
1333     {\r
1334         "id": "d298a5ec.4701a8",\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": 1080.75,\r
1341         "y": 1966.75,\r
1342         "z": "12d97b5.248ff85",\r
1343         "wires": [\r
1344             [\r
1345                 "4b3e2ceb.2eb48c",\r
1346                 "721cd7f0.663828",\r
1347                 "91cb4231.18cc9",\r
1348                 "7a32a1a.1876ce",\r
1349                 "8e655d43.d52e48"\r
1350             ]\r
1351         ]\r
1352     },\r
1353     {\r
1354         "id": "4b3e2ceb.2eb48c",\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": 1748.933349609375,\r
1361         "y": 1552.933349609375,\r
1362         "z": "12d97b5.248ff85",\r
1363         "wires": [\r
1364             [\r
1365                 "9c235584.62579"\r
1366             ]\r
1367         ]\r
1368     },\r
1369     {\r
1370         "id": "721cd7f0.663828",\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": 1705.933349609375,\r
1377         "y": 1815.933349609375,\r
1378         "z": "12d97b5.248ff85",\r
1379         "wires": [\r
1380             [\r
1381                 "b7bd314d.9cf0d"\r
1382             ]\r
1383         ]\r
1384     },\r
1385     {\r
1386         "id": "91cb4231.18cc9",\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": 1659.933349609375,\r
1393         "y": 2045.933349609375,\r
1394         "z": "12d97b5.248ff85",\r
1395         "wires": [\r
1396             [\r
1397                 "b7e44f5e.25e06"\r
1398             ]\r
1399         ]\r
1400     },\r
1401     {\r
1402         "id": "7a32a1a.1876ce",\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": 1751.933349609375,\r
1409         "y": 2416.933349609375,\r
1410         "z": "12d97b5.248ff85",\r
1411         "wires": [\r
1412             [\r
1413                 "ca6f1330.654d"\r
1414             ]\r
1415         ]\r
1416     },\r
1417     {\r
1418         "id": "8e655d43.d52e48",\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": 1736.933349609375,\r
1425         "y": 2642.933349609375,\r
1426         "z": "12d97b5.248ff85",\r
1427         "wires": [\r
1428             [\r
1429                 "c8a60ea.86b8df"\r
1430             ]\r
1431         ]\r
1432     },\r
1433     {\r
1434         "id": "9c235584.62579",\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": 1893.933349609375,\r
1442         "y": 1429.7333984375,\r
1443         "z": "12d97b5.248ff85",\r
1444         "wires": [\r
1445             [\r
1446                 "b06987be.8600c8",\r
1447                 "2152e5a8.234e4a",\r
1448                 "fee249b2.2732e8",\r
1449                 "8d5bc0c.88ed84",\r
1450                 "227e1b10.a2fb2c",\r
1451                 "3bb8f50c.9c58ca"\r
1452             ]\r
1453         ]\r
1454     },\r
1455     {\r
1456         "id": "b06987be.8600c8",\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": 2181.933349609375,\r
1463         "y": 1277.7333984375,\r
1464         "z": "12d97b5.248ff85",\r
1465         "wires": [\r
1466             []\r
1467         ]\r
1468     },\r
1469     {\r
1470         "id": "2152e5a8.234e4a",\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": 2175.25,\r
1477         "y": 1332.75,\r
1478         "z": "12d97b5.248ff85",\r
1479         "wires": [\r
1480             []\r
1481         ]\r
1482     },\r
1483     {\r
1484         "id": "fee249b2.2732e8",\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": 2163.25,\r
1491         "y": 1406.75,\r
1492         "z": "12d97b5.248ff85",\r
1493         "wires": [\r
1494             []\r
1495         ]\r
1496     },\r
1497     {\r
1498         "id": "8d5bc0c.88ed84",\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": 2162.25,\r
1505         "y": 1480.75,\r
1506         "z": "12d97b5.248ff85",\r
1507         "wires": [\r
1508             []\r
1509         ]\r
1510     },\r
1511     {\r
1512         "id": "227e1b10.a2fb2c",\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": 2181.25,\r
1519         "y": 1583.75,\r
1520         "z": "12d97b5.248ff85",\r
1521         "wires": [\r
1522             []\r
1523         ]\r
1524     },\r
1525     {\r
1526         "id": "b7bd314d.9cf0d",\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": 1888.25,\r
1534         "y": 1815.75,\r
1535         "z": "12d97b5.248ff85",\r
1536         "wires": [\r
1537             [\r
1538                 "6ef755ed.99548c",\r
1539                 "dd2f7629.777398",\r
1540                 "66e62552.4aa394",\r
1541                 "8609ccb1.2d8bd",\r
1542                 "87595d0e.b05d38",\r
1543                 "ce9a967c.b09018"\r
1544             ]\r
1545         ]\r
1546     },\r
1547     {\r
1548         "id": "6ef755ed.99548c",\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": 2213.25,\r
1555         "y": 1662.75,\r
1556         "z": "12d97b5.248ff85",\r
1557         "wires": [\r
1558             []\r
1559         ]\r
1560     },\r
1561     {\r
1562         "id": "dd2f7629.777398",\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": 2196.566650390625,\r
1569         "y": 1733.7666015625,\r
1570         "z": "12d97b5.248ff85",\r
1571         "wires": [\r
1572             []\r
1573         ]\r
1574     },\r
1575     {\r
1576         "id": "66e62552.4aa394",\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": 2192.566650390625,\r
1583         "y": 1788.7666015625,\r
1584         "z": "12d97b5.248ff85",\r
1585         "wires": [\r
1586             []\r
1587         ]\r
1588     },\r
1589     {\r
1590         "id": "8609ccb1.2d8bd",\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": 2207.566650390625,\r
1597         "y": 1853.7666015625,\r
1598         "z": "12d97b5.248ff85",\r
1599         "wires": [\r
1600             []\r
1601         ]\r
1602     },\r
1603     {\r
1604         "id": "87595d0e.b05d38",\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": 2202.566650390625,\r
1611         "y": 1922.7666015625,\r
1612         "z": "12d97b5.248ff85",\r
1613         "wires": [\r
1614             []\r
1615         ]\r
1616     },\r
1617     {\r
1618         "id": "b7e44f5e.25e06",\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": 1901.25,\r
1626         "y": 2121.25,\r
1627         "z": "12d97b5.248ff85",\r
1628         "wires": [\r
1629             [\r
1630                 "b6290079.3768d8",\r
1631                 "aeacf8f2.125a18",\r
1632                 "3a3745a4.09acaa",\r
1633                 "20f621b2.75d936",\r
1634                 "d5c969cd.0b6938",\r
1635                 "fa7682f.bf183"\r
1636             ]\r
1637         ]\r
1638     },\r
1639     {\r
1640         "id": "b6290079.3768d8",\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": 2226.25,\r
1647         "y": 1968.25,\r
1648         "z": "12d97b5.248ff85",\r
1649         "wires": [\r
1650             []\r
1651         ]\r
1652     },\r
1653     {\r
1654         "id": "aeacf8f2.125a18",\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": 2209.566650390625,\r
1661         "y": 2039.2666015625,\r
1662         "z": "12d97b5.248ff85",\r
1663         "wires": [\r
1664             []\r
1665         ]\r
1666     },\r
1667     {\r
1668         "id": "3a3745a4.09acaa",\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": 2205.566650390625,\r
1675         "y": 2094.2666015625,\r
1676         "z": "12d97b5.248ff85",\r
1677         "wires": [\r
1678             []\r
1679         ]\r
1680     },\r
1681     {\r
1682         "id": "20f621b2.75d936",\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": 2220.566650390625,\r
1689         "y": 2159.2666015625,\r
1690         "z": "12d97b5.248ff85",\r
1691         "wires": [\r
1692             []\r
1693         ]\r
1694     },\r
1695     {\r
1696         "id": "d5c969cd.0b6938",\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": 2215.566650390625,\r
1703         "y": 2228.2666015625,\r
1704         "z": "12d97b5.248ff85",\r
1705         "wires": [\r
1706             []\r
1707         ]\r
1708     },\r
1709     {\r
1710         "id": "ca6f1330.654d",\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": 1921.25,\r
1718         "y": 2442.25,\r
1719         "z": "12d97b5.248ff85",\r
1720         "wires": [\r
1721             [\r
1722                 "2be58a1d.aed496",\r
1723                 "89903ba4.c414c8",\r
1724                 "41154fca.298178",\r
1725                 "e906813f.b5869",\r
1726                 "96b9d670.d50be8",\r
1727                 "82c447b3.e8f528"\r
1728             ]\r
1729         ]\r
1730     },\r
1731     {\r
1732         "id": "2be58a1d.aed496",\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": 2280.25,\r
1739         "y": 2293.25,\r
1740         "z": "12d97b5.248ff85",\r
1741         "wires": [\r
1742             []\r
1743         ]\r
1744     },\r
1745     {\r
1746         "id": "89903ba4.c414c8",\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": 2277.566650390625,\r
1753         "y": 2360.2666015625,\r
1754         "z": "12d97b5.248ff85",\r
1755         "wires": [\r
1756             []\r
1757         ]\r
1758     },\r
1759     {\r
1760         "id": "41154fca.298178",\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": 2225.566650390625,\r
1767         "y": 2415.2666015625,\r
1768         "z": "12d97b5.248ff85",\r
1769         "wires": [\r
1770             []\r
1771         ]\r
1772     },\r
1773     {\r
1774         "id": "e906813f.b5869",\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": 2240.566650390625,\r
1781         "y": 2480.2666015625,\r
1782         "z": "12d97b5.248ff85",\r
1783         "wires": [\r
1784             []\r
1785         ]\r
1786     },\r
1787     {\r
1788         "id": "96b9d670.d50be8",\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": 2235.566650390625,\r
1795         "y": 2549.2666015625,\r
1796         "z": "12d97b5.248ff85",\r
1797         "wires": [\r
1798             []\r
1799         ]\r
1800     },\r
1801     {\r
1802         "id": "c8a60ea.86b8df",\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": 1945.25,\r
1810         "y": 2776.25,\r
1811         "z": "12d97b5.248ff85",\r
1812         "wires": [\r
1813             [\r
1814                 "2e6514f0.94b6c4",\r
1815                 "b0455458.6d62f",\r
1816                 "6ee00e0.0c53cf4",\r
1817                 "1a460df7.cad502",\r
1818                 "62cd4705.4d3d4",\r
1819                 "6816d709.9fbb6"\r
1820             ]\r
1821         ]\r
1822     },\r
1823     {\r
1824         "id": "2e6514f0.94b6c4",\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": 2306.25,\r
1831         "y": 2623.25,\r
1832         "z": "12d97b5.248ff85",\r
1833         "wires": [\r
1834             []\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "b0455458.6d62f",\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": 2291.566650390625,\r
1845         "y": 2694.2666015625,\r
1846         "z": "12d97b5.248ff85",\r
1847         "wires": [\r
1848             []\r
1849         ]\r
1850     },\r
1851     {\r
1852         "id": "6ee00e0.0c53cf4",\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": 2249.566650390625,\r
1859         "y": 2749.2666015625,\r
1860         "z": "12d97b5.248ff85",\r
1861         "wires": [\r
1862             []\r
1863         ]\r
1864     },\r
1865     {\r
1866         "id": "1a460df7.cad502",\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": 2264.566650390625,\r
1873         "y": 2814.2666015625,\r
1874         "z": "12d97b5.248ff85",\r
1875         "wires": [\r
1876             []\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "62cd4705.4d3d4",\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": 2259.566650390625,\r
1887         "y": 2883.2666015625,\r
1888         "z": "12d97b5.248ff85",\r
1889         "wires": [\r
1890             []\r
1891         ]\r
1892     },\r
1893     {\r
1894         "id": "3a380053.5e28e8",\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": 1392.75,\r
1901         "y": 1096.75,\r
1902         "z": "12d97b5.248ff85",\r
1903         "wires": [\r
1904             [\r
1905                 "3f789e8e.088bd2"\r
1906             ]\r
1907         ]\r
1908     },\r
1909     {\r
1910         "id": "d7b0999b.5401d8",\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": 1389.75,\r
1917         "y": 1134.75,\r
1918         "z": "12d97b5.248ff85",\r
1919         "wires": [\r
1920             [\r
1921                 "3f789e8e.088bd2"\r
1922             ]\r
1923         ]\r
1924     },\r
1925     {\r
1926         "id": "c59da1dd.0a3a6",\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": 1396.75,\r
1933         "y": 1181.75,\r
1934         "z": "12d97b5.248ff85",\r
1935         "wires": [\r
1936             [\r
1937                 "3f789e8e.088bd2"\r
1938             ]\r
1939         ]\r
1940     },\r
1941     {\r
1942         "id": "9ef45078.45166",\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": 1396.75,\r
1949         "y": 1229.75,\r
1950         "z": "12d97b5.248ff85",\r
1951         "wires": [\r
1952             [\r
1953                 "3f789e8e.088bd2"\r
1954             ]\r
1955         ]\r
1956     },\r
1957     {\r
1958         "id": "a8b7220d.93d588",\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": 1392.75,\r
1965         "y": 1276.75,\r
1966         "z": "12d97b5.248ff85",\r
1967         "wires": [\r
1968             [\r
1969                 "3f789e8e.088bd2"\r
1970             ]\r
1971         ]\r
1972     },\r
1973     {\r
1974         "id": "3bb8f50c.9c58ca",\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": 1938,\r
1980         "y": 1294.25,\r
1981         "z": "12d97b5.248ff85",\r
1982         "wires": []\r
1983     },\r
1984     {\r
1985         "id": "ce9a967c.b09018",\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": 1883,\r
1991         "y": 1658,\r
1992         "z": "12d97b5.248ff85",\r
1993         "wires": []\r
1994     },\r
1995     {\r
1996         "id": "fa7682f.bf183",\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": 1984,\r
2002         "y": 1989.75,\r
2003         "z": "12d97b5.248ff85",\r
2004         "wires": []\r
2005     },\r
2006     {\r
2007         "id": "82c447b3.e8f528",\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": 2034,\r
2013         "y": 2288.5,\r
2014         "z": "12d97b5.248ff85",\r
2015         "wires": []\r
2016     },\r
2017     {\r
2018         "id": "6816d709.9fbb6",\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": 2060,\r
2024         "y": 2616,\r
2025         "z": "12d97b5.248ff85",\r
2026         "wires": []\r
2027     }\r
2028 ]