3 "id": "c069a9f3.34d638",
17 "id": "2f4d91cf.36cc46",
18 "type": "service-logic",
19 "name": "DataChange ${project.version}",
20 "module": "DataChange",
21 "version": "${project.version}",
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}'>",
25 "x": 257.0000305175781,
26 "y": 165.88891220092773,
27 "z": "d37ca473.74b47",
35 "id": "550913a5.d552a4",
37 "name": "method update-tp-ttp-relationship",
38 "xml": "<method rpc='update-tp-ttp-relationship' mode='sync'>\n",
41 "x": 293.1112518310547,
42 "y": 236.22223663330078,
43 "z": "d37ca473.74b47",
51 "id": "1261384d.98d348",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 518.3334350585938,
59 "y": 235.77792358398438,
60 "z": "d37ca473.74b47",
70 "id": "d6f41ba6.e863f8",
72 "name": "for each node in network-eth",
73 "xml": "<for index='pethidx' start='0' end='`$network-eth.node_length`' >\n",
76 "x": 750.8888549804688,
77 "y": 190.33331298828125,
78 "z": "d37ca473.74b47",
88 "id": "9889f298.ed1fc8",
90 "name": "set node-eth",
91 "xml": "<set>\n<parameter name='node-eth.' value='`$network-eth.node[$pethidx].`' />",
93 "x": 1034.111083984375,
94 "y": 97.22221374511719,
95 "z": "d37ca473.74b47",
99 "id": "5c75717d.de39a",
101 "name": "for each termination point",
102 "xml": "<for index='tidx' start='0' end='`$node-eth.termination-point_length`' >\n",
105 "x": 983.4444580078125,
106 "y": 353.111083984375,
107 "z": "d37ca473.74b47",
118 "id": "c60cccd6.642dd",
120 "name": "set termination point tp-eth",
121 "xml": "<set>\n<parameter name='tp-eth.' value='`$node-eth.termination-point[$tidx].`' />\n",
124 "y": 224.00006103515625,
125 "z": "d37ca473.74b47",
129 "id": "4b686a78.0dbfdc",
131 "name": "set unique-ltpethId",
132 "xml": "<set>\n<parameter name='unique-ltpethId' value=\"`$unique-node-ethId + '-ltpId-' + $tp-eth.te-tp-id`\" />\n",
134 "x": 1233.000244140625,
135 "y": 261.111083984375,
136 "z": "d37ca473.74b47",
140 "id": "f631c21f.80e608",
142 "name": "execute set tmp.network-eth.network-id",
143 "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.network-eth.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
146 "x": 708.9935302734375,
147 "y": 54.993499755859375,
148 "z": "d37ca473.74b47",
154 "id": "f952b49d.52fa6",
156 "name": "set local variables",
157 "xml": "<set>\n<parameter name='unique-network-ethId' value='`$tmp.network-eth.network-id`' />\n<parameter name='unique-node-ethId' value=\"`'networkId-' + $unique-network-ethId + '-nodeId-' + $node-eth.node-id`\" />\n",
161 "z": "d37ca473.74b47",
165 "id": "9c740eae.9ff66",
167 "name": "execute set tmp.network-otn.network-id",
168 "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.network-otn.network-id\"/>\n <parameter name=\"target\" value=\"/\"/>\n <parameter name=\"replacement\" value=\"-\"/>\n ",
173 "z": "d37ca473.74b47",
179 "id": "75e07276.34af4c",
181 "name": "for each tunnel termination point in otn",
182 "xml": "<for index='ttidx' start='0' end='`$node.te.tunnel-termination-point_length`' >\n",
187 "z": "d37ca473.74b47",
198 "id": "74200ec3.9b2e88",
200 "name": "set tunnel termination point",
201 "xml": "<set>\n<parameter name='ttp.' value='`$node-otn.te.tunnel-termination-point[$ttidx].`' />\n",
205 "z": "d37ca473.74b47",
209 "id": "b86a8b99.9fa22",
211 "name": "set unique-ttpId",
212 "xml": "<set>\n<parameter name='unique-ttpId' value=\"`$unique-node-otnId + '-ttpId-' + $ttp.tunnel-tp-id`\" />\n",
214 "x": 1962.888916015625,
215 "y": 400.111083984375,
216 "z": "d37ca473.74b47",
220 "id": "634edb60.ca9b44",
222 "name": "set tp-inter-layer-lock-id",
223 "xml": "<set>\n<parameter name='tp-inter-layer-lock-id' value='`$node-eth.termination-point[$tidx].te.inter-layer-lock-id[0]`' />\n",
227 "z": "d37ca473.74b47",
231 "id": "d61d1f77.90dba",
233 "name": "for each node in network-otn",
234 "xml": "<for index='potnidx' start='0' end='`$network-otn.node_length`' >\n",
239 "z": "d37ca473.74b47",
249 "id": "81ad0d1b.593018",
251 "name": "set node-otn",
252 "xml": "<set>\n<parameter name='node-otn.' value='`$network-otn.node[$potnidx].`' />",
256 "z": "d37ca473.74b47",
260 "id": "65d2d272.734f34",
262 "name": "set local variables",
263 "xml": "<set>\n<parameter name='unique-network-otnId' value='`$tmp.network-otn.network-id`' />\n<parameter name='unique-node-otnId' value=\"`'networkId-' + $unique-network-otnId + '-nodeId-' + $node-otn.node-id`\" />\n",
265 "x": 1583.888916015625,
266 "y": 367.7777862548828,
267 "z": "d37ca473.74b47",
271 "id": "f5f85bac.6cdcb",
273 "name": "set ttp-inter-layer-lock-id",
274 "xml": "<set>\n<parameter name='ttp-inter-layer-lock-id' value='`$node-otn.te.tunnel-termination-point[$ttidx].inter-layer-lock-id`' />\n",
278 "z": "d37ca473.74b47",
282 "id": "45e7bcc7.d12924",
283 "type": "switchNode",
284 "name": "switch tp-inter-layer-lock-id",
285 "xml": "<switch test='tp-inter-layer-lock-id'>\n",
290 "z": "d37ca473.74b47",
298 "id": "7b1ad64c.6662d",
300 "name": "ttp-inter-layer-lock-id",
301 "xml": "<outcome value='ttp-inter-layer-lock-id'>\n",
306 "z": "d37ca473.74b47",
314 "id": "d7c8dbff.d22ff",
316 "name": "save p-interface relationship to ttp in AAI",
317 "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[1].related-to\" value=\"tunnel-termination-point\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"/network/tunnel-termination-points/tunnel-termination-point/ + `$unique-ttpId`\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"tunnel-termination-point.tunnel-tp-id\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$unique-ttpId`\" />\n",
322 "z": "d37ca473.74b47",