3 "id": "cba977f9.85534",
\r
8 "y": 125.77778625488281,
\r
9 "z": "b3282176.32be28",
\r
17 "id": "dde6a42.304b158",
\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": 226.00003051757812,
\r
26 "y": 216.66669845581055,
\r
27 "z": "b3282176.32be28",
\r
35 "id": "459043f1.b44bbc",
\r
37 "name": "method update-tp-ttp-relationship",
\r
38 "xml": "<method rpc='update-tp-ttp-relationship' mode='sync'>\n",
\r
41 "x": 262.1112518310547,
\r
42 "y": 287.0000228881836,
\r
43 "z": "b3282176.32be28",
\r
51 "id": "186c55de.c4aa02",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 487.33343505859375,
\r
59 "y": 286.5557098388672,
\r
60 "z": "b3282176.32be28",
\r
71 "id": "c754730e.915558",
\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": 719.8888549804688,
\r
78 "y": 241.11109924316406,
\r
79 "z": "b3282176.32be28",
\r
90 "id": "3d9e22e8.4c63be",
\r
92 "name": "set node-eth",
\r
93 "xml": "<set>\n<parameter name='node-eth.' value='`$network-eth.node[$pethidx].`' />",
\r
95 "x": 982.111083984375,
\r
97 "z": "b3282176.32be28",
\r
101 "id": "f02496e2.4d8238",
\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": 1224.111328125,
\r
107 "y": 274.77784729003906,
\r
108 "z": "b3282176.32be28",
\r
112 "id": "3b37c604.4d197a",
\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": 1202.000244140625,
\r
118 "y": 311.8888702392578,
\r
119 "z": "b3282176.32be28",
\r
123 "id": "bae21f69.72b29",
\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": 677.9935302734375,
\r
130 "y": 105.77128601074219,
\r
131 "z": "b3282176.32be28",
\r
137 "id": "8255778d.4bbb18",
\r
139 "name": "set local variables",
\r
140 "xml": "<set>\n<parameter name='unique-network-ethId' value='`$tmp.network-eth.network-id`' />\n",
\r
143 "y": 139.7777862548828,
\r
144 "z": "b3282176.32be28",
\r
148 "id": "1242acf2.9455a3",
\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
155 "y": 144.7777862548828,
\r
156 "z": "b3282176.32be28",
\r
162 "id": "a7f3a830.3d5f7",
\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
169 "y": 671.7777862548828,
\r
170 "z": "b3282176.32be28",
\r
182 "id": "10ff0cec.24339b",
\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
188 "y": 383.7777862548828,
\r
189 "z": "b3282176.32be28",
\r
193 "id": "9056ce37.3f1b1",
\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": 1915.888916015625,
\r
199 "y": 447.8888702392578,
\r
200 "z": "b3282176.32be28",
\r
204 "id": "588044e.57930bc",
\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
210 "y": 351.7777862548828,
\r
211 "z": "b3282176.32be28",
\r
215 "id": "5be60218.18e4f4",
\r
217 "name": "for each node in network-otn",
\r
218 "xml": "<for index='potnidx' start='0' end='`$network-otn.node_length`' >\n",
\r
222 "y": 400.7777862548828,
\r
223 "z": "b3282176.32be28",
\r
235 "id": "bcce7947.89d4e",
\r
237 "name": "set node-otn",
\r
238 "xml": "<set>\n<parameter name='node-otn.' value='`$network-otn.node[$potnidx].`' />",
\r
241 "y": 370.7777862548828,
\r
242 "z": "b3282176.32be28",
\r
246 "id": "6a38d3e2.fd7954",
\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": 1552.888916015625,
\r
252 "y": 418.5555725097656,
\r
253 "z": "b3282176.32be28",
\r
257 "id": "52a7d8e5.f166d",
\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
263 "y": 501.7777862548828,
\r
264 "z": "b3282176.32be28",
\r
268 "id": "dbe73ecc.1015c8",
\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
275 "y": 557.7777862548828,
\r
276 "z": "b3282176.32be28",
\r
284 "id": "dd2d2104.bc9a18",
\r
286 "name": "ttp-inter-layer-lock-id",
\r
287 "xml": "<outcome value='`$ttp-inter-layer-lock-id`'>\n",
\r
291 "y": 653.7777862548828,
\r
292 "z": "b3282176.32be28",
\r
300 "id": "48fc2c75.77d024",
\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
307 "y": 653.7777862548828,
\r
308 "z": "b3282176.32be28",
\r
314 "id": "f7880100.7c4d78",
\r
316 "name": "unset termination point tp-eth",
\r
317 "xml": "<set>\n<parameter name='tp-eth.' value='' />\n",
\r
320 "y": 237.7712860107422,
\r
321 "z": "b3282176.32be28",
\r
325 "id": "734513b1.8f6e74",
\r
327 "name": "unset tunnel termination point",
\r
328 "xml": "<set>\n<parameter name='ttp.' value='' />\n",
\r
331 "y": 330.7712860107422,
\r
332 "z": "b3282176.32be28",
\r
336 "id": "fc2531d8.c81378",
\r
337 "type": "switchNode",
\r
338 "name": "switch node-eth tp",
\r
339 "xml": "<switch test='`$node-eth.termination-point_length`'>\n",
\r
343 "y": 419.7777862548828,
\r
344 "z": "b3282176.32be28",
\r
354 "id": "601d7951.71e8b",
\r
357 "xml": "<outcome value=''>\n",
\r
361 "y": 371.7777862548828,
\r
362 "z": "b3282176.32be28",
\r
370 "id": "7824b45e.78053c",
\r
373 "xml": "<block>\n",
\r
378 "y": 371.7777862548828,
\r
379 "z": "b3282176.32be28",
\r
385 "id": "7f887585.d4b524",
\r
387 "name": "length 0",
\r
388 "xml": "<outcome value='0'>\n",
\r
392 "y": 419.7777862548828,
\r
393 "z": "b3282176.32be28",
\r
401 "id": "d861b589.14035",
\r
404 "xml": "<outcome value='Other'>\n",
\r
408 "y": 473.7777862548828,
\r
409 "z": "b3282176.32be28",
\r
417 "id": "a6890129.4d77c",
\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": 972.4444580078125,
\r
424 "y": 443.8888702392578,
\r
425 "z": "b3282176.32be28",
\r
437 "id": "85e0a40f.e7ed",
\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
443 "y": 319.7777862548828,
\r
444 "z": "b3282176.32be28",
\r
448 "id": "4764cff0.412538",
\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
455 "y": 650.7777862548828,
\r
456 "z": "b3282176.32be28",
\r
466 "id": "abfc6cbb.6eaee8",
\r
469 "xml": "<outcome value=''>\n",
\r
473 "y": 536.7777862548828,
\r
474 "z": "b3282176.32be28",
\r
482 "id": "6c6ea4d2.be42cc",
\r
484 "name": "length 0",
\r
485 "xml": "<outcome value='0'>\n",
\r
489 "y": 611.7777862548828,
\r
490 "z": "b3282176.32be28",
\r
498 "id": "1f3ac3bf.46c73c",
\r
501 "xml": "<outcome value='Other'>\n",
\r
505 "y": 673.7777862548828,
\r
506 "z": "b3282176.32be28",
\r
514 "id": "ceb636f.d5bb7c8",
\r
517 "xml": "<block>\n",
\r
522 "y": 602.7777862548828,
\r
523 "z": "b3282176.32be28",
\r
529 "id": "c794ebab.b4d2b8",
\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
535 "y": 195.7777862548828,
\r
536 "z": "b3282176.32be28",
\r
540 "id": "f448c5cf.144de8",
\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
546 "y": 186.7777862548828,
\r
547 "z": "b3282176.32be28",
\r
551 "id": "46555423.5326e4",
\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
557 "y": 467.7777862548828,
\r
558 "z": "b3282176.32be28",
\r