3 "id": "3dae3829.6d50d8",
9 "z": "5fc7c3fb.48a444",
17 "id": "de2fffb7.c073f8",
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": 162.888916015625,
27 "z": "5fc7c3fb.48a444",
35 "id": "8d7f08d3.c67fe8",
37 "name": "method update-network-links-to-aai",
38 "xml": "<method rpc='update-network-links-to-aai' mode='sync'>\n",
42 "y": 239.22222900390625,
43 "z": "5fc7c3fb.48a444",
51 "id": "89a3239d.9a961",
53 "name": "block : atomic",
54 "xml": "<block atomic=\"true\">\n",
58 "x": 207.33343505859375,
59 "y": 316.7779235839844,
60 "z": "5fc7c3fb.48a444",
68 "id": "705ccc82.ecc094",
70 "name": "save logical-link",
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\n\n\n\n\n",
74 "x": 580.1111450195312,
75 "y": 168.11109924316406,
76 "z": "5fc7c3fb.48a444",
82 "id": "f779b713.8cfdc8",
84 "name": "for each link",
85 "xml": "<for index='pidx' start='0' end='`$network.link_length`' >\n",
88 "x": 235.88885498046875,
89 "y": 410.33331298828125,
90 "z": "5fc7c3fb.48a444",
101 "id": "45a55196.a54ca",
103 "name": "set network link's local variables",
104 "xml": "<set>\n<parameter name='link.' value='`$network.link[$pidx].`' />\n<parameter name='unique-networkId' value='`$tmp.network-id`' />\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='dst-tpId' value=\"`'networkId-' + $unique-networkId + '-nodeId-' + $link.destination.dest-node + '-ltpId-' + $link.destination.dest-tp`\" />\n\n",
106 "x": 581.111083984375,
107 "y": 109.22221374511719,
108 "z": "5fc7c3fb.48a444",
112 "id": "d54d8abb.5beac",
114 "name": "save source and dest TP",
115 "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=\"`'/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=\"`'/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`\" />",
118 "x": 596.7779541015625,
119 "y": 234.44447326660156,
120 "z": "5fc7c3fb.48a444",
126 "id": "5271a41c.d8700c",
128 "name": "for each label-restriction",
129 "xml": "<for index='tidx' start='0' end='`$link.te.te-link-attributes.label-restriction_length`' >\n",
132 "x": 533.4444580078125,
133 "y": 375.111083984375,
134 "z": "5fc7c3fb.48a444",
144 "id": "1b0f5546.e78123",
146 "name": "set label-restriction's local variables",
147 "xml": "<set>\n<parameter name='label-restriction.' value='`$link.te.te-link-attributes.label-restriction[$tidx].`' />\n<parameter name='unique-lrId' value=\"`$unique-linkId + '-lrId-' + $label-restriction.index`\" />\n",
150 "y": 299.00006103515625,
151 "z": "5fc7c3fb.48a444",
155 "id": "759b3331.b0b62c",
158 "xml": "<outcome value='success'>\n",
161 "x": 982.4998779296875,
162 "y": 371.7460632324219,
163 "z": "5fc7c3fb.48a444",
171 "id": "b709b603.7fa938",
174 "xml": "<outcome value='failure'>\n",
177 "x": 990.178466796875,
178 "y": 430.96038818359375,
179 "z": "5fc7c3fb.48a444",
187 "id": "1a522f6e.2f6589",
196 "z": "5fc7c3fb.48a444",
202 "id": "61d66d0d.d0e254",
204 "name": "set src-ltpId dst-ltpId",
205 "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`\" />",
207 "x": 2595.5001220703125,
208 "y": 2430.545135498047,
209 "z": "5fc7c3fb.48a444",
213 "id": "d454df86.50acb",
215 "name": "save srcLTP relationship in AAI",
216 "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",
219 "x": 2629.0001220703125,
220 "y": 2470.545135498047,
221 "z": "5fc7c3fb.48a444",
227 "id": "f86402c5.f4d968",
229 "name": "save dstLTP relationship in AAI",
230 "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`\" />",
233 "x": 2629.0001220703125,
234 "y": 2510.545135498047,
235 "z": "5fc7c3fb.48a444",
241 "id": "5fd30b98.524afc",
243 "name": "save label-restriction",
244 "xml": "<update 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`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n\n",
249 "z": "5fc7c3fb.48a444",
255 "id": "443c3267.dc2134",
257 "name": "save link relationship to label-restriction in AAI",
258 "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[$tidx].related-to\" value=\"label-restriction\" />\n<parameter name=\"relationship-list.relationship[$tidx].related-link\" value=\"`'/network/label-restrictions/label-restriction/' + $unique-lrId`\" />\n<parameter name=\"relationship-list.relationship[$tidx].relationship-data[0].relationship-key\" value=\"label-restriction.id\" />\n<parameter name=\"relationship-list.relationship[$tidx].relationship-data[0].relationship-value\" value=\"`$unique-lrId`\" />\n",
263 "z": "5fc7c3fb.48a444",
269 "id": "b1de45a9.d99468",
271 "name": "save label-restriction",
272 "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`' />\n<parameter name='inclusive-exclusive' value='`$label-restriction.inclusive-exclusive`' />\n\n",
275 "x": 795.815185546875,
276 "y": 425.55560302734375,
277 "z": "5fc7c3fb.48a444",