Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / p2p_eline / GENERIC-RESOURCE-API_p2p-vnf-topology-operation-p2p-create.json
1 [\r
2     {\r
3         "id": "a658bc6d.ee8088",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 115.56666564941406,\r
8         "y": 152.56666564941406,\r
9         "z": "44fca1a5.1b442",\r
10         "wires": [\r
11             [\r
12                 "10d00bbf.369ce4"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "10d00bbf.369ce4",\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": 399.85235595703125,\r
26         "y": 213.8047742843628,\r
27         "z": "44fca1a5.1b442",\r
28         "wires": [\r
29             [\r
30                 "975aae08.92fff8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "975aae08.92fff8",\r
36         "type": "method",\r
37         "name": "method p2p-vnf-topology-operation-p2p-create",\r
38         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-create' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 405.9952697753906,\r
42         "y": 298.5666961669922,\r
43         "z": "44fca1a5.1b442",\r
44         "wires": [\r
45             [\r
46                 "3cb40f5f.638d7"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "3cb40f5f.638d7",\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": 775.8047027587891,\r
58         "y": 323.2333526611328,\r
59         "z": "44fca1a5.1b442",\r
60         "wires": [\r
61             [\r
62                 "a98f1d9c.aa0ab8",\r
63                 "bb279275.52b89",\r
64                 "198124d5.bcf04b"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "a98f1d9c.aa0ab8",\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": 1077.138198852539,\r
75         "y": 594.1636505126953,\r
76         "z": "44fca1a5.1b442",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "bb279275.52b89",\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": 1098.566665649414,\r
87         "y": 296.56666564941406,\r
88         "z": "44fca1a5.1b442",\r
89         "wires": [\r
90             [\r
91                 "5db80d1b.7d54d4",\r
92                 "eb1179be.4cc7a8",\r
93                 "25eec14c.b0512e"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "5db80d1b.7d54d4",\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": 1323.566665649414,\r
105         "y": 154.56666564941406,\r
106         "z": "44fca1a5.1b442",\r
107         "wires": [\r
108             [\r
109                 "1b98e1c2.5ba336"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "eb1179be.4cc7a8",\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": 1319.057632446289,\r
121         "y": 224.1407012939453,\r
122         "z": "44fca1a5.1b442",\r
123         "wires": [\r
124             [\r
125                 "5ef156a8.c7ee68"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "25eec14c.b0512e",\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": 1307.566665649414,\r
137         "y": 270.56666564941406,\r
138         "z": "44fca1a5.1b442",\r
139         "wires": [\r
140             [\r
141                 "e02f0406.ea4b28"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "1b98e1c2.5ba336",\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": 1562.566665649414,\r
153         "y": 151.56666564941406,\r
154         "z": "44fca1a5.1b442",\r
155         "wires": [\r
156             [\r
157                 "700e0cca.3f2bdc",\r
158                 "aef98f1d.0aefe8"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "5ef156a8.c7ee68",\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": 1472.6290435791016,\r
169         "y": 227.4264373779297,\r
170         "z": "44fca1a5.1b442",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "e02f0406.ea4b28",\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": 1476.566665649414,\r
180         "y": 271.56666564941406,\r
181         "z": "44fca1a5.1b442",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "700e0cca.3f2bdc",\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": 1775.566665649414,\r
192         "y": 175.56666564941406,\r
193         "z": "44fca1a5.1b442",\r
194         "wires": [\r
195             [\r
196                 "43079b41.4e5754"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "aef98f1d.0aefe8",\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": 1777.566665649414,\r
208         "y": 115.56666564941406,\r
209         "z": "44fca1a5.1b442",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "8233abbf.86fea8",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1077.566665649414,\r
221         "y": 184.56666564941406,\r
222         "z": "44fca1a5.1b442",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "43079b41.4e5754",\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": 1760.566665649414,\r
234         "y": 263.56666564941406,\r
235         "z": "44fca1a5.1b442",\r
236         "wires": [\r
237             [\r
238                 "b571a17a.acc4b8",\r
239                 "f367c816.36c578",\r
240                 "96051d25.052e78",\r
241                 "2bc653ca.37208c",\r
242                 "df1cdf90.7c16c"\r
243             ]\r
244         ]\r
245     },\r
246     {\r
247         "id": "235a8de8.2ff2e2",\r
248         "type": "set",\r
249         "name": "set network-route-A",\r
250         "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
251         "comments": "",\r
252         "x": 2623.566665649414,\r
253         "y": 863.5666656494141,\r
254         "z": "44fca1a5.1b442",\r
255         "wires": []\r
256     },\r
257     {\r
258         "id": "3fed0be1.edfb24",\r
259         "type": "set",\r
260         "name": "set network-route-B",\r
261         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
262         "comments": "",\r
263         "x": 2624.566665649414,\r
264         "y": 918.5666656494141,\r
265         "z": "44fca1a5.1b442",\r
266         "wires": []\r
267     },\r
268     {\r
269         "id": "a5dd2e0a.9197a",\r
270         "type": "save",\r
271         "name": "get allotted-resource from aai",\r
272         "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
273         "comments": "",\r
274         "outputs": 1,\r
275         "x": 2246.566665649414,\r
276         "y": 314.56666564941406,\r
277         "z": "44fca1a5.1b442",\r
278         "wires": [\r
279             [\r
280                 "37ab6cf6.5d8d44",\r
281                 "9d175e12.6e5ba8",\r
282                 "e079f228.d0cd18"\r
283             ]\r
284         ]\r
285     },\r
286     {\r
287         "id": "37ab6cf6.5d8d44",\r
288         "type": "success",\r
289         "name": "success",\r
290         "xml": "<outcome value='success'>\n",\r
291         "comments": "",\r
292         "outputs": 1,\r
293         "x": 2462.566665649414,\r
294         "y": 381.56666564941406,\r
295         "z": "44fca1a5.1b442",\r
296         "wires": [\r
297             [\r
298                 "7ae6e46.d965a1c"\r
299             ]\r
300         ]\r
301     },\r
302     {\r
303         "id": "9d175e12.6e5ba8",\r
304         "type": "not-found",\r
305         "name": "not-found",\r
306         "xml": "<outcome value='not-found'>\n",\r
307         "comments": "",\r
308         "outputs": 1,\r
309         "x": 2463.057632446289,\r
310         "y": 281.14064025878906,\r
311         "z": "44fca1a5.1b442",\r
312         "wires": [\r
313             [\r
314                 "3926a143.72f6e6"\r
315             ]\r
316         ]\r
317     },\r
318     {\r
319         "id": "e079f228.d0cd18",\r
320         "type": "failure",\r
321         "name": "failure",\r
322         "xml": "<outcome value='failure'>\n",\r
323         "comments": "",\r
324         "outputs": 1,\r
325         "x": 2458.566665649414,\r
326         "y": 330.56666564941406,\r
327         "z": "44fca1a5.1b442",\r
328         "wires": [\r
329             [\r
330                 "556249de.1ffd4"\r
331             ]\r
332         ]\r
333     },\r
334     {\r
335         "id": "3926a143.72f6e6",\r
336         "type": "returnFailure",\r
337         "name": "return failure",\r
338         "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
339         "comments": "",\r
340         "x": 2640.629165649414,\r
341         "y": 281.42640686035156,\r
342         "z": "44fca1a5.1b442",\r
343         "wires": []\r
344     },\r
345     {\r
346         "id": "556249de.1ffd4",\r
347         "type": "returnFailure",\r
348         "name": "return failure",\r
349         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
350         "comments": "",\r
351         "x": 2640.566665649414,\r
352         "y": 330.56666564941406,\r
353         "z": "44fca1a5.1b442",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "bd9c64f3.1ae468",\r
358         "type": "save",\r
359         "name": "get logical-link from aai",\r
360         "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
361         "comments": "",\r
362         "outputs": 1,\r
363         "x": 1981.566665649414,\r
364         "y": 803.5666656494141,\r
365         "z": "44fca1a5.1b442",\r
366         "wires": [\r
367             [\r
368                 "57c5a50d.faf21c",\r
369                 "1cb5708d.991b9f",\r
370                 "49a8ec91.4b31b4"\r
371             ]\r
372         ]\r
373     },\r
374     {\r
375         "id": "57c5a50d.faf21c",\r
376         "type": "not-found",\r
377         "name": "not-found",\r
378         "xml": "<outcome value='not-found'>\n",\r
379         "comments": "",\r
380         "outputs": 1,\r
381         "x": 2273.057632446289,\r
382         "y": 782.1406402587891,\r
383         "z": "44fca1a5.1b442",\r
384         "wires": [\r
385             [\r
386                 "3d88b251.eb89be"\r
387             ]\r
388         ]\r
389     },\r
390     {\r
391         "id": "1cb5708d.991b9f",\r
392         "type": "failure",\r
393         "name": "failure",\r
394         "xml": "<outcome value='failure'>\n",\r
395         "comments": "",\r
396         "outputs": 1,\r
397         "x": 2261.566665649414,\r
398         "y": 826.5666656494141,\r
399         "z": "44fca1a5.1b442",\r
400         "wires": [\r
401             [\r
402                 "55bc50fb.83c83"\r
403             ]\r
404         ]\r
405     },\r
406     {\r
407         "id": "3d88b251.eb89be",\r
408         "type": "returnFailure",\r
409         "name": "return failure",\r
410         "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
411         "comments": "",\r
412         "x": 2421.629165649414,\r
413         "y": 782.4264068603516,\r
414         "z": "44fca1a5.1b442",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "55bc50fb.83c83",\r
419         "type": "returnFailure",\r
420         "name": "return failure",\r
421         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
422         "comments": "",\r
423         "x": 2420.566665649414,\r
424         "y": 826.5666656494141,\r
425         "z": "44fca1a5.1b442",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "49a8ec91.4b31b4",\r
430         "type": "success",\r
431         "name": "success",\r
432         "xml": "<outcome value='success'>\n",\r
433         "comments": "",\r
434         "outputs": 1,\r
435         "x": 2268.566665649414,\r
436         "y": 905.5666656494141,\r
437         "z": "44fca1a5.1b442",\r
438         "wires": [\r
439             [\r
440                 "75387576.e83e6c"\r
441             ]\r
442         ]\r
443     },\r
444     {\r
445         "id": "75387576.e83e6c",\r
446         "type": "block",\r
447         "name": "block",\r
448         "xml": "<block>\n",\r
449         "atomic": "false",\r
450         "comments": "",\r
451         "outputs": 1,\r
452         "x": 2407.566665649414,\r
453         "y": 905.5666656494141,\r
454         "z": "44fca1a5.1b442",\r
455         "wires": [\r
456             [\r
457                 "235a8de8.2ff2e2",\r
458                 "3fed0be1.edfb24",\r
459                 "8387d4ba.3387e",\r
460                 "4fec924f.434ca4",\r
461                 "e23ffdc8.d7c0b8",\r
462                 "73820c83.e6bf7c",\r
463                 "4c82daf8.25cd8c",\r
464                 "4141db24.a24a84",\r
465                 "19eb9ce6.88ad83",\r
466                 "dd0ea493.8f50f",\r
467                 "a58bc596.7e7c2",\r
468                 "475ae245.9fc77c"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "8387d4ba.3387e",\r
474         "type": "save",\r
475         "name": "get network-route-A from aai",\r
476         "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
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 2636.566665649414,\r
480         "y": 986.5666656494141,\r
481         "z": "44fca1a5.1b442",\r
482         "wires": [\r
483             [\r
484                 "acba44a3.12e668",\r
485                 "959d66e3.6c573",\r
486                 "38d3f1c1.44147e"\r
487             ]\r
488         ]\r
489     },\r
490     {\r
491         "id": "4fec924f.434ca4",\r
492         "type": "save",\r
493         "name": "get network-route-B from aai",\r
494         "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
495         "comments": "",\r
496         "outputs": 1,\r
497         "x": 2615.566665649414,\r
498         "y": 1588.5665435791016,\r
499         "z": "44fca1a5.1b442",\r
500         "wires": [\r
501             [\r
502                 "14e1d4b3.a0230b",\r
503                 "49cb0566.838e7c",\r
504                 "8b3b10b2.dfb27"\r
505             ]\r
506         ]\r
507     },\r
508     {\r
509         "id": "acba44a3.12e668",\r
510         "type": "not-found",\r
511         "name": "not-found",\r
512         "xml": "<outcome value='not-found'>\n",\r
513         "comments": "",\r
514         "outputs": 1,\r
515         "x": 2837.566665649414,\r
516         "y": 870.5666656494141,\r
517         "z": "44fca1a5.1b442",\r
518         "wires": [\r
519             [\r
520                 "1043b925.e5d5cf"\r
521             ]\r
522         ]\r
523     },\r
524     {\r
525         "id": "959d66e3.6c573",\r
526         "type": "failure",\r
527         "name": "failure",\r
528         "xml": "<outcome value='failure'>\n",\r
529         "comments": "",\r
530         "outputs": 1,\r
531         "x": 2833.075698852539,\r
532         "y": 919.9926910400391,\r
533         "z": "44fca1a5.1b442",\r
534         "wires": [\r
535             [\r
536                 "b6a9c815.e5b5f8"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "38d3f1c1.44147e",\r
542         "type": "success",\r
543         "name": "success",\r
544         "xml": "<outcome value='success'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 2837.075698852539,\r
548         "y": 970.9926910400391,\r
549         "z": "44fca1a5.1b442",\r
550         "wires": [\r
551             [\r
552                 "efe0781e.b732b"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "1043b925.e5d5cf",\r
558         "type": "returnFailure",\r
559         "name": "return failure",\r
560         "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
561         "comments": "",\r
562         "x": 2986.138198852539,\r
563         "y": 869.8524322509766,\r
564         "z": "44fca1a5.1b442",\r
565         "wires": []\r
566     },\r
567     {\r
568         "id": "b6a9c815.e5b5f8",\r
569         "type": "returnFailure",\r
570         "name": "return failure",\r
571         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
572         "comments": "",\r
573         "x": 2976.075698852539,\r
574         "y": 919.9926910400391,\r
575         "z": "44fca1a5.1b442",\r
576         "wires": []\r
577     },\r
578     {\r
579         "id": "14e1d4b3.a0230b",\r
580         "type": "not-found",\r
581         "name": "not-found",\r
582         "xml": "<outcome value='not-found'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 2838.566665649414,\r
586         "y": 1558.5665435791016,\r
587         "z": "44fca1a5.1b442",\r
588         "wires": [\r
589             [\r
590                 "72a5e714.8ebe58"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "49cb0566.838e7c",\r
596         "type": "failure",\r
597         "name": "failure",\r
598         "xml": "<outcome value='failure'>\n",\r
599         "comments": "",\r
600         "outputs": 1,\r
601         "x": 2834.075698852539,\r
602         "y": 1607.9925689697266,\r
603         "z": "44fca1a5.1b442",\r
604         "wires": [\r
605             [\r
606                 "700468f2.c31308"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "8b3b10b2.dfb27",\r
612         "type": "success",\r
613         "name": "success",\r
614         "xml": "<outcome value='success'>\n",\r
615         "comments": "",\r
616         "outputs": 1,\r
617         "x": 2838.075698852539,\r
618         "y": 1658.9925689697266,\r
619         "z": "44fca1a5.1b442",\r
620         "wires": [\r
621             [\r
622                 "33eb1eab.026612"\r
623             ]\r
624         ]\r
625     },\r
626     {\r
627         "id": "72a5e714.8ebe58",\r
628         "type": "returnFailure",\r
629         "name": "return failure",\r
630         "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
631         "comments": "",\r
632         "x": 2987.138198852539,\r
633         "y": 1557.852310180664,\r
634         "z": "44fca1a5.1b442",\r
635         "wires": []\r
636     },\r
637     {\r
638         "id": "700468f2.c31308",\r
639         "type": "returnFailure",\r
640         "name": "return failure",\r
641         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
642         "comments": "",\r
643         "x": 2977.075698852539,\r
644         "y": 1607.9925689697266,\r
645         "z": "44fca1a5.1b442",\r
646         "wires": []\r
647     },\r
648     {\r
649         "id": "5082eb37.cb5224",\r
650         "type": "block",\r
651         "name": "block : atomic",\r
652         "xml": "<block atomic=\"true\">",\r
653         "atomic": "true",\r
654         "outputs": 1,\r
655         "x": 3651.233169555664,\r
656         "y": 1014.5666656494141,\r
657         "z": "44fca1a5.1b442",\r
658         "wires": [\r
659             [\r
660                 "77518362.6fdc64",\r
661                 "27c2e224.9c32d6",\r
662                 "aacd8e8b.53bef8",\r
663                 "9482a661.be3818",\r
664                 "85d16e7a.c43b68"\r
665             ]\r
666         ]\r
667     },\r
668     {\r
669         "id": "6570843c.cfb8c4",\r
670         "type": "success",\r
671         "name": "success",\r
672         "xml": "<outcome value='success'>\n",\r
673         "comments": "",\r
674         "outputs": 1,\r
675         "x": 3478.566665649414,\r
676         "y": 1015.5666656494141,\r
677         "z": "44fca1a5.1b442",\r
678         "wires": [\r
679             [\r
680                 "5082eb37.cb5224"\r
681             ]\r
682         ]\r
683     },\r
684     {\r
685         "id": "b053876e.9f87b",\r
686         "type": "not-found",\r
687         "name": "not-found",\r
688         "xml": "<outcome value='not-found'>\n",\r
689         "comments": "",\r
690         "outputs": 1,\r
691         "x": 3488.057632446289,\r
692         "y": 1058.1407012939453,\r
693         "z": "44fca1a5.1b442",\r
694         "wires": [\r
695             [\r
696                 "6d09a761.811108"\r
697             ]\r
698         ]\r
699     },\r
700     {\r
701         "id": "6f406b61.4c227c",\r
702         "type": "failure",\r
703         "name": "failure",\r
704         "xml": "<outcome value='failure'>\n",\r
705         "comments": "",\r
706         "outputs": 1,\r
707         "x": 3476.566665649414,\r
708         "y": 1104.566665649414,\r
709         "z": "44fca1a5.1b442",\r
710         "wires": [\r
711             [\r
712                 "ac5f2fe4.d56318"\r
713             ]\r
714         ]\r
715     },\r
716     {\r
717         "id": "6d09a761.811108",\r
718         "type": "returnFailure",\r
719         "name": "return failure",\r
720         "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
721         "comments": "",\r
722         "x": 3641.6290435791016,\r
723         "y": 1061.4264373779297,\r
724         "z": "44fca1a5.1b442",\r
725         "wires": []\r
726     },\r
727     {\r
728         "id": "ac5f2fe4.d56318",\r
729         "type": "returnFailure",\r
730         "name": "return failure",\r
731         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
732         "comments": "",\r
733         "x": 3645.566665649414,\r
734         "y": 1105.566665649414,\r
735         "z": "44fca1a5.1b442",\r
736         "wires": []\r
737     },\r
738     {\r
739         "id": "efe0781e.b732b",\r
740         "type": "block",\r
741         "name": "block : atomic",\r
742         "xml": "<block atomic=\"true\">",\r
743         "atomic": "true",\r
744         "outputs": 1,\r
745         "x": 2998.566665649414,\r
746         "y": 972.5666656494141,\r
747         "z": "44fca1a5.1b442",\r
748         "wires": [\r
749             [\r
750                 "877c4cae.f5888",\r
751                 "e258fe66.5163d8"\r
752             ]\r
753         ]\r
754     },\r
755     {\r
756         "id": "33eb1eab.026612",\r
757         "type": "block",\r
758         "name": "block : atomic",\r
759         "xml": "<block atomic=\"true\">",\r
760         "atomic": "true",\r
761         "outputs": 1,\r
762         "x": 2988.566665649414,\r
763         "y": 1660.5665435791016,\r
764         "z": "44fca1a5.1b442",\r
765         "wires": [\r
766             [\r
767                 "9b8713d1.08a16",\r
768                 "791ea555.e9b2bc"\r
769             ]\r
770         ]\r
771     },\r
772     {\r
773         "id": "52cec1ff.5fead8",\r
774         "type": "block",\r
775         "name": "block : atomic",\r
776         "xml": "<block atomic=\"true\">",\r
777         "atomic": "true",\r
778         "outputs": 1,\r
779         "x": 3619.233169555664,\r
780         "y": 1850.566665649414,\r
781         "z": "44fca1a5.1b442",\r
782         "wires": [\r
783             [\r
784                 "a935afd3.7df188",\r
785                 "5b3eb8ce.d19aa",\r
786                 "689f5373.4eba54",\r
787                 "bfc91f6.fd87a6"\r
788             ]\r
789         ]\r
790     },\r
791     {\r
792         "id": "7672f9e5.3dc8a8",\r
793         "type": "success",\r
794         "name": "success",\r
795         "xml": "<outcome value='success'>\n",\r
796         "comments": "",\r
797         "outputs": 1,\r
798         "x": 3446.566665649414,\r
799         "y": 1851.566665649414,\r
800         "z": "44fca1a5.1b442",\r
801         "wires": [\r
802             [\r
803                 "52cec1ff.5fead8"\r
804             ]\r
805         ]\r
806     },\r
807     {\r
808         "id": "21d72a21.09925e",\r
809         "type": "not-found",\r
810         "name": "not-found",\r
811         "xml": "<outcome value='not-found'>\n",\r
812         "comments": "",\r
813         "outputs": 1,\r
814         "x": 3456.057632446289,\r
815         "y": 1894.1407012939453,\r
816         "z": "44fca1a5.1b442",\r
817         "wires": [\r
818             [\r
819                 "885fb4a9.d0e358"\r
820             ]\r
821         ]\r
822     },\r
823     {\r
824         "id": "bb958a3b.91a6d8",\r
825         "type": "failure",\r
826         "name": "failure",\r
827         "xml": "<outcome value='failure'>\n",\r
828         "comments": "",\r
829         "outputs": 1,\r
830         "x": 3444.566665649414,\r
831         "y": 1940.566665649414,\r
832         "z": "44fca1a5.1b442",\r
833         "wires": [\r
834             [\r
835                 "aa7f6fd0.80348"\r
836             ]\r
837         ]\r
838     },\r
839     {\r
840         "id": "885fb4a9.d0e358",\r
841         "type": "returnFailure",\r
842         "name": "return failure",\r
843         "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
844         "comments": "",\r
845         "x": 3609.6290435791016,\r
846         "y": 1897.4264373779297,\r
847         "z": "44fca1a5.1b442",\r
848         "wires": []\r
849     },\r
850     {\r
851         "id": "aa7f6fd0.80348",\r
852         "type": "returnFailure",\r
853         "name": "return failure",\r
854         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
855         "comments": "",\r
856         "x": 3613.566665649414,\r
857         "y": 1941.566665649414,\r
858         "z": "44fca1a5.1b442",\r
859         "wires": []\r
860     },\r
861     {\r
862         "id": "77518362.6fdc64",\r
863         "type": "execute",\r
864         "name": "execute split tp-id to get pnf-name",\r
865         "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
866         "comments": "",\r
867         "outputs": 1,\r
868         "x": 3915.566665649414,\r
869         "y": 998.5666656494141,\r
870         "z": "44fca1a5.1b442",\r
871         "wires": [\r
872             [\r
873                 "ff236f34.3aa398",\r
874                 "b5c782d2.ed439"\r
875             ]\r
876         ]\r
877     },\r
878     {\r
879         "id": "b5c782d2.ed439",\r
880         "type": "failure",\r
881         "name": "success",\r
882         "xml": "<outcome value='success'>\n",\r
883         "comments": "",\r
884         "outputs": 1,\r
885         "x": 4138.566665649414,\r
886         "y": 953.5666656494141,\r
887         "z": "44fca1a5.1b442",\r
888         "wires": [\r
889             [\r
890                 "defee4cb.985ef"\r
891             ]\r
892         ]\r
893     },\r
894     {\r
895         "id": "ff236f34.3aa398",\r
896         "type": "failure",\r
897         "name": "failure",\r
898         "xml": "<outcome value='failure'>\n",\r
899         "comments": "",\r
900         "outputs": 1,\r
901         "x": 4140.566665649414,\r
902         "y": 1017.5666656494141,\r
903         "z": "44fca1a5.1b442",\r
904         "wires": [\r
905             [\r
906                 "854e5113.a4ea88"\r
907             ]\r
908         ]\r
909     },\r
910     {\r
911         "id": "df9bb978.87a088",\r
912         "type": "set",\r
913         "name": "set ltpId",\r
914         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
915         "comments": "",\r
916         "x": 4473.566665649414,\r
917         "y": 908.5666656494141,\r
918         "z": "44fca1a5.1b442",\r
919         "wires": []\r
920     },\r
921     {\r
922         "id": "854e5113.a4ea88",\r
923         "type": "returnFailure",\r
924         "name": "return failure",\r
925         "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
926         "comments": "",\r
927         "x": 4302.566665649414,\r
928         "y": 1013.5666656494141,\r
929         "z": "44fca1a5.1b442",\r
930         "wires": []\r
931     },\r
932     {\r
933         "id": "defee4cb.985ef",\r
934         "type": "block",\r
935         "name": "block : atomic",\r
936         "xml": "<block atomic=\"true\">",\r
937         "atomic": "true",\r
938         "outputs": 1,\r
939         "x": 4303.566665649414,\r
940         "y": 950.5666656494141,\r
941         "z": "44fca1a5.1b442",\r
942         "wires": [\r
943             [\r
944                 "d2af571c.5752b8",\r
945                 "df9bb978.87a088"\r
946             ]\r
947         ]\r
948     },\r
949     {\r
950         "id": "d2af571c.5752b8",\r
951         "type": "set",\r
952         "name": "set pnf-name",\r
953         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
954         "comments": "",\r
955         "x": 4474.566665649414,\r
956         "y": 1016.5666656494141,\r
957         "z": "44fca1a5.1b442",\r
958         "wires": []\r
959     },\r
960     {\r
961         "id": "5911bfaf.469e68",\r
962         "type": "comment",\r
963         "name": "TODO: FIXME",\r
964         "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
965         "comments": "",\r
966         "x": 4475.566665649414,\r
967         "y": 965.5666656494141,\r
968         "z": "44fca1a5.1b442",\r
969         "wires": []\r
970     },\r
971     {\r
972         "id": "aacd8e8b.53bef8",\r
973         "type": "save",\r
974         "name": "save connectivity resource in AAI",\r
975         "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='cbs' value='`$tmp.aai.network-route-A.data-owner`' />\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
976         "comments": "",\r
977         "outputs": 1,\r
978         "x": 3917.566665649414,\r
979         "y": 1157.566665649414,\r
980         "z": "44fca1a5.1b442",\r
981         "wires": [\r
982             []\r
983         ]\r
984     },\r
985     {\r
986         "id": "27c2e224.9c32d6",\r
987         "type": "execute",\r
988         "name": "execute UUID generator for connectivity domainA",\r
989         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
990         "comments": "",\r
991         "outputs": 1,\r
992         "x": 3962.566665649414,\r
993         "y": 1067.566665649414,\r
994         "z": "44fca1a5.1b442",\r
995         "wires": [\r
996             []\r
997         ]\r
998     },\r
999     {\r
1000         "id": "c45404dc.ac473",\r
1001         "type": "comment",\r
1002         "name": "TODO: FIXME",\r
1003         "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
1004         "comments": "",\r
1005         "x": 3851.566665649414,\r
1006         "y": 1108.566665649414,\r
1007         "z": "44fca1a5.1b442",\r
1008         "wires": []\r
1009     },\r
1010     {\r
1011         "id": "a935afd3.7df188",\r
1012         "type": "execute",\r
1013         "name": "execute split tp-id to get pnf-name",\r
1014         "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
1015         "comments": "",\r
1016         "outputs": 1,\r
1017         "x": 3905.566665649414,\r
1018         "y": 1854.5667877197266,\r
1019         "z": "44fca1a5.1b442",\r
1020         "wires": [\r
1021             [\r
1022                 "d1d56d9d.523c98",\r
1023                 "547df734.987198"\r
1024             ]\r
1025         ]\r
1026     },\r
1027     {\r
1028         "id": "547df734.987198",\r
1029         "type": "failure",\r
1030         "name": "success",\r
1031         "xml": "<outcome value='success'>\n",\r
1032         "comments": "",\r
1033         "outputs": 1,\r
1034         "x": 4128.566665649414,\r
1035         "y": 1809.5667877197266,\r
1036         "z": "44fca1a5.1b442",\r
1037         "wires": [\r
1038             [\r
1039                 "a81f7928.f72098"\r
1040             ]\r
1041         ]\r
1042     },\r
1043     {\r
1044         "id": "d1d56d9d.523c98",\r
1045         "type": "failure",\r
1046         "name": "failure",\r
1047         "xml": "<outcome value='failure'>\n",\r
1048         "comments": "",\r
1049         "outputs": 1,\r
1050         "x": 4130.566665649414,\r
1051         "y": 1873.5667877197266,\r
1052         "z": "44fca1a5.1b442",\r
1053         "wires": [\r
1054             [\r
1055                 "843e27d6.c22ad8"\r
1056             ]\r
1057         ]\r
1058     },\r
1059     {\r
1060         "id": "62f808eb.16107",\r
1061         "type": "set",\r
1062         "name": "set ltpId",\r
1063         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1064         "comments": "",\r
1065         "x": 4463.566665649414,\r
1066         "y": 1767.5667877197266,\r
1067         "z": "44fca1a5.1b442",\r
1068         "wires": []\r
1069     },\r
1070     {\r
1071         "id": "843e27d6.c22ad8",\r
1072         "type": "returnFailure",\r
1073         "name": "return failure",\r
1074         "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
1075         "comments": "",\r
1076         "x": 4289.566665649414,\r
1077         "y": 1892.5667877197266,\r
1078         "z": "44fca1a5.1b442",\r
1079         "wires": []\r
1080     },\r
1081     {\r
1082         "id": "a81f7928.f72098",\r
1083         "type": "block",\r
1084         "name": "block : atomic",\r
1085         "xml": "<block atomic=\"true\">",\r
1086         "atomic": "true",\r
1087         "outputs": 1,\r
1088         "x": 4293.566665649414,\r
1089         "y": 1806.5667877197266,\r
1090         "z": "44fca1a5.1b442",\r
1091         "wires": [\r
1092             [\r
1093                 "62f808eb.16107",\r
1094                 "157e6153.038477"\r
1095             ]\r
1096         ]\r
1097     },\r
1098     {\r
1099         "id": "157e6153.038477",\r
1100         "type": "set",\r
1101         "name": "set pnf-name",\r
1102         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1103         "comments": "",\r
1104         "x": 4464.566665649414,\r
1105         "y": 1872.5667877197266,\r
1106         "z": "44fca1a5.1b442",\r
1107         "wires": []\r
1108     },\r
1109     {\r
1110         "id": "c751bd0.3161d4",\r
1111         "type": "comment",\r
1112         "name": "TODO: FIXME",\r
1113         "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
1114         "comments": "",\r
1115         "x": 4459.566665649414,\r
1116         "y": 1821.5667877197266,\r
1117         "z": "44fca1a5.1b442",\r
1118         "wires": []\r
1119     },\r
1120     {\r
1121         "id": "9eaa7330.d56278",\r
1122         "type": "save",\r
1123         "name": "save connectivity resource in AAI",\r
1124         "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<parameter name='cvlan' value='`$final-vlan`' />\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='cbs' value='`$tmp.aai.network-route-B.data-owner`' />\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
1125         "comments": "",\r
1126         "outputs": 1,\r
1127         "x": 3898.56689453125,\r
1128         "y": 2093.56689453125,\r
1129         "z": "44fca1a5.1b442",\r
1130         "wires": [\r
1131             []\r
1132         ]\r
1133     },\r
1134     {\r
1135         "id": "5b3eb8ce.d19aa",\r
1136         "type": "execute",\r
1137         "name": "execute UUID generator for connectivity domainB",\r
1138         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1139         "comments": "",\r
1140         "outputs": 1,\r
1141         "x": 3952.566665649414,\r
1142         "y": 1923.5667877197266,\r
1143         "z": "44fca1a5.1b442",\r
1144         "wires": [\r
1145             []\r
1146         ]\r
1147     },\r
1148     {\r
1149         "id": "d6d1a26d.46be3",\r
1150         "type": "comment",\r
1151         "name": "TODO: FIXME",\r
1152         "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
1153         "comments": "",\r
1154         "x": 3841.566665649414,\r
1155         "y": 1961.5667877197266,\r
1156         "z": "44fca1a5.1b442",\r
1157         "wires": []\r
1158     },\r
1159     {\r
1160         "id": "e23ffdc8.d7c0b8",\r
1161         "type": "set",\r
1162         "name": "set attachment_param",\r
1163         "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
1164         "comments": "",\r
1165         "x": 2651.566665649414,\r
1166         "y": 2073.5667877197266,\r
1167         "z": "44fca1a5.1b442",\r
1168         "wires": []\r
1169     },\r
1170     {\r
1171         "id": "997459da.59786",\r
1172         "type": "comment",\r
1173         "name": "TODO: FIXME",\r
1174         "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
1175         "comments": "",\r
1176         "x": 2617.566665649414,\r
1177         "y": 2007.5667877197266,\r
1178         "z": "44fca1a5.1b442",\r
1179         "wires": []\r
1180     },\r
1181     {\r
1182         "id": "9482a661.be3818",\r
1183         "type": "save",\r
1184         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1185         "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
1186         "comments": "",\r
1187         "outputs": 1,\r
1188         "x": 4045.566665649414,\r
1189         "y": 1205.566665649414,\r
1190         "z": "44fca1a5.1b442",\r
1191         "wires": [\r
1192             []\r
1193         ]\r
1194     },\r
1195     {\r
1196         "id": "ea3b6f52.6f2fd8",\r
1197         "type": "save",\r
1198         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1199         "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
1200         "comments": "",\r
1201         "outputs": 1,\r
1202         "x": 4025.56689453125,\r
1203         "y": 2158.56689453125,\r
1204         "z": "44fca1a5.1b442",\r
1205         "wires": [\r
1206             []\r
1207         ]\r
1208     },\r
1209     {\r
1210         "id": "e5456a36.7801c",\r
1211         "type": "execute",\r
1212         "name": "get esr-thirdparty-sdnc",\r
1213         "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
1214         "comments": "",\r
1215         "outputs": 1,\r
1216         "x": 5089.566665649414,\r
1217         "y": 725.5666656494141,\r
1218         "z": "44fca1a5.1b442",\r
1219         "wires": [\r
1220             [\r
1221                 "805f0385.d78d68",\r
1222                 "f2313436.e5c8e8",\r
1223                 "b37025f0.b6455"\r
1224             ]\r
1225         ]\r
1226     },\r
1227     {\r
1228         "id": "7ae6e46.d965a1c",\r
1229         "type": "block",\r
1230         "name": "block : atomic",\r
1231         "xml": "<block atomic=\"true\">",\r
1232         "atomic": "true",\r
1233         "outputs": 1,\r
1234         "x": 2642.566665649414,\r
1235         "y": 381.56666564941406,\r
1236         "z": "44fca1a5.1b442",\r
1237         "wires": [\r
1238             [\r
1239                 "d0751b0.845c568"\r
1240             ]\r
1241         ]\r
1242     },\r
1243     {\r
1244         "id": "496902ef.bae144",\r
1245         "type": "outcome",\r
1246         "name": "logical-link",\r
1247         "xml": "<outcome value='logical-link'>\n",\r
1248         "comments": "",\r
1249         "outputs": 1,\r
1250         "x": 1572.5667877197266,\r
1251         "y": 798.5667877197266,\r
1252         "z": "44fca1a5.1b442",\r
1253         "wires": [\r
1254             [\r
1255                 "806d1dbe.e6caf8"\r
1256             ]\r
1257         ]\r
1258     },\r
1259     {\r
1260         "id": "dfac8bfa.e1a4f8",\r
1261         "type": "switchNode",\r
1262         "name": "switch allotted-resource.relationship-list not empty",\r
1263         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1264         "comments": "",\r
1265         "outputs": 1,\r
1266         "x": 2310.566665649414,\r
1267         "y": 504.56666564941406,\r
1268         "z": "44fca1a5.1b442",\r
1269         "wires": [\r
1270             [\r
1271                 "fefd0a3b.0a6c",\r
1272                 "e1fca775.5c3dc"\r
1273             ]\r
1274         ]\r
1275     },\r
1276     {\r
1277         "id": "e1fca775.5c3dc",\r
1278         "type": "outcomeFalse",\r
1279         "name": "false",\r
1280         "xml": "<outcome value='false'>\n",\r
1281         "comments": "",\r
1282         "outputs": 1,\r
1283         "x": 2620.566665649414,\r
1284         "y": 511.56666564941406,\r
1285         "z": "44fca1a5.1b442",\r
1286         "wires": [\r
1287             []\r
1288         ]\r
1289     },\r
1290     {\r
1291         "id": "fefd0a3b.0a6c",\r
1292         "type": "outcomeTrue",\r
1293         "name": "true",\r
1294         "xml": "<outcome value='true'>\n",\r
1295         "comments": "",\r
1296         "outputs": 1,\r
1297         "x": 2619.566665649414,\r
1298         "y": 565.5666656494141,\r
1299         "z": "44fca1a5.1b442",\r
1300         "wires": [\r
1301             [\r
1302                 "c2ddd3bf.c4d7b"\r
1303             ]\r
1304         ]\r
1305     },\r
1306     {\r
1307         "id": "5fd9dbf5.e77414",\r
1308         "type": "set",\r
1309         "name": "set the current logical-link-name",\r
1310         "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
1311         "comments": "",\r
1312         "x": 1992.566665649414,\r
1313         "y": 748.5666656494141,\r
1314         "z": "44fca1a5.1b442",\r
1315         "wires": []\r
1316     },\r
1317     {\r
1318         "id": "806d1dbe.e6caf8",\r
1319         "type": "block",\r
1320         "name": "block : atomic",\r
1321         "xml": "<block atomic=\"true\">",\r
1322         "atomic": "true",\r
1323         "outputs": 1,\r
1324         "x": 1749.566665649414,\r
1325         "y": 791.5666656494141,\r
1326         "z": "44fca1a5.1b442",\r
1327         "wires": [\r
1328             [\r
1329                 "5fd9dbf5.e77414",\r
1330                 "bd9c64f3.1ae468"\r
1331             ]\r
1332         ]\r
1333     },\r
1334     {\r
1335         "id": "25e50f8c.f7b168",\r
1336         "type": "comment",\r
1337         "name": "Question?",\r
1338         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1339         "comments": "",\r
1340         "x": 3178.566665649414,\r
1341         "y": 977.5666656494141,\r
1342         "z": "44fca1a5.1b442",\r
1343         "wires": []\r
1344     },\r
1345     {\r
1346         "id": "877c4cae.f5888",\r
1347         "type": "save",\r
1348         "name": "get p-interface-src from aai",\r
1349         "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
1350         "comments": "",\r
1351         "outputs": 1,\r
1352         "x": 3221.566665649414,\r
1353         "y": 1042.566665649414,\r
1354         "z": "44fca1a5.1b442",\r
1355         "wires": [\r
1356             [\r
1357                 "6570843c.cfb8c4",\r
1358                 "b053876e.9f87b",\r
1359                 "6f406b61.4c227c"\r
1360             ]\r
1361         ]\r
1362     },\r
1363     {\r
1364         "id": "9b8713d1.08a16",\r
1365         "type": "save",\r
1366         "name": "get p-interface-dst from aai",\r
1367         "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
1368         "comments": "",\r
1369         "outputs": 1,\r
1370         "x": 3218.566665649414,\r
1371         "y": 1886.566665649414,\r
1372         "z": "44fca1a5.1b442",\r
1373         "wires": [\r
1374             [\r
1375                 "7672f9e5.3dc8a8",\r
1376                 "21d72a21.09925e",\r
1377                 "bb958a3b.91a6d8"\r
1378             ]\r
1379         ]\r
1380     },\r
1381     {\r
1382         "id": "ce2cb197.80436",\r
1383         "type": "comment",\r
1384         "name": "Question?",\r
1385         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1386         "comments": "",\r
1387         "x": 3179.566665649414,\r
1388         "y": 1830.566665649414,\r
1389         "z": "44fca1a5.1b442",\r
1390         "wires": []\r
1391     },\r
1392     {\r
1393         "id": "d0751b0.845c568",\r
1394         "type": "save",\r
1395         "name": "get allotted-resource relationship from aai",\r
1396         "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
1397         "comments": "",\r
1398         "outputs": 1,\r
1399         "x": 2935.566665649414,\r
1400         "y": 328.56666564941406,\r
1401         "z": "44fca1a5.1b442",\r
1402         "wires": [\r
1403             [\r
1404                 "ab01dedd.6f763",\r
1405                 "8be63891.327ab8",\r
1406                 "8203f600.3196d8"\r
1407             ]\r
1408         ]\r
1409     },\r
1410     {\r
1411         "id": "8be63891.327ab8",\r
1412         "type": "not-found",\r
1413         "name": "not-found",\r
1414         "xml": "<outcome value='not-found'>\n",\r
1415         "comments": "",\r
1416         "outputs": 1,\r
1417         "x": 3209.057632446289,\r
1418         "y": 221.14064025878906,\r
1419         "z": "44fca1a5.1b442",\r
1420         "wires": [\r
1421             [\r
1422                 "e5ba36e2.ffe35"\r
1423             ]\r
1424         ]\r
1425     },\r
1426     {\r
1427         "id": "e5ba36e2.ffe35",\r
1428         "type": "returnFailure",\r
1429         "name": "return failure",\r
1430         "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
1431         "comments": "",\r
1432         "x": 3386.629165649414,\r
1433         "y": 221.42640686035156,\r
1434         "z": "44fca1a5.1b442",\r
1435         "wires": []\r
1436     },\r
1437     {\r
1438         "id": "8203f600.3196d8",\r
1439         "type": "failure",\r
1440         "name": "failure",\r
1441         "xml": "<outcome value='failure'>\n",\r
1442         "comments": "",\r
1443         "outputs": 1,\r
1444         "x": 3204.566665649414,\r
1445         "y": 270.56666564941406,\r
1446         "z": "44fca1a5.1b442",\r
1447         "wires": [\r
1448             [\r
1449                 "2d6e472f.cebd28"\r
1450             ]\r
1451         ]\r
1452     },\r
1453     {\r
1454         "id": "2d6e472f.cebd28",\r
1455         "type": "returnFailure",\r
1456         "name": "return failure",\r
1457         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1458         "comments": "",\r
1459         "x": 3386.566665649414,\r
1460         "y": 270.56666564941406,\r
1461         "z": "44fca1a5.1b442",\r
1462         "wires": []\r
1463     },\r
1464     {\r
1465         "id": "ab01dedd.6f763",\r
1466         "type": "success",\r
1467         "name": "success",\r
1468         "xml": "<outcome value='success'>\n",\r
1469         "comments": "",\r
1470         "outputs": 1,\r
1471         "x": 3208.566665649414,\r
1472         "y": 321.56666564941406,\r
1473         "z": "44fca1a5.1b442",\r
1474         "wires": [\r
1475             [\r
1476                 "d486eb58.78947"\r
1477             ]\r
1478         ]\r
1479     },\r
1480     {\r
1481         "id": "d486eb58.78947",\r
1482         "type": "block",\r
1483         "name": "block : atomic",\r
1484         "xml": "<block atomic=\"true\">",\r
1485         "atomic": "true",\r
1486         "outputs": 1,\r
1487         "x": 3388.566665649414,\r
1488         "y": 321.56666564941406,\r
1489         "z": "44fca1a5.1b442",\r
1490         "wires": [\r
1491             [\r
1492                 "dfac8bfa.e1a4f8"\r
1493             ]\r
1494         ]\r
1495     },\r
1496     {\r
1497         "id": "f5c84d41.47596",\r
1498         "type": "for",\r
1499         "name": "for each allotted-resource relationship",\r
1500         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1501         "comments": "",\r
1502         "outputs": 1,\r
1503         "x": 2879.566665649414,\r
1504         "y": 545.5666656494141,\r
1505         "z": "44fca1a5.1b442",\r
1506         "wires": [\r
1507             [\r
1508                 "65ef1c62.c47174"\r
1509             ]\r
1510         ]\r
1511     },\r
1512     {\r
1513         "id": "65ef1c62.c47174",\r
1514         "type": "switchNode",\r
1515         "name": "switch related-to",\r
1516         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1517         "comments": "",\r
1518         "outputs": 1,\r
1519         "x": 3159.566665649414,\r
1520         "y": 545.5666656494141,\r
1521         "z": "44fca1a5.1b442",\r
1522         "wires": [\r
1523             [\r
1524                 "496902ef.bae144"\r
1525             ]\r
1526         ]\r
1527     },\r
1528     {\r
1529         "id": "caa679b7.88155",\r
1530         "type": "outcome",\r
1531         "name": "network-policy",\r
1532         "xml": "<outcome value='network-policy'>\n",\r
1533         "comments": "",\r
1534         "outputs": 1,\r
1535         "x": 3364.566665649414,\r
1536         "y": 519.5666656494141,\r
1537         "z": "44fca1a5.1b442",\r
1538         "wires": [\r
1539             [\r
1540                 "181d6a25.4c8ac6"\r
1541             ]\r
1542         ]\r
1543     },\r
1544     {\r
1545         "id": "181d6a25.4c8ac6",\r
1546         "type": "block",\r
1547         "name": "block : atomic",\r
1548         "xml": "<block atomic=\"true\">",\r
1549         "atomic": "true",\r
1550         "outputs": 1,\r
1551         "x": 3541.5665435791016,\r
1552         "y": 512.5665435791016,\r
1553         "z": "44fca1a5.1b442",\r
1554         "wires": [\r
1555             [\r
1556                 "2189ab7e.731a5c",\r
1557                 "f77218ef.7392f"\r
1558             ]\r
1559         ]\r
1560     },\r
1561     {\r
1562         "id": "2189ab7e.731a5c",\r
1563         "type": "set",\r
1564         "name": "set the 1st network-policy-id",\r
1565         "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
1566         "comments": "",\r
1567         "x": 3784.5665435791016,\r
1568         "y": 469.56654357910156,\r
1569         "z": "44fca1a5.1b442",\r
1570         "wires": []\r
1571     },\r
1572     {\r
1573         "id": "f77218ef.7392f",\r
1574         "type": "save",\r
1575         "name": "get network-policy from aai",\r
1576         "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
1577         "comments": "",\r
1578         "outputs": 1,\r
1579         "x": 3773.5665435791016,\r
1580         "y": 524.5665435791016,\r
1581         "z": "44fca1a5.1b442",\r
1582         "wires": [\r
1583             [\r
1584                 "b3c389dc.9ceaa8",\r
1585                 "1fd1bab4.03ed05",\r
1586                 "1a9ec9f1.53817e"\r
1587             ]\r
1588         ]\r
1589     },\r
1590     {\r
1591         "id": "1a9ec9f1.53817e",\r
1592         "type": "not-found",\r
1593         "name": "not-found",\r
1594         "xml": "<outcome value='not-found'>\n",\r
1595         "comments": "",\r
1596         "outputs": 1,\r
1597         "x": 4026.566665649414,\r
1598         "y": 410.56666564941406,\r
1599         "z": "44fca1a5.1b442",\r
1600         "wires": [\r
1601             [\r
1602                 "9b368d79.59d868"\r
1603             ]\r
1604         ]\r
1605     },\r
1606     {\r
1607         "id": "9b368d79.59d868",\r
1608         "type": "returnFailure",\r
1609         "name": "return failure",\r
1610         "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
1611         "comments": "",\r
1612         "x": 4175.138198852539,\r
1613         "y": 410.85243225097656,\r
1614         "z": "44fca1a5.1b442",\r
1615         "wires": []\r
1616     },\r
1617     {\r
1618         "id": "75dbcc67.2d607c",\r
1619         "type": "returnFailure",\r
1620         "name": "return failure",\r
1621         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1622         "comments": "",\r
1623         "x": 4174.075698852539,\r
1624         "y": 454.99269104003906,\r
1625         "z": "44fca1a5.1b442",\r
1626         "wires": []\r
1627     },\r
1628     {\r
1629         "id": "1fd1bab4.03ed05",\r
1630         "type": "failure",\r
1631         "name": "failure",\r
1632         "xml": "<outcome value='failure'>\n",\r
1633         "comments": "",\r
1634         "outputs": 1,\r
1635         "x": 4015.075698852539,\r
1636         "y": 454.99269104003906,\r
1637         "z": "44fca1a5.1b442",\r
1638         "wires": [\r
1639             [\r
1640                 "75dbcc67.2d607c"\r
1641             ]\r
1642         ]\r
1643     },\r
1644     {\r
1645         "id": "b3c389dc.9ceaa8",\r
1646         "type": "success",\r
1647         "name": "success",\r
1648         "xml": "<outcome value='success'>\n",\r
1649         "comments": "",\r
1650         "outputs": 1,\r
1651         "x": 4022.075698852539,\r
1652         "y": 533.9926910400391,\r
1653         "z": "44fca1a5.1b442",\r
1654         "wires": [\r
1655             [\r
1656                 "d93faa74.adf0b8"\r
1657             ]\r
1658         ]\r
1659     },\r
1660     {\r
1661         "id": "d93faa74.adf0b8",\r
1662         "type": "block",\r
1663         "name": "block",\r
1664         "xml": "<block>\n",\r
1665         "atomic": "false",\r
1666         "comments": "",\r
1667         "outputs": 1,\r
1668         "x": 4161.075698852539,\r
1669         "y": 533.9926910400391,\r
1670         "z": "44fca1a5.1b442",\r
1671         "wires": [\r
1672             [\r
1673                 "14f40ed2.57f431",\r
1674                 "3853baa5.6545de"\r
1675             ]\r
1676         ]\r
1677     },\r
1678     {\r
1679         "id": "14f40ed2.57f431",\r
1680         "type": "set",\r
1681         "name": "set the max bandwidth",\r
1682         "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
1683         "comments": "",\r
1684         "x": 4366.566665649414,\r
1685         "y": 531.5666656494141,\r
1686         "z": "44fca1a5.1b442",\r
1687         "wires": []\r
1688     },\r
1689     {\r
1690         "id": "e258fe66.5163d8",\r
1691         "type": "execute",\r
1692         "name": "execute split tp-id to get pnf-name",\r
1693         "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
1694         "comments": "",\r
1695         "outputs": 1,\r
1696         "x": 3222.566665649414,\r
1697         "y": 712.5666656494141,\r
1698         "z": "44fca1a5.1b442",\r
1699         "wires": [\r
1700             [\r
1701                 "b62b2d1b.c54438",\r
1702                 "a3a7f1f7.b60138"\r
1703             ]\r
1704         ]\r
1705     },\r
1706     {\r
1707         "id": "a3a7f1f7.b60138",\r
1708         "type": "failure",\r
1709         "name": "success",\r
1710         "xml": "<outcome value='success'>\n",\r
1711         "comments": "",\r
1712         "outputs": 1,\r
1713         "x": 3445.566665649414,\r
1714         "y": 698.5666656494141,\r
1715         "z": "44fca1a5.1b442",\r
1716         "wires": [\r
1717             [\r
1718                 "93f8ed33.b51e48"\r
1719             ]\r
1720         ]\r
1721     },\r
1722     {\r
1723         "id": "b62b2d1b.c54438",\r
1724         "type": "failure",\r
1725         "name": "failure",\r
1726         "xml": "<outcome value='failure'>\n",\r
1727         "comments": "",\r
1728         "outputs": 1,\r
1729         "x": 3447.566665649414,\r
1730         "y": 731.5666656494141,\r
1731         "z": "44fca1a5.1b442",\r
1732         "wires": [\r
1733             [\r
1734                 "530ba1d.a0db6e"\r
1735             ]\r
1736         ]\r
1737     },\r
1738     {\r
1739         "id": "530ba1d.a0db6e",\r
1740         "type": "returnFailure",\r
1741         "name": "return failure",\r
1742         "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
1743         "comments": "",\r
1744         "x": 3590.566665649414,\r
1745         "y": 728.5666656494141,\r
1746         "z": "44fca1a5.1b442",\r
1747         "wires": []\r
1748     },\r
1749     {\r
1750         "id": "93f8ed33.b51e48",\r
1751         "type": "block",\r
1752         "name": "block : atomic",\r
1753         "xml": "<block atomic=\"true\">",\r
1754         "atomic": "true",\r
1755         "outputs": 1,\r
1756         "x": 3593.566665649414,\r
1757         "y": 691.5666656494141,\r
1758         "z": "44fca1a5.1b442",\r
1759         "wires": [\r
1760             [\r
1761                 "38a0b992.4a90b6",\r
1762                 "394a5b51.d2050c"\r
1763             ]\r
1764         ]\r
1765     },\r
1766     {\r
1767         "id": "38a0b992.4a90b6",\r
1768         "type": "set",\r
1769         "name": "set pnf-name",\r
1770         "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
1771         "comments": "",\r
1772         "x": 3755.566665649414,\r
1773         "y": 686.5666656494141,\r
1774         "z": "44fca1a5.1b442",\r
1775         "wires": []\r
1776     },\r
1777     {\r
1778         "id": "791ea555.e9b2bc",\r
1779         "type": "execute",\r
1780         "name": "execute split tp-id to get pnf-name",\r
1781         "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
1782         "comments": "",\r
1783         "outputs": 1,\r
1784         "x": 3236.566665649414,\r
1785         "y": 1549.5665435791016,\r
1786         "z": "44fca1a5.1b442",\r
1787         "wires": [\r
1788             [\r
1789                 "5954dedf.36bba",\r
1790                 "68d3451a.d84c04"\r
1791             ]\r
1792         ]\r
1793     },\r
1794     {\r
1795         "id": "68d3451a.d84c04",\r
1796         "type": "failure",\r
1797         "name": "success",\r
1798         "xml": "<outcome value='success'>\n",\r
1799         "comments": "",\r
1800         "outputs": 1,\r
1801         "x": 3459.566665649414,\r
1802         "y": 1535.5665435791016,\r
1803         "z": "44fca1a5.1b442",\r
1804         "wires": [\r
1805             [\r
1806                 "51569fcc.16549"\r
1807             ]\r
1808         ]\r
1809     },\r
1810     {\r
1811         "id": "5954dedf.36bba",\r
1812         "type": "failure",\r
1813         "name": "failure",\r
1814         "xml": "<outcome value='failure'>\n",\r
1815         "comments": "",\r
1816         "outputs": 1,\r
1817         "x": 3461.566665649414,\r
1818         "y": 1568.5665435791016,\r
1819         "z": "44fca1a5.1b442",\r
1820         "wires": [\r
1821             [\r
1822                 "5d1db6a0.f779b8"\r
1823             ]\r
1824         ]\r
1825     },\r
1826     {\r
1827         "id": "5d1db6a0.f779b8",\r
1828         "type": "returnFailure",\r
1829         "name": "return failure",\r
1830         "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
1831         "comments": "",\r
1832         "x": 3604.566665649414,\r
1833         "y": 1565.5665435791016,\r
1834         "z": "44fca1a5.1b442",\r
1835         "wires": []\r
1836     },\r
1837     {\r
1838         "id": "51569fcc.16549",\r
1839         "type": "block",\r
1840         "name": "block : atomic",\r
1841         "xml": "<block atomic=\"true\">",\r
1842         "atomic": "true",\r
1843         "outputs": 1,\r
1844         "x": 3607.566665649414,\r
1845         "y": 1528.5665435791016,\r
1846         "z": "44fca1a5.1b442",\r
1847         "wires": [\r
1848             [\r
1849                 "c4906d5e.17fa58",\r
1850                 "10a080e8.915427"\r
1851             ]\r
1852         ]\r
1853     },\r
1854     {\r
1855         "id": "c4906d5e.17fa58",\r
1856         "type": "set",\r
1857         "name": "set pnf-name",\r
1858         "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
1859         "comments": "",\r
1860         "x": 3801.566665649414,\r
1861         "y": 1531.566665649414,\r
1862         "z": "44fca1a5.1b442",\r
1863         "wires": []\r
1864     },\r
1865     {\r
1866         "id": "198124d5.bcf04b",\r
1867         "type": "execute",\r
1868         "name": "execute properties",\r
1869         "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
1870         "comments": "",\r
1871         "outputs": 1,\r
1872         "x": 1065.566665649414,\r
1873         "y": 236.56666564941406,\r
1874         "z": "44fca1a5.1b442",\r
1875         "wires": [\r
1876             []\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "85d16e7a.c43b68",\r
1881         "type": "for",\r
1882         "name": "for each relationship",\r
1883         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1884         "comments": "",\r
1885         "outputs": 1,\r
1886         "x": 3869.566665649414,\r
1887         "y": 1282.566665649414,\r
1888         "z": "44fca1a5.1b442",\r
1889         "wires": [\r
1890             [\r
1891                 "411baf5.a18ef5"\r
1892             ]\r
1893         ]\r
1894     },\r
1895     {\r
1896         "id": "411baf5.a18ef5",\r
1897         "type": "switchNode",\r
1898         "name": "switch related-to",\r
1899         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1900         "comments": "",\r
1901         "outputs": 1,\r
1902         "x": 4075.566665649414,\r
1903         "y": 1282.566665649414,\r
1904         "z": "44fca1a5.1b442",\r
1905         "wires": [\r
1906             [\r
1907                 "48572567.53bfbc"\r
1908             ]\r
1909         ]\r
1910     },\r
1911     {\r
1912         "id": "48572567.53bfbc",\r
1913         "type": "outcome",\r
1914         "name": "tunnel-termination-point",\r
1915         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1916         "comments": "",\r
1917         "outputs": 1,\r
1918         "x": 4290.852310180664,\r
1919         "y": 1282.388442993164,\r
1920         "z": "44fca1a5.1b442",\r
1921         "wires": [\r
1922             [\r
1923                 "c42e387b.cded18"\r
1924             ]\r
1925         ]\r
1926     },\r
1927     {\r
1928         "id": "c42e387b.cded18",\r
1929         "type": "block",\r
1930         "name": "block : atomic",\r
1931         "xml": "<block atomic=\"true\">",\r
1932         "atomic": "true",\r
1933         "outputs": 1,\r
1934         "x": 4497.683853149414,\r
1935         "y": 1282.906997680664,\r
1936         "z": "44fca1a5.1b442",\r
1937         "wires": [\r
1938             [\r
1939                 "4d7b3e62.007c48",\r
1940                 "c3d39d67.add138",\r
1941                 "c7287c92.444148"\r
1942             ]\r
1943         ]\r
1944     },\r
1945     {\r
1946         "id": "4d7b3e62.007c48",\r
1947         "type": "set",\r
1948         "name": "set source ttp-id",\r
1949         "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
1950         "comments": "",\r
1951         "x": 4712.683853149414,\r
1952         "y": 1244.906997680664,\r
1953         "z": "44fca1a5.1b442",\r
1954         "wires": []\r
1955     },\r
1956     {\r
1957         "id": "c3d39d67.add138",\r
1958         "type": "get-resource",\r
1959         "name": "get-resource src TTP",\r
1960         "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
1961         "comments": "",\r
1962         "outputs": 1,\r
1963         "x": 4709.683853149414,\r
1964         "y": 1283.906997680664,\r
1965         "z": "44fca1a5.1b442",\r
1966         "wires": [\r
1967             [\r
1968                 "be0b5cde.2813d"\r
1969             ]\r
1970         ]\r
1971     },\r
1972     {\r
1973         "id": "c7287c92.444148",\r
1974         "type": "break",\r
1975         "name": "break",\r
1976         "xml": "<break>\n",\r
1977         "comments": "",\r
1978         "x": 4665.183853149414,\r
1979         "y": 1325.906997680664,\r
1980         "z": "44fca1a5.1b442",\r
1981         "wires": []\r
1982     },\r
1983     {\r
1984         "id": "be0b5cde.2813d",\r
1985         "type": "success",\r
1986         "name": "success",\r
1987         "xml": "<outcome value='success'>\n",\r
1988         "comments": "",\r
1989         "outputs": 1,\r
1990         "x": 4890.183853149414,\r
1991         "y": 1282.906997680664,\r
1992         "z": "44fca1a5.1b442",\r
1993         "wires": [\r
1994             [\r
1995                 "302f8288.cd1b3e"\r
1996             ]\r
1997         ]\r
1998     },\r
1999     {\r
2000         "id": "302f8288.cd1b3e",\r
2001         "type": "block",\r
2002         "name": "block : atomic",\r
2003         "xml": "<block atomic=\"true\">",\r
2004         "atomic": "true",\r
2005         "outputs": 1,\r
2006         "x": 5048.183853149414,\r
2007         "y": 1282.906997680664,\r
2008         "z": "44fca1a5.1b442",\r
2009         "wires": [\r
2010             [\r
2011                 "2038ca55.29b4f6"\r
2012             ]\r
2013         ]\r
2014     },\r
2015     {\r
2016         "id": "2038ca55.29b4f6",\r
2017         "type": "set",\r
2018         "name": "set source tunnel tp ip",\r
2019         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2020         "comments": "",\r
2021         "x": 5255.183853149414,\r
2022         "y": 1282.906997680664,\r
2023         "z": "44fca1a5.1b442",\r
2024         "wires": []\r
2025     },\r
2026     {\r
2027         "id": "a9c9250a.2de128",\r
2028         "type": "for",\r
2029         "name": "for each relationship",\r
2030         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2031         "comments": "",\r
2032         "outputs": 1,\r
2033         "x": 3857.56689453125,\r
2034         "y": 2231.56689453125,\r
2035         "z": "44fca1a5.1b442",\r
2036         "wires": [\r
2037             [\r
2038                 "b1ff86cb.44495"\r
2039             ]\r
2040         ]\r
2041     },\r
2042     {\r
2043         "id": "b1ff86cb.44495",\r
2044         "type": "switchNode",\r
2045         "name": "switch related-to",\r
2046         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2047         "comments": "",\r
2048         "outputs": 1,\r
2049         "x": 4063.56689453125,\r
2050         "y": 2231.56689453125,\r
2051         "z": "44fca1a5.1b442",\r
2052         "wires": [\r
2053             [\r
2054                 "8aa7adc9.ac30f8"\r
2055             ]\r
2056         ]\r
2057     },\r
2058     {\r
2059         "id": "8aa7adc9.ac30f8",\r
2060         "type": "outcome",\r
2061         "name": "tunnel-termination-point",\r
2062         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2063         "comments": "",\r
2064         "outputs": 1,\r
2065         "x": 4278.8525390625,\r
2066         "y": 2231.388671875,\r
2067         "z": "44fca1a5.1b442",\r
2068         "wires": [\r
2069             [\r
2070                 "795c0f2b.18149"\r
2071             ]\r
2072         ]\r
2073     },\r
2074     {\r
2075         "id": "795c0f2b.18149",\r
2076         "type": "block",\r
2077         "name": "block : atomic",\r
2078         "xml": "<block atomic=\"true\">",\r
2079         "atomic": "true",\r
2080         "outputs": 1,\r
2081         "x": 4494.683853149414,\r
2082         "y": 2151.9071197509766,\r
2083         "z": "44fca1a5.1b442",\r
2084         "wires": [\r
2085             [\r
2086                 "10e8dccd.7572f3",\r
2087                 "a9b511df.e976a8",\r
2088                 "395f2645.3bbfda"\r
2089             ]\r
2090         ]\r
2091     },\r
2092     {\r
2093         "id": "10e8dccd.7572f3",\r
2094         "type": "set",\r
2095         "name": "set destination ttp-id",\r
2096         "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
2097         "comments": "",\r
2098         "x": 4709.683853149414,\r
2099         "y": 2113.9071197509766,\r
2100         "z": "44fca1a5.1b442",\r
2101         "wires": []\r
2102     },\r
2103     {\r
2104         "id": "a9b511df.e976a8",\r
2105         "type": "get-resource",\r
2106         "name": "get-resource src TTP",\r
2107         "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
2108         "comments": "",\r
2109         "outputs": 1,\r
2110         "x": 4706.683853149414,\r
2111         "y": 2152.9071197509766,\r
2112         "z": "44fca1a5.1b442",\r
2113         "wires": [\r
2114             [\r
2115                 "9cfd994f.d1bd28"\r
2116             ]\r
2117         ]\r
2118     },\r
2119     {\r
2120         "id": "395f2645.3bbfda",\r
2121         "type": "break",\r
2122         "name": "break",\r
2123         "xml": "<break>\n",\r
2124         "comments": "",\r
2125         "x": 4662.183853149414,\r
2126         "y": 2194.9071197509766,\r
2127         "z": "44fca1a5.1b442",\r
2128         "wires": []\r
2129     },\r
2130     {\r
2131         "id": "9cfd994f.d1bd28",\r
2132         "type": "success",\r
2133         "name": "success",\r
2134         "xml": "<outcome value='success'>\n",\r
2135         "comments": "",\r
2136         "outputs": 1,\r
2137         "x": 4887.183853149414,\r
2138         "y": 2151.9071197509766,\r
2139         "z": "44fca1a5.1b442",\r
2140         "wires": [\r
2141             [\r
2142                 "fdd3d4ff.12013"\r
2143             ]\r
2144         ]\r
2145     },\r
2146     {\r
2147         "id": "fdd3d4ff.12013",\r
2148         "type": "block",\r
2149         "name": "block : atomic",\r
2150         "xml": "<block atomic=\"true\">",\r
2151         "atomic": "true",\r
2152         "outputs": 1,\r
2153         "x": 5045.183853149414,\r
2154         "y": 2151.9071197509766,\r
2155         "z": "44fca1a5.1b442",\r
2156         "wires": [\r
2157             [\r
2158                 "b6d40b5b.531198"\r
2159             ]\r
2160         ]\r
2161     },\r
2162     {\r
2163         "id": "b6d40b5b.531198",\r
2164         "type": "set",\r
2165         "name": "set destination tunnel tp ip",\r
2166         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2167         "comments": "",\r
2168         "x": 5252.183853149414,\r
2169         "y": 2151.9071197509766,\r
2170         "z": "44fca1a5.1b442",\r
2171         "wires": []\r
2172     },\r
2173     {\r
2174         "id": "394a5b51.d2050c",\r
2175         "type": "get-resource",\r
2176         "name": "get-resource src pnf",\r
2177         "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
2178         "comments": "",\r
2179         "outputs": 1,\r
2180         "x": 3782.566665649414,\r
2181         "y": 758.5666656494141,\r
2182         "z": "44fca1a5.1b442",\r
2183         "wires": [\r
2184             [\r
2185                 "5300baf1.a03c3c",\r
2186                 "f2f1a539.122",\r
2187                 "8c08712.febd69"\r
2188             ]\r
2189         ]\r
2190     },\r
2191     {\r
2192         "id": "5300baf1.a03c3c",\r
2193         "type": "success",\r
2194         "name": "success",\r
2195         "xml": "<outcome value='success'>\n",\r
2196         "comments": "",\r
2197         "outputs": 1,\r
2198         "x": 3978.0667877197266,\r
2199         "y": 710.5666656494141,\r
2200         "z": "44fca1a5.1b442",\r
2201         "wires": [\r
2202             [\r
2203                 "7958e0c4.8b95e8"\r
2204             ]\r
2205         ]\r
2206     },\r
2207     {\r
2208         "id": "f2f1a539.122",\r
2209         "type": "not-found",\r
2210         "name": "not-found",\r
2211         "xml": "<outcome value='not-found'>\n",\r
2212         "comments": "",\r
2213         "outputs": 1,\r
2214         "x": 3970.0667877197266,\r
2215         "y": 765.5666656494141,\r
2216         "z": "44fca1a5.1b442",\r
2217         "wires": [\r
2218             [\r
2219                 "1c041508.6dc2cb"\r
2220             ]\r
2221         ]\r
2222     },\r
2223     {\r
2224         "id": "8c08712.febd69",\r
2225         "type": "other",\r
2226         "name": "other",\r
2227         "xml": "<outcome value='Other'>\n",\r
2228         "comments": "",\r
2229         "outputs": 1,\r
2230         "x": 3975.0667877197266,\r
2231         "y": 822.5666656494141,\r
2232         "z": "44fca1a5.1b442",\r
2233         "wires": [\r
2234             [\r
2235                 "a99a27ed.911ae"\r
2236             ]\r
2237         ]\r
2238     },\r
2239     {\r
2240         "id": "a99a27ed.911ae",\r
2241         "type": "returnFailure",\r
2242         "name": "return failure",\r
2243         "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
2244         "comments": "",\r
2245         "x": 4127.066787719727,\r
2246         "y": 823.5666656494141,\r
2247         "z": "44fca1a5.1b442",\r
2248         "wires": []\r
2249     },\r
2250     {\r
2251         "id": "1c041508.6dc2cb",\r
2252         "type": "returnFailure",\r
2253         "name": "return failure",\r
2254         "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
2255         "comments": "",\r
2256         "x": 4138.066787719727,\r
2257         "y": 768.5666656494141,\r
2258         "z": "44fca1a5.1b442",\r
2259         "wires": []\r
2260     },\r
2261     {\r
2262         "id": "7958e0c4.8b95e8",\r
2263         "type": "block",\r
2264         "name": "block",\r
2265         "xml": "<block>\n",\r
2266         "atomic": "false",\r
2267         "comments": "",\r
2268         "outputs": 1,\r
2269         "x": 4122.449111938477,\r
2270         "y": 708.2223358154297,\r
2271         "z": "44fca1a5.1b442",\r
2272         "wires": [\r
2273             [\r
2274                 "1bdb216.efc1b5f"\r
2275             ]\r
2276         ]\r
2277     },\r
2278     {\r
2279         "id": "d62d05cf.176f88",\r
2280         "type": "outcome",\r
2281         "name": "esr-thirdparty-sdnc",\r
2282         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2283         "comments": "",\r
2284         "outputs": 1,\r
2285         "x": 4704.566665649414,\r
2286         "y": 726.5666656494141,\r
2287         "z": "44fca1a5.1b442",\r
2288         "wires": [\r
2289             [\r
2290                 "bcc38290.1d7998"\r
2291             ]\r
2292         ]\r
2293     },\r
2294     {\r
2295         "id": "bcc38290.1d7998",\r
2296         "type": "block",\r
2297         "name": "block : atomic",\r
2298         "xml": "<block atomic=\"true\">",\r
2299         "atomic": "true",\r
2300         "outputs": 1,\r
2301         "x": 4881.566665649414,\r
2302         "y": 718.5666656494141,\r
2303         "z": "44fca1a5.1b442",\r
2304         "wires": [\r
2305             [\r
2306                 "393cf25.7da278e",\r
2307                 "e5456a36.7801c"\r
2308             ]\r
2309         ]\r
2310     },\r
2311     {\r
2312         "id": "1bdb216.efc1b5f",\r
2313         "type": "for",\r
2314         "name": "for each relationship",\r
2315         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2316         "comments": "",\r
2317         "outputs": 1,\r
2318         "x": 4306.566665649414,\r
2319         "y": 722.5666656494141,\r
2320         "z": "44fca1a5.1b442",\r
2321         "wires": [\r
2322             [\r
2323                 "fc8ac316.deab48"\r
2324             ]\r
2325         ]\r
2326     },\r
2327     {\r
2328         "id": "fc8ac316.deab48",\r
2329         "type": "switchNode",\r
2330         "name": "switch related-to",\r
2331         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2332         "comments": "",\r
2333         "outputs": 1,\r
2334         "x": 4501.566665649414,\r
2335         "y": 722.5666656494141,\r
2336         "z": "44fca1a5.1b442",\r
2337         "wires": [\r
2338             [\r
2339                 "d62d05cf.176f88",\r
2340                 "ecccf4af.e2e4f"\r
2341             ]\r
2342         ]\r
2343     },\r
2344     {\r
2345         "id": "393cf25.7da278e",\r
2346         "type": "set",\r
2347         "name": "set esr-thirdparty-sdnc domainA id",\r
2348         "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
2349         "comments": "",\r
2350         "x": 5119.566665649414,\r
2351         "y": 673.5666656494141,\r
2352         "z": "44fca1a5.1b442",\r
2353         "wires": []\r
2354     },\r
2355     {\r
2356         "id": "805f0385.d78d68",\r
2357         "type": "success",\r
2358         "name": "success",\r
2359         "xml": "<outcome value='success'>\n",\r
2360         "comments": "",\r
2361         "outputs": 1,\r
2362         "x": 5299.566665649414,\r
2363         "y": 716.5666656494141,\r
2364         "z": "44fca1a5.1b442",\r
2365         "wires": [\r
2366             [\r
2367                 "240537e6.0aafa"\r
2368             ]\r
2369         ]\r
2370     },\r
2371     {\r
2372         "id": "f2313436.e5c8e8",\r
2373         "type": "not-found",\r
2374         "name": "not-found",\r
2375         "xml": "<outcome value='not-found'>\n",\r
2376         "comments": "",\r
2377         "outputs": 1,\r
2378         "x": 5291.566665649414,\r
2379         "y": 771.5666656494141,\r
2380         "z": "44fca1a5.1b442",\r
2381         "wires": [\r
2382             [\r
2383                 "d00a9368.bb6d9"\r
2384             ]\r
2385         ]\r
2386     },\r
2387     {\r
2388         "id": "b37025f0.b6455",\r
2389         "type": "other",\r
2390         "name": "other",\r
2391         "xml": "<outcome value='Other'>\n",\r
2392         "comments": "",\r
2393         "outputs": 1,\r
2394         "x": 5296.566665649414,\r
2395         "y": 828.5666656494141,\r
2396         "z": "44fca1a5.1b442",\r
2397         "wires": [\r
2398             [\r
2399                 "cbb11ac0.487e2"\r
2400             ]\r
2401         ]\r
2402     },\r
2403     {\r
2404         "id": "cbb11ac0.487e2",\r
2405         "type": "returnFailure",\r
2406         "name": "return failure",\r
2407         "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
2408         "comments": "",\r
2409         "x": 5448.566665649414,\r
2410         "y": 829.5666656494141,\r
2411         "z": "44fca1a5.1b442",\r
2412         "wires": []\r
2413     },\r
2414     {\r
2415         "id": "d00a9368.bb6d9",\r
2416         "type": "returnFailure",\r
2417         "name": "return failure",\r
2418         "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
2419         "comments": "",\r
2420         "x": 5459.566665649414,\r
2421         "y": 774.5666656494141,\r
2422         "z": "44fca1a5.1b442",\r
2423         "wires": []\r
2424     },\r
2425     {\r
2426         "id": "240537e6.0aafa",\r
2427         "type": "block",\r
2428         "name": "block",\r
2429         "xml": "<block>\n",\r
2430         "atomic": "false",\r
2431         "comments": "",\r
2432         "outputs": 1,\r
2433         "x": 5443.948989868164,\r
2434         "y": 714.2223358154297,\r
2435         "z": "44fca1a5.1b442",\r
2436         "wires": [\r
2437             [\r
2438                 "29fd7b34.4131dc"\r
2439             ]\r
2440         ]\r
2441     },\r
2442     {\r
2443         "id": "29fd7b34.4131dc",\r
2444         "type": "set",\r
2445         "name": "set controller domainA data",\r
2446         "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
2447         "comments": "",\r
2448         "x": 5658.566665649414,\r
2449         "y": 710.5666656494141,\r
2450         "z": "44fca1a5.1b442",\r
2451         "wires": []\r
2452     },\r
2453     {\r
2454         "id": "10a080e8.915427",\r
2455         "type": "get-resource",\r
2456         "name": "get-resource src pnf",\r
2457         "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
2458         "comments": "",\r
2459         "outputs": 1,\r
2460         "x": 3823.566665649414,\r
2461         "y": 1599.566665649414,\r
2462         "z": "44fca1a5.1b442",\r
2463         "wires": [\r
2464             [\r
2465                 "4b321d82.d208c4",\r
2466                 "71f63ca0.f439b4",\r
2467                 "6408a65c.9c051"\r
2468             ]\r
2469         ]\r
2470     },\r
2471     {\r
2472         "id": "4b321d82.d208c4",\r
2473         "type": "success",\r
2474         "name": "success",\r
2475         "xml": "<outcome value='success'>\n",\r
2476         "comments": "",\r
2477         "outputs": 1,\r
2478         "x": 4019.0667877197266,\r
2479         "y": 1551.566665649414,\r
2480         "z": "44fca1a5.1b442",\r
2481         "wires": [\r
2482             [\r
2483                 "ff7035a8.4a4898"\r
2484             ]\r
2485         ]\r
2486     },\r
2487     {\r
2488         "id": "71f63ca0.f439b4",\r
2489         "type": "not-found",\r
2490         "name": "not-found",\r
2491         "xml": "<outcome value='not-found'>\n",\r
2492         "comments": "",\r
2493         "outputs": 1,\r
2494         "x": 4011.0667877197266,\r
2495         "y": 1606.566665649414,\r
2496         "z": "44fca1a5.1b442",\r
2497         "wires": [\r
2498             [\r
2499                 "cedb582a.827cc8"\r
2500             ]\r
2501         ]\r
2502     },\r
2503     {\r
2504         "id": "6408a65c.9c051",\r
2505         "type": "other",\r
2506         "name": "other",\r
2507         "xml": "<outcome value='Other'>\n",\r
2508         "comments": "",\r
2509         "outputs": 1,\r
2510         "x": 4016.0667877197266,\r
2511         "y": 1663.566665649414,\r
2512         "z": "44fca1a5.1b442",\r
2513         "wires": [\r
2514             [\r
2515                 "62f85595.8f834c"\r
2516             ]\r
2517         ]\r
2518     },\r
2519     {\r
2520         "id": "62f85595.8f834c",\r
2521         "type": "returnFailure",\r
2522         "name": "return failure",\r
2523         "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
2524         "comments": "",\r
2525         "x": 4168.066787719727,\r
2526         "y": 1664.566665649414,\r
2527         "z": "44fca1a5.1b442",\r
2528         "wires": []\r
2529     },\r
2530     {\r
2531         "id": "cedb582a.827cc8",\r
2532         "type": "returnFailure",\r
2533         "name": "return failure",\r
2534         "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
2535         "comments": "",\r
2536         "x": 4179.066787719727,\r
2537         "y": 1609.566665649414,\r
2538         "z": "44fca1a5.1b442",\r
2539         "wires": []\r
2540     },\r
2541     {\r
2542         "id": "ff7035a8.4a4898",\r
2543         "type": "block",\r
2544         "name": "block",\r
2545         "xml": "<block>\n",\r
2546         "atomic": "false",\r
2547         "comments": "",\r
2548         "outputs": 1,\r
2549         "x": 4163.449111938477,\r
2550         "y": 1549.2223358154297,\r
2551         "z": "44fca1a5.1b442",\r
2552         "wires": [\r
2553             [\r
2554                 "1cfc281a.8a30b8"\r
2555             ]\r
2556         ]\r
2557     },\r
2558     {\r
2559         "id": "1b9dcd6c.838143",\r
2560         "type": "outcome",\r
2561         "name": "esr-thirdparty-sdnc",\r
2562         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2563         "comments": "",\r
2564         "outputs": 1,\r
2565         "x": 4745.566665649414,\r
2566         "y": 1567.566665649414,\r
2567         "z": "44fca1a5.1b442",\r
2568         "wires": [\r
2569             [\r
2570                 "f848858.f890878"\r
2571             ]\r
2572         ]\r
2573     },\r
2574     {\r
2575         "id": "f848858.f890878",\r
2576         "type": "block",\r
2577         "name": "block : atomic",\r
2578         "xml": "<block atomic=\"true\">",\r
2579         "atomic": "true",\r
2580         "outputs": 1,\r
2581         "x": 4922.566665649414,\r
2582         "y": 1559.566665649414,\r
2583         "z": "44fca1a5.1b442",\r
2584         "wires": [\r
2585             [\r
2586                 "d6dc5769.a94e5",\r
2587                 "8ffaa581.0596e"\r
2588             ]\r
2589         ]\r
2590     },\r
2591     {\r
2592         "id": "1cfc281a.8a30b8",\r
2593         "type": "for",\r
2594         "name": "for each relationship",\r
2595         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2596         "comments": "",\r
2597         "outputs": 1,\r
2598         "x": 4347.566665649414,\r
2599         "y": 1563.566665649414,\r
2600         "z": "44fca1a5.1b442",\r
2601         "wires": [\r
2602             [\r
2603                 "a7de5ddc.f741d"\r
2604             ]\r
2605         ]\r
2606     },\r
2607     {\r
2608         "id": "a7de5ddc.f741d",\r
2609         "type": "switchNode",\r
2610         "name": "switch related-to",\r
2611         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2612         "comments": "",\r
2613         "outputs": 1,\r
2614         "x": 4542.566665649414,\r
2615         "y": 1563.566665649414,\r
2616         "z": "44fca1a5.1b442",\r
2617         "wires": [\r
2618             [\r
2619                 "1b9dcd6c.838143",\r
2620                 "a15038eb.52c2d"\r
2621             ]\r
2622         ]\r
2623     },\r
2624     {\r
2625         "id": "8ffaa581.0596e",\r
2626         "type": "execute",\r
2627         "name": "get esr-thirdparty-sdnc",\r
2628         "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
2629         "comments": "",\r
2630         "outputs": 1,\r
2631         "x": 5130.566665649414,\r
2632         "y": 1566.566665649414,\r
2633         "z": "44fca1a5.1b442",\r
2634         "wires": [\r
2635             [\r
2636                 "872d1ff2.ba1a",\r
2637                 "fb4371f0.b2d8f8",\r
2638                 "7a614704.3d5f48"\r
2639             ]\r
2640         ]\r
2641     },\r
2642     {\r
2643         "id": "d6dc5769.a94e5",\r
2644         "type": "set",\r
2645         "name": "set esr-thirdparty-sdnc domainB id",\r
2646         "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
2647         "comments": "",\r
2648         "x": 5160.566665649414,\r
2649         "y": 1514.566665649414,\r
2650         "z": "44fca1a5.1b442",\r
2651         "wires": []\r
2652     },\r
2653     {\r
2654         "id": "872d1ff2.ba1a",\r
2655         "type": "success",\r
2656         "name": "success",\r
2657         "xml": "<outcome value='success'>\n",\r
2658         "comments": "",\r
2659         "outputs": 1,\r
2660         "x": 5340.566665649414,\r
2661         "y": 1557.566665649414,\r
2662         "z": "44fca1a5.1b442",\r
2663         "wires": [\r
2664             [\r
2665                 "7aeb52e4.0a2274"\r
2666             ]\r
2667         ]\r
2668     },\r
2669     {\r
2670         "id": "fb4371f0.b2d8f8",\r
2671         "type": "not-found",\r
2672         "name": "not-found",\r
2673         "xml": "<outcome value='not-found'>\n",\r
2674         "comments": "",\r
2675         "outputs": 1,\r
2676         "x": 5332.566665649414,\r
2677         "y": 1612.566665649414,\r
2678         "z": "44fca1a5.1b442",\r
2679         "wires": [\r
2680             [\r
2681                 "8969155b.d859f"\r
2682             ]\r
2683         ]\r
2684     },\r
2685     {\r
2686         "id": "7a614704.3d5f48",\r
2687         "type": "other",\r
2688         "name": "other",\r
2689         "xml": "<outcome value='Other'>\n",\r
2690         "comments": "",\r
2691         "outputs": 1,\r
2692         "x": 5337.566665649414,\r
2693         "y": 1669.566665649414,\r
2694         "z": "44fca1a5.1b442",\r
2695         "wires": [\r
2696             [\r
2697                 "889b3b0a.917628"\r
2698             ]\r
2699         ]\r
2700     },\r
2701     {\r
2702         "id": "889b3b0a.917628",\r
2703         "type": "returnFailure",\r
2704         "name": "return failure",\r
2705         "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
2706         "comments": "",\r
2707         "x": 5489.566665649414,\r
2708         "y": 1670.566665649414,\r
2709         "z": "44fca1a5.1b442",\r
2710         "wires": []\r
2711     },\r
2712     {\r
2713         "id": "8969155b.d859f",\r
2714         "type": "returnFailure",\r
2715         "name": "return failure",\r
2716         "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
2717         "comments": "",\r
2718         "x": 5500.566665649414,\r
2719         "y": 1615.566665649414,\r
2720         "z": "44fca1a5.1b442",\r
2721         "wires": []\r
2722     },\r
2723     {\r
2724         "id": "7aeb52e4.0a2274",\r
2725         "type": "block",\r
2726         "name": "block",\r
2727         "xml": "<block>\n",\r
2728         "atomic": "false",\r
2729         "comments": "",\r
2730         "outputs": 1,\r
2731         "x": 5484.948989868164,\r
2732         "y": 1555.2223358154297,\r
2733         "z": "44fca1a5.1b442",\r
2734         "wires": [\r
2735             [\r
2736                 "4d040072.97eb48"\r
2737             ]\r
2738         ]\r
2739     },\r
2740     {\r
2741         "id": "4d040072.97eb48",\r
2742         "type": "set",\r
2743         "name": "set controller domainB data",\r
2744         "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
2745         "comments": "",\r
2746         "x": 5699.566665649414,\r
2747         "y": 1551.566665649414,\r
2748         "z": "44fca1a5.1b442",\r
2749         "wires": []\r
2750     },\r
2751     {\r
2752         "id": "c2ddd3bf.c4d7b",\r
2753         "type": "block",\r
2754         "name": "block : atomic",\r
2755         "xml": "<block atomic=\"true\">",\r
2756         "atomic": "true",\r
2757         "outputs": 1,\r
2758         "x": 2783.566665649414,\r
2759         "y": 491.56666564941406,\r
2760         "z": "44fca1a5.1b442",\r
2761         "wires": [\r
2762             [\r
2763                 "f5c84d41.47596",\r
2764                 "3ea037de.479638"\r
2765             ]\r
2766         ]\r
2767     },\r
2768     {\r
2769         "id": "3ea037de.479638",\r
2770         "type": "for",\r
2771         "name": "for each allotted-resource relationship",\r
2772         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
2773         "comments": "",\r
2774         "outputs": 1,\r
2775         "x": 3064.566665649414,\r
2776         "y": 447.56666564941406,\r
2777         "z": "44fca1a5.1b442",\r
2778         "wires": [\r
2779             [\r
2780                 "1936a612.75947a"\r
2781             ]\r
2782         ]\r
2783     },\r
2784     {\r
2785         "id": "1936a612.75947a",\r
2786         "type": "switchNode",\r
2787         "name": "switch related-to",\r
2788         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
2789         "comments": "",\r
2790         "outputs": 1,\r
2791         "x": 3326.566665649414,\r
2792         "y": 447.56666564941406,\r
2793         "z": "44fca1a5.1b442",\r
2794         "wires": [\r
2795             [\r
2796                 "caa679b7.88155"\r
2797             ]\r
2798         ]\r
2799     },\r
2800     {\r
2801         "id": "ecccf4af.e2e4f",\r
2802         "type": "outcome",\r
2803         "name": "network-resource",\r
2804         "xml": "<outcome value='network-resource'>",\r
2805         "comments": "",\r
2806         "outputs": 1,\r
2807         "x": 4707.566665649414,\r
2808         "y": 800.5666656494141,\r
2809         "z": "44fca1a5.1b442",\r
2810         "wires": [\r
2811             [\r
2812                 "d34903a3.baac18"\r
2813             ]\r
2814         ]\r
2815     },\r
2816     {\r
2817         "id": "d34903a3.baac18",\r
2818         "type": "block",\r
2819         "name": "block : atomic",\r
2820         "xml": "<block atomic=\"true\">",\r
2821         "atomic": "true",\r
2822         "outputs": 1,\r
2823         "x": 4884.566665649414,\r
2824         "y": 792.5666656494141,\r
2825         "z": "44fca1a5.1b442",\r
2826         "wires": [\r
2827             [\r
2828                 "2edc576a.2f5808"\r
2829             ]\r
2830         ]\r
2831     },\r
2832     {\r
2833         "id": "2edc576a.2f5808",\r
2834         "type": "set",\r
2835         "name": "set domainA ethernet layer network-id",\r
2836         "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
2837         "comments": "",\r
2838         "x": 5119.566665649414,\r
2839         "y": 916.5666656494141,\r
2840         "z": "44fca1a5.1b442",\r
2841         "wires": []\r
2842     },\r
2843     {\r
2844         "id": "ad9da04e.d2c378",\r
2845         "type": "set",\r
2846         "name": "set domainB ethernet layer network-id",\r
2847         "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
2848         "comments": "",\r
2849         "x": 5159.566665649414,\r
2850         "y": 1756.566665649414,\r
2851         "z": "44fca1a5.1b442",\r
2852         "wires": []\r
2853     },\r
2854     {\r
2855         "id": "3474026b.129ff6",\r
2856         "type": "block",\r
2857         "name": "block : atomic",\r
2858         "xml": "<block atomic=\"true\">",\r
2859         "atomic": "true",\r
2860         "outputs": 1,\r
2861         "x": 4924.566665649414,\r
2862         "y": 1632.566665649414,\r
2863         "z": "44fca1a5.1b442",\r
2864         "wires": [\r
2865             [\r
2866                 "ad9da04e.d2c378"\r
2867             ]\r
2868         ]\r
2869     },\r
2870     {\r
2871         "id": "a15038eb.52c2d",\r
2872         "type": "outcome",\r
2873         "name": "network-resource",\r
2874         "xml": "<outcome value='network-resource'>",\r
2875         "comments": "",\r
2876         "outputs": 1,\r
2877         "x": 4747.566665649414,\r
2878         "y": 1640.566665649414,\r
2879         "z": "44fca1a5.1b442",\r
2880         "wires": [\r
2881             [\r
2882                 "3474026b.129ff6"\r
2883             ]\r
2884         ]\r
2885     },\r
2886     {\r
2887         "id": "3853baa5.6545de",\r
2888         "type": "set",\r
2889         "name": "set the max bandwidth",\r
2890         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
2891         "comments": "",\r
2892         "x": 4365.566665649414,\r
2893         "y": 577.5666656494141,\r
2894         "z": "44fca1a5.1b442",\r
2895         "wires": []\r
2896     },\r
2897     {\r
2898         "id": "32f8b9ac.1ffbf6",\r
2899         "type": "execute",\r
2900         "name": "execute UUID generator for ethernet-service-name",\r
2901         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
2902         "comments": "",\r
2903         "outputs": 1,\r
2904         "x": 2721.566665649414,\r
2905         "y": 711.5666656494141,\r
2906         "z": "44fca1a5.1b442",\r
2907         "wires": [\r
2908             []\r
2909         ]\r
2910     },\r
2911     {\r
2912         "id": "4141db24.a24a84",\r
2913         "type": "execute",\r
2914         "name": "execute UUID generator for otn-tunnel-name",\r
2915         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
2916         "comments": "",\r
2917         "outputs": 1,\r
2918         "x": 2702.566665649414,\r
2919         "y": 761.5666656494141,\r
2920         "z": "44fca1a5.1b442",\r
2921         "wires": [\r
2922             []\r
2923         ]\r
2924     },\r
2925     {\r
2926         "id": "b571a17a.acc4b8",\r
2927         "type": "for",\r
2928         "name": "for each allotted-resource",\r
2929         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
2930         "comments": "",\r
2931         "outputs": 1,\r
2932         "x": 1963.566665649414,\r
2933         "y": 295.56666564941406,\r
2934         "z": "44fca1a5.1b442",\r
2935         "wires": [\r
2936             [\r
2937                 "e81d387c.246378",\r
2938                 "a5dd2e0a.9197a"\r
2939             ]\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "e81d387c.246378",\r
2944         "type": "set",\r
2945         "name": "set the current allotted-resource-id",\r
2946         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
2947         "comments": "",\r
2948         "x": 2243.566665649414,\r
2949         "y": 233.56666564941406,\r
2950         "z": "44fca1a5.1b442",\r
2951         "wires": []\r
2952     },\r
2953     {\r
2954         "id": "73820c83.e6bf7c",\r
2955         "type": "set",\r
2956         "name": "set query_param",\r
2957         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
2958         "comments": "",\r
2959         "x": 2632.566665649414,\r
2960         "y": 2126.5667877197266,\r
2961         "z": "44fca1a5.1b442",\r
2962         "wires": []\r
2963     },\r
2964     {\r
2965         "id": "4c82daf8.25cd8c",\r
2966         "type": "set",\r
2967         "name": "unset parameters",\r
2968         "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
2969         "comments": "",\r
2970         "x": 2602.566665649414,\r
2971         "y": 3969.566665649414,\r
2972         "z": "44fca1a5.1b442",\r
2973         "wires": []\r
2974     },\r
2975     {\r
2976         "id": "19eb9ce6.88ad83",\r
2977         "type": "set",\r
2978         "name": "set new ethernet-service-name",\r
2979         "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
2980         "comments": "",\r
2981         "x": 2659.566665649414,\r
2982         "y": 806.5666656494141,\r
2983         "z": "44fca1a5.1b442",\r
2984         "wires": []\r
2985     },\r
2986     {\r
2987         "id": "454059c8.1f8fc",\r
2988         "type": "for",\r
2989         "name": "for vidx..tmp.otninfo_length[]",\r
2990         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
2991         "comments": "",\r
2992         "outputs": 1,\r
2993         "x": 2958.566665649414,\r
2994         "y": 2523.5667877197266,\r
2995         "z": "44fca1a5.1b442",\r
2996         "wires": [\r
2997             [\r
2998                 "9289ae0a.6f50b8"\r
2999             ]\r
3000         ]\r
3001     },\r
3002     {\r
3003         "id": "bdbfdefa.d898a",\r
3004         "type": "save",\r
3005         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3006         "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-ltp-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-ltp-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
3007         "comments": "",\r
3008         "outputs": 1,\r
3009         "x": 3776.566665649414,\r
3010         "y": 2958.566665649414,\r
3011         "z": "44fca1a5.1b442",\r
3012         "wires": [\r
3013             [\r
3014                 "4ee8fff5.d7b41"\r
3015             ]\r
3016         ]\r
3017     },\r
3018     {\r
3019         "id": "8e0ed487.e42d7",\r
3020         "type": "save",\r
3021         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3022         "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
3023         "comments": "",\r
3024         "outputs": 1,\r
3025         "x": 4344.066421508789,\r
3026         "y": 3067.566665649414,\r
3027         "z": "44fca1a5.1b442",\r
3028         "wires": [\r
3029             []\r
3030         ]\r
3031     },\r
3032     {\r
3033         "id": "4ee8fff5.d7b41",\r
3034         "type": "success",\r
3035         "name": "success",\r
3036         "xml": "<outcome value='success'>\n",\r
3037         "comments": "",\r
3038         "outputs": 1,\r
3039         "x": 4082.566665649414,\r
3040         "y": 2957.566665649414,\r
3041         "z": "44fca1a5.1b442",\r
3042         "wires": [\r
3043             [\r
3044                 "fd74d2bf.3f7ab"\r
3045             ]\r
3046         ]\r
3047     },\r
3048     {\r
3049         "id": "fd74d2bf.3f7ab",\r
3050         "type": "block",\r
3051         "name": "block",\r
3052         "xml": "<block>\n",\r
3053         "atomic": "false",\r
3054         "comments": "",\r
3055         "outputs": 1,\r
3056         "x": 4292.066665649414,\r
3057         "y": 2957.820571899414,\r
3058         "z": "44fca1a5.1b442",\r
3059         "wires": [\r
3060             []\r
3061         ]\r
3062     },\r
3063     {\r
3064         "id": "b7aeb66a.da2a",\r
3065         "type": "execute",\r
3066         "name": "execute UUID generator for vpn-binding $otnidx",\r
3067         "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
3068         "comments": "",\r
3069         "outputs": 1,\r
3070         "x": 3809.566665649414,\r
3071         "y": 2437.566665649414,\r
3072         "z": "44fca1a5.1b442",\r
3073         "wires": [\r
3074             []\r
3075         ]\r
3076     },\r
3077     {\r
3078         "id": "17919727.aa0719",\r
3079         "type": "switchNode",\r
3080         "name": "switch otnidx == 0",\r
3081         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3082         "comments": "",\r
3083         "outputs": 1,\r
3084         "x": 3685.566665649414,\r
3085         "y": 3075.566665649414,\r
3086         "z": "44fca1a5.1b442",\r
3087         "wires": [\r
3088             [\r
3089                 "55f22aaa.a85d4c",\r
3090                 "d9550f9f.2910e"\r
3091             ]\r
3092         ]\r
3093     },\r
3094     {\r
3095         "id": "55f22aaa.a85d4c",\r
3096         "type": "outcomeTrue",\r
3097         "name": "true",\r
3098         "xml": "<outcome value='true'>\n",\r
3099         "comments": "",\r
3100         "outputs": 1,\r
3101         "x": 3868.566665649414,\r
3102         "y": 3075.566665649414,\r
3103         "z": "44fca1a5.1b442",\r
3104         "wires": [\r
3105             [\r
3106                 "6f87de55.68d3f8"\r
3107             ]\r
3108         ]\r
3109     },\r
3110     {\r
3111         "id": "d9550f9f.2910e",\r
3112         "type": "outcomeFalse",\r
3113         "name": "false",\r
3114         "xml": "<outcome value='false'>\n",\r
3115         "comments": "",\r
3116         "outputs": 1,\r
3117         "x": 3693.566665649414,\r
3118         "y": 3222.566665649414,\r
3119         "z": "44fca1a5.1b442",\r
3120         "wires": [\r
3121             [\r
3122                 "d8da513c.d505d8"\r
3123             ]\r
3124         ]\r
3125     },\r
3126     {\r
3127         "id": "d53fd4f3.30e108",\r
3128         "type": "switchNode",\r
3129         "name": "switch otnidx == last",\r
3130         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3131         "comments": "",\r
3132         "outputs": 1,\r
3133         "x": 4034.566665649414,\r
3134         "y": 3303.566665649414,\r
3135         "z": "44fca1a5.1b442",\r
3136         "wires": [\r
3137             [\r
3138                 "ccd79b30.c48ac8",\r
3139                 "81229291.49d3d"\r
3140             ]\r
3141         ]\r
3142     },\r
3143     {\r
3144         "id": "ccd79b30.c48ac8",\r
3145         "type": "outcomeTrue",\r
3146         "name": "true",\r
3147         "xml": "<outcome value='true'>\n",\r
3148         "comments": "",\r
3149         "outputs": 1,\r
3150         "x": 4219.566665649414,\r
3151         "y": 3304.566665649414,\r
3152         "z": "44fca1a5.1b442",\r
3153         "wires": [\r
3154             [\r
3155                 "662ad553.4604e4"\r
3156             ]\r
3157         ]\r
3158     },\r
3159     {\r
3160         "id": "81229291.49d3d",\r
3161         "type": "outcomeFalse",\r
3162         "name": "false",\r
3163         "xml": "<outcome value='false'>\n",\r
3164         "comments": "",\r
3165         "outputs": 1,\r
3166         "x": 4238.566665649414,\r
3167         "y": 3570.566665649414,\r
3168         "z": "44fca1a5.1b442",\r
3169         "wires": [\r
3170             [\r
3171                 "c0c1efea.822dc8"\r
3172             ]\r
3173         ]\r
3174     },\r
3175     {\r
3176         "id": "1aa66b17.8d75f5",\r
3177         "type": "save",\r
3178         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3179         "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
3180         "comments": "",\r
3181         "outputs": 1,\r
3182         "x": 4649.566665649414,\r
3183         "y": 3305.566665649414,\r
3184         "z": "44fca1a5.1b442",\r
3185         "wires": [\r
3186             []\r
3187         ]\r
3188     },\r
3189     {\r
3190         "id": "e1bc4bbf.1d8018",\r
3191         "type": "execute",\r
3192         "name": "execute UUID generator for connectivity domain otnidx",\r
3193         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3194         "comments": "",\r
3195         "outputs": 1,\r
3196         "x": 4723.566665649414,\r
3197         "y": 3603.566665649414,\r
3198         "z": "44fca1a5.1b442",\r
3199         "wires": [\r
3200             []\r
3201         ]\r
3202     },\r
3203     {\r
3204         "id": "42d4345e.c60ee4",\r
3205         "type": "save",\r
3206         "name": "save connectivity resource in AAI",\r
3207         "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
3208         "comments": "",\r
3209         "outputs": 1,\r
3210         "x": 4659.566665649414,\r
3211         "y": 3654.566665649414,\r
3212         "z": "44fca1a5.1b442",\r
3213         "wires": [\r
3214             []\r
3215         ]\r
3216     },\r
3217     {\r
3218         "id": "ffc4c195.e5a98",\r
3219         "type": "save",\r
3220         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3221         "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
3222         "comments": "",\r
3223         "outputs": 1,\r
3224         "x": 4788.566665649414,\r
3225         "y": 3704.566665649414,\r
3226         "z": "44fca1a5.1b442",\r
3227         "wires": [\r
3228             []\r
3229         ]\r
3230     },\r
3231     {\r
3232         "id": "8d280419.13bb38",\r
3233         "type": "comment",\r
3234         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3235         "info": "",\r
3236         "comments": "",\r
3237         "x": 4798.566665649414,\r
3238         "y": 3547.566665649414,\r
3239         "z": "44fca1a5.1b442",\r
3240         "wires": []\r
3241     },\r
3242     {\r
3243         "id": "ab9a4509.1c756",\r
3244         "type": "save",\r
3245         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3246         "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
3247         "comments": "",\r
3248         "outputs": 1,\r
3249         "x": 4756.566665649414,\r
3250         "y": 3763.566665649414,\r
3251         "z": "44fca1a5.1b442",\r
3252         "wires": [\r
3253             []\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "c0c1efea.822dc8",\r
3258         "type": "block",\r
3259         "name": "block : atomic",\r
3260         "xml": "<block atomic='true'>",\r
3261         "atomic": "true",\r
3262         "comments": "",\r
3263         "outputs": 1,\r
3264         "x": 4395.566665649414,\r
3265         "y": 3571.566665649414,\r
3266         "z": "44fca1a5.1b442",\r
3267         "wires": [\r
3268             [\r
3269                 "e1bc4bbf.1d8018",\r
3270                 "42d4345e.c60ee4",\r
3271                 "ffc4c195.e5a98",\r
3272                 "ab9a4509.1c756",\r
3273                 "d4ea603c.b425d8"\r
3274             ]\r
3275         ]\r
3276     },\r
3277     {\r
3278         "id": "9289ae0a.6f50b8",\r
3279         "type": "block",\r
3280         "name": "block : atomic",\r
3281         "xml": "<block atomic='true'>",\r
3282         "atomic": "true",\r
3283         "comments": "",\r
3284         "outputs": 1,\r
3285         "x": 3227.566665649414,\r
3286         "y": 2523.5667877197266,\r
3287         "z": "44fca1a5.1b442",\r
3288         "wires": [\r
3289             [\r
3290                 "b7aeb66a.da2a",\r
3291                 "bdbfdefa.d898a",\r
3292                 "17919727.aa0719",\r
3293                 "95f5c4e3.614088",\r
3294                 "b6d3651d.4b2128",\r
3295                 "fe8a7144.adc7d8",\r
3296                 "162254fa.d7f113"\r
3297             ]\r
3298         ]\r
3299     },\r
3300     {\r
3301         "id": "ab727fcb.09998",\r
3302         "type": "set",\r
3303         "name": "set attachment_param domain A",\r
3304         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
3305         "comments": "",\r
3306         "x": 4273.566665649414,\r
3307         "y": 3119.566665649414,\r
3308         "z": "44fca1a5.1b442",\r
3309         "wires": []\r
3310     },\r
3311     {\r
3312         "id": "118a71a6.05f0f6",\r
3313         "type": "execute",\r
3314         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3315         "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
3316         "comments": "",\r
3317         "outputs": 1,\r
3318         "x": 4326.566665649414,\r
3319         "y": 3163.566665649414,\r
3320         "z": "44fca1a5.1b442",\r
3321         "wires": [\r
3322             [\r
3323                 "e0f8cea0.4a9908",\r
3324                 "3c7e45bc.067942"\r
3325             ]\r
3326         ]\r
3327     },\r
3328     {\r
3329         "id": "3c7e45bc.067942",\r
3330         "type": "failure",\r
3331         "name": "failure",\r
3332         "xml": "<outcome value='failure'>\n",\r
3333         "comments": "",\r
3334         "outputs": 1,\r
3335         "x": 4597.566665649414,\r
3336         "y": 3148.566665649414,\r
3337         "z": "44fca1a5.1b442",\r
3338         "wires": [\r
3339             [\r
3340                 "a8f23bb.c77ec48"\r
3341             ]\r
3342         ]\r
3343     },\r
3344     {\r
3345         "id": "e0f8cea0.4a9908",\r
3346         "type": "success",\r
3347         "name": "success",\r
3348         "xml": "<outcome value='success'>\n",\r
3349         "comments": "",\r
3350         "outputs": 1,\r
3351         "x": 4595.566879272461,\r
3352         "y": 3206.566575050354,\r
3353         "z": "44fca1a5.1b442",\r
3354         "wires": [\r
3355             [\r
3356                 "d71a2665.7073"\r
3357             ]\r
3358         ]\r
3359     },\r
3360     {\r
3361         "id": "a8f23bb.c77ec48",\r
3362         "type": "returnFailure",\r
3363         "name": "return failure",\r
3364         "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
3365         "comments": "",\r
3366         "x": 4737.566913604736,\r
3367         "y": 3148.5666666030884,\r
3368         "z": "44fca1a5.1b442",\r
3369         "wires": []\r
3370     },\r
3371     {\r
3372         "id": "d71a2665.7073",\r
3373         "type": "block",\r
3374         "name": "block",\r
3375         "xml": "<block>\n",\r
3376         "atomic": "false",\r
3377         "comments": "",\r
3378         "outputs": 1,\r
3379         "x": 4743.593925476074,\r
3380         "y": 3197.31206035614,\r
3381         "z": "44fca1a5.1b442",\r
3382         "wires": [\r
3383             []\r
3384         ]\r
3385     },\r
3386     {\r
3387         "id": "6f87de55.68d3f8",\r
3388         "type": "block",\r
3389         "name": "block",\r
3390         "xml": "<block>\n",\r
3391         "atomic": "false",\r
3392         "comments": "",\r
3393         "outputs": 1,\r
3394         "x": 4009.566665649414,\r
3395         "y": 3065.566665649414,\r
3396         "z": "44fca1a5.1b442",\r
3397         "wires": [\r
3398             [\r
3399                 "8e0ed487.e42d7",\r
3400                 "ab727fcb.09998"\r
3401             ]\r
3402         ]\r
3403     },\r
3404     {\r
3405         "id": "662ad553.4604e4",\r
3406         "type": "block",\r
3407         "name": "block",\r
3408         "xml": "<block>\n",\r
3409         "atomic": "false",\r
3410         "comments": "",\r
3411         "outputs": 1,\r
3412         "x": 4353.566665649414,\r
3413         "y": 3305.566665649414,\r
3414         "z": "44fca1a5.1b442",\r
3415         "wires": [\r
3416             [\r
3417                 "1aa66b17.8d75f5",\r
3418                 "c0b9b434.8e9d68"\r
3419             ]\r
3420         ]\r
3421     },\r
3422     {\r
3423         "id": "c0b9b434.8e9d68",\r
3424         "type": "set",\r
3425         "name": "set attachment_param domain B",\r
3426         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3427         "comments": "",\r
3428         "x": 4573.566665649414,\r
3429         "y": 3349.566665649414,\r
3430         "z": "44fca1a5.1b442",\r
3431         "wires": []\r
3432     },\r
3433     {\r
3434         "id": "301e3c75.5bbc74",\r
3435         "type": "execute",\r
3436         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3437         "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
3438         "comments": "",\r
3439         "outputs": 1,\r
3440         "x": 4624.566665649414,\r
3441         "y": 3393.566665649414,\r
3442         "z": "44fca1a5.1b442",\r
3443         "wires": [\r
3444             [\r
3445                 "a09528f5.629fe",\r
3446                 "14dc5b75.dea77d"\r
3447             ]\r
3448         ]\r
3449     },\r
3450     {\r
3451         "id": "14dc5b75.dea77d",\r
3452         "type": "failure",\r
3453         "name": "failure",\r
3454         "xml": "<outcome value='failure'>\n",\r
3455         "comments": "",\r
3456         "outputs": 1,\r
3457         "x": 4887.566665649414,\r
3458         "y": 3373.566665649414,\r
3459         "z": "44fca1a5.1b442",\r
3460         "wires": [\r
3461             [\r
3462                 "5042c1df.677818"\r
3463             ]\r
3464         ]\r
3465     },\r
3466     {\r
3467         "id": "a09528f5.629fe",\r
3468         "type": "success",\r
3469         "name": "success",\r
3470         "xml": "<outcome value='success'>\n",\r
3471         "comments": "",\r
3472         "outputs": 1,\r
3473         "x": 4888.566879272461,\r
3474         "y": 3424.566575050354,\r
3475         "z": "44fca1a5.1b442",\r
3476         "wires": [\r
3477             [\r
3478                 "33874991.bee64e"\r
3479             ]\r
3480         ]\r
3481     },\r
3482     {\r
3483         "id": "5042c1df.677818",\r
3484         "type": "returnFailure",\r
3485         "name": "return failure",\r
3486         "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
3487         "comments": "",\r
3488         "x": 5027.566913604736,\r
3489         "y": 3373.5666666030884,\r
3490         "z": "44fca1a5.1b442",\r
3491         "wires": []\r
3492     },\r
3493     {\r
3494         "id": "33874991.bee64e",\r
3495         "type": "block",\r
3496         "name": "block",\r
3497         "xml": "<block>\n",\r
3498         "atomic": "false",\r
3499         "comments": "",\r
3500         "outputs": 1,\r
3501         "x": 5033.593925476074,\r
3502         "y": 3422.31206035614,\r
3503         "z": "44fca1a5.1b442",\r
3504         "wires": [\r
3505             []\r
3506         ]\r
3507     },\r
3508     {\r
3509         "id": "d4ea603c.b425d8",\r
3510         "type": "set",\r
3511         "name": "set attachment_param domain otnidx",\r
3512         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3513         "comments": "",\r
3514         "x": 4670.566665649414,\r
3515         "y": 3823.566665649414,\r
3516         "z": "44fca1a5.1b442",\r
3517         "wires": []\r
3518     },\r
3519     {\r
3520         "id": "595a55d4.c6d114",\r
3521         "type": "save",\r
3522         "name": "get all-vpn-bindings from aai",\r
3523         "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
3524         "comments": "",\r
3525         "outputs": 1,\r
3526         "x": 1989.566665649414,\r
3527         "y": 4170.566665649414,\r
3528         "z": "44fca1a5.1b442",\r
3529         "wires": [\r
3530             [\r
3531                 "a51dbe92.37237",\r
3532                 "3a1bef9e.09d96",\r
3533                 "3c9654f7.84efec"\r
3534             ]\r
3535         ]\r
3536     },\r
3537     {\r
3538         "id": "a51dbe92.37237",\r
3539         "type": "success",\r
3540         "name": "success",\r
3541         "xml": "<outcome value='success'>\n",\r
3542         "comments": "",\r
3543         "outputs": 1,\r
3544         "x": 2177.566665649414,\r
3545         "y": 4183.566665649414,\r
3546         "z": "44fca1a5.1b442",\r
3547         "wires": [\r
3548             [\r
3549                 "2ff802e6.3e618e"\r
3550             ]\r
3551         ]\r
3552     },\r
3553     {\r
3554         "id": "3a1bef9e.09d96",\r
3555         "type": "not-found",\r
3556         "name": "not-found",\r
3557         "xml": "<outcome value='not-found'>\n",\r
3558         "comments": "",\r
3559         "outputs": 1,\r
3560         "x": 2178.057632446289,\r
3561         "y": 4229.140701293945,\r
3562         "z": "44fca1a5.1b442",\r
3563         "wires": [\r
3564             [\r
3565                 "796f31f7.3192a"\r
3566             ]\r
3567         ]\r
3568     },\r
3569     {\r
3570         "id": "3c9654f7.84efec",\r
3571         "type": "failure",\r
3572         "name": "failure",\r
3573         "xml": "<outcome value='failure'>\n",\r
3574         "comments": "",\r
3575         "outputs": 1,\r
3576         "x": 2175.566665649414,\r
3577         "y": 4272.566665649414,\r
3578         "z": "44fca1a5.1b442",\r
3579         "wires": [\r
3580             [\r
3581                 "c3c766ba.769dc"\r
3582             ]\r
3583         ]\r
3584     },\r
3585     {\r
3586         "id": "2ff802e6.3e618e",\r
3587         "type": "block",\r
3588         "name": "block : atomic",\r
3589         "xml": "<block atomic=\"true\">",\r
3590         "atomic": "true",\r
3591         "outputs": 1,\r
3592         "x": 2350.566665649414,\r
3593         "y": 4181.566665649414,\r
3594         "z": "44fca1a5.1b442",\r
3595         "wires": [\r
3596             [\r
3597                 "f3904f81.c3271"\r
3598             ]\r
3599         ]\r
3600     },\r
3601     {\r
3602         "id": "796f31f7.3192a",\r
3603         "type": "returnFailure",\r
3604         "name": "return failure",\r
3605         "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
3606         "comments": "",\r
3607         "x": 2340.6290435791016,\r
3608         "y": 4229.42643737793,\r
3609         "z": "44fca1a5.1b442",\r
3610         "wires": []\r
3611     },\r
3612     {\r
3613         "id": "c3c766ba.769dc",\r
3614         "type": "returnFailure",\r
3615         "name": "return failure",\r
3616         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3617         "comments": "",\r
3618         "x": 2342.566665649414,\r
3619         "y": 4271.566665649414,\r
3620         "z": "44fca1a5.1b442",\r
3621         "wires": []\r
3622     },\r
3623     {\r
3624         "id": "453ae034.8e8bd",\r
3625         "type": "for",\r
3626         "name": "for vidx..tmp.otninfo_length[]",\r
3627         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
3628         "comments": "",\r
3629         "outputs": 1,\r
3630         "x": 1978.566665649414,\r
3631         "y": 4361.566665649414,\r
3632         "z": "44fca1a5.1b442",\r
3633         "wires": [\r
3634             [\r
3635                 "117eef78.4f86d1"\r
3636             ]\r
3637         ]\r
3638     },\r
3639     {\r
3640         "id": "61e418c6.05702",\r
3641         "type": "block",\r
3642         "name": "block : atomic",\r
3643         "xml": "<block atomic='true'>",\r
3644         "atomic": "true",\r
3645         "comments": "",\r
3646         "outputs": 1,\r
3647         "x": 2788.566665649414,\r
3648         "y": 4361.566665649414,\r
3649         "z": "44fca1a5.1b442",\r
3650         "wires": [\r
3651             [\r
3652                 "ddbfd88a.9c9a8"\r
3653             ]\r
3654         ]\r
3655     },\r
3656     {\r
3657         "id": "f5da17e3.f4f82",\r
3658         "type": "for",\r
3659         "name": "for vidx..tmp.otninfo_length[]",\r
3660         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
3661         "comments": "",\r
3662         "outputs": 1,\r
3663         "x": 2560.566665649414,\r
3664         "y": 4361.566665649414,\r
3665         "z": "44fca1a5.1b442",\r
3666         "wires": [\r
3667             [\r
3668                 "61e418c6.05702"\r
3669             ]\r
3670         ]\r
3671     },\r
3672     {\r
3673         "id": "2dc803c6.2ce1ec",\r
3674         "type": "set",\r
3675         "name": "set providerValue",\r
3676         "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
3677         "comments": "",\r
3678         "x": 3680.566665649414,\r
3679         "y": 4128.566665649414,\r
3680         "z": "44fca1a5.1b442",\r
3681         "wires": []\r
3682     },\r
3683     {\r
3684         "id": "2436e4ee.8823ac",\r
3685         "type": "set",\r
3686         "name": "set",\r
3687         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
3688         "comments": "",\r
3689         "x": 3982.566665649414,\r
3690         "y": 3254.566665649414,\r
3691         "z": "44fca1a5.1b442",\r
3692         "wires": []\r
3693     },\r
3694     {\r
3695         "id": "d8da513c.d505d8",\r
3696         "type": "block",\r
3697         "name": "block",\r
3698         "xml": "<block>\n",\r
3699         "atomic": "false",\r
3700         "comments": "",\r
3701         "outputs": 1,\r
3702         "x": 3817.566665649414,\r
3703         "y": 3229.566665649414,\r
3704         "z": "44fca1a5.1b442",\r
3705         "wires": [\r
3706             [\r
3707                 "2436e4ee.8823ac",\r
3708                 "d53fd4f3.30e108"\r
3709             ]\r
3710         ]\r
3711     },\r
3712     {\r
3713         "id": "2bc653ca.37208c",\r
3714         "type": "set",\r
3715         "name": "set tmp.arr",\r
3716         "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
3717         "comments": "",\r
3718         "x": 1937.566665649414,\r
3719         "y": 245.56666564941406,\r
3720         "z": "44fca1a5.1b442",\r
3721         "wires": []\r
3722     },\r
3723     {\r
3724         "id": "f3904f81.c3271",\r
3725         "type": "for",\r
3726         "name": "for vpnidx in all-vpn-bindings",\r
3727         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
3728         "comments": "",\r
3729         "outputs": 1,\r
3730         "x": 2579.566665649414,\r
3731         "y": 4182.566665649414,\r
3732         "z": "44fca1a5.1b442",\r
3733         "wires": [\r
3734             [\r
3735                 "ab95770a.fdf8d8"\r
3736             ]\r
3737         ]\r
3738     },\r
3739     {\r
3740         "id": "ab95770a.fdf8d8",\r
3741         "type": "block",\r
3742         "name": "block : atomic",\r
3743         "xml": "<block atomic='true'>",\r
3744         "atomic": "true",\r
3745         "comments": "",\r
3746         "outputs": 1,\r
3747         "x": 2794.566665649414,\r
3748         "y": 4183.566665649414,\r
3749         "z": "44fca1a5.1b442",\r
3750         "wires": [\r
3751             [\r
3752                 "4572270e.4cc878"\r
3753             ]\r
3754         ]\r
3755     },\r
3756     {\r
3757         "id": "7657e809.bd4338",\r
3758         "type": "for",\r
3759         "name": "for arridx in tmp.arr",\r
3760         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
3761         "comments": "",\r
3762         "outputs": 1,\r
3763         "x": 4247.566665649414,\r
3764         "y": 4103.566665649414,\r
3765         "z": "44fca1a5.1b442",\r
3766         "wires": [\r
3767             [\r
3768                 "2d5e8bfa.4e34c4"\r
3769             ]\r
3770         ]\r
3771     },\r
3772     {\r
3773         "id": "348ff77c.2874e",\r
3774         "type": "switchNode",\r
3775         "name": "switch $tmp.arr_length != 0",\r
3776         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
3777         "comments": "",\r
3778         "outputs": 1,\r
3779         "x": 3713.566665649414,\r
3780         "y": 4183.566665649414,\r
3781         "z": "44fca1a5.1b442",\r
3782         "wires": [\r
3783             [\r
3784                 "aaec96ed.8fc3f8",\r
3785                 "345640e2.a4f5"\r
3786             ]\r
3787         ]\r
3788     },\r
3789     {\r
3790         "id": "aaec96ed.8fc3f8",\r
3791         "type": "outcomeTrue",\r
3792         "name": "true",\r
3793         "xml": "<outcome value='true'>\n",\r
3794         "comments": "",\r
3795         "outputs": 1,\r
3796         "x": 3909.566665649414,\r
3797         "y": 4153.566665649414,\r
3798         "z": "44fca1a5.1b442",\r
3799         "wires": [\r
3800             [\r
3801                 "ef034c52.313218"\r
3802             ]\r
3803         ]\r
3804     },\r
3805     {\r
3806         "id": "345640e2.a4f5",\r
3807         "type": "outcomeFalse",\r
3808         "name": "false",\r
3809         "xml": "<outcome value='false'>\n",\r
3810         "comments": "",\r
3811         "outputs": 1,\r
3812         "x": 3910.566665649414,\r
3813         "y": 4224.566665649414,\r
3814         "z": "44fca1a5.1b442",\r
3815         "wires": [\r
3816             [\r
3817                 "4615fa47.ce995c"\r
3818             ]\r
3819         ]\r
3820     },\r
3821     {\r
3822         "id": "ef034c52.313218",\r
3823         "type": "block",\r
3824         "name": "block : atomic",\r
3825         "xml": "<block atomic='true'>",\r
3826         "atomic": "true",\r
3827         "comments": "",\r
3828         "outputs": 1,\r
3829         "x": 4060.566665649414,\r
3830         "y": 4151.566665649414,\r
3831         "z": "44fca1a5.1b442",\r
3832         "wires": [\r
3833             [\r
3834                 "7657e809.bd4338",\r
3835                 "99ff2572.ae5bd8"\r
3836             ]\r
3837         ]\r
3838     },\r
3839     {\r
3840         "id": "2d5e8bfa.4e34c4",\r
3841         "type": "switchNode",\r
3842         "name": "switch tmp.arr[$arridx] == $providerValue",\r
3843         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
3844         "comments": "",\r
3845         "outputs": 1,\r
3846         "x": 4538.566665649414,\r
3847         "y": 4103.566665649414,\r
3848         "z": "44fca1a5.1b442",\r
3849         "wires": [\r
3850             [\r
3851                 "74d52764.8968e",\r
3852                 "422a321a.b2832c"\r
3853             ]\r
3854         ]\r
3855     },\r
3856     {\r
3857         "id": "74d52764.8968e",\r
3858         "type": "outcomeTrue",\r
3859         "name": "true",\r
3860         "xml": "<outcome value='true'>\n",\r
3861         "comments": "",\r
3862         "outputs": 1,\r
3863         "x": 4813.566665649414,\r
3864         "y": 4072.566665649414,\r
3865         "z": "44fca1a5.1b442",\r
3866         "wires": [\r
3867             [\r
3868                 "a103a093.ac31f"\r
3869             ]\r
3870         ]\r
3871     },\r
3872     {\r
3873         "id": "422a321a.b2832c",\r
3874         "type": "outcomeFalse",\r
3875         "name": "false",\r
3876         "xml": "<outcome value='false'>\n",\r
3877         "comments": "",\r
3878         "outputs": 1,\r
3879         "x": 4814.566665649414,\r
3880         "y": 4143.566665649414,\r
3881         "z": "44fca1a5.1b442",\r
3882         "wires": [\r
3883             [\r
3884                 "21b48848.76a4e8"\r
3885             ]\r
3886         ]\r
3887     },\r
3888     {\r
3889         "id": "a103a093.ac31f",\r
3890         "type": "block",\r
3891         "name": "block : atomic",\r
3892         "xml": "<block atomic='true'>",\r
3893         "atomic": "true",\r
3894         "comments": "",\r
3895         "outputs": 1,\r
3896         "x": 4964.566665649414,\r
3897         "y": 4070.566665649414,\r
3898         "z": "44fca1a5.1b442",\r
3899         "wires": [\r
3900             [\r
3901                 "1399831a.95817d",\r
3902                 "a97a9bc.95aee68",\r
3903                 "9a54915d.342ba",\r
3904                 "45c78650.ee321",\r
3905                 "6d2b0039.7ed8f8"\r
3906             ]\r
3907         ]\r
3908     },\r
3909     {\r
3910         "id": "1399831a.95817d",\r
3911         "type": "set",\r
3912         "name": "set found to true",\r
3913         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
3914         "comments": "",\r
3915         "x": 5152.566665649414,\r
3916         "y": 4030.566665649414,\r
3917         "z": "44fca1a5.1b442",\r
3918         "wires": []\r
3919     },\r
3920     {\r
3921         "id": "a97a9bc.95aee68",\r
3922         "type": "save",\r
3923         "name": "store $arridx somewhere in vpn-binding",\r
3924         "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
3925         "comments": "",\r
3926         "outputs": 1,\r
3927         "x": 5224.566665649414,\r
3928         "y": 4075.566665649414,\r
3929         "z": "44fca1a5.1b442",\r
3930         "wires": [\r
3931             []\r
3932         ]\r
3933     },\r
3934     {\r
3935         "id": "6d2b0039.7ed8f8",\r
3936         "type": "set",\r
3937         "name": "set twoD arr",\r
3938         "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
3939         "comments": "",\r
3940         "x": 5139.566665649414,\r
3941         "y": 4202.566665649414,\r
3942         "z": "44fca1a5.1b442",\r
3943         "wires": []\r
3944     },\r
3945     {\r
3946         "id": "45c78650.ee321",\r
3947         "type": "set",\r
3948         "name": "set sizeOfSliceList",\r
3949         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
3950         "comments": "",\r
3951         "x": 5160.566665649414,\r
3952         "y": 4138.566665649414,\r
3953         "z": "44fca1a5.1b442",\r
3954         "wires": []\r
3955     },\r
3956     {\r
3957         "id": "4615fa47.ce995c",\r
3958         "type": "block",\r
3959         "name": "block : atomic",\r
3960         "xml": "<block atomic='true'>",\r
3961         "atomic": "true",\r
3962         "comments": "",\r
3963         "outputs": 1,\r
3964         "x": 4062.566665649414,\r
3965         "y": 4224.566665649414,\r
3966         "z": "44fca1a5.1b442",\r
3967         "wires": [\r
3968             [\r
3969                 "5a456a9a.ca9fe4",\r
3970                 "40274316.6c2efc"\r
3971             ]\r
3972         ]\r
3973     },\r
3974     {\r
3975         "id": "5a456a9a.ca9fe4",\r
3976         "type": "save",\r
3977         "name": "store $arridx somewhere in vpn-binding",\r
3978         "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
3979         "comments": "",\r
3980         "outputs": 1,\r
3981         "x": 4317.566665649414,\r
3982         "y": 4217.566665649414,\r
3983         "z": "44fca1a5.1b442",\r
3984         "wires": [\r
3985             []\r
3986         ]\r
3987     },\r
3988     {\r
3989         "id": "40274316.6c2efc",\r
3990         "type": "set",\r
3991         "name": "set twoD array",\r
3992         "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
3993         "comments": "",\r
3994         "x": 4245.566665649414,\r
3995         "y": 4264.566665649414,\r
3996         "z": "44fca1a5.1b442",\r
3997         "wires": []\r
3998     },\r
3999     {\r
4000         "id": "99ff2572.ae5bd8",\r
4001         "type": "switchNode",\r
4002         "name": "switch found?",\r
4003         "xml": "<switch test='`$found`'>\n",\r
4004         "comments": "",\r
4005         "outputs": 1,\r
4006         "x": 4238.566665649414,\r
4007         "y": 4148.566665649414,\r
4008         "z": "44fca1a5.1b442",\r
4009         "wires": [\r
4010             [\r
4011                 "87cdada5.109e78",\r
4012                 "3257173b.764f"\r
4013             ]\r
4014         ]\r
4015     },\r
4016     {\r
4017         "id": "87cdada5.109e78",\r
4018         "type": "outcomeTrue",\r
4019         "name": "true",\r
4020         "xml": "<outcome value='true'>\n",\r
4021         "comments": "",\r
4022         "outputs": 1,\r
4023         "x": 4398.566665649414,\r
4024         "y": 4140.566665649414,\r
4025         "z": "44fca1a5.1b442",\r
4026         "wires": [\r
4027             [\r
4028                 "7591082d.c8b188"\r
4029             ]\r
4030         ]\r
4031     },\r
4032     {\r
4033         "id": "3257173b.764f",\r
4034         "type": "outcomeFalse",\r
4035         "name": "false",\r
4036         "xml": "<outcome value='false'>\n",\r
4037         "comments": "",\r
4038         "outputs": 1,\r
4039         "x": 4396.566665649414,\r
4040         "y": 4177.566665649414,\r
4041         "z": "44fca1a5.1b442",\r
4042         "wires": [\r
4043             [\r
4044                 "961d3382.a894a"\r
4045             ]\r
4046         ]\r
4047     },\r
4048     {\r
4049         "id": "7591082d.c8b188",\r
4050         "type": "block",\r
4051         "name": "block",\r
4052         "xml": "<block>\n",\r
4053         "atomic": "false",\r
4054         "comments": "",\r
4055         "outputs": 1,\r
4056         "x": 4523.566665649414,\r
4057         "y": 4140.566665649414,\r
4058         "z": "44fca1a5.1b442",\r
4059         "wires": [\r
4060             []\r
4061         ]\r
4062     },\r
4063     {\r
4064         "id": "5f6e1c86.8e0944",\r
4065         "type": "save",\r
4066         "name": "store $arridx+1 somewhere in vpn-binding",\r
4067         "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
4068         "comments": "",\r
4069         "outputs": 1,\r
4070         "x": 4830.566665649414,\r
4071         "y": 4198.566665649414,\r
4072         "z": "44fca1a5.1b442",\r
4073         "wires": [\r
4074             []\r
4075         ]\r
4076     },\r
4077     {\r
4078         "id": "961d3382.a894a",\r
4079         "type": "block",\r
4080         "name": "block : atomic",\r
4081         "xml": "<block atomic='true'>",\r
4082         "atomic": "true",\r
4083         "comments": "",\r
4084         "outputs": 1,\r
4085         "x": 4556.566665649414,\r
4086         "y": 4185.566665649414,\r
4087         "z": "44fca1a5.1b442",\r
4088         "wires": [\r
4089             [\r
4090                 "5f6e1c86.8e0944",\r
4091                 "7721321d.e1d404"\r
4092             ]\r
4093         ]\r
4094     },\r
4095     {\r
4096         "id": "7721321d.e1d404",\r
4097         "type": "set",\r
4098         "name": "set twoD array",\r
4099         "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
4100         "comments": "",\r
4101         "x": 4747.566665649414,\r
4102         "y": 4244.566665649414,\r
4103         "z": "44fca1a5.1b442",\r
4104         "wires": []\r
4105     },\r
4106     {\r
4107         "id": "21b48848.76a4e8",\r
4108         "type": "block",\r
4109         "name": "block",\r
4110         "xml": "<block>\n",\r
4111         "atomic": "false",\r
4112         "comments": "",\r
4113         "outputs": 1,\r
4114         "x": 4947.566665649414,\r
4115         "y": 4142.566665649414,\r
4116         "z": "44fca1a5.1b442",\r
4117         "wires": [\r
4118             []\r
4119         ]\r
4120     },\r
4121     {\r
4122         "id": "9a54915d.342ba",\r
4123         "type": "break",\r
4124         "name": "break",\r
4125         "xml": "<break>\n",\r
4126         "comments": "",\r
4127         "x": 5118.566665649414,\r
4128         "y": 4269.566665649414,\r
4129         "z": "44fca1a5.1b442",\r
4130         "wires": []\r
4131     },\r
4132     {\r
4133         "id": "95f5c4e3.614088",\r
4134         "type": "switchNode",\r
4135         "name": "switch dstPort == NULL",\r
4136         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4137         "comments": "",\r
4138         "outputs": 1,\r
4139         "x": 3519.566665649414,\r
4140         "y": 2527.5667877197266,\r
4141         "z": "44fca1a5.1b442",\r
4142         "wires": [\r
4143             [\r
4144                 "4a77c65a.c74ba8",\r
4145                 "25e326d1.6ed842"\r
4146             ]\r
4147         ]\r
4148     },\r
4149     {\r
4150         "id": "4a77c65a.c74ba8",\r
4151         "type": "outcomeTrue",\r
4152         "name": "true",\r
4153         "xml": "<outcome value='true'>\n",\r
4154         "comments": "",\r
4155         "outputs": 1,\r
4156         "x": 3889.566665649414,\r
4157         "y": 2488.566665649414,\r
4158         "z": "44fca1a5.1b442",\r
4159         "wires": [\r
4160             [\r
4161                 "2629aacf.e119ee"\r
4162             ]\r
4163         ]\r
4164     },\r
4165     {\r
4166         "id": "25e326d1.6ed842",\r
4167         "type": "outcomeFalse",\r
4168         "name": "false",\r
4169         "xml": "<outcome value='false'>\n",\r
4170         "comments": "",\r
4171         "outputs": 1,\r
4172         "x": 3890.566665649414,\r
4173         "y": 2534.566665649414,\r
4174         "z": "44fca1a5.1b442",\r
4175         "wires": [\r
4176             [\r
4177                 "8acfbdff.4211d"\r
4178             ]\r
4179         ]\r
4180     },\r
4181     {\r
4182         "id": "2629aacf.e119ee",\r
4183         "type": "set",\r
4184         "name": "set access-provider-id and client-id",\r
4185         "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
4186         "comments": "",\r
4187         "x": 4103.566665649414,\r
4188         "y": 2487.566665649414,\r
4189         "z": "44fca1a5.1b442",\r
4190         "wires": []\r
4191     },\r
4192     {\r
4193         "id": "8acfbdff.4211d",\r
4194         "type": "set",\r
4195         "name": "set access-provider-id and client-id",\r
4196         "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
4197         "comments": "",\r
4198         "x": 4101.566665649414,\r
4199         "y": 2532.566665649414,\r
4200         "z": "44fca1a5.1b442",\r
4201         "wires": []\r
4202     },\r
4203     {\r
4204         "id": "ddbfd88a.9c9a8",\r
4205         "type": "set",\r
4206         "name": "set attachment_param sliceG",\r
4207         "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
4208         "comments": "",\r
4209         "x": 3041.566665649414,\r
4210         "y": 4359.566665649414,\r
4211         "z": "44fca1a5.1b442",\r
4212         "wires": []\r
4213     },\r
4214     {\r
4215         "id": "51e14abb.56c3cc",\r
4216         "type": "execute",\r
4217         "name": "execute RestApiCallNode sliceG creation domainG",\r
4218         "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
4219         "comments": "",\r
4220         "outputs": 1,\r
4221         "x": 2626.566665649414,\r
4222         "y": 4467.566665649414,\r
4223         "z": "44fca1a5.1b442",\r
4224         "wires": [\r
4225             [\r
4226                 "fe5cfaf0.e7454",\r
4227                 "ad93ca1a.fadb5"\r
4228             ]\r
4229         ]\r
4230     },\r
4231     {\r
4232         "id": "ad93ca1a.fadb5",\r
4233         "type": "failure",\r
4234         "name": "failure",\r
4235         "xml": "<outcome value='failure'>\n",\r
4236         "comments": "",\r
4237         "outputs": 1,\r
4238         "x": 2909.566665649414,\r
4239         "y": 4447.566665649414,\r
4240         "z": "44fca1a5.1b442",\r
4241         "wires": [\r
4242             [\r
4243                 "414cbf7e.8e5b68"\r
4244             ]\r
4245         ]\r
4246     },\r
4247     {\r
4248         "id": "fe5cfaf0.e7454",\r
4249         "type": "success",\r
4250         "name": "success",\r
4251         "xml": "<outcome value='success'>\n",\r
4252         "comments": "",\r
4253         "outputs": 1,\r
4254         "x": 2910.566879272461,\r
4255         "y": 4498.566575050354,\r
4256         "z": "44fca1a5.1b442",\r
4257         "wires": [\r
4258             [\r
4259                 "4b1e5bf7.658ebc"\r
4260             ]\r
4261         ]\r
4262     },\r
4263     {\r
4264         "id": "414cbf7e.8e5b68",\r
4265         "type": "returnFailure",\r
4266         "name": "return failure",\r
4267         "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
4268         "comments": "",\r
4269         "x": 3049.5669136047363,\r
4270         "y": 4447.566666603088,\r
4271         "z": "44fca1a5.1b442",\r
4272         "wires": []\r
4273     },\r
4274     {\r
4275         "id": "4b1e5bf7.658ebc",\r
4276         "type": "block",\r
4277         "name": "block",\r
4278         "xml": "<block>\n",\r
4279         "atomic": "false",\r
4280         "comments": "",\r
4281         "outputs": 1,\r
4282         "x": 3055.593925476074,\r
4283         "y": 4496.31206035614,\r
4284         "z": "44fca1a5.1b442",\r
4285         "wires": [\r
4286             []\r
4287         ]\r
4288     },\r
4289     {\r
4290         "id": "b6d3651d.4b2128",\r
4291         "type": "set",\r
4292         "name": "set srcdstpnf-name",\r
4293         "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
4294         "comments": "",\r
4295         "x": 3699.566665649414,\r
4296         "y": 2601.566665649414,\r
4297         "z": "44fca1a5.1b442",\r
4298         "wires": []\r
4299     },\r
4300     {\r
4301         "id": "fe8a7144.adc7d8",\r
4302         "type": "get-resource",\r
4303         "name": "get-resource tmp.srcdstpnf-name",\r
4304         "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
4305         "comments": "",\r
4306         "outputs": 1,\r
4307         "x": 3743.566665649414,\r
4308         "y": 2649.566665649414,\r
4309         "z": "44fca1a5.1b442",\r
4310         "wires": [\r
4311             [\r
4312                 "b714ba8d.c5ffb8",\r
4313                 "a60d7d36.823ed8",\r
4314                 "a5a24671.692cf"\r
4315             ]\r
4316         ]\r
4317     },\r
4318     {\r
4319         "id": "b714ba8d.c5ffb8",\r
4320         "type": "success",\r
4321         "name": "success",\r
4322         "xml": "<outcome value='success'>\n",\r
4323         "comments": "",\r
4324         "outputs": 1,\r
4325         "x": 3956.066665649414,\r
4326         "y": 2596.566665649414,\r
4327         "z": "44fca1a5.1b442",\r
4328         "wires": [\r
4329             [\r
4330                 "d2742bb.34f15d8"\r
4331             ]\r
4332         ]\r
4333     },\r
4334     {\r
4335         "id": "a60d7d36.823ed8",\r
4336         "type": "not-found",\r
4337         "name": "not-found",\r
4338         "xml": "<outcome value='not-found'>\n",\r
4339         "comments": "",\r
4340         "outputs": 1,\r
4341         "x": 3968.066665649414,\r
4342         "y": 2646.566665649414,\r
4343         "z": "44fca1a5.1b442",\r
4344         "wires": [\r
4345             [\r
4346                 "bdd55fbe.5d6ad"\r
4347             ]\r
4348         ]\r
4349     },\r
4350     {\r
4351         "id": "a5a24671.692cf",\r
4352         "type": "other",\r
4353         "name": "other",\r
4354         "xml": "<outcome value='Other'>\n",\r
4355         "comments": "",\r
4356         "outputs": 1,\r
4357         "x": 3959.066665649414,\r
4358         "y": 2701.566665649414,\r
4359         "z": "44fca1a5.1b442",\r
4360         "wires": [\r
4361             [\r
4362                 "ab51c20f.833f78"\r
4363             ]\r
4364         ]\r
4365     },\r
4366     {\r
4367         "id": "ab51c20f.833f78",\r
4368         "type": "returnFailure",\r
4369         "name": "return failure",\r
4370         "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
4371         "comments": "",\r
4372         "x": 4104.066665649414,\r
4373         "y": 2700.566665649414,\r
4374         "z": "44fca1a5.1b442",\r
4375         "wires": []\r
4376     },\r
4377     {\r
4378         "id": "bdd55fbe.5d6ad",\r
4379         "type": "returnFailure",\r
4380         "name": "return failure",\r
4381         "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
4382         "comments": "",\r
4383         "x": 4115.066665649414,\r
4384         "y": 2643.566665649414,\r
4385         "z": "44fca1a5.1b442",\r
4386         "wires": []\r
4387     },\r
4388     {\r
4389         "id": "d2742bb.34f15d8",\r
4390         "type": "block",\r
4391         "name": "block",\r
4392         "xml": "<block>\n",\r
4393         "atomic": "false",\r
4394         "comments": "",\r
4395         "outputs": 1,\r
4396         "x": 4081.4491119384766,\r
4397         "y": 2590.2223358154297,\r
4398         "z": "44fca1a5.1b442",\r
4399         "wires": [\r
4400             [\r
4401                 "8f6f5e70.e20c98"\r
4402             ]\r
4403         ]\r
4404     },\r
4405     {\r
4406         "id": "312ea2fc.0d315e",\r
4407         "type": "outcome",\r
4408         "name": "esr-thirdparty-sdnc",\r
4409         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
4410         "comments": "",\r
4411         "outputs": 1,\r
4412         "x": 4640.566665649414,\r
4413         "y": 2608.566665649414,\r
4414         "z": "44fca1a5.1b442",\r
4415         "wires": [\r
4416             [\r
4417                 "3e733270.8b1bbe"\r
4418             ]\r
4419         ]\r
4420     },\r
4421     {\r
4422         "id": "3e733270.8b1bbe",\r
4423         "type": "block",\r
4424         "name": "block : atomic",\r
4425         "xml": "<block atomic=\"true\">",\r
4426         "atomic": "true",\r
4427         "outputs": 1,\r
4428         "x": 4817.566665649414,\r
4429         "y": 2600.566665649414,\r
4430         "z": "44fca1a5.1b442",\r
4431         "wires": [\r
4432             [\r
4433                 "9e837f8d.cf1ae8",\r
4434                 "43b4fd14.fc62c4"\r
4435             ]\r
4436         ]\r
4437     },\r
4438     {\r
4439         "id": "8f6f5e70.e20c98",\r
4440         "type": "for",\r
4441         "name": "for each relationship",\r
4442         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
4443         "comments": "",\r
4444         "outputs": 1,\r
4445         "x": 4242.566665649414,\r
4446         "y": 2604.566665649414,\r
4447         "z": "44fca1a5.1b442",\r
4448         "wires": [\r
4449             [\r
4450                 "f9825a64.03425"\r
4451             ]\r
4452         ]\r
4453     },\r
4454     {\r
4455         "id": "f9825a64.03425",\r
4456         "type": "switchNode",\r
4457         "name": "switch related-to",\r
4458         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4459         "comments": "",\r
4460         "outputs": 1,\r
4461         "x": 4437.566665649414,\r
4462         "y": 2604.566665649414,\r
4463         "z": "44fca1a5.1b442",\r
4464         "wires": [\r
4465             [\r
4466                 "312ea2fc.0d315e"\r
4467             ]\r
4468         ]\r
4469     },\r
4470     {\r
4471         "id": "43b4fd14.fc62c4",\r
4472         "type": "execute",\r
4473         "name": "get esr-thirdparty-sdnc",\r
4474         "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
4475         "comments": "",\r
4476         "outputs": 1,\r
4477         "x": 5025.566665649414,\r
4478         "y": 2607.566665649414,\r
4479         "z": "44fca1a5.1b442",\r
4480         "wires": [\r
4481             [\r
4482                 "a51a4275.e6efc",\r
4483                 "1b79b7.465ad64a",\r
4484                 "1ec56b27.96893d"\r
4485             ]\r
4486         ]\r
4487     },\r
4488     {\r
4489         "id": "9e837f8d.cf1ae8",\r
4490         "type": "set",\r
4491         "name": "set esr-thirdparty-sdnc domainG id",\r
4492         "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
4493         "comments": "",\r
4494         "x": 5055.566665649414,\r
4495         "y": 2555.566665649414,\r
4496         "z": "44fca1a5.1b442",\r
4497         "wires": []\r
4498     },\r
4499     {\r
4500         "id": "a51a4275.e6efc",\r
4501         "type": "success",\r
4502         "name": "success",\r
4503         "xml": "<outcome value='success'>\n",\r
4504         "comments": "",\r
4505         "outputs": 1,\r
4506         "x": 5235.566665649414,\r
4507         "y": 2598.566665649414,\r
4508         "z": "44fca1a5.1b442",\r
4509         "wires": [\r
4510             [\r
4511                 "891ba052.ed05"\r
4512             ]\r
4513         ]\r
4514     },\r
4515     {\r
4516         "id": "1b79b7.465ad64a",\r
4517         "type": "not-found",\r
4518         "name": "not-found",\r
4519         "xml": "<outcome value='not-found'>\n",\r
4520         "comments": "",\r
4521         "outputs": 1,\r
4522         "x": 5227.566665649414,\r
4523         "y": 2653.566665649414,\r
4524         "z": "44fca1a5.1b442",\r
4525         "wires": [\r
4526             [\r
4527                 "46385009.ed8b1"\r
4528             ]\r
4529         ]\r
4530     },\r
4531     {\r
4532         "id": "1ec56b27.96893d",\r
4533         "type": "other",\r
4534         "name": "other",\r
4535         "xml": "<outcome value='Other'>\n",\r
4536         "comments": "",\r
4537         "outputs": 1,\r
4538         "x": 5232.566665649414,\r
4539         "y": 2710.566665649414,\r
4540         "z": "44fca1a5.1b442",\r
4541         "wires": [\r
4542             [\r
4543                 "1a9be7a.401fb18"\r
4544             ]\r
4545         ]\r
4546     },\r
4547     {\r
4548         "id": "1a9be7a.401fb18",\r
4549         "type": "returnFailure",\r
4550         "name": "return failure",\r
4551         "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
4552         "comments": "",\r
4553         "x": 5384.566665649414,\r
4554         "y": 2711.566665649414,\r
4555         "z": "44fca1a5.1b442",\r
4556         "wires": []\r
4557     },\r
4558     {\r
4559         "id": "46385009.ed8b1",\r
4560         "type": "returnFailure",\r
4561         "name": "return failure",\r
4562         "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
4563         "comments": "",\r
4564         "x": 5395.566665649414,\r
4565         "y": 2656.566665649414,\r
4566         "z": "44fca1a5.1b442",\r
4567         "wires": []\r
4568     },\r
4569     {\r
4570         "id": "891ba052.ed05",\r
4571         "type": "block",\r
4572         "name": "block",\r
4573         "xml": "<block>\n",\r
4574         "atomic": "false",\r
4575         "comments": "",\r
4576         "outputs": 1,\r
4577         "x": 5379.948989868164,\r
4578         "y": 2596.2223358154297,\r
4579         "z": "44fca1a5.1b442",\r
4580         "wires": [\r
4581             [\r
4582                 "4f6c7f97.54ddd8"\r
4583             ]\r
4584         ]\r
4585     },\r
4586     {\r
4587         "id": "4f6c7f97.54ddd8",\r
4588         "type": "set",\r
4589         "name": "set controller domainA data",\r
4590         "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
4591         "comments": "",\r
4592         "x": 5594.566665649414,\r
4593         "y": 2592.566665649414,\r
4594         "z": "44fca1a5.1b442",\r
4595         "wires": []\r
4596     },\r
4597     {\r
4598         "id": "117eef78.4f86d1",\r
4599         "type": "block",\r
4600         "name": "block : atomic",\r
4601         "xml": "<block atomic='true'>",\r
4602         "atomic": "true",\r
4603         "comments": "",\r
4604         "outputs": 1,\r
4605         "x": 2210.566665649414,\r
4606         "y": 4359.566665649414,\r
4607         "z": "44fca1a5.1b442",\r
4608         "wires": [\r
4609             [\r
4610                 "f5da17e3.f4f82",\r
4611                 "51e14abb.56c3cc"\r
4612             ]\r
4613         ]\r
4614     },\r
4615     {\r
4616         "id": "162254fa.d7f113",\r
4617         "type": "switchNode",\r
4618         "name": "switch dmnsidx == 0 (domainA)",\r
4619         "xml": "<switch test='`$otnidx == 0`'>\n",\r
4620         "comments": "",\r
4621         "outputs": 1,\r
4622         "x": 3713.566665649414,\r
4623         "y": 2818.566665649414,\r
4624         "z": "44fca1a5.1b442",\r
4625         "wires": [\r
4626             [\r
4627                 "4ba218c1.83488",\r
4628                 "bbf91ed2.3d1698"\r
4629             ]\r
4630         ]\r
4631     },\r
4632     {\r
4633         "id": "4ba218c1.83488",\r
4634         "type": "outcomeTrue",\r
4635         "name": "true",\r
4636         "xml": "<outcome value='true'>\n",\r
4637         "comments": "",\r
4638         "outputs": 1,\r
4639         "x": 3914.566665649414,\r
4640         "y": 2816.566665649414,\r
4641         "z": "44fca1a5.1b442",\r
4642         "wires": [\r
4643             [\r
4644                 "c5a6daa.df89d28"\r
4645             ]\r
4646         ]\r
4647     },\r
4648     {\r
4649         "id": "b51d81a7.df9ce8",\r
4650         "type": "set",\r
4651         "name": "set pce-src-node",\r
4652         "xml": "<set>\n<parameter name='tmp.pce-src-node' value='`$tmp.srcdstpnf-name`' />",\r
4653         "comments": "",\r
4654         "x": 4195.566665649414,\r
4655         "y": 2766.566665649414,\r
4656         "z": "44fca1a5.1b442",\r
4657         "wires": []\r
4658     },\r
4659     {\r
4660         "id": "cc08c38c.ee0da",\r
4661         "type": "switchNode",\r
4662         "name": "switch dmnsidx == last (domainB)",\r
4663         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
4664         "comments": "",\r
4665         "outputs": 1,\r
4666         "x": 4131.566665649414,\r
4667         "y": 2867.566665649414,\r
4668         "z": "44fca1a5.1b442",\r
4669         "wires": [\r
4670             [\r
4671                 "cc3f7988.cb629",\r
4672                 "a10beb4c.1d2f6"\r
4673             ]\r
4674         ]\r
4675     },\r
4676     {\r
4677         "id": "cc3f7988.cb629",\r
4678         "type": "outcomeTrue",\r
4679         "name": "true",\r
4680         "xml": "<outcome value='true'>\n",\r
4681         "comments": "",\r
4682         "outputs": 1,\r
4683         "x": 4361.566665649414,\r
4684         "y": 2863.566665649414,\r
4685         "z": "44fca1a5.1b442",\r
4686         "wires": [\r
4687             [\r
4688                 "ba88a8bc.8452c"\r
4689             ]\r
4690         ]\r
4691     },\r
4692     {\r
4693         "id": "c32b6bd2.d5291",\r
4694         "type": "set",\r
4695         "name": "set attachment_param domain B",\r
4696         "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
4697         "comments": "",\r
4698         "x": 4698.566665649414,\r
4699         "y": 2807.566665649414,\r
4700         "z": "44fca1a5.1b442",\r
4701         "wires": []\r
4702     },\r
4703     {\r
4704         "id": "bbf91ed2.3d1698",\r
4705         "type": "outcomeFalse",\r
4706         "name": "false",\r
4707         "xml": "<outcome value='false'>\n",\r
4708         "comments": "",\r
4709         "outputs": 1,\r
4710         "x": 3914.566665649414,\r
4711         "y": 2865.566665649414,\r
4712         "z": "44fca1a5.1b442",\r
4713         "wires": [\r
4714             [\r
4715                 "cc08c38c.ee0da"\r
4716             ]\r
4717         ]\r
4718     },\r
4719     {\r
4720         "id": "a10beb4c.1d2f6",\r
4721         "type": "outcomeFalse",\r
4722         "name": "false",\r
4723         "xml": "<outcome value='false'>\n",\r
4724         "comments": "",\r
4725         "outputs": 1,\r
4726         "x": 4362.566665649414,\r
4727         "y": 2909.566665649414,\r
4728         "z": "44fca1a5.1b442",\r
4729         "wires": [\r
4730             [\r
4731                 "3bd22ad4.011c86"\r
4732             ]\r
4733         ]\r
4734     },\r
4735     {\r
4736         "id": "3bd22ad4.011c86",\r
4737         "type": "set",\r
4738         "name": "set attachment_param domain G",\r
4739         "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
4740         "comments": "",\r
4741         "x": 4576.566665649414,\r
4742         "y": 2909.566665649414,\r
4743         "z": "44fca1a5.1b442",\r
4744         "wires": []\r
4745     },\r
4746     {\r
4747         "id": "f534100b.d3913",\r
4748         "type": "set",\r
4749         "name": "set tmp.slicevpns",\r
4750         "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
4751         "comments": "",\r
4752         "x": 4474.566665649414,\r
4753         "y": 2958.566665649414,\r
4754         "z": "44fca1a5.1b442",\r
4755         "wires": []\r
4756     },\r
4757     {\r
4758         "id": "4572270e.4cc878",\r
4759         "type": "switchNode",\r
4760         "name": "switch vpnuuid is for this slice",\r
4761         "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
4762         "comments": "",\r
4763         "outputs": 1,\r
4764         "x": 3038.566665649414,\r
4765         "y": 4182.566665649414,\r
4766         "z": "44fca1a5.1b442",\r
4767         "wires": [\r
4768             [\r
4769                 "57ff5eb5.4d2a88",\r
4770                 "7d25dc2d.180224"\r
4771             ]\r
4772         ]\r
4773     },\r
4774     {\r
4775         "id": "57ff5eb5.4d2a88",\r
4776         "type": "outcomeTrue",\r
4777         "name": "true",\r
4778         "xml": "<outcome value='true'>\n",\r
4779         "comments": "",\r
4780         "outputs": 1,\r
4781         "x": 3255.566665649414,\r
4782         "y": 4161.566665649414,\r
4783         "z": "44fca1a5.1b442",\r
4784         "wires": [\r
4785             [\r
4786                 "c169753b.e6b0a8"\r
4787             ]\r
4788         ]\r
4789     },\r
4790     {\r
4791         "id": "7d25dc2d.180224",\r
4792         "type": "outcomeFalse",\r
4793         "name": "false",\r
4794         "xml": "<outcome value='false'>\n",\r
4795         "comments": "",\r
4796         "outputs": 1,\r
4797         "x": 3255.566665649414,\r
4798         "y": 4210.566665649414,\r
4799         "z": "44fca1a5.1b442",\r
4800         "wires": [\r
4801             []\r
4802         ]\r
4803     },\r
4804     {\r
4805         "id": "c169753b.e6b0a8",\r
4806         "type": "block",\r
4807         "name": "block : atomic",\r
4808         "xml": "<block atomic='true'>",\r
4809         "atomic": "true",\r
4810         "comments": "",\r
4811         "outputs": 1,\r
4812         "x": 3423.566665649414,\r
4813         "y": 4161.566665649414,\r
4814         "z": "44fca1a5.1b442",\r
4815         "wires": [\r
4816             [\r
4817                 "2dc803c6.2ce1ec",\r
4818                 "348ff77c.2874e"\r
4819             ]\r
4820         ]\r
4821     },\r
4822     {\r
4823         "id": "2d3c440e.e71da4",\r
4824         "type": "set",\r
4825         "name": "set attachment_param domain A",\r
4826         "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
4827         "comments": "",\r
4828         "x": 4250.566665649414,\r
4829         "y": 2813.566665649414,\r
4830         "z": "44fca1a5.1b442",\r
4831         "wires": []\r
4832     },\r
4833     {\r
4834         "id": "c5a6daa.df89d28",\r
4835         "type": "block",\r
4836         "name": "block",\r
4837         "xml": "<block>\n",\r
4838         "atomic": "false",\r
4839         "comments": "",\r
4840         "outputs": 1,\r
4841         "x": 4038.566665649414,\r
4842         "y": 2807.566665649414,\r
4843         "z": "44fca1a5.1b442",\r
4844         "wires": [\r
4845             [\r
4846                 "2d3c440e.e71da4"\r
4847             ]\r
4848         ]\r
4849     },\r
4850     {\r
4851         "id": "f9603c79.8ed218",\r
4852         "type": "set",\r
4853         "name": "set pce-src-node",\r
4854         "xml": "<set>\n<parameter name='tmp.pce-dst-node' value='`$tmp.srcdstpnf-name`' />",\r
4855         "comments": "",\r
4856         "x": 4650.566665649414,\r
4857         "y": 2855.566665649414,\r
4858         "z": "44fca1a5.1b442",\r
4859         "wires": []\r
4860     },\r
4861     {\r
4862         "id": "ba88a8bc.8452c",\r
4863         "type": "block",\r
4864         "name": "block",\r
4865         "xml": "<block>\n",\r
4866         "atomic": "false",\r
4867         "comments": "",\r
4868         "outputs": 1,\r
4869         "x": 4494.566665649414,\r
4870         "y": 2839.566665649414,\r
4871         "z": "44fca1a5.1b442",\r
4872         "wires": [\r
4873             [\r
4874                 "c32b6bd2.d5291"\r
4875             ]\r
4876         ]\r
4877     },\r
4878     {\r
4879         "id": "f367c816.36c578",\r
4880         "type": "get-resource",\r
4881         "name": "get-resource pnfs-list",\r
4882         "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
4883         "comments": "",\r
4884         "outputs": 1,\r
4885         "x": 1980.566665649414,\r
4886         "y": 104.56666564941406,\r
4887         "z": "44fca1a5.1b442",\r
4888         "wires": [\r
4889             []\r
4890         ]\r
4891     },\r
4892     {\r
4893         "id": "96051d25.052e78",\r
4894         "type": "get-resource",\r
4895         "name": "get-resource logical-links",\r
4896         "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
4897         "comments": "",\r
4898         "outputs": 1,\r
4899         "x": 1992.566665649414,\r
4900         "y": 145.56666564941406,\r
4901         "z": "44fca1a5.1b442",\r
4902         "wires": [\r
4903             []\r
4904         ]\r
4905     },\r
4906     {\r
4907         "id": "aa05516d.d6c1f",\r
4908         "type": "comment",\r
4909         "name": "The following two nodes are for PCE",\r
4910         "info": "",\r
4911         "comments": "",\r
4912         "x": 2016.566665649414,\r
4913         "y": 67.56666564941406,\r
4914         "z": "44fca1a5.1b442",\r
4915         "wires": []\r
4916     },\r
4917     {\r
4918         "id": "c12ef49d.c23818",\r
4919         "type": "set",\r
4920         "name": "set tmp.arr",\r
4921         "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
4922         "comments": "",\r
4923         "x": 1937.566665649414,\r
4924         "y": 191.56666564941406,\r
4925         "z": "44fca1a5.1b442",\r
4926         "wires": []\r
4927     },\r
4928     {\r
4929         "id": "dd0ea493.8f50f",\r
4930         "type": "execute",\r
4931         "name": "execute printContext",\r
4932         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
4933         "comments": "",\r
4934         "outputs": 1,\r
4935         "x": 1590.566665649414,\r
4936         "y": 2323.5662994384766,\r
4937         "z": "44fca1a5.1b442",\r
4938         "wires": [\r
4939             []\r
4940         ]\r
4941     },\r
4942     {\r
4943         "id": "4ae38bdf.37b3b4",\r
4944         "type": "set",\r
4945         "name": "set maxtpn",\r
4946         "xml": "<set>\n<parameter name='maxtpn' value='`($maxtpn + $gfp)`' />",\r
4947         "comments": "",\r
4948         "x": 3654.566665649414,\r
4949         "y": 3006.566665649414,\r
4950         "z": "44fca1a5.1b442",\r
4951         "wires": []\r
4952     },\r
4953     {\r
4954         "id": "a58bc596.7e7c2",\r
4955         "type": "call",\r
4956         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
4957         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4958         "comments": "",\r
4959         "outputs": 1,\r
4960         "x": 1789.566665649414,\r
4961         "y": 2371.5665435791016,\r
4962         "z": "44fca1a5.1b442",\r
4963         "wires": [\r
4964             []\r
4965         ]\r
4966     },\r
4967     {\r
4968         "id": "475ae245.9fc77c",\r
4969         "type": "switchNode",\r
4970         "name": "switch src and dst same domain?",\r
4971         "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n",\r
4972         "comments": "",\r
4973         "outputs": 1,\r
4974         "x": 1551.1502075195312,\r
4975         "y": 2452.150390625,\r
4976         "z": "44fca1a5.1b442",\r
4977         "wires": [\r
4978             [\r
4979                 "e6c172a1.d8f858",\r
4980                 "82600db3.cf71b"\r
4981             ]\r
4982         ]\r
4983     },\r
4984     {\r
4985         "id": "e6c172a1.d8f858",\r
4986         "type": "outcomeTrue",\r
4987         "name": "true",\r
4988         "xml": "<outcome value='true'>\n",\r
4989         "comments": "",\r
4990         "outputs": 1,\r
4991         "x": 1722.149917602539,\r
4992         "y": 2562.1502838134766,\r
4993         "z": "44fca1a5.1b442",\r
4994         "wires": [\r
4995             [\r
4996                 "dd4809a0.0c713"\r
4997             ]\r
4998         ]\r
4999     },\r
5000     {\r
5001         "id": "82600db3.cf71b",\r
5002         "type": "outcomeFalse",\r
5003         "name": "false",\r
5004         "xml": "<outcome value='false'>\n",\r
5005         "comments": "",\r
5006         "outputs": 1,\r
5007         "x": 1785.1500396728516,\r
5008         "y": 2439.1502838134766,\r
5009         "z": "44fca1a5.1b442",\r
5010         "wires": [\r
5011             [\r
5012                 "5a6f4a6c.780d2c"\r
5013             ]\r
5014         ]\r
5015     },\r
5016     {\r
5017         "id": "4a4cb8a7.53237",\r
5018         "type": "call",\r
5019         "name": "call GENERIC-RESOURCE-API:p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof",\r
5020         "xml": "<call module='GENERIC-RESOURCE-API' rpc='p2p-vnf-topology-operation-p2p-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
5021         "comments": "",\r
5022         "outputs": 1,\r
5023         "x": 2375.4832916259766,\r
5024         "y": 2427.4832916259766,\r
5025         "z": "44fca1a5.1b442",\r
5026         "wires": [\r
5027             []\r
5028         ]\r
5029     },\r
5030     {\r
5031         "id": "dd4809a0.0c713",\r
5032         "type": "block",\r
5033         "name": "block : atomic",\r
5034         "xml": "<block atomic='true'>",\r
5035         "atomic": "true",\r
5036         "comments": "",\r
5037         "outputs": 1,\r
5038         "x": 1904.483413696289,\r
5039         "y": 2565.4832916259766,\r
5040         "z": "44fca1a5.1b442",\r
5041         "wires": [\r
5042             [\r
5043                 "a3db40f.f56a64",\r
5044                 "3ed4dcd6.dacdc4",\r
5045                 "9f3ef30c.c3c62",\r
5046                 "10ca65f.d30799a"\r
5047             ]\r
5048         ]\r
5049     },\r
5050     {\r
5051         "id": "a3db40f.f56a64",\r
5052         "type": "execute",\r
5053         "name": "execute UUID generator for vpn-binding $otnidx",\r
5054         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-samedomain-uuid\"/>\n",\r
5055         "comments": "",\r
5056         "outputs": 1,\r
5057         "x": 2234.4832916259766,\r
5058         "y": 2553.150161743164,\r
5059         "z": "44fca1a5.1b442",\r
5060         "wires": [\r
5061             []\r
5062         ]\r
5063     },\r
5064     {\r
5065         "id": "3ed4dcd6.dacdc4",\r
5066         "type": "set",\r
5067         "name": "set attachment_param Same Domain",\r
5068         "xml": "<set>\n<parameter name='tmp.sameDomain-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.sameDomain-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='tmp.sameDomain-src-access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='tmp.sameDomain-dst-access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
5069         "comments": "",\r
5070         "x": 2202.4832916259766,\r
5071         "y": 2613.483169555664,\r
5072         "z": "44fca1a5.1b442",\r
5073         "wires": []\r
5074     },\r
5075     {\r
5076         "id": "9f3ef30c.c3c62",\r
5077         "type": "save",\r
5078         "name": "save vpn-binding same domain resource (aka. OTN) in AAI",\r
5079         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-samedomain-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-samedomain-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='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\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.sameDomain-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.sameDomain-src-access-ltp-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.sameDomain-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.sameDomain-dst-access-ltp-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<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
5080         "comments": "",\r
5081         "outputs": 1,\r
5082         "x": 2267.8165435791016,\r
5083         "y": 2669.483169555664,\r
5084         "z": "44fca1a5.1b442",\r
5085         "wires": [\r
5086             [\r
5087                 "ec87cb9c.11295"\r
5088             ]\r
5089         ]\r
5090     },\r
5091     {\r
5092         "id": "ec87cb9c.11295",\r
5093         "type": "success",\r
5094         "name": "success",\r
5095         "xml": "<outcome value='success'>\n",\r
5096         "comments": "",\r
5097         "outputs": 1,\r
5098         "x": 2584.8165435791016,\r
5099         "y": 2671.483169555664,\r
5100         "z": "44fca1a5.1b442",\r
5101         "wires": [\r
5102             [\r
5103                 "d89df417.ae3c78"\r
5104             ]\r
5105         ]\r
5106     },\r
5107     {\r
5108         "id": "d89df417.ae3c78",\r
5109         "type": "block",\r
5110         "name": "block",\r
5111         "xml": "<block>\n",\r
5112         "atomic": "false",\r
5113         "comments": "",\r
5114         "outputs": 1,\r
5115         "x": 2748.3165435791016,\r
5116         "y": 2670.737075805664,\r
5117         "z": "44fca1a5.1b442",\r
5118         "wires": [\r
5119             []\r
5120         ]\r
5121     },\r
5122     {\r
5123         "id": "df1cdf90.7c16c",\r
5124         "type": "call",\r
5125         "name": "call GENERIC-RESOURCE-API:p2p-vnf-topology-operation-p2p-activate",\r
5126         "xml": "<call module='GENERIC-RESOURCE-API' rpc='p2p-vnf-topology-operation-p2p-activate' mode='sync' >\n\n",\r
5127         "comments": "",\r
5128         "outputs": 1,\r
5129         "x": 2184.483413696289,\r
5130         "y": 4095.149673461914,\r
5131         "z": "44fca1a5.1b442",\r
5132         "wires": [\r
5133             []\r
5134         ]\r
5135     },\r
5136     {\r
5137         "id": "10ca65f.d30799a",\r
5138         "type": "save",\r
5139         "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, in AAI",\r
5140         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-samedomain-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
5141         "comments": "",\r
5142         "outputs": 1,\r
5143         "x": 2316.482925415039,\r
5144         "y": 2724.149917602539,\r
5145         "z": "44fca1a5.1b442",\r
5146         "wires": [\r
5147             []\r
5148         ]\r
5149     },\r
5150     {\r
5151         "id": "5a6f4a6c.780d2c",\r
5152         "type": "block",\r
5153         "name": "block : atomic",\r
5154         "xml": "<block atomic='true'>",\r
5155         "atomic": "true",\r
5156         "comments": "",\r
5157         "outputs": 1,\r
5158         "x": 1955.1500396728516,\r
5159         "y": 2438.1502838134766,\r
5160         "z": "44fca1a5.1b442",\r
5161         "wires": [\r
5162             [\r
5163                 "4a4cb8a7.53237",\r
5164                 "454059c8.1f8fc"\r
5165             ]\r
5166         ]\r
5167     },\r
5168     {\r
5169         "id": "2c4795df.bc53ba",\r
5170         "type": "switchNode",\r
5171         "name": "switch tmp.aai.network-route-A.data-owner == null",\r
5172         "xml": "<switch test=\"`length($tmp.aai.network-route-A.data-owner) == 0`\">\n",\r
5173         "comments": "",\r
5174         "outputs": 1,\r
5175         "x": 2719.300048828125,\r
5176         "y": 1239.1666259765625,\r
5177         "z": "44fca1a5.1b442",\r
5178         "wires": [\r
5179             [\r
5180                 "4f29043.7cddffc"\r
5181             ]\r
5182         ]\r
5183     },\r
5184     {\r
5185         "id": "4f29043.7cddffc",\r
5186         "type": "outcomeTrue",\r
5187         "name": "false",\r
5188         "xml": "<outcome value='false'>\n",\r
5189         "comments": "",\r
5190         "outputs": 1,\r
5191         "x": 2994.1668701171875,\r
5192         "y": 1227.1666259765625,\r
5193         "z": "44fca1a5.1b442",\r
5194         "wires": [\r
5195             [\r
5196                 "e7abfd13.e0f26"\r
5197             ]\r
5198         ]\r
5199     },\r
5200     {\r
5201         "id": "e7abfd13.e0f26",\r
5202         "type": "block",\r
5203         "name": "block",\r
5204         "xml": "<block>\n",\r
5205         "atomic": "false",\r
5206         "comments": "",\r
5207         "outputs": 1,\r
5208         "x": 3115.1668701171875,\r
5209         "y": 1228.1666259765625,\r
5210         "z": "44fca1a5.1b442",\r
5211         "wires": [\r
5212             [\r
5213                 "2ffba978.2724fe"\r
5214             ]\r
5215         ]\r
5216     },\r
5217     {\r
5218         "id": "2ffba978.2724fe",\r
5219         "type": "set",\r
5220         "name": "set final-vlan",\r
5221         "xml": "<set>\n<parameter name='final-vlan' value=\"`$tmp.aai.network-route-A.data-owner`\" />\n\n",\r
5222         "comments": "",\r
5223         "x": 3269.166748046875,\r
5224         "y": 1227.566650390625,\r
5225         "z": "44fca1a5.1b442",\r
5226         "wires": []\r
5227     },\r
5228     {\r
5229         "id": "da97768b.de449",\r
5230         "type": "switchNode",\r
5231         "name": "switch tmp.aai.network-route-B.data-owner == null",\r
5232         "xml": "<switch test=\"`length($tmp.aai.network-route-B.data-owner) == 0`\">\n",\r
5233         "comments": "",\r
5234         "outputs": 1,\r
5235         "x": 2739.300048828125,\r
5236         "y": 1300.1666259765625,\r
5237         "z": "44fca1a5.1b442",\r
5238         "wires": [\r
5239             [\r
5240                 "68665f18.022eb"\r
5241             ]\r
5242         ]\r
5243     },\r
5244     {\r
5245         "id": "68665f18.022eb",\r
5246         "type": "outcomeTrue",\r
5247         "name": "false",\r
5248         "xml": "<outcome value='false'>\n",\r
5249         "comments": "",\r
5250         "outputs": 1,\r
5251         "x": 3014.1668701171875,\r
5252         "y": 1288.1666259765625,\r
5253         "z": "44fca1a5.1b442",\r
5254         "wires": [\r
5255             [\r
5256                 "5b5b9e57.59631"\r
5257             ]\r
5258         ]\r
5259     },\r
5260     {\r
5261         "id": "5b5b9e57.59631",\r
5262         "type": "block",\r
5263         "name": "block",\r
5264         "xml": "<block>\n",\r
5265         "atomic": "false",\r
5266         "comments": "",\r
5267         "outputs": 1,\r
5268         "x": 3135.1668701171875,\r
5269         "y": 1289.1666259765625,\r
5270         "z": "44fca1a5.1b442",\r
5271         "wires": [\r
5272             [\r
5273                 "65f1c257.fa1e1c"\r
5274             ]\r
5275         ]\r
5276     },\r
5277     {\r
5278         "id": "65f1c257.fa1e1c",\r
5279         "type": "set",\r
5280         "name": "set final-vlan",\r
5281         "xml": "<set>\n<parameter name='final-vlan' value=\"`$tmp.aai.network-route-B.data-owner`\" />\n\n",\r
5282         "comments": "",\r
5283         "x": 3289.166748046875,\r
5284         "y": 1288.566650390625,\r
5285         "z": "44fca1a5.1b442",\r
5286         "wires": []\r
5287     },\r
5288     {\r
5289         "id": "98cc92a0.50792",\r
5290         "type": "set",\r
5291         "name": "unset final-vlan",\r
5292         "xml": "<set>\n<parameter name='final-vlan' value=\"\" />\n\n",\r
5293         "comments": "",\r
5294         "x": 2603.300048828125,\r
5295         "y": 1193.1666259765625,\r
5296         "z": "44fca1a5.1b442",\r
5297         "wires": []\r
5298     },\r
5299     {\r
5300         "id": "689f5373.4eba54",\r
5301         "type": "switchNode",\r
5302         "name": "switch $tmp.aai.network-route-A.data-owner == null",\r
5303         "xml": "<switch test=\"`length($tmp.aai.network-route-A.data-owner) == 0`\">\n",\r
5304         "comments": "",\r
5305         "outputs": 1,\r
5306         "x": 3956.433349609375,\r
5307         "y": 2018.566650390625,\r
5308         "z": "44fca1a5.1b442",\r
5309         "wires": [\r
5310             [\r
5311                 "806fd0a9.5f009",\r
5312                 "cfea3d9c.4ce5a8"\r
5313             ]\r
5314         ]\r
5315     },\r
5316     {\r
5317         "id": "806fd0a9.5f009",\r
5318         "type": "outcomeTrue",\r
5319         "name": "false",\r
5320         "xml": "<outcome value='false'>\n",\r
5321         "comments": "",\r
5322         "outputs": 1,\r
5323         "x": 4235.30078125,\r
5324         "y": 2003.566650390625,\r
5325         "z": "44fca1a5.1b442",\r
5326         "wires": [\r
5327             [\r
5328                 "60798819.bfd6e"\r
5329             ]\r
5330         ]\r
5331     },\r
5332     {\r
5333         "id": "60798819.bfd6e",\r
5334         "type": "block",\r
5335         "name": "block",\r
5336         "xml": "<block>\n",\r
5337         "atomic": "false",\r
5338         "comments": "",\r
5339         "outputs": 1,\r
5340         "x": 4393.30078125,\r
5341         "y": 1999.566650390625,\r
5342         "z": "44fca1a5.1b442",\r
5343         "wires": [\r
5344             [\r
5345                 "4cbae1c1.273ca"\r
5346             ]\r
5347         ]\r
5348     },\r
5349     {\r
5350         "id": "4cbae1c1.273ca",\r
5351         "type": "set",\r
5352         "name": "set final-vlan",\r
5353         "xml": "<set>\n<parameter name='final-vlan' value=\"`$tmp.aai.network-route-A.data-owner`\" />\n",\r
5354         "comments": "",\r
5355         "x": 4558.30029296875,\r
5356         "y": 1999.9666748046875,\r
5357         "z": "44fca1a5.1b442",\r
5358         "wires": []\r
5359     },\r
5360     {\r
5361         "id": "d72c4c5b.0543b8",\r
5362         "type": "set",\r
5363         "name": "set final-vlan",\r
5364         "xml": "<set>\n<parameter name='final-vlan' value=\"`$tmp.aai.network-route-B.logical-interface-id`\" />\n",\r
5365         "comments": "",\r
5366         "x": 4561.7333984375,\r
5367         "y": 2058.36669921875,\r
5368         "z": "44fca1a5.1b442",\r
5369         "wires": []\r
5370     },\r
5371     {\r
5372         "id": "ea82b437.1459e",\r
5373         "type": "block",\r
5374         "name": "block",\r
5375         "xml": "<block>\n",\r
5376         "atomic": "false",\r
5377         "comments": "",\r
5378         "outputs": 1,\r
5379         "x": 4396.73388671875,\r
5380         "y": 2057.9666748046875,\r
5381         "z": "44fca1a5.1b442",\r
5382         "wires": [\r
5383             [\r
5384                 "d72c4c5b.0543b8"\r
5385             ]\r
5386         ]\r
5387     },\r
5388     {\r
5389         "id": "cfea3d9c.4ce5a8",\r
5390         "type": "outcomeTrue",\r
5391         "name": "true",\r
5392         "xml": "<outcome value='true'>\n",\r
5393         "comments": "",\r
5394         "outputs": 1,\r
5395         "x": 4238.73388671875,\r
5396         "y": 2061.9666748046875,\r
5397         "z": "44fca1a5.1b442",\r
5398         "wires": [\r
5399             [\r
5400                 "ea82b437.1459e"\r
5401             ]\r
5402         ]\r
5403     },\r
5404     {\r
5405         "id": "bfc91f6.fd87a6",\r
5406         "type": "switchNode",\r
5407         "name": "switch src and dst same domain?",\r
5408         "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n",\r
5409         "comments": "",\r
5410         "outputs": 1,\r
5411         "x": 3204.933349609375,\r
5412         "y": 2114.1663818359375,\r
5413         "z": "44fca1a5.1b442",\r
5414         "wires": [\r
5415             [\r
5416                 "605caba5.b05b8c",\r
5417                 "68fb876d.4a2b18"\r
5418             ]\r
5419         ]\r
5420     },\r
5421     {\r
5422         "id": "68fb876d.4a2b18",\r
5423         "type": "outcomeFalse",\r
5424         "name": "false",\r
5425         "xml": "<outcome value='false'>\n",\r
5426         "comments": "",\r
5427         "outputs": 1,\r
5428         "x": 3429.93310546875,\r
5429         "y": 2092.1663818359375,\r
5430         "z": "44fca1a5.1b442",\r
5431         "wires": [\r
5432             [\r
5433                 "3e3ad7ef.fe4e8"\r
5434             ]\r
5435         ]\r
5436     },\r
5437     {\r
5438         "id": "605caba5.b05b8c",\r
5439         "type": "outcomeTrue",\r
5440         "name": "true",\r
5441         "xml": "<outcome value='true'>\n",\r
5442         "comments": "",\r
5443         "outputs": 1,\r
5444         "x": 3427.93310546875,\r
5445         "y": 2154.1663818359375,\r
5446         "z": "44fca1a5.1b442",\r
5447         "wires": [\r
5448             [\r
5449                 "8abea7d8.35f5b8"\r
5450             ]\r
5451         ]\r
5452     },\r
5453     {\r
5454         "id": "3e3ad7ef.fe4e8",\r
5455         "type": "block",\r
5456         "name": "block : atomic",\r
5457         "xml": "<block atomic='true'>",\r
5458         "atomic": "true",\r
5459         "comments": "",\r
5460         "outputs": 1,\r
5461         "x": 3575.9331817626953,\r
5462         "y": 2092.1663970947266,\r
5463         "z": "44fca1a5.1b442",\r
5464         "wires": [\r
5465             [\r
5466                 "9eaa7330.d56278",\r
5467                 "ea3b6f52.6f2fd8",\r
5468                 "a9c9250a.2de128"\r
5469             ]\r
5470         ]\r
5471     },\r
5472     {\r
5473         "id": "8abea7d8.35f5b8",\r
5474         "type": "block",\r
5475         "name": "block : atomic",\r
5476         "xml": "<block atomic='true'>",\r
5477         "atomic": "true",\r
5478         "comments": "",\r
5479         "outputs": 1,\r
5480         "x": 3572.2666015625,\r
5481         "y": 2154.4993896484375,\r
5482         "z": "44fca1a5.1b442",\r
5483         "wires": [\r
5484             [\r
5485                 "f9b9a837.a6982"\r
5486             ]\r
5487         ]\r
5488     },\r
5489     {\r
5490         "id": "f9b9a837.a6982",\r
5491         "type": "save",\r
5492         "name": "update connectivity resource in AAI",\r
5493         "xml": "<update 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='color-aware' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='coupling-flag' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
5494         "comments": "",\r
5495         "outputs": 1,\r
5496         "x": 3663.2335205078125,\r
5497         "y": 2280.7664794921875,\r
5498         "z": "44fca1a5.1b442",\r
5499         "wires": [\r
5500             []\r
5501         ]\r
5502     }\r
5503 ]