Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
1 [\r
2     {\r
3         "id": "6fd18371.ab4fc4",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 138.56666564941406,\r
8         "y": 144.56666564941406,\r
9         "z": "9256178d.211a68",\r
10         "wires": [\r
11             [\r
12                 "f71dc579.359058"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "f71dc579.359058",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\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='GENERIC-RESOURCE-API' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 422.85235595703125,\r
26         "y": 205.8047742843628,\r
27         "z": "9256178d.211a68",\r
28         "wires": [\r
29             [\r
30                 "c0146243.1b894"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "c0146243.1b894",\r
36         "type": "method",\r
37         "name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 428.9952697753906,\r
42         "y": 290.5666961669922,\r
43         "z": "9256178d.211a68",\r
44         "wires": [\r
45             [\r
46                 "8f2a1d48.4d5c1"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "8f2a1d48.4d5c1",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 798.8047027587891,\r
58         "y": 315.2333526611328,\r
59         "z": "9256178d.211a68",\r
60         "wires": [\r
61             [\r
62                 "aba9a33d.b56118",\r
63                 "b34cfae3.a993d8",\r
64                 "195092e3.943c55"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "aba9a33d.b56118",\r
70         "type": "returnSuccess",\r
71         "name": "return success",\r
72         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
73         "comments": "",\r
74         "x": 1100.138198852539,\r
75         "y": 586.1636505126953,\r
76         "z": "9256178d.211a68",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "b34cfae3.a993d8",\r
81         "type": "save",\r
82         "name": "get service-instance from aai",\r
83         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
84         "comments": "",\r
85         "outputs": 1,\r
86         "x": 1121.566665649414,\r
87         "y": 288.56666564941406,\r
88         "z": "9256178d.211a68",\r
89         "wires": [\r
90             [\r
91                 "689fbe64.b269",\r
92                 "60b4e331.4ab1b4",\r
93                 "69c448c.334a3b8"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "689fbe64.b269",\r
99         "type": "success",\r
100         "name": "success",\r
101         "xml": "<outcome value='success'>\n",\r
102         "comments": "",\r
103         "outputs": 1,\r
104         "x": 1346.566665649414,\r
105         "y": 146.56666564941406,\r
106         "z": "9256178d.211a68",\r
107         "wires": [\r
108             [\r
109                 "fead0819.21d2e8"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "60b4e331.4ab1b4",\r
115         "type": "not-found",\r
116         "name": "not-found",\r
117         "xml": "<outcome value='not-found'>\n",\r
118         "comments": "",\r
119         "outputs": 1,\r
120         "x": 1342.057632446289,\r
121         "y": 216.1407012939453,\r
122         "z": "9256178d.211a68",\r
123         "wires": [\r
124             [\r
125                 "ad666133.38332"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "69c448c.334a3b8",\r
131         "type": "failure",\r
132         "name": "failure",\r
133         "xml": "<outcome value='failure'>\n",\r
134         "comments": "",\r
135         "outputs": 1,\r
136         "x": 1330.566665649414,\r
137         "y": 262.56666564941406,\r
138         "z": "9256178d.211a68",\r
139         "wires": [\r
140             [\r
141                 "be5632ce.888008"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "fead0819.21d2e8",\r
147         "type": "switchNode",\r
148         "name": "switch allotted-resources_length != 0",\r
149         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 1585.566665649414,\r
153         "y": 143.56666564941406,\r
154         "z": "9256178d.211a68",\r
155         "wires": [\r
156             [\r
157                 "79e1f5a9.abc0fc",\r
158                 "628b0c00.38066c"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "ad666133.38332",\r
164         "type": "returnFailure",\r
165         "name": "return failure",\r
166         "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
167         "comments": "",\r
168         "x": 1495.6290435791016,\r
169         "y": 219.4264373779297,\r
170         "z": "9256178d.211a68",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "be5632ce.888008",\r
175         "type": "returnFailure",\r
176         "name": "return failure",\r
177         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
178         "comments": "",\r
179         "x": 1499.566665649414,\r
180         "y": 263.56666564941406,\r
181         "z": "9256178d.211a68",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "79e1f5a9.abc0fc",\r
186         "type": "outcomeTrue",\r
187         "name": "true",\r
188         "xml": "<outcome value='true'>\n",\r
189         "comments": "",\r
190         "outputs": 1,\r
191         "x": 1798.566665649414,\r
192         "y": 167.56666564941406,\r
193         "z": "9256178d.211a68",\r
194         "wires": [\r
195             [\r
196                 "affa73a3.ee8208"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "628b0c00.38066c",\r
202         "type": "outcomeFalse",\r
203         "name": "false",\r
204         "xml": "<outcome value='false'>\n",\r
205         "comments": "",\r
206         "outputs": 1,\r
207         "x": 1800.566665649414,\r
208         "y": 107.56666564941406,\r
209         "z": "9256178d.211a68",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "13f096c3.155339",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1100.566665649414,\r
221         "y": 176.56666564941406,\r
222         "z": "9256178d.211a68",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "affa73a3.ee8208",\r
227         "type": "block",\r
228         "name": "block",\r
229         "xml": "<block>\n",\r
230         "atomic": "false",\r
231         "comments": "",\r
232         "outputs": 1,\r
233         "x": 1783.566665649414,\r
234         "y": 255.56666564941406,\r
235         "z": "9256178d.211a68",\r
236         "wires": [\r
237             [\r
238                 "48ff46b8.d3629",\r
239                 "782b021e.0fd0fc",\r
240                 "bb7c148d.8dd4d8",\r
241                 "6e431d76.be632c",\r
242                 "29e9cbd2.ce75c4",\r
243                 "d12bfd13.8bf75"\r
244             ]\r
245         ]\r
246     },\r
247     {\r
248         "id": "bc7152e2.d9d418",\r
249         "type": "set",\r
250         "name": "set network-route-A",\r
251         "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
252         "comments": "",\r
253         "x": 2646.566665649414,\r
254         "y": 855.5666656494141,\r
255         "z": "9256178d.211a68",\r
256         "wires": []\r
257     },\r
258     {\r
259         "id": "c38cb4ff.6bd5e",\r
260         "type": "set",\r
261         "name": "set network-route-B",\r
262         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
263         "comments": "",\r
264         "x": 2647.566665649414,\r
265         "y": 910.5666656494141,\r
266         "z": "9256178d.211a68",\r
267         "wires": []\r
268     },\r
269     {\r
270         "id": "91e3d9ca.33dbb",\r
271         "type": "save",\r
272         "name": "get allotted-resource from aai",\r
273         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 2269.566665649414,\r
277         "y": 306.56666564941406,\r
278         "z": "9256178d.211a68",\r
279         "wires": [\r
280             [\r
281                 "5160a5be.66b9fc",\r
282                 "bc755c97.0130a8",\r
283                 "8c53c9d8.1845d8"\r
284             ]\r
285         ]\r
286     },\r
287     {\r
288         "id": "5160a5be.66b9fc",\r
289         "type": "success",\r
290         "name": "success",\r
291         "xml": "<outcome value='success'>\n",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 2485.566665649414,\r
295         "y": 373.56666564941406,\r
296         "z": "9256178d.211a68",\r
297         "wires": [\r
298             [\r
299                 "d72f2b29.b29698"\r
300             ]\r
301         ]\r
302     },\r
303     {\r
304         "id": "bc755c97.0130a8",\r
305         "type": "not-found",\r
306         "name": "not-found",\r
307         "xml": "<outcome value='not-found'>\n",\r
308         "comments": "",\r
309         "outputs": 1,\r
310         "x": 2486.057632446289,\r
311         "y": 273.14064025878906,\r
312         "z": "9256178d.211a68",\r
313         "wires": [\r
314             [\r
315                 "9c5f6654.ebe11"\r
316             ]\r
317         ]\r
318     },\r
319     {\r
320         "id": "8c53c9d8.1845d8",\r
321         "type": "failure",\r
322         "name": "failure",\r
323         "xml": "<outcome value='failure'>\n",\r
324         "comments": "",\r
325         "outputs": 1,\r
326         "x": 2481.566665649414,\r
327         "y": 322.56666564941406,\r
328         "z": "9256178d.211a68",\r
329         "wires": [\r
330             [\r
331                 "3ae07ef4.fec912"\r
332             ]\r
333         ]\r
334     },\r
335     {\r
336         "id": "9c5f6654.ebe11",\r
337         "type": "returnFailure",\r
338         "name": "return failure",\r
339         "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
340         "comments": "",\r
341         "x": 2663.629165649414,\r
342         "y": 273.42640686035156,\r
343         "z": "9256178d.211a68",\r
344         "wires": []\r
345     },\r
346     {\r
347         "id": "3ae07ef4.fec912",\r
348         "type": "returnFailure",\r
349         "name": "return failure",\r
350         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
351         "comments": "",\r
352         "x": 2663.566665649414,\r
353         "y": 322.56666564941406,\r
354         "z": "9256178d.211a68",\r
355         "wires": []\r
356     },\r
357     {\r
358         "id": "cb7d8033.d10ca8",\r
359         "type": "save",\r
360         "name": "get logical-link from aai",\r
361         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
362         "comments": "",\r
363         "outputs": 1,\r
364         "x": 2004.566665649414,\r
365         "y": 795.5666656494141,\r
366         "z": "9256178d.211a68",\r
367         "wires": [\r
368             [\r
369                 "2b85dd7e.f02352",\r
370                 "1b3631c4.5fdf36",\r
371                 "233346f1.01fed2"\r
372             ]\r
373         ]\r
374     },\r
375     {\r
376         "id": "2b85dd7e.f02352",\r
377         "type": "not-found",\r
378         "name": "not-found",\r
379         "xml": "<outcome value='not-found'>\n",\r
380         "comments": "",\r
381         "outputs": 1,\r
382         "x": 2296.057632446289,\r
383         "y": 774.1406402587891,\r
384         "z": "9256178d.211a68",\r
385         "wires": [\r
386             [\r
387                 "2de91143.9e84c6"\r
388             ]\r
389         ]\r
390     },\r
391     {\r
392         "id": "1b3631c4.5fdf36",\r
393         "type": "failure",\r
394         "name": "failure",\r
395         "xml": "<outcome value='failure'>\n",\r
396         "comments": "",\r
397         "outputs": 1,\r
398         "x": 2284.566665649414,\r
399         "y": 818.5666656494141,\r
400         "z": "9256178d.211a68",\r
401         "wires": [\r
402             [\r
403                 "f3744c4d.35627"\r
404             ]\r
405         ]\r
406     },\r
407     {\r
408         "id": "2de91143.9e84c6",\r
409         "type": "returnFailure",\r
410         "name": "return failure",\r
411         "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
412         "comments": "",\r
413         "x": 2444.629165649414,\r
414         "y": 774.4264068603516,\r
415         "z": "9256178d.211a68",\r
416         "wires": []\r
417     },\r
418     {\r
419         "id": "f3744c4d.35627",\r
420         "type": "returnFailure",\r
421         "name": "return failure",\r
422         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
423         "comments": "",\r
424         "x": 2443.566665649414,\r
425         "y": 818.5666656494141,\r
426         "z": "9256178d.211a68",\r
427         "wires": []\r
428     },\r
429     {\r
430         "id": "233346f1.01fed2",\r
431         "type": "success",\r
432         "name": "success",\r
433         "xml": "<outcome value='success'>\n",\r
434         "comments": "",\r
435         "outputs": 1,\r
436         "x": 2291.566665649414,\r
437         "y": 897.5666656494141,\r
438         "z": "9256178d.211a68",\r
439         "wires": [\r
440             [\r
441                 "14e4e24b.240d3e"\r
442             ]\r
443         ]\r
444     },\r
445     {\r
446         "id": "14e4e24b.240d3e",\r
447         "type": "block",\r
448         "name": "block",\r
449         "xml": "<block>\n",\r
450         "atomic": "false",\r
451         "comments": "",\r
452         "outputs": 1,\r
453         "x": 2430.566665649414,\r
454         "y": 897.5666656494141,\r
455         "z": "9256178d.211a68",\r
456         "wires": [\r
457             [\r
458                 "bc7152e2.d9d418",\r
459                 "c38cb4ff.6bd5e",\r
460                 "6b90e6dc.1a4938",\r
461                 "f826c02e.b2d98",\r
462                 "d4510409.d18f8",\r
463                 "f73397ef.aaf4c",\r
464                 "f8f7fd3.b9ae18",\r
465                 "eb24a93a.96e538",\r
466                 "5ea4cfd5.51261",\r
467                 "e11f1e73.f567a8",\r
468                 "9c7b5506.97a75",\r
469                 "3add3536.bf190a",\r
470                 "33633691.1ec92a"\r
471             ]\r
472         ]\r
473     },\r
474     {\r
475         "id": "6b90e6dc.1a4938",\r
476         "type": "save",\r
477         "name": "get network-route-A from aai",\r
478         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
479         "comments": "",\r
480         "outputs": 1,\r
481         "x": 2659.566665649414,\r
482         "y": 978.5666656494141,\r
483         "z": "9256178d.211a68",\r
484         "wires": [\r
485             [\r
486                 "1d7d57d5.4b528",\r
487                 "d18df8cc.ecc03",\r
488                 "cbd2b797.9f07e8"\r
489             ]\r
490         ]\r
491     },\r
492     {\r
493         "id": "f826c02e.b2d98",\r
494         "type": "save",\r
495         "name": "get network-route-B from aai",\r
496         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
497         "comments": "",\r
498         "outputs": 1,\r
499         "x": 2638.566665649414,\r
500         "y": 1580.5665435791016,\r
501         "z": "9256178d.211a68",\r
502         "wires": [\r
503             [\r
504                 "6cc847e1.0c4c8",\r
505                 "9bc40e0b.3e66b8",\r
506                 "4130e8fa.6dc708"\r
507             ]\r
508         ]\r
509     },\r
510     {\r
511         "id": "1d7d57d5.4b528",\r
512         "type": "not-found",\r
513         "name": "not-found",\r
514         "xml": "<outcome value='not-found'>\n",\r
515         "comments": "",\r
516         "outputs": 1,\r
517         "x": 2860.566665649414,\r
518         "y": 862.5666656494141,\r
519         "z": "9256178d.211a68",\r
520         "wires": [\r
521             [\r
522                 "9adb7053.6193c"\r
523             ]\r
524         ]\r
525     },\r
526     {\r
527         "id": "d18df8cc.ecc03",\r
528         "type": "failure",\r
529         "name": "failure",\r
530         "xml": "<outcome value='failure'>\n",\r
531         "comments": "",\r
532         "outputs": 1,\r
533         "x": 2856.075698852539,\r
534         "y": 911.9926910400391,\r
535         "z": "9256178d.211a68",\r
536         "wires": [\r
537             [\r
538                 "bc31bdd5.70d25"\r
539             ]\r
540         ]\r
541     },\r
542     {\r
543         "id": "cbd2b797.9f07e8",\r
544         "type": "success",\r
545         "name": "success",\r
546         "xml": "<outcome value='success'>\n",\r
547         "comments": "",\r
548         "outputs": 1,\r
549         "x": 2860.075698852539,\r
550         "y": 962.9926910400391,\r
551         "z": "9256178d.211a68",\r
552         "wires": [\r
553             [\r
554                 "fa5d0125.b00d78"\r
555             ]\r
556         ]\r
557     },\r
558     {\r
559         "id": "9adb7053.6193c",\r
560         "type": "returnFailure",\r
561         "name": "return failure",\r
562         "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
563         "comments": "",\r
564         "x": 3009.138198852539,\r
565         "y": 861.8524322509766,\r
566         "z": "9256178d.211a68",\r
567         "wires": []\r
568     },\r
569     {\r
570         "id": "bc31bdd5.70d25",\r
571         "type": "returnFailure",\r
572         "name": "return failure",\r
573         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
574         "comments": "",\r
575         "x": 2999.075698852539,\r
576         "y": 911.9926910400391,\r
577         "z": "9256178d.211a68",\r
578         "wires": []\r
579     },\r
580     {\r
581         "id": "6cc847e1.0c4c8",\r
582         "type": "not-found",\r
583         "name": "not-found",\r
584         "xml": "<outcome value='not-found'>\n",\r
585         "comments": "",\r
586         "outputs": 1,\r
587         "x": 2861.566665649414,\r
588         "y": 1550.5665435791016,\r
589         "z": "9256178d.211a68",\r
590         "wires": [\r
591             [\r
592                 "9ebfd12f.98fe08"\r
593             ]\r
594         ]\r
595     },\r
596     {\r
597         "id": "9bc40e0b.3e66b8",\r
598         "type": "failure",\r
599         "name": "failure",\r
600         "xml": "<outcome value='failure'>\n",\r
601         "comments": "",\r
602         "outputs": 1,\r
603         "x": 2857.075698852539,\r
604         "y": 1599.9925689697266,\r
605         "z": "9256178d.211a68",\r
606         "wires": [\r
607             [\r
608                 "e2a53907.ab9ce8"\r
609             ]\r
610         ]\r
611     },\r
612     {\r
613         "id": "4130e8fa.6dc708",\r
614         "type": "success",\r
615         "name": "success",\r
616         "xml": "<outcome value='success'>\n",\r
617         "comments": "",\r
618         "outputs": 1,\r
619         "x": 2861.075698852539,\r
620         "y": 1650.9925689697266,\r
621         "z": "9256178d.211a68",\r
622         "wires": [\r
623             [\r
624                 "dd04bd6b.572858"\r
625             ]\r
626         ]\r
627     },\r
628     {\r
629         "id": "9ebfd12f.98fe08",\r
630         "type": "returnFailure",\r
631         "name": "return failure",\r
632         "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
633         "comments": "",\r
634         "x": 3010.138198852539,\r
635         "y": 1549.852310180664,\r
636         "z": "9256178d.211a68",\r
637         "wires": []\r
638     },\r
639     {\r
640         "id": "e2a53907.ab9ce8",\r
641         "type": "returnFailure",\r
642         "name": "return failure",\r
643         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
644         "comments": "",\r
645         "x": 3000.075698852539,\r
646         "y": 1599.9925689697266,\r
647         "z": "9256178d.211a68",\r
648         "wires": []\r
649     },\r
650     {\r
651         "id": "eabcf699.92546",\r
652         "type": "block",\r
653         "name": "block : atomic",\r
654         "xml": "<block atomic=\"true\">",\r
655         "atomic": "true",\r
656         "outputs": 1,\r
657         "x": 3674.233169555664,\r
658         "y": 1006.5666656494141,\r
659         "z": "9256178d.211a68",\r
660         "wires": [\r
661             [\r
662                 "ff0400bb.e98958",\r
663                 "2638e2e.143761e",\r
664                 "1c74c2ea.33d395",\r
665                 "3078ca2b.4c72c6",\r
666                 "81305781.090ed8"\r
667             ]\r
668         ]\r
669     },\r
670     {\r
671         "id": "89cd3be0.fed2e8",\r
672         "type": "success",\r
673         "name": "success",\r
674         "xml": "<outcome value='success'>\n",\r
675         "comments": "",\r
676         "outputs": 1,\r
677         "x": 3501.566665649414,\r
678         "y": 1007.5666656494141,\r
679         "z": "9256178d.211a68",\r
680         "wires": [\r
681             [\r
682                 "eabcf699.92546"\r
683             ]\r
684         ]\r
685     },\r
686     {\r
687         "id": "6ce22fa5.148738",\r
688         "type": "not-found",\r
689         "name": "not-found",\r
690         "xml": "<outcome value='not-found'>\n",\r
691         "comments": "",\r
692         "outputs": 1,\r
693         "x": 3511.057632446289,\r
694         "y": 1050.1407012939453,\r
695         "z": "9256178d.211a68",\r
696         "wires": [\r
697             [\r
698                 "6f858024.73295"\r
699             ]\r
700         ]\r
701     },\r
702     {\r
703         "id": "316c237c.fde964",\r
704         "type": "failure",\r
705         "name": "failure",\r
706         "xml": "<outcome value='failure'>\n",\r
707         "comments": "",\r
708         "outputs": 1,\r
709         "x": 3499.566665649414,\r
710         "y": 1096.566665649414,\r
711         "z": "9256178d.211a68",\r
712         "wires": [\r
713             [\r
714                 "7e23353f.01fac4"\r
715             ]\r
716         ]\r
717     },\r
718     {\r
719         "id": "6f858024.73295",\r
720         "type": "returnFailure",\r
721         "name": "return failure",\r
722         "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
723         "comments": "",\r
724         "x": 3664.6290435791016,\r
725         "y": 1053.4264373779297,\r
726         "z": "9256178d.211a68",\r
727         "wires": []\r
728     },\r
729     {\r
730         "id": "7e23353f.01fac4",\r
731         "type": "returnFailure",\r
732         "name": "return failure",\r
733         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
734         "comments": "",\r
735         "x": 3668.566665649414,\r
736         "y": 1097.566665649414,\r
737         "z": "9256178d.211a68",\r
738         "wires": []\r
739     },\r
740     {\r
741         "id": "fa5d0125.b00d78",\r
742         "type": "block",\r
743         "name": "block : atomic",\r
744         "xml": "<block atomic=\"true\">",\r
745         "atomic": "true",\r
746         "outputs": 1,\r
747         "x": 3021.566665649414,\r
748         "y": 964.5666656494141,\r
749         "z": "9256178d.211a68",\r
750         "wires": [\r
751             [\r
752                 "670222f1.9217fc",\r
753                 "82e83a40.d9e3c"\r
754             ]\r
755         ]\r
756     },\r
757     {\r
758         "id": "dd04bd6b.572858",\r
759         "type": "block",\r
760         "name": "block : atomic",\r
761         "xml": "<block atomic=\"true\">",\r
762         "atomic": "true",\r
763         "outputs": 1,\r
764         "x": 3011.566665649414,\r
765         "y": 1652.5665435791016,\r
766         "z": "9256178d.211a68",\r
767         "wires": [\r
768             [\r
769                 "b42a18a6.f5c9c",\r
770                 "ccfa8314.375c3"\r
771             ]\r
772         ]\r
773     },\r
774     {\r
775         "id": "9231955e.3e12f8",\r
776         "type": "block",\r
777         "name": "block : atomic",\r
778         "xml": "<block atomic=\"true\">",\r
779         "atomic": "true",\r
780         "outputs": 1,\r
781         "x": 3642.233169555664,\r
782         "y": 1842.566665649414,\r
783         "z": "9256178d.211a68",\r
784         "wires": [\r
785             [\r
786                 "834482bc.da8c9",\r
787                 "713b2333.204aec",\r
788                 "359ab66.2c0144a",\r
789                 "2cc88657.e87afa",\r
790                 "5952bd35.50a834"\r
791             ]\r
792         ]\r
793     },\r
794     {\r
795         "id": "e0e6a71d.ebb61",\r
796         "type": "success",\r
797         "name": "success",\r
798         "xml": "<outcome value='success'>\n",\r
799         "comments": "",\r
800         "outputs": 1,\r
801         "x": 3469.566665649414,\r
802         "y": 1843.566665649414,\r
803         "z": "9256178d.211a68",\r
804         "wires": [\r
805             [\r
806                 "9231955e.3e12f8"\r
807             ]\r
808         ]\r
809     },\r
810     {\r
811         "id": "20818b75.1274cc",\r
812         "type": "not-found",\r
813         "name": "not-found",\r
814         "xml": "<outcome value='not-found'>\n",\r
815         "comments": "",\r
816         "outputs": 1,\r
817         "x": 3479.057632446289,\r
818         "y": 1886.1407012939453,\r
819         "z": "9256178d.211a68",\r
820         "wires": [\r
821             [\r
822                 "729c480a.b2455"\r
823             ]\r
824         ]\r
825     },\r
826     {\r
827         "id": "ef5e9023.0ffb1",\r
828         "type": "failure",\r
829         "name": "failure",\r
830         "xml": "<outcome value='failure'>\n",\r
831         "comments": "",\r
832         "outputs": 1,\r
833         "x": 3467.566665649414,\r
834         "y": 1932.566665649414,\r
835         "z": "9256178d.211a68",\r
836         "wires": [\r
837             [\r
838                 "76e8a026.d94a18"\r
839             ]\r
840         ]\r
841     },\r
842     {\r
843         "id": "729c480a.b2455",\r
844         "type": "returnFailure",\r
845         "name": "return failure",\r
846         "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
847         "comments": "",\r
848         "x": 3632.6290435791016,\r
849         "y": 1889.4264373779297,\r
850         "z": "9256178d.211a68",\r
851         "wires": []\r
852     },\r
853     {\r
854         "id": "76e8a026.d94a18",\r
855         "type": "returnFailure",\r
856         "name": "return failure",\r
857         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
858         "comments": "",\r
859         "x": 3636.566665649414,\r
860         "y": 1933.566665649414,\r
861         "z": "9256178d.211a68",\r
862         "wires": []\r
863     },\r
864     {\r
865         "id": "ff0400bb.e98958",\r
866         "type": "execute",\r
867         "name": "execute split tp-id to get pnf-name",\r
868         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
869         "comments": "",\r
870         "outputs": 1,\r
871         "x": 3938.566665649414,\r
872         "y": 990.5666656494141,\r
873         "z": "9256178d.211a68",\r
874         "wires": [\r
875             [\r
876                 "1b7a2eba.962ee9",\r
877                 "7716f28b.4501a4"\r
878             ]\r
879         ]\r
880     },\r
881     {\r
882         "id": "7716f28b.4501a4",\r
883         "type": "failure",\r
884         "name": "success",\r
885         "xml": "<outcome value='success'>\n",\r
886         "comments": "",\r
887         "outputs": 1,\r
888         "x": 4161.566665649414,\r
889         "y": 945.5666656494141,\r
890         "z": "9256178d.211a68",\r
891         "wires": [\r
892             [\r
893                 "22cc4911.ba723e"\r
894             ]\r
895         ]\r
896     },\r
897     {\r
898         "id": "1b7a2eba.962ee9",\r
899         "type": "failure",\r
900         "name": "failure",\r
901         "xml": "<outcome value='failure'>\n",\r
902         "comments": "",\r
903         "outputs": 1,\r
904         "x": 4163.566665649414,\r
905         "y": 1009.5666656494141,\r
906         "z": "9256178d.211a68",\r
907         "wires": [\r
908             [\r
909                 "b1d0addd.f89fe8"\r
910             ]\r
911         ]\r
912     },\r
913     {\r
914         "id": "690a2492.cfb0bc",\r
915         "type": "set",\r
916         "name": "set ltpId",\r
917         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
918         "comments": "",\r
919         "x": 4496.566665649414,\r
920         "y": 900.5666656494141,\r
921         "z": "9256178d.211a68",\r
922         "wires": []\r
923     },\r
924     {\r
925         "id": "b1d0addd.f89fe8",\r
926         "type": "returnFailure",\r
927         "name": "return failure",\r
928         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
929         "comments": "",\r
930         "x": 4325.566665649414,\r
931         "y": 1005.5666656494141,\r
932         "z": "9256178d.211a68",\r
933         "wires": []\r
934     },\r
935     {\r
936         "id": "22cc4911.ba723e",\r
937         "type": "block",\r
938         "name": "block : atomic",\r
939         "xml": "<block atomic=\"true\">",\r
940         "atomic": "true",\r
941         "outputs": 1,\r
942         "x": 4326.566665649414,\r
943         "y": 942.5666656494141,\r
944         "z": "9256178d.211a68",\r
945         "wires": [\r
946             [\r
947                 "86327d08.aa9fb8",\r
948                 "690a2492.cfb0bc"\r
949             ]\r
950         ]\r
951     },\r
952     {\r
953         "id": "86327d08.aa9fb8",\r
954         "type": "set",\r
955         "name": "set pnf-name",\r
956         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
957         "comments": "",\r
958         "x": 4497.566665649414,\r
959         "y": 1008.5666656494141,\r
960         "z": "9256178d.211a68",\r
961         "wires": []\r
962     },\r
963     {\r
964         "id": "cde2aa0c.c7d71",\r
965         "type": "comment",\r
966         "name": "TODO: FIXME",\r
967         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
968         "comments": "",\r
969         "x": 4498.566665649414,\r
970         "y": 957.5666656494141,\r
971         "z": "9256178d.211a68",\r
972         "wires": []\r
973     },\r
974     {\r
975         "id": "1c74c2ea.33d395",\r
976         "type": "save",\r
977         "name": "save connectivity resource in AAI",\r
978         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
979         "comments": "",\r
980         "outputs": 1,\r
981         "x": 3940.566665649414,\r
982         "y": 1149.566665649414,\r
983         "z": "9256178d.211a68",\r
984         "wires": [\r
985             []\r
986         ]\r
987     },\r
988     {\r
989         "id": "2638e2e.143761e",\r
990         "type": "execute",\r
991         "name": "execute UUID generator for connectivity domainA",\r
992         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
993         "comments": "",\r
994         "outputs": 1,\r
995         "x": 3985.566665649414,\r
996         "y": 1059.566665649414,\r
997         "z": "9256178d.211a68",\r
998         "wires": [\r
999             []\r
1000         ]\r
1001     },\r
1002     {\r
1003         "id": "5d159096.a0e35",\r
1004         "type": "comment",\r
1005         "name": "TODO: FIXME",\r
1006         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
1007         "comments": "",\r
1008         "x": 3874.566665649414,\r
1009         "y": 1100.566665649414,\r
1010         "z": "9256178d.211a68",\r
1011         "wires": []\r
1012     },\r
1013     {\r
1014         "id": "834482bc.da8c9",\r
1015         "type": "execute",\r
1016         "name": "execute split tp-id to get pnf-name",\r
1017         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
1018         "comments": "",\r
1019         "outputs": 1,\r
1020         "x": 3928.566665649414,\r
1021         "y": 1846.5667877197266,\r
1022         "z": "9256178d.211a68",\r
1023         "wires": [\r
1024             [\r
1025                 "78906c54.263be4",\r
1026                 "da17cabc.510218"\r
1027             ]\r
1028         ]\r
1029     },\r
1030     {\r
1031         "id": "da17cabc.510218",\r
1032         "type": "failure",\r
1033         "name": "success",\r
1034         "xml": "<outcome value='success'>\n",\r
1035         "comments": "",\r
1036         "outputs": 1,\r
1037         "x": 4151.566665649414,\r
1038         "y": 1801.5667877197266,\r
1039         "z": "9256178d.211a68",\r
1040         "wires": [\r
1041             [\r
1042                 "4c8e2849.b6ab18"\r
1043             ]\r
1044         ]\r
1045     },\r
1046     {\r
1047         "id": "78906c54.263be4",\r
1048         "type": "failure",\r
1049         "name": "failure",\r
1050         "xml": "<outcome value='failure'>\n",\r
1051         "comments": "",\r
1052         "outputs": 1,\r
1053         "x": 4153.566665649414,\r
1054         "y": 1865.5667877197266,\r
1055         "z": "9256178d.211a68",\r
1056         "wires": [\r
1057             [\r
1058                 "dfe47f7c.d37a1"\r
1059             ]\r
1060         ]\r
1061     },\r
1062     {\r
1063         "id": "7e4bfbaf.bbef8c",\r
1064         "type": "set",\r
1065         "name": "set ltpId",\r
1066         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1067         "comments": "",\r
1068         "x": 4486.566665649414,\r
1069         "y": 1759.5667877197266,\r
1070         "z": "9256178d.211a68",\r
1071         "wires": []\r
1072     },\r
1073     {\r
1074         "id": "dfe47f7c.d37a1",\r
1075         "type": "returnFailure",\r
1076         "name": "return failure",\r
1077         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1078         "comments": "",\r
1079         "x": 4312.566665649414,\r
1080         "y": 1884.5667877197266,\r
1081         "z": "9256178d.211a68",\r
1082         "wires": []\r
1083     },\r
1084     {\r
1085         "id": "4c8e2849.b6ab18",\r
1086         "type": "block",\r
1087         "name": "block : atomic",\r
1088         "xml": "<block atomic=\"true\">",\r
1089         "atomic": "true",\r
1090         "outputs": 1,\r
1091         "x": 4316.566665649414,\r
1092         "y": 1798.5667877197266,\r
1093         "z": "9256178d.211a68",\r
1094         "wires": [\r
1095             [\r
1096                 "7e4bfbaf.bbef8c",\r
1097                 "26579dba.f3fbba"\r
1098             ]\r
1099         ]\r
1100     },\r
1101     {\r
1102         "id": "26579dba.f3fbba",\r
1103         "type": "set",\r
1104         "name": "set pnf-name",\r
1105         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1106         "comments": "",\r
1107         "x": 4487.566665649414,\r
1108         "y": 1864.5667877197266,\r
1109         "z": "9256178d.211a68",\r
1110         "wires": []\r
1111     },\r
1112     {\r
1113         "id": "8836114.dcb937",\r
1114         "type": "comment",\r
1115         "name": "TODO: FIXME",\r
1116         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
1117         "comments": "",\r
1118         "x": 4482.566665649414,\r
1119         "y": 1813.5667877197266,\r
1120         "z": "9256178d.211a68",\r
1121         "wires": []\r
1122     },\r
1123     {\r
1124         "id": "359ab66.2c0144a",\r
1125         "type": "save",\r
1126         "name": "save connectivity resource in AAI",\r
1127         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1128         "comments": "",\r
1129         "outputs": 1,\r
1130         "x": 3930.566665649414,\r
1131         "y": 2005.5667877197266,\r
1132         "z": "9256178d.211a68",\r
1133         "wires": [\r
1134             []\r
1135         ]\r
1136     },\r
1137     {\r
1138         "id": "713b2333.204aec",\r
1139         "type": "execute",\r
1140         "name": "execute UUID generator for connectivity domainB",\r
1141         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1142         "comments": "",\r
1143         "outputs": 1,\r
1144         "x": 3975.566665649414,\r
1145         "y": 1915.5667877197266,\r
1146         "z": "9256178d.211a68",\r
1147         "wires": [\r
1148             []\r
1149         ]\r
1150     },\r
1151     {\r
1152         "id": "9f1fac8a.3f574",\r
1153         "type": "comment",\r
1154         "name": "TODO: FIXME",\r
1155         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[?] all together\nin order to assemble the correct values for provider-id, \ntopology-id, node-id, etc.",\r
1156         "comments": "",\r
1157         "x": 3864.566665649414,\r
1158         "y": 1953.5667877197266,\r
1159         "z": "9256178d.211a68",\r
1160         "wires": []\r
1161     },\r
1162     {\r
1163         "id": "d4510409.d18f8",\r
1164         "type": "call",\r
1165         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1166         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1167         "comments": "",\r
1168         "outputs": 1,\r
1169         "x": 2860.566665649414,\r
1170         "y": 2349.566665649414,\r
1171         "z": "9256178d.211a68",\r
1172         "wires": [\r
1173             []\r
1174         ]\r
1175     },\r
1176     {\r
1177         "id": "f73397ef.aaf4c",\r
1178         "type": "set",\r
1179         "name": "set attachment_param",\r
1180         "xml": "<set>\n<parameter name='prop.connection-attachment.access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='prop.connection-attachment.access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='prop.connection-attachment.access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='prop.connection-attachment.access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='prop.connection-attachment.access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n\n<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='prop.remote.connection-attachment.access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='prop.remote.connection-attachment.access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n\n<!--<parameter name='prop.remote.connection-attachment.access-provider-id' value='`$oof.vpn.access-provider-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-client-id' value='`$oof.vpn.access-client-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-topology-id' value='`$oof.vpn.access-topology-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-node-id' value='`$oof.vpn.access-node-id`' />-->\n<!--<parameter name='prop.remote.connection-attachment.access-ltp-id' value='`$oof.vpn.src-access-ltp-id`' />-->\n",\r
1181         "comments": "",\r
1182         "x": 2658.566665649414,\r
1183         "y": 2228.566665649414,\r
1184         "z": "9256178d.211a68",\r
1185         "wires": []\r
1186     },\r
1187     {\r
1188         "id": "200f044c.0142e4",\r
1189         "type": "comment",\r
1190         "name": "TODO: FIXME",\r
1191         "info": "put proper values for src topology-id, node-id, ltp-id, etc (in domain A)\nand dst topology-id, node-id, ltp-id, etc (in domain B)",\r
1192         "comments": "",\r
1193         "x": 2624.566665649414,\r
1194         "y": 2162.566665649414,\r
1195         "z": "9256178d.211a68",\r
1196         "wires": []\r
1197     },\r
1198     {\r
1199         "id": "3078ca2b.4c72c6",\r
1200         "type": "save",\r
1201         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1202         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
1203         "comments": "",\r
1204         "outputs": 1,\r
1205         "x": 4068.566665649414,\r
1206         "y": 1197.566665649414,\r
1207         "z": "9256178d.211a68",\r
1208         "wires": [\r
1209             []\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "2cc88657.e87afa",\r
1214         "type": "save",\r
1215         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1216         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
1217         "comments": "",\r
1218         "outputs": 1,\r
1219         "x": 4057.566665649414,\r
1220         "y": 2070.5667877197266,\r
1221         "z": "9256178d.211a68",\r
1222         "wires": [\r
1223             []\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "117cb756.a2a2d9",\r
1228         "type": "execute",\r
1229         "name": "get esr-thirdparty-sdnc",\r
1230         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
1231         "comments": "",\r
1232         "outputs": 1,\r
1233         "x": 5112.566665649414,\r
1234         "y": 717.5666656494141,\r
1235         "z": "9256178d.211a68",\r
1236         "wires": [\r
1237             [\r
1238                 "3866efd7.2177",\r
1239                 "72d35790.07a0a8",\r
1240                 "261ed4c9.21b32c"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "d72f2b29.b29698",\r
1246         "type": "block",\r
1247         "name": "block : atomic",\r
1248         "xml": "<block atomic=\"true\">",\r
1249         "atomic": "true",\r
1250         "outputs": 1,\r
1251         "x": 2665.566665649414,\r
1252         "y": 373.56666564941406,\r
1253         "z": "9256178d.211a68",\r
1254         "wires": [\r
1255             [\r
1256                 "a21b0826.040f68"\r
1257             ]\r
1258         ]\r
1259     },\r
1260     {\r
1261         "id": "ba7cd715.7b1848",\r
1262         "type": "outcome",\r
1263         "name": "logical-link",\r
1264         "xml": "<outcome value='logical-link'>\n",\r
1265         "comments": "",\r
1266         "outputs": 1,\r
1267         "x": 1595.5667877197266,\r
1268         "y": 790.5667877197266,\r
1269         "z": "9256178d.211a68",\r
1270         "wires": [\r
1271             [\r
1272                 "5a4e861b.fe333"\r
1273             ]\r
1274         ]\r
1275     },\r
1276     {\r
1277         "id": "7935e728.7a6cd8",\r
1278         "type": "switchNode",\r
1279         "name": "switch allotted-resource.relationship-list not empty",\r
1280         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1281         "comments": "",\r
1282         "outputs": 1,\r
1283         "x": 2333.566665649414,\r
1284         "y": 496.56666564941406,\r
1285         "z": "9256178d.211a68",\r
1286         "wires": [\r
1287             [\r
1288                 "c03e1705.5e117",\r
1289                 "443647ac.996ce8"\r
1290             ]\r
1291         ]\r
1292     },\r
1293     {\r
1294         "id": "443647ac.996ce8",\r
1295         "type": "outcomeFalse",\r
1296         "name": "false",\r
1297         "xml": "<outcome value='false'>\n",\r
1298         "comments": "",\r
1299         "outputs": 1,\r
1300         "x": 2643.566665649414,\r
1301         "y": 503.56666564941406,\r
1302         "z": "9256178d.211a68",\r
1303         "wires": [\r
1304             []\r
1305         ]\r
1306     },\r
1307     {\r
1308         "id": "c03e1705.5e117",\r
1309         "type": "outcomeTrue",\r
1310         "name": "true",\r
1311         "xml": "<outcome value='true'>\n",\r
1312         "comments": "",\r
1313         "outputs": 1,\r
1314         "x": 2642.566665649414,\r
1315         "y": 557.5666656494141,\r
1316         "z": "9256178d.211a68",\r
1317         "wires": [\r
1318             [\r
1319                 "f30f322a.ce56f8"\r
1320             ]\r
1321         ]\r
1322     },\r
1323     {\r
1324         "id": "a7413863.fffc18",\r
1325         "type": "set",\r
1326         "name": "set the current logical-link-name",\r
1327         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
1328         "comments": "",\r
1329         "x": 2015.566665649414,\r
1330         "y": 740.5666656494141,\r
1331         "z": "9256178d.211a68",\r
1332         "wires": []\r
1333     },\r
1334     {\r
1335         "id": "5a4e861b.fe333",\r
1336         "type": "block",\r
1337         "name": "block : atomic",\r
1338         "xml": "<block atomic=\"true\">",\r
1339         "atomic": "true",\r
1340         "outputs": 1,\r
1341         "x": 1772.566665649414,\r
1342         "y": 783.5666656494141,\r
1343         "z": "9256178d.211a68",\r
1344         "wires": [\r
1345             [\r
1346                 "a7413863.fffc18",\r
1347                 "cb7d8033.d10ca8"\r
1348             ]\r
1349         ]\r
1350     },\r
1351     {\r
1352         "id": "ef7f5983.624538",\r
1353         "type": "comment",\r
1354         "name": "Question?",\r
1355         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1356         "comments": "",\r
1357         "x": 3201.566665649414,\r
1358         "y": 969.5666656494141,\r
1359         "z": "9256178d.211a68",\r
1360         "wires": []\r
1361     },\r
1362     {\r
1363         "id": "670222f1.9217fc",\r
1364         "type": "save",\r
1365         "name": "get p-interface-src from aai",\r
1366         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<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 = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1367         "comments": "",\r
1368         "outputs": 1,\r
1369         "x": 3244.566665649414,\r
1370         "y": 1034.566665649414,\r
1371         "z": "9256178d.211a68",\r
1372         "wires": [\r
1373             [\r
1374                 "89cd3be0.fed2e8",\r
1375                 "6ce22fa5.148738",\r
1376                 "316c237c.fde964"\r
1377             ]\r
1378         ]\r
1379     },\r
1380     {\r
1381         "id": "b42a18a6.f5c9c",\r
1382         "type": "save",\r
1383         "name": "get p-interface-dst from aai",\r
1384         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<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 = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1385         "comments": "",\r
1386         "outputs": 1,\r
1387         "x": 3241.566665649414,\r
1388         "y": 1878.566665649414,\r
1389         "z": "9256178d.211a68",\r
1390         "wires": [\r
1391             [\r
1392                 "e0e6a71d.ebb61",\r
1393                 "20818b75.1274cc",\r
1394                 "ef5e9023.0ffb1"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "c8a39fd5.26e7b",\r
1400         "type": "comment",\r
1401         "name": "Question?",\r
1402         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1403         "comments": "",\r
1404         "x": 3202.566665649414,\r
1405         "y": 1822.566665649414,\r
1406         "z": "9256178d.211a68",\r
1407         "wires": []\r
1408     },\r
1409     {\r
1410         "id": "a21b0826.040f68",\r
1411         "type": "save",\r
1412         "name": "get allotted-resource relationship from aai",\r
1413         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
1414         "comments": "",\r
1415         "outputs": 1,\r
1416         "x": 2958.566665649414,\r
1417         "y": 320.56666564941406,\r
1418         "z": "9256178d.211a68",\r
1419         "wires": [\r
1420             [\r
1421                 "4aea984e.525588",\r
1422                 "b162701f.2122e",\r
1423                 "62d5ee30.6cb7d8"\r
1424             ]\r
1425         ]\r
1426     },\r
1427     {\r
1428         "id": "b162701f.2122e",\r
1429         "type": "not-found",\r
1430         "name": "not-found",\r
1431         "xml": "<outcome value='not-found'>\n",\r
1432         "comments": "",\r
1433         "outputs": 1,\r
1434         "x": 3232.057632446289,\r
1435         "y": 213.14064025878906,\r
1436         "z": "9256178d.211a68",\r
1437         "wires": [\r
1438             [\r
1439                 "1f5782e1.732415"\r
1440             ]\r
1441         ]\r
1442     },\r
1443     {\r
1444         "id": "1f5782e1.732415",\r
1445         "type": "returnFailure",\r
1446         "name": "return failure",\r
1447         "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
1448         "comments": "",\r
1449         "x": 3409.629165649414,\r
1450         "y": 213.42640686035156,\r
1451         "z": "9256178d.211a68",\r
1452         "wires": []\r
1453     },\r
1454     {\r
1455         "id": "62d5ee30.6cb7d8",\r
1456         "type": "failure",\r
1457         "name": "failure",\r
1458         "xml": "<outcome value='failure'>\n",\r
1459         "comments": "",\r
1460         "outputs": 1,\r
1461         "x": 3227.566665649414,\r
1462         "y": 262.56666564941406,\r
1463         "z": "9256178d.211a68",\r
1464         "wires": [\r
1465             [\r
1466                 "95458c8d.84809"\r
1467             ]\r
1468         ]\r
1469     },\r
1470     {\r
1471         "id": "95458c8d.84809",\r
1472         "type": "returnFailure",\r
1473         "name": "return failure",\r
1474         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1475         "comments": "",\r
1476         "x": 3409.566665649414,\r
1477         "y": 262.56666564941406,\r
1478         "z": "9256178d.211a68",\r
1479         "wires": []\r
1480     },\r
1481     {\r
1482         "id": "4aea984e.525588",\r
1483         "type": "success",\r
1484         "name": "success",\r
1485         "xml": "<outcome value='success'>\n",\r
1486         "comments": "",\r
1487         "outputs": 1,\r
1488         "x": 3231.566665649414,\r
1489         "y": 313.56666564941406,\r
1490         "z": "9256178d.211a68",\r
1491         "wires": [\r
1492             [\r
1493                 "f1c741f5.f9107"\r
1494             ]\r
1495         ]\r
1496     },\r
1497     {\r
1498         "id": "f1c741f5.f9107",\r
1499         "type": "block",\r
1500         "name": "block : atomic",\r
1501         "xml": "<block atomic=\"true\">",\r
1502         "atomic": "true",\r
1503         "outputs": 1,\r
1504         "x": 3411.566665649414,\r
1505         "y": 313.56666564941406,\r
1506         "z": "9256178d.211a68",\r
1507         "wires": [\r
1508             [\r
1509                 "7935e728.7a6cd8"\r
1510             ]\r
1511         ]\r
1512     },\r
1513     {\r
1514         "id": "c6653aca.b9464",\r
1515         "type": "for",\r
1516         "name": "for each allotted-resource relationship",\r
1517         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1518         "comments": "",\r
1519         "outputs": 1,\r
1520         "x": 2902.566665649414,\r
1521         "y": 537.5666656494141,\r
1522         "z": "9256178d.211a68",\r
1523         "wires": [\r
1524             [\r
1525                 "f3ed889.142a978"\r
1526             ]\r
1527         ]\r
1528     },\r
1529     {\r
1530         "id": "f3ed889.142a978",\r
1531         "type": "switchNode",\r
1532         "name": "switch related-to",\r
1533         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1534         "comments": "",\r
1535         "outputs": 1,\r
1536         "x": 3182.566665649414,\r
1537         "y": 537.5666656494141,\r
1538         "z": "9256178d.211a68",\r
1539         "wires": [\r
1540             [\r
1541                 "ba7cd715.7b1848"\r
1542             ]\r
1543         ]\r
1544     },\r
1545     {\r
1546         "id": "dba40877.5798e",\r
1547         "type": "outcome",\r
1548         "name": "network-policy",\r
1549         "xml": "<outcome value='network-policy'>\n",\r
1550         "comments": "",\r
1551         "outputs": 1,\r
1552         "x": 3387.566665649414,\r
1553         "y": 511.56666564941406,\r
1554         "z": "9256178d.211a68",\r
1555         "wires": [\r
1556             [\r
1557                 "196e356.b3ce64b"\r
1558             ]\r
1559         ]\r
1560     },\r
1561     {\r
1562         "id": "196e356.b3ce64b",\r
1563         "type": "block",\r
1564         "name": "block : atomic",\r
1565         "xml": "<block atomic=\"true\">",\r
1566         "atomic": "true",\r
1567         "outputs": 1,\r
1568         "x": 3564.5665435791016,\r
1569         "y": 504.56654357910156,\r
1570         "z": "9256178d.211a68",\r
1571         "wires": [\r
1572             [\r
1573                 "e3e6b765.4d9878",\r
1574                 "b8269eb.7fee5e"\r
1575             ]\r
1576         ]\r
1577     },\r
1578     {\r
1579         "id": "e3e6b765.4d9878",\r
1580         "type": "set",\r
1581         "name": "set the 1st network-policy-id",\r
1582         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
1583         "comments": "",\r
1584         "x": 3807.5665435791016,\r
1585         "y": 461.56654357910156,\r
1586         "z": "9256178d.211a68",\r
1587         "wires": []\r
1588     },\r
1589     {\r
1590         "id": "b8269eb.7fee5e",\r
1591         "type": "save",\r
1592         "name": "get network-policy from aai",\r
1593         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
1594         "comments": "",\r
1595         "outputs": 1,\r
1596         "x": 3796.5665435791016,\r
1597         "y": 516.5665435791016,\r
1598         "z": "9256178d.211a68",\r
1599         "wires": [\r
1600             [\r
1601                 "52707298.644854",\r
1602                 "73e07a10.53585c",\r
1603                 "cc16ab53.2ad86"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "cc16ab53.2ad86",\r
1609         "type": "not-found",\r
1610         "name": "not-found",\r
1611         "xml": "<outcome value='not-found'>\n",\r
1612         "comments": "",\r
1613         "outputs": 1,\r
1614         "x": 4049.566665649414,\r
1615         "y": 402.56666564941406,\r
1616         "z": "9256178d.211a68",\r
1617         "wires": [\r
1618             [\r
1619                 "a488a64d.fae9f"\r
1620             ]\r
1621         ]\r
1622     },\r
1623     {\r
1624         "id": "a488a64d.fae9f",\r
1625         "type": "returnFailure",\r
1626         "name": "return failure",\r
1627         "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
1628         "comments": "",\r
1629         "x": 4198.138198852539,\r
1630         "y": 402.85243225097656,\r
1631         "z": "9256178d.211a68",\r
1632         "wires": []\r
1633     },\r
1634     {\r
1635         "id": "3e172036.3dfe9",\r
1636         "type": "returnFailure",\r
1637         "name": "return failure",\r
1638         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1639         "comments": "",\r
1640         "x": 4197.075698852539,\r
1641         "y": 446.99269104003906,\r
1642         "z": "9256178d.211a68",\r
1643         "wires": []\r
1644     },\r
1645     {\r
1646         "id": "73e07a10.53585c",\r
1647         "type": "failure",\r
1648         "name": "failure",\r
1649         "xml": "<outcome value='failure'>\n",\r
1650         "comments": "",\r
1651         "outputs": 1,\r
1652         "x": 4038.075698852539,\r
1653         "y": 446.99269104003906,\r
1654         "z": "9256178d.211a68",\r
1655         "wires": [\r
1656             [\r
1657                 "3e172036.3dfe9"\r
1658             ]\r
1659         ]\r
1660     },\r
1661     {\r
1662         "id": "52707298.644854",\r
1663         "type": "success",\r
1664         "name": "success",\r
1665         "xml": "<outcome value='success'>\n",\r
1666         "comments": "",\r
1667         "outputs": 1,\r
1668         "x": 4045.075698852539,\r
1669         "y": 525.9926910400391,\r
1670         "z": "9256178d.211a68",\r
1671         "wires": [\r
1672             [\r
1673                 "f6f5e0ef.37ff18"\r
1674             ]\r
1675         ]\r
1676     },\r
1677     {\r
1678         "id": "f6f5e0ef.37ff18",\r
1679         "type": "block",\r
1680         "name": "block",\r
1681         "xml": "<block>\n",\r
1682         "atomic": "false",\r
1683         "comments": "",\r
1684         "outputs": 1,\r
1685         "x": 4184.075698852539,\r
1686         "y": 525.9926910400391,\r
1687         "z": "9256178d.211a68",\r
1688         "wires": [\r
1689             [\r
1690                 "f1f16ad9.ab6c1",\r
1691                 "43bfbebe.764f5"\r
1692             ]\r
1693         ]\r
1694     },\r
1695     {\r
1696         "id": "f1f16ad9.ab6c1",\r
1697         "type": "set",\r
1698         "name": "set the max bandwidth",\r
1699         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
1700         "comments": "",\r
1701         "x": 4389.566665649414,\r
1702         "y": 523.5666656494141,\r
1703         "z": "9256178d.211a68",\r
1704         "wires": []\r
1705     },\r
1706     {\r
1707         "id": "82e83a40.d9e3c",\r
1708         "type": "execute",\r
1709         "name": "execute split tp-id to get pnf-name",\r
1710         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
1711         "comments": "",\r
1712         "outputs": 1,\r
1713         "x": 3245.566665649414,\r
1714         "y": 704.5666656494141,\r
1715         "z": "9256178d.211a68",\r
1716         "wires": [\r
1717             [\r
1718                 "bc26e44c.af9fc",\r
1719                 "1d377ef3.0119d9"\r
1720             ]\r
1721         ]\r
1722     },\r
1723     {\r
1724         "id": "1d377ef3.0119d9",\r
1725         "type": "failure",\r
1726         "name": "success",\r
1727         "xml": "<outcome value='success'>\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 3468.566665649414,\r
1731         "y": 690.5666656494141,\r
1732         "z": "9256178d.211a68",\r
1733         "wires": [\r
1734             [\r
1735                 "2e20e3ac.843a84"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "bc26e44c.af9fc",\r
1741         "type": "failure",\r
1742         "name": "failure",\r
1743         "xml": "<outcome value='failure'>\n",\r
1744         "comments": "",\r
1745         "outputs": 1,\r
1746         "x": 3470.566665649414,\r
1747         "y": 723.5666656494141,\r
1748         "z": "9256178d.211a68",\r
1749         "wires": [\r
1750             [\r
1751                 "26e72470.d1e50c"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "26e72470.d1e50c",\r
1757         "type": "returnFailure",\r
1758         "name": "return failure",\r
1759         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1760         "comments": "",\r
1761         "x": 3613.566665649414,\r
1762         "y": 720.5666656494141,\r
1763         "z": "9256178d.211a68",\r
1764         "wires": []\r
1765     },\r
1766     {\r
1767         "id": "2e20e3ac.843a84",\r
1768         "type": "block",\r
1769         "name": "block : atomic",\r
1770         "xml": "<block atomic=\"true\">",\r
1771         "atomic": "true",\r
1772         "outputs": 1,\r
1773         "x": 3616.566665649414,\r
1774         "y": 683.5666656494141,\r
1775         "z": "9256178d.211a68",\r
1776         "wires": [\r
1777             [\r
1778                 "d1ca7e66.d6d25",\r
1779                 "8b886e18.72a2f"\r
1780             ]\r
1781         ]\r
1782     },\r
1783     {\r
1784         "id": "d1ca7e66.d6d25",\r
1785         "type": "set",\r
1786         "name": "set pnf-name",\r
1787         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
1788         "comments": "",\r
1789         "x": 3778.566665649414,\r
1790         "y": 678.5666656494141,\r
1791         "z": "9256178d.211a68",\r
1792         "wires": []\r
1793     },\r
1794     {\r
1795         "id": "ccfa8314.375c3",\r
1796         "type": "execute",\r
1797         "name": "execute split tp-id to get pnf-name",\r
1798         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
1799         "comments": "",\r
1800         "outputs": 1,\r
1801         "x": 3259.566665649414,\r
1802         "y": 1541.5665435791016,\r
1803         "z": "9256178d.211a68",\r
1804         "wires": [\r
1805             [\r
1806                 "fb9d05a4.702cb",\r
1807                 "2e323a70.856296"\r
1808             ]\r
1809         ]\r
1810     },\r
1811     {\r
1812         "id": "2e323a70.856296",\r
1813         "type": "failure",\r
1814         "name": "success",\r
1815         "xml": "<outcome value='success'>\n",\r
1816         "comments": "",\r
1817         "outputs": 1,\r
1818         "x": 3482.566665649414,\r
1819         "y": 1527.5665435791016,\r
1820         "z": "9256178d.211a68",\r
1821         "wires": [\r
1822             [\r
1823                 "ac71b291.7c3e"\r
1824             ]\r
1825         ]\r
1826     },\r
1827     {\r
1828         "id": "fb9d05a4.702cb",\r
1829         "type": "failure",\r
1830         "name": "failure",\r
1831         "xml": "<outcome value='failure'>\n",\r
1832         "comments": "",\r
1833         "outputs": 1,\r
1834         "x": 3484.566665649414,\r
1835         "y": 1560.5665435791016,\r
1836         "z": "9256178d.211a68",\r
1837         "wires": [\r
1838             [\r
1839                 "96d94f89.40a6f8"\r
1840             ]\r
1841         ]\r
1842     },\r
1843     {\r
1844         "id": "96d94f89.40a6f8",\r
1845         "type": "returnFailure",\r
1846         "name": "return failure",\r
1847         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1848         "comments": "",\r
1849         "x": 3627.566665649414,\r
1850         "y": 1557.5665435791016,\r
1851         "z": "9256178d.211a68",\r
1852         "wires": []\r
1853     },\r
1854     {\r
1855         "id": "ac71b291.7c3e",\r
1856         "type": "block",\r
1857         "name": "block : atomic",\r
1858         "xml": "<block atomic=\"true\">",\r
1859         "atomic": "true",\r
1860         "outputs": 1,\r
1861         "x": 3630.566665649414,\r
1862         "y": 1520.5665435791016,\r
1863         "z": "9256178d.211a68",\r
1864         "wires": [\r
1865             [\r
1866                 "eab11739.c2283",\r
1867                 "dc956cf0.69a068"\r
1868             ]\r
1869         ]\r
1870     },\r
1871     {\r
1872         "id": "eab11739.c2283",\r
1873         "type": "set",\r
1874         "name": "set pnf-name",\r
1875         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
1876         "comments": "",\r
1877         "x": 3824.566665649414,\r
1878         "y": 1523.566665649414,\r
1879         "z": "9256178d.211a68",\r
1880         "wires": []\r
1881     },\r
1882     {\r
1883         "id": "195092e3.943c55",\r
1884         "type": "execute",\r
1885         "name": "execute properties",\r
1886         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
1887         "comments": "",\r
1888         "outputs": 1,\r
1889         "x": 1088.566665649414,\r
1890         "y": 228.56666564941406,\r
1891         "z": "9256178d.211a68",\r
1892         "wires": [\r
1893             []\r
1894         ]\r
1895     },\r
1896     {\r
1897         "id": "81305781.090ed8",\r
1898         "type": "for",\r
1899         "name": "for each relationship",\r
1900         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1901         "comments": "",\r
1902         "outputs": 1,\r
1903         "x": 3892.566665649414,\r
1904         "y": 1274.566665649414,\r
1905         "z": "9256178d.211a68",\r
1906         "wires": [\r
1907             [\r
1908                 "f76721b5.8461d"\r
1909             ]\r
1910         ]\r
1911     },\r
1912     {\r
1913         "id": "f76721b5.8461d",\r
1914         "type": "switchNode",\r
1915         "name": "switch related-to",\r
1916         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1917         "comments": "",\r
1918         "outputs": 1,\r
1919         "x": 4098.566665649414,\r
1920         "y": 1274.566665649414,\r
1921         "z": "9256178d.211a68",\r
1922         "wires": [\r
1923             [\r
1924                 "b969fa1c.797cc8"\r
1925             ]\r
1926         ]\r
1927     },\r
1928     {\r
1929         "id": "b969fa1c.797cc8",\r
1930         "type": "outcome",\r
1931         "name": "tunnel-termination-point",\r
1932         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1933         "comments": "",\r
1934         "outputs": 1,\r
1935         "x": 4313.852310180664,\r
1936         "y": 1274.388442993164,\r
1937         "z": "9256178d.211a68",\r
1938         "wires": [\r
1939             [\r
1940                 "53dab03f.fc20f"\r
1941             ]\r
1942         ]\r
1943     },\r
1944     {\r
1945         "id": "53dab03f.fc20f",\r
1946         "type": "block",\r
1947         "name": "block : atomic",\r
1948         "xml": "<block atomic=\"true\">",\r
1949         "atomic": "true",\r
1950         "outputs": 1,\r
1951         "x": 4520.683853149414,\r
1952         "y": 1274.906997680664,\r
1953         "z": "9256178d.211a68",\r
1954         "wires": [\r
1955             [\r
1956                 "c8f50b30.1a1a",\r
1957                 "5524147a.4f670c",\r
1958                 "e21dfbfb.d70ee"\r
1959             ]\r
1960         ]\r
1961     },\r
1962     {\r
1963         "id": "c8f50b30.1a1a",\r
1964         "type": "set",\r
1965         "name": "set source ttp-id",\r
1966         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
1967         "comments": "",\r
1968         "x": 4735.683853149414,\r
1969         "y": 1236.906997680664,\r
1970         "z": "9256178d.211a68",\r
1971         "wires": []\r
1972     },\r
1973     {\r
1974         "id": "5524147a.4f670c",\r
1975         "type": "get-resource",\r
1976         "name": "get-resource src TTP",\r
1977         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
1978         "comments": "",\r
1979         "outputs": 1,\r
1980         "x": 4732.683853149414,\r
1981         "y": 1275.906997680664,\r
1982         "z": "9256178d.211a68",\r
1983         "wires": [\r
1984             [\r
1985                 "468c57ff.e87bd"\r
1986             ]\r
1987         ]\r
1988     },\r
1989     {\r
1990         "id": "e21dfbfb.d70ee",\r
1991         "type": "break",\r
1992         "name": "break",\r
1993         "xml": "<break>\n",\r
1994         "comments": "",\r
1995         "x": 4688.183853149414,\r
1996         "y": 1317.906997680664,\r
1997         "z": "9256178d.211a68",\r
1998         "wires": []\r
1999     },\r
2000     {\r
2001         "id": "468c57ff.e87bd",\r
2002         "type": "success",\r
2003         "name": "success",\r
2004         "xml": "<outcome value='success'>\n",\r
2005         "comments": "",\r
2006         "outputs": 1,\r
2007         "x": 4913.183853149414,\r
2008         "y": 1274.906997680664,\r
2009         "z": "9256178d.211a68",\r
2010         "wires": [\r
2011             [\r
2012                 "674f9840.48c03"\r
2013             ]\r
2014         ]\r
2015     },\r
2016     {\r
2017         "id": "674f9840.48c03",\r
2018         "type": "block",\r
2019         "name": "block : atomic",\r
2020         "xml": "<block atomic=\"true\">",\r
2021         "atomic": "true",\r
2022         "outputs": 1,\r
2023         "x": 5071.183853149414,\r
2024         "y": 1274.906997680664,\r
2025         "z": "9256178d.211a68",\r
2026         "wires": [\r
2027             [\r
2028                 "202acc61.848adc"\r
2029             ]\r
2030         ]\r
2031     },\r
2032     {\r
2033         "id": "202acc61.848adc",\r
2034         "type": "set",\r
2035         "name": "set source tunnel tp ip",\r
2036         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2037         "comments": "",\r
2038         "x": 5278.183853149414,\r
2039         "y": 1274.906997680664,\r
2040         "z": "9256178d.211a68",\r
2041         "wires": []\r
2042     },\r
2043     {\r
2044         "id": "5952bd35.50a834",\r
2045         "type": "for",\r
2046         "name": "for each relationship",\r
2047         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2048         "comments": "",\r
2049         "outputs": 1,\r
2050         "x": 3889.566665649414,\r
2051         "y": 2143.5667877197266,\r
2052         "z": "9256178d.211a68",\r
2053         "wires": [\r
2054             [\r
2055                 "6a89a776.9e1148"\r
2056             ]\r
2057         ]\r
2058     },\r
2059     {\r
2060         "id": "6a89a776.9e1148",\r
2061         "type": "switchNode",\r
2062         "name": "switch related-to",\r
2063         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2064         "comments": "",\r
2065         "outputs": 1,\r
2066         "x": 4095.566665649414,\r
2067         "y": 2143.5667877197266,\r
2068         "z": "9256178d.211a68",\r
2069         "wires": [\r
2070             [\r
2071                 "c422bc84.9ff58"\r
2072             ]\r
2073         ]\r
2074     },\r
2075     {\r
2076         "id": "c422bc84.9ff58",\r
2077         "type": "outcome",\r
2078         "name": "tunnel-termination-point",\r
2079         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2080         "comments": "",\r
2081         "outputs": 1,\r
2082         "x": 4310.852310180664,\r
2083         "y": 2143.3885650634766,\r
2084         "z": "9256178d.211a68",\r
2085         "wires": [\r
2086             [\r
2087                 "35ec76d0.e92ad2"\r
2088             ]\r
2089         ]\r
2090     },\r
2091     {\r
2092         "id": "35ec76d0.e92ad2",\r
2093         "type": "block",\r
2094         "name": "block : atomic",\r
2095         "xml": "<block atomic=\"true\">",\r
2096         "atomic": "true",\r
2097         "outputs": 1,\r
2098         "x": 4517.683853149414,\r
2099         "y": 2143.9071197509766,\r
2100         "z": "9256178d.211a68",\r
2101         "wires": [\r
2102             [\r
2103                 "2da8c0eb.ef8a5",\r
2104                 "ed9d3d70.991958",\r
2105                 "4afbd03e.c78838"\r
2106             ]\r
2107         ]\r
2108     },\r
2109     {\r
2110         "id": "2da8c0eb.ef8a5",\r
2111         "type": "set",\r
2112         "name": "set destination ttp-id",\r
2113         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
2114         "comments": "",\r
2115         "x": 4732.683853149414,\r
2116         "y": 2105.9071197509766,\r
2117         "z": "9256178d.211a68",\r
2118         "wires": []\r
2119     },\r
2120     {\r
2121         "id": "ed9d3d70.991958",\r
2122         "type": "get-resource",\r
2123         "name": "get-resource src TTP",\r
2124         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
2125         "comments": "",\r
2126         "outputs": 1,\r
2127         "x": 4729.683853149414,\r
2128         "y": 2144.9071197509766,\r
2129         "z": "9256178d.211a68",\r
2130         "wires": [\r
2131             [\r
2132                 "12a67fc9.3eabd"\r
2133             ]\r
2134         ]\r
2135     },\r
2136     {\r
2137         "id": "4afbd03e.c78838",\r
2138         "type": "break",\r
2139         "name": "break",\r
2140         "xml": "<break>\n",\r
2141         "comments": "",\r
2142         "x": 4685.183853149414,\r
2143         "y": 2186.9071197509766,\r
2144         "z": "9256178d.211a68",\r
2145         "wires": []\r
2146     },\r
2147     {\r
2148         "id": "12a67fc9.3eabd",\r
2149         "type": "success",\r
2150         "name": "success",\r
2151         "xml": "<outcome value='success'>\n",\r
2152         "comments": "",\r
2153         "outputs": 1,\r
2154         "x": 4910.183853149414,\r
2155         "y": 2143.9071197509766,\r
2156         "z": "9256178d.211a68",\r
2157         "wires": [\r
2158             [\r
2159                 "e5260f19.3624e"\r
2160             ]\r
2161         ]\r
2162     },\r
2163     {\r
2164         "id": "e5260f19.3624e",\r
2165         "type": "block",\r
2166         "name": "block : atomic",\r
2167         "xml": "<block atomic=\"true\">",\r
2168         "atomic": "true",\r
2169         "outputs": 1,\r
2170         "x": 5068.183853149414,\r
2171         "y": 2143.9071197509766,\r
2172         "z": "9256178d.211a68",\r
2173         "wires": [\r
2174             [\r
2175                 "fea1a0aa.e8456"\r
2176             ]\r
2177         ]\r
2178     },\r
2179     {\r
2180         "id": "fea1a0aa.e8456",\r
2181         "type": "set",\r
2182         "name": "set destination tunnel tp ip",\r
2183         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2184         "comments": "",\r
2185         "x": 5275.183853149414,\r
2186         "y": 2143.9071197509766,\r
2187         "z": "9256178d.211a68",\r
2188         "wires": []\r
2189     },\r
2190     {\r
2191         "id": "8b886e18.72a2f",\r
2192         "type": "get-resource",\r
2193         "name": "get-resource src pnf",\r
2194         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2195         "comments": "",\r
2196         "outputs": 1,\r
2197         "x": 3805.566665649414,\r
2198         "y": 750.5666656494141,\r
2199         "z": "9256178d.211a68",\r
2200         "wires": [\r
2201             [\r
2202                 "230a01ea.26a66e",\r
2203                 "548c580d.50378",\r
2204                 "266b6d86.22640a"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "230a01ea.26a66e",\r
2210         "type": "success",\r
2211         "name": "success",\r
2212         "xml": "<outcome value='success'>\n",\r
2213         "comments": "",\r
2214         "outputs": 1,\r
2215         "x": 4001.0667877197266,\r
2216         "y": 702.5666656494141,\r
2217         "z": "9256178d.211a68",\r
2218         "wires": [\r
2219             [\r
2220                 "8a1e2c2.231ae5"\r
2221             ]\r
2222         ]\r
2223     },\r
2224     {\r
2225         "id": "548c580d.50378",\r
2226         "type": "not-found",\r
2227         "name": "not-found",\r
2228         "xml": "<outcome value='not-found'>\n",\r
2229         "comments": "",\r
2230         "outputs": 1,\r
2231         "x": 3993.0667877197266,\r
2232         "y": 757.5666656494141,\r
2233         "z": "9256178d.211a68",\r
2234         "wires": [\r
2235             [\r
2236                 "f0a74837.6bf648"\r
2237             ]\r
2238         ]\r
2239     },\r
2240     {\r
2241         "id": "266b6d86.22640a",\r
2242         "type": "other",\r
2243         "name": "other",\r
2244         "xml": "<outcome value='Other'>\n",\r
2245         "comments": "",\r
2246         "outputs": 1,\r
2247         "x": 3998.0667877197266,\r
2248         "y": 814.5666656494141,\r
2249         "z": "9256178d.211a68",\r
2250         "wires": [\r
2251             [\r
2252                 "c89ea643.5fb658"\r
2253             ]\r
2254         ]\r
2255     },\r
2256     {\r
2257         "id": "c89ea643.5fb658",\r
2258         "type": "returnFailure",\r
2259         "name": "return failure",\r
2260         "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.connection-attachement.access-node-id`\" />\n\n",\r
2261         "comments": "",\r
2262         "x": 4150.066787719727,\r
2263         "y": 815.5666656494141,\r
2264         "z": "9256178d.211a68",\r
2265         "wires": []\r
2266     },\r
2267     {\r
2268         "id": "f0a74837.6bf648",\r
2269         "type": "returnFailure",\r
2270         "name": "return failure",\r
2271         "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.connection-attachement.access-node-id`\" />\n\n",\r
2272         "comments": "",\r
2273         "x": 4161.066787719727,\r
2274         "y": 760.5666656494141,\r
2275         "z": "9256178d.211a68",\r
2276         "wires": []\r
2277     },\r
2278     {\r
2279         "id": "8a1e2c2.231ae5",\r
2280         "type": "block",\r
2281         "name": "block",\r
2282         "xml": "<block>\n",\r
2283         "atomic": "false",\r
2284         "comments": "",\r
2285         "outputs": 1,\r
2286         "x": 4145.449111938477,\r
2287         "y": 700.2223358154297,\r
2288         "z": "9256178d.211a68",\r
2289         "wires": [\r
2290             [\r
2291                 "5c25cba9.41b2b4"\r
2292             ]\r
2293         ]\r
2294     },\r
2295     {\r
2296         "id": "f1310713.19e1c",\r
2297         "type": "outcome",\r
2298         "name": "esr-thirdparty-sdnc",\r
2299         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2300         "comments": "",\r
2301         "outputs": 1,\r
2302         "x": 4727.566665649414,\r
2303         "y": 718.5666656494141,\r
2304         "z": "9256178d.211a68",\r
2305         "wires": [\r
2306             [\r
2307                 "cbcc3226.5de568"\r
2308             ]\r
2309         ]\r
2310     },\r
2311     {\r
2312         "id": "cbcc3226.5de568",\r
2313         "type": "block",\r
2314         "name": "block : atomic",\r
2315         "xml": "<block atomic=\"true\">",\r
2316         "atomic": "true",\r
2317         "outputs": 1,\r
2318         "x": 4904.566665649414,\r
2319         "y": 710.5666656494141,\r
2320         "z": "9256178d.211a68",\r
2321         "wires": [\r
2322             [\r
2323                 "9672ea99.0655d",\r
2324                 "117cb756.a2a2d9"\r
2325             ]\r
2326         ]\r
2327     },\r
2328     {\r
2329         "id": "5c25cba9.41b2b4",\r
2330         "type": "for",\r
2331         "name": "for each relationship",\r
2332         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2333         "comments": "",\r
2334         "outputs": 1,\r
2335         "x": 4329.566665649414,\r
2336         "y": 714.5666656494141,\r
2337         "z": "9256178d.211a68",\r
2338         "wires": [\r
2339             [\r
2340                 "c4bf834f.523618"\r
2341             ]\r
2342         ]\r
2343     },\r
2344     {\r
2345         "id": "c4bf834f.523618",\r
2346         "type": "switchNode",\r
2347         "name": "switch related-to",\r
2348         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2349         "comments": "",\r
2350         "outputs": 1,\r
2351         "x": 4524.566665649414,\r
2352         "y": 714.5666656494141,\r
2353         "z": "9256178d.211a68",\r
2354         "wires": [\r
2355             [\r
2356                 "f1310713.19e1c",\r
2357                 "88191017.73b938"\r
2358             ]\r
2359         ]\r
2360     },\r
2361     {\r
2362         "id": "9672ea99.0655d",\r
2363         "type": "set",\r
2364         "name": "set esr-thirdparty-sdnc domainA id",\r
2365         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2366         "comments": "",\r
2367         "x": 5142.566665649414,\r
2368         "y": 665.5666656494141,\r
2369         "z": "9256178d.211a68",\r
2370         "wires": []\r
2371     },\r
2372     {\r
2373         "id": "3866efd7.2177",\r
2374         "type": "success",\r
2375         "name": "success",\r
2376         "xml": "<outcome value='success'>\n",\r
2377         "comments": "",\r
2378         "outputs": 1,\r
2379         "x": 5322.566665649414,\r
2380         "y": 708.5666656494141,\r
2381         "z": "9256178d.211a68",\r
2382         "wires": [\r
2383             [\r
2384                 "fe38d110.6015b8"\r
2385             ]\r
2386         ]\r
2387     },\r
2388     {\r
2389         "id": "72d35790.07a0a8",\r
2390         "type": "not-found",\r
2391         "name": "not-found",\r
2392         "xml": "<outcome value='not-found'>\n",\r
2393         "comments": "",\r
2394         "outputs": 1,\r
2395         "x": 5314.566665649414,\r
2396         "y": 763.5666656494141,\r
2397         "z": "9256178d.211a68",\r
2398         "wires": [\r
2399             [\r
2400                 "7783383e.51854"\r
2401             ]\r
2402         ]\r
2403     },\r
2404     {\r
2405         "id": "261ed4c9.21b32c",\r
2406         "type": "other",\r
2407         "name": "other",\r
2408         "xml": "<outcome value='Other'>\n",\r
2409         "comments": "",\r
2410         "outputs": 1,\r
2411         "x": 5319.566665649414,\r
2412         "y": 820.5666656494141,\r
2413         "z": "9256178d.211a68",\r
2414         "wires": [\r
2415             [\r
2416                 "fa12b901.242fd8"\r
2417             ]\r
2418         ]\r
2419     },\r
2420     {\r
2421         "id": "fa12b901.242fd8",\r
2422         "type": "returnFailure",\r
2423         "name": "return failure",\r
2424         "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.connection-attachement.access-node-id`\" />\n\n",\r
2425         "comments": "",\r
2426         "x": 5471.566665649414,\r
2427         "y": 821.5666656494141,\r
2428         "z": "9256178d.211a68",\r
2429         "wires": []\r
2430     },\r
2431     {\r
2432         "id": "7783383e.51854",\r
2433         "type": "returnFailure",\r
2434         "name": "return failure",\r
2435         "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.connection-attachement.access-node-id`\" />\n\n",\r
2436         "comments": "",\r
2437         "x": 5482.566665649414,\r
2438         "y": 766.5666656494141,\r
2439         "z": "9256178d.211a68",\r
2440         "wires": []\r
2441     },\r
2442     {\r
2443         "id": "fe38d110.6015b8",\r
2444         "type": "block",\r
2445         "name": "block",\r
2446         "xml": "<block>\n",\r
2447         "atomic": "false",\r
2448         "comments": "",\r
2449         "outputs": 1,\r
2450         "x": 5466.948989868164,\r
2451         "y": 706.2223358154297,\r
2452         "z": "9256178d.211a68",\r
2453         "wires": [\r
2454             [\r
2455                 "60bc3d89.a08324"\r
2456             ]\r
2457         ]\r
2458     },\r
2459     {\r
2460         "id": "60bc3d89.a08324",\r
2461         "type": "set",\r
2462         "name": "set controller domainA data",\r
2463         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2464         "comments": "",\r
2465         "x": 5681.566665649414,\r
2466         "y": 702.5666656494141,\r
2467         "z": "9256178d.211a68",\r
2468         "wires": []\r
2469     },\r
2470     {\r
2471         "id": "dc956cf0.69a068",\r
2472         "type": "get-resource",\r
2473         "name": "get-resource src pnf",\r
2474         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2475         "comments": "",\r
2476         "outputs": 1,\r
2477         "x": 3846.566665649414,\r
2478         "y": 1591.566665649414,\r
2479         "z": "9256178d.211a68",\r
2480         "wires": [\r
2481             [\r
2482                 "bf4fb85e.9c3948",\r
2483                 "6a7367e2.bb2c9",\r
2484                 "ddd9af1d.15854"\r
2485             ]\r
2486         ]\r
2487     },\r
2488     {\r
2489         "id": "bf4fb85e.9c3948",\r
2490         "type": "success",\r
2491         "name": "success",\r
2492         "xml": "<outcome value='success'>\n",\r
2493         "comments": "",\r
2494         "outputs": 1,\r
2495         "x": 4042.0667877197266,\r
2496         "y": 1543.566665649414,\r
2497         "z": "9256178d.211a68",\r
2498         "wires": [\r
2499             [\r
2500                 "350a8536.22a84a"\r
2501             ]\r
2502         ]\r
2503     },\r
2504     {\r
2505         "id": "6a7367e2.bb2c9",\r
2506         "type": "not-found",\r
2507         "name": "not-found",\r
2508         "xml": "<outcome value='not-found'>\n",\r
2509         "comments": "",\r
2510         "outputs": 1,\r
2511         "x": 4034.0667877197266,\r
2512         "y": 1598.566665649414,\r
2513         "z": "9256178d.211a68",\r
2514         "wires": [\r
2515             [\r
2516                 "145991d9.a47ef6"\r
2517             ]\r
2518         ]\r
2519     },\r
2520     {\r
2521         "id": "ddd9af1d.15854",\r
2522         "type": "other",\r
2523         "name": "other",\r
2524         "xml": "<outcome value='Other'>\n",\r
2525         "comments": "",\r
2526         "outputs": 1,\r
2527         "x": 4039.0667877197266,\r
2528         "y": 1655.566665649414,\r
2529         "z": "9256178d.211a68",\r
2530         "wires": [\r
2531             [\r
2532                 "820f34bd.964968"\r
2533             ]\r
2534         ]\r
2535     },\r
2536     {\r
2537         "id": "820f34bd.964968",\r
2538         "type": "returnFailure",\r
2539         "name": "return failure",\r
2540         "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.connection-attachement.access-node-id`\" />\n\n",\r
2541         "comments": "",\r
2542         "x": 4191.066787719727,\r
2543         "y": 1656.566665649414,\r
2544         "z": "9256178d.211a68",\r
2545         "wires": []\r
2546     },\r
2547     {\r
2548         "id": "145991d9.a47ef6",\r
2549         "type": "returnFailure",\r
2550         "name": "return failure",\r
2551         "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.connection-attachement.access-node-id`\" />\n\n",\r
2552         "comments": "",\r
2553         "x": 4202.066787719727,\r
2554         "y": 1601.566665649414,\r
2555         "z": "9256178d.211a68",\r
2556         "wires": []\r
2557     },\r
2558     {\r
2559         "id": "350a8536.22a84a",\r
2560         "type": "block",\r
2561         "name": "block",\r
2562         "xml": "<block>\n",\r
2563         "atomic": "false",\r
2564         "comments": "",\r
2565         "outputs": 1,\r
2566         "x": 4186.449111938477,\r
2567         "y": 1541.2223358154297,\r
2568         "z": "9256178d.211a68",\r
2569         "wires": [\r
2570             [\r
2571                 "6f232f80.17fde"\r
2572             ]\r
2573         ]\r
2574     },\r
2575     {\r
2576         "id": "df02e92.6642a98",\r
2577         "type": "outcome",\r
2578         "name": "esr-thirdparty-sdnc",\r
2579         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2580         "comments": "",\r
2581         "outputs": 1,\r
2582         "x": 4768.566665649414,\r
2583         "y": 1559.566665649414,\r
2584         "z": "9256178d.211a68",\r
2585         "wires": [\r
2586             [\r
2587                 "360786c5.7cab22"\r
2588             ]\r
2589         ]\r
2590     },\r
2591     {\r
2592         "id": "360786c5.7cab22",\r
2593         "type": "block",\r
2594         "name": "block : atomic",\r
2595         "xml": "<block atomic=\"true\">",\r
2596         "atomic": "true",\r
2597         "outputs": 1,\r
2598         "x": 4945.566665649414,\r
2599         "y": 1551.566665649414,\r
2600         "z": "9256178d.211a68",\r
2601         "wires": [\r
2602             [\r
2603                 "41cd01ea.c63f78",\r
2604                 "aaeef3c0.eb5678"\r
2605             ]\r
2606         ]\r
2607     },\r
2608     {\r
2609         "id": "6f232f80.17fde",\r
2610         "type": "for",\r
2611         "name": "for each relationship",\r
2612         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2613         "comments": "",\r
2614         "outputs": 1,\r
2615         "x": 4370.566665649414,\r
2616         "y": 1555.566665649414,\r
2617         "z": "9256178d.211a68",\r
2618         "wires": [\r
2619             [\r
2620                 "d99ab523.6da018"\r
2621             ]\r
2622         ]\r
2623     },\r
2624     {\r
2625         "id": "d99ab523.6da018",\r
2626         "type": "switchNode",\r
2627         "name": "switch related-to",\r
2628         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2629         "comments": "",\r
2630         "outputs": 1,\r
2631         "x": 4565.566665649414,\r
2632         "y": 1555.566665649414,\r
2633         "z": "9256178d.211a68",\r
2634         "wires": [\r
2635             [\r
2636                 "df02e92.6642a98",\r
2637                 "c50f0505.bf6c28"\r
2638             ]\r
2639         ]\r
2640     },\r
2641     {\r
2642         "id": "aaeef3c0.eb5678",\r
2643         "type": "execute",\r
2644         "name": "get esr-thirdparty-sdnc",\r
2645         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
2646         "comments": "",\r
2647         "outputs": 1,\r
2648         "x": 5153.566665649414,\r
2649         "y": 1558.566665649414,\r
2650         "z": "9256178d.211a68",\r
2651         "wires": [\r
2652             [\r
2653                 "3618e547.e0a40a",\r
2654                 "eed6fd7.fbf15",\r
2655                 "3313cec2.2b8cca"\r
2656             ]\r
2657         ]\r
2658     },\r
2659     {\r
2660         "id": "41cd01ea.c63f78",\r
2661         "type": "set",\r
2662         "name": "set esr-thirdparty-sdnc domainB id",\r
2663         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
2664         "comments": "",\r
2665         "x": 5183.566665649414,\r
2666         "y": 1506.566665649414,\r
2667         "z": "9256178d.211a68",\r
2668         "wires": []\r
2669     },\r
2670     {\r
2671         "id": "3618e547.e0a40a",\r
2672         "type": "success",\r
2673         "name": "success",\r
2674         "xml": "<outcome value='success'>\n",\r
2675         "comments": "",\r
2676         "outputs": 1,\r
2677         "x": 5363.566665649414,\r
2678         "y": 1549.566665649414,\r
2679         "z": "9256178d.211a68",\r
2680         "wires": [\r
2681             [\r
2682                 "b22ebd12.40a81"\r
2683             ]\r
2684         ]\r
2685     },\r
2686     {\r
2687         "id": "eed6fd7.fbf15",\r
2688         "type": "not-found",\r
2689         "name": "not-found",\r
2690         "xml": "<outcome value='not-found'>\n",\r
2691         "comments": "",\r
2692         "outputs": 1,\r
2693         "x": 5355.566665649414,\r
2694         "y": 1604.566665649414,\r
2695         "z": "9256178d.211a68",\r
2696         "wires": [\r
2697             [\r
2698                 "7d8acc36.091ccc"\r
2699             ]\r
2700         ]\r
2701     },\r
2702     {\r
2703         "id": "3313cec2.2b8cca",\r
2704         "type": "other",\r
2705         "name": "other",\r
2706         "xml": "<outcome value='Other'>\n",\r
2707         "comments": "",\r
2708         "outputs": 1,\r
2709         "x": 5360.566665649414,\r
2710         "y": 1661.566665649414,\r
2711         "z": "9256178d.211a68",\r
2712         "wires": [\r
2713             [\r
2714                 "112ac18e.80256e"\r
2715             ]\r
2716         ]\r
2717     },\r
2718     {\r
2719         "id": "112ac18e.80256e",\r
2720         "type": "returnFailure",\r
2721         "name": "return failure",\r
2722         "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.connection-attachement.access-node-id`\" />\n\n",\r
2723         "comments": "",\r
2724         "x": 5512.566665649414,\r
2725         "y": 1662.566665649414,\r
2726         "z": "9256178d.211a68",\r
2727         "wires": []\r
2728     },\r
2729     {\r
2730         "id": "7d8acc36.091ccc",\r
2731         "type": "returnFailure",\r
2732         "name": "return failure",\r
2733         "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.connection-attachement.access-node-id`\" />\n\n",\r
2734         "comments": "",\r
2735         "x": 5523.566665649414,\r
2736         "y": 1607.566665649414,\r
2737         "z": "9256178d.211a68",\r
2738         "wires": []\r
2739     },\r
2740     {\r
2741         "id": "b22ebd12.40a81",\r
2742         "type": "block",\r
2743         "name": "block",\r
2744         "xml": "<block>\n",\r
2745         "atomic": "false",\r
2746         "comments": "",\r
2747         "outputs": 1,\r
2748         "x": 5507.948989868164,\r
2749         "y": 1547.2223358154297,\r
2750         "z": "9256178d.211a68",\r
2751         "wires": [\r
2752             [\r
2753                 "1c9d9642.f84cba"\r
2754             ]\r
2755         ]\r
2756     },\r
2757     {\r
2758         "id": "1c9d9642.f84cba",\r
2759         "type": "set",\r
2760         "name": "set controller domainB data",\r
2761         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2762         "comments": "",\r
2763         "x": 5722.566665649414,\r
2764         "y": 1543.566665649414,\r
2765         "z": "9256178d.211a68",\r
2766         "wires": []\r
2767     },\r
2768     {\r
2769         "id": "f30f322a.ce56f8",\r
2770         "type": "block",\r
2771         "name": "block : atomic",\r
2772         "xml": "<block atomic=\"true\">",\r
2773         "atomic": "true",\r
2774         "outputs": 1,\r
2775         "x": 2806.566665649414,\r
2776         "y": 483.56666564941406,\r
2777         "z": "9256178d.211a68",\r
2778         "wires": [\r
2779             [\r
2780                 "c6653aca.b9464",\r
2781                 "b73a30ff.3793c"\r
2782             ]\r
2783         ]\r
2784     },\r
2785     {\r
2786         "id": "b73a30ff.3793c",\r
2787         "type": "for",\r
2788         "name": "for each allotted-resource relationship",\r
2789         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
2790         "comments": "",\r
2791         "outputs": 1,\r
2792         "x": 3087.566665649414,\r
2793         "y": 439.56666564941406,\r
2794         "z": "9256178d.211a68",\r
2795         "wires": [\r
2796             [\r
2797                 "be2994c5.6111e8"\r
2798             ]\r
2799         ]\r
2800     },\r
2801     {\r
2802         "id": "be2994c5.6111e8",\r
2803         "type": "switchNode",\r
2804         "name": "switch related-to",\r
2805         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
2806         "comments": "",\r
2807         "outputs": 1,\r
2808         "x": 3349.566665649414,\r
2809         "y": 439.56666564941406,\r
2810         "z": "9256178d.211a68",\r
2811         "wires": [\r
2812             [\r
2813                 "dba40877.5798e"\r
2814             ]\r
2815         ]\r
2816     },\r
2817     {\r
2818         "id": "88191017.73b938",\r
2819         "type": "outcome",\r
2820         "name": "network-resource",\r
2821         "xml": "<outcome value='network-resource'>",\r
2822         "comments": "",\r
2823         "outputs": 1,\r
2824         "x": 4730.566665649414,\r
2825         "y": 792.5666656494141,\r
2826         "z": "9256178d.211a68",\r
2827         "wires": [\r
2828             [\r
2829                 "65c2e1c9.1b56d8"\r
2830             ]\r
2831         ]\r
2832     },\r
2833     {\r
2834         "id": "65c2e1c9.1b56d8",\r
2835         "type": "block",\r
2836         "name": "block : atomic",\r
2837         "xml": "<block atomic=\"true\">",\r
2838         "atomic": "true",\r
2839         "outputs": 1,\r
2840         "x": 4907.566665649414,\r
2841         "y": 784.5666656494141,\r
2842         "z": "9256178d.211a68",\r
2843         "wires": [\r
2844             [\r
2845                 "e785d4f0.4913e8"\r
2846             ]\r
2847         ]\r
2848     },\r
2849     {\r
2850         "id": "e785d4f0.4913e8",\r
2851         "type": "set",\r
2852         "name": "set domainA ethernet layer network-id",\r
2853         "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2854         "comments": "",\r
2855         "x": 5142.566665649414,\r
2856         "y": 908.5666656494141,\r
2857         "z": "9256178d.211a68",\r
2858         "wires": []\r
2859     },\r
2860     {\r
2861         "id": "5f8b1fbc.6dcf18",\r
2862         "type": "set",\r
2863         "name": "set domainB ethernet layer network-id",\r
2864         "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
2865         "comments": "",\r
2866         "x": 5182.566665649414,\r
2867         "y": 1748.566665649414,\r
2868         "z": "9256178d.211a68",\r
2869         "wires": []\r
2870     },\r
2871     {\r
2872         "id": "1932705.17f659",\r
2873         "type": "block",\r
2874         "name": "block : atomic",\r
2875         "xml": "<block atomic=\"true\">",\r
2876         "atomic": "true",\r
2877         "outputs": 1,\r
2878         "x": 4947.566665649414,\r
2879         "y": 1624.566665649414,\r
2880         "z": "9256178d.211a68",\r
2881         "wires": [\r
2882             [\r
2883                 "5f8b1fbc.6dcf18"\r
2884             ]\r
2885         ]\r
2886     },\r
2887     {\r
2888         "id": "c50f0505.bf6c28",\r
2889         "type": "outcome",\r
2890         "name": "network-resource",\r
2891         "xml": "<outcome value='network-resource'>",\r
2892         "comments": "",\r
2893         "outputs": 1,\r
2894         "x": 4770.566665649414,\r
2895         "y": 1632.566665649414,\r
2896         "z": "9256178d.211a68",\r
2897         "wires": [\r
2898             [\r
2899                 "1932705.17f659"\r
2900             ]\r
2901         ]\r
2902     },\r
2903     {\r
2904         "id": "43bfbebe.764f5",\r
2905         "type": "set",\r
2906         "name": "set the max bandwidth",\r
2907         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
2908         "comments": "",\r
2909         "x": 4388.566665649414,\r
2910         "y": 569.5666656494141,\r
2911         "z": "9256178d.211a68",\r
2912         "wires": []\r
2913     },\r
2914     {\r
2915         "id": "3a026a1.c8b1f96",\r
2916         "type": "execute",\r
2917         "name": "execute UUID generator for ethernet-service-name",\r
2918         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
2919         "comments": "",\r
2920         "outputs": 1,\r
2921         "x": 2744.566665649414,\r
2922         "y": 703.5666656494141,\r
2923         "z": "9256178d.211a68",\r
2924         "wires": [\r
2925             []\r
2926         ]\r
2927     },\r
2928     {\r
2929         "id": "5ea4cfd5.51261",\r
2930         "type": "execute",\r
2931         "name": "execute UUID generator for otn-tunnel-name",\r
2932         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
2933         "comments": "",\r
2934         "outputs": 1,\r
2935         "x": 2725.566665649414,\r
2936         "y": 753.5666656494141,\r
2937         "z": "9256178d.211a68",\r
2938         "wires": [\r
2939             []\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "48ff46b8.d3629",\r
2944         "type": "for",\r
2945         "name": "for each allotted-resource",\r
2946         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
2947         "comments": "",\r
2948         "outputs": 1,\r
2949         "x": 1986.566665649414,\r
2950         "y": 287.56666564941406,\r
2951         "z": "9256178d.211a68",\r
2952         "wires": [\r
2953             [\r
2954                 "84ff5346.d202e8",\r
2955                 "91e3d9ca.33dbb"\r
2956             ]\r
2957         ]\r
2958     },\r
2959     {\r
2960         "id": "84ff5346.d202e8",\r
2961         "type": "set",\r
2962         "name": "set the current allotted-resource-id",\r
2963         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
2964         "comments": "",\r
2965         "x": 2266.566665649414,\r
2966         "y": 225.56666564941406,\r
2967         "z": "9256178d.211a68",\r
2968         "wires": []\r
2969     },\r
2970     {\r
2971         "id": "f8f7fd3.b9ae18",\r
2972         "type": "set",\r
2973         "name": "set query_param",\r
2974         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
2975         "comments": "",\r
2976         "x": 2639.566665649414,\r
2977         "y": 2281.566665649414,\r
2978         "z": "9256178d.211a68",\r
2979         "wires": []\r
2980     },\r
2981     {\r
2982         "id": "eb24a93a.96e538",\r
2983         "type": "set",\r
2984         "name": "unset parameters",\r
2985         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
2986         "comments": "",\r
2987         "x": 2625.566665649414,\r
2988         "y": 3961.566665649414,\r
2989         "z": "9256178d.211a68",\r
2990         "wires": []\r
2991     },\r
2992     {\r
2993         "id": "e11f1e73.f567a8",\r
2994         "type": "set",\r
2995         "name": "set new ethernet-service-name",\r
2996         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
2997         "comments": "",\r
2998         "x": 2682.566665649414,\r
2999         "y": 798.5666656494141,\r
3000         "z": "9256178d.211a68",\r
3001         "wires": []\r
3002     },\r
3003     {\r
3004         "id": "9c7b5506.97a75",\r
3005         "type": "for",\r
3006         "name": "for vidx..tmp.otninfo_length[]",\r
3007         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
3008         "comments": "",\r
3009         "outputs": 1,\r
3010         "x": 2670.566665649414,\r
3011         "y": 2528.566665649414,\r
3012         "z": "9256178d.211a68",\r
3013         "wires": [\r
3014             [\r
3015                 "9ffd0093.8105f8"\r
3016             ]\r
3017         ]\r
3018     },\r
3019     {\r
3020         "id": "85036bc9.25f0a",\r
3021         "type": "save",\r
3022         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3023         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3024         "comments": "",\r
3025         "outputs": 1,\r
3026         "x": 3799.566665649414,\r
3027         "y": 2950.566665649414,\r
3028         "z": "9256178d.211a68",\r
3029         "wires": [\r
3030             [\r
3031                 "bd2b4caa.40f07"\r
3032             ]\r
3033         ]\r
3034     },\r
3035     {\r
3036         "id": "4d0fe394.a0f5c4",\r
3037         "type": "save",\r
3038         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3039         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
3040         "comments": "",\r
3041         "outputs": 1,\r
3042         "x": 4372.066665649414,\r
3043         "y": 3054.566665649414,\r
3044         "z": "9256178d.211a68",\r
3045         "wires": [\r
3046             []\r
3047         ]\r
3048     },\r
3049     {\r
3050         "id": "bd2b4caa.40f07",\r
3051         "type": "success",\r
3052         "name": "success",\r
3053         "xml": "<outcome value='success'>\n",\r
3054         "comments": "",\r
3055         "outputs": 1,\r
3056         "x": 4105.566665649414,\r
3057         "y": 2949.566665649414,\r
3058         "z": "9256178d.211a68",\r
3059         "wires": [\r
3060             [\r
3061                 "28d033b7.b1a7b4"\r
3062             ]\r
3063         ]\r
3064     },\r
3065     {\r
3066         "id": "28d033b7.b1a7b4",\r
3067         "type": "block",\r
3068         "name": "block",\r
3069         "xml": "<block>\n",\r
3070         "atomic": "false",\r
3071         "comments": "",\r
3072         "outputs": 1,\r
3073         "x": 4315.066665649414,\r
3074         "y": 2949.820571899414,\r
3075         "z": "9256178d.211a68",\r
3076         "wires": [\r
3077             []\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "da384da9.50fad",\r
3082         "type": "execute",\r
3083         "name": "execute UUID generator for vpn-binding $otnidx",\r
3084         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
3085         "comments": "",\r
3086         "outputs": 1,\r
3087         "x": 3832.566665649414,\r
3088         "y": 2429.566665649414,\r
3089         "z": "9256178d.211a68",\r
3090         "wires": [\r
3091             []\r
3092         ]\r
3093     },\r
3094     {\r
3095         "id": "458c9236.fc09c4",\r
3096         "type": "switchNode",\r
3097         "name": "switch otnidx == 0",\r
3098         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3099         "comments": "",\r
3100         "outputs": 1,\r
3101         "x": 3708.566665649414,\r
3102         "y": 3067.566665649414,\r
3103         "z": "9256178d.211a68",\r
3104         "wires": [\r
3105             [\r
3106                 "20b3c9fb.2f7a1e",\r
3107                 "2b2bcdf.9a75432"\r
3108             ]\r
3109         ]\r
3110     },\r
3111     {\r
3112         "id": "20b3c9fb.2f7a1e",\r
3113         "type": "outcomeTrue",\r
3114         "name": "true",\r
3115         "xml": "<outcome value='true'>\n",\r
3116         "comments": "",\r
3117         "outputs": 1,\r
3118         "x": 3891.566665649414,\r
3119         "y": 3067.566665649414,\r
3120         "z": "9256178d.211a68",\r
3121         "wires": [\r
3122             [\r
3123                 "85853f45.184448"\r
3124             ]\r
3125         ]\r
3126     },\r
3127     {\r
3128         "id": "2b2bcdf.9a75432",\r
3129         "type": "outcomeFalse",\r
3130         "name": "false",\r
3131         "xml": "<outcome value='false'>\n",\r
3132         "comments": "",\r
3133         "outputs": 1,\r
3134         "x": 3716.566665649414,\r
3135         "y": 3214.566665649414,\r
3136         "z": "9256178d.211a68",\r
3137         "wires": [\r
3138             [\r
3139                 "69e93af2.71c7f4"\r
3140             ]\r
3141         ]\r
3142     },\r
3143     {\r
3144         "id": "dec16147.315f48",\r
3145         "type": "switchNode",\r
3146         "name": "switch otnidx == last",\r
3147         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3148         "comments": "",\r
3149         "outputs": 1,\r
3150         "x": 4057.566665649414,\r
3151         "y": 3295.566665649414,\r
3152         "z": "9256178d.211a68",\r
3153         "wires": [\r
3154             [\r
3155                 "6e1ea31a.8dc254",\r
3156                 "3327fa99.59aede"\r
3157             ]\r
3158         ]\r
3159     },\r
3160     {\r
3161         "id": "6e1ea31a.8dc254",\r
3162         "type": "outcomeTrue",\r
3163         "name": "true",\r
3164         "xml": "<outcome value='true'>\n",\r
3165         "comments": "",\r
3166         "outputs": 1,\r
3167         "x": 4242.566665649414,\r
3168         "y": 3296.566665649414,\r
3169         "z": "9256178d.211a68",\r
3170         "wires": [\r
3171             [\r
3172                 "35e519f9.462626"\r
3173             ]\r
3174         ]\r
3175     },\r
3176     {\r
3177         "id": "3327fa99.59aede",\r
3178         "type": "outcomeFalse",\r
3179         "name": "false",\r
3180         "xml": "<outcome value='false'>\n",\r
3181         "comments": "",\r
3182         "outputs": 1,\r
3183         "x": 4261.566665649414,\r
3184         "y": 3562.566665649414,\r
3185         "z": "9256178d.211a68",\r
3186         "wires": [\r
3187             [\r
3188                 "234eca18.b570de"\r
3189             ]\r
3190         ]\r
3191     },\r
3192     {\r
3193         "id": "3a9f4476.809074",\r
3194         "type": "save",\r
3195         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3196         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
3197         "comments": "",\r
3198         "outputs": 1,\r
3199         "x": 4672.566665649414,\r
3200         "y": 3297.566665649414,\r
3201         "z": "9256178d.211a68",\r
3202         "wires": [\r
3203             []\r
3204         ]\r
3205     },\r
3206     {\r
3207         "id": "4efd8bac.69de6c",\r
3208         "type": "execute",\r
3209         "name": "execute UUID generator for connectivity domain otnidx",\r
3210         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3211         "comments": "",\r
3212         "outputs": 1,\r
3213         "x": 4746.566665649414,\r
3214         "y": 3595.566665649414,\r
3215         "z": "9256178d.211a68",\r
3216         "wires": [\r
3217             []\r
3218         ]\r
3219     },\r
3220     {\r
3221         "id": "401e45e3.6933bc",\r
3222         "type": "save",\r
3223         "name": "save connectivity resource in AAI",\r
3224         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<!--<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='cbs' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='ebs' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3225         "comments": "",\r
3226         "outputs": 1,\r
3227         "x": 4682.566665649414,\r
3228         "y": 3646.566665649414,\r
3229         "z": "9256178d.211a68",\r
3230         "wires": [\r
3231             []\r
3232         ]\r
3233     },\r
3234     {\r
3235         "id": "9a88afee.ea2358",\r
3236         "type": "save",\r
3237         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3238         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3239         "comments": "",\r
3240         "outputs": 1,\r
3241         "x": 4811.566665649414,\r
3242         "y": 3696.566665649414,\r
3243         "z": "9256178d.211a68",\r
3244         "wires": [\r
3245             []\r
3246         ]\r
3247     },\r
3248     {\r
3249         "id": "303e66ea.a0468a",\r
3250         "type": "comment",\r
3251         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3252         "info": "",\r
3253         "comments": "",\r
3254         "x": 4821.566665649414,\r
3255         "y": 3539.566665649414,\r
3256         "z": "9256178d.211a68",\r
3257         "wires": []\r
3258     },\r
3259     {\r
3260         "id": "bd97ab87.4b8898",\r
3261         "type": "save",\r
3262         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3263         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
3264         "comments": "",\r
3265         "outputs": 1,\r
3266         "x": 4779.566665649414,\r
3267         "y": 3755.566665649414,\r
3268         "z": "9256178d.211a68",\r
3269         "wires": [\r
3270             []\r
3271         ]\r
3272     },\r
3273     {\r
3274         "id": "234eca18.b570de",\r
3275         "type": "block",\r
3276         "name": "block : atomic",\r
3277         "xml": "<block atomic='true'>",\r
3278         "atomic": "true",\r
3279         "comments": "",\r
3280         "outputs": 1,\r
3281         "x": 4418.566665649414,\r
3282         "y": 3563.566665649414,\r
3283         "z": "9256178d.211a68",\r
3284         "wires": [\r
3285             [\r
3286                 "4efd8bac.69de6c",\r
3287                 "401e45e3.6933bc",\r
3288                 "9a88afee.ea2358",\r
3289                 "bd97ab87.4b8898",\r
3290                 "2cb520a2.c67d5"\r
3291             ]\r
3292         ]\r
3293     },\r
3294     {\r
3295         "id": "9ffd0093.8105f8",\r
3296         "type": "block",\r
3297         "name": "block : atomic",\r
3298         "xml": "<block atomic='true'>",\r
3299         "atomic": "true",\r
3300         "comments": "",\r
3301         "outputs": 1,\r
3302         "x": 2939.566665649414,\r
3303         "y": 2528.566665649414,\r
3304         "z": "9256178d.211a68",\r
3305         "wires": [\r
3306             [\r
3307                 "da384da9.50fad",\r
3308                 "85036bc9.25f0a",\r
3309                 "458c9236.fc09c4",\r
3310                 "afb7d963.d1d2e",\r
3311                 "b5c03e87.4a3d2",\r
3312                 "5fbd4527.08216c",\r
3313                 "580438cc.a39858"\r
3314             ]\r
3315         ]\r
3316     },\r
3317     {\r
3318         "id": "7371bc78.68f23c",\r
3319         "type": "set",\r
3320         "name": "set attachment_param domain A",\r
3321         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
3322         "comments": "",\r
3323         "x": 4296.566665649414,\r
3324         "y": 3111.566665649414,\r
3325         "z": "9256178d.211a68",\r
3326         "wires": []\r
3327     },\r
3328     {\r
3329         "id": "9da935b4.011d78",\r
3330         "type": "execute",\r
3331         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3332         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3333         "comments": "",\r
3334         "outputs": 1,\r
3335         "x": 4349.566665649414,\r
3336         "y": 3155.566665649414,\r
3337         "z": "9256178d.211a68",\r
3338         "wires": [\r
3339             [\r
3340                 "a38d117f.617d1",\r
3341                 "64ad5e9f.cde688"\r
3342             ]\r
3343         ]\r
3344     },\r
3345     {\r
3346         "id": "64ad5e9f.cde688",\r
3347         "type": "failure",\r
3348         "name": "failure",\r
3349         "xml": "<outcome value='failure'>\n",\r
3350         "comments": "",\r
3351         "outputs": 1,\r
3352         "x": 4620.566665649414,\r
3353         "y": 3140.566665649414,\r
3354         "z": "9256178d.211a68",\r
3355         "wires": [\r
3356             [\r
3357                 "ae1e714f.21e89"\r
3358             ]\r
3359         ]\r
3360     },\r
3361     {\r
3362         "id": "a38d117f.617d1",\r
3363         "type": "success",\r
3364         "name": "success",\r
3365         "xml": "<outcome value='success'>\n",\r
3366         "comments": "",\r
3367         "outputs": 1,\r
3368         "x": 4618.566879272461,\r
3369         "y": 3198.566575050354,\r
3370         "z": "9256178d.211a68",\r
3371         "wires": [\r
3372             [\r
3373                 "cc46ab1d.b8d358"\r
3374             ]\r
3375         ]\r
3376     },\r
3377     {\r
3378         "id": "ae1e714f.21e89",\r
3379         "type": "returnFailure",\r
3380         "name": "return failure",\r
3381         "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=\"Error executing UNI Coloring for domain A\" />\n",\r
3382         "comments": "",\r
3383         "x": 4760.566913604736,\r
3384         "y": 3140.5666666030884,\r
3385         "z": "9256178d.211a68",\r
3386         "wires": []\r
3387     },\r
3388     {\r
3389         "id": "cc46ab1d.b8d358",\r
3390         "type": "block",\r
3391         "name": "block",\r
3392         "xml": "<block>\n",\r
3393         "atomic": "false",\r
3394         "comments": "",\r
3395         "outputs": 1,\r
3396         "x": 4766.593925476074,\r
3397         "y": 3189.31206035614,\r
3398         "z": "9256178d.211a68",\r
3399         "wires": [\r
3400             []\r
3401         ]\r
3402     },\r
3403     {\r
3404         "id": "85853f45.184448",\r
3405         "type": "block",\r
3406         "name": "block",\r
3407         "xml": "<block>\n",\r
3408         "atomic": "false",\r
3409         "comments": "",\r
3410         "outputs": 1,\r
3411         "x": 4032.566665649414,\r
3412         "y": 3057.566665649414,\r
3413         "z": "9256178d.211a68",\r
3414         "wires": [\r
3415             [\r
3416                 "4d0fe394.a0f5c4",\r
3417                 "9da935b4.011d78",\r
3418                 "7371bc78.68f23c"\r
3419             ]\r
3420         ]\r
3421     },\r
3422     {\r
3423         "id": "35e519f9.462626",\r
3424         "type": "block",\r
3425         "name": "block",\r
3426         "xml": "<block>\n",\r
3427         "atomic": "false",\r
3428         "comments": "",\r
3429         "outputs": 1,\r
3430         "x": 4376.566665649414,\r
3431         "y": 3297.566665649414,\r
3432         "z": "9256178d.211a68",\r
3433         "wires": [\r
3434             [\r
3435                 "3a9f4476.809074",\r
3436                 "6085ae42.a24518",\r
3437                 "92ddf8d8.c0a7e"\r
3438             ]\r
3439         ]\r
3440     },\r
3441     {\r
3442         "id": "92ddf8d8.c0a7e",\r
3443         "type": "set",\r
3444         "name": "set attachment_param domain B",\r
3445         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3446         "comments": "",\r
3447         "x": 4596.566665649414,\r
3448         "y": 3341.566665649414,\r
3449         "z": "9256178d.211a68",\r
3450         "wires": []\r
3451     },\r
3452     {\r
3453         "id": "6085ae42.a24518",\r
3454         "type": "execute",\r
3455         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3456         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3457         "comments": "",\r
3458         "outputs": 1,\r
3459         "x": 4647.566665649414,\r
3460         "y": 3385.566665649414,\r
3461         "z": "9256178d.211a68",\r
3462         "wires": [\r
3463             [\r
3464                 "e3b13fd7.7163e8",\r
3465                 "22b24822.5449d"\r
3466             ]\r
3467         ]\r
3468     },\r
3469     {\r
3470         "id": "22b24822.5449d",\r
3471         "type": "failure",\r
3472         "name": "failure",\r
3473         "xml": "<outcome value='failure'>\n",\r
3474         "comments": "",\r
3475         "outputs": 1,\r
3476         "x": 4910.566665649414,\r
3477         "y": 3365.566665649414,\r
3478         "z": "9256178d.211a68",\r
3479         "wires": [\r
3480             [\r
3481                 "f1d0e9c2.a4fe58"\r
3482             ]\r
3483         ]\r
3484     },\r
3485     {\r
3486         "id": "e3b13fd7.7163e8",\r
3487         "type": "success",\r
3488         "name": "success",\r
3489         "xml": "<outcome value='success'>\n",\r
3490         "comments": "",\r
3491         "outputs": 1,\r
3492         "x": 4911.566879272461,\r
3493         "y": 3416.566575050354,\r
3494         "z": "9256178d.211a68",\r
3495         "wires": [\r
3496             [\r
3497                 "117ef1f.6c1660e"\r
3498             ]\r
3499         ]\r
3500     },\r
3501     {\r
3502         "id": "f1d0e9c2.a4fe58",\r
3503         "type": "returnFailure",\r
3504         "name": "return failure",\r
3505         "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=\"Error executing UNI coloring for domain B\" />\n",\r
3506         "comments": "",\r
3507         "x": 5050.566913604736,\r
3508         "y": 3365.5666666030884,\r
3509         "z": "9256178d.211a68",\r
3510         "wires": []\r
3511     },\r
3512     {\r
3513         "id": "117ef1f.6c1660e",\r
3514         "type": "block",\r
3515         "name": "block",\r
3516         "xml": "<block>\n",\r
3517         "atomic": "false",\r
3518         "comments": "",\r
3519         "outputs": 1,\r
3520         "x": 5056.593925476074,\r
3521         "y": 3414.31206035614,\r
3522         "z": "9256178d.211a68",\r
3523         "wires": [\r
3524             []\r
3525         ]\r
3526     },\r
3527     {\r
3528         "id": "2cb520a2.c67d5",\r
3529         "type": "set",\r
3530         "name": "set attachment_param domain otnidx",\r
3531         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3532         "comments": "",\r
3533         "x": 4693.566665649414,\r
3534         "y": 3815.566665649414,\r
3535         "z": "9256178d.211a68",\r
3536         "wires": []\r
3537     },\r
3538     {\r
3539         "id": "bb7c148d.8dd4d8",\r
3540         "type": "save",\r
3541         "name": "get all-vpn-bindings from aai",\r
3542         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
3543         "comments": "",\r
3544         "outputs": 1,\r
3545         "x": 2012.566665649414,\r
3546         "y": 4162.566665649414,\r
3547         "z": "9256178d.211a68",\r
3548         "wires": [\r
3549             [\r
3550                 "bfb40bbb.94779",\r
3551                 "3cbbde56.b4a31a",\r
3552                 "1a8f636f.24e13d"\r
3553             ]\r
3554         ]\r
3555     },\r
3556     {\r
3557         "id": "bfb40bbb.94779",\r
3558         "type": "success",\r
3559         "name": "success",\r
3560         "xml": "<outcome value='success'>\n",\r
3561         "comments": "",\r
3562         "outputs": 1,\r
3563         "x": 2200.566665649414,\r
3564         "y": 4175.566665649414,\r
3565         "z": "9256178d.211a68",\r
3566         "wires": [\r
3567             [\r
3568                 "eaca1bd7.371c7"\r
3569             ]\r
3570         ]\r
3571     },\r
3572     {\r
3573         "id": "3cbbde56.b4a31a",\r
3574         "type": "not-found",\r
3575         "name": "not-found",\r
3576         "xml": "<outcome value='not-found'>\n",\r
3577         "comments": "",\r
3578         "outputs": 1,\r
3579         "x": 2201.057632446289,\r
3580         "y": 4221.140701293945,\r
3581         "z": "9256178d.211a68",\r
3582         "wires": [\r
3583             [\r
3584                 "38f81285.85b9a6"\r
3585             ]\r
3586         ]\r
3587     },\r
3588     {\r
3589         "id": "1a8f636f.24e13d",\r
3590         "type": "failure",\r
3591         "name": "failure",\r
3592         "xml": "<outcome value='failure'>\n",\r
3593         "comments": "",\r
3594         "outputs": 1,\r
3595         "x": 2198.566665649414,\r
3596         "y": 4264.566665649414,\r
3597         "z": "9256178d.211a68",\r
3598         "wires": [\r
3599             [\r
3600                 "f0bf5dd6.fd17a"\r
3601             ]\r
3602         ]\r
3603     },\r
3604     {\r
3605         "id": "eaca1bd7.371c7",\r
3606         "type": "block",\r
3607         "name": "block : atomic",\r
3608         "xml": "<block atomic=\"true\">",\r
3609         "atomic": "true",\r
3610         "outputs": 1,\r
3611         "x": 2373.566665649414,\r
3612         "y": 4173.566665649414,\r
3613         "z": "9256178d.211a68",\r
3614         "wires": [\r
3615             [\r
3616                 "8ebcdd79.0a28b"\r
3617             ]\r
3618         ]\r
3619     },\r
3620     {\r
3621         "id": "38f81285.85b9a6",\r
3622         "type": "returnFailure",\r
3623         "name": "return failure",\r
3624         "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
3625         "comments": "",\r
3626         "x": 2363.6290435791016,\r
3627         "y": 4221.42643737793,\r
3628         "z": "9256178d.211a68",\r
3629         "wires": []\r
3630     },\r
3631     {\r
3632         "id": "f0bf5dd6.fd17a",\r
3633         "type": "returnFailure",\r
3634         "name": "return failure",\r
3635         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3636         "comments": "",\r
3637         "x": 2365.566665649414,\r
3638         "y": 4263.566665649414,\r
3639         "z": "9256178d.211a68",\r
3640         "wires": []\r
3641     },\r
3642     {\r
3643         "id": "782b021e.0fd0fc",\r
3644         "type": "for",\r
3645         "name": "for vidx..tmp.otninfo_length[]",\r
3646         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
3647         "comments": "",\r
3648         "outputs": 1,\r
3649         "x": 2001.566665649414,\r
3650         "y": 4353.566665649414,\r
3651         "z": "9256178d.211a68",\r
3652         "wires": [\r
3653             [\r
3654                 "80466868.45553"\r
3655             ]\r
3656         ]\r
3657     },\r
3658     {\r
3659         "id": "6f32f968.2f76b8",\r
3660         "type": "block",\r
3661         "name": "block : atomic",\r
3662         "xml": "<block atomic='true'>",\r
3663         "atomic": "true",\r
3664         "comments": "",\r
3665         "outputs": 1,\r
3666         "x": 2811.566665649414,\r
3667         "y": 4353.566665649414,\r
3668         "z": "9256178d.211a68",\r
3669         "wires": [\r
3670             [\r
3671                 "5534fc3.85d0104"\r
3672             ]\r
3673         ]\r
3674     },\r
3675     {\r
3676         "id": "be092ed.4a93b5",\r
3677         "type": "for",\r
3678         "name": "for vidx..tmp.otninfo_length[]",\r
3679         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
3680         "comments": "",\r
3681         "outputs": 1,\r
3682         "x": 2583.566665649414,\r
3683         "y": 4353.566665649414,\r
3684         "z": "9256178d.211a68",\r
3685         "wires": [\r
3686             [\r
3687                 "6f32f968.2f76b8"\r
3688             ]\r
3689         ]\r
3690     },\r
3691     {\r
3692         "id": "114fcf9e.f212a8",\r
3693         "type": "set",\r
3694         "name": "set providerValue",\r
3695         "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
3696         "comments": "",\r
3697         "x": 3703.566665649414,\r
3698         "y": 4120.566665649414,\r
3699         "z": "9256178d.211a68",\r
3700         "wires": []\r
3701     },\r
3702     {\r
3703         "id": "aaeb5226.81f7d",\r
3704         "type": "set",\r
3705         "name": "set",\r
3706         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
3707         "comments": "",\r
3708         "x": 4005.566665649414,\r
3709         "y": 3246.566665649414,\r
3710         "z": "9256178d.211a68",\r
3711         "wires": []\r
3712     },\r
3713     {\r
3714         "id": "69e93af2.71c7f4",\r
3715         "type": "block",\r
3716         "name": "block",\r
3717         "xml": "<block>\n",\r
3718         "atomic": "false",\r
3719         "comments": "",\r
3720         "outputs": 1,\r
3721         "x": 3840.566665649414,\r
3722         "y": 3221.566665649414,\r
3723         "z": "9256178d.211a68",\r
3724         "wires": [\r
3725             [\r
3726                 "aaeb5226.81f7d",\r
3727                 "dec16147.315f48"\r
3728             ]\r
3729         ]\r
3730     },\r
3731     {\r
3732         "id": "d12bfd13.8bf75",\r
3733         "type": "set",\r
3734         "name": "set tmp.arr",\r
3735         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
3736         "comments": "",\r
3737         "x": 1960.566665649414,\r
3738         "y": 237.56666564941406,\r
3739         "z": "9256178d.211a68",\r
3740         "wires": []\r
3741     },\r
3742     {\r
3743         "id": "8ebcdd79.0a28b",\r
3744         "type": "for",\r
3745         "name": "for vpnidx in all-vpn-bindings",\r
3746         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
3747         "comments": "",\r
3748         "outputs": 1,\r
3749         "x": 2602.566665649414,\r
3750         "y": 4174.566665649414,\r
3751         "z": "9256178d.211a68",\r
3752         "wires": [\r
3753             [\r
3754                 "3567bff3.8ebcd8"\r
3755             ]\r
3756         ]\r
3757     },\r
3758     {\r
3759         "id": "3567bff3.8ebcd8",\r
3760         "type": "block",\r
3761         "name": "block : atomic",\r
3762         "xml": "<block atomic='true'>",\r
3763         "atomic": "true",\r
3764         "comments": "",\r
3765         "outputs": 1,\r
3766         "x": 2817.566665649414,\r
3767         "y": 4175.566665649414,\r
3768         "z": "9256178d.211a68",\r
3769         "wires": [\r
3770             [\r
3771                 "473c1519.d01eb4"\r
3772             ]\r
3773         ]\r
3774     },\r
3775     {\r
3776         "id": "809d3147.ec0f3",\r
3777         "type": "for",\r
3778         "name": "for arridx in tmp.arr",\r
3779         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
3780         "comments": "",\r
3781         "outputs": 1,\r
3782         "x": 4270.566665649414,\r
3783         "y": 4095.566665649414,\r
3784         "z": "9256178d.211a68",\r
3785         "wires": [\r
3786             [\r
3787                 "aa9ab401.5fa778"\r
3788             ]\r
3789         ]\r
3790     },\r
3791     {\r
3792         "id": "5596317e.9b3628",\r
3793         "type": "switchNode",\r
3794         "name": "switch $tmp.arr_length != 0",\r
3795         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
3796         "comments": "",\r
3797         "outputs": 1,\r
3798         "x": 3736.566665649414,\r
3799         "y": 4175.566665649414,\r
3800         "z": "9256178d.211a68",\r
3801         "wires": [\r
3802             [\r
3803                 "a957484e.5a6ff",\r
3804                 "94a2b6d3.766e58"\r
3805             ]\r
3806         ]\r
3807     },\r
3808     {\r
3809         "id": "a957484e.5a6ff",\r
3810         "type": "outcomeTrue",\r
3811         "name": "true",\r
3812         "xml": "<outcome value='true'>\n",\r
3813         "comments": "",\r
3814         "outputs": 1,\r
3815         "x": 3932.566665649414,\r
3816         "y": 4145.566665649414,\r
3817         "z": "9256178d.211a68",\r
3818         "wires": [\r
3819             [\r
3820                 "b3c10703.b98f2"\r
3821             ]\r
3822         ]\r
3823     },\r
3824     {\r
3825         "id": "94a2b6d3.766e58",\r
3826         "type": "outcomeFalse",\r
3827         "name": "false",\r
3828         "xml": "<outcome value='false'>\n",\r
3829         "comments": "",\r
3830         "outputs": 1,\r
3831         "x": 3933.566665649414,\r
3832         "y": 4216.566665649414,\r
3833         "z": "9256178d.211a68",\r
3834         "wires": [\r
3835             [\r
3836                 "60df48e3.d4564"\r
3837             ]\r
3838         ]\r
3839     },\r
3840     {\r
3841         "id": "b3c10703.b98f2",\r
3842         "type": "block",\r
3843         "name": "block : atomic",\r
3844         "xml": "<block atomic='true'>",\r
3845         "atomic": "true",\r
3846         "comments": "",\r
3847         "outputs": 1,\r
3848         "x": 4083.566665649414,\r
3849         "y": 4143.566665649414,\r
3850         "z": "9256178d.211a68",\r
3851         "wires": [\r
3852             [\r
3853                 "809d3147.ec0f3",\r
3854                 "5065f5c6.173234"\r
3855             ]\r
3856         ]\r
3857     },\r
3858     {\r
3859         "id": "aa9ab401.5fa778",\r
3860         "type": "switchNode",\r
3861         "name": "switch tmp.arr[$arridx] == $providerValue",\r
3862         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
3863         "comments": "",\r
3864         "outputs": 1,\r
3865         "x": 4561.566665649414,\r
3866         "y": 4095.566665649414,\r
3867         "z": "9256178d.211a68",\r
3868         "wires": [\r
3869             [\r
3870                 "6d737171.e1452",\r
3871                 "b5a839dc.7835"\r
3872             ]\r
3873         ]\r
3874     },\r
3875     {\r
3876         "id": "6d737171.e1452",\r
3877         "type": "outcomeTrue",\r
3878         "name": "true",\r
3879         "xml": "<outcome value='true'>\n",\r
3880         "comments": "",\r
3881         "outputs": 1,\r
3882         "x": 4836.566665649414,\r
3883         "y": 4064.566665649414,\r
3884         "z": "9256178d.211a68",\r
3885         "wires": [\r
3886             [\r
3887                 "397594e.7aa86ec"\r
3888             ]\r
3889         ]\r
3890     },\r
3891     {\r
3892         "id": "b5a839dc.7835",\r
3893         "type": "outcomeFalse",\r
3894         "name": "false",\r
3895         "xml": "<outcome value='false'>\n",\r
3896         "comments": "",\r
3897         "outputs": 1,\r
3898         "x": 4837.566665649414,\r
3899         "y": 4135.566665649414,\r
3900         "z": "9256178d.211a68",\r
3901         "wires": [\r
3902             [\r
3903                 "49c3abd.61fa054"\r
3904             ]\r
3905         ]\r
3906     },\r
3907     {\r
3908         "id": "397594e.7aa86ec",\r
3909         "type": "block",\r
3910         "name": "block : atomic",\r
3911         "xml": "<block atomic='true'>",\r
3912         "atomic": "true",\r
3913         "comments": "",\r
3914         "outputs": 1,\r
3915         "x": 4987.566665649414,\r
3916         "y": 4062.566665649414,\r
3917         "z": "9256178d.211a68",\r
3918         "wires": [\r
3919             [\r
3920                 "412bffc9.1c0e28",\r
3921                 "1704d5ec.8e1b6a",\r
3922                 "12f4e6d8.82a019",\r
3923                 "d12115f5.e77c3",\r
3924                 "eb231f11.de562"\r
3925             ]\r
3926         ]\r
3927     },\r
3928     {\r
3929         "id": "412bffc9.1c0e28",\r
3930         "type": "set",\r
3931         "name": "set found to true",\r
3932         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
3933         "comments": "",\r
3934         "x": 5175.566665649414,\r
3935         "y": 4022.566665649414,\r
3936         "z": "9256178d.211a68",\r
3937         "wires": []\r
3938     },\r
3939     {\r
3940         "id": "1704d5ec.8e1b6a",\r
3941         "type": "save",\r
3942         "name": "store $arridx somewhere in vpn-binding",\r
3943         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
3944         "comments": "",\r
3945         "outputs": 1,\r
3946         "x": 5247.566665649414,\r
3947         "y": 4067.566665649414,\r
3948         "z": "9256178d.211a68",\r
3949         "wires": [\r
3950             []\r
3951         ]\r
3952     },\r
3953     {\r
3954         "id": "eb231f11.de562",\r
3955         "type": "set",\r
3956         "name": "set twoD arr",\r
3957         "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
3958         "comments": "",\r
3959         "x": 5162.566665649414,\r
3960         "y": 4194.566665649414,\r
3961         "z": "9256178d.211a68",\r
3962         "wires": []\r
3963     },\r
3964     {\r
3965         "id": "d12115f5.e77c3",\r
3966         "type": "set",\r
3967         "name": "set sizeOfSliceList",\r
3968         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
3969         "comments": "",\r
3970         "x": 5183.566665649414,\r
3971         "y": 4130.566665649414,\r
3972         "z": "9256178d.211a68",\r
3973         "wires": []\r
3974     },\r
3975     {\r
3976         "id": "60df48e3.d4564",\r
3977         "type": "block",\r
3978         "name": "block : atomic",\r
3979         "xml": "<block atomic='true'>",\r
3980         "atomic": "true",\r
3981         "comments": "",\r
3982         "outputs": 1,\r
3983         "x": 4085.566665649414,\r
3984         "y": 4216.566665649414,\r
3985         "z": "9256178d.211a68",\r
3986         "wires": [\r
3987             [\r
3988                 "974dbcc3.cf34c8",\r
3989                 "ca9f0d65.bbf04"\r
3990             ]\r
3991         ]\r
3992     },\r
3993     {\r
3994         "id": "974dbcc3.cf34c8",\r
3995         "type": "save",\r
3996         "name": "store $arridx somewhere in vpn-binding",\r
3997         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
3998         "comments": "",\r
3999         "outputs": 1,\r
4000         "x": 4340.566665649414,\r
4001         "y": 4209.566665649414,\r
4002         "z": "9256178d.211a68",\r
4003         "wires": [\r
4004             []\r
4005         ]\r
4006     },\r
4007     {\r
4008         "id": "ca9f0d65.bbf04",\r
4009         "type": "set",\r
4010         "name": "set twoD array",\r
4011         "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
4012         "comments": "",\r
4013         "x": 4268.566665649414,\r
4014         "y": 4256.566665649414,\r
4015         "z": "9256178d.211a68",\r
4016         "wires": []\r
4017     },\r
4018     {\r
4019         "id": "5065f5c6.173234",\r
4020         "type": "switchNode",\r
4021         "name": "switch found?",\r
4022         "xml": "<switch test='`$found`'>\n",\r
4023         "comments": "",\r
4024         "outputs": 1,\r
4025         "x": 4261.566665649414,\r
4026         "y": 4140.566665649414,\r
4027         "z": "9256178d.211a68",\r
4028         "wires": [\r
4029             [\r
4030                 "f595c5ce.d138f8",\r
4031                 "a27215c.554f2e8"\r
4032             ]\r
4033         ]\r
4034     },\r
4035     {\r
4036         "id": "f595c5ce.d138f8",\r
4037         "type": "outcomeTrue",\r
4038         "name": "true",\r
4039         "xml": "<outcome value='true'>\n",\r
4040         "comments": "",\r
4041         "outputs": 1,\r
4042         "x": 4421.566665649414,\r
4043         "y": 4132.566665649414,\r
4044         "z": "9256178d.211a68",\r
4045         "wires": [\r
4046             [\r
4047                 "3c70617c.e2885e"\r
4048             ]\r
4049         ]\r
4050     },\r
4051     {\r
4052         "id": "a27215c.554f2e8",\r
4053         "type": "outcomeFalse",\r
4054         "name": "false",\r
4055         "xml": "<outcome value='false'>\n",\r
4056         "comments": "",\r
4057         "outputs": 1,\r
4058         "x": 4419.566665649414,\r
4059         "y": 4169.566665649414,\r
4060         "z": "9256178d.211a68",\r
4061         "wires": [\r
4062             [\r
4063                 "27b0e714.f2ecf8"\r
4064             ]\r
4065         ]\r
4066     },\r
4067     {\r
4068         "id": "3c70617c.e2885e",\r
4069         "type": "block",\r
4070         "name": "block",\r
4071         "xml": "<block>\n",\r
4072         "atomic": "false",\r
4073         "comments": "",\r
4074         "outputs": 1,\r
4075         "x": 4546.566665649414,\r
4076         "y": 4132.566665649414,\r
4077         "z": "9256178d.211a68",\r
4078         "wires": [\r
4079             []\r
4080         ]\r
4081     },\r
4082     {\r
4083         "id": "a0581441.562ff8",\r
4084         "type": "save",\r
4085         "name": "store $arridx+1 somewhere in vpn-binding",\r
4086         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
4087         "comments": "",\r
4088         "outputs": 1,\r
4089         "x": 4853.566665649414,\r
4090         "y": 4190.566665649414,\r
4091         "z": "9256178d.211a68",\r
4092         "wires": [\r
4093             []\r
4094         ]\r
4095     },\r
4096     {\r
4097         "id": "27b0e714.f2ecf8",\r
4098         "type": "block",\r
4099         "name": "block : atomic",\r
4100         "xml": "<block atomic='true'>",\r
4101         "atomic": "true",\r
4102         "comments": "",\r
4103         "outputs": 1,\r
4104         "x": 4579.566665649414,\r
4105         "y": 4177.566665649414,\r
4106         "z": "9256178d.211a68",\r
4107         "wires": [\r
4108             [\r
4109                 "a0581441.562ff8",\r
4110                 "a72a86e5.09979"\r
4111             ]\r
4112         ]\r
4113     },\r
4114     {\r
4115         "id": "a72a86e5.09979",\r
4116         "type": "set",\r
4117         "name": "set twoD array",\r
4118         "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
4119         "comments": "",\r
4120         "x": 4770.566665649414,\r
4121         "y": 4236.566665649414,\r
4122         "z": "9256178d.211a68",\r
4123         "wires": []\r
4124     },\r
4125     {\r
4126         "id": "49c3abd.61fa054",\r
4127         "type": "block",\r
4128         "name": "block",\r
4129         "xml": "<block>\n",\r
4130         "atomic": "false",\r
4131         "comments": "",\r
4132         "outputs": 1,\r
4133         "x": 4970.566665649414,\r
4134         "y": 4134.566665649414,\r
4135         "z": "9256178d.211a68",\r
4136         "wires": [\r
4137             []\r
4138         ]\r
4139     },\r
4140     {\r
4141         "id": "12f4e6d8.82a019",\r
4142         "type": "break",\r
4143         "name": "break",\r
4144         "xml": "<break>\n",\r
4145         "comments": "",\r
4146         "x": 5141.566665649414,\r
4147         "y": 4261.566665649414,\r
4148         "z": "9256178d.211a68",\r
4149         "wires": []\r
4150     },\r
4151     {\r
4152         "id": "afb7d963.d1d2e",\r
4153         "type": "switchNode",\r
4154         "name": "switch dstPort == NULL",\r
4155         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4156         "comments": "",\r
4157         "outputs": 1,\r
4158         "x": 3546.566665649414,\r
4159         "y": 2519.566665649414,\r
4160         "z": "9256178d.211a68",\r
4161         "wires": [\r
4162             [\r
4163                 "2a68f8d8.e1dda",\r
4164                 "4b46d94e.68d61"\r
4165             ]\r
4166         ]\r
4167     },\r
4168     {\r
4169         "id": "2a68f8d8.e1dda",\r
4170         "type": "outcomeTrue",\r
4171         "name": "true",\r
4172         "xml": "<outcome value='true'>\n",\r
4173         "comments": "",\r
4174         "outputs": 1,\r
4175         "x": 3912.566665649414,\r
4176         "y": 2480.566665649414,\r
4177         "z": "9256178d.211a68",\r
4178         "wires": [\r
4179             [\r
4180                 "9cc98ff4.caf3c"\r
4181             ]\r
4182         ]\r
4183     },\r
4184     {\r
4185         "id": "4b46d94e.68d61",\r
4186         "type": "outcomeFalse",\r
4187         "name": "false",\r
4188         "xml": "<outcome value='false'>\n",\r
4189         "comments": "",\r
4190         "outputs": 1,\r
4191         "x": 3913.566665649414,\r
4192         "y": 2526.566665649414,\r
4193         "z": "9256178d.211a68",\r
4194         "wires": [\r
4195             [\r
4196                 "a85d4c51.ca6c38"\r
4197             ]\r
4198         ]\r
4199     },\r
4200     {\r
4201         "id": "9cc98ff4.caf3c",\r
4202         "type": "set",\r
4203         "name": "set access-provider-id and client-id",\r
4204         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
4205         "comments": "",\r
4206         "x": 4126.566665649414,\r
4207         "y": 2479.566665649414,\r
4208         "z": "9256178d.211a68",\r
4209         "wires": []\r
4210     },\r
4211     {\r
4212         "id": "a85d4c51.ca6c38",\r
4213         "type": "set",\r
4214         "name": "set access-provider-id and client-id",\r
4215         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
4216         "comments": "",\r
4217         "x": 4124.566665649414,\r
4218         "y": 2524.566665649414,\r
4219         "z": "9256178d.211a68",\r
4220         "wires": []\r
4221     },\r
4222     {\r
4223         "id": "5534fc3.85d0104",\r
4224         "type": "set",\r
4225         "name": "set attachment_param sliceG",\r
4226         "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
4227         "comments": "",\r
4228         "x": 3064.566665649414,\r
4229         "y": 4351.566665649414,\r
4230         "z": "9256178d.211a68",\r
4231         "wires": []\r
4232     },\r
4233     {\r
4234         "id": "42aa6078.f937c",\r
4235         "type": "execute",\r
4236         "name": "execute RestApiCallNode sliceG creation domainG",\r
4237         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
4238         "comments": "",\r
4239         "outputs": 1,\r
4240         "x": 2649.566665649414,\r
4241         "y": 4459.566665649414,\r
4242         "z": "9256178d.211a68",\r
4243         "wires": [\r
4244             [\r
4245                 "51d7fa89.689264",\r
4246                 "5ac90edf.1e939"\r
4247             ]\r
4248         ]\r
4249     },\r
4250     {\r
4251         "id": "5ac90edf.1e939",\r
4252         "type": "failure",\r
4253         "name": "failure",\r
4254         "xml": "<outcome value='failure'>\n",\r
4255         "comments": "",\r
4256         "outputs": 1,\r
4257         "x": 2932.566665649414,\r
4258         "y": 4439.566665649414,\r
4259         "z": "9256178d.211a68",\r
4260         "wires": [\r
4261             [\r
4262                 "86bbe7aa.1bf2"\r
4263             ]\r
4264         ]\r
4265     },\r
4266     {\r
4267         "id": "51d7fa89.689264",\r
4268         "type": "success",\r
4269         "name": "success",\r
4270         "xml": "<outcome value='success'>\n",\r
4271         "comments": "",\r
4272         "outputs": 1,\r
4273         "x": 2933.566879272461,\r
4274         "y": 4490.566575050354,\r
4275         "z": "9256178d.211a68",\r
4276         "wires": [\r
4277             [\r
4278                 "f017812e.0e0548"\r
4279             ]\r
4280         ]\r
4281     },\r
4282     {\r
4283         "id": "86bbe7aa.1bf2",\r
4284         "type": "returnFailure",\r
4285         "name": "return failure",\r
4286         "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=\"Error executing slice creation api for domain A\" />\n",\r
4287         "comments": "",\r
4288         "x": 3072.5669136047363,\r
4289         "y": 4439.566666603088,\r
4290         "z": "9256178d.211a68",\r
4291         "wires": []\r
4292     },\r
4293     {\r
4294         "id": "f017812e.0e0548",\r
4295         "type": "block",\r
4296         "name": "block",\r
4297         "xml": "<block>\n",\r
4298         "atomic": "false",\r
4299         "comments": "",\r
4300         "outputs": 1,\r
4301         "x": 3078.593925476074,\r
4302         "y": 4488.31206035614,\r
4303         "z": "9256178d.211a68",\r
4304         "wires": [\r
4305             []\r
4306         ]\r
4307     },\r
4308     {\r
4309         "id": "b5c03e87.4a3d2",\r
4310         "type": "set",\r
4311         "name": "set srcdstpnf-name",\r
4312         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
4313         "comments": "",\r
4314         "x": 3722.566665649414,\r
4315         "y": 2593.566665649414,\r
4316         "z": "9256178d.211a68",\r
4317         "wires": []\r
4318     },\r
4319     {\r
4320         "id": "5fbd4527.08216c",\r
4321         "type": "get-resource",\r
4322         "name": "get-resource tmp.srcdstpnf-name",\r
4323         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4324         "comments": "",\r
4325         "outputs": 1,\r
4326         "x": 3766.566665649414,\r
4327         "y": 2641.566665649414,\r
4328         "z": "9256178d.211a68",\r
4329         "wires": [\r
4330             [\r
4331                 "1efdee28.f91a52",\r
4332                 "64406c95.e8d00c",\r
4333                 "d9f7dd8f.9ba66"\r
4334             ]\r
4335         ]\r
4336     },\r
4337     {\r
4338         "id": "1efdee28.f91a52",\r
4339         "type": "success",\r
4340         "name": "success",\r
4341         "xml": "<outcome value='success'>\n",\r
4342         "comments": "",\r
4343         "outputs": 1,\r
4344         "x": 3979.066665649414,\r
4345         "y": 2588.566665649414,\r
4346         "z": "9256178d.211a68",\r
4347         "wires": [\r
4348             [\r
4349                 "2ed8b0a7.4efac8"\r
4350             ]\r
4351         ]\r
4352     },\r
4353     {\r
4354         "id": "64406c95.e8d00c",\r
4355         "type": "not-found",\r
4356         "name": "not-found",\r
4357         "xml": "<outcome value='not-found'>\n",\r
4358         "comments": "",\r
4359         "outputs": 1,\r
4360         "x": 3991.066665649414,\r
4361         "y": 2638.566665649414,\r
4362         "z": "9256178d.211a68",\r
4363         "wires": [\r
4364             [\r
4365                 "51fd5363.368514"\r
4366             ]\r
4367         ]\r
4368     },\r
4369     {\r
4370         "id": "d9f7dd8f.9ba66",\r
4371         "type": "other",\r
4372         "name": "other",\r
4373         "xml": "<outcome value='Other'>\n",\r
4374         "comments": "",\r
4375         "outputs": 1,\r
4376         "x": 3982.066665649414,\r
4377         "y": 2693.566665649414,\r
4378         "z": "9256178d.211a68",\r
4379         "wires": [\r
4380             [\r
4381                 "e38f0d80.1c1bb"\r
4382             ]\r
4383         ]\r
4384     },\r
4385     {\r
4386         "id": "e38f0d80.1c1bb",\r
4387         "type": "returnFailure",\r
4388         "name": "return failure",\r
4389         "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.connection-attachement.access-node-id`\" />\n\n",\r
4390         "comments": "",\r
4391         "x": 4127.066665649414,\r
4392         "y": 2692.566665649414,\r
4393         "z": "9256178d.211a68",\r
4394         "wires": []\r
4395     },\r
4396     {\r
4397         "id": "51fd5363.368514",\r
4398         "type": "returnFailure",\r
4399         "name": "return failure",\r
4400         "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.connection-attachement.access-node-id`\" />\n\n",\r
4401         "comments": "",\r
4402         "x": 4138.066665649414,\r
4403         "y": 2635.566665649414,\r
4404         "z": "9256178d.211a68",\r
4405         "wires": []\r
4406     },\r
4407     {\r
4408         "id": "2ed8b0a7.4efac8",\r
4409         "type": "block",\r
4410         "name": "block",\r
4411         "xml": "<block>\n",\r
4412         "atomic": "false",\r
4413         "comments": "",\r
4414         "outputs": 1,\r
4415         "x": 4104.449111938477,\r
4416         "y": 2582.2223358154297,\r
4417         "z": "9256178d.211a68",\r
4418         "wires": [\r
4419             [\r
4420                 "6b9e1826.ee6da8"\r
4421             ]\r
4422         ]\r
4423     },\r
4424     {\r
4425         "id": "138f1f2d.7207a9",\r
4426         "type": "outcome",\r
4427         "name": "esr-thirdparty-sdnc",\r
4428         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
4429         "comments": "",\r
4430         "outputs": 1,\r
4431         "x": 4663.566665649414,\r
4432         "y": 2600.566665649414,\r
4433         "z": "9256178d.211a68",\r
4434         "wires": [\r
4435             [\r
4436                 "d1f83019.79c9b"\r
4437             ]\r
4438         ]\r
4439     },\r
4440     {\r
4441         "id": "d1f83019.79c9b",\r
4442         "type": "block",\r
4443         "name": "block : atomic",\r
4444         "xml": "<block atomic=\"true\">",\r
4445         "atomic": "true",\r
4446         "outputs": 1,\r
4447         "x": 4840.566665649414,\r
4448         "y": 2592.566665649414,\r
4449         "z": "9256178d.211a68",\r
4450         "wires": [\r
4451             [\r
4452                 "7ed11e.38da0ee4",\r
4453                 "162cc00f.d817a8"\r
4454             ]\r
4455         ]\r
4456     },\r
4457     {\r
4458         "id": "6b9e1826.ee6da8",\r
4459         "type": "for",\r
4460         "name": "for each relationship",\r
4461         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
4462         "comments": "",\r
4463         "outputs": 1,\r
4464         "x": 4265.566665649414,\r
4465         "y": 2596.566665649414,\r
4466         "z": "9256178d.211a68",\r
4467         "wires": [\r
4468             [\r
4469                 "86ec64e1.e780c"\r
4470             ]\r
4471         ]\r
4472     },\r
4473     {\r
4474         "id": "86ec64e1.e780c",\r
4475         "type": "switchNode",\r
4476         "name": "switch related-to",\r
4477         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4478         "comments": "",\r
4479         "outputs": 1,\r
4480         "x": 4460.566665649414,\r
4481         "y": 2596.566665649414,\r
4482         "z": "9256178d.211a68",\r
4483         "wires": [\r
4484             [\r
4485                 "138f1f2d.7207a9"\r
4486             ]\r
4487         ]\r
4488     },\r
4489     {\r
4490         "id": "162cc00f.d817a8",\r
4491         "type": "execute",\r
4492         "name": "get esr-thirdparty-sdnc",\r
4493         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
4494         "comments": "",\r
4495         "outputs": 1,\r
4496         "x": 5048.566665649414,\r
4497         "y": 2599.566665649414,\r
4498         "z": "9256178d.211a68",\r
4499         "wires": [\r
4500             [\r
4501                 "e0385378.198358",\r
4502                 "503d9090.68b5e8",\r
4503                 "17aba33b.4460b5"\r
4504             ]\r
4505         ]\r
4506     },\r
4507     {\r
4508         "id": "7ed11e.38da0ee4",\r
4509         "type": "set",\r
4510         "name": "set esr-thirdparty-sdnc domainG id",\r
4511         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
4512         "comments": "",\r
4513         "x": 5078.566665649414,\r
4514         "y": 2547.566665649414,\r
4515         "z": "9256178d.211a68",\r
4516         "wires": []\r
4517     },\r
4518     {\r
4519         "id": "e0385378.198358",\r
4520         "type": "success",\r
4521         "name": "success",\r
4522         "xml": "<outcome value='success'>\n",\r
4523         "comments": "",\r
4524         "outputs": 1,\r
4525         "x": 5258.566665649414,\r
4526         "y": 2590.566665649414,\r
4527         "z": "9256178d.211a68",\r
4528         "wires": [\r
4529             [\r
4530                 "2933c6cc.a68082"\r
4531             ]\r
4532         ]\r
4533     },\r
4534     {\r
4535         "id": "503d9090.68b5e8",\r
4536         "type": "not-found",\r
4537         "name": "not-found",\r
4538         "xml": "<outcome value='not-found'>\n",\r
4539         "comments": "",\r
4540         "outputs": 1,\r
4541         "x": 5250.566665649414,\r
4542         "y": 2645.566665649414,\r
4543         "z": "9256178d.211a68",\r
4544         "wires": [\r
4545             [\r
4546                 "d5a44647.f1fdd8"\r
4547             ]\r
4548         ]\r
4549     },\r
4550     {\r
4551         "id": "17aba33b.4460b5",\r
4552         "type": "other",\r
4553         "name": "other",\r
4554         "xml": "<outcome value='Other'>\n",\r
4555         "comments": "",\r
4556         "outputs": 1,\r
4557         "x": 5255.566665649414,\r
4558         "y": 2702.566665649414,\r
4559         "z": "9256178d.211a68",\r
4560         "wires": [\r
4561             [\r
4562                 "8e808d45.23fde8"\r
4563             ]\r
4564         ]\r
4565     },\r
4566     {\r
4567         "id": "8e808d45.23fde8",\r
4568         "type": "returnFailure",\r
4569         "name": "return failure",\r
4570         "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.connection-attachement.access-node-id`\" />\n\n",\r
4571         "comments": "",\r
4572         "x": 5407.566665649414,\r
4573         "y": 2703.566665649414,\r
4574         "z": "9256178d.211a68",\r
4575         "wires": []\r
4576     },\r
4577     {\r
4578         "id": "d5a44647.f1fdd8",\r
4579         "type": "returnFailure",\r
4580         "name": "return failure",\r
4581         "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.connection-attachement.access-node-id`\" />\n\n",\r
4582         "comments": "",\r
4583         "x": 5418.566665649414,\r
4584         "y": 2648.566665649414,\r
4585         "z": "9256178d.211a68",\r
4586         "wires": []\r
4587     },\r
4588     {\r
4589         "id": "2933c6cc.a68082",\r
4590         "type": "block",\r
4591         "name": "block",\r
4592         "xml": "<block>\n",\r
4593         "atomic": "false",\r
4594         "comments": "",\r
4595         "outputs": 1,\r
4596         "x": 5402.948989868164,\r
4597         "y": 2588.2223358154297,\r
4598         "z": "9256178d.211a68",\r
4599         "wires": [\r
4600             [\r
4601                 "ee8d6c6a.1b65b8"\r
4602             ]\r
4603         ]\r
4604     },\r
4605     {\r
4606         "id": "ee8d6c6a.1b65b8",\r
4607         "type": "set",\r
4608         "name": "set controller domainA data",\r
4609         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
4610         "comments": "",\r
4611         "x": 5617.566665649414,\r
4612         "y": 2584.566665649414,\r
4613         "z": "9256178d.211a68",\r
4614         "wires": []\r
4615     },\r
4616     {\r
4617         "id": "80466868.45553",\r
4618         "type": "block",\r
4619         "name": "block : atomic",\r
4620         "xml": "<block atomic='true'>",\r
4621         "atomic": "true",\r
4622         "comments": "",\r
4623         "outputs": 1,\r
4624         "x": 2233.566665649414,\r
4625         "y": 4351.566665649414,\r
4626         "z": "9256178d.211a68",\r
4627         "wires": [\r
4628             [\r
4629                 "be092ed.4a93b5",\r
4630                 "42aa6078.f937c"\r
4631             ]\r
4632         ]\r
4633     },\r
4634     {\r
4635         "id": "580438cc.a39858",\r
4636         "type": "switchNode",\r
4637         "name": "switch dmnsidx == 0 (domainA)",\r
4638         "xml": "<switch test='`$otnidx == 0`'>\n",\r
4639         "comments": "",\r
4640         "outputs": 1,\r
4641         "x": 3736.566665649414,\r
4642         "y": 2810.566665649414,\r
4643         "z": "9256178d.211a68",\r
4644         "wires": [\r
4645             [\r
4646                 "253b733.7c34c8c",\r
4647                 "ac577a23.1df5c8"\r
4648             ]\r
4649         ]\r
4650     },\r
4651     {\r
4652         "id": "253b733.7c34c8c",\r
4653         "type": "outcomeTrue",\r
4654         "name": "true",\r
4655         "xml": "<outcome value='true'>\n",\r
4656         "comments": "",\r
4657         "outputs": 1,\r
4658         "x": 3937.566665649414,\r
4659         "y": 2808.566665649414,\r
4660         "z": "9256178d.211a68",\r
4661         "wires": [\r
4662             [\r
4663                 "489357ce.d601e8"\r
4664             ]\r
4665         ]\r
4666     },\r
4667     {\r
4668         "id": "4ffee2dc.bf60cc",\r
4669         "type": "set",\r
4670         "name": "set pce-src-node",\r
4671         "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
4672         "comments": "",\r
4673         "x": 4218.566665649414,\r
4674         "y": 2758.566665649414,\r
4675         "z": "9256178d.211a68",\r
4676         "wires": []\r
4677     },\r
4678     {\r
4679         "id": "f4366d42.1a2168",\r
4680         "type": "switchNode",\r
4681         "name": "switch dmnsidx == last (domainB)",\r
4682         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
4683         "comments": "",\r
4684         "outputs": 1,\r
4685         "x": 4154.566665649414,\r
4686         "y": 2859.566665649414,\r
4687         "z": "9256178d.211a68",\r
4688         "wires": [\r
4689             [\r
4690                 "ed86bff.8de464",\r
4691                 "8d9d80f9.3a4208"\r
4692             ]\r
4693         ]\r
4694     },\r
4695     {\r
4696         "id": "ed86bff.8de464",\r
4697         "type": "outcomeTrue",\r
4698         "name": "true",\r
4699         "xml": "<outcome value='true'>\n",\r
4700         "comments": "",\r
4701         "outputs": 1,\r
4702         "x": 4384.566665649414,\r
4703         "y": 2855.566665649414,\r
4704         "z": "9256178d.211a68",\r
4705         "wires": [\r
4706             [\r
4707                 "7e911b6f.cd69e4"\r
4708             ]\r
4709         ]\r
4710     },\r
4711     {\r
4712         "id": "b90e6234.50db9",\r
4713         "type": "set",\r
4714         "name": "set attachment_param domain B",\r
4715         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
4716         "comments": "",\r
4717         "x": 4721.566665649414,\r
4718         "y": 2799.566665649414,\r
4719         "z": "9256178d.211a68",\r
4720         "wires": []\r
4721     },\r
4722     {\r
4723         "id": "ac577a23.1df5c8",\r
4724         "type": "outcomeFalse",\r
4725         "name": "false",\r
4726         "xml": "<outcome value='false'>\n",\r
4727         "comments": "",\r
4728         "outputs": 1,\r
4729         "x": 3937.566665649414,\r
4730         "y": 2857.566665649414,\r
4731         "z": "9256178d.211a68",\r
4732         "wires": [\r
4733             [\r
4734                 "f4366d42.1a2168"\r
4735             ]\r
4736         ]\r
4737     },\r
4738     {\r
4739         "id": "8d9d80f9.3a4208",\r
4740         "type": "outcomeFalse",\r
4741         "name": "false",\r
4742         "xml": "<outcome value='false'>\n",\r
4743         "comments": "",\r
4744         "outputs": 1,\r
4745         "x": 4385.566665649414,\r
4746         "y": 2901.566665649414,\r
4747         "z": "9256178d.211a68",\r
4748         "wires": [\r
4749             [\r
4750                 "c46aeca7.68602"\r
4751             ]\r
4752         ]\r
4753     },\r
4754     {\r
4755         "id": "c46aeca7.68602",\r
4756         "type": "set",\r
4757         "name": "set attachment_param domain G",\r
4758         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4759         "comments": "",\r
4760         "x": 4599.566665649414,\r
4761         "y": 2901.566665649414,\r
4762         "z": "9256178d.211a68",\r
4763         "wires": []\r
4764     },\r
4765     {\r
4766         "id": "b5fed2d4.4f9558",\r
4767         "type": "set",\r
4768         "name": "set tmp.slicevpns",\r
4769         "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
4770         "comments": "",\r
4771         "x": 4497.566665649414,\r
4772         "y": 2950.566665649414,\r
4773         "z": "9256178d.211a68",\r
4774         "wires": []\r
4775     },\r
4776     {\r
4777         "id": "473c1519.d01eb4",\r
4778         "type": "switchNode",\r
4779         "name": "switch vpnuuid is for this slice",\r
4780         "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
4781         "comments": "",\r
4782         "outputs": 1,\r
4783         "x": 3061.566665649414,\r
4784         "y": 4174.566665649414,\r
4785         "z": "9256178d.211a68",\r
4786         "wires": [\r
4787             [\r
4788                 "1fb0ccb2.86983b",\r
4789                 "44883739.f6f7d8"\r
4790             ]\r
4791         ]\r
4792     },\r
4793     {\r
4794         "id": "1fb0ccb2.86983b",\r
4795         "type": "outcomeTrue",\r
4796         "name": "true",\r
4797         "xml": "<outcome value='true'>\n",\r
4798         "comments": "",\r
4799         "outputs": 1,\r
4800         "x": 3278.566665649414,\r
4801         "y": 4153.566665649414,\r
4802         "z": "9256178d.211a68",\r
4803         "wires": [\r
4804             [\r
4805                 "7e38fab1.3b9244"\r
4806             ]\r
4807         ]\r
4808     },\r
4809     {\r
4810         "id": "44883739.f6f7d8",\r
4811         "type": "outcomeFalse",\r
4812         "name": "false",\r
4813         "xml": "<outcome value='false'>\n",\r
4814         "comments": "",\r
4815         "outputs": 1,\r
4816         "x": 3278.566665649414,\r
4817         "y": 4202.566665649414,\r
4818         "z": "9256178d.211a68",\r
4819         "wires": [\r
4820             []\r
4821         ]\r
4822     },\r
4823     {\r
4824         "id": "7e38fab1.3b9244",\r
4825         "type": "block",\r
4826         "name": "block : atomic",\r
4827         "xml": "<block atomic='true'>",\r
4828         "atomic": "true",\r
4829         "comments": "",\r
4830         "outputs": 1,\r
4831         "x": 3446.566665649414,\r
4832         "y": 4153.566665649414,\r
4833         "z": "9256178d.211a68",\r
4834         "wires": [\r
4835             [\r
4836                 "114fcf9e.f212a8",\r
4837                 "5596317e.9b3628"\r
4838             ]\r
4839         ]\r
4840     },\r
4841     {\r
4842         "id": "a0f26d15.101368",\r
4843         "type": "set",\r
4844         "name": "set attachment_param domain A",\r
4845         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4846         "comments": "",\r
4847         "x": 4273.566665649414,\r
4848         "y": 2805.566665649414,\r
4849         "z": "9256178d.211a68",\r
4850         "wires": []\r
4851     },\r
4852     {\r
4853         "id": "489357ce.d601e8",\r
4854         "type": "block",\r
4855         "name": "block",\r
4856         "xml": "<block>\n",\r
4857         "atomic": "false",\r
4858         "comments": "",\r
4859         "outputs": 1,\r
4860         "x": 4061.566665649414,\r
4861         "y": 2799.566665649414,\r
4862         "z": "9256178d.211a68",\r
4863         "wires": [\r
4864             [\r
4865                 "a0f26d15.101368"\r
4866             ]\r
4867         ]\r
4868     },\r
4869     {\r
4870         "id": "3c67b199.38de76",\r
4871         "type": "set",\r
4872         "name": "set pce-src-node",\r
4873         "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
4874         "comments": "",\r
4875         "x": 4673.566665649414,\r
4876         "y": 2847.566665649414,\r
4877         "z": "9256178d.211a68",\r
4878         "wires": []\r
4879     },\r
4880     {\r
4881         "id": "7e911b6f.cd69e4",\r
4882         "type": "block",\r
4883         "name": "block",\r
4884         "xml": "<block>\n",\r
4885         "atomic": "false",\r
4886         "comments": "",\r
4887         "outputs": 1,\r
4888         "x": 4517.566665649414,\r
4889         "y": 2831.566665649414,\r
4890         "z": "9256178d.211a68",\r
4891         "wires": [\r
4892             [\r
4893                 "b90e6234.50db9"\r
4894             ]\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "6e431d76.be632c",\r
4899         "type": "get-resource",\r
4900         "name": "get-resource pnfs-list",\r
4901         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
4902         "comments": "",\r
4903         "outputs": 1,\r
4904         "x": 2003.566665649414,\r
4905         "y": 96.56666564941406,\r
4906         "z": "9256178d.211a68",\r
4907         "wires": [\r
4908             []\r
4909         ]\r
4910     },\r
4911     {\r
4912         "id": "29e9cbd2.ce75c4",\r
4913         "type": "get-resource",\r
4914         "name": "get-resource logical-links",\r
4915         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
4916         "comments": "",\r
4917         "outputs": 1,\r
4918         "x": 2015.566665649414,\r
4919         "y": 137.56666564941406,\r
4920         "z": "9256178d.211a68",\r
4921         "wires": [\r
4922             []\r
4923         ]\r
4924     },\r
4925     {\r
4926         "id": "7f3d74ad.534c3c",\r
4927         "type": "comment",\r
4928         "name": "The following two nodes are for PCE",\r
4929         "info": "",\r
4930         "comments": "",\r
4931         "x": 2039.566665649414,\r
4932         "y": 59.56666564941406,\r
4933         "z": "9256178d.211a68",\r
4934         "wires": []\r
4935     },\r
4936     {\r
4937         "id": "6d8a85f2.9b51f4",\r
4938         "type": "set",\r
4939         "name": "set tmp.arr",\r
4940         "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
4941         "comments": "",\r
4942         "x": 1960.566665649414,\r
4943         "y": 183.56666564941406,\r
4944         "z": "9256178d.211a68",\r
4945         "wires": []\r
4946     },\r
4947     {\r
4948         "id": "3add3536.bf190a",\r
4949         "type": "execute",\r
4950         "name": "execute printContext",\r
4951         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
4952         "comments": "",\r
4953         "outputs": 1,\r
4954         "x": 2650.566665649414,\r
4955         "y": 2395.566665649414,\r
4956         "z": "9256178d.211a68",\r
4957         "wires": [\r
4958             []\r
4959         ]\r
4960     },\r
4961     {\r
4962         "id": "d33e8b85.64336",\r
4963         "type": "set",\r
4964         "name": "set maxtpn",\r
4965         "xml": "<set>\n<parameter name='maxtpn' value='`($maxtpn + $gfp)`' />",\r
4966         "comments": "",\r
4967         "x": 3677.566665649414,\r
4968         "y": 2998.566665649414,\r
4969         "z": "9256178d.211a68",\r
4970         "wires": []\r
4971     },\r
4972     {\r
4973         "id": "33633691.1ec92a",\r
4974         "type": "call",\r
4975         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
4976         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4977         "comments": "",\r
4978         "outputs": 1,\r
4979         "x": 2843.566665649414,\r
4980         "y": 2459.566665649414,\r
4981         "z": "9256178d.211a68",\r
4982         "wires": [\r
4983             []\r
4984         ]\r
4985     }\r
4986 ]