3 "id": "f3e0b928.e8c7e",
\r
9 "z": "8966128c.40fc9",
\r
17 "id": "2b8024f5.a0b3e4",
\r
18 "type": "service-logic",
\r
19 "name": "DataChange ${project.version}",
\r
20 "module": "DataChange",
\r
21 "version": "${project.version}",
\r
23 "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
25 "x": 217.00003051757812,
\r
26 "y": 173.88891220092773,
\r
27 "z": "8966128c.40fc9",
\r
35 "id": "e0b4218d.2d604",
\r
37 "name": "method update-tp-ttp-relationship",
\r
38 "xml": "<method rpc='update-tp-ttp-relationship' mode='sync'>\n",
\r
41 "x": 253.1112518310547,
\r
42 "y": 244.22223663330078,
\r
43 "z": "8966128c.40fc9",
\r
51 "id": "36afdba8.70bb5c",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 478.33343505859375,
\r
59 "y": 243.77792358398438,
\r
60 "z": "8966128c.40fc9",
\r
71 "id": "1ed8c21a.583ede",
\r
73 "name": "for each node in network-eth",
\r
74 "xml": "<for index='pethidx' start='0' end='`$network-eth.node_length`' >\n",
\r
77 "x": 710.8888549804688,
\r
78 "y": 198.33331298828125,
\r
79 "z": "8966128c.40fc9",
\r
90 "id": "d25c4b67.5fdd7",
\r
92 "name": "set node-eth",
\r
93 "xml": "<set>\n<parameter name='node-eth.' value='`$network-eth.node[$pethidx].`' />",
\r
95 "x": 973.111083984375,
\r
96 "y": 42.22221374511719,
\r
97 "z": "8966128c.40fc9",
\r
101 "id": "68049.3760dfb7c",
\r
103 "name": "set termination point tp-eth",
\r
104 "xml": "<set>\n<parameter name='tp-eth.' value='`$node-eth.termination-point[$tidx].`' />\n",
\r
106 "x": 1215.111328125,
\r
107 "y": 232.00006103515625,
\r
108 "z": "8966128c.40fc9",
\r
112 "id": "78ae2560.1cea4c",
\r
114 "name": "set unique-ltpethId",
\r
115 "xml": "<set>\n<parameter name='unique-ltpethId' value=\"`$unique-node-ethId + '-ltpId-' + $tp-eth.te-tp-id`\" />\n",
\r
117 "x": 1193.000244140625,
\r
118 "y": 269.111083984375,
\r
119 "z": "8966128c.40fc9",
\r
123 "id": "63bd9611.390fd8",
\r
125 "name": "execute set tmp.network-eth.network-id",
\r
126 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network-eth.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.original-network-eth.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
\r
129 "x": 668.9935302734375,
\r
130 "y": 62.993499755859375,
\r
131 "z": "8966128c.40fc9",
\r
137 "id": "7e336092.2a08",
\r
139 "name": "set local variables",
\r
140 "xml": "<set>\n<parameter name='unique-network-ethId' value='`$tmp.network-eth.network-id`' />\n",
\r
144 "z": "8966128c.40fc9",
\r
148 "id": "232a5f0a.159568",
\r
150 "name": "execute set tmp.network-otn.network-id",
\r
151 "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='replace' >\n <parameter name=\"source\" value=\"`$network-otn.network-id`\"/>\n <parameter name=\"outputPath\" value=\"tmp.original-network-otn.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
\r
156 "z": "8966128c.40fc9",
\r
162 "id": "5ced7489.3fd33c",
\r
164 "name": "for each tunnel termination point in otn",
\r
165 "xml": "<for index='ttidx' start='0' end='`$node-otn.te.tunnel-termination-point_length`' >\n",
\r
170 "z": "8966128c.40fc9",
\r
182 "id": "c149dbcd.dbc5b",
\r
184 "name": "set tunnel termination point",
\r
185 "xml": "<set>\n<parameter name='ttp.' value='`$node-otn.te.tunnel-termination-point[$ttidx].`' />\n",
\r
189 "z": "8966128c.40fc9",
\r
193 "id": "a007e2e5.f8d76",
\r
195 "name": "set unique-ttpId",
\r
196 "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-node-otnId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
\r
198 "x": 1906.888916015625,
\r
199 "y": 405.111083984375,
\r
200 "z": "8966128c.40fc9",
\r
204 "id": "b56a229e.94c8d8",
\r
206 "name": "set tp-inter-layer-lock-id",
\r
207 "xml": "<set>\n<parameter name='tp-inter-layer-lock-id' value='`$node-eth.termination-point[$tidx].te.inter-layer-lock-id[0]`' />\n",
\r
211 "z": "8966128c.40fc9",
\r
215 "id": "91b08f38.b7b1f",
\r
217 "name": "for each node in network-otn",
\r
218 "xml": "<for index='potnidx' start='0' end='`$network-otn.node_length`' >\n",
\r
223 "z": "8966128c.40fc9",
\r
235 "id": "2a04c22a.d38706",
\r
237 "name": "set node-otn",
\r
238 "xml": "<set>\n<parameter name='node-otn.' value='`$network-otn.node[$potnidx].`' />",
\r
242 "z": "8966128c.40fc9",
\r
246 "id": "747557f8.e08f6",
\r
248 "name": "set local variables",
\r
249 "xml": "<set>\n<parameter name='unique-network-otnId' value='`$tmp.network-otn.network-id`' />\n",
\r
251 "x": 1543.888916015625,
\r
252 "y": 375.7777862548828,
\r
253 "z": "8966128c.40fc9",
\r
257 "id": "1e876a82.9683f5",
\r
259 "name": "set ttp-inter-layer-lock-id",
\r
260 "xml": "<set>\n<parameter name='ttp-inter-layer-lock-id' value='`$node-otn.te.tunnel-termination-point[$ttidx].inter-layer-lock-id[0]`' />\n",
\r
264 "z": "8966128c.40fc9",
\r
268 "id": "a5938665.3779c8",
\r
269 "type": "switchNode",
\r
270 "name": "switch tp-inter-layer-lock-id",
\r
271 "xml": "<switch test='`$tp-inter-layer-lock-id`'>\n",
\r
276 "z": "8966128c.40fc9",
\r
284 "id": "48b284bc.31f88c",
\r
286 "name": "ttp-inter-layer-lock-id",
\r
287 "xml": "<outcome value='`$ttp-inter-layer-lock-id`'>\n",
\r
292 "z": "8966128c.40fc9",
\r
300 "id": "d5168225.118b5",
\r
302 "name": "save p-interface relationship to ttp in AAI",
\r
303 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='p-interface:relationship-list' \n key='p-interface.interface-name = $unique-ltpethId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"tunnel-termination-point\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"/network/tunnel-termination-points/tunnel-termination-point/ + `$unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.tunnel-tp-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />\n",
\r
308 "z": "8966128c.40fc9",
\r
314 "id": "679b8e41.9ed698",
\r
316 "name": "unset termination point tp-eth",
\r
317 "xml": "<set>\n<parameter name='tp-eth.' value='' />\n",
\r
320 "y": 194.99349975585938,
\r
321 "z": "8966128c.40fc9",
\r
325 "id": "a06a50c9.82a2f",
\r
327 "name": "unset tunnel termination point",
\r
328 "xml": "<set>\n<parameter name='ttp.' value='' />\n",
\r
331 "y": 287.9934997558594,
\r
332 "z": "8966128c.40fc9",
\r
336 "id": "d912c615.382f4",
\r
337 "type": "switchNode",
\r
338 "name": "switch node-eth tp",
\r
339 "xml": "<switch test='`$node-eth.termination-point_length`'>\n",
\r
344 "z": "8966128c.40fc9",
\r
354 "id": "a5220607.a1fd88",
\r
357 "xml": "<outcome value=''>\n",
\r
362 "z": "8966128c.40fc9",
\r
370 "id": "f8847f3a.3586c",
\r
373 "xml": "<block>\n",
\r
379 "z": "8966128c.40fc9",
\r
385 "id": "60e52ea8.adce88",
\r
387 "name": "length 0",
\r
388 "xml": "<outcome value='0'>\n",
\r
393 "z": "8966128c.40fc9",
\r
401 "id": "ed33421.4d77fc",
\r
404 "xml": "<outcome value='Other'>\n",
\r
409 "z": "8966128c.40fc9",
\r
417 "id": "4137593c.5397c",
\r
419 "name": "for each termination point",
\r
420 "xml": "<for index='tidx' start='0' end='`$node-eth.termination-point_length`' >\n",
\r
423 "x": 963.4444580078125,
\r
424 "y": 401.111083984375,
\r
425 "z": "8966128c.40fc9",
\r
437 "id": "23d7e732.31c878",
\r
439 "name": "unset node-otn",
\r
440 "xml": "<set>\n<parameter name='node-otn.' value='' />\n<parameter name='unique-network-otnId' value='' />\n<parameter name='unique-node-otnId' value=\"\" />\n",
\r
444 "z": "8966128c.40fc9",
\r
448 "id": "7fec5669.9d797",
\r
449 "type": "switchNode",
\r
450 "name": "switch node-otn ttp",
\r
451 "xml": "<switch test='`$node-otn.te.tunnel-termination-point_length`'>\n",
\r
456 "z": "8966128c.40fc9",
\r
466 "id": "c2495d37.4f1a88",
\r
469 "xml": "<outcome value=''>\n",
\r
474 "z": "8966128c.40fc9",
\r
482 "id": "4a7d6e3.4a2c99",
\r
484 "name": "length 0",
\r
485 "xml": "<outcome value='0'>\n",
\r
490 "z": "8966128c.40fc9",
\r
498 "id": "e5a8fd10.f52c58",
\r
501 "xml": "<outcome value='Other'>\n",
\r
506 "z": "8966128c.40fc9",
\r
514 "id": "50aa44cc.08445c",
\r
517 "xml": "<block>\n",
\r
523 "z": "8966128c.40fc9",
\r
529 "id": "e1c780a1.bce018",
\r
531 "name": "set local variables",
\r
532 "xml": "<set>\n<parameter name='unique-node-ethId' value=\"`'networkId-' + $unique-network-ethId + '-nodeId-' + $node-eth.node-id`\" />\n",
\r
536 "z": "8966128c.40fc9",
\r
540 "id": "e63ab049.15d1f",
\r
542 "name": "set local variables",
\r
543 "xml": "<set>\n<parameter name='tmp.network-eth.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-eth.network-id`\" />\n<parameter name='tmp.network-otn.network-id' value=\"`$prop.sdncRestApi.thirdpartySdnc.id + '-' + $tmp.original-network-otn.network-id`\" />\n\n",
\r
547 "z": "8966128c.40fc9",
\r
551 "id": "5525a122.db022",
\r
553 "name": "set local variables",
\r
554 "xml": "<set>\n<parameter name='unique-node-otnId' value=\"`'networkId-' + $unique-network-otnId + '-nodeId-' + $node-otn.node-id`\" />\n",
\r
558 "z": "8966128c.40fc9",
\r