3 "id": "a4730fa5.b2b538",
17 "id": "963c0a3f.e2aab8",
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}'>",
26 "y": 139.888916015625,
27 "z": "2d51e841.8826c",
35 "id": "f069c04b.7272a8",
37 "name": "method update-open-ended-links",
38 "xml": "<method rpc='update-open-ended-links' mode='sync'>\n",
42 "y": 216.22222900390625,
43 "z": "2d51e841.8826c",
51 "id": "600f4f1f.93dc48",
53 "name": "set src-ltpId dst-ltpId",
54 "xml": "<set>\n<parameter name='src-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.src-access-ltp-id`\" />\n<parameter name='dst-ltpId' value=\"`'nodeId-' + $oof.vpn.access-node-id + '-ltpId-' + $oof.vpn.dst-access-ltp-id`\" />",
56 "x": 2588.5001220703125,
57 "y": 2407.545135498047,
58 "z": "2d51e841.8826c",
62 "id": "b48d925b.b73e18",
64 "name": "save srcLTP relationship in AAI",
65 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n 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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",
68 "x": 2622.0001220703125,
69 "y": 2447.545135498047,
70 "z": "2d51e841.8826c",
76 "id": "e4fffbf8.efdc1",
78 "name": "save dstLTP relationship in AAI",
79 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n key='vpn-binding.vpn-id = $tmp.vpnName' \n 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/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",
82 "x": 2622.0001220703125,
83 "y": 2487.545135498047,
84 "z": "2d51e841.8826c",
90 "id": "5fe0240b.9f5e84",
92 "name": "block : atomic",
93 "xml": "<block atomic=\"true\">\n",
99 "z": "2d51e841.8826c",
107 "id": "2e1c8992.8f12ae",
109 "name": "block : atomic",
110 "xml": "<block atomic=\"true\">\n",
116 "z": "2d51e841.8826c",
126 "id": "ad07d50.754baa8",
127 "type": "get-resource",
128 "name": "get-resource logical-links",
129 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"logical-links\" \n pfx='tmp.aai.logical-links' local-only='false' >\n\n\n",
134 "z": "2d51e841.8826c",
144 "id": "24989c8d.a37c5c",
146 "name": "for llidx..logical-links",
147 "xml": "<for index='llidx' start='0' end='`$tmp.aai.logical-links.logical-link_length`' >",
152 "z": "2d51e841.8826c",
160 "id": "b44d8d9a.662e8",
163 "xml": "<outcome value='success'>\n",
168 "z": "2d51e841.8826c",
176 "id": "54bde795.2840f",
179 "xml": "<outcome value='not-found'>\n",
182 "x": 650.490966796875,
183 "y": 378.57403564453125,
184 "z": "2d51e841.8826c",
192 "id": "7cb9aff6.3d28f",
195 "xml": "<outcome value='Other'>\n",
198 "x": 645.823974609375,
199 "y": 419.9073486328125,
200 "z": "2d51e841.8826c",
208 "id": "761d79e2.4ce53",
209 "type": "returnFailure",
210 "name": "return failure",
211 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
213 "x": 827.0623779296875,
214 "y": 366.8597717285156,
215 "z": "2d51e841.8826c",
219 "id": "5c958fe.694997",
220 "type": "returnFailure",
221 "name": "return failure",
222 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
224 "x": 833.5965309143066,
225 "y": 415.3465414047241,
226 "z": "2d51e841.8826c",
230 "id": "9f715b7e.78a038",
232 "name": "set src-tpId and dst-tpId",
233 "xml": "<set>\n<parameter name='src-tpId' value='`$tmp.aai.logical-links.logical-link[$llidx].relationship-list.relationship[0].relationship-data[0].relationship-value`' />\n<parameter name='dst-tpId' value='`$tmp.aai.logical-links.logical-link[$llidx].relationship-list.relationship[1].relationship-data[0].relationship-value`' />\n<parameter name='ll-to-be-updated.' value='`$tmp.aai.logical-links.logical-link[$llidx].`' />\n",
237 "z": "2d51e841.8826c",
241 "id": "c6421633.502c1",
242 "type": "switchNode",
243 "name": "switch dst-tpId",
244 "xml": "<switch test='$dst-tpId'>\n",
249 "z": "2d51e841.8826c",
257 "id": "b47ff6eb.a4d9f",
260 "xml": "<outcome value=''>\n",
265 "z": "2d51e841.8826c",
273 "id": "16724920.b5473f",
274 "type": "get-resource",
275 "name": "get-resource src-tp",
276 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interface\" \n\t\tkey=\"p-interface.interface-name = $src-ltpId \n\t\tAND depth = '0'\"\n pfx='tmp.aai.src-tp' local-only='false' >\n\n\n",
281 "z": "2d51e841.8826c",
291 "id": "ddb47bdc.dd3e1",
294 "xml": "<outcome value='success'>\n",
299 "z": "2d51e841.8826c",
307 "id": "75823244.f30b6c",
310 "xml": "<outcome value='not-found'>\n",
313 "x": 1840.490966796875,
314 "y": 322.57403564453125,
315 "z": "2d51e841.8826c",
323 "id": "a5faba9c.6ae828",
326 "xml": "<outcome value='Other'>\n",
329 "x": 1835.823974609375,
330 "y": 363.9073486328125,
331 "z": "2d51e841.8826c",
339 "id": "5bc2c58e.453e6c",
340 "type": "returnFailure",
341 "name": "return failure",
342 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
344 "x": 2017.0623779296875,
345 "y": 310.8597717285156,
346 "z": "2d51e841.8826c",
350 "id": "24a60b72.e80d8c",
351 "type": "returnFailure",
352 "name": "return failure",
353 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
355 "x": 2023.5965309143066,
356 "y": 359.3465414047241,
357 "z": "2d51e841.8826c",
361 "id": "7fbf5312.2bd97c",
363 "name": "set src-plug-id",
364 "xml": "<set>\n<parameter name='src-plug-id' value='`$tmp.aai.src-tp.inter-domain-plug-id`' />\n",
368 "z": "2d51e841.8826c",
372 "id": "a2711f41.99aed",
373 "type": "get-resource",
374 "name": "get-resource all p-interfaces",
375 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"p-interfaces\" \n pfx='tmp.aai.p-interfaces' local-only='false' >\n\n\n",
380 "z": "2d51e841.8826c",
389 "id": "a9ec6ed8.02a288",
392 "xml": "<outcome value='success'>\n",
397 "z": "2d51e841.8826c",
405 "id": "e66f15d8.7cc2a8",
408 "xml": "<outcome value='not-found'>\n",
411 "x": 1470.490966796875,
412 "y": 509.57403564453125,
413 "z": "2d51e841.8826c",
421 "id": "7daaa9de.7015e",
424 "xml": "<outcome value='Other'>\n",
427 "x": 1465.823974609375,
428 "y": 550.9073486328125,
429 "z": "2d51e841.8826c",
437 "id": "ab0ecfce.ced48",
438 "type": "returnFailure",
439 "name": "return failure",
440 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
442 "x": 1691.0623779296875,
443 "y": 509.8597717285156,
444 "z": "2d51e841.8826c",
448 "id": "5ce824c0.079a3c",
449 "type": "returnFailure",
450 "name": "return failure",
451 "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",
453 "x": 1689.5965576171875,
454 "y": 558.3465270996094,
455 "z": "2d51e841.8826c",
459 "id": "87b285e9.edf858",
461 "name": "for tpidx..p-interfaces",
462 "xml": "<for index='tpidx' start='0' end='`$tmp.aai.p-interfaces.p-interface_length`' >\n",
467 "z": "2d51e841.8826c",
475 "id": "caee7f5b.2e999",
476 "type": "switchNode",
477 "name": "switch p-interface plug-id",
478 "xml": "<switch test='`$tmp.aai.p-interfaces.p-interface[$tpidx].inter-domain-plug-id`'>\n",
483 "z": "2d51e841.8826c",
491 "id": "36abe849.5c4c28",
493 "name": "src-plug-id",
494 "xml": "<outcome value='`$src-plug-id`'>\n",
499 "z": "2d51e841.8826c",
507 "id": "3f76c8e3.c93db",
508 "type": "switchNode",
509 "name": "switch p-interface id != src-tp-id",
510 "xml": "<switch test='`$tmp.aai.p-interfaces.p-interface[$tpidx].interface-name != $src-tp-id `'>\n",
515 "z": "2d51e841.8826c",
523 "id": "5880ad72.3e02cc",
524 "type": "outcomeTrue",
526 "xml": "<outcome value='true'>\n",
531 "z": "2d51e841.8826c",
539 "id": "a4250947.c5b9c8",
541 "name": "update dest TP",
542 "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $ll-to-be-updated.link-name' force=\"true\" pfx=\"tmp.AnAI-data\">\n\n<parameter name=\"relationship-list.relationship[1].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[1].related-link\" value=\"`'/p-interfaces/p-interface/' + $dst-tp-new`\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[1].relationship-data[0].relationship-value\" value=\"`$dst-tp-new`\" />",
547 "z": "2d51e841.8826c",
553 "id": "5ec22f81.96987",
555 "name": "block : atomic",
556 "xml": "<block atomic='true'>",
562 "z": "2d51e841.8826c",
571 "id": "4ca48c5e.f576ec",
573 "name": "set dst-tp-new",
574 "xml": "<set>\n<parameter name='dst-tp-new' value='`$tmp.aai.p-interfaces.p-interface[$tpidx].interface-name`' />\n",
578 "z": "2d51e841.8826c",