3 "id": "2a44484a.6f4af",
\r
9 "z": "9586b8f9.18f7b",
\r
17 "id": "b261b6d7.5f8108",
\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
26 "y": 452.888916015625,
\r
27 "z": "9586b8f9.18f7b",
\r
35 "id": "ab04b014.5bd13",
\r
37 "name": "method update-network-links-to-aai",
\r
38 "xml": "<method rpc='update-network-links-to-aai' mode='sync'>\n",
\r
42 "y": 529.2222290039062,
\r
43 "z": "9586b8f9.18f7b",
\r
51 "id": "80f3a913.52e318",
\r
53 "name": "block : atomic",
\r
54 "xml": "<block atomic=\"true\">\n",
\r
58 "x": 259.33343505859375,
\r
59 "y": 606.7779235839844,
\r
60 "z": "9586b8f9.18f7b",
\r
68 "id": "cc2ac29e.5b4cb8",
\r
70 "name": "save logical-link with regular id",
\r
71 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n key='logical-link.link-name = $unique-linkId' >\n<parameter name='link-name' value='`$unique-linkId`' />\n<parameter name='link-id' value='`$link.link-id`' />\n<parameter name='link-type' value='`$link.te.te-link-attributes.access-type`' />\n\n\n\n\n\n",
\r
74 "x": 1134.111083984375,
\r
75 "y": 1031.111083984375,
\r
76 "z": "9586b8f9.18f7b",
\r
82 "id": "a23199c4.d516d",
\r
84 "name": "for each link",
\r
85 "xml": "<for index='pidx' start='0' end='`$network.link_length`' >\n",
\r
88 "x": 287.88885498046875,
\r
89 "y": 700.3333129882812,
\r
90 "z": "9586b8f9.18f7b",
\r
102 "id": "40edda8d.1f7304",
\r
104 "name": "set network link's local variables",
\r
105 "xml": "<set>\n<parameter name='link.' value='`$network.link[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\n\n",
\r
107 "x": 620.111083984375,
\r
108 "y": 405.2222137451172,
\r
109 "z": "9586b8f9.18f7b",
\r
113 "id": "3d730288.0a9e8e",
\r
115 "name": "for each label-restriction",
\r
116 "xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restrictions.label-restrictions.label-restriction_length`' >\n",
\r
119 "x": 1660.4444580078125,
\r
120 "y": 1251.111083984375,
\r
121 "z": "9586b8f9.18f7b",
\r
134 "id": "389d6db2.d73662",
\r
136 "name": "set label-restriction's local variables",
\r
137 "xml": "<set>\n<parameter name='unique-lrId' value=\"`$unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
\r
139 "x": 1965.111328125,
\r
140 "y": 1216.0000610351562,
\r
141 "z": "9586b8f9.18f7b",
\r
145 "id": "384d69e2.32009e",
\r
148 "xml": "<outcome value='success'>\n",
\r
151 "x": 2078.4998779296875,
\r
152 "y": 1258.74609375,
\r
153 "z": "9586b8f9.18f7b",
\r
161 "id": "969cafe8.9f0d68",
\r
164 "xml": "<outcome value='failure'>\n",
\r
167 "x": 2086.178466796875,
\r
168 "y": 1317.9604187011719,
\r
169 "z": "9586b8f9.18f7b",
\r
177 "id": "6f478b20.e94c3c",
\r
180 "xml": "<block>\n",
\r
185 "y": 1258.0000305175781,
\r
186 "z": "9586b8f9.18f7b",
\r
192 "id": "c43aca83.435d68",
\r
194 "name": "set src-ltpId dst-ltpId",
\r
195 "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`\" />",
\r
197 "x": 2647.5001220703125,
\r
198 "y": 2720.545135498047,
\r
199 "z": "9586b8f9.18f7b",
\r
203 "id": "c3c98fb1.6530b8",
\r
205 "name": "save srcLTP relationship in AAI",
\r
206 "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",
\r
209 "x": 2681.0001220703125,
\r
210 "y": 2760.545135498047,
\r
211 "z": "9586b8f9.18f7b",
\r
217 "id": "3e4af052.d590d8",
\r
219 "name": "save dstLTP relationship in AAI",
\r
220 "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`\" />",
\r
223 "x": 2681.0001220703125,
\r
224 "y": 2800.545135498047,
\r
225 "z": "9586b8f9.18f7b",
\r
231 "id": "227afca0.40453c",
\r
233 "name": "save label-restriction",
\r
234 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='logical-link.link-name = $unique-linkId\n AND label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start`' />\n<parameter name='label-end' value='`$label-restriction.label-end`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n\n",
\r
238 "y": 1318.0000305175781,
\r
239 "z": "9586b8f9.18f7b",
\r
245 "id": "cb52235a.4de398",
\r
247 "name": "save link relationship to label-restriction in AAI",
\r
248 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
253 "z": "9586b8f9.18f7b",
\r
259 "id": "776b3468.2e107c",
\r
261 "name": "save label-restriction",
\r
262 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label.otn-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label.otn-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n\n",
\r
265 "x": 1919.815185546875,
\r
266 "y": 1290.5556640625,
\r
267 "z": "9586b8f9.18f7b",
\r
276 "id": "cd94c0c7.dca99",
\r
277 "type": "switchNode",
\r
278 "name": "switch te-link-attributes label-restriction_length",
\r
279 "xml": "<switch test='`$link.te.te-link-attributes.label-restrictions.label-restriction_length`'>\n",
\r
284 "z": "9586b8f9.18f7b",
\r
294 "id": "80b56a94.abd878",
\r
295 "type": "switchNode",
\r
296 "name": "switch link.destination",
\r
297 "xml": "<switch test='`$link.destination.dest-node`'>\n",
\r
302 "z": "9586b8f9.18f7b",
\r
311 "id": "96f5218a.ce7508",
\r
314 "xml": "<outcome value=''>\n",
\r
319 "z": "9586b8f9.18f7b",
\r
327 "id": "bcdde385.d6a18",
\r
330 "xml": "<outcome value='Other'>\n",
\r
335 "z": "9586b8f9.18f7b",
\r
343 "id": "c79f771b.d3d4f",
\r
345 "name": "set network link's destination variables",
\r
346 "xml": "<set>\n<parameter name='dst-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.destination.dest-node + '-ltpId-' + $link.destination.dest-tp`\" />\n<parameter name='unique-dst-node-Id' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.destination.dest-node`\" />\n<parameter name='is-open-ended-link' value='false' />\n\n",
\r
350 "z": "9586b8f9.18f7b",
\r
354 "id": "4a74efae.a400d",
\r
356 "name": "set is-open-ended-link",
\r
357 "xml": "<set>\n<parameter name='is-open-ended-link' value='true' />\n\n",
\r
361 "z": "9586b8f9.18f7b",
\r
365 "id": "fd4572f8.4a1fc8",
\r
367 "name": "get p-interface from aai",
\r
368 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t key=\"pnf.pnf-name = $unique-src-node-Id\n\t and p-interface.interface-name = $src-tpId\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.p-interface\" >",
\r
373 "z": "9586b8f9.18f7b",
\r
383 "id": "d91d5461.237b08",
\r
386 "xml": "<outcome value='success'>\n",
\r
391 "z": "9586b8f9.18f7b",
\r
399 "id": "554f3cd2.29aafc",
\r
402 "xml": "<outcome value='failure'>\n",
\r
407 "z": "9586b8f9.18f7b",
\r
415 "id": "cc6294bd.db47a",
\r
417 "name": "set alternative unique link id",
\r
418 "xml": "<set>\n<parameter name='alt-unique-linkId' value=\"`$tmp.aai.p-interface.inter-domain-plug-id`\" />\n<!--<parameter name='alt-unique-linkId' value=\"`'networkId-' + $unique-networkId + '-linkId-' + $tmp.aai.p-interface.inter-domain-plug-id`\" />-->\n\n",
\r
422 "z": "9586b8f9.18f7b",
\r
426 "id": "da5c053.247edf8",
\r
427 "type": "returnFailure",
\r
428 "name": "return failure",
\r
429 "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",
\r
433 "z": "9586b8f9.18f7b",
\r
437 "id": "db2a7a96.c095e8",
\r
439 "name": "get logical-link from aai",
\r
440 "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\t key=\"logical-link.link-name = $alt-unique-linkId\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.logical-link\" >",
\r
445 "z": "9586b8f9.18f7b",
\r
454 "id": "26188ec7.d70682",
\r
455 "type": "not-found",
\r
456 "name": "not-found",
\r
457 "xml": "<outcome value='not-found'>\n",
\r
460 "x": 1459.490966796875,
\r
461 "y": 493.57403564453125,
\r
462 "z": "9586b8f9.18f7b",
\r
470 "id": "2d6aa2de.7cc37e",
\r
471 "type": "returnFailure",
\r
472 "name": "return failure",
\r
473 "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",
\r
475 "x": 1613.0623779296875,
\r
476 "y": 496.8597717285156,
\r
477 "z": "9586b8f9.18f7b",
\r
481 "id": "e1b7cfff.245f78",
\r
482 "type": "switchNode",
\r
483 "name": "switch is-open-ended-link",
\r
484 "xml": "<switch test='`$is-open-ended-link`'>\n",
\r
489 "z": "9586b8f9.18f7b",
\r
498 "id": "23bae704.e702f8",
\r
499 "type": "outcomeFalse",
\r
501 "xml": "<outcome value='false'>\n",
\r
506 "z": "9586b8f9.18f7b",
\r
514 "id": "41118ce4.589e94",
\r
515 "type": "outcomeTrue",
\r
517 "xml": "<outcome value='true'>\n",
\r
522 "z": "9586b8f9.18f7b",
\r
530 "id": "9cc79665.b0c1d8",
\r
533 "xml": "<outcome value='success'>\n",
\r
538 "z": "9586b8f9.18f7b",
\r
546 "id": "ccb57d13.8728a",
\r
547 "type": "not-found",
\r
548 "name": "not-found",
\r
549 "xml": "<outcome value='not-found'>\n",
\r
552 "x": 1184.490966796875,
\r
553 "y": 842.5740356445312,
\r
554 "z": "9586b8f9.18f7b",
\r
562 "id": "2fc9a33.5368fdc",
\r
564 "name": "save logical-link with alternative link id",
\r
565 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link' \n key='logical-link.link-name = $alt-unique-linkId' >\n<parameter name='link-name' value='`$alt-unique-linkId`' />\n<parameter name='link-id' value='`$link.link-id`' />\n<parameter name='link-type' value='`$link.te.te-link-attributes.access-type`' />\n<parameter name='link-role' value='cross-domain' />\n\n\n\n\n",
\r
570 "z": "9586b8f9.18f7b",
\r
576 "id": "b47ecf24.d0d53",
\r
578 "name": "block : atomic",
\r
579 "xml": "<block atomic='true'>",
\r
585 "z": "9586b8f9.18f7b",
\r
596 "id": "1a18f983.2948b6",
\r
598 "name": "update dest TP by putting src TP of the current link",
\r
599 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' 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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />-->\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-tpId`\" />-->\n\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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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-tpId`\" />",
\r
604 "z": "9586b8f9.18f7b",
\r
613 "id": "74e95a4e.aaf1fc",
\r
615 "name": "save source and dest TP",
\r
616 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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-tpId`\" />\n\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/' + $unique-dst-node-Id + '/p-interfaces/p-interface/' + $dst-tpId`\" />\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-tpId`\" />",
\r
621 "z": "9586b8f9.18f7b",
\r
627 "id": "9cac56eb.170248",
\r
630 "xml": "<block>\n",
\r
636 "z": "9586b8f9.18f7b",
\r
646 "id": "3f879bbb.1b856c",
\r
648 "name": "block : atomic",
\r
649 "xml": "<block atomic='true'>",
\r
655 "z": "9586b8f9.18f7b",
\r
666 "id": "2a78ca83.6ff14e",
\r
668 "name": "save source only",
\r
669 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' 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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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-tpId`\" />\n",
\r
674 "z": "9586b8f9.18f7b",
\r
680 "id": "cccf5ee2.02af4",
\r
682 "name": "for each label-restriction",
\r
683 "xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restrictions.label-restriction_length`' >\n",
\r
688 "z": "9586b8f9.18f7b",
\r
701 "id": "e6f77baa.2a01a8",
\r
703 "name": "set label-restriction's local variables",
\r
704 "xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restrictions.label-restriction[$tidx].`' />\n",
\r
706 "x": 2402.6669921875,
\r
707 "y": 929.8889770507812,
\r
708 "z": "9586b8f9.18f7b",
\r
712 "id": "aa6afabb.060108",
\r
715 "xml": "<outcome value='success'>\n",
\r
718 "x": 2544.0555419921875,
\r
719 "y": 1008.635009765625,
\r
720 "z": "9586b8f9.18f7b",
\r
728 "id": "a11a19e6.f83db",
\r
731 "xml": "<outcome value='failure'>\n",
\r
734 "x": 2551.734130859375,
\r
735 "y": 1067.8493347167969,
\r
736 "z": "9586b8f9.18f7b",
\r
744 "id": "56ad069a.c01ff",
\r
747 "xml": "<block>\n",
\r
751 "x": 2704.5556640625,
\r
752 "y": 1007.8889465332031,
\r
753 "z": "9586b8f9.18f7b",
\r
759 "id": "a2c16cc9.f432d8",
\r
761 "name": "save label-restriction",
\r
762 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='logical-link.link-name = $alt-unique-linkId\n AND label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start`' />\n<parameter name='label-end' value='`$label-restriction.label-end`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n\n",
\r
765 "x": 2735.5556640625,
\r
766 "y": 1067.8889465332031,
\r
767 "z": "9586b8f9.18f7b",
\r
773 "id": "97715e1e.68cf18",
\r
775 "name": "save link relationship to label-restriction in AAI",
\r
776 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
779 "x": 2411.5556640625,
\r
780 "y": 1200.888916015625,
\r
781 "z": "9586b8f9.18f7b",
\r
787 "id": "9164022b.f6d8e",
\r
789 "name": "save label-restriction",
\r
790 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label.otn-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label.otn-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n",
\r
793 "x": 2353.370849609375,
\r
794 "y": 1040.444580078125,
\r
795 "z": "9586b8f9.18f7b",
\r
804 "id": "df65a3f.afb7d6",
\r
806 "name": "set more local variables",
\r
807 "xml": "<set>\n<parameter name='unique-linkId' value=\"`'networkId-' + $unique-networkId + '-linkId-' + $link.link-id`\" />\n<parameter name='src-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.source.source-node + '-ltpId-' + $link.source.source-tp`\" />\n<parameter name='unique-src-node-Id' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.source.source-node`\" />\n",
\r
811 "z": "9586b8f9.18f7b",
\r
815 "id": "8ffa23a3.fdd688",
\r
818 "xml": "<block>\n",
\r
824 "z": "9586b8f9.18f7b",
\r
830 "id": "642df634.9cfcd",
\r
831 "type": "switchNode",
\r
832 "name": "switch inter-domain-plug-id of the src tp",
\r
833 "xml": "<switch test='`$tmp.aai.p-interface.inter-domain-plug-id`'>\n",
\r
838 "z": "9586b8f9.18f7b",
\r
847 "id": "398a73a4.c141b4",
\r
850 "xml": "<outcome value=''>\n",
\r
855 "z": "9586b8f9.18f7b",
\r
863 "id": "b976aae8.9f6bf",
\r
866 "xml": "<outcome value='Other'>\n",
\r
871 "z": "9586b8f9.18f7b",
\r
879 "id": "1c8478c5.1051c7",
\r
881 "name": "unset is-open-ended-link",
\r
882 "xml": "<set>\n<parameter name='is-open-ended-link' value='false' />\n<parameter name='is-invalid-open-ended-link' value='true' />\n\n",
\r
886 "z": "9586b8f9.18f7b",
\r
890 "id": "d68a82dd.baafa",
\r
892 "name": "delete logical-link",
\r
893 "xml": "<delete plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\" \n\tkey=\"logical-link.link-name = $tmp.link-name\" >\n",
\r
898 "z": "9586b8f9.18f7b",
\r
904 "id": "1a9f47eb.9dd1b8",
\r
906 "name": "unset network link's local variables",
\r
907 "xml": "<set>\n<parameter name='link.' value='' />\n<parameter name='dst-tpId' value='' />\n<parameter name='unique-dst-node-Id' value='' />\n<parameter name='is-open-ended-link' value='false' />\n<parameter name='is-invalid-open-ended-link' value='false' />\n\n",
\r
911 "z": "9586b8f9.18f7b",
\r
915 "id": "95689fab.742d9",
\r
916 "type": "switchNode",
\r
917 "name": "switch is-invalid-open-ended-link",
\r
918 "xml": "<switch test='`$is-invalid-open-ended-link`'>\n",
\r
923 "z": "9586b8f9.18f7b",
\r
932 "id": "5046d09d.03023",
\r
933 "type": "outcomeTrue",
\r
935 "xml": "<outcome value='true'>\n",
\r
940 "z": "9586b8f9.18f7b",
\r
948 "id": "34ef56f.9c47daa",
\r
949 "type": "outcomeFalse",
\r
951 "xml": "<outcome value='false'>\n",
\r
956 "z": "9586b8f9.18f7b",
\r
964 "id": "62591c1c.412984",
\r
966 "name": "save source only",
\r
967 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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-tpId`\" />\n",
\r
972 "z": "9586b8f9.18f7b",
\r
978 "id": "25746d3c.4940aa",
\r
979 "type": "switchNode",
\r
980 "name": "switch relationship-list_length",
\r
981 "xml": "<switch test='`$tmp.aai.logical-link.relationship-list_length`'>\n",
\r
986 "z": "9586b8f9.18f7b",
\r
996 "id": "f940a5cf.482c7",
\r
997 "type": "switchNode",
\r
998 "name": "switch relationship-list_length != $src-tpId",
\r
999 "xml": "<switch test='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value != $src-tpId`'>\n",
\r
1004 "z": "9586b8f9.18f7b",
\r
1012 "id": "746a8004.09cff",
\r
1013 "type": "outcome",
\r
1015 "xml": "<outcome value='0'>\n",
\r
1020 "z": "9586b8f9.18f7b",
\r
1028 "id": "73e19277.cd0d74",
\r
1029 "type": "outcome",
\r
1031 "xml": "<outcome value='1'>\n",
\r
1036 "z": "9586b8f9.18f7b",
\r
1044 "id": "54f3128.186c6ec",
\r
1047 "xml": "<outcome value='Other'>\n",
\r
1052 "z": "9586b8f9.18f7b",
\r
1060 "id": "5ae33948.bc4e98",
\r
1063 "xml": "<block>\n",
\r
1064 "atomic": "false",
\r
1069 "z": "9586b8f9.18f7b",
\r
1077 "id": "72a8794.b4b8e08",
\r
1080 "xml": "<block>\n",
\r
1081 "atomic": "false",
\r
1086 "z": "9586b8f9.18f7b",
\r
1094 "id": "d95166a6.786718",
\r
1095 "type": "switchNode",
\r
1096 "name": "switch is-invalid-open-ended-link",
\r
1097 "xml": "<switch test='`$is-invalid-open-ended-link`'>\n",
\r
1102 "z": "9586b8f9.18f7b",
\r
1105 "931f9360.8959a8",
\r
1111 "id": "c70eb2bc.c116e",
\r
1112 "type": "outcomeTrue",
\r
1114 "xml": "<outcome value='true'>\n",
\r
1119 "z": "9586b8f9.18f7b",
\r
1127 "id": "931f9360.8959a8",
\r
1128 "type": "outcomeFalse",
\r
1130 "xml": "<outcome value='false'>\n",
\r
1135 "z": "9586b8f9.18f7b",
\r
1143 "id": "6d40a852.3c30b8",
\r
1146 "xml": "<block>\n",
\r
1147 "atomic": "false",
\r
1152 "z": "9586b8f9.18f7b",
\r
1158 "id": "8b256a3b.c9fcf8",
\r
1160 "name": "save source and dest TP",
\r
1161 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $unique-linkId' 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/' + $unique-src-node-Id + '/p-interfaces/p-interface/' + $src-tpId`\" />\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-tpId`\" />\n\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/' + $unique-dst-node-Id + '/p-interfaces/p-interface/' + $dst-tpId`\" />\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-tpId`\" />",
\r
1166 "z": "9586b8f9.18f7b",
\r
1172 "id": "f5773dbe.bfd0b",
\r
1173 "type": "outcomeTrue",
\r
1175 "xml": "<outcome value='true'>\n",
\r
1180 "z": "9586b8f9.18f7b",
\r
1186 "id": "4a8ff8f3.1a9e6",
\r
1188 "name": "log file",
\r
1189 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logTopologyDiscovery.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"uniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"dstTpId\" />\n <parameter name=\"field7\" value=\"`$dst-tpId`\" />\n ",
\r
1194 "z": "9586b8f9.18f7b",
\r
1200 "id": "33c2b566.b310c2",
\r
1202 "name": "unset tmp.aai.p-interface",
\r
1203 "xml": "<set>\n<parameter name='tmp.aai.p-interface' value='' />\n<parameter name='tmp.aai.p-interface.inter-domain-plug-id' value='' />\n\n",
\r
1207 "z": "9586b8f9.18f7b",
\r
1211 "id": "4fdf002d.f301b8",
\r
1213 "name": "log file",
\r
1214 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMerge.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
\r
1219 "z": "9586b8f9.18f7b",
\r
1225 "id": "472cc2a1.3bea84",
\r
1228 "xml": "<block>\n",
\r
1229 "atomic": "false",
\r
1234 "z": "9586b8f9.18f7b",
\r
1237 "4fdf002d.f301b8",
\r
1238 "1a18f983.2948b6",
\r
1239 "54aa9c80.30f7ac",
\r
1245 "id": "8f7a6405.a639e",
\r
1246 "type": "success",
\r
1247 "name": "success",
\r
1248 "xml": "<outcome value='success'>\n",
\r
1253 "z": "9586b8f9.18f7b",
\r
1261 "id": "980c7498.2f0248",
\r
1262 "type": "failure",
\r
1263 "name": "failure",
\r
1264 "xml": "<outcome value='failure'>\n",
\r
1267 "x": 2866.6785888671875,
\r
1268 "y": 722.2143249511719,
\r
1269 "z": "9586b8f9.18f7b",
\r
1277 "id": "80d026e.3108fd8",
\r
1280 "xml": "<block>\n",
\r
1281 "atomic": "false",
\r
1286 "z": "9586b8f9.18f7b",
\r
1294 "id": "36bd5bef.3c952c",
\r
1296 "name": "log file",
\r
1297 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMergeSuccess.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
\r
1302 "z": "9586b8f9.18f7b",
\r
1308 "id": "e9dc5e3a.d617b8",
\r
1311 "xml": "<block>\n",
\r
1312 "atomic": "false",
\r
1317 "z": "9586b8f9.18f7b",
\r
1325 "id": "cd475089.f525c8",
\r
1327 "name": "log file",
\r
1328 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logNoRelationship.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"noRelationshipForLink:\" />\n <parameter name=\"field3\" value=\"`$tmp.aai.logical-link.link-name`\" />",
\r
1333 "z": "9586b8f9.18f7b",
\r
1339 "id": "40998ac8.7fdebc",
\r
1341 "name": "log file",
\r
1342 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logNoRelationship.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"moreThanOneRelationshipForLink:\" />\n <parameter name=\"field3\" value=\"`$tmp.aai.logical-link.link-name`\" />\n <parameter name=\"field4\" value=\"HowMany:\" />\n <parameter name=\"field5\" value=\"`$tmp.aai.logical-link.relationship-list_length`\" />",
\r
1347 "z": "9586b8f9.18f7b",
\r
1353 "id": "aad51072.1ab57",
\r
1355 "name": "log file",
\r
1356 "xml": " <record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n <parameter name=\"file\" value=\"/opt/onap/logMergeFailure.txt\" />\n <parameter name=\"field1\" value=\"__TIMESTAMP__\" />\n <parameter name=\"field2\" value=\"altUniqueLinkId\" />\n <parameter name=\"field3\" value=\"`$alt-unique-linkId`\" />\n <parameter name=\"field4\" value=\"srcTpId\" />\n <parameter name=\"field5\" value=\"`$src-tpId`\" />\n <parameter name=\"field6\" value=\"relationship-value\" />\n <parameter name=\"field7\" value='`$tmp.aai.logical-link.relationship-list.relationship[0].relationship-data[1].relationship-value`' />\n ",
\r
1361 "z": "9586b8f9.18f7b",
\r
1367 "id": "90c65e1e.1b46a",
\r
1370 "xml": "<outcome value=''>\n",
\r
1375 "z": "9586b8f9.18f7b",
\r
1383 "id": "bba73be.8f0e648",
\r
1384 "type": "outcome",
\r
1385 "name": "length 0",
\r
1386 "xml": "<outcome value='0'>\n",
\r
1391 "z": "9586b8f9.18f7b",
\r
1399 "id": "89bc22d1.34b6f8",
\r
1402 "xml": "<outcome value='Other'>\n",
\r
1407 "z": "9586b8f9.18f7b",
\r
1415 "id": "5ece6154.9b4de8",
\r
1418 "xml": "<block>\n",
\r
1419 "atomic": "false",
\r
1424 "z": "9586b8f9.18f7b",
\r
1430 "id": "2b39dd9d.727772",
\r
1431 "type": "switchNode",
\r
1432 "name": "switch te-link-attributes label-restriction_length",
\r
1433 "xml": "<switch test='`$link.te.te-link-attributes.label-restrictions.label-restriction_length`'>\n",
\r
1438 "z": "9586b8f9.18f7b",
\r
1441 "63fb4c18.c74d64",
\r
1442 "2a270231.4c1bfe",
\r
1448 "id": "63fb4c18.c74d64",
\r
1451 "xml": "<outcome value=''>\n",
\r
1456 "z": "9586b8f9.18f7b",
\r
1464 "id": "8419c37f.a7c378",
\r
1467 "xml": "<block>\n",
\r
1468 "atomic": "false",
\r
1473 "z": "9586b8f9.18f7b",
\r
1479 "id": "2a270231.4c1bfe",
\r
1480 "type": "outcome",
\r
1481 "name": "length 0",
\r
1482 "xml": "<outcome value='0'>\n",
\r
1487 "z": "9586b8f9.18f7b",
\r
1495 "id": "e61a6187.46dbb",
\r
1498 "xml": "<outcome value='Other'>\n",
\r
1503 "z": "9586b8f9.18f7b",
\r
1511 "id": "d3edd22f.77b2c8",
\r
1513 "name": "unset label-restriction's local variables",
\r
1514 "xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
\r
1518 "z": "9586b8f9.18f7b",
\r
1522 "id": "c048257b.948878",
\r
1524 "name": "unset label-restriction's local variables",
\r
1525 "xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
\r
1529 "z": "9586b8f9.18f7b",
\r
1533 "id": "54aa9c80.30f7ac",
\r
1534 "type": "switchNode",
\r
1535 "name": "switch te-link-attributes label-restriction_length",
\r
1536 "xml": "<switch test='`$link.te.te-link-attributes.label-restrictions.label-restriction_length`'>\n",
\r
1541 "z": "9586b8f9.18f7b",
\r
1544 "553db7a2.c22418",
\r
1545 "1cc0503b.5a6d68",
\r
1551 "id": "553db7a2.c22418",
\r
1554 "xml": "<outcome value=''>\n",
\r
1559 "z": "9586b8f9.18f7b",
\r
1567 "id": "416529b9.98998",
\r
1570 "xml": "<block>\n",
\r
1571 "atomic": "false",
\r
1576 "z": "9586b8f9.18f7b",
\r
1582 "id": "1cc0503b.5a6d68",
\r
1583 "type": "outcome",
\r
1584 "name": "length 0",
\r
1585 "xml": "<outcome value='0'>\n",
\r
1590 "z": "9586b8f9.18f7b",
\r
1598 "id": "b8719fd0.e9e07",
\r
1601 "xml": "<outcome value='Other'>\n",
\r
1606 "z": "9586b8f9.18f7b",
\r
1614 "id": "7c7df4.0399fa0c",
\r
1616 "name": "for each label-restriction",
\r
1617 "xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restrictions.label-restriction_length`' >\n",
\r
1622 "z": "9586b8f9.18f7b",
\r
1625 "26ef8a14.1b2d0e",
\r
1626 "48b544fa.8f9e04",
\r
1628 "3261da0c.acaf2e",
\r
1629 "e930ab18.78d978",
\r
1635 "id": "60812efb.8cb68",
\r
1637 "name": "unset label-restriction's local variables",
\r
1638 "xml": "<set>\n<parameter name='label-restriction.' value='' />\n<parameter name='unique-lrId' value=\"\" />\n",
\r
1642 "z": "9586b8f9.18f7b",
\r
1646 "id": "26ef8a14.1b2d0e",
\r
1648 "name": "set label-restriction's local variables",
\r
1649 "xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restrictions.label-restriction[$tidx].`' />\n",
\r
1651 "x": 3489.6669921875,
\r
1652 "y": 751.8889770507812,
\r
1653 "z": "9586b8f9.18f7b",
\r
1657 "id": "48b544fa.8f9e04",
\r
1659 "name": "save label-restriction",
\r
1660 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label.otn-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label.otn-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n",
\r
1663 "x": 3443.370849609375,
\r
1664 "y": 879.444580078125,
\r
1665 "z": "9586b8f9.18f7b",
\r
1668 "5cd8f390.b6a584",
\r
1674 "id": "2c2affa2.8c3e2",
\r
1676 "name": "save link relationship to label-restriction in AAI",
\r
1677 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='logical-link:relationship-list' \n key='logical-link.link-name = $alt-unique-linkId' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
1680 "x": 3517.5556640625,
\r
1681 "y": 1063.888916015625,
\r
1682 "z": "9586b8f9.18f7b",
\r
1688 "id": "5cd8f390.b6a584",
\r
1689 "type": "success",
\r
1690 "name": "success",
\r
1691 "xml": "<outcome value='success'>\n",
\r
1694 "x": 3634.0555419921875,
\r
1695 "y": 847.635009765625,
\r
1696 "z": "9586b8f9.18f7b",
\r
1704 "id": "dea4e969.6c5628",
\r
1705 "type": "failure",
\r
1706 "name": "failure",
\r
1707 "xml": "<outcome value='failure'>\n",
\r
1710 "x": 3641.734130859375,
\r
1711 "y": 906.8493347167969,
\r
1712 "z": "9586b8f9.18f7b",
\r
1720 "id": "3d107091.6c1e18",
\r
1723 "xml": "<block>\n",
\r
1724 "atomic": "false",
\r
1727 "x": 3794.5556640625,
\r
1728 "y": 846.8889465332031,
\r
1729 "z": "9586b8f9.18f7b",
\r
1735 "id": "27136cba.661bb4",
\r
1737 "name": "save label-restriction",
\r
1738 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='label-restriction' \n key='label-restriction.id = $unique-lrId' > \n<parameter name='id' value='`$unique-lrId`' />\n<parameter name='label-start' value='`$label-restriction.label-start.te-label.otn-tpn`' />\n<parameter name='label-end' value='`$label-restriction.label-end.te-label.otn-tpn`' />\n<parameter name='range-bitmap' value='`$label-restriction.range-bitmap`' />\n<parameter name='label-step' value='`$label-restriction.label-step.otn-tpn`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.restriction`' />\n",
\r
1741 "x": 3825.5556640625,
\r
1742 "y": 906.8889465332031,
\r
1743 "z": "9586b8f9.18f7b",
\r
1749 "id": "3261da0c.acaf2e",
\r
1751 "name": "set label-restriction's local variables",
\r
1752 "xml": "<set>\n<parameter name='unique-lrId' value=\"`$alt-unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
\r
1756 "z": "9586b8f9.18f7b",
\r
1760 "id": "500f0218.4a402c",
\r
1762 "name": "set label-restriction's local variables",
\r
1763 "xml": "<set>\n<parameter name='unique-lrId' value=\"`$alt-unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
\r
1767 "z": "9586b8f9.18f7b",
\r
1771 "id": "186e1728.625819",
\r
1773 "name": "set label-restriction's local variables",
\r
1774 "xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restrictions.label-restriction[$tidx].`' />\n",
\r
1778 "z": "9586b8f9.18f7b",
\r
1782 "id": "7d71c761.5d3918",
\r
1784 "name": "save te-link-attribute",
\r
1785 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
\r
1790 "z": "9586b8f9.18f7b",
\r
1796 "id": "b74e25a8.02a68",
\r
1798 "name": "save te-link-attribute relationship to label-restriction",
\r
1799 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
1804 "z": "9586b8f9.18f7b",
\r
1810 "id": "b47043c.925bdc",
\r
1812 "name": "save te-link-attribute relationship to logical-link in AAI",
\r
1813 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-linkId`\" />\n",
\r
1818 "z": "9586b8f9.18f7b",
\r
1824 "id": "a907e1c3.c2be48",
\r
1826 "name": "save te-link-attribute",
\r
1827 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
\r
1832 "z": "9586b8f9.18f7b",
\r
1838 "id": "beafe2da.650458",
\r
1840 "name": "update te-link-attribute",
\r
1841 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' > \n<parameter name='id' value='`$link.te.te-link-attributes.name`' />\n<parameter name='access-type' value='`$link.te.te-link-attributes.access-type`' />\n\n",
\r
1846 "z": "9586b8f9.18f7b",
\r
1852 "id": "7b4521e8.06bc6",
\r
1854 "name": "save te-link-attribute relationship to logical-link in AAI",
\r
1855 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $alt-unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$alt-unique-linkId`\" />\n",
\r
1860 "z": "9586b8f9.18f7b",
\r
1866 "id": "2f592aeb.8ac8a6",
\r
1868 "name": "save te-link-attribute relationship to label-restriction",
\r
1869 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
1874 "z": "9586b8f9.18f7b",
\r
1880 "id": "2bb6c31b.5fcc04",
\r
1882 "name": "save te-link-attribute relationship to label-restriction",
\r
1883 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
\r
1888 "z": "9586b8f9.18f7b",
\r
1894 "id": "e930ab18.78d978",
\r
1896 "name": "save te-link-attribute relationship to logical-link in AAI",
\r
1897 "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='te-link-attribute:relationship-list' \n key='te-link-attribute.id = $link.te.te-link-attributes.name' force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"logical-link\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/logical-links/logical-link/' + $alt-unique-linkId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"logical-link.link-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$alt-unique-linkId`\" />\n",
\r
1902 "z": "9586b8f9.18f7b",
\r