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-modify.json
1 [\r
2     {\r
3         "id": "7ed82570.98fbdc",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 128.56666564941406,\r
8         "y": 178.56666564941406,\r
9         "z": "7a2c5977.5cc868",\r
10         "wires": [\r
11             [\r
12                 "391afd32.1d09aa"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "391afd32.1d09aa",\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": 353.85235595703125,\r
26         "y": 252.8047742843628,\r
27         "z": "7a2c5977.5cc868",\r
28         "wires": [\r
29             [\r
30                 "90765c89.647058"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "90765c89.647058",\r
36         "type": "method",\r
37         "name": "method p2p-vnf-topology-operation-p2p-modify",\r
38         "xml": "<method rpc='p2p-vnf-topology-operation-p2p-modify' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 359.9952697753906,\r
42         "y": 337.5666961669922,\r
43         "z": "7a2c5977.5cc868",\r
44         "wires": [\r
45             [\r
46                 "9cde6295.2d0718"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "9cde6295.2d0718",\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": 729.8047027587891,\r
58         "y": 362.2333526611328,\r
59         "z": "7a2c5977.5cc868",\r
60         "wires": [\r
61             [\r
62                 "4ae0dd2a.d94ce4",\r
63                 "79738588.734b34",\r
64                 "1f3c8c44.a01cfc"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "4ae0dd2a.d94ce4",\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": 985.1381988525391,\r
75         "y": 516.1636505126953,\r
76         "z": "7a2c5977.5cc868",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "79738588.734b34",\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": 1052.566665649414,\r
87         "y": 335.56666564941406,\r
88         "z": "7a2c5977.5cc868",\r
89         "wires": [\r
90             [\r
91                 "8962e75e.00261",\r
92                 "4fd36492.b80aa4",\r
93                 "9a3dacb1.190568"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "8962e75e.00261",\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": 1277.566665649414,\r
105         "y": 193.56666564941406,\r
106         "z": "7a2c5977.5cc868",\r
107         "wires": [\r
108             [\r
109                 "3deda3f.9bf2e5c"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "4fd36492.b80aa4",\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": 1273.057632446289,\r
121         "y": 263.1407012939453,\r
122         "z": "7a2c5977.5cc868",\r
123         "wires": [\r
124             [\r
125                 "3f0b2c08.7bc00c"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "9a3dacb1.190568",\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": 1261.566665649414,\r
137         "y": 309.56666564941406,\r
138         "z": "7a2c5977.5cc868",\r
139         "wires": [\r
140             [\r
141                 "9b28e102.0626c"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "3deda3f.9bf2e5c",\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": 1516.566665649414,\r
153         "y": 190.56666564941406,\r
154         "z": "7a2c5977.5cc868",\r
155         "wires": [\r
156             [\r
157                 "20af607b.68774",\r
158                 "3658cbc.aa6dfb4"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "3f0b2c08.7bc00c",\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": 1426.6290435791016,\r
169         "y": 266.4264373779297,\r
170         "z": "7a2c5977.5cc868",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "9b28e102.0626c",\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": 1430.566665649414,\r
180         "y": 310.56666564941406,\r
181         "z": "7a2c5977.5cc868",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "20af607b.68774",\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": 1729.566665649414,\r
192         "y": 214.56666564941406,\r
193         "z": "7a2c5977.5cc868",\r
194         "wires": [\r
195             [\r
196                 "be8ab5c2.2f32"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "3658cbc.aa6dfb4",\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": 1731.566665649414,\r
208         "y": 154.56666564941406,\r
209         "z": "7a2c5977.5cc868",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "1f591d09.2d25db",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1031.566665649414,\r
221         "y": 223.56666564941406,\r
222         "z": "7a2c5977.5cc868",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "be8ab5c2.2f32",\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": 1674.566665649414,\r
234         "y": 396.56666564941406,\r
235         "z": "7a2c5977.5cc868",\r
236         "wires": [\r
237             [\r
238                 "d30b8bfe.c0acd",\r
239                 "b8b8c8f9.3c3308",\r
240                 "86a1c6ac.aa4d9",\r
241                 "57401e8a.a8ecc"\r
242             ]\r
243         ]\r
244     },\r
245     {\r
246         "id": "1aaac7fe.3c1ba",\r
247         "type": "set",\r
248         "name": "set network-route-A",\r
249         "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
250         "comments": "",\r
251         "x": 4243.566665649414,\r
252         "y": 903.5666656494141,\r
253         "z": "7a2c5977.5cc868",\r
254         "wires": []\r
255     },\r
256     {\r
257         "id": "3b804e52.a7cf2a",\r
258         "type": "set",\r
259         "name": "set network-route-B",\r
260         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
261         "comments": "",\r
262         "x": 4244.566665649414,\r
263         "y": 958.5666656494141,\r
264         "z": "7a2c5977.5cc868",\r
265         "wires": []\r
266     },\r
267     {\r
268         "id": "1ad24ca8.e833c3",\r
269         "type": "save",\r
270         "name": "get allotted-resource from aai",\r
271         "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
272         "comments": "",\r
273         "outputs": 1,\r
274         "x": 2200.566665649414,\r
275         "y": 353.56666564941406,\r
276         "z": "7a2c5977.5cc868",\r
277         "wires": [\r
278             [\r
279                 "b8507b63.6f6868",\r
280                 "67c1af9f.10fa88",\r
281                 "7ec43e4c.6fd9e"\r
282             ]\r
283         ]\r
284     },\r
285     {\r
286         "id": "b8507b63.6f6868",\r
287         "type": "success",\r
288         "name": "success",\r
289         "xml": "<outcome value='success'>\n",\r
290         "comments": "",\r
291         "outputs": 1,\r
292         "x": 2416.566665649414,\r
293         "y": 420.56666564941406,\r
294         "z": "7a2c5977.5cc868",\r
295         "wires": [\r
296             [\r
297                 "5fc7bb3c.8d1c74"\r
298             ]\r
299         ]\r
300     },\r
301     {\r
302         "id": "67c1af9f.10fa88",\r
303         "type": "not-found",\r
304         "name": "not-found",\r
305         "xml": "<outcome value='not-found'>\n",\r
306         "comments": "",\r
307         "outputs": 1,\r
308         "x": 2417.057632446289,\r
309         "y": 320.14064025878906,\r
310         "z": "7a2c5977.5cc868",\r
311         "wires": [\r
312             [\r
313                 "4da82d11.2ee7a4"\r
314             ]\r
315         ]\r
316     },\r
317     {\r
318         "id": "7ec43e4c.6fd9e",\r
319         "type": "failure",\r
320         "name": "failure",\r
321         "xml": "<outcome value='failure'>\n",\r
322         "comments": "",\r
323         "outputs": 1,\r
324         "x": 2412.566665649414,\r
325         "y": 369.56666564941406,\r
326         "z": "7a2c5977.5cc868",\r
327         "wires": [\r
328             [\r
329                 "32e3d071.7e8958"\r
330             ]\r
331         ]\r
332     },\r
333     {\r
334         "id": "4da82d11.2ee7a4",\r
335         "type": "returnFailure",\r
336         "name": "return failure",\r
337         "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
338         "comments": "",\r
339         "x": 2594.629165649414,\r
340         "y": 320.42640686035156,\r
341         "z": "7a2c5977.5cc868",\r
342         "wires": []\r
343     },\r
344     {\r
345         "id": "32e3d071.7e8958",\r
346         "type": "returnFailure",\r
347         "name": "return failure",\r
348         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
349         "comments": "",\r
350         "x": 2594.566665649414,\r
351         "y": 369.56666564941406,\r
352         "z": "7a2c5977.5cc868",\r
353         "wires": []\r
354     },\r
355     {\r
356         "id": "5d5e04cf.2d233c",\r
357         "type": "save",\r
358         "name": "get logical-link from aai",\r
359         "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
360         "comments": "",\r
361         "outputs": 1,\r
362         "x": 3469.566665649414,\r
363         "y": 874.5666656494141,\r
364         "z": "7a2c5977.5cc868",\r
365         "wires": [\r
366             [\r
367                 "737046f3.901008",\r
368                 "c17a2f42.f8ce5",\r
369                 "6c18d1b1.1fb02"\r
370             ]\r
371         ]\r
372     },\r
373     {\r
374         "id": "737046f3.901008",\r
375         "type": "not-found",\r
376         "name": "not-found",\r
377         "xml": "<outcome value='not-found'>\n",\r
378         "comments": "",\r
379         "outputs": 1,\r
380         "x": 3761.057632446289,\r
381         "y": 853.1406402587891,\r
382         "z": "7a2c5977.5cc868",\r
383         "wires": [\r
384             [\r
385                 "d252d89c.bf824"\r
386             ]\r
387         ]\r
388     },\r
389     {\r
390         "id": "c17a2f42.f8ce5",\r
391         "type": "failure",\r
392         "name": "failure",\r
393         "xml": "<outcome value='failure'>\n",\r
394         "comments": "",\r
395         "outputs": 1,\r
396         "x": 3749.566665649414,\r
397         "y": 897.5666656494141,\r
398         "z": "7a2c5977.5cc868",\r
399         "wires": [\r
400             [\r
401                 "ac4aea44.3a1468"\r
402             ]\r
403         ]\r
404     },\r
405     {\r
406         "id": "d252d89c.bf824",\r
407         "type": "returnFailure",\r
408         "name": "return failure",\r
409         "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
410         "comments": "",\r
411         "x": 3909.629165649414,\r
412         "y": 853.4264068603516,\r
413         "z": "7a2c5977.5cc868",\r
414         "wires": []\r
415     },\r
416     {\r
417         "id": "ac4aea44.3a1468",\r
418         "type": "returnFailure",\r
419         "name": "return failure",\r
420         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
421         "comments": "",\r
422         "x": 3908.566665649414,\r
423         "y": 897.5666656494141,\r
424         "z": "7a2c5977.5cc868",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "6c18d1b1.1fb02",\r
429         "type": "success",\r
430         "name": "success",\r
431         "xml": "<outcome value='success'>\n",\r
432         "comments": "",\r
433         "outputs": 1,\r
434         "x": 3755.566665649414,\r
435         "y": 944.5666656494141,\r
436         "z": "7a2c5977.5cc868",\r
437         "wires": [\r
438             []\r
439         ]\r
440     },\r
441     {\r
442         "id": "9334f6e1.75bd8",\r
443         "type": "block",\r
444         "name": "block",\r
445         "xml": "<block>\n",\r
446         "atomic": "false",\r
447         "comments": "",\r
448         "outputs": 1,\r
449         "x": 3909.566665649414,\r
450         "y": 983.5666656494141,\r
451         "z": "7a2c5977.5cc868",\r
452         "wires": [\r
453             [\r
454                 "1aaac7fe.3c1ba",\r
455                 "3b804e52.a7cf2a",\r
456                 "609f7b84.9a3f44",\r
457                 "1d55bdaf.3f48b2",\r
458                 "6876f035.c2a16",\r
459                 "f41eeb62.b3bcb",\r
460                 "e8bc0d88.0a94d",\r
461                 "e8d2e62e.a7299",\r
462                 "b172c901.cf8828",\r
463                 "4228fba9.d84434",\r
464                 "fc1cf650.aa6b18",\r
465                 "3b99997f.82150e",\r
466                 "2ab2958e.345c6a"\r
467             ]\r
468         ]\r
469     },\r
470     {\r
471         "id": "609f7b84.9a3f44",\r
472         "type": "save",\r
473         "name": "get network-route-A from aai",\r
474         "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
475         "comments": "",\r
476         "outputs": 1,\r
477         "x": 4256.566665649414,\r
478         "y": 1026.566665649414,\r
479         "z": "7a2c5977.5cc868",\r
480         "wires": [\r
481             [\r
482                 "feb2378a.2af25",\r
483                 "cbad9eb.a48376",\r
484                 "4fed791d.880998"\r
485             ]\r
486         ]\r
487     },\r
488     {\r
489         "id": "1d55bdaf.3f48b2",\r
490         "type": "save",\r
491         "name": "get network-route-B from aai",\r
492         "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
493         "comments": "",\r
494         "outputs": 1,\r
495         "x": 4235.566665649414,\r
496         "y": 1628.5665435791016,\r
497         "z": "7a2c5977.5cc868",\r
498         "wires": [\r
499             [\r
500                 "2518a058.abd538",\r
501                 "6ec44045.1b76e",\r
502                 "3ecdb083.b8e9c8"\r
503             ]\r
504         ]\r
505     },\r
506     {\r
507         "id": "feb2378a.2af25",\r
508         "type": "not-found",\r
509         "name": "not-found",\r
510         "xml": "<outcome value='not-found'>\n",\r
511         "comments": "",\r
512         "outputs": 1,\r
513         "x": 4457.566665649414,\r
514         "y": 910.5666656494141,\r
515         "z": "7a2c5977.5cc868",\r
516         "wires": [\r
517             [\r
518                 "edb5d5b7.00d9d8"\r
519             ]\r
520         ]\r
521     },\r
522     {\r
523         "id": "cbad9eb.a48376",\r
524         "type": "failure",\r
525         "name": "failure",\r
526         "xml": "<outcome value='failure'>\n",\r
527         "comments": "",\r
528         "outputs": 1,\r
529         "x": 4453.075698852539,\r
530         "y": 959.9926910400391,\r
531         "z": "7a2c5977.5cc868",\r
532         "wires": [\r
533             [\r
534                 "302f34fb.b2cccc"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "4fed791d.880998",\r
540         "type": "success",\r
541         "name": "success",\r
542         "xml": "<outcome value='success'>\n",\r
543         "comments": "",\r
544         "outputs": 1,\r
545         "x": 4457.075698852539,\r
546         "y": 1010.9926910400391,\r
547         "z": "7a2c5977.5cc868",\r
548         "wires": [\r
549             [\r
550                 "a17dcb43.36654"\r
551             ]\r
552         ]\r
553     },\r
554     {\r
555         "id": "edb5d5b7.00d9d8",\r
556         "type": "returnFailure",\r
557         "name": "return failure",\r
558         "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
559         "comments": "",\r
560         "x": 4606.138198852539,\r
561         "y": 909.8524322509766,\r
562         "z": "7a2c5977.5cc868",\r
563         "wires": []\r
564     },\r
565     {\r
566         "id": "302f34fb.b2cccc",\r
567         "type": "returnFailure",\r
568         "name": "return failure",\r
569         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
570         "comments": "",\r
571         "x": 4596.075698852539,\r
572         "y": 959.9926910400391,\r
573         "z": "7a2c5977.5cc868",\r
574         "wires": []\r
575     },\r
576     {\r
577         "id": "2518a058.abd538",\r
578         "type": "not-found",\r
579         "name": "not-found",\r
580         "xml": "<outcome value='not-found'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 4458.566665649414,\r
584         "y": 1598.5665435791016,\r
585         "z": "7a2c5977.5cc868",\r
586         "wires": [\r
587             [\r
588                 "ae2f5ea5.ffcca8"\r
589             ]\r
590         ]\r
591     },\r
592     {\r
593         "id": "6ec44045.1b76e",\r
594         "type": "failure",\r
595         "name": "failure",\r
596         "xml": "<outcome value='failure'>\n",\r
597         "comments": "",\r
598         "outputs": 1,\r
599         "x": 4454.075698852539,\r
600         "y": 1647.9925689697266,\r
601         "z": "7a2c5977.5cc868",\r
602         "wires": [\r
603             [\r
604                 "8fe524e0.344e88"\r
605             ]\r
606         ]\r
607     },\r
608     {\r
609         "id": "3ecdb083.b8e9c8",\r
610         "type": "success",\r
611         "name": "success",\r
612         "xml": "<outcome value='success'>\n",\r
613         "comments": "",\r
614         "outputs": 1,\r
615         "x": 4458.075698852539,\r
616         "y": 1698.9925689697266,\r
617         "z": "7a2c5977.5cc868",\r
618         "wires": [\r
619             [\r
620                 "55939baf.cd26bc"\r
621             ]\r
622         ]\r
623     },\r
624     {\r
625         "id": "ae2f5ea5.ffcca8",\r
626         "type": "returnFailure",\r
627         "name": "return failure",\r
628         "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
629         "comments": "",\r
630         "x": 4607.138198852539,\r
631         "y": 1597.852310180664,\r
632         "z": "7a2c5977.5cc868",\r
633         "wires": []\r
634     },\r
635     {\r
636         "id": "8fe524e0.344e88",\r
637         "type": "returnFailure",\r
638         "name": "return failure",\r
639         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
640         "comments": "",\r
641         "x": 4597.075698852539,\r
642         "y": 1647.9925689697266,\r
643         "z": "7a2c5977.5cc868",\r
644         "wires": []\r
645     },\r
646     {\r
647         "id": "4f9233a2.7d7c54",\r
648         "type": "block",\r
649         "name": "block : atomic",\r
650         "xml": "<block atomic=\"true\">",\r
651         "atomic": "true",\r
652         "outputs": 1,\r
653         "x": 5271.233169555664,\r
654         "y": 1054.566665649414,\r
655         "z": "7a2c5977.5cc868",\r
656         "wires": [\r
657             [\r
658                 "633cbeb7.169858",\r
659                 "bab31b18.59cf48",\r
660                 "a317ded0.bb3c4",\r
661                 "ab06c276.223ba8",\r
662                 "cc9240f8.8f7cd"\r
663             ]\r
664         ]\r
665     },\r
666     {\r
667         "id": "316e9aaa.7c7b56",\r
668         "type": "success",\r
669         "name": "success",\r
670         "xml": "<outcome value='success'>\n",\r
671         "comments": "",\r
672         "outputs": 1,\r
673         "x": 5098.566665649414,\r
674         "y": 1055.566665649414,\r
675         "z": "7a2c5977.5cc868",\r
676         "wires": [\r
677             [\r
678                 "4f9233a2.7d7c54"\r
679             ]\r
680         ]\r
681     },\r
682     {\r
683         "id": "71d04631.299a38",\r
684         "type": "not-found",\r
685         "name": "not-found",\r
686         "xml": "<outcome value='not-found'>\n",\r
687         "comments": "",\r
688         "outputs": 1,\r
689         "x": 5108.057632446289,\r
690         "y": 1098.1407012939453,\r
691         "z": "7a2c5977.5cc868",\r
692         "wires": [\r
693             [\r
694                 "92bf2c3c.4b1f48"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "ec19e5df.bfee3",\r
700         "type": "failure",\r
701         "name": "failure",\r
702         "xml": "<outcome value='failure'>\n",\r
703         "comments": "",\r
704         "outputs": 1,\r
705         "x": 5096.566665649414,\r
706         "y": 1144.566665649414,\r
707         "z": "7a2c5977.5cc868",\r
708         "wires": [\r
709             [\r
710                 "97714895.6880b8"\r
711             ]\r
712         ]\r
713     },\r
714     {\r
715         "id": "92bf2c3c.4b1f48",\r
716         "type": "returnFailure",\r
717         "name": "return failure",\r
718         "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
719         "comments": "",\r
720         "x": 5261.629043579102,\r
721         "y": 1101.4264373779297,\r
722         "z": "7a2c5977.5cc868",\r
723         "wires": []\r
724     },\r
725     {\r
726         "id": "97714895.6880b8",\r
727         "type": "returnFailure",\r
728         "name": "return failure",\r
729         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
730         "comments": "",\r
731         "x": 5265.566665649414,\r
732         "y": 1145.566665649414,\r
733         "z": "7a2c5977.5cc868",\r
734         "wires": []\r
735     },\r
736     {\r
737         "id": "a17dcb43.36654",\r
738         "type": "block",\r
739         "name": "block : atomic",\r
740         "xml": "<block atomic=\"true\">",\r
741         "atomic": "true",\r
742         "outputs": 1,\r
743         "x": 4618.566665649414,\r
744         "y": 1012.5666656494141,\r
745         "z": "7a2c5977.5cc868",\r
746         "wires": [\r
747             [\r
748                 "655303f9.8975f4",\r
749                 "9b0960f2.c7d238"\r
750             ]\r
751         ]\r
752     },\r
753     {\r
754         "id": "55939baf.cd26bc",\r
755         "type": "block",\r
756         "name": "block : atomic",\r
757         "xml": "<block atomic=\"true\">",\r
758         "atomic": "true",\r
759         "outputs": 1,\r
760         "x": 4608.566665649414,\r
761         "y": 1700.5665435791016,\r
762         "z": "7a2c5977.5cc868",\r
763         "wires": [\r
764             [\r
765                 "b454ce1a.9a4dd",\r
766                 "ee0171c8.01d89"\r
767             ]\r
768         ]\r
769     },\r
770     {\r
771         "id": "5175d7af.72a12",\r
772         "type": "block",\r
773         "name": "block : atomic",\r
774         "xml": "<block atomic=\"true\">",\r
775         "atomic": "true",\r
776         "outputs": 1,\r
777         "x": 5239.233169555664,\r
778         "y": 1890.566665649414,\r
779         "z": "7a2c5977.5cc868",\r
780         "wires": [\r
781             [\r
782                 "211166d6.cdaa9a",\r
783                 "47621f66.6345e",\r
784                 "f6c10bde.dea908",\r
785                 "6cfa339.cd5cfcc",\r
786                 "3ea9d16d.7e59be"\r
787             ]\r
788         ]\r
789     },\r
790     {\r
791         "id": "81d2e905.09274",\r
792         "type": "success",\r
793         "name": "success",\r
794         "xml": "<outcome value='success'>\n",\r
795         "comments": "",\r
796         "outputs": 1,\r
797         "x": 5066.566665649414,\r
798         "y": 1891.566665649414,\r
799         "z": "7a2c5977.5cc868",\r
800         "wires": [\r
801             [\r
802                 "5175d7af.72a12"\r
803             ]\r
804         ]\r
805     },\r
806     {\r
807         "id": "55a1f73d.5c93d8",\r
808         "type": "not-found",\r
809         "name": "not-found",\r
810         "xml": "<outcome value='not-found'>\n",\r
811         "comments": "",\r
812         "outputs": 1,\r
813         "x": 5076.057632446289,\r
814         "y": 1934.1407012939453,\r
815         "z": "7a2c5977.5cc868",\r
816         "wires": [\r
817             [\r
818                 "17672cb7.bdb783"\r
819             ]\r
820         ]\r
821     },\r
822     {\r
823         "id": "5050329c.16639c",\r
824         "type": "failure",\r
825         "name": "failure",\r
826         "xml": "<outcome value='failure'>\n",\r
827         "comments": "",\r
828         "outputs": 1,\r
829         "x": 5064.566665649414,\r
830         "y": 1980.566665649414,\r
831         "z": "7a2c5977.5cc868",\r
832         "wires": [\r
833             [\r
834                 "2763dbec.eed664"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "17672cb7.bdb783",\r
840         "type": "returnFailure",\r
841         "name": "return failure",\r
842         "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
843         "comments": "",\r
844         "x": 5229.629043579102,\r
845         "y": 1937.4264373779297,\r
846         "z": "7a2c5977.5cc868",\r
847         "wires": []\r
848     },\r
849     {\r
850         "id": "2763dbec.eed664",\r
851         "type": "returnFailure",\r
852         "name": "return failure",\r
853         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
854         "comments": "",\r
855         "x": 5233.566665649414,\r
856         "y": 1981.566665649414,\r
857         "z": "7a2c5977.5cc868",\r
858         "wires": []\r
859     },\r
860     {\r
861         "id": "633cbeb7.169858",\r
862         "type": "execute",\r
863         "name": "execute split tp-id to get pnf-name",\r
864         "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
865         "comments": "",\r
866         "outputs": 1,\r
867         "x": 5535.566665649414,\r
868         "y": 1038.566665649414,\r
869         "z": "7a2c5977.5cc868",\r
870         "wires": [\r
871             [\r
872                 "ecc11d6d.c862e",\r
873                 "365f4120.012e4e"\r
874             ]\r
875         ]\r
876     },\r
877     {\r
878         "id": "365f4120.012e4e",\r
879         "type": "failure",\r
880         "name": "success",\r
881         "xml": "<outcome value='success'>\n",\r
882         "comments": "",\r
883         "outputs": 1,\r
884         "x": 5758.566665649414,\r
885         "y": 993.5666656494141,\r
886         "z": "7a2c5977.5cc868",\r
887         "wires": [\r
888             [\r
889                 "ed0cfcb5.6f799"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "ecc11d6d.c862e",\r
895         "type": "failure",\r
896         "name": "failure",\r
897         "xml": "<outcome value='failure'>\n",\r
898         "comments": "",\r
899         "outputs": 1,\r
900         "x": 5760.566665649414,\r
901         "y": 1057.566665649414,\r
902         "z": "7a2c5977.5cc868",\r
903         "wires": [\r
904             [\r
905                 "15da62b1.5ec4c5"\r
906             ]\r
907         ]\r
908     },\r
909     {\r
910         "id": "477c6bc0.f92bb4",\r
911         "type": "set",\r
912         "name": "set ltpId",\r
913         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
914         "comments": "",\r
915         "x": 6093.566665649414,\r
916         "y": 948.5666656494141,\r
917         "z": "7a2c5977.5cc868",\r
918         "wires": []\r
919     },\r
920     {\r
921         "id": "15da62b1.5ec4c5",\r
922         "type": "returnFailure",\r
923         "name": "return failure",\r
924         "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
925         "comments": "",\r
926         "x": 5922.566665649414,\r
927         "y": 1053.566665649414,\r
928         "z": "7a2c5977.5cc868",\r
929         "wires": []\r
930     },\r
931     {\r
932         "id": "ed0cfcb5.6f799",\r
933         "type": "block",\r
934         "name": "block : atomic",\r
935         "xml": "<block atomic=\"true\">",\r
936         "atomic": "true",\r
937         "outputs": 1,\r
938         "x": 5923.566665649414,\r
939         "y": 990.5666656494141,\r
940         "z": "7a2c5977.5cc868",\r
941         "wires": [\r
942             [\r
943                 "af8cf87c.3e959",\r
944                 "477c6bc0.f92bb4"\r
945             ]\r
946         ]\r
947     },\r
948     {\r
949         "id": "af8cf87c.3e959",\r
950         "type": "set",\r
951         "name": "set pnf-name",\r
952         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
953         "comments": "",\r
954         "x": 6094.566665649414,\r
955         "y": 1056.566665649414,\r
956         "z": "7a2c5977.5cc868",\r
957         "wires": []\r
958     },\r
959     {\r
960         "id": "29511ba5.29d8ec",\r
961         "type": "comment",\r
962         "name": "TODO: FIXME",\r
963         "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
964         "comments": "",\r
965         "x": 6095.566665649414,\r
966         "y": 1005.5666656494141,\r
967         "z": "7a2c5977.5cc868",\r
968         "wires": []\r
969     },\r
970     {\r
971         "id": "bab31b18.59cf48",\r
972         "type": "execute",\r
973         "name": "execute UUID generator for connectivity domainA",\r
974         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
975         "comments": "",\r
976         "outputs": 1,\r
977         "x": 5582.566665649414,\r
978         "y": 1107.566665649414,\r
979         "z": "7a2c5977.5cc868",\r
980         "wires": [\r
981             []\r
982         ]\r
983     },\r
984     {\r
985         "id": "5ea2f33c.ca6484",\r
986         "type": "comment",\r
987         "name": "TODO: FIXME",\r
988         "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
989         "comments": "",\r
990         "x": 5471.566665649414,\r
991         "y": 1148.566665649414,\r
992         "z": "7a2c5977.5cc868",\r
993         "wires": []\r
994     },\r
995     {\r
996         "id": "211166d6.cdaa9a",\r
997         "type": "execute",\r
998         "name": "execute split tp-id to get pnf-name",\r
999         "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
1000         "comments": "",\r
1001         "outputs": 1,\r
1002         "x": 5525.566665649414,\r
1003         "y": 1894.5667877197266,\r
1004         "z": "7a2c5977.5cc868",\r
1005         "wires": [\r
1006             [\r
1007                 "cebb0d50.db953",\r
1008                 "688b6aa8.d1c6fc"\r
1009             ]\r
1010         ]\r
1011     },\r
1012     {\r
1013         "id": "688b6aa8.d1c6fc",\r
1014         "type": "failure",\r
1015         "name": "success",\r
1016         "xml": "<outcome value='success'>\n",\r
1017         "comments": "",\r
1018         "outputs": 1,\r
1019         "x": 5748.566665649414,\r
1020         "y": 1849.5667877197266,\r
1021         "z": "7a2c5977.5cc868",\r
1022         "wires": [\r
1023             [\r
1024                 "d72320d8.a0b208"\r
1025             ]\r
1026         ]\r
1027     },\r
1028     {\r
1029         "id": "cebb0d50.db953",\r
1030         "type": "failure",\r
1031         "name": "failure",\r
1032         "xml": "<outcome value='failure'>\n",\r
1033         "comments": "",\r
1034         "outputs": 1,\r
1035         "x": 5750.566665649414,\r
1036         "y": 1913.5667877197266,\r
1037         "z": "7a2c5977.5cc868",\r
1038         "wires": [\r
1039             [\r
1040                 "bbeb85e7.eaaa98"\r
1041             ]\r
1042         ]\r
1043     },\r
1044     {\r
1045         "id": "1350a764.a43111",\r
1046         "type": "set",\r
1047         "name": "set ltpId",\r
1048         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1049         "comments": "",\r
1050         "x": 6083.566665649414,\r
1051         "y": 1807.5667877197266,\r
1052         "z": "7a2c5977.5cc868",\r
1053         "wires": []\r
1054     },\r
1055     {\r
1056         "id": "bbeb85e7.eaaa98",\r
1057         "type": "returnFailure",\r
1058         "name": "return failure",\r
1059         "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
1060         "comments": "",\r
1061         "x": 5909.566665649414,\r
1062         "y": 1932.5667877197266,\r
1063         "z": "7a2c5977.5cc868",\r
1064         "wires": []\r
1065     },\r
1066     {\r
1067         "id": "d72320d8.a0b208",\r
1068         "type": "block",\r
1069         "name": "block : atomic",\r
1070         "xml": "<block atomic=\"true\">",\r
1071         "atomic": "true",\r
1072         "outputs": 1,\r
1073         "x": 5913.566665649414,\r
1074         "y": 1846.5667877197266,\r
1075         "z": "7a2c5977.5cc868",\r
1076         "wires": [\r
1077             [\r
1078                 "1350a764.a43111",\r
1079                 "56aea40d.d80c4c"\r
1080             ]\r
1081         ]\r
1082     },\r
1083     {\r
1084         "id": "56aea40d.d80c4c",\r
1085         "type": "set",\r
1086         "name": "set pnf-name",\r
1087         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1088         "comments": "",\r
1089         "x": 6084.566665649414,\r
1090         "y": 1912.5667877197266,\r
1091         "z": "7a2c5977.5cc868",\r
1092         "wires": []\r
1093     },\r
1094     {\r
1095         "id": "339b4703.86709",\r
1096         "type": "comment",\r
1097         "name": "TODO: FIXME",\r
1098         "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
1099         "comments": "",\r
1100         "x": 6079.566665649414,\r
1101         "y": 1861.5667877197266,\r
1102         "z": "7a2c5977.5cc868",\r
1103         "wires": []\r
1104     },\r
1105     {\r
1106         "id": "f6c10bde.dea908",\r
1107         "type": "save",\r
1108         "name": "save connectivity resource in AAI",\r
1109         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1110         "comments": "",\r
1111         "outputs": 1,\r
1112         "x": 5527.566665649414,\r
1113         "y": 2053.5667877197266,\r
1114         "z": "7a2c5977.5cc868",\r
1115         "wires": [\r
1116             []\r
1117         ]\r
1118     },\r
1119     {\r
1120         "id": "47621f66.6345e",\r
1121         "type": "execute",\r
1122         "name": "execute UUID generator for connectivity domainB",\r
1123         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1124         "comments": "",\r
1125         "outputs": 1,\r
1126         "x": 5572.566665649414,\r
1127         "y": 1963.5667877197266,\r
1128         "z": "7a2c5977.5cc868",\r
1129         "wires": [\r
1130             []\r
1131         ]\r
1132     },\r
1133     {\r
1134         "id": "62d8e003.5e65d8",\r
1135         "type": "comment",\r
1136         "name": "TODO: FIXME",\r
1137         "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
1138         "comments": "",\r
1139         "x": 5461.566665649414,\r
1140         "y": 2001.5667877197266,\r
1141         "z": "7a2c5977.5cc868",\r
1142         "wires": []\r
1143     },\r
1144     {\r
1145         "id": "6876f035.c2a16",\r
1146         "type": "call",\r
1147         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1148         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1149         "comments": "",\r
1150         "outputs": 1,\r
1151         "x": 4456.566665649414,\r
1152         "y": 2298.566665649414,\r
1153         "z": "7a2c5977.5cc868",\r
1154         "wires": [\r
1155             []\r
1156         ]\r
1157     },\r
1158     {\r
1159         "id": "f41eeb62.b3bcb",\r
1160         "type": "set",\r
1161         "name": "set attachment_param",\r
1162         "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
1163         "comments": "",\r
1164         "x": 4250.566665649414,\r
1165         "y": 2199.566665649414,\r
1166         "z": "7a2c5977.5cc868",\r
1167         "wires": []\r
1168     },\r
1169     {\r
1170         "id": "699e7317.6b96a4",\r
1171         "type": "comment",\r
1172         "name": "TODO: FIXME",\r
1173         "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
1174         "comments": "",\r
1175         "x": 4224.566665649414,\r
1176         "y": 2152.566665649414,\r
1177         "z": "7a2c5977.5cc868",\r
1178         "wires": []\r
1179     },\r
1180     {\r
1181         "id": "a317ded0.bb3c4",\r
1182         "type": "save",\r
1183         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1184         "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
1185         "comments": "",\r
1186         "outputs": 1,\r
1187         "x": 5665.566665649414,\r
1188         "y": 1245.566665649414,\r
1189         "z": "7a2c5977.5cc868",\r
1190         "wires": [\r
1191             []\r
1192         ]\r
1193     },\r
1194     {\r
1195         "id": "6cfa339.cd5cfcc",\r
1196         "type": "save",\r
1197         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1198         "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
1199         "comments": "",\r
1200         "outputs": 1,\r
1201         "x": 5654.566665649414,\r
1202         "y": 2118.5667877197266,\r
1203         "z": "7a2c5977.5cc868",\r
1204         "wires": [\r
1205             []\r
1206         ]\r
1207     },\r
1208     {\r
1209         "id": "c6a5d055.f8bb1",\r
1210         "type": "execute",\r
1211         "name": "get esr-thirdparty-sdnc",\r
1212         "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
1213         "comments": "",\r
1214         "outputs": 1,\r
1215         "x": 6709.566665649414,\r
1216         "y": 765.5666656494141,\r
1217         "z": "7a2c5977.5cc868",\r
1218         "wires": [\r
1219             [\r
1220                 "cd3a2dd3.05e5a8",\r
1221                 "1bf85ef.2838b21",\r
1222                 "420343c3.3589dc"\r
1223             ]\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "5fc7bb3c.8d1c74",\r
1228         "type": "block",\r
1229         "name": "block : atomic",\r
1230         "xml": "<block atomic=\"true\">",\r
1231         "atomic": "true",\r
1232         "outputs": 1,\r
1233         "x": 2596.566665649414,\r
1234         "y": 420.56666564941406,\r
1235         "z": "7a2c5977.5cc868",\r
1236         "wires": [\r
1237             [\r
1238                 "a84decbd.fa4a3"\r
1239             ]\r
1240         ]\r
1241     },\r
1242     {\r
1243         "id": "aeab2187.904e6",\r
1244         "type": "outcome",\r
1245         "name": "logical-link",\r
1246         "xml": "<outcome value='logical-link'>\n",\r
1247         "comments": "",\r
1248         "outputs": 1,\r
1249         "x": 993.5667877197266,\r
1250         "y": 815.5667877197266,\r
1251         "z": "7a2c5977.5cc868",\r
1252         "wires": [\r
1253             [\r
1254                 "d7c3541f.d6d0a"\r
1255             ]\r
1256         ]\r
1257     },\r
1258     {\r
1259         "id": "e7f6967b.1fb18",\r
1260         "type": "switchNode",\r
1261         "name": "switch allotted-resource.relationship-list not empty",\r
1262         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1263         "comments": "",\r
1264         "outputs": 1,\r
1265         "x": 2159.566665649414,\r
1266         "y": 514.5666656494141,\r
1267         "z": "7a2c5977.5cc868",\r
1268         "wires": [\r
1269             [\r
1270                 "e252c083.ada758",\r
1271                 "8a02442.5502738"\r
1272             ]\r
1273         ]\r
1274     },\r
1275     {\r
1276         "id": "8a02442.5502738",\r
1277         "type": "outcomeFalse",\r
1278         "name": "false",\r
1279         "xml": "<outcome value='false'>\n",\r
1280         "comments": "",\r
1281         "outputs": 1,\r
1282         "x": 2480.566665649414,\r
1283         "y": 496.56666564941406,\r
1284         "z": "7a2c5977.5cc868",\r
1285         "wires": [\r
1286             []\r
1287         ]\r
1288     },\r
1289     {\r
1290         "id": "e252c083.ada758",\r
1291         "type": "outcomeTrue",\r
1292         "name": "true",\r
1293         "xml": "<outcome value='true'>\n",\r
1294         "comments": "",\r
1295         "outputs": 1,\r
1296         "x": 2462.566665649414,\r
1297         "y": 594.5666656494141,\r
1298         "z": "7a2c5977.5cc868",\r
1299         "wires": [\r
1300             [\r
1301                 "2a9b5bea.92ec14"\r
1302             ]\r
1303         ]\r
1304     },\r
1305     {\r
1306         "id": "f770d866.8cfe48",\r
1307         "type": "set",\r
1308         "name": "set the current logical-link-name",\r
1309         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
1310         "comments": "",\r
1311         "x": 1416.566665649414,\r
1312         "y": 718.5666656494141,\r
1313         "z": "7a2c5977.5cc868",\r
1314         "wires": []\r
1315     },\r
1316     {\r
1317         "id": "d7c3541f.d6d0a",\r
1318         "type": "block",\r
1319         "name": "block : atomic",\r
1320         "xml": "<block atomic=\"true\">",\r
1321         "atomic": "true",\r
1322         "outputs": 1,\r
1323         "x": 1170.566665649414,\r
1324         "y": 808.5666656494141,\r
1325         "z": "7a2c5977.5cc868",\r
1326         "wires": [\r
1327             [\r
1328                 "f770d866.8cfe48",\r
1329                 "67e01b15.d67c64"\r
1330             ]\r
1331         ]\r
1332     },\r
1333     {\r
1334         "id": "2cea34fe.7ff014",\r
1335         "type": "comment",\r
1336         "name": "Question?",\r
1337         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1338         "comments": "",\r
1339         "x": 4798.566665649414,\r
1340         "y": 1017.5666656494141,\r
1341         "z": "7a2c5977.5cc868",\r
1342         "wires": []\r
1343     },\r
1344     {\r
1345         "id": "655303f9.8975f4",\r
1346         "type": "save",\r
1347         "name": "get p-interface-src from aai",\r
1348         "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
1349         "comments": "",\r
1350         "outputs": 1,\r
1351         "x": 4841.566665649414,\r
1352         "y": 1082.566665649414,\r
1353         "z": "7a2c5977.5cc868",\r
1354         "wires": [\r
1355             [\r
1356                 "316e9aaa.7c7b56",\r
1357                 "71d04631.299a38",\r
1358                 "ec19e5df.bfee3"\r
1359             ]\r
1360         ]\r
1361     },\r
1362     {\r
1363         "id": "b454ce1a.9a4dd",\r
1364         "type": "save",\r
1365         "name": "get p-interface-dst from aai",\r
1366         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.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
1367         "comments": "",\r
1368         "outputs": 1,\r
1369         "x": 4838.566665649414,\r
1370         "y": 1926.566665649414,\r
1371         "z": "7a2c5977.5cc868",\r
1372         "wires": [\r
1373             [\r
1374                 "81d2e905.09274",\r
1375                 "55a1f73d.5c93d8",\r
1376                 "5050329c.16639c"\r
1377             ]\r
1378         ]\r
1379     },\r
1380     {\r
1381         "id": "4cadce3c.fc3c8",\r
1382         "type": "comment",\r
1383         "name": "Question?",\r
1384         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1385         "comments": "",\r
1386         "x": 4799.566665649414,\r
1387         "y": 1870.566665649414,\r
1388         "z": "7a2c5977.5cc868",\r
1389         "wires": []\r
1390     },\r
1391     {\r
1392         "id": "a84decbd.fa4a3",\r
1393         "type": "save",\r
1394         "name": "get allotted-resource relationship from aai",\r
1395         "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
1396         "comments": "",\r
1397         "outputs": 1,\r
1398         "x": 2889.566665649414,\r
1399         "y": 367.56666564941406,\r
1400         "z": "7a2c5977.5cc868",\r
1401         "wires": [\r
1402             [\r
1403                 "139101d.c6544fe",\r
1404                 "39ec14f9.5d95cc",\r
1405                 "e120429c.bc5038"\r
1406             ]\r
1407         ]\r
1408     },\r
1409     {\r
1410         "id": "39ec14f9.5d95cc",\r
1411         "type": "not-found",\r
1412         "name": "not-found",\r
1413         "xml": "<outcome value='not-found'>\n",\r
1414         "comments": "",\r
1415         "outputs": 1,\r
1416         "x": 3163.057632446289,\r
1417         "y": 260.14064025878906,\r
1418         "z": "7a2c5977.5cc868",\r
1419         "wires": [\r
1420             [\r
1421                 "b220c2f2.2811f8"\r
1422             ]\r
1423         ]\r
1424     },\r
1425     {\r
1426         "id": "b220c2f2.2811f8",\r
1427         "type": "returnFailure",\r
1428         "name": "return failure",\r
1429         "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
1430         "comments": "",\r
1431         "x": 3340.629165649414,\r
1432         "y": 260.42640686035156,\r
1433         "z": "7a2c5977.5cc868",\r
1434         "wires": []\r
1435     },\r
1436     {\r
1437         "id": "e120429c.bc5038",\r
1438         "type": "failure",\r
1439         "name": "failure",\r
1440         "xml": "<outcome value='failure'>\n",\r
1441         "comments": "",\r
1442         "outputs": 1,\r
1443         "x": 3158.566665649414,\r
1444         "y": 309.56666564941406,\r
1445         "z": "7a2c5977.5cc868",\r
1446         "wires": [\r
1447             [\r
1448                 "b527f79c.27eb58"\r
1449             ]\r
1450         ]\r
1451     },\r
1452     {\r
1453         "id": "b527f79c.27eb58",\r
1454         "type": "returnFailure",\r
1455         "name": "return failure",\r
1456         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1457         "comments": "",\r
1458         "x": 3340.566665649414,\r
1459         "y": 309.56666564941406,\r
1460         "z": "7a2c5977.5cc868",\r
1461         "wires": []\r
1462     },\r
1463     {\r
1464         "id": "139101d.c6544fe",\r
1465         "type": "success",\r
1466         "name": "success",\r
1467         "xml": "<outcome value='success'>\n",\r
1468         "comments": "",\r
1469         "outputs": 1,\r
1470         "x": 3162.566665649414,\r
1471         "y": 360.56666564941406,\r
1472         "z": "7a2c5977.5cc868",\r
1473         "wires": [\r
1474             [\r
1475                 "5a7a1590.04f2a4"\r
1476             ]\r
1477         ]\r
1478     },\r
1479     {\r
1480         "id": "5a7a1590.04f2a4",\r
1481         "type": "block",\r
1482         "name": "block : atomic",\r
1483         "xml": "<block atomic=\"true\">",\r
1484         "atomic": "true",\r
1485         "outputs": 1,\r
1486         "x": 3342.566665649414,\r
1487         "y": 360.56666564941406,\r
1488         "z": "7a2c5977.5cc868",\r
1489         "wires": [\r
1490             [\r
1491                 "e7f6967b.1fb18"\r
1492             ]\r
1493         ]\r
1494     },\r
1495     {\r
1496         "id": "868ff940.3c40b8",\r
1497         "type": "for",\r
1498         "name": "for each allotted-resource relationship",\r
1499         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1500         "comments": "",\r
1501         "outputs": 1,\r
1502         "x": 768.5666656494141,\r
1503         "y": 744.5666656494141,\r
1504         "z": "7a2c5977.5cc868",\r
1505         "wires": [\r
1506             [\r
1507                 "53465e88.bf1338"\r
1508             ]\r
1509         ]\r
1510     },\r
1511     {\r
1512         "id": "53465e88.bf1338",\r
1513         "type": "switchNode",\r
1514         "name": "switch related-to",\r
1515         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1516         "comments": "",\r
1517         "outputs": 1,\r
1518         "x": 1039.566665649414,\r
1519         "y": 740.5666656494141,\r
1520         "z": "7a2c5977.5cc868",\r
1521         "wires": [\r
1522             [\r
1523                 "aeab2187.904e6"\r
1524             ]\r
1525         ]\r
1526     },\r
1527     {\r
1528         "id": "2acc7de6.ba44da",\r
1529         "type": "outcome",\r
1530         "name": "network-policy",\r
1531         "xml": "<outcome value='network-policy'>\n",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 3318.566665649414,\r
1535         "y": 558.5666656494141,\r
1536         "z": "7a2c5977.5cc868",\r
1537         "wires": [\r
1538             [\r
1539                 "1ba0c2fe.530a7d"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "1ba0c2fe.530a7d",\r
1545         "type": "block",\r
1546         "name": "block : atomic",\r
1547         "xml": "<block atomic=\"true\">",\r
1548         "atomic": "true",\r
1549         "outputs": 1,\r
1550         "x": 3495.5665435791016,\r
1551         "y": 551.5665435791016,\r
1552         "z": "7a2c5977.5cc868",\r
1553         "wires": [\r
1554             [\r
1555                 "36b4ef1.f78561",\r
1556                 "689094f0.f3db04"\r
1557             ]\r
1558         ]\r
1559     },\r
1560     {\r
1561         "id": "36b4ef1.f78561",\r
1562         "type": "set",\r
1563         "name": "set the 1st network-policy-id",\r
1564         "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
1565         "comments": "",\r
1566         "x": 3738.5665435791016,\r
1567         "y": 508.56654357910156,\r
1568         "z": "7a2c5977.5cc868",\r
1569         "wires": []\r
1570     },\r
1571     {\r
1572         "id": "689094f0.f3db04",\r
1573         "type": "save",\r
1574         "name": "get network-policy from aai",\r
1575         "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
1576         "comments": "",\r
1577         "outputs": 1,\r
1578         "x": 3727.5665435791016,\r
1579         "y": 563.5665435791016,\r
1580         "z": "7a2c5977.5cc868",\r
1581         "wires": [\r
1582             [\r
1583                 "e75fbbb3.7fba2",\r
1584                 "2fda6ca1.8207e4",\r
1585                 "df158bbf.d20168"\r
1586             ]\r
1587         ]\r
1588     },\r
1589     {\r
1590         "id": "df158bbf.d20168",\r
1591         "type": "not-found",\r
1592         "name": "not-found",\r
1593         "xml": "<outcome value='not-found'>\n",\r
1594         "comments": "",\r
1595         "outputs": 1,\r
1596         "x": 3980.566665649414,\r
1597         "y": 449.56666564941406,\r
1598         "z": "7a2c5977.5cc868",\r
1599         "wires": [\r
1600             [\r
1601                 "528123.112cfedc"\r
1602             ]\r
1603         ]\r
1604     },\r
1605     {\r
1606         "id": "528123.112cfedc",\r
1607         "type": "returnFailure",\r
1608         "name": "return failure",\r
1609         "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
1610         "comments": "",\r
1611         "x": 4129.138198852539,\r
1612         "y": 449.85243225097656,\r
1613         "z": "7a2c5977.5cc868",\r
1614         "wires": []\r
1615     },\r
1616     {\r
1617         "id": "401b1dd2.2d0c84",\r
1618         "type": "returnFailure",\r
1619         "name": "return failure",\r
1620         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1621         "comments": "",\r
1622         "x": 4128.075698852539,\r
1623         "y": 493.99269104003906,\r
1624         "z": "7a2c5977.5cc868",\r
1625         "wires": []\r
1626     },\r
1627     {\r
1628         "id": "2fda6ca1.8207e4",\r
1629         "type": "failure",\r
1630         "name": "failure",\r
1631         "xml": "<outcome value='failure'>\n",\r
1632         "comments": "",\r
1633         "outputs": 1,\r
1634         "x": 3969.075698852539,\r
1635         "y": 493.99269104003906,\r
1636         "z": "7a2c5977.5cc868",\r
1637         "wires": [\r
1638             [\r
1639                 "401b1dd2.2d0c84"\r
1640             ]\r
1641         ]\r
1642     },\r
1643     {\r
1644         "id": "e75fbbb3.7fba2",\r
1645         "type": "success",\r
1646         "name": "success",\r
1647         "xml": "<outcome value='success'>\n",\r
1648         "comments": "",\r
1649         "outputs": 1,\r
1650         "x": 3976.075698852539,\r
1651         "y": 572.9926910400391,\r
1652         "z": "7a2c5977.5cc868",\r
1653         "wires": [\r
1654             [\r
1655                 "29685226.26d7b6"\r
1656             ]\r
1657         ]\r
1658     },\r
1659     {\r
1660         "id": "29685226.26d7b6",\r
1661         "type": "block",\r
1662         "name": "block",\r
1663         "xml": "<block>\n",\r
1664         "atomic": "false",\r
1665         "comments": "",\r
1666         "outputs": 1,\r
1667         "x": 4115.075698852539,\r
1668         "y": 572.9926910400391,\r
1669         "z": "7a2c5977.5cc868",\r
1670         "wires": [\r
1671             [\r
1672                 "b7f6ee59.c1f0a",\r
1673                 "4f4b77bb.effd9"\r
1674             ]\r
1675         ]\r
1676     },\r
1677     {\r
1678         "id": "b7f6ee59.c1f0a",\r
1679         "type": "set",\r
1680         "name": "set the max bandwidth",\r
1681         "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
1682         "comments": "",\r
1683         "x": 4320.566665649414,\r
1684         "y": 570.5666656494141,\r
1685         "z": "7a2c5977.5cc868",\r
1686         "wires": []\r
1687     },\r
1688     {\r
1689         "id": "9b0960f2.c7d238",\r
1690         "type": "execute",\r
1691         "name": "execute split tp-id to get pnf-name",\r
1692         "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
1693         "comments": "",\r
1694         "outputs": 1,\r
1695         "x": 4842.566665649414,\r
1696         "y": 752.5666656494141,\r
1697         "z": "7a2c5977.5cc868",\r
1698         "wires": [\r
1699             [\r
1700                 "94c0e823.bd83",\r
1701                 "b5a5d52e.8f7da8"\r
1702             ]\r
1703         ]\r
1704     },\r
1705     {\r
1706         "id": "b5a5d52e.8f7da8",\r
1707         "type": "failure",\r
1708         "name": "success",\r
1709         "xml": "<outcome value='success'>\n",\r
1710         "comments": "",\r
1711         "outputs": 1,\r
1712         "x": 5065.566665649414,\r
1713         "y": 738.5666656494141,\r
1714         "z": "7a2c5977.5cc868",\r
1715         "wires": [\r
1716             [\r
1717                 "d2c19564.10c95"\r
1718             ]\r
1719         ]\r
1720     },\r
1721     {\r
1722         "id": "94c0e823.bd83",\r
1723         "type": "failure",\r
1724         "name": "failure",\r
1725         "xml": "<outcome value='failure'>\n",\r
1726         "comments": "",\r
1727         "outputs": 1,\r
1728         "x": 5067.566665649414,\r
1729         "y": 771.5666656494141,\r
1730         "z": "7a2c5977.5cc868",\r
1731         "wires": [\r
1732             [\r
1733                 "77422c58.e2ca74"\r
1734             ]\r
1735         ]\r
1736     },\r
1737     {\r
1738         "id": "77422c58.e2ca74",\r
1739         "type": "returnFailure",\r
1740         "name": "return failure",\r
1741         "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
1742         "comments": "",\r
1743         "x": 5210.566665649414,\r
1744         "y": 768.5666656494141,\r
1745         "z": "7a2c5977.5cc868",\r
1746         "wires": []\r
1747     },\r
1748     {\r
1749         "id": "d2c19564.10c95",\r
1750         "type": "block",\r
1751         "name": "block : atomic",\r
1752         "xml": "<block atomic=\"true\">",\r
1753         "atomic": "true",\r
1754         "outputs": 1,\r
1755         "x": 5213.566665649414,\r
1756         "y": 731.5666656494141,\r
1757         "z": "7a2c5977.5cc868",\r
1758         "wires": [\r
1759             [\r
1760                 "86b3b06a.5fafe8",\r
1761                 "532eff46.9b467"\r
1762             ]\r
1763         ]\r
1764     },\r
1765     {\r
1766         "id": "86b3b06a.5fafe8",\r
1767         "type": "set",\r
1768         "name": "set pnf-name",\r
1769         "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
1770         "comments": "",\r
1771         "x": 5375.566665649414,\r
1772         "y": 726.5666656494141,\r
1773         "z": "7a2c5977.5cc868",\r
1774         "wires": []\r
1775     },\r
1776     {\r
1777         "id": "ee0171c8.01d89",\r
1778         "type": "execute",\r
1779         "name": "execute split tp-id to get pnf-name",\r
1780         "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
1781         "comments": "",\r
1782         "outputs": 1,\r
1783         "x": 4856.566665649414,\r
1784         "y": 1589.5665435791016,\r
1785         "z": "7a2c5977.5cc868",\r
1786         "wires": [\r
1787             [\r
1788                 "35d69142.81ac16",\r
1789                 "31d8fff7.b254e"\r
1790             ]\r
1791         ]\r
1792     },\r
1793     {\r
1794         "id": "31d8fff7.b254e",\r
1795         "type": "failure",\r
1796         "name": "success",\r
1797         "xml": "<outcome value='success'>\n",\r
1798         "comments": "",\r
1799         "outputs": 1,\r
1800         "x": 5079.566665649414,\r
1801         "y": 1575.5665435791016,\r
1802         "z": "7a2c5977.5cc868",\r
1803         "wires": [\r
1804             [\r
1805                 "3036014d.a3b5f6"\r
1806             ]\r
1807         ]\r
1808     },\r
1809     {\r
1810         "id": "35d69142.81ac16",\r
1811         "type": "failure",\r
1812         "name": "failure",\r
1813         "xml": "<outcome value='failure'>\n",\r
1814         "comments": "",\r
1815         "outputs": 1,\r
1816         "x": 5081.566665649414,\r
1817         "y": 1608.5665435791016,\r
1818         "z": "7a2c5977.5cc868",\r
1819         "wires": [\r
1820             [\r
1821                 "58956fb.abac91"\r
1822             ]\r
1823         ]\r
1824     },\r
1825     {\r
1826         "id": "58956fb.abac91",\r
1827         "type": "returnFailure",\r
1828         "name": "return failure",\r
1829         "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
1830         "comments": "",\r
1831         "x": 5224.566665649414,\r
1832         "y": 1605.5665435791016,\r
1833         "z": "7a2c5977.5cc868",\r
1834         "wires": []\r
1835     },\r
1836     {\r
1837         "id": "3036014d.a3b5f6",\r
1838         "type": "block",\r
1839         "name": "block : atomic",\r
1840         "xml": "<block atomic=\"true\">",\r
1841         "atomic": "true",\r
1842         "outputs": 1,\r
1843         "x": 5227.566665649414,\r
1844         "y": 1568.5665435791016,\r
1845         "z": "7a2c5977.5cc868",\r
1846         "wires": [\r
1847             [\r
1848                 "ad167193.a62748",\r
1849                 "3753ad56.c9003a"\r
1850             ]\r
1851         ]\r
1852     },\r
1853     {\r
1854         "id": "ad167193.a62748",\r
1855         "type": "set",\r
1856         "name": "set pnf-name",\r
1857         "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
1858         "comments": "",\r
1859         "x": 5421.566665649414,\r
1860         "y": 1571.566665649414,\r
1861         "z": "7a2c5977.5cc868",\r
1862         "wires": []\r
1863     },\r
1864     {\r
1865         "id": "1f3c8c44.a01cfc",\r
1866         "type": "execute",\r
1867         "name": "execute properties",\r
1868         "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
1869         "comments": "",\r
1870         "outputs": 1,\r
1871         "x": 1019.5666656494141,\r
1872         "y": 275.56666564941406,\r
1873         "z": "7a2c5977.5cc868",\r
1874         "wires": [\r
1875             []\r
1876         ]\r
1877     },\r
1878     {\r
1879         "id": "ab06c276.223ba8",\r
1880         "type": "for",\r
1881         "name": "for each relationship",\r
1882         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1883         "comments": "",\r
1884         "outputs": 1,\r
1885         "x": 5489.566665649414,\r
1886         "y": 1322.566665649414,\r
1887         "z": "7a2c5977.5cc868",\r
1888         "wires": [\r
1889             [\r
1890                 "ea9f29c0.504f38"\r
1891             ]\r
1892         ]\r
1893     },\r
1894     {\r
1895         "id": "ea9f29c0.504f38",\r
1896         "type": "switchNode",\r
1897         "name": "switch related-to",\r
1898         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1899         "comments": "",\r
1900         "outputs": 1,\r
1901         "x": 5695.566665649414,\r
1902         "y": 1322.566665649414,\r
1903         "z": "7a2c5977.5cc868",\r
1904         "wires": [\r
1905             [\r
1906                 "f9452712.6e7898"\r
1907             ]\r
1908         ]\r
1909     },\r
1910     {\r
1911         "id": "f9452712.6e7898",\r
1912         "type": "outcome",\r
1913         "name": "tunnel-termination-point",\r
1914         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1915         "comments": "",\r
1916         "outputs": 1,\r
1917         "x": 5910.852310180664,\r
1918         "y": 1322.388442993164,\r
1919         "z": "7a2c5977.5cc868",\r
1920         "wires": [\r
1921             [\r
1922                 "2ef61702.ff9d28"\r
1923             ]\r
1924         ]\r
1925     },\r
1926     {\r
1927         "id": "2ef61702.ff9d28",\r
1928         "type": "block",\r
1929         "name": "block : atomic",\r
1930         "xml": "<block atomic=\"true\">",\r
1931         "atomic": "true",\r
1932         "outputs": 1,\r
1933         "x": 6117.683853149414,\r
1934         "y": 1322.906997680664,\r
1935         "z": "7a2c5977.5cc868",\r
1936         "wires": [\r
1937             [\r
1938                 "ad35cc1f.1df8c8",\r
1939                 "fdae5377.6e0e68",\r
1940                 "3c7c23ae.86ecbc"\r
1941             ]\r
1942         ]\r
1943     },\r
1944     {\r
1945         "id": "ad35cc1f.1df8c8",\r
1946         "type": "set",\r
1947         "name": "set source ttp-id",\r
1948         "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
1949         "comments": "",\r
1950         "x": 6332.683853149414,\r
1951         "y": 1284.906997680664,\r
1952         "z": "7a2c5977.5cc868",\r
1953         "wires": []\r
1954     },\r
1955     {\r
1956         "id": "fdae5377.6e0e68",\r
1957         "type": "get-resource",\r
1958         "name": "get-resource src TTP",\r
1959         "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
1960         "comments": "",\r
1961         "outputs": 1,\r
1962         "x": 6329.683853149414,\r
1963         "y": 1323.906997680664,\r
1964         "z": "7a2c5977.5cc868",\r
1965         "wires": [\r
1966             [\r
1967                 "fb285ef7.1b4a58"\r
1968             ]\r
1969         ]\r
1970     },\r
1971     {\r
1972         "id": "3c7c23ae.86ecbc",\r
1973         "type": "break",\r
1974         "name": "break",\r
1975         "xml": "<break>\n",\r
1976         "comments": "",\r
1977         "x": 6285.183853149414,\r
1978         "y": 1365.906997680664,\r
1979         "z": "7a2c5977.5cc868",\r
1980         "wires": []\r
1981     },\r
1982     {\r
1983         "id": "fb285ef7.1b4a58",\r
1984         "type": "success",\r
1985         "name": "success",\r
1986         "xml": "<outcome value='success'>\n",\r
1987         "comments": "",\r
1988         "outputs": 1,\r
1989         "x": 6510.183853149414,\r
1990         "y": 1322.906997680664,\r
1991         "z": "7a2c5977.5cc868",\r
1992         "wires": [\r
1993             [\r
1994                 "e8c4036a.c50bb8"\r
1995             ]\r
1996         ]\r
1997     },\r
1998     {\r
1999         "id": "e8c4036a.c50bb8",\r
2000         "type": "block",\r
2001         "name": "block : atomic",\r
2002         "xml": "<block atomic=\"true\">",\r
2003         "atomic": "true",\r
2004         "outputs": 1,\r
2005         "x": 6668.183853149414,\r
2006         "y": 1322.906997680664,\r
2007         "z": "7a2c5977.5cc868",\r
2008         "wires": [\r
2009             [\r
2010                 "5ff1493f.72bdd"\r
2011             ]\r
2012         ]\r
2013     },\r
2014     {\r
2015         "id": "5ff1493f.72bdd",\r
2016         "type": "set",\r
2017         "name": "set source tunnel tp ip",\r
2018         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2019         "comments": "",\r
2020         "x": 6875.183853149414,\r
2021         "y": 1322.906997680664,\r
2022         "z": "7a2c5977.5cc868",\r
2023         "wires": []\r
2024     },\r
2025     {\r
2026         "id": "3ea9d16d.7e59be",\r
2027         "type": "for",\r
2028         "name": "for each relationship",\r
2029         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2030         "comments": "",\r
2031         "outputs": 1,\r
2032         "x": 5486.566665649414,\r
2033         "y": 2191.5667877197266,\r
2034         "z": "7a2c5977.5cc868",\r
2035         "wires": [\r
2036             [\r
2037                 "bfbafb18.47d55"\r
2038             ]\r
2039         ]\r
2040     },\r
2041     {\r
2042         "id": "bfbafb18.47d55",\r
2043         "type": "switchNode",\r
2044         "name": "switch related-to",\r
2045         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2046         "comments": "",\r
2047         "outputs": 1,\r
2048         "x": 5692.566665649414,\r
2049         "y": 2191.5667877197266,\r
2050         "z": "7a2c5977.5cc868",\r
2051         "wires": [\r
2052             [\r
2053                 "4b1bcb13.657274"\r
2054             ]\r
2055         ]\r
2056     },\r
2057     {\r
2058         "id": "4b1bcb13.657274",\r
2059         "type": "outcome",\r
2060         "name": "tunnel-termination-point",\r
2061         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2062         "comments": "",\r
2063         "outputs": 1,\r
2064         "x": 5907.852310180664,\r
2065         "y": 2191.3885650634766,\r
2066         "z": "7a2c5977.5cc868",\r
2067         "wires": [\r
2068             [\r
2069                 "25238122.c9549e"\r
2070             ]\r
2071         ]\r
2072     },\r
2073     {\r
2074         "id": "25238122.c9549e",\r
2075         "type": "block",\r
2076         "name": "block : atomic",\r
2077         "xml": "<block atomic=\"true\">",\r
2078         "atomic": "true",\r
2079         "outputs": 1,\r
2080         "x": 6114.683853149414,\r
2081         "y": 2191.9071197509766,\r
2082         "z": "7a2c5977.5cc868",\r
2083         "wires": [\r
2084             [\r
2085                 "3cddf86c.952478",\r
2086                 "82ecbff8.c2935",\r
2087                 "7c6dea89.5156fc"\r
2088             ]\r
2089         ]\r
2090     },\r
2091     {\r
2092         "id": "3cddf86c.952478",\r
2093         "type": "set",\r
2094         "name": "set destination ttp-id",\r
2095         "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
2096         "comments": "",\r
2097         "x": 6329.683853149414,\r
2098         "y": 2153.9071197509766,\r
2099         "z": "7a2c5977.5cc868",\r
2100         "wires": []\r
2101     },\r
2102     {\r
2103         "id": "82ecbff8.c2935",\r
2104         "type": "get-resource",\r
2105         "name": "get-resource src TTP",\r
2106         "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
2107         "comments": "",\r
2108         "outputs": 1,\r
2109         "x": 6326.683853149414,\r
2110         "y": 2192.9071197509766,\r
2111         "z": "7a2c5977.5cc868",\r
2112         "wires": [\r
2113             [\r
2114                 "f35bec69.fa6618"\r
2115             ]\r
2116         ]\r
2117     },\r
2118     {\r
2119         "id": "7c6dea89.5156fc",\r
2120         "type": "break",\r
2121         "name": "break",\r
2122         "xml": "<break>\n",\r
2123         "comments": "",\r
2124         "x": 6282.183853149414,\r
2125         "y": 2234.9071197509766,\r
2126         "z": "7a2c5977.5cc868",\r
2127         "wires": []\r
2128     },\r
2129     {\r
2130         "id": "f35bec69.fa6618",\r
2131         "type": "success",\r
2132         "name": "success",\r
2133         "xml": "<outcome value='success'>\n",\r
2134         "comments": "",\r
2135         "outputs": 1,\r
2136         "x": 6507.183853149414,\r
2137         "y": 2191.9071197509766,\r
2138         "z": "7a2c5977.5cc868",\r
2139         "wires": [\r
2140             [\r
2141                 "bca90be9.eb3b4"\r
2142             ]\r
2143         ]\r
2144     },\r
2145     {\r
2146         "id": "bca90be9.eb3b4",\r
2147         "type": "block",\r
2148         "name": "block : atomic",\r
2149         "xml": "<block atomic=\"true\">",\r
2150         "atomic": "true",\r
2151         "outputs": 1,\r
2152         "x": 6665.183853149414,\r
2153         "y": 2191.9071197509766,\r
2154         "z": "7a2c5977.5cc868",\r
2155         "wires": [\r
2156             [\r
2157                 "cc4e410.f7e474"\r
2158             ]\r
2159         ]\r
2160     },\r
2161     {\r
2162         "id": "cc4e410.f7e474",\r
2163         "type": "set",\r
2164         "name": "set destination tunnel tp ip",\r
2165         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2166         "comments": "",\r
2167         "x": 6872.183853149414,\r
2168         "y": 2191.9071197509766,\r
2169         "z": "7a2c5977.5cc868",\r
2170         "wires": []\r
2171     },\r
2172     {\r
2173         "id": "532eff46.9b467",\r
2174         "type": "get-resource",\r
2175         "name": "get-resource src pnf",\r
2176         "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
2177         "comments": "",\r
2178         "outputs": 1,\r
2179         "x": 5402.566665649414,\r
2180         "y": 798.5666656494141,\r
2181         "z": "7a2c5977.5cc868",\r
2182         "wires": [\r
2183             [\r
2184                 "cfac27d1.f56fb",\r
2185                 "98843042.abae5",\r
2186                 "ad4bc4fb.4375a8"\r
2187             ]\r
2188         ]\r
2189     },\r
2190     {\r
2191         "id": "cfac27d1.f56fb",\r
2192         "type": "success",\r
2193         "name": "success",\r
2194         "xml": "<outcome value='success'>\n",\r
2195         "comments": "",\r
2196         "outputs": 1,\r
2197         "x": 5598.066787719727,\r
2198         "y": 750.5666656494141,\r
2199         "z": "7a2c5977.5cc868",\r
2200         "wires": [\r
2201             [\r
2202                 "42953eb.d2e8cc"\r
2203             ]\r
2204         ]\r
2205     },\r
2206     {\r
2207         "id": "98843042.abae5",\r
2208         "type": "not-found",\r
2209         "name": "not-found",\r
2210         "xml": "<outcome value='not-found'>\n",\r
2211         "comments": "",\r
2212         "outputs": 1,\r
2213         "x": 5590.066787719727,\r
2214         "y": 805.5666656494141,\r
2215         "z": "7a2c5977.5cc868",\r
2216         "wires": [\r
2217             [\r
2218                 "b64afde.27ba6"\r
2219             ]\r
2220         ]\r
2221     },\r
2222     {\r
2223         "id": "ad4bc4fb.4375a8",\r
2224         "type": "other",\r
2225         "name": "other",\r
2226         "xml": "<outcome value='Other'>\n",\r
2227         "comments": "",\r
2228         "outputs": 1,\r
2229         "x": 5595.066787719727,\r
2230         "y": 862.5666656494141,\r
2231         "z": "7a2c5977.5cc868",\r
2232         "wires": [\r
2233             [\r
2234                 "36f7d7a0.66c5f"\r
2235             ]\r
2236         ]\r
2237     },\r
2238     {\r
2239         "id": "36f7d7a0.66c5f",\r
2240         "type": "returnFailure",\r
2241         "name": "return failure",\r
2242         "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
2243         "comments": "",\r
2244         "x": 5747.066787719727,\r
2245         "y": 863.5666656494141,\r
2246         "z": "7a2c5977.5cc868",\r
2247         "wires": []\r
2248     },\r
2249     {\r
2250         "id": "b64afde.27ba6",\r
2251         "type": "returnFailure",\r
2252         "name": "return failure",\r
2253         "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
2254         "comments": "",\r
2255         "x": 5758.066787719727,\r
2256         "y": 808.5666656494141,\r
2257         "z": "7a2c5977.5cc868",\r
2258         "wires": []\r
2259     },\r
2260     {\r
2261         "id": "42953eb.d2e8cc",\r
2262         "type": "block",\r
2263         "name": "block",\r
2264         "xml": "<block>\n",\r
2265         "atomic": "false",\r
2266         "comments": "",\r
2267         "outputs": 1,\r
2268         "x": 5742.449111938477,\r
2269         "y": 748.2223358154297,\r
2270         "z": "7a2c5977.5cc868",\r
2271         "wires": [\r
2272             [\r
2273                 "4bb018ae.9365f"\r
2274             ]\r
2275         ]\r
2276     },\r
2277     {\r
2278         "id": "12009159.0799bf",\r
2279         "type": "outcome",\r
2280         "name": "esr-thirdparty-sdnc",\r
2281         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2282         "comments": "",\r
2283         "outputs": 1,\r
2284         "x": 6324.566665649414,\r
2285         "y": 766.5666656494141,\r
2286         "z": "7a2c5977.5cc868",\r
2287         "wires": [\r
2288             [\r
2289                 "2ed9d78.0097928"\r
2290             ]\r
2291         ]\r
2292     },\r
2293     {\r
2294         "id": "2ed9d78.0097928",\r
2295         "type": "block",\r
2296         "name": "block : atomic",\r
2297         "xml": "<block atomic=\"true\">",\r
2298         "atomic": "true",\r
2299         "outputs": 1,\r
2300         "x": 6501.566665649414,\r
2301         "y": 758.5666656494141,\r
2302         "z": "7a2c5977.5cc868",\r
2303         "wires": [\r
2304             [\r
2305                 "63498f0d.93d68",\r
2306                 "c6a5d055.f8bb1"\r
2307             ]\r
2308         ]\r
2309     },\r
2310     {\r
2311         "id": "4bb018ae.9365f",\r
2312         "type": "for",\r
2313         "name": "for each relationship",\r
2314         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2315         "comments": "",\r
2316         "outputs": 1,\r
2317         "x": 5926.566665649414,\r
2318         "y": 762.5666656494141,\r
2319         "z": "7a2c5977.5cc868",\r
2320         "wires": [\r
2321             [\r
2322                 "4e52f1e.bbcdb1"\r
2323             ]\r
2324         ]\r
2325     },\r
2326     {\r
2327         "id": "4e52f1e.bbcdb1",\r
2328         "type": "switchNode",\r
2329         "name": "switch related-to",\r
2330         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2331         "comments": "",\r
2332         "outputs": 1,\r
2333         "x": 6121.566665649414,\r
2334         "y": 762.5666656494141,\r
2335         "z": "7a2c5977.5cc868",\r
2336         "wires": [\r
2337             [\r
2338                 "12009159.0799bf",\r
2339                 "66f34217.bc91ec"\r
2340             ]\r
2341         ]\r
2342     },\r
2343     {\r
2344         "id": "63498f0d.93d68",\r
2345         "type": "set",\r
2346         "name": "set esr-thirdparty-sdnc domainA id",\r
2347         "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
2348         "comments": "",\r
2349         "x": 6739.566665649414,\r
2350         "y": 713.5666656494141,\r
2351         "z": "7a2c5977.5cc868",\r
2352         "wires": []\r
2353     },\r
2354     {\r
2355         "id": "cd3a2dd3.05e5a8",\r
2356         "type": "success",\r
2357         "name": "success",\r
2358         "xml": "<outcome value='success'>\n",\r
2359         "comments": "",\r
2360         "outputs": 1,\r
2361         "x": 6919.566665649414,\r
2362         "y": 756.5666656494141,\r
2363         "z": "7a2c5977.5cc868",\r
2364         "wires": [\r
2365             [\r
2366                 "b3c8e8eb.ab9658"\r
2367             ]\r
2368         ]\r
2369     },\r
2370     {\r
2371         "id": "1bf85ef.2838b21",\r
2372         "type": "not-found",\r
2373         "name": "not-found",\r
2374         "xml": "<outcome value='not-found'>\n",\r
2375         "comments": "",\r
2376         "outputs": 1,\r
2377         "x": 6911.566665649414,\r
2378         "y": 811.5666656494141,\r
2379         "z": "7a2c5977.5cc868",\r
2380         "wires": [\r
2381             [\r
2382                 "f4a0a941.e6174"\r
2383             ]\r
2384         ]\r
2385     },\r
2386     {\r
2387         "id": "420343c3.3589dc",\r
2388         "type": "other",\r
2389         "name": "other",\r
2390         "xml": "<outcome value='Other'>\n",\r
2391         "comments": "",\r
2392         "outputs": 1,\r
2393         "x": 6916.566665649414,\r
2394         "y": 868.5666656494141,\r
2395         "z": "7a2c5977.5cc868",\r
2396         "wires": [\r
2397             [\r
2398                 "57b6c192.31833"\r
2399             ]\r
2400         ]\r
2401     },\r
2402     {\r
2403         "id": "57b6c192.31833",\r
2404         "type": "returnFailure",\r
2405         "name": "return failure",\r
2406         "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
2407         "comments": "",\r
2408         "x": 7068.566665649414,\r
2409         "y": 869.5666656494141,\r
2410         "z": "7a2c5977.5cc868",\r
2411         "wires": []\r
2412     },\r
2413     {\r
2414         "id": "f4a0a941.e6174",\r
2415         "type": "returnFailure",\r
2416         "name": "return failure",\r
2417         "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
2418         "comments": "",\r
2419         "x": 7079.566665649414,\r
2420         "y": 814.5666656494141,\r
2421         "z": "7a2c5977.5cc868",\r
2422         "wires": []\r
2423     },\r
2424     {\r
2425         "id": "b3c8e8eb.ab9658",\r
2426         "type": "block",\r
2427         "name": "block",\r
2428         "xml": "<block>\n",\r
2429         "atomic": "false",\r
2430         "comments": "",\r
2431         "outputs": 1,\r
2432         "x": 7063.948989868164,\r
2433         "y": 754.2223358154297,\r
2434         "z": "7a2c5977.5cc868",\r
2435         "wires": [\r
2436             [\r
2437                 "a03bd3df.8ec05"\r
2438             ]\r
2439         ]\r
2440     },\r
2441     {\r
2442         "id": "a03bd3df.8ec05",\r
2443         "type": "set",\r
2444         "name": "set controller domainA data",\r
2445         "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
2446         "comments": "",\r
2447         "x": 7278.566665649414,\r
2448         "y": 750.5666656494141,\r
2449         "z": "7a2c5977.5cc868",\r
2450         "wires": []\r
2451     },\r
2452     {\r
2453         "id": "3753ad56.c9003a",\r
2454         "type": "get-resource",\r
2455         "name": "get-resource src pnf",\r
2456         "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
2457         "comments": "",\r
2458         "outputs": 1,\r
2459         "x": 5443.566665649414,\r
2460         "y": 1639.566665649414,\r
2461         "z": "7a2c5977.5cc868",\r
2462         "wires": [\r
2463             [\r
2464                 "a7301f2a.402338",\r
2465                 "5484e700.5c89d",\r
2466                 "215a5bb9.bd15a4"\r
2467             ]\r
2468         ]\r
2469     },\r
2470     {\r
2471         "id": "a7301f2a.402338",\r
2472         "type": "success",\r
2473         "name": "success",\r
2474         "xml": "<outcome value='success'>\n",\r
2475         "comments": "",\r
2476         "outputs": 1,\r
2477         "x": 5639.066787719727,\r
2478         "y": 1591.566665649414,\r
2479         "z": "7a2c5977.5cc868",\r
2480         "wires": [\r
2481             [\r
2482                 "7fc657c9.5c7cc8"\r
2483             ]\r
2484         ]\r
2485     },\r
2486     {\r
2487         "id": "5484e700.5c89d",\r
2488         "type": "not-found",\r
2489         "name": "not-found",\r
2490         "xml": "<outcome value='not-found'>\n",\r
2491         "comments": "",\r
2492         "outputs": 1,\r
2493         "x": 5631.066787719727,\r
2494         "y": 1646.566665649414,\r
2495         "z": "7a2c5977.5cc868",\r
2496         "wires": [\r
2497             [\r
2498                 "474d315c.5dded"\r
2499             ]\r
2500         ]\r
2501     },\r
2502     {\r
2503         "id": "215a5bb9.bd15a4",\r
2504         "type": "other",\r
2505         "name": "other",\r
2506         "xml": "<outcome value='Other'>\n",\r
2507         "comments": "",\r
2508         "outputs": 1,\r
2509         "x": 5636.066787719727,\r
2510         "y": 1703.566665649414,\r
2511         "z": "7a2c5977.5cc868",\r
2512         "wires": [\r
2513             [\r
2514                 "4e1d6af8.1ffc14"\r
2515             ]\r
2516         ]\r
2517     },\r
2518     {\r
2519         "id": "4e1d6af8.1ffc14",\r
2520         "type": "returnFailure",\r
2521         "name": "return failure",\r
2522         "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
2523         "comments": "",\r
2524         "x": 5788.066787719727,\r
2525         "y": 1704.566665649414,\r
2526         "z": "7a2c5977.5cc868",\r
2527         "wires": []\r
2528     },\r
2529     {\r
2530         "id": "474d315c.5dded",\r
2531         "type": "returnFailure",\r
2532         "name": "return failure",\r
2533         "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
2534         "comments": "",\r
2535         "x": 5799.066787719727,\r
2536         "y": 1649.566665649414,\r
2537         "z": "7a2c5977.5cc868",\r
2538         "wires": []\r
2539     },\r
2540     {\r
2541         "id": "7fc657c9.5c7cc8",\r
2542         "type": "block",\r
2543         "name": "block",\r
2544         "xml": "<block>\n",\r
2545         "atomic": "false",\r
2546         "comments": "",\r
2547         "outputs": 1,\r
2548         "x": 5783.449111938477,\r
2549         "y": 1589.2223358154297,\r
2550         "z": "7a2c5977.5cc868",\r
2551         "wires": [\r
2552             [\r
2553                 "5a87fca6.7b1764"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "8a681c82.4147c8",\r
2559         "type": "outcome",\r
2560         "name": "esr-thirdparty-sdnc",\r
2561         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2562         "comments": "",\r
2563         "outputs": 1,\r
2564         "x": 6365.566665649414,\r
2565         "y": 1607.566665649414,\r
2566         "z": "7a2c5977.5cc868",\r
2567         "wires": [\r
2568             [\r
2569                 "25c0f761.e40b7"\r
2570             ]\r
2571         ]\r
2572     },\r
2573     {\r
2574         "id": "25c0f761.e40b7",\r
2575         "type": "block",\r
2576         "name": "block : atomic",\r
2577         "xml": "<block atomic=\"true\">",\r
2578         "atomic": "true",\r
2579         "outputs": 1,\r
2580         "x": 6542.566665649414,\r
2581         "y": 1599.566665649414,\r
2582         "z": "7a2c5977.5cc868",\r
2583         "wires": [\r
2584             [\r
2585                 "dc2cab92.383e5",\r
2586                 "5874b3af.124b94"\r
2587             ]\r
2588         ]\r
2589     },\r
2590     {\r
2591         "id": "5a87fca6.7b1764",\r
2592         "type": "for",\r
2593         "name": "for each relationship",\r
2594         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2595         "comments": "",\r
2596         "outputs": 1,\r
2597         "x": 5967.566665649414,\r
2598         "y": 1603.566665649414,\r
2599         "z": "7a2c5977.5cc868",\r
2600         "wires": [\r
2601             [\r
2602                 "71c1ea6.16ca194"\r
2603             ]\r
2604         ]\r
2605     },\r
2606     {\r
2607         "id": "71c1ea6.16ca194",\r
2608         "type": "switchNode",\r
2609         "name": "switch related-to",\r
2610         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2611         "comments": "",\r
2612         "outputs": 1,\r
2613         "x": 6162.566665649414,\r
2614         "y": 1603.566665649414,\r
2615         "z": "7a2c5977.5cc868",\r
2616         "wires": [\r
2617             [\r
2618                 "8a681c82.4147c8",\r
2619                 "15c438a7.4c22d7"\r
2620             ]\r
2621         ]\r
2622     },\r
2623     {\r
2624         "id": "5874b3af.124b94",\r
2625         "type": "execute",\r
2626         "name": "get esr-thirdparty-sdnc",\r
2627         "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
2628         "comments": "",\r
2629         "outputs": 1,\r
2630         "x": 6750.566665649414,\r
2631         "y": 1606.566665649414,\r
2632         "z": "7a2c5977.5cc868",\r
2633         "wires": [\r
2634             [\r
2635                 "6cc22362.6b5aa4",\r
2636                 "dbd01d5b.37e41",\r
2637                 "f57a568d.3942"\r
2638             ]\r
2639         ]\r
2640     },\r
2641     {\r
2642         "id": "dc2cab92.383e5",\r
2643         "type": "set",\r
2644         "name": "set esr-thirdparty-sdnc domainB id",\r
2645         "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
2646         "comments": "",\r
2647         "x": 6780.566665649414,\r
2648         "y": 1554.566665649414,\r
2649         "z": "7a2c5977.5cc868",\r
2650         "wires": []\r
2651     },\r
2652     {\r
2653         "id": "6cc22362.6b5aa4",\r
2654         "type": "success",\r
2655         "name": "success",\r
2656         "xml": "<outcome value='success'>\n",\r
2657         "comments": "",\r
2658         "outputs": 1,\r
2659         "x": 6960.566665649414,\r
2660         "y": 1597.566665649414,\r
2661         "z": "7a2c5977.5cc868",\r
2662         "wires": [\r
2663             [\r
2664                 "57bfbb8e.7f8e04"\r
2665             ]\r
2666         ]\r
2667     },\r
2668     {\r
2669         "id": "dbd01d5b.37e41",\r
2670         "type": "not-found",\r
2671         "name": "not-found",\r
2672         "xml": "<outcome value='not-found'>\n",\r
2673         "comments": "",\r
2674         "outputs": 1,\r
2675         "x": 6952.566665649414,\r
2676         "y": 1652.566665649414,\r
2677         "z": "7a2c5977.5cc868",\r
2678         "wires": [\r
2679             [\r
2680                 "396bc1e7.c35d2e"\r
2681             ]\r
2682         ]\r
2683     },\r
2684     {\r
2685         "id": "f57a568d.3942",\r
2686         "type": "other",\r
2687         "name": "other",\r
2688         "xml": "<outcome value='Other'>\n",\r
2689         "comments": "",\r
2690         "outputs": 1,\r
2691         "x": 6957.566665649414,\r
2692         "y": 1709.566665649414,\r
2693         "z": "7a2c5977.5cc868",\r
2694         "wires": [\r
2695             [\r
2696                 "68626ec4.afefc8"\r
2697             ]\r
2698         ]\r
2699     },\r
2700     {\r
2701         "id": "68626ec4.afefc8",\r
2702         "type": "returnFailure",\r
2703         "name": "return failure",\r
2704         "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
2705         "comments": "",\r
2706         "x": 7109.566665649414,\r
2707         "y": 1710.566665649414,\r
2708         "z": "7a2c5977.5cc868",\r
2709         "wires": []\r
2710     },\r
2711     {\r
2712         "id": "396bc1e7.c35d2e",\r
2713         "type": "returnFailure",\r
2714         "name": "return failure",\r
2715         "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
2716         "comments": "",\r
2717         "x": 7120.566665649414,\r
2718         "y": 1655.566665649414,\r
2719         "z": "7a2c5977.5cc868",\r
2720         "wires": []\r
2721     },\r
2722     {\r
2723         "id": "57bfbb8e.7f8e04",\r
2724         "type": "block",\r
2725         "name": "block",\r
2726         "xml": "<block>\n",\r
2727         "atomic": "false",\r
2728         "comments": "",\r
2729         "outputs": 1,\r
2730         "x": 7104.948989868164,\r
2731         "y": 1595.2223358154297,\r
2732         "z": "7a2c5977.5cc868",\r
2733         "wires": [\r
2734             [\r
2735                 "183ddb54.5f2965"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "183ddb54.5f2965",\r
2741         "type": "set",\r
2742         "name": "set controller domainB data",\r
2743         "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
2744         "comments": "",\r
2745         "x": 7319.566665649414,\r
2746         "y": 1591.566665649414,\r
2747         "z": "7a2c5977.5cc868",\r
2748         "wires": []\r
2749     },\r
2750     {\r
2751         "id": "2a9b5bea.92ec14",\r
2752         "type": "block",\r
2753         "name": "block : atomic",\r
2754         "xml": "<block atomic=\"true\">",\r
2755         "atomic": "true",\r
2756         "outputs": 1,\r
2757         "x": 316.56666564941406,\r
2758         "y": 720.5666656494141,\r
2759         "z": "7a2c5977.5cc868",\r
2760         "wires": [\r
2761             [\r
2762                 "3a6bcd00.26c4c4",\r
2763                 "868ff940.3c40b8"\r
2764             ]\r
2765         ]\r
2766     },\r
2767     {\r
2768         "id": "3a6bcd00.26c4c4",\r
2769         "type": "for",\r
2770         "name": "for each allotted-resource relationship",\r
2771         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
2772         "comments": "",\r
2773         "outputs": 1,\r
2774         "x": 762.5666656494141,\r
2775         "y": 579.5666656494141,\r
2776         "z": "7a2c5977.5cc868",\r
2777         "wires": [\r
2778             [\r
2779                 "22d238c4.fa2b2"\r
2780             ]\r
2781         ]\r
2782     },\r
2783     {\r
2784         "id": "22d238c4.fa2b2",\r
2785         "type": "switchNode",\r
2786         "name": "switch related-to",\r
2787         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
2788         "comments": "",\r
2789         "outputs": 1,\r
2790         "x": 3127.566665649414,\r
2791         "y": 561.5666656494141,\r
2792         "z": "7a2c5977.5cc868",\r
2793         "wires": [\r
2794             [\r
2795                 "2acc7de6.ba44da"\r
2796             ]\r
2797         ]\r
2798     },\r
2799     {\r
2800         "id": "66f34217.bc91ec",\r
2801         "type": "outcome",\r
2802         "name": "network-resource",\r
2803         "xml": "<outcome value='network-resource'>",\r
2804         "comments": "",\r
2805         "outputs": 1,\r
2806         "x": 6327.566665649414,\r
2807         "y": 840.5666656494141,\r
2808         "z": "7a2c5977.5cc868",\r
2809         "wires": [\r
2810             [\r
2811                 "8e17eafe.169168"\r
2812             ]\r
2813         ]\r
2814     },\r
2815     {\r
2816         "id": "8e17eafe.169168",\r
2817         "type": "block",\r
2818         "name": "block : atomic",\r
2819         "xml": "<block atomic=\"true\">",\r
2820         "atomic": "true",\r
2821         "outputs": 1,\r
2822         "x": 6504.566665649414,\r
2823         "y": 832.5666656494141,\r
2824         "z": "7a2c5977.5cc868",\r
2825         "wires": [\r
2826             [\r
2827                 "39419ce1.8622b4"\r
2828             ]\r
2829         ]\r
2830     },\r
2831     {\r
2832         "id": "39419ce1.8622b4",\r
2833         "type": "set",\r
2834         "name": "set domainA ethernet layer network-id",\r
2835         "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
2836         "comments": "",\r
2837         "x": 6739.566665649414,\r
2838         "y": 956.5666656494141,\r
2839         "z": "7a2c5977.5cc868",\r
2840         "wires": []\r
2841     },\r
2842     {\r
2843         "id": "2bb9adc0.ca5fca",\r
2844         "type": "set",\r
2845         "name": "set domainB ethernet layer network-id",\r
2846         "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
2847         "comments": "",\r
2848         "x": 6779.566665649414,\r
2849         "y": 1796.566665649414,\r
2850         "z": "7a2c5977.5cc868",\r
2851         "wires": []\r
2852     },\r
2853     {\r
2854         "id": "63d86b29.fe0a8c",\r
2855         "type": "block",\r
2856         "name": "block : atomic",\r
2857         "xml": "<block atomic=\"true\">",\r
2858         "atomic": "true",\r
2859         "outputs": 1,\r
2860         "x": 6544.566665649414,\r
2861         "y": 1672.566665649414,\r
2862         "z": "7a2c5977.5cc868",\r
2863         "wires": [\r
2864             [\r
2865                 "2bb9adc0.ca5fca"\r
2866             ]\r
2867         ]\r
2868     },\r
2869     {\r
2870         "id": "15c438a7.4c22d7",\r
2871         "type": "outcome",\r
2872         "name": "network-resource",\r
2873         "xml": "<outcome value='network-resource'>",\r
2874         "comments": "",\r
2875         "outputs": 1,\r
2876         "x": 6367.566665649414,\r
2877         "y": 1680.566665649414,\r
2878         "z": "7a2c5977.5cc868",\r
2879         "wires": [\r
2880             [\r
2881                 "63d86b29.fe0a8c"\r
2882             ]\r
2883         ]\r
2884     },\r
2885     {\r
2886         "id": "4f4b77bb.effd9",\r
2887         "type": "set",\r
2888         "name": "set the max bandwidth",\r
2889         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
2890         "comments": "",\r
2891         "x": 4319.566665649414,\r
2892         "y": 616.5666656494141,\r
2893         "z": "7a2c5977.5cc868",\r
2894         "wires": []\r
2895     },\r
2896     {\r
2897         "id": "a3f33877.70aa",\r
2898         "type": "execute",\r
2899         "name": "execute UUID generator for ethernet-service-name",\r
2900         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
2901         "comments": "",\r
2902         "outputs": 1,\r
2903         "x": 4341.566665649414,\r
2904         "y": 751.5666656494141,\r
2905         "z": "7a2c5977.5cc868",\r
2906         "wires": [\r
2907             []\r
2908         ]\r
2909     },\r
2910     {\r
2911         "id": "b172c901.cf8828",\r
2912         "type": "execute",\r
2913         "name": "execute UUID generator for otn-tunnel-name",\r
2914         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
2915         "comments": "",\r
2916         "outputs": 1,\r
2917         "x": 4322.566665649414,\r
2918         "y": 801.5666656494141,\r
2919         "z": "7a2c5977.5cc868",\r
2920         "wires": [\r
2921             []\r
2922         ]\r
2923     },\r
2924     {\r
2925         "id": "d30b8bfe.c0acd",\r
2926         "type": "for",\r
2927         "name": "for each allotted-resource",\r
2928         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
2929         "comments": "",\r
2930         "outputs": 1,\r
2931         "x": 1932.566665649414,\r
2932         "y": 349.56666564941406,\r
2933         "z": "7a2c5977.5cc868",\r
2934         "wires": [\r
2935             [\r
2936                 "bb8d5638.aa00f",\r
2937                 "1ad24ca8.e833c3"\r
2938             ]\r
2939         ]\r
2940     },\r
2941     {\r
2942         "id": "bb8d5638.aa00f",\r
2943         "type": "set",\r
2944         "name": "set the current allotted-resource-id",\r
2945         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
2946         "comments": "",\r
2947         "x": 2197.566665649414,\r
2948         "y": 272.56666564941406,\r
2949         "z": "7a2c5977.5cc868",\r
2950         "wires": []\r
2951     },\r
2952     {\r
2953         "id": "e8bc0d88.0a94d",\r
2954         "type": "set",\r
2955         "name": "set query_param",\r
2956         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
2957         "comments": "",\r
2958         "x": 4239.566665649414,\r
2959         "y": 2251.566665649414,\r
2960         "z": "7a2c5977.5cc868",\r
2961         "wires": []\r
2962     },\r
2963     {\r
2964         "id": "e8d2e62e.a7299",\r
2965         "type": "set",\r
2966         "name": "unset parameters",\r
2967         "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
2968         "comments": "",\r
2969         "x": 4222.566665649414,\r
2970         "y": 4009.566665649414,\r
2971         "z": "7a2c5977.5cc868",\r
2972         "wires": []\r
2973     },\r
2974     {\r
2975         "id": "4228fba9.d84434",\r
2976         "type": "set",\r
2977         "name": "set new ethernet-service-name",\r
2978         "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
2979         "comments": "",\r
2980         "x": 4279.566665649414,\r
2981         "y": 846.5666656494141,\r
2982         "z": "7a2c5977.5cc868",\r
2983         "wires": []\r
2984     },\r
2985     {\r
2986         "id": "3f522b00.e7a774",\r
2987         "type": "for",\r
2988         "name": "for vidx..tmp.otninfo_length[]",\r
2989         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
2990         "comments": "",\r
2991         "outputs": 1,\r
2992         "x": 4268.566665649414,\r
2993         "y": 2491.566665649414,\r
2994         "z": "7a2c5977.5cc868",\r
2995         "wires": [\r
2996             [\r
2997                 "bc62ddbe.40b578"\r
2998             ]\r
2999         ]\r
3000     },\r
3001     {\r
3002         "id": "a84a4901.ab0e28",\r
3003         "type": "save",\r
3004         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3005         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3006         "comments": "",\r
3007         "outputs": 1,\r
3008         "x": 5396.566665649414,\r
3009         "y": 2998.566665649414,\r
3010         "z": "7a2c5977.5cc868",\r
3011         "wires": [\r
3012             [\r
3013                 "bd40be8c.dbbe2"\r
3014             ]\r
3015         ]\r
3016     },\r
3017     {\r
3018         "id": "e8742cf6.070f98",\r
3019         "type": "save",\r
3020         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3021         "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
3022         "comments": "",\r
3023         "outputs": 1,\r
3024         "x": 5969.066665649414,\r
3025         "y": 3102.566665649414,\r
3026         "z": "7a2c5977.5cc868",\r
3027         "wires": [\r
3028             []\r
3029         ]\r
3030     },\r
3031     {\r
3032         "id": "bd40be8c.dbbe2",\r
3033         "type": "success",\r
3034         "name": "success",\r
3035         "xml": "<outcome value='success'>\n",\r
3036         "comments": "",\r
3037         "outputs": 1,\r
3038         "x": 5702.566665649414,\r
3039         "y": 2997.566665649414,\r
3040         "z": "7a2c5977.5cc868",\r
3041         "wires": [\r
3042             [\r
3043                 "62dd0574.924774"\r
3044             ]\r
3045         ]\r
3046     },\r
3047     {\r
3048         "id": "62dd0574.924774",\r
3049         "type": "block",\r
3050         "name": "block",\r
3051         "xml": "<block>\n",\r
3052         "atomic": "false",\r
3053         "comments": "",\r
3054         "outputs": 1,\r
3055         "x": 5912.066665649414,\r
3056         "y": 2997.820571899414,\r
3057         "z": "7a2c5977.5cc868",\r
3058         "wires": [\r
3059             []\r
3060         ]\r
3061     },\r
3062     {\r
3063         "id": "dfdbadd6.a714c8",\r
3064         "type": "execute",\r
3065         "name": "execute UUID generator for vpn-binding $otnidx",\r
3066         "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
3067         "comments": "",\r
3068         "outputs": 1,\r
3069         "x": 5432.566665649414,\r
3070         "y": 2462.566665649414,\r
3071         "z": "7a2c5977.5cc868",\r
3072         "wires": [\r
3073             []\r
3074         ]\r
3075     },\r
3076     {\r
3077         "id": "7a29235.bdc29dc",\r
3078         "type": "switchNode",\r
3079         "name": "switch otnidx == 0",\r
3080         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3081         "comments": "",\r
3082         "outputs": 1,\r
3083         "x": 5305.566665649414,\r
3084         "y": 3115.566665649414,\r
3085         "z": "7a2c5977.5cc868",\r
3086         "wires": [\r
3087             [\r
3088                 "9e040fdf.4e1908",\r
3089                 "afd9af18.cbf68"\r
3090             ]\r
3091         ]\r
3092     },\r
3093     {\r
3094         "id": "9e040fdf.4e1908",\r
3095         "type": "outcomeTrue",\r
3096         "name": "true",\r
3097         "xml": "<outcome value='true'>\n",\r
3098         "comments": "",\r
3099         "outputs": 1,\r
3100         "x": 5488.566665649414,\r
3101         "y": 3115.566665649414,\r
3102         "z": "7a2c5977.5cc868",\r
3103         "wires": [\r
3104             [\r
3105                 "4d493b22.a954ac"\r
3106             ]\r
3107         ]\r
3108     },\r
3109     {\r
3110         "id": "afd9af18.cbf68",\r
3111         "type": "outcomeFalse",\r
3112         "name": "false",\r
3113         "xml": "<outcome value='false'>\n",\r
3114         "comments": "",\r
3115         "outputs": 1,\r
3116         "x": 5313.566665649414,\r
3117         "y": 3262.566665649414,\r
3118         "z": "7a2c5977.5cc868",\r
3119         "wires": [\r
3120             [\r
3121                 "48643fac.9b7948"\r
3122             ]\r
3123         ]\r
3124     },\r
3125     {\r
3126         "id": "2165c5b.74a7eba",\r
3127         "type": "switchNode",\r
3128         "name": "switch otnidx == last",\r
3129         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3130         "comments": "",\r
3131         "outputs": 1,\r
3132         "x": 5654.566665649414,\r
3133         "y": 3343.566665649414,\r
3134         "z": "7a2c5977.5cc868",\r
3135         "wires": [\r
3136             [\r
3137                 "be7f13b1.86e45",\r
3138                 "d545210.3bcece"\r
3139             ]\r
3140         ]\r
3141     },\r
3142     {\r
3143         "id": "be7f13b1.86e45",\r
3144         "type": "outcomeTrue",\r
3145         "name": "true",\r
3146         "xml": "<outcome value='true'>\n",\r
3147         "comments": "",\r
3148         "outputs": 1,\r
3149         "x": 5839.566665649414,\r
3150         "y": 3344.566665649414,\r
3151         "z": "7a2c5977.5cc868",\r
3152         "wires": [\r
3153             [\r
3154                 "fa774d24.89417"\r
3155             ]\r
3156         ]\r
3157     },\r
3158     {\r
3159         "id": "d545210.3bcece",\r
3160         "type": "outcomeFalse",\r
3161         "name": "false",\r
3162         "xml": "<outcome value='false'>\n",\r
3163         "comments": "",\r
3164         "outputs": 1,\r
3165         "x": 5858.566665649414,\r
3166         "y": 3610.566665649414,\r
3167         "z": "7a2c5977.5cc868",\r
3168         "wires": [\r
3169             [\r
3170                 "a5e2b559.bb92b8"\r
3171             ]\r
3172         ]\r
3173     },\r
3174     {\r
3175         "id": "76fed0d3.50c2b8",\r
3176         "type": "save",\r
3177         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3178         "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
3179         "comments": "",\r
3180         "outputs": 1,\r
3181         "x": 6269.566665649414,\r
3182         "y": 3345.566665649414,\r
3183         "z": "7a2c5977.5cc868",\r
3184         "wires": [\r
3185             []\r
3186         ]\r
3187     },\r
3188     {\r
3189         "id": "70c2d887.ebd89",\r
3190         "type": "execute",\r
3191         "name": "execute UUID generator for connectivity domain otnidx",\r
3192         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3193         "comments": "",\r
3194         "outputs": 1,\r
3195         "x": 6343.566665649414,\r
3196         "y": 3643.566665649414,\r
3197         "z": "7a2c5977.5cc868",\r
3198         "wires": [\r
3199             []\r
3200         ]\r
3201     },\r
3202     {\r
3203         "id": "6dff6f96.bdd14",\r
3204         "type": "save",\r
3205         "name": "save connectivity resource in AAI",\r
3206         "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='`$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
3207         "comments": "",\r
3208         "outputs": 1,\r
3209         "x": 6279.566665649414,\r
3210         "y": 3694.566665649414,\r
3211         "z": "7a2c5977.5cc868",\r
3212         "wires": [\r
3213             []\r
3214         ]\r
3215     },\r
3216     {\r
3217         "id": "da14d71e.29e388",\r
3218         "type": "save",\r
3219         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3220         "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
3221         "comments": "",\r
3222         "outputs": 1,\r
3223         "x": 6408.566665649414,\r
3224         "y": 3744.566665649414,\r
3225         "z": "7a2c5977.5cc868",\r
3226         "wires": [\r
3227             []\r
3228         ]\r
3229     },\r
3230     {\r
3231         "id": "36a913e9.1aa2ec",\r
3232         "type": "comment",\r
3233         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3234         "info": "",\r
3235         "comments": "",\r
3236         "x": 6418.566665649414,\r
3237         "y": 3587.566665649414,\r
3238         "z": "7a2c5977.5cc868",\r
3239         "wires": []\r
3240     },\r
3241     {\r
3242         "id": "e8dd53ff.bedac8",\r
3243         "type": "save",\r
3244         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3245         "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
3246         "comments": "",\r
3247         "outputs": 1,\r
3248         "x": 6376.566665649414,\r
3249         "y": 3803.566665649414,\r
3250         "z": "7a2c5977.5cc868",\r
3251         "wires": [\r
3252             []\r
3253         ]\r
3254     },\r
3255     {\r
3256         "id": "a5e2b559.bb92b8",\r
3257         "type": "block",\r
3258         "name": "block : atomic",\r
3259         "xml": "<block atomic='true'>",\r
3260         "atomic": "true",\r
3261         "comments": "",\r
3262         "outputs": 1,\r
3263         "x": 6015.566665649414,\r
3264         "y": 3611.566665649414,\r
3265         "z": "7a2c5977.5cc868",\r
3266         "wires": [\r
3267             [\r
3268                 "70c2d887.ebd89",\r
3269                 "6dff6f96.bdd14",\r
3270                 "da14d71e.29e388",\r
3271                 "e8dd53ff.bedac8",\r
3272                 "74474f32.496d08"\r
3273             ]\r
3274         ]\r
3275     },\r
3276     {\r
3277         "id": "bc62ddbe.40b578",\r
3278         "type": "block",\r
3279         "name": "block : atomic",\r
3280         "xml": "<block atomic='true'>",\r
3281         "atomic": "true",\r
3282         "comments": "",\r
3283         "outputs": 1,\r
3284         "x": 4525.566665649414,\r
3285         "y": 2491.566665649414,\r
3286         "z": "7a2c5977.5cc868",\r
3287         "wires": [\r
3288             [\r
3289                 "dfdbadd6.a714c8",\r
3290                 "a84a4901.ab0e28",\r
3291                 "7a29235.bdc29dc",\r
3292                 "ea78e7b3.e08de",\r
3293                 "d3bd92d0.f9c398",\r
3294                 "a0d9c335.32979",\r
3295                 "df425f50.085b58"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "e594bba7.4a822",\r
3301         "type": "set",\r
3302         "name": "set attachment_param domain A",\r
3303         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
3304         "comments": "",\r
3305         "x": 5893.566665649414,\r
3306         "y": 3159.566665649414,\r
3307         "z": "7a2c5977.5cc868",\r
3308         "wires": []\r
3309     },\r
3310     {\r
3311         "id": "87b29bcd.d06e1",\r
3312         "type": "execute",\r
3313         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3314         "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
3315         "comments": "",\r
3316         "outputs": 1,\r
3317         "x": 5946.566665649414,\r
3318         "y": 3203.566665649414,\r
3319         "z": "7a2c5977.5cc868",\r
3320         "wires": [\r
3321             [\r
3322                 "5032251f.1cf2d4",\r
3323                 "be6cefef.c756f"\r
3324             ]\r
3325         ]\r
3326     },\r
3327     {\r
3328         "id": "be6cefef.c756f",\r
3329         "type": "failure",\r
3330         "name": "failure",\r
3331         "xml": "<outcome value='failure'>\n",\r
3332         "comments": "",\r
3333         "outputs": 1,\r
3334         "x": 6217.566665649414,\r
3335         "y": 3188.566665649414,\r
3336         "z": "7a2c5977.5cc868",\r
3337         "wires": [\r
3338             [\r
3339                 "9820d829.628f68"\r
3340             ]\r
3341         ]\r
3342     },\r
3343     {\r
3344         "id": "5032251f.1cf2d4",\r
3345         "type": "success",\r
3346         "name": "success",\r
3347         "xml": "<outcome value='success'>\n",\r
3348         "comments": "",\r
3349         "outputs": 1,\r
3350         "x": 6215.566879272461,\r
3351         "y": 3246.566575050354,\r
3352         "z": "7a2c5977.5cc868",\r
3353         "wires": [\r
3354             [\r
3355                 "d853eef3.2531b"\r
3356             ]\r
3357         ]\r
3358     },\r
3359     {\r
3360         "id": "9820d829.628f68",\r
3361         "type": "returnFailure",\r
3362         "name": "return failure",\r
3363         "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
3364         "comments": "",\r
3365         "x": 6357.566913604736,\r
3366         "y": 3188.5666666030884,\r
3367         "z": "7a2c5977.5cc868",\r
3368         "wires": []\r
3369     },\r
3370     {\r
3371         "id": "d853eef3.2531b",\r
3372         "type": "block",\r
3373         "name": "block",\r
3374         "xml": "<block>\n",\r
3375         "atomic": "false",\r
3376         "comments": "",\r
3377         "outputs": 1,\r
3378         "x": 6363.593925476074,\r
3379         "y": 3237.31206035614,\r
3380         "z": "7a2c5977.5cc868",\r
3381         "wires": [\r
3382             []\r
3383         ]\r
3384     },\r
3385     {\r
3386         "id": "4d493b22.a954ac",\r
3387         "type": "block",\r
3388         "name": "block",\r
3389         "xml": "<block>\n",\r
3390         "atomic": "false",\r
3391         "comments": "",\r
3392         "outputs": 1,\r
3393         "x": 5629.566665649414,\r
3394         "y": 3105.566665649414,\r
3395         "z": "7a2c5977.5cc868",\r
3396         "wires": [\r
3397             [\r
3398                 "e8742cf6.070f98",\r
3399                 "e594bba7.4a822"\r
3400             ]\r
3401         ]\r
3402     },\r
3403     {\r
3404         "id": "fa774d24.89417",\r
3405         "type": "block",\r
3406         "name": "block",\r
3407         "xml": "<block>\n",\r
3408         "atomic": "false",\r
3409         "comments": "",\r
3410         "outputs": 1,\r
3411         "x": 5973.566665649414,\r
3412         "y": 3345.566665649414,\r
3413         "z": "7a2c5977.5cc868",\r
3414         "wires": [\r
3415             [\r
3416                 "76fed0d3.50c2b8",\r
3417                 "1f8bf5f5.3f985a"\r
3418             ]\r
3419         ]\r
3420     },\r
3421     {\r
3422         "id": "1f8bf5f5.3f985a",\r
3423         "type": "set",\r
3424         "name": "set attachment_param domain B",\r
3425         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3426         "comments": "",\r
3427         "x": 6193.566665649414,\r
3428         "y": 3389.566665649414,\r
3429         "z": "7a2c5977.5cc868",\r
3430         "wires": []\r
3431     },\r
3432     {\r
3433         "id": "56138fb2.fa508",\r
3434         "type": "execute",\r
3435         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3436         "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
3437         "comments": "",\r
3438         "outputs": 1,\r
3439         "x": 6244.566665649414,\r
3440         "y": 3433.566665649414,\r
3441         "z": "7a2c5977.5cc868",\r
3442         "wires": [\r
3443             [\r
3444                 "c11f4412.596988",\r
3445                 "3d65e0af.86bdc"\r
3446             ]\r
3447         ]\r
3448     },\r
3449     {\r
3450         "id": "3d65e0af.86bdc",\r
3451         "type": "failure",\r
3452         "name": "failure",\r
3453         "xml": "<outcome value='failure'>\n",\r
3454         "comments": "",\r
3455         "outputs": 1,\r
3456         "x": 6507.566665649414,\r
3457         "y": 3413.566665649414,\r
3458         "z": "7a2c5977.5cc868",\r
3459         "wires": [\r
3460             [\r
3461                 "ab4947b8.f3efc8"\r
3462             ]\r
3463         ]\r
3464     },\r
3465     {\r
3466         "id": "c11f4412.596988",\r
3467         "type": "success",\r
3468         "name": "success",\r
3469         "xml": "<outcome value='success'>\n",\r
3470         "comments": "",\r
3471         "outputs": 1,\r
3472         "x": 6508.566879272461,\r
3473         "y": 3464.566575050354,\r
3474         "z": "7a2c5977.5cc868",\r
3475         "wires": [\r
3476             [\r
3477                 "42fcaa4.0e80754"\r
3478             ]\r
3479         ]\r
3480     },\r
3481     {\r
3482         "id": "ab4947b8.f3efc8",\r
3483         "type": "returnFailure",\r
3484         "name": "return failure",\r
3485         "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
3486         "comments": "",\r
3487         "x": 6647.566913604736,\r
3488         "y": 3413.5666666030884,\r
3489         "z": "7a2c5977.5cc868",\r
3490         "wires": []\r
3491     },\r
3492     {\r
3493         "id": "42fcaa4.0e80754",\r
3494         "type": "block",\r
3495         "name": "block",\r
3496         "xml": "<block>\n",\r
3497         "atomic": "false",\r
3498         "comments": "",\r
3499         "outputs": 1,\r
3500         "x": 6653.593925476074,\r
3501         "y": 3462.31206035614,\r
3502         "z": "7a2c5977.5cc868",\r
3503         "wires": [\r
3504             []\r
3505         ]\r
3506     },\r
3507     {\r
3508         "id": "74474f32.496d08",\r
3509         "type": "set",\r
3510         "name": "set attachment_param domain otnidx",\r
3511         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3512         "comments": "",\r
3513         "x": 6290.566665649414,\r
3514         "y": 3863.566665649414,\r
3515         "z": "7a2c5977.5cc868",\r
3516         "wires": []\r
3517     },\r
3518     {\r
3519         "id": "c12964ef.831f2",\r
3520         "type": "save",\r
3521         "name": "get all-vpn-bindings from aai",\r
3522         "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
3523         "comments": "",\r
3524         "outputs": 1,\r
3525         "x": 3609.566665649414,\r
3526         "y": 4210.566665649414,\r
3527         "z": "7a2c5977.5cc868",\r
3528         "wires": [\r
3529             [\r
3530                 "46b1e3df.d037b4",\r
3531                 "12132e54.c462e2",\r
3532                 "bec1d9b0.34cbd8"\r
3533             ]\r
3534         ]\r
3535     },\r
3536     {\r
3537         "id": "46b1e3df.d037b4",\r
3538         "type": "success",\r
3539         "name": "success",\r
3540         "xml": "<outcome value='success'>\n",\r
3541         "comments": "",\r
3542         "outputs": 1,\r
3543         "x": 3797.566665649414,\r
3544         "y": 4223.566665649414,\r
3545         "z": "7a2c5977.5cc868",\r
3546         "wires": [\r
3547             [\r
3548                 "57bca9f.85d5a58"\r
3549             ]\r
3550         ]\r
3551     },\r
3552     {\r
3553         "id": "12132e54.c462e2",\r
3554         "type": "not-found",\r
3555         "name": "not-found",\r
3556         "xml": "<outcome value='not-found'>\n",\r
3557         "comments": "",\r
3558         "outputs": 1,\r
3559         "x": 3798.057632446289,\r
3560         "y": 4269.140701293945,\r
3561         "z": "7a2c5977.5cc868",\r
3562         "wires": [\r
3563             [\r
3564                 "6123f77d.b84b7"\r
3565             ]\r
3566         ]\r
3567     },\r
3568     {\r
3569         "id": "bec1d9b0.34cbd8",\r
3570         "type": "failure",\r
3571         "name": "failure",\r
3572         "xml": "<outcome value='failure'>\n",\r
3573         "comments": "",\r
3574         "outputs": 1,\r
3575         "x": 3795.566665649414,\r
3576         "y": 4312.566665649414,\r
3577         "z": "7a2c5977.5cc868",\r
3578         "wires": [\r
3579             [\r
3580                 "c1bcff3.65bc5"\r
3581             ]\r
3582         ]\r
3583     },\r
3584     {\r
3585         "id": "57bca9f.85d5a58",\r
3586         "type": "block",\r
3587         "name": "block : atomic",\r
3588         "xml": "<block atomic=\"true\">",\r
3589         "atomic": "true",\r
3590         "outputs": 1,\r
3591         "x": 3970.566665649414,\r
3592         "y": 4221.566665649414,\r
3593         "z": "7a2c5977.5cc868",\r
3594         "wires": [\r
3595             [\r
3596                 "48f214f2.afe82c"\r
3597             ]\r
3598         ]\r
3599     },\r
3600     {\r
3601         "id": "6123f77d.b84b7",\r
3602         "type": "returnFailure",\r
3603         "name": "return failure",\r
3604         "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
3605         "comments": "",\r
3606         "x": 3960.6290435791016,\r
3607         "y": 4269.42643737793,\r
3608         "z": "7a2c5977.5cc868",\r
3609         "wires": []\r
3610     },\r
3611     {\r
3612         "id": "c1bcff3.65bc5",\r
3613         "type": "returnFailure",\r
3614         "name": "return failure",\r
3615         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3616         "comments": "",\r
3617         "x": 3962.566665649414,\r
3618         "y": 4311.566665649414,\r
3619         "z": "7a2c5977.5cc868",\r
3620         "wires": []\r
3621     },\r
3622     {\r
3623         "id": "6a14b8fb.57e66",\r
3624         "type": "for",\r
3625         "name": "for vidx..tmp.otninfo_length[]",\r
3626         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
3627         "comments": "",\r
3628         "outputs": 1,\r
3629         "x": 3598.566665649414,\r
3630         "y": 4401.566665649414,\r
3631         "z": "7a2c5977.5cc868",\r
3632         "wires": [\r
3633             [\r
3634                 "d21b0d43.234748"\r
3635             ]\r
3636         ]\r
3637     },\r
3638     {\r
3639         "id": "5a7ba4c6.c66bd4",\r
3640         "type": "block",\r
3641         "name": "block : atomic",\r
3642         "xml": "<block atomic='true'>",\r
3643         "atomic": "true",\r
3644         "comments": "",\r
3645         "outputs": 1,\r
3646         "x": 4408.566665649414,\r
3647         "y": 4401.566665649414,\r
3648         "z": "7a2c5977.5cc868",\r
3649         "wires": [\r
3650             [\r
3651                 "d757ef24.d8b4b8"\r
3652             ]\r
3653         ]\r
3654     },\r
3655     {\r
3656         "id": "7025e4fd.b3ba94",\r
3657         "type": "for",\r
3658         "name": "for vidx..tmp.otninfo_length[]",\r
3659         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
3660         "comments": "",\r
3661         "outputs": 1,\r
3662         "x": 4180.566665649414,\r
3663         "y": 4401.566665649414,\r
3664         "z": "7a2c5977.5cc868",\r
3665         "wires": [\r
3666             [\r
3667                 "5a7ba4c6.c66bd4"\r
3668             ]\r
3669         ]\r
3670     },\r
3671     {\r
3672         "id": "714d6791.87f3b8",\r
3673         "type": "set",\r
3674         "name": "set providerValue",\r
3675         "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
3676         "comments": "",\r
3677         "x": 5300.566665649414,\r
3678         "y": 4168.566665649414,\r
3679         "z": "7a2c5977.5cc868",\r
3680         "wires": []\r
3681     },\r
3682     {\r
3683         "id": "820ac720.b45068",\r
3684         "type": "set",\r
3685         "name": "set",\r
3686         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
3687         "comments": "",\r
3688         "x": 5602.566665649414,\r
3689         "y": 3294.566665649414,\r
3690         "z": "7a2c5977.5cc868",\r
3691         "wires": []\r
3692     },\r
3693     {\r
3694         "id": "48643fac.9b7948",\r
3695         "type": "block",\r
3696         "name": "block",\r
3697         "xml": "<block>\n",\r
3698         "atomic": "false",\r
3699         "comments": "",\r
3700         "outputs": 1,\r
3701         "x": 5437.566665649414,\r
3702         "y": 3269.566665649414,\r
3703         "z": "7a2c5977.5cc868",\r
3704         "wires": [\r
3705             [\r
3706                 "820ac720.b45068",\r
3707                 "2165c5b.74a7eba"\r
3708             ]\r
3709         ]\r
3710     },\r
3711     {\r
3712         "id": "b8b8c8f9.3c3308",\r
3713         "type": "set",\r
3714         "name": "set tmp.arr",\r
3715         "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<parameter name='bwModified' value='false' />\n",\r
3716         "comments": "",\r
3717         "x": 1891.566665649414,\r
3718         "y": 299.56666564941406,\r
3719         "z": "7a2c5977.5cc868",\r
3720         "wires": []\r
3721     },\r
3722     {\r
3723         "id": "48f214f2.afe82c",\r
3724         "type": "for",\r
3725         "name": "for vpnidx in all-vpn-bindings",\r
3726         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
3727         "comments": "",\r
3728         "outputs": 1,\r
3729         "x": 4199.566665649414,\r
3730         "y": 4222.566665649414,\r
3731         "z": "7a2c5977.5cc868",\r
3732         "wires": [\r
3733             [\r
3734                 "13a3ad3e.ce4b03"\r
3735             ]\r
3736         ]\r
3737     },\r
3738     {\r
3739         "id": "13a3ad3e.ce4b03",\r
3740         "type": "block",\r
3741         "name": "block : atomic",\r
3742         "xml": "<block atomic='true'>",\r
3743         "atomic": "true",\r
3744         "comments": "",\r
3745         "outputs": 1,\r
3746         "x": 4414.566665649414,\r
3747         "y": 4223.566665649414,\r
3748         "z": "7a2c5977.5cc868",\r
3749         "wires": [\r
3750             [\r
3751                 "aaee7064.6ec4a8"\r
3752             ]\r
3753         ]\r
3754     },\r
3755     {\r
3756         "id": "54a1b0ce.796af",\r
3757         "type": "for",\r
3758         "name": "for arridx in tmp.arr",\r
3759         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
3760         "comments": "",\r
3761         "outputs": 1,\r
3762         "x": 5867.566665649414,\r
3763         "y": 4143.566665649414,\r
3764         "z": "7a2c5977.5cc868",\r
3765         "wires": [\r
3766             [\r
3767                 "1cad0dda.a27a62"\r
3768             ]\r
3769         ]\r
3770     },\r
3771     {\r
3772         "id": "5f82b085.2694c",\r
3773         "type": "switchNode",\r
3774         "name": "switch $tmp.arr_length != 0",\r
3775         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
3776         "comments": "",\r
3777         "outputs": 1,\r
3778         "x": 5333.566665649414,\r
3779         "y": 4223.566665649414,\r
3780         "z": "7a2c5977.5cc868",\r
3781         "wires": [\r
3782             [\r
3783                 "64f08945.d78fe",\r
3784                 "c8f5bcb9.62dc"\r
3785             ]\r
3786         ]\r
3787     },\r
3788     {\r
3789         "id": "64f08945.d78fe",\r
3790         "type": "outcomeTrue",\r
3791         "name": "true",\r
3792         "xml": "<outcome value='true'>\n",\r
3793         "comments": "",\r
3794         "outputs": 1,\r
3795         "x": 5529.566665649414,\r
3796         "y": 4193.566665649414,\r
3797         "z": "7a2c5977.5cc868",\r
3798         "wires": [\r
3799             [\r
3800                 "bfcf40e9.39a97"\r
3801             ]\r
3802         ]\r
3803     },\r
3804     {\r
3805         "id": "c8f5bcb9.62dc",\r
3806         "type": "outcomeFalse",\r
3807         "name": "false",\r
3808         "xml": "<outcome value='false'>\n",\r
3809         "comments": "",\r
3810         "outputs": 1,\r
3811         "x": 5530.566665649414,\r
3812         "y": 4264.566665649414,\r
3813         "z": "7a2c5977.5cc868",\r
3814         "wires": [\r
3815             [\r
3816                 "f29be22.ac73ba"\r
3817             ]\r
3818         ]\r
3819     },\r
3820     {\r
3821         "id": "bfcf40e9.39a97",\r
3822         "type": "block",\r
3823         "name": "block : atomic",\r
3824         "xml": "<block atomic='true'>",\r
3825         "atomic": "true",\r
3826         "comments": "",\r
3827         "outputs": 1,\r
3828         "x": 5680.566665649414,\r
3829         "y": 4191.566665649414,\r
3830         "z": "7a2c5977.5cc868",\r
3831         "wires": [\r
3832             [\r
3833                 "54a1b0ce.796af",\r
3834                 "5025eb6e.6416ac"\r
3835             ]\r
3836         ]\r
3837     },\r
3838     {\r
3839         "id": "1cad0dda.a27a62",\r
3840         "type": "switchNode",\r
3841         "name": "switch tmp.arr[$arridx] == $providerValue",\r
3842         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
3843         "comments": "",\r
3844         "outputs": 1,\r
3845         "x": 6158.566665649414,\r
3846         "y": 4143.566665649414,\r
3847         "z": "7a2c5977.5cc868",\r
3848         "wires": [\r
3849             [\r
3850                 "ef1aab2d.dfd7e",\r
3851                 "c7951c87.3f94f8"\r
3852             ]\r
3853         ]\r
3854     },\r
3855     {\r
3856         "id": "ef1aab2d.dfd7e",\r
3857         "type": "outcomeTrue",\r
3858         "name": "true",\r
3859         "xml": "<outcome value='true'>\n",\r
3860         "comments": "",\r
3861         "outputs": 1,\r
3862         "x": 6433.566665649414,\r
3863         "y": 4112.566665649414,\r
3864         "z": "7a2c5977.5cc868",\r
3865         "wires": [\r
3866             [\r
3867                 "3158c3e7.0f4f1c"\r
3868             ]\r
3869         ]\r
3870     },\r
3871     {\r
3872         "id": "c7951c87.3f94f8",\r
3873         "type": "outcomeFalse",\r
3874         "name": "false",\r
3875         "xml": "<outcome value='false'>\n",\r
3876         "comments": "",\r
3877         "outputs": 1,\r
3878         "x": 6434.566665649414,\r
3879         "y": 4183.566665649414,\r
3880         "z": "7a2c5977.5cc868",\r
3881         "wires": [\r
3882             [\r
3883                 "18af5fa5.bfa388"\r
3884             ]\r
3885         ]\r
3886     },\r
3887     {\r
3888         "id": "3158c3e7.0f4f1c",\r
3889         "type": "block",\r
3890         "name": "block : atomic",\r
3891         "xml": "<block atomic='true'>",\r
3892         "atomic": "true",\r
3893         "comments": "",\r
3894         "outputs": 1,\r
3895         "x": 6584.566665649414,\r
3896         "y": 4110.566665649414,\r
3897         "z": "7a2c5977.5cc868",\r
3898         "wires": [\r
3899             [\r
3900                 "c68342ac.2196d8",\r
3901                 "a6f93050.eee23",\r
3902                 "cc632799.cbb108",\r
3903                 "245ca61c.76b612",\r
3904                 "939302e5.823e3"\r
3905             ]\r
3906         ]\r
3907     },\r
3908     {\r
3909         "id": "c68342ac.2196d8",\r
3910         "type": "set",\r
3911         "name": "set found to true",\r
3912         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
3913         "comments": "",\r
3914         "x": 6772.566665649414,\r
3915         "y": 4070.566665649414,\r
3916         "z": "7a2c5977.5cc868",\r
3917         "wires": []\r
3918     },\r
3919     {\r
3920         "id": "a6f93050.eee23",\r
3921         "type": "save",\r
3922         "name": "store $arridx somewhere in vpn-binding",\r
3923         "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
3924         "comments": "",\r
3925         "outputs": 1,\r
3926         "x": 6844.566665649414,\r
3927         "y": 4115.566665649414,\r
3928         "z": "7a2c5977.5cc868",\r
3929         "wires": [\r
3930             []\r
3931         ]\r
3932     },\r
3933     {\r
3934         "id": "939302e5.823e3",\r
3935         "type": "set",\r
3936         "name": "set twoD arr",\r
3937         "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
3938         "comments": "",\r
3939         "x": 6759.566665649414,\r
3940         "y": 4242.566665649414,\r
3941         "z": "7a2c5977.5cc868",\r
3942         "wires": []\r
3943     },\r
3944     {\r
3945         "id": "245ca61c.76b612",\r
3946         "type": "set",\r
3947         "name": "set sizeOfSliceList",\r
3948         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
3949         "comments": "",\r
3950         "x": 6780.566665649414,\r
3951         "y": 4178.566665649414,\r
3952         "z": "7a2c5977.5cc868",\r
3953         "wires": []\r
3954     },\r
3955     {\r
3956         "id": "f29be22.ac73ba",\r
3957         "type": "block",\r
3958         "name": "block : atomic",\r
3959         "xml": "<block atomic='true'>",\r
3960         "atomic": "true",\r
3961         "comments": "",\r
3962         "outputs": 1,\r
3963         "x": 5682.566665649414,\r
3964         "y": 4264.566665649414,\r
3965         "z": "7a2c5977.5cc868",\r
3966         "wires": [\r
3967             [\r
3968                 "b939d5a3.62c49",\r
3969                 "19ae4c6e.0e8cdc"\r
3970             ]\r
3971         ]\r
3972     },\r
3973     {\r
3974         "id": "b939d5a3.62c49",\r
3975         "type": "save",\r
3976         "name": "store $arridx somewhere in vpn-binding",\r
3977         "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
3978         "comments": "",\r
3979         "outputs": 1,\r
3980         "x": 5937.566665649414,\r
3981         "y": 4257.566665649414,\r
3982         "z": "7a2c5977.5cc868",\r
3983         "wires": [\r
3984             []\r
3985         ]\r
3986     },\r
3987     {\r
3988         "id": "19ae4c6e.0e8cdc",\r
3989         "type": "set",\r
3990         "name": "set twoD array",\r
3991         "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
3992         "comments": "",\r
3993         "x": 5865.566665649414,\r
3994         "y": 4304.566665649414,\r
3995         "z": "7a2c5977.5cc868",\r
3996         "wires": []\r
3997     },\r
3998     {\r
3999         "id": "5025eb6e.6416ac",\r
4000         "type": "switchNode",\r
4001         "name": "switch found?",\r
4002         "xml": "<switch test='`$found`'>\n",\r
4003         "comments": "",\r
4004         "outputs": 1,\r
4005         "x": 5858.566665649414,\r
4006         "y": 4188.566665649414,\r
4007         "z": "7a2c5977.5cc868",\r
4008         "wires": [\r
4009             [\r
4010                 "5f0ac92a.2af9f8",\r
4011                 "5a001e78.4b9ed8"\r
4012             ]\r
4013         ]\r
4014     },\r
4015     {\r
4016         "id": "5f0ac92a.2af9f8",\r
4017         "type": "outcomeTrue",\r
4018         "name": "true",\r
4019         "xml": "<outcome value='true'>\n",\r
4020         "comments": "",\r
4021         "outputs": 1,\r
4022         "x": 6018.566665649414,\r
4023         "y": 4180.566665649414,\r
4024         "z": "7a2c5977.5cc868",\r
4025         "wires": [\r
4026             [\r
4027                 "26dc24b4.633a24"\r
4028             ]\r
4029         ]\r
4030     },\r
4031     {\r
4032         "id": "5a001e78.4b9ed8",\r
4033         "type": "outcomeFalse",\r
4034         "name": "false",\r
4035         "xml": "<outcome value='false'>\n",\r
4036         "comments": "",\r
4037         "outputs": 1,\r
4038         "x": 6016.566665649414,\r
4039         "y": 4217.566665649414,\r
4040         "z": "7a2c5977.5cc868",\r
4041         "wires": [\r
4042             [\r
4043                 "77dbb1e6.82cb3"\r
4044             ]\r
4045         ]\r
4046     },\r
4047     {\r
4048         "id": "26dc24b4.633a24",\r
4049         "type": "block",\r
4050         "name": "block",\r
4051         "xml": "<block>\n",\r
4052         "atomic": "false",\r
4053         "comments": "",\r
4054         "outputs": 1,\r
4055         "x": 6143.566665649414,\r
4056         "y": 4180.566665649414,\r
4057         "z": "7a2c5977.5cc868",\r
4058         "wires": [\r
4059             []\r
4060         ]\r
4061     },\r
4062     {\r
4063         "id": "88be3e5.2470dc",\r
4064         "type": "save",\r
4065         "name": "store $arridx+1 somewhere in vpn-binding",\r
4066         "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
4067         "comments": "",\r
4068         "outputs": 1,\r
4069         "x": 6450.566665649414,\r
4070         "y": 4238.566665649414,\r
4071         "z": "7a2c5977.5cc868",\r
4072         "wires": [\r
4073             []\r
4074         ]\r
4075     },\r
4076     {\r
4077         "id": "77dbb1e6.82cb3",\r
4078         "type": "block",\r
4079         "name": "block : atomic",\r
4080         "xml": "<block atomic='true'>",\r
4081         "atomic": "true",\r
4082         "comments": "",\r
4083         "outputs": 1,\r
4084         "x": 6176.566665649414,\r
4085         "y": 4225.566665649414,\r
4086         "z": "7a2c5977.5cc868",\r
4087         "wires": [\r
4088             [\r
4089                 "88be3e5.2470dc",\r
4090                 "7d97455b.7a4494"\r
4091             ]\r
4092         ]\r
4093     },\r
4094     {\r
4095         "id": "7d97455b.7a4494",\r
4096         "type": "set",\r
4097         "name": "set twoD array",\r
4098         "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
4099         "comments": "",\r
4100         "x": 6367.566665649414,\r
4101         "y": 4284.566665649414,\r
4102         "z": "7a2c5977.5cc868",\r
4103         "wires": []\r
4104     },\r
4105     {\r
4106         "id": "18af5fa5.bfa388",\r
4107         "type": "block",\r
4108         "name": "block",\r
4109         "xml": "<block>\n",\r
4110         "atomic": "false",\r
4111         "comments": "",\r
4112         "outputs": 1,\r
4113         "x": 6567.566665649414,\r
4114         "y": 4182.566665649414,\r
4115         "z": "7a2c5977.5cc868",\r
4116         "wires": [\r
4117             []\r
4118         ]\r
4119     },\r
4120     {\r
4121         "id": "cc632799.cbb108",\r
4122         "type": "break",\r
4123         "name": "break",\r
4124         "xml": "<break>\n",\r
4125         "comments": "",\r
4126         "x": 6738.566665649414,\r
4127         "y": 4309.566665649414,\r
4128         "z": "7a2c5977.5cc868",\r
4129         "wires": []\r
4130     },\r
4131     {\r
4132         "id": "ea78e7b3.e08de",\r
4133         "type": "switchNode",\r
4134         "name": "switch dstPort == NULL",\r
4135         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4136         "comments": "",\r
4137         "outputs": 1,\r
4138         "x": 5135.566665649414,\r
4139         "y": 2521.566665649414,\r
4140         "z": "7a2c5977.5cc868",\r
4141         "wires": [\r
4142             [\r
4143                 "11f77bdc.5c21c4",\r
4144                 "4e61ac39.13325c"\r
4145             ]\r
4146         ]\r
4147     },\r
4148     {\r
4149         "id": "11f77bdc.5c21c4",\r
4150         "type": "outcomeTrue",\r
4151         "name": "true",\r
4152         "xml": "<outcome value='true'>\n",\r
4153         "comments": "",\r
4154         "outputs": 1,\r
4155         "x": 5524.566665649414,\r
4156         "y": 2499.566665649414,\r
4157         "z": "7a2c5977.5cc868",\r
4158         "wires": [\r
4159             [\r
4160                 "7430e7ea.530e58"\r
4161             ]\r
4162         ]\r
4163     },\r
4164     {\r
4165         "id": "4e61ac39.13325c",\r
4166         "type": "outcomeFalse",\r
4167         "name": "false",\r
4168         "xml": "<outcome value='false'>\n",\r
4169         "comments": "",\r
4170         "outputs": 1,\r
4171         "x": 5525.566665649414,\r
4172         "y": 2545.566665649414,\r
4173         "z": "7a2c5977.5cc868",\r
4174         "wires": [\r
4175             [\r
4176                 "40bd7840.ab6ab8"\r
4177             ]\r
4178         ]\r
4179     },\r
4180     {\r
4181         "id": "7430e7ea.530e58",\r
4182         "type": "set",\r
4183         "name": "set access-provider-id and client-id",\r
4184         "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
4185         "comments": "",\r
4186         "x": 5738.566665649414,\r
4187         "y": 2498.566665649414,\r
4188         "z": "7a2c5977.5cc868",\r
4189         "wires": []\r
4190     },\r
4191     {\r
4192         "id": "40bd7840.ab6ab8",\r
4193         "type": "set",\r
4194         "name": "set access-provider-id and client-id",\r
4195         "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
4196         "comments": "",\r
4197         "x": 5736.566665649414,\r
4198         "y": 2543.566665649414,\r
4199         "z": "7a2c5977.5cc868",\r
4200         "wires": []\r
4201     },\r
4202     {\r
4203         "id": "d757ef24.d8b4b8",\r
4204         "type": "set",\r
4205         "name": "set attachment_param sliceG",\r
4206         "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
4207         "comments": "",\r
4208         "x": 4661.566665649414,\r
4209         "y": 4399.566665649414,\r
4210         "z": "7a2c5977.5cc868",\r
4211         "wires": []\r
4212     },\r
4213     {\r
4214         "id": "b77c6069.584e4",\r
4215         "type": "execute",\r
4216         "name": "execute RestApiCallNode sliceG creation domainG",\r
4217         "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
4218         "comments": "",\r
4219         "outputs": 1,\r
4220         "x": 4246.566665649414,\r
4221         "y": 4507.566665649414,\r
4222         "z": "7a2c5977.5cc868",\r
4223         "wires": [\r
4224             [\r
4225                 "ba44af6e.91f5c8",\r
4226                 "3bd2b367.4ad41c"\r
4227             ]\r
4228         ]\r
4229     },\r
4230     {\r
4231         "id": "3bd2b367.4ad41c",\r
4232         "type": "failure",\r
4233         "name": "failure",\r
4234         "xml": "<outcome value='failure'>\n",\r
4235         "comments": "",\r
4236         "outputs": 1,\r
4237         "x": 4529.566665649414,\r
4238         "y": 4487.566665649414,\r
4239         "z": "7a2c5977.5cc868",\r
4240         "wires": [\r
4241             [\r
4242                 "37d6233a.1b0304"\r
4243             ]\r
4244         ]\r
4245     },\r
4246     {\r
4247         "id": "ba44af6e.91f5c8",\r
4248         "type": "success",\r
4249         "name": "success",\r
4250         "xml": "<outcome value='success'>\n",\r
4251         "comments": "",\r
4252         "outputs": 1,\r
4253         "x": 4530.566879272461,\r
4254         "y": 4538.566575050354,\r
4255         "z": "7a2c5977.5cc868",\r
4256         "wires": [\r
4257             [\r
4258                 "37a623d1.3ee5dc"\r
4259             ]\r
4260         ]\r
4261     },\r
4262     {\r
4263         "id": "37d6233a.1b0304",\r
4264         "type": "returnFailure",\r
4265         "name": "return failure",\r
4266         "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
4267         "comments": "",\r
4268         "x": 4669.566913604736,\r
4269         "y": 4487.566666603088,\r
4270         "z": "7a2c5977.5cc868",\r
4271         "wires": []\r
4272     },\r
4273     {\r
4274         "id": "37a623d1.3ee5dc",\r
4275         "type": "block",\r
4276         "name": "block",\r
4277         "xml": "<block>\n",\r
4278         "atomic": "false",\r
4279         "comments": "",\r
4280         "outputs": 1,\r
4281         "x": 4675.593925476074,\r
4282         "y": 4536.31206035614,\r
4283         "z": "7a2c5977.5cc868",\r
4284         "wires": [\r
4285             []\r
4286         ]\r
4287     },\r
4288     {\r
4289         "id": "d3bd92d0.f9c398",\r
4290         "type": "set",\r
4291         "name": "set srcdstpnf-name",\r
4292         "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
4293         "comments": "",\r
4294         "x": 5319.566665649414,\r
4295         "y": 2641.566665649414,\r
4296         "z": "7a2c5977.5cc868",\r
4297         "wires": []\r
4298     },\r
4299     {\r
4300         "id": "a0d9c335.32979",\r
4301         "type": "get-resource",\r
4302         "name": "get-resource tmp.srcdstpnf-name",\r
4303         "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
4304         "comments": "",\r
4305         "outputs": 1,\r
4306         "x": 5363.566665649414,\r
4307         "y": 2689.566665649414,\r
4308         "z": "7a2c5977.5cc868",\r
4309         "wires": [\r
4310             [\r
4311                 "36774af5.729fc6",\r
4312                 "692ec606.1c0bf",\r
4313                 "a64279c9.e169f8"\r
4314             ]\r
4315         ]\r
4316     },\r
4317     {\r
4318         "id": "36774af5.729fc6",\r
4319         "type": "success",\r
4320         "name": "success",\r
4321         "xml": "<outcome value='success'>\n",\r
4322         "comments": "",\r
4323         "outputs": 1,\r
4324         "x": 5576.066665649414,\r
4325         "y": 2636.566665649414,\r
4326         "z": "7a2c5977.5cc868",\r
4327         "wires": [\r
4328             [\r
4329                 "24f01093.ed22"\r
4330             ]\r
4331         ]\r
4332     },\r
4333     {\r
4334         "id": "692ec606.1c0bf",\r
4335         "type": "not-found",\r
4336         "name": "not-found",\r
4337         "xml": "<outcome value='not-found'>\n",\r
4338         "comments": "",\r
4339         "outputs": 1,\r
4340         "x": 5588.066665649414,\r
4341         "y": 2686.566665649414,\r
4342         "z": "7a2c5977.5cc868",\r
4343         "wires": [\r
4344             [\r
4345                 "b3f7be01.e6de6"\r
4346             ]\r
4347         ]\r
4348     },\r
4349     {\r
4350         "id": "a64279c9.e169f8",\r
4351         "type": "other",\r
4352         "name": "other",\r
4353         "xml": "<outcome value='Other'>\n",\r
4354         "comments": "",\r
4355         "outputs": 1,\r
4356         "x": 5579.066665649414,\r
4357         "y": 2741.566665649414,\r
4358         "z": "7a2c5977.5cc868",\r
4359         "wires": [\r
4360             [\r
4361                 "4198105e.daee7"\r
4362             ]\r
4363         ]\r
4364     },\r
4365     {\r
4366         "id": "4198105e.daee7",\r
4367         "type": "returnFailure",\r
4368         "name": "return failure",\r
4369         "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
4370         "comments": "",\r
4371         "x": 5724.066665649414,\r
4372         "y": 2740.566665649414,\r
4373         "z": "7a2c5977.5cc868",\r
4374         "wires": []\r
4375     },\r
4376     {\r
4377         "id": "b3f7be01.e6de6",\r
4378         "type": "returnFailure",\r
4379         "name": "return failure",\r
4380         "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
4381         "comments": "",\r
4382         "x": 5735.066665649414,\r
4383         "y": 2683.566665649414,\r
4384         "z": "7a2c5977.5cc868",\r
4385         "wires": []\r
4386     },\r
4387     {\r
4388         "id": "24f01093.ed22",\r
4389         "type": "block",\r
4390         "name": "block",\r
4391         "xml": "<block>\n",\r
4392         "atomic": "false",\r
4393         "comments": "",\r
4394         "outputs": 1,\r
4395         "x": 5701.449111938477,\r
4396         "y": 2630.2223358154297,\r
4397         "z": "7a2c5977.5cc868",\r
4398         "wires": [\r
4399             [\r
4400                 "96aa274b.2af748"\r
4401             ]\r
4402         ]\r
4403     },\r
4404     {\r
4405         "id": "70fdda05.22abe4",\r
4406         "type": "outcome",\r
4407         "name": "esr-thirdparty-sdnc",\r
4408         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
4409         "comments": "",\r
4410         "outputs": 1,\r
4411         "x": 6260.566665649414,\r
4412         "y": 2648.566665649414,\r
4413         "z": "7a2c5977.5cc868",\r
4414         "wires": [\r
4415             [\r
4416                 "5724269.b9bddd8"\r
4417             ]\r
4418         ]\r
4419     },\r
4420     {\r
4421         "id": "5724269.b9bddd8",\r
4422         "type": "block",\r
4423         "name": "block : atomic",\r
4424         "xml": "<block atomic=\"true\">",\r
4425         "atomic": "true",\r
4426         "outputs": 1,\r
4427         "x": 6437.566665649414,\r
4428         "y": 2640.566665649414,\r
4429         "z": "7a2c5977.5cc868",\r
4430         "wires": [\r
4431             [\r
4432                 "29fcda51.42b766",\r
4433                 "d5b1f1ff.e7e908"\r
4434             ]\r
4435         ]\r
4436     },\r
4437     {\r
4438         "id": "96aa274b.2af748",\r
4439         "type": "for",\r
4440         "name": "for each relationship",\r
4441         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
4442         "comments": "",\r
4443         "outputs": 1,\r
4444         "x": 5862.566665649414,\r
4445         "y": 2644.566665649414,\r
4446         "z": "7a2c5977.5cc868",\r
4447         "wires": [\r
4448             [\r
4449                 "c5ea1030.bae808"\r
4450             ]\r
4451         ]\r
4452     },\r
4453     {\r
4454         "id": "c5ea1030.bae808",\r
4455         "type": "switchNode",\r
4456         "name": "switch related-to",\r
4457         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4458         "comments": "",\r
4459         "outputs": 1,\r
4460         "x": 6057.566665649414,\r
4461         "y": 2644.566665649414,\r
4462         "z": "7a2c5977.5cc868",\r
4463         "wires": [\r
4464             [\r
4465                 "70fdda05.22abe4"\r
4466             ]\r
4467         ]\r
4468     },\r
4469     {\r
4470         "id": "d5b1f1ff.e7e908",\r
4471         "type": "execute",\r
4472         "name": "get esr-thirdparty-sdnc",\r
4473         "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
4474         "comments": "",\r
4475         "outputs": 1,\r
4476         "x": 6645.566665649414,\r
4477         "y": 2647.566665649414,\r
4478         "z": "7a2c5977.5cc868",\r
4479         "wires": [\r
4480             [\r
4481                 "56bf4e9f.3968f8",\r
4482                 "437d47d9.20134",\r
4483                 "1f059162.8a738f"\r
4484             ]\r
4485         ]\r
4486     },\r
4487     {\r
4488         "id": "29fcda51.42b766",\r
4489         "type": "set",\r
4490         "name": "set esr-thirdparty-sdnc domainG id",\r
4491         "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
4492         "comments": "",\r
4493         "x": 6675.566665649414,\r
4494         "y": 2595.566665649414,\r
4495         "z": "7a2c5977.5cc868",\r
4496         "wires": []\r
4497     },\r
4498     {\r
4499         "id": "56bf4e9f.3968f8",\r
4500         "type": "success",\r
4501         "name": "success",\r
4502         "xml": "<outcome value='success'>\n",\r
4503         "comments": "",\r
4504         "outputs": 1,\r
4505         "x": 6855.566665649414,\r
4506         "y": 2638.566665649414,\r
4507         "z": "7a2c5977.5cc868",\r
4508         "wires": [\r
4509             [\r
4510                 "1dc1cb6d.3c36b5"\r
4511             ]\r
4512         ]\r
4513     },\r
4514     {\r
4515         "id": "437d47d9.20134",\r
4516         "type": "not-found",\r
4517         "name": "not-found",\r
4518         "xml": "<outcome value='not-found'>\n",\r
4519         "comments": "",\r
4520         "outputs": 1,\r
4521         "x": 6847.566665649414,\r
4522         "y": 2693.566665649414,\r
4523         "z": "7a2c5977.5cc868",\r
4524         "wires": [\r
4525             [\r
4526                 "7f43de09.864508"\r
4527             ]\r
4528         ]\r
4529     },\r
4530     {\r
4531         "id": "1f059162.8a738f",\r
4532         "type": "other",\r
4533         "name": "other",\r
4534         "xml": "<outcome value='Other'>\n",\r
4535         "comments": "",\r
4536         "outputs": 1,\r
4537         "x": 6852.566665649414,\r
4538         "y": 2750.566665649414,\r
4539         "z": "7a2c5977.5cc868",\r
4540         "wires": [\r
4541             [\r
4542                 "b0293f66.5c8dc"\r
4543             ]\r
4544         ]\r
4545     },\r
4546     {\r
4547         "id": "b0293f66.5c8dc",\r
4548         "type": "returnFailure",\r
4549         "name": "return failure",\r
4550         "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
4551         "comments": "",\r
4552         "x": 7004.566665649414,\r
4553         "y": 2751.566665649414,\r
4554         "z": "7a2c5977.5cc868",\r
4555         "wires": []\r
4556     },\r
4557     {\r
4558         "id": "7f43de09.864508",\r
4559         "type": "returnFailure",\r
4560         "name": "return failure",\r
4561         "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
4562         "comments": "",\r
4563         "x": 7015.566665649414,\r
4564         "y": 2696.566665649414,\r
4565         "z": "7a2c5977.5cc868",\r
4566         "wires": []\r
4567     },\r
4568     {\r
4569         "id": "1dc1cb6d.3c36b5",\r
4570         "type": "block",\r
4571         "name": "block",\r
4572         "xml": "<block>\n",\r
4573         "atomic": "false",\r
4574         "comments": "",\r
4575         "outputs": 1,\r
4576         "x": 6999.948989868164,\r
4577         "y": 2636.2223358154297,\r
4578         "z": "7a2c5977.5cc868",\r
4579         "wires": [\r
4580             [\r
4581                 "966090bf.048df8"\r
4582             ]\r
4583         ]\r
4584     },\r
4585     {\r
4586         "id": "966090bf.048df8",\r
4587         "type": "set",\r
4588         "name": "set controller domainA data",\r
4589         "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
4590         "comments": "",\r
4591         "x": 7214.566665649414,\r
4592         "y": 2632.566665649414,\r
4593         "z": "7a2c5977.5cc868",\r
4594         "wires": []\r
4595     },\r
4596     {\r
4597         "id": "d21b0d43.234748",\r
4598         "type": "block",\r
4599         "name": "block : atomic",\r
4600         "xml": "<block atomic='true'>",\r
4601         "atomic": "true",\r
4602         "comments": "",\r
4603         "outputs": 1,\r
4604         "x": 3830.566665649414,\r
4605         "y": 4399.566665649414,\r
4606         "z": "7a2c5977.5cc868",\r
4607         "wires": [\r
4608             [\r
4609                 "7025e4fd.b3ba94",\r
4610                 "b77c6069.584e4"\r
4611             ]\r
4612         ]\r
4613     },\r
4614     {\r
4615         "id": "df425f50.085b58",\r
4616         "type": "switchNode",\r
4617         "name": "switch dmnsidx == 0 (domainA)",\r
4618         "xml": "<switch test='`$otnidx == 0`'>\n",\r
4619         "comments": "",\r
4620         "outputs": 1,\r
4621         "x": 5333.566665649414,\r
4622         "y": 2858.566665649414,\r
4623         "z": "7a2c5977.5cc868",\r
4624         "wires": [\r
4625             [\r
4626                 "f12d2166.2196f",\r
4627                 "682813b1.580324"\r
4628             ]\r
4629         ]\r
4630     },\r
4631     {\r
4632         "id": "f12d2166.2196f",\r
4633         "type": "outcomeTrue",\r
4634         "name": "true",\r
4635         "xml": "<outcome value='true'>\n",\r
4636         "comments": "",\r
4637         "outputs": 1,\r
4638         "x": 5534.566665649414,\r
4639         "y": 2856.566665649414,\r
4640         "z": "7a2c5977.5cc868",\r
4641         "wires": [\r
4642             [\r
4643                 "c9eeec2d.e136b"\r
4644             ]\r
4645         ]\r
4646     },\r
4647     {\r
4648         "id": "c9eeec2d.e136b",\r
4649         "type": "set",\r
4650         "name": "set attachment_param domain A",\r
4651         "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
4652         "comments": "",\r
4653         "x": 5748.566665649414,\r
4654         "y": 2858.566665649414,\r
4655         "z": "7a2c5977.5cc868",\r
4656         "wires": []\r
4657     },\r
4658     {\r
4659         "id": "cb7ac096.290b9",\r
4660         "type": "switchNode",\r
4661         "name": "switch dmnsidx == last (domainB)",\r
4662         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
4663         "comments": "",\r
4664         "outputs": 1,\r
4665         "x": 5751.566665649414,\r
4666         "y": 2907.566665649414,\r
4667         "z": "7a2c5977.5cc868",\r
4668         "wires": [\r
4669             [\r
4670                 "69e4928.c222dec",\r
4671                 "f0c4a8ec.842b18"\r
4672             ]\r
4673         ]\r
4674     },\r
4675     {\r
4676         "id": "69e4928.c222dec",\r
4677         "type": "outcomeTrue",\r
4678         "name": "true",\r
4679         "xml": "<outcome value='true'>\n",\r
4680         "comments": "",\r
4681         "outputs": 1,\r
4682         "x": 5981.566665649414,\r
4683         "y": 2903.566665649414,\r
4684         "z": "7a2c5977.5cc868",\r
4685         "wires": [\r
4686             [\r
4687                 "2b076d1.a6bcd92"\r
4688             ]\r
4689         ]\r
4690     },\r
4691     {\r
4692         "id": "2b076d1.a6bcd92",\r
4693         "type": "set",\r
4694         "name": "set attachment_param domain B",\r
4695         "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
4696         "comments": "",\r
4697         "x": 6195.566665649414,\r
4698         "y": 2906.566665649414,\r
4699         "z": "7a2c5977.5cc868",\r
4700         "wires": []\r
4701     },\r
4702     {\r
4703         "id": "682813b1.580324",\r
4704         "type": "outcomeFalse",\r
4705         "name": "false",\r
4706         "xml": "<outcome value='false'>\n",\r
4707         "comments": "",\r
4708         "outputs": 1,\r
4709         "x": 5534.566665649414,\r
4710         "y": 2905.566665649414,\r
4711         "z": "7a2c5977.5cc868",\r
4712         "wires": [\r
4713             [\r
4714                 "cb7ac096.290b9"\r
4715             ]\r
4716         ]\r
4717     },\r
4718     {\r
4719         "id": "f0c4a8ec.842b18",\r
4720         "type": "outcomeFalse",\r
4721         "name": "false",\r
4722         "xml": "<outcome value='false'>\n",\r
4723         "comments": "",\r
4724         "outputs": 1,\r
4725         "x": 5982.566665649414,\r
4726         "y": 2949.566665649414,\r
4727         "z": "7a2c5977.5cc868",\r
4728         "wires": [\r
4729             [\r
4730                 "707799e0.88ec2"\r
4731             ]\r
4732         ]\r
4733     },\r
4734     {\r
4735         "id": "707799e0.88ec2",\r
4736         "type": "set",\r
4737         "name": "set attachment_param domain G",\r
4738         "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
4739         "comments": "",\r
4740         "x": 6196.566665649414,\r
4741         "y": 2949.566665649414,\r
4742         "z": "7a2c5977.5cc868",\r
4743         "wires": []\r
4744     },\r
4745     {\r
4746         "id": "850f3d1.0a8294",\r
4747         "type": "set",\r
4748         "name": "set tmp.slicevpns",\r
4749         "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
4750         "comments": "",\r
4751         "x": 6094.566665649414,\r
4752         "y": 2998.566665649414,\r
4753         "z": "7a2c5977.5cc868",\r
4754         "wires": []\r
4755     },\r
4756     {\r
4757         "id": "aaee7064.6ec4a8",\r
4758         "type": "switchNode",\r
4759         "name": "switch vpnuuid is for this slice",\r
4760         "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",\r
4761         "comments": "",\r
4762         "outputs": 1,\r
4763         "x": 4658.566665649414,\r
4764         "y": 4222.566665649414,\r
4765         "z": "7a2c5977.5cc868",\r
4766         "wires": [\r
4767             [\r
4768                 "89261301.f79ae",\r
4769                 "bc254e44.388f98"\r
4770             ]\r
4771         ]\r
4772     },\r
4773     {\r
4774         "id": "89261301.f79ae",\r
4775         "type": "outcomeTrue",\r
4776         "name": "true",\r
4777         "xml": "<outcome value='true'>\n",\r
4778         "comments": "",\r
4779         "outputs": 1,\r
4780         "x": 4875.566665649414,\r
4781         "y": 4201.566665649414,\r
4782         "z": "7a2c5977.5cc868",\r
4783         "wires": [\r
4784             [\r
4785                 "b99882e3.9c25b8"\r
4786             ]\r
4787         ]\r
4788     },\r
4789     {\r
4790         "id": "bc254e44.388f98",\r
4791         "type": "outcomeFalse",\r
4792         "name": "false",\r
4793         "xml": "<outcome value='false'>\n",\r
4794         "comments": "",\r
4795         "outputs": 1,\r
4796         "x": 4875.566665649414,\r
4797         "y": 4250.566665649414,\r
4798         "z": "7a2c5977.5cc868",\r
4799         "wires": [\r
4800             []\r
4801         ]\r
4802     },\r
4803     {\r
4804         "id": "b99882e3.9c25b8",\r
4805         "type": "block",\r
4806         "name": "block : atomic",\r
4807         "xml": "<block atomic='true'>",\r
4808         "atomic": "true",\r
4809         "comments": "",\r
4810         "outputs": 1,\r
4811         "x": 5043.566665649414,\r
4812         "y": 4201.566665649414,\r
4813         "z": "7a2c5977.5cc868",\r
4814         "wires": [\r
4815             [\r
4816                 "714d6791.87f3b8",\r
4817                 "5f82b085.2694c"\r
4818             ]\r
4819         ]\r
4820     },\r
4821     {\r
4822         "id": "67e01b15.d67c64",\r
4823         "type": "save",\r
4824         "name": "get logical-link from aai",\r
4825         "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
4826         "comments": "",\r
4827         "outputs": 1,\r
4828         "x": 1380.566650390625,\r
4829         "y": 835.566650390625,\r
4830         "z": "7a2c5977.5cc868",\r
4831         "wires": [\r
4832             [\r
4833                 "fdf74857.41608",\r
4834                 "ee4e91c.5d8d17",\r
4835                 "855c696.c46c118"\r
4836             ]\r
4837         ]\r
4838     },\r
4839     {\r
4840         "id": "fdf74857.41608",\r
4841         "type": "not-found",\r
4842         "name": "not-found",\r
4843         "xml": "<outcome value='not-found'>\n",\r
4844         "comments": "",\r
4845         "outputs": 1,\r
4846         "x": 1596.057632446289,\r
4847         "y": 799.1406402587891,\r
4848         "z": "7a2c5977.5cc868",\r
4849         "wires": [\r
4850             [\r
4851                 "43b6bc30.e8a804"\r
4852             ]\r
4853         ]\r
4854     },\r
4855     {\r
4856         "id": "ee4e91c.5d8d17",\r
4857         "type": "failure",\r
4858         "name": "failure",\r
4859         "xml": "<outcome value='failure'>\n",\r
4860         "comments": "",\r
4861         "outputs": 1,\r
4862         "x": 1584.566665649414,\r
4863         "y": 843.5666656494141,\r
4864         "z": "7a2c5977.5cc868",\r
4865         "wires": [\r
4866             [\r
4867                 "a4b65a55.9111d"\r
4868             ]\r
4869         ]\r
4870     },\r
4871     {\r
4872         "id": "43b6bc30.e8a804",\r
4873         "type": "returnFailure",\r
4874         "name": "return failure",\r
4875         "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
4876         "comments": "",\r
4877         "x": 1744.629165649414,\r
4878         "y": 799.4264068603516,\r
4879         "z": "7a2c5977.5cc868",\r
4880         "wires": []\r
4881     },\r
4882     {\r
4883         "id": "a4b65a55.9111d",\r
4884         "type": "returnFailure",\r
4885         "name": "return failure",\r
4886         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4887         "comments": "",\r
4888         "x": 1743.566665649414,\r
4889         "y": 843.5666656494141,\r
4890         "z": "7a2c5977.5cc868",\r
4891         "wires": []\r
4892     },\r
4893     {\r
4894         "id": "855c696.c46c118",\r
4895         "type": "success",\r
4896         "name": "success",\r
4897         "xml": "<outcome value='success'>\n",\r
4898         "comments": "",\r
4899         "outputs": 1,\r
4900         "x": 1589.566665649414,\r
4901         "y": 886.5666656494141,\r
4902         "z": "7a2c5977.5cc868",\r
4903         "wires": [\r
4904             [\r
4905                 "2b531922.e9da96"\r
4906             ]\r
4907         ]\r
4908     },\r
4909     {\r
4910         "id": "2b531922.e9da96",\r
4911         "type": "block",\r
4912         "name": "block : atomic",\r
4913         "xml": "<block atomic='true'>",\r
4914         "atomic": "true",\r
4915         "comments": "",\r
4916         "outputs": 1,\r
4917         "x": 735.5666656494141,\r
4918         "y": 1225.566665649414,\r
4919         "z": "7a2c5977.5cc868",\r
4920         "wires": [\r
4921             [\r
4922                 "7c91e56b.1594b4"\r
4923             ]\r
4924         ]\r
4925     },\r
4926     {\r
4927         "id": "7c91e56b.1594b4",\r
4928         "type": "for",\r
4929         "name": "for each svc-instance relationship",\r
4930         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
4931         "comments": "",\r
4932         "outputs": 1,\r
4933         "x": 1009.5666656494141,\r
4934         "y": 1225.566665649414,\r
4935         "z": "7a2c5977.5cc868",\r
4936         "wires": [\r
4937             [\r
4938                 "bfa4ee31.b57fd"\r
4939             ]\r
4940         ]\r
4941     },\r
4942     {\r
4943         "id": "bfa4ee31.b57fd",\r
4944         "type": "switchNode",\r
4945         "name": "switch related-to",\r
4946         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
4947         "comments": "",\r
4948         "outputs": 1,\r
4949         "x": 1244.900161743164,\r
4950         "y": 1226.566665649414,\r
4951         "z": "7a2c5977.5cc868",\r
4952         "wires": [\r
4953             [\r
4954                 "ccebaa1.97cf958"\r
4955             ]\r
4956         ]\r
4957     },\r
4958     {\r
4959         "id": "ccebaa1.97cf958",\r
4960         "type": "outcome",\r
4961         "name": "connectivity",\r
4962         "xml": "<outcome value='connectivity'>\n",\r
4963         "comments": "",\r
4964         "outputs": 1,\r
4965         "x": 528.5669097900391,\r
4966         "y": 1379.566665649414,\r
4967         "z": "7a2c5977.5cc868",\r
4968         "wires": [\r
4969             [\r
4970                 "6f5f9c23.47e85c"\r
4971             ]\r
4972         ]\r
4973     },\r
4974     {\r
4975         "id": "36292c23.d5bad4",\r
4976         "type": "save",\r
4977         "name": "get connectivity from aai",\r
4978         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
4979         "comments": "",\r
4980         "outputs": 1,\r
4981         "x": 917.5666656494141,\r
4982         "y": 1384.566665649414,\r
4983         "z": "7a2c5977.5cc868",\r
4984         "wires": [\r
4985             [\r
4986                 "f72960d6.00c9a8",\r
4987                 "cf896404.076eb8",\r
4988                 "8c05370a.85ef68"\r
4989             ]\r
4990         ]\r
4991     },\r
4992     {\r
4993         "id": "f72960d6.00c9a8",\r
4994         "type": "success",\r
4995         "name": "success",\r
4996         "xml": "<outcome value='success'>\n",\r
4997         "comments": "",\r
4998         "outputs": 1,\r
4999         "x": 1113.566665649414,\r
5000         "y": 1349.566665649414,\r
5001         "z": "7a2c5977.5cc868",\r
5002         "wires": [\r
5003             [\r
5004                 "3b76e03e.4509b"\r
5005             ]\r
5006         ]\r
5007     },\r
5008     {\r
5009         "id": "cf896404.076eb8",\r
5010         "type": "not-found",\r
5011         "name": "not-found",\r
5012         "xml": "<outcome value='not-found'>\n",\r
5013         "comments": "",\r
5014         "outputs": 1,\r
5015         "x": 1114.057632446289,\r
5016         "y": 1395.1407012939453,\r
5017         "z": "7a2c5977.5cc868",\r
5018         "wires": [\r
5019             [\r
5020                 "c0ebf57b.8932c"\r
5021             ]\r
5022         ]\r
5023     },\r
5024     {\r
5025         "id": "8c05370a.85ef68",\r
5026         "type": "failure",\r
5027         "name": "failure",\r
5028         "xml": "<outcome value='failure'>\n",\r
5029         "comments": "",\r
5030         "outputs": 1,\r
5031         "x": 1078.566665649414,\r
5032         "y": 1440.566665649414,\r
5033         "z": "7a2c5977.5cc868",\r
5034         "wires": [\r
5035             [\r
5036                 "ac014ec8.afc2c"\r
5037             ]\r
5038         ]\r
5039     },\r
5040     {\r
5041         "id": "c0ebf57b.8932c",\r
5042         "type": "returnFailure",\r
5043         "name": "return failure",\r
5044         "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
5045         "comments": "",\r
5046         "x": 1273.629165649414,\r
5047         "y": 1392.4264068603516,\r
5048         "z": "7a2c5977.5cc868",\r
5049         "wires": []\r
5050     },\r
5051     {\r
5052         "id": "ac014ec8.afc2c",\r
5053         "type": "returnFailure",\r
5054         "name": "return failure",\r
5055         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5056         "comments": "",\r
5057         "x": 1231.566665649414,\r
5058         "y": 1442.566665649414,\r
5059         "z": "7a2c5977.5cc868",\r
5060         "wires": []\r
5061     },\r
5062     {\r
5063         "id": "ab34961f.f94a7",\r
5064         "type": "switchNode",\r
5065         "name": "switch loglink-id exists in conn",\r
5066         "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
5067         "comments": "",\r
5068         "outputs": 1,\r
5069         "x": 1506.566665649414,\r
5070         "y": 1332.566665649414,\r
5071         "z": "7a2c5977.5cc868",\r
5072         "wires": [\r
5073             [\r
5074                 "743d201b.02ef4",\r
5075                 "96c2bcb9.b7be6"\r
5076             ]\r
5077         ]\r
5078     },\r
5079     {\r
5080         "id": "743d201b.02ef4",\r
5081         "type": "outcomeTrue",\r
5082         "name": "true",\r
5083         "xml": "<outcome value='true'>\n",\r
5084         "comments": "",\r
5085         "outputs": 1,\r
5086         "x": 1717.566665649414,\r
5087         "y": 1297.566665649414,\r
5088         "z": "7a2c5977.5cc868",\r
5089         "wires": [\r
5090             [\r
5091                 "bc409e2e.3633b"\r
5092             ]\r
5093         ]\r
5094     },\r
5095     {\r
5096         "id": "96c2bcb9.b7be6",\r
5097         "type": "outcomeFalse",\r
5098         "name": "false",\r
5099         "xml": "<outcome value='false'>\n",\r
5100         "comments": "",\r
5101         "outputs": 1,\r
5102         "x": 1714.566665649414,\r
5103         "y": 1358.566665649414,\r
5104         "z": "7a2c5977.5cc868",\r
5105         "wires": [\r
5106             []\r
5107         ]\r
5108     },\r
5109     {\r
5110         "id": "b2c89b06.1d18",\r
5111         "type": "set",\r
5112         "name": "set currLinkIsFound",\r
5113         "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
5114         "comments": "",\r
5115         "x": 2055.566665649414,\r
5116         "y": 1270.566665649414,\r
5117         "z": "7a2c5977.5cc868",\r
5118         "wires": []\r
5119     },\r
5120     {\r
5121         "id": "bc409e2e.3633b",\r
5122         "type": "block",\r
5123         "name": "block : atomic",\r
5124         "xml": "<block atomic=\"true\">",\r
5125         "atomic": "true",\r
5126         "outputs": 1,\r
5127         "x": 1869.566665649414,\r
5128         "y": 1298.566665649414,\r
5129         "z": "7a2c5977.5cc868",\r
5130         "wires": [\r
5131             [\r
5132                 "b2c89b06.1d18"\r
5133             ]\r
5134         ]\r
5135     },\r
5136     {\r
5137         "id": "8e75c992.3dcad8",\r
5138         "type": "break",\r
5139         "name": "break",\r
5140         "xml": "<break>\n",\r
5141         "comments": "",\r
5142         "x": 2022.566665649414,\r
5143         "y": 1326.566665649414,\r
5144         "z": "7a2c5977.5cc868",\r
5145         "wires": []\r
5146     },\r
5147     {\r
5148         "id": "aabee6e1.198dd8",\r
5149         "type": "comment",\r
5150         "name": "currLinkIsFound. Go to the next logical-link",\r
5151         "info": "",\r
5152         "comments": "",\r
5153         "x": 2027.566665649414,\r
5154         "y": 1220.566665649414,\r
5155         "z": "7a2c5977.5cc868",\r
5156         "wires": []\r
5157     },\r
5158     {\r
5159         "id": "ef9e5601.232bf8",\r
5160         "type": "switchNode",\r
5161         "name": "switch currLinkIsFound",\r
5162         "xml": "<switch test='`$currLinkIsFound`'>\n",\r
5163         "comments": "",\r
5164         "outputs": 1,\r
5165         "x": 1309.566665649414,\r
5166         "y": 950.5666656494141,\r
5167         "z": "7a2c5977.5cc868",\r
5168         "wires": [\r
5169             [\r
5170                 "b3aa3ada.f160e8",\r
5171                 "b7eb38ae.e82468"\r
5172             ]\r
5173         ]\r
5174     },\r
5175     {\r
5176         "id": "b3aa3ada.f160e8",\r
5177         "type": "outcomeTrue",\r
5178         "name": "true",\r
5179         "xml": "<outcome value='true'>\n",\r
5180         "comments": "",\r
5181         "outputs": 1,\r
5182         "x": 1495.566665649414,\r
5183         "y": 929.5666656494141,\r
5184         "z": "7a2c5977.5cc868",\r
5185         "wires": [\r
5186             [\r
5187                 "92e1cebb.b308b8"\r
5188             ]\r
5189         ]\r
5190     },\r
5191     {\r
5192         "id": "b7eb38ae.e82468",\r
5193         "type": "outcomeFalse",\r
5194         "name": "false",\r
5195         "xml": "<outcome value='false'>\n",\r
5196         "comments": "",\r
5197         "outputs": 1,\r
5198         "x": 1492.566665649414,\r
5199         "y": 1065.566665649414,\r
5200         "z": "7a2c5977.5cc868",\r
5201         "wires": [\r
5202             [\r
5203                 "9334f6e1.75bd8"\r
5204             ]\r
5205         ]\r
5206     },\r
5207     {\r
5208         "id": "92e1cebb.b308b8",\r
5209         "type": "block",\r
5210         "name": "block : atomic",\r
5211         "xml": "<block atomic=\"true\">",\r
5212         "atomic": "true",\r
5213         "outputs": 1,\r
5214         "x": 1737.566665649414,\r
5215         "y": 924.5666656494141,\r
5216         "z": "7a2c5977.5cc868",\r
5217         "wires": [\r
5218             []\r
5219         ]\r
5220     },\r
5221     {\r
5222         "id": "33f6edc7.c109aa",\r
5223         "type": "comment",\r
5224         "name": "A new logical-link has been found: modify process should be triggered",\r
5225         "info": "",\r
5226         "comments": "",\r
5227         "x": 1683.566665649414,\r
5228         "y": 1028.566665649414,\r
5229         "z": "7a2c5977.5cc868",\r
5230         "wires": []\r
5231     },\r
5232     {\r
5233         "id": "3b76e03e.4509b",\r
5234         "type": "block",\r
5235         "name": "block : atomic",\r
5236         "xml": "<block atomic=\"true\">",\r
5237         "atomic": "true",\r
5238         "outputs": 1,\r
5239         "x": 1277.566665649414,\r
5240         "y": 1333.566665649414,\r
5241         "z": "7a2c5977.5cc868",\r
5242         "wires": [\r
5243             [\r
5244                 "ab34961f.f94a7",\r
5245                 "1c716952.137bb7"\r
5246             ]\r
5247         ]\r
5248     },\r
5249     {\r
5250         "id": "1c716952.137bb7",\r
5251         "type": "switchNode",\r
5252         "name": "switch connectivityBW == gfp",\r
5253         "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
5254         "comments": "",\r
5255         "outputs": 1,\r
5256         "x": 1507.566665649414,\r
5257         "y": 1423.566665649414,\r
5258         "z": "7a2c5977.5cc868",\r
5259         "wires": [\r
5260             [\r
5261                 "7f55db50.0bbafc",\r
5262                 "ba68eea1.e9a338"\r
5263             ]\r
5264         ]\r
5265     },\r
5266     {\r
5267         "id": "7f55db50.0bbafc",\r
5268         "type": "outcomeTrue",\r
5269         "name": "true",\r
5270         "xml": "<outcome value='true'>\n",\r
5271         "comments": "",\r
5272         "outputs": 1,\r
5273         "x": 1712.566665649414,\r
5274         "y": 1419.566665649414,\r
5275         "z": "7a2c5977.5cc868",\r
5276         "wires": [\r
5277             []\r
5278         ]\r
5279     },\r
5280     {\r
5281         "id": "ba68eea1.e9a338",\r
5282         "type": "outcomeFalse",\r
5283         "name": "false",\r
5284         "xml": "<outcome value='false'>\n",\r
5285         "comments": "",\r
5286         "outputs": 1,\r
5287         "x": 1714.566665649414,\r
5288         "y": 1469.566665649414,\r
5289         "z": "7a2c5977.5cc868",\r
5290         "wires": [\r
5291             [\r
5292                 "94ed181a.25fe8"\r
5293             ]\r
5294         ]\r
5295     },\r
5296     {\r
5297         "id": "e266b7f2.fe727",\r
5298         "type": "set",\r
5299         "name": "set bwModified",\r
5300         "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
5301         "comments": "",\r
5302         "x": 2063.566665649414,\r
5303         "y": 1447.566665649414,\r
5304         "z": "7a2c5977.5cc868",\r
5305         "wires": []\r
5306     },\r
5307     {\r
5308         "id": "94ed181a.25fe8",\r
5309         "type": "block",\r
5310         "name": "block : atomic",\r
5311         "xml": "<block atomic=\"true\">",\r
5312         "atomic": "true",\r
5313         "outputs": 1,\r
5314         "x": 1868.566665649414,\r
5315         "y": 1468.566665649414,\r
5316         "z": "7a2c5977.5cc868",\r
5317         "wires": [\r
5318             [\r
5319                 "e266b7f2.fe727",\r
5320                 "c9ff8521.2183a8"\r
5321             ]\r
5322         ]\r
5323     },\r
5324     {\r
5325         "id": "c9ff8521.2183a8",\r
5326         "type": "for",\r
5327         "name": "for each relationship",\r
5328         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
5329         "comments": "",\r
5330         "outputs": 1,\r
5331         "x": 888.5666656494141,\r
5332         "y": 1673.566665649414,\r
5333         "z": "7a2c5977.5cc868",\r
5334         "wires": [\r
5335             [\r
5336                 "2fcf0107.404b9e"\r
5337             ]\r
5338         ]\r
5339     },\r
5340     {\r
5341         "id": "2fcf0107.404b9e",\r
5342         "type": "switchNode",\r
5343         "name": "switch related-to",\r
5344         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
5345         "comments": "",\r
5346         "outputs": 1,\r
5347         "x": 1093.566665649414,\r
5348         "y": 1673.566665649414,\r
5349         "z": "7a2c5977.5cc868",\r
5350         "wires": [\r
5351             [\r
5352                 "f620da7d.b85a28"\r
5353             ]\r
5354         ]\r
5355     },\r
5356     {\r
5357         "id": "f620da7d.b85a28",\r
5358         "type": "outcome",\r
5359         "name": "vpn-binding",\r
5360         "xml": "<outcome value='vpn-binding'>\n",\r
5361         "comments": "",\r
5362         "outputs": 1,\r
5363         "x": 1259.566665649414,\r
5364         "y": 1673.566665649414,\r
5365         "z": "7a2c5977.5cc868",\r
5366         "wires": [\r
5367             [\r
5368                 "5afceee0.e00098"\r
5369             ]\r
5370         ]\r
5371     },\r
5372     {\r
5373         "id": "5afceee0.e00098",\r
5374         "type": "block",\r
5375         "name": "block : atomic",\r
5376         "xml": "<block atomic=\"true\">",\r
5377         "atomic": "true",\r
5378         "outputs": 1,\r
5379         "x": 1422.566665649414,\r
5380         "y": 1673.566665649414,\r
5381         "z": "7a2c5977.5cc868",\r
5382         "wires": [\r
5383             [\r
5384                 "da12db00.5b12d",\r
5385                 "a52b001a.5c9b18"\r
5386             ]\r
5387         ]\r
5388     },\r
5389     {\r
5390         "id": "a52b001a.5c9b18",\r
5391         "type": "set",\r
5392         "name": "unset tmp.aai.vpn-binding",\r
5393         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
5394         "comments": "",\r
5395         "x": 1651.566665649414,\r
5396         "y": 1613.566665649414,\r
5397         "z": "7a2c5977.5cc868",\r
5398         "wires": []\r
5399     },\r
5400     {\r
5401         "id": "da12db00.5b12d",\r
5402         "type": "save",\r
5403         "name": "get vpn-binding from aai",\r
5404         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
5405         "comments": "",\r
5406         "outputs": 1,\r
5407         "x": 1160.566665649414,\r
5408         "y": 1767.566665649414,\r
5409         "z": "7a2c5977.5cc868",\r
5410         "wires": [\r
5411             [\r
5412                 "88650b88.fc30d",\r
5413                 "ec560486.50e96",\r
5414                 "25b4ff2b.4b18b8"\r
5415             ]\r
5416         ]\r
5417     },\r
5418     {\r
5419         "id": "e1e2e790.cb03a8",\r
5420         "type": "block",\r
5421         "name": "block : atomic",\r
5422         "xml": "<block atomic=\"true\">",\r
5423         "atomic": "true",\r
5424         "outputs": 1,\r
5425         "x": 1544.566665649414,\r
5426         "y": 1767.566665649414,\r
5427         "z": "7a2c5977.5cc868",\r
5428         "wires": [\r
5429             [\r
5430                 "37781926.bbe2d6",\r
5431                 "76e90665.699c78",\r
5432                 "ce24e399.073d3"\r
5433             ]\r
5434         ]\r
5435     },\r
5436     {\r
5437         "id": "88650b88.fc30d",\r
5438         "type": "success",\r
5439         "name": "success",\r
5440         "xml": "<outcome value='success'>\n",\r
5441         "comments": "",\r
5442         "outputs": 1,\r
5443         "x": 1371.566665649414,\r
5444         "y": 1769.566665649414,\r
5445         "z": "7a2c5977.5cc868",\r
5446         "wires": [\r
5447             [\r
5448                 "e1e2e790.cb03a8"\r
5449             ]\r
5450         ]\r
5451     },\r
5452     {\r
5453         "id": "ec560486.50e96",\r
5454         "type": "not-found",\r
5455         "name": "not-found",\r
5456         "xml": "<outcome value='not-found'>\n",\r
5457         "comments": "",\r
5458         "outputs": 1,\r
5459         "x": 1372.057632446289,\r
5460         "y": 1815.1407012939453,\r
5461         "z": "7a2c5977.5cc868",\r
5462         "wires": [\r
5463             [\r
5464                 "3ccd5736.62782"\r
5465             ]\r
5466         ]\r
5467     },\r
5468     {\r
5469         "id": "25b4ff2b.4b18b8",\r
5470         "type": "failure",\r
5471         "name": "failure",\r
5472         "xml": "<outcome value='failure'>\n",\r
5473         "comments": "",\r
5474         "outputs": 1,\r
5475         "x": 1369.566665649414,\r
5476         "y": 1858.566665649414,\r
5477         "z": "7a2c5977.5cc868",\r
5478         "wires": [\r
5479             [\r
5480                 "704847a.0ccbeb8"\r
5481             ]\r
5482         ]\r
5483     },\r
5484     {\r
5485         "id": "704847a.0ccbeb8",\r
5486         "type": "returnFailure",\r
5487         "name": "return failure",\r
5488         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5489         "comments": "",\r
5490         "x": 1536.566665649414,\r
5491         "y": 1875.566665649414,\r
5492         "z": "7a2c5977.5cc868",\r
5493         "wires": []\r
5494     },\r
5495     {\r
5496         "id": "3ccd5736.62782",\r
5497         "type": "returnFailure",\r
5498         "name": "return failure",\r
5499         "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
5500         "comments": "",\r
5501         "x": 1534.6290435791016,\r
5502         "y": 1815.4264373779297,\r
5503         "z": "7a2c5977.5cc868",\r
5504         "wires": []\r
5505     },\r
5506     {\r
5507         "id": "6f5f9c23.47e85c",\r
5508         "type": "block",\r
5509         "name": "block : atomic",\r
5510         "xml": "<block atomic=\"true\">",\r
5511         "atomic": "true",\r
5512         "outputs": 1,\r
5513         "x": 700.5666656494141,\r
5514         "y": 1379.566665649414,\r
5515         "z": "7a2c5977.5cc868",\r
5516         "wires": [\r
5517             [\r
5518                 "36292c23.d5bad4",\r
5519                 "96bb2834.ab4d4"\r
5520             ]\r
5521         ]\r
5522     },\r
5523     {\r
5524         "id": "96bb2834.ab4d4",\r
5525         "type": "set",\r
5526         "name": "unset tmp.aai.connectivity",\r
5527         "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
5528         "comments": "",\r
5529         "x": 920.5666656494141,\r
5530         "y": 1327.566665649414,\r
5531         "z": "7a2c5977.5cc868",\r
5532         "wires": []\r
5533     },\r
5534     {\r
5535         "id": "37781926.bbe2d6",\r
5536         "type": "save",\r
5537         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
5538         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
5539         "comments": "",\r
5540         "outputs": 1,\r
5541         "x": 1895.066665649414,\r
5542         "y": 1762.566665649414,\r
5543         "z": "7a2c5977.5cc868",\r
5544         "wires": [\r
5545             []\r
5546         ]\r
5547     },\r
5548     {\r
5549         "id": "76e90665.699c78",\r
5550         "type": "save",\r
5551         "name": "update connectivity resource in AAI",\r
5552         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
5553         "comments": "",\r
5554         "outputs": 1,\r
5555         "x": 1822.066665649414,\r
5556         "y": 1826.566665649414,\r
5557         "z": "7a2c5977.5cc868",\r
5558         "wires": [\r
5559             []\r
5560         ]\r
5561     },\r
5562     {\r
5563         "id": "9be1948a.b31058",\r
5564         "type": "comment",\r
5565         "name": "The following two nodes are for PCE",\r
5566         "info": "",\r
5567         "comments": "",\r
5568         "x": 1971.566650390625,\r
5569         "y": 46.566673278808594,\r
5570         "z": "7a2c5977.5cc868",\r
5571         "wires": []\r
5572     },\r
5573     {\r
5574         "id": "57401e8a.a8ecc",\r
5575         "type": "get-resource",\r
5576         "name": "get-resource pnfs-list",\r
5577         "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
5578         "comments": "",\r
5579         "outputs": 1,\r
5580         "x": 1921.566650390625,\r
5581         "y": 99.5666732788086,\r
5582         "z": "7a2c5977.5cc868",\r
5583         "wires": [\r
5584             []\r
5585         ]\r
5586     },\r
5587     {\r
5588         "id": "86a1c6ac.aa4d9",\r
5589         "type": "get-resource",\r
5590         "name": "get-resource logical-links",\r
5591         "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
5592         "comments": "",\r
5593         "outputs": 1,\r
5594         "x": 1931.566650390625,\r
5595         "y": 138.56668090820312,\r
5596         "z": "7a2c5977.5cc868",\r
5597         "wires": [\r
5598             []\r
5599         ]\r
5600     },\r
5601     {\r
5602         "id": "fc1cf650.aa6b18",\r
5603         "type": "execute",\r
5604         "name": "execute printContext",\r
5605         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
5606         "comments": "",\r
5607         "outputs": 1,\r
5608         "x": 4246.566665649414,\r
5609         "y": 2360.566665649414,\r
5610         "z": "7a2c5977.5cc868",\r
5611         "wires": [\r
5612             []\r
5613         ]\r
5614     },\r
5615     {\r
5616         "id": "cc9240f8.8f7cd",\r
5617         "type": "save",\r
5618         "name": "save connectivity resource in AAI",\r
5619         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
5620         "comments": "",\r
5621         "outputs": 1,\r
5622         "x": 5537.566665649414,\r
5623         "y": 1197.566665649414,\r
5624         "z": "7a2c5977.5cc868",\r
5625         "wires": [\r
5626             []\r
5627         ]\r
5628     },\r
5629     {\r
5630         "id": "3b99997f.82150e",\r
5631         "type": "call",\r
5632         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
5633         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5634         "comments": "",\r
5635         "outputs": 1,\r
5636         "x": 4435.567077636719,\r
5637         "y": 2417.566696166992,\r
5638         "z": "7a2c5977.5cc868",\r
5639         "wires": [\r
5640             []\r
5641         ]\r
5642     },\r
5643     {\r
5644         "id": "2ab2958e.345c6a",\r
5645         "type": "switchNode",\r
5646         "name": "switch src and dst same domain?",\r
5647         "xml": "<switch test=\"`$param-prefix-domainA[$param-prefix-domainA_length -9] == $param-prefix-domainB[$param-prefix-domainB_length -9]`\">\n",\r
5648         "comments": "",\r
5649         "outputs": 1,\r
5650         "x": 2888.9000854492188,\r
5651         "y": 2464.5668182373047,\r
5652         "z": "7a2c5977.5cc868",\r
5653         "wires": [\r
5654             [\r
5655                 "21c7a96f.230fc6",\r
5656                 "a4bfb1a.7ba14d"\r
5657             ]\r
5658         ]\r
5659     },\r
5660     {\r
5661         "id": "a4bfb1a.7ba14d",\r
5662         "type": "outcomeFalse",\r
5663         "name": "false",\r
5664         "xml": "<outcome value='false'>\n",\r
5665         "comments": "",\r
5666         "outputs": 1,\r
5667         "x": 3102.9000244140625,\r
5668         "y": 2477.566696166992,\r
5669         "z": "7a2c5977.5cc868",\r
5670         "wires": [\r
5671             [\r
5672                 "591ba76d.52253"\r
5673             ]\r
5674         ]\r
5675     },\r
5676     {\r
5677         "id": "21c7a96f.230fc6",\r
5678         "type": "outcomeTrue",\r
5679         "name": "true",\r
5680         "xml": "<outcome value='true'>\n",\r
5681         "comments": "",\r
5682         "outputs": 1,\r
5683         "x": 3083.8999633789062,\r
5684         "y": 2578.5668182373047,\r
5685         "z": "7a2c5977.5cc868",\r
5686         "wires": [\r
5687             [\r
5688                 "791966ec.7cb7a"\r
5689             ]\r
5690         ]\r
5691     },\r
5692     {\r
5693         "id": "d5865f6c.c9966",\r
5694         "type": "call",\r
5695         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
5696         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
5697         "comments": "",\r
5698         "outputs": 1,\r
5699         "x": 3677.2332153320312,\r
5700         "y": 2420.899948120117,\r
5701         "z": "7a2c5977.5cc868",\r
5702         "wires": [\r
5703             []\r
5704         ]\r
5705     },\r
5706     {\r
5707         "id": "791966ec.7cb7a",\r
5708         "type": "block",\r
5709         "name": "block",\r
5710         "xml": "<block>\n",\r
5711         "atomic": "false",\r
5712         "comments": "",\r
5713         "outputs": 1,\r
5714         "x": 3234.2333984375,\r
5715         "y": 2578.8998260498047,\r
5716         "z": "7a2c5977.5cc868",\r
5717         "wires": [\r
5718             [\r
5719                 "5c02cdd2.3ba3bc",\r
5720                 "6d7db185.f222a",\r
5721                 "4a5a5654.7a3e18",\r
5722                 "1ef4d127.0e3e8f"\r
5723             ]\r
5724         ]\r
5725     },\r
5726     {\r
5727         "id": "5c02cdd2.3ba3bc",\r
5728         "type": "execute",\r
5729         "name": "execute UUID generator for vpn-binding $otnidx",\r
5730         "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
5731         "comments": "",\r
5732         "outputs": 1,\r
5733         "x": 3518.2332763671875,\r
5734         "y": 2584.566696166992,\r
5735         "z": "7a2c5977.5cc868",\r
5736         "wires": [\r
5737             []\r
5738         ]\r
5739     },\r
5740     {\r
5741         "id": "6d7db185.f222a",\r
5742         "type": "set",\r
5743         "name": "set attachment_param Same Domain",\r
5744         "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",\r
5745         "comments": "",\r
5746         "x": 3486.2332763671875,\r
5747         "y": 2644.899703979492,\r
5748         "z": "7a2c5977.5cc868",\r
5749         "wires": []\r
5750     },\r
5751     {\r
5752         "id": "4a5a5654.7a3e18",\r
5753         "type": "save",\r
5754         "name": "save vpn-binding same domain resource (aka. OTN) in AAI",\r
5755         "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.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.sameDomain-dst-access-node-id`' />\n<!--<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
5756         "comments": "",\r
5757         "outputs": 1,\r
5758         "x": 3551.5665283203125,\r
5759         "y": 2700.899703979492,\r
5760         "z": "7a2c5977.5cc868",\r
5761         "wires": [\r
5762             [\r
5763                 "9d7de4f8.93c768"\r
5764             ]\r
5765         ]\r
5766     },\r
5767     {\r
5768         "id": "9d7de4f8.93c768",\r
5769         "type": "success",\r
5770         "name": "success",\r
5771         "xml": "<outcome value='success'>\n",\r
5772         "comments": "",\r
5773         "outputs": 1,\r
5774         "x": 3868.5665283203125,\r
5775         "y": 2702.899703979492,\r
5776         "z": "7a2c5977.5cc868",\r
5777         "wires": [\r
5778             [\r
5779                 "3ccad972.8b2556"\r
5780             ]\r
5781         ]\r
5782     },\r
5783     {\r
5784         "id": "3ccad972.8b2556",\r
5785         "type": "block",\r
5786         "name": "block",\r
5787         "xml": "<block>\n",\r
5788         "atomic": "false",\r
5789         "comments": "",\r
5790         "outputs": 1,\r
5791         "x": 4032.0665283203125,\r
5792         "y": 2702.153610229492,\r
5793         "z": "7a2c5977.5cc868",\r
5794         "wires": [\r
5795             []\r
5796         ]\r
5797     },\r
5798     {\r
5799         "id": "1ef4d127.0e3e8f",\r
5800         "type": "save",\r
5801         "name": "save connectivity-domainA relationship to vpn-binding-sameDomain, in AAI",\r
5802         "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
5803         "comments": "",\r
5804         "outputs": 1,\r
5805         "x": 3600.23291015625,\r
5806         "y": 2755.566452026367,\r
5807         "z": "7a2c5977.5cc868",\r
5808         "wires": [\r
5809             []\r
5810         ]\r
5811     },\r
5812     {\r
5813         "id": "591ba76d.52253",\r
5814         "type": "block",\r
5815         "name": "block",\r
5816         "xml": "<block>\n",\r
5817         "atomic": "false",\r
5818         "comments": "",\r
5819         "outputs": 1,\r
5820         "x": 3253.8998413085938,\r
5821         "y": 2443.5668182373047,\r
5822         "z": "7a2c5977.5cc868",\r
5823         "wires": [\r
5824             [\r
5825                 "d5865f6c.c9966",\r
5826                 "3f522b00.e7a774"\r
5827             ]\r
5828         ]\r
5829     },\r
5830     {\r
5831         "id": "ac7ac40f.6ba598",\r
5832         "type": "set",\r
5833         "name": "set attachment_param for OTN A",\r
5834         "xml": "<set>\n<parameter name='src-node-id' value='`$tmp.aai.vpn-bindingA.src-access-node-id`' />\n<parameter name='dst-node-id' value='`$tmp.aai.vpn-bindingA.dst-access-node-id`' />\n<!--<parameter name='dst-tpn-id' value='1' />-->\n<parameter name='dst-tpn-id' value='`$tmp.aai.vpn-bindingA.customer-vpn-id`' />\n<parameter name='dst-ttp-id' value='`$tmp.aai.vpn-bindingA.dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='otn-tunnel-name-src-domain' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='client-id' value='`$tmp.aai.vpn-bindingA.access-client-id`' />\n<parameter name='provider-id' value='`$tmp.aai.vpn-bindingA.access-provider-id`' />\n<parameter name='topology-id' value='`$tmp.aai.vpn-bindingA.access-topology-id`' />\n",\r
5835         "comments": "",\r
5836         "x": 643,\r
5837         "y": 2076.33349609375,\r
5838         "z": "7a2c5977.5cc868",\r
5839         "wires": []\r
5840     },\r
5841     {\r
5842         "id": "e669d16d.38d03",\r
5843         "type": "set",\r
5844         "name": "set pnf-name",\r
5845         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-bindingA.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-bindingA.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-bindingA.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-bindingA.src-access-node-id`\" />\n",\r
5846         "comments": "",\r
5847         "x": 581,\r
5848         "y": 2124.33349609375,\r
5849         "z": "7a2c5977.5cc868",\r
5850         "wires": []\r
5851     },\r
5852     {\r
5853         "id": "470fb63d.0a55b8",\r
5854         "type": "get-resource",\r
5855         "name": "get-resource src pnf",\r
5856         "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
5857         "comments": "",\r
5858         "outputs": 1,\r
5859         "x": 607,\r
5860         "y": 2241.33349609375,\r
5861         "z": "7a2c5977.5cc868",\r
5862         "wires": [\r
5863             [\r
5864                 "bd66b470.31b5d8",\r
5865                 "51c8764a.3044c",\r
5866                 "abb4bd26.885e5"\r
5867             ]\r
5868         ]\r
5869     },\r
5870     {\r
5871         "id": "bd66b470.31b5d8",\r
5872         "type": "success",\r
5873         "name": "success",\r
5874         "xml": "<outcome value='success'>\n",\r
5875         "comments": "",\r
5876         "outputs": 1,\r
5877         "x": 802.5001220703125,\r
5878         "y": 2193.33349609375,\r
5879         "z": "7a2c5977.5cc868",\r
5880         "wires": [\r
5881             [\r
5882                 "5dbd746e.2a26a4"\r
5883             ]\r
5884         ]\r
5885     },\r
5886     {\r
5887         "id": "51c8764a.3044c",\r
5888         "type": "not-found",\r
5889         "name": "not-found",\r
5890         "xml": "<outcome value='not-found'>\n",\r
5891         "comments": "",\r
5892         "outputs": 1,\r
5893         "x": 794.5001220703125,\r
5894         "y": 2248.33349609375,\r
5895         "z": "7a2c5977.5cc868",\r
5896         "wires": [\r
5897             [\r
5898                 "4e8d2414.8f8eec"\r
5899             ]\r
5900         ]\r
5901     },\r
5902     {\r
5903         "id": "5dbd746e.2a26a4",\r
5904         "type": "block",\r
5905         "name": "block",\r
5906         "xml": "<block>\n",\r
5907         "atomic": "false",\r
5908         "comments": "",\r
5909         "outputs": 1,\r
5910         "x": 946.8824462890625,\r
5911         "y": 2192.9891662597656,\r
5912         "z": "7a2c5977.5cc868",\r
5913         "wires": [\r
5914             [\r
5915                 "812dd5d1.dde898"\r
5916             ]\r
5917         ]\r
5918     },\r
5919     {\r
5920         "id": "a5443da6.ad8678",\r
5921         "type": "outcome",\r
5922         "name": "esr-thirdparty-sdnc",\r
5923         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5924         "comments": "",\r
5925         "outputs": 1,\r
5926         "x": 1529,\r
5927         "y": 2195.33349609375,\r
5928         "z": "7a2c5977.5cc868",\r
5929         "wires": [\r
5930             [\r
5931                 "70a7204b.0ea1d8"\r
5932             ]\r
5933         ]\r
5934     },\r
5935     {\r
5936         "id": "812dd5d1.dde898",\r
5937         "type": "for",\r
5938         "name": "for each relationship",\r
5939         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5940         "comments": "",\r
5941         "outputs": 1,\r
5942         "x": 1131,\r
5943         "y": 2191.33349609375,\r
5944         "z": "7a2c5977.5cc868",\r
5945         "wires": [\r
5946             [\r
5947                 "7886079.b4f95f8"\r
5948             ]\r
5949         ]\r
5950     },\r
5951     {\r
5952         "id": "7886079.b4f95f8",\r
5953         "type": "switchNode",\r
5954         "name": "switch related-to",\r
5955         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5956         "comments": "",\r
5957         "outputs": 1,\r
5958         "x": 1326,\r
5959         "y": 2191.33349609375,\r
5960         "z": "7a2c5977.5cc868",\r
5961         "wires": [\r
5962             [\r
5963                 "a5443da6.ad8678"\r
5964             ]\r
5965         ]\r
5966     },\r
5967     {\r
5968         "id": "abb4bd26.885e5",\r
5969         "type": "other",\r
5970         "name": "other",\r
5971         "xml": "<outcome value='Other'>\n",\r
5972         "comments": "",\r
5973         "outputs": 1,\r
5974         "x": 799.5001220703125,\r
5975         "y": 2305.33349609375,\r
5976         "z": "7a2c5977.5cc868",\r
5977         "wires": [\r
5978             [\r
5979                 "e5ef91a4.4dc22"\r
5980             ]\r
5981         ]\r
5982     },\r
5983     {\r
5984         "id": "e5ef91a4.4dc22",\r
5985         "type": "returnFailure",\r
5986         "name": "return failure",\r
5987         "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
5988         "comments": "",\r
5989         "x": 951.5001220703125,\r
5990         "y": 2306.33349609375,\r
5991         "z": "7a2c5977.5cc868",\r
5992         "wires": []\r
5993     },\r
5994     {\r
5995         "id": "4e8d2414.8f8eec",\r
5996         "type": "returnFailure",\r
5997         "name": "return failure",\r
5998         "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
5999         "comments": "",\r
6000         "x": 962.5001220703125,\r
6001         "y": 2249.33349609375,\r
6002         "z": "7a2c5977.5cc868",\r
6003         "wires": []\r
6004     },\r
6005     {\r
6006         "id": "b78e417e.9e5128",\r
6007         "type": "execute",\r
6008         "name": "get esr-thirdparty-sdnc",\r
6009         "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
6010         "comments": "",\r
6011         "outputs": 1,\r
6012         "x": 1914,\r
6013         "y": 2208.33349609375,\r
6014         "z": "7a2c5977.5cc868",\r
6015         "wires": [\r
6016             [\r
6017                 "2e2e40ce.837fb",\r
6018                 "b317a2a6.81686",\r
6019                 "2a5f3037.5e6bf"\r
6020             ]\r
6021         ]\r
6022     },\r
6023     {\r
6024         "id": "70a7204b.0ea1d8",\r
6025         "type": "block",\r
6026         "name": "block : atomic",\r
6027         "xml": "<block atomic=\"true\">",\r
6028         "atomic": "true",\r
6029         "outputs": 1,\r
6030         "x": 1708,\r
6031         "y": 2195.33349609375,\r
6032         "z": "7a2c5977.5cc868",\r
6033         "wires": [\r
6034             [\r
6035                 "7a83b201.90f15c",\r
6036                 "b78e417e.9e5128"\r
6037             ]\r
6038         ]\r
6039     },\r
6040     {\r
6041         "id": "7a83b201.90f15c",\r
6042         "type": "set",\r
6043         "name": "set esr-thirdparty-sdnc domainA id",\r
6044         "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
6045         "comments": "",\r
6046         "x": 1944,\r
6047         "y": 2156.33349609375,\r
6048         "z": "7a2c5977.5cc868",\r
6049         "wires": []\r
6050     },\r
6051     {\r
6052         "id": "2e2e40ce.837fb",\r
6053         "type": "success",\r
6054         "name": "success",\r
6055         "xml": "<outcome value='success'>\n",\r
6056         "comments": "",\r
6057         "outputs": 1,\r
6058         "x": 2124,\r
6059         "y": 2199.33349609375,\r
6060         "z": "7a2c5977.5cc868",\r
6061         "wires": [\r
6062             [\r
6063                 "5b2aca6e.68dd9c"\r
6064             ]\r
6065         ]\r
6066     },\r
6067     {\r
6068         "id": "b317a2a6.81686",\r
6069         "type": "not-found",\r
6070         "name": "not-found",\r
6071         "xml": "<outcome value='not-found'>\n",\r
6072         "comments": "",\r
6073         "outputs": 1,\r
6074         "x": 2116,\r
6075         "y": 2254.33349609375,\r
6076         "z": "7a2c5977.5cc868",\r
6077         "wires": [\r
6078             [\r
6079                 "83f0e85f.95d068"\r
6080             ]\r
6081         ]\r
6082     },\r
6083     {\r
6084         "id": "2a5f3037.5e6bf",\r
6085         "type": "other",\r
6086         "name": "other",\r
6087         "xml": "<outcome value='Other'>\n",\r
6088         "comments": "",\r
6089         "outputs": 1,\r
6090         "x": 2121,\r
6091         "y": 2311.33349609375,\r
6092         "z": "7a2c5977.5cc868",\r
6093         "wires": [\r
6094             [\r
6095                 "c5782cdd.b4cf6"\r
6096             ]\r
6097         ]\r
6098     },\r
6099     {\r
6100         "id": "c5782cdd.b4cf6",\r
6101         "type": "returnFailure",\r
6102         "name": "return failure",\r
6103         "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
6104         "comments": "",\r
6105         "x": 2273,\r
6106         "y": 2312.33349609375,\r
6107         "z": "7a2c5977.5cc868",\r
6108         "wires": []\r
6109     },\r
6110     {\r
6111         "id": "83f0e85f.95d068",\r
6112         "type": "returnFailure",\r
6113         "name": "return failure",\r
6114         "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
6115         "comments": "",\r
6116         "x": 2284,\r
6117         "y": 2257.33349609375,\r
6118         "z": "7a2c5977.5cc868",\r
6119         "wires": []\r
6120     },\r
6121     {\r
6122         "id": "5b2aca6e.68dd9c",\r
6123         "type": "block",\r
6124         "name": "block",\r
6125         "xml": "<block>\n",\r
6126         "atomic": "false",\r
6127         "comments": "",\r
6128         "outputs": 1,\r
6129         "x": 2268.38232421875,\r
6130         "y": 2196.9891662597656,\r
6131         "z": "7a2c5977.5cc868",\r
6132         "wires": [\r
6133             [\r
6134                 "28d41ca6.66cafc"\r
6135             ]\r
6136         ]\r
6137     },\r
6138     {\r
6139         "id": "28d41ca6.66cafc",\r
6140         "type": "set",\r
6141         "name": "set controller domainA data",\r
6142         "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
6143         "comments": "",\r
6144         "x": 2483,\r
6145         "y": 2193.33349609375,\r
6146         "z": "7a2c5977.5cc868",\r
6147         "wires": []\r
6148     },\r
6149     {\r
6150         "id": "8559d791.3348a",\r
6151         "type": "set",\r
6152         "name": "set vpn-bindingA and connectivityA",\r
6153         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"`$tmp.aai.vpn-binding.`\" />\n<parameter name='tmp.aai.connectivityA.' value=\"`$tmp.aai.connectivity.`\" />\n",\r
6154         "comments": "",\r
6155         "x": 638,\r
6156         "y": 2016.33349609375,\r
6157         "z": "7a2c5977.5cc868",\r
6158         "wires": []\r
6159     },\r
6160     {\r
6161         "id": "2ec1dd57.5743da",\r
6162         "type": "set",\r
6163         "name": "set sotn_value",\r
6164         "xml": "<set>\n<!--<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.connectivity-id`' />-->\n<parameter name='eth-service-name' value='`$tmp.aai.connectivityA.etht-svc-name`' />\n<parameter name='slice-id' value='`$vnf-topology-operation-input.service-information.service-instance-id`' />\n<parameter name='provider-id' value='`$tmp.aai.connectivityA.access-provider-id`' />\n<parameter name='client-id' value='`$tmp.aai.connectivityA.access-client-id`' />\n<parameter name='topology-id' value='`$tmp.aai.connectivityA.access-topology-id`' />\n<parameter name='otn-tunnel-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n<parameter name='ethernet-end-point-name' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='index-number' value='0' />\n<parameter name='eth-node-id' value='`$tmp.aai.connectivityA.access-node-id`' />\n<parameter name='eth-node-tp-id' value='`$tmp.aai.connectivityA.access-ltp-id`' />\n<parameter name='CIR' value='`$gfp *1000000`' />\n<!--<parameter name='EIR' value='`$tmp.aai.vpn-bindingA.route-distinguisher *1000000`' />-->\n<parameter name='EIR' value='0' />\n<parameter name='cvlan' value='`$tmp.aai.connectivityA.cvlan`' />\n",\r
6165         "comments": "",\r
6166         "x": 590.5,\r
6167         "y": 2579.33349609375,\r
6168         "z": "7a2c5977.5cc868",\r
6169         "wires": []\r
6170     },\r
6171     {\r
6172         "id": "6059dee6.cfa7c",\r
6173         "type": "execute",\r
6174         "name": "execute RestApiCallNode Create ethernet Service without token",\r
6175         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service.templatefile`\" />-->\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.p2p-ethernet-service-modify.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivityA.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
6176         "comments": "",\r
6177         "outputs": 1,\r
6178         "x": 744.5,\r
6179         "y": 2627.33349609375,\r
6180         "z": "7a2c5977.5cc868",\r
6181         "wires": [\r
6182             [\r
6183                 "461f2bfe.52478c",\r
6184                 "577c9525.87fa7c"\r
6185             ]\r
6186         ]\r
6187     },\r
6188     {\r
6189         "id": "461f2bfe.52478c",\r
6190         "type": "failure",\r
6191         "name": "failure",\r
6192         "xml": "<outcome value='failure'>\n",\r
6193         "comments": "",\r
6194         "outputs": 1,\r
6195         "x": 1090,\r
6196         "y": 2608.33349609375,\r
6197         "z": "7a2c5977.5cc868",\r
6198         "wires": [\r
6199             [\r
6200                 "10f69144.7b4de7"\r
6201             ]\r
6202         ]\r
6203     },\r
6204     {\r
6205         "id": "577c9525.87fa7c",\r
6206         "type": "success",\r
6207         "name": "success",\r
6208         "xml": "<outcome value='success'>\n",\r
6209         "comments": "",\r
6210         "outputs": 1,\r
6211         "x": 1094,\r
6212         "y": 2648.33349609375,\r
6213         "z": "7a2c5977.5cc868",\r
6214         "wires": [\r
6215             [\r
6216                 "8cffbf3.0a002c"\r
6217             ]\r
6218         ]\r
6219     },\r
6220     {\r
6221         "id": "10f69144.7b4de7",\r
6222         "type": "returnFailure",\r
6223         "name": "return failure",\r
6224         "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 Create ethernet service rest api\" />\n",\r
6225         "comments": "",\r
6226         "x": 1248,\r
6227         "y": 2608.33349609375,\r
6228         "z": "7a2c5977.5cc868",\r
6229         "wires": []\r
6230     },\r
6231     {\r
6232         "id": "8cffbf3.0a002c",\r
6233         "type": "block",\r
6234         "name": "block : atomic",\r
6235         "xml": "<block atomic=\"true\">",\r
6236         "atomic": "true",\r
6237         "comments": "",\r
6238         "outputs": 1,\r
6239         "x": 1251.5,\r
6240         "y": 2648.33349609375,\r
6241         "z": "7a2c5977.5cc868",\r
6242         "wires": [\r
6243             [\r
6244                 "c0fd436b.9f0558",\r
6245                 "3a753166.0d0e96",\r
6246                 "3a73518d.f9cb96"\r
6247             ]\r
6248         ]\r
6249     },\r
6250     {\r
6251         "id": "55040664.2c4708",\r
6252         "type": "comment",\r
6253         "name": "TODO: FIXME:",\r
6254         "info": "put proper values based on connectivity resource retrieved from AAI",\r
6255         "comments": "",\r
6256         "x": 588,\r
6257         "y": 2535.33349609375,\r
6258         "z": "7a2c5977.5cc868",\r
6259         "wires": []\r
6260     },\r
6261     {\r
6262         "id": "c0fd436b.9f0558",\r
6263         "type": "save",\r
6264         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
6265         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-bindingA.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-bindingA.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-bindingA.vpn-name`' />\n\n<parameter name='operational-status' value='Activated' />\n",\r
6266         "comments": "",\r
6267         "outputs": 1,\r
6268         "x": 1635.000244140625,\r
6269         "y": 2583.3336181640625,\r
6270         "z": "7a2c5977.5cc868",\r
6271         "wires": [\r
6272             []\r
6273         ]\r
6274     },\r
6275     {\r
6276         "id": "3a753166.0d0e96",\r
6277         "type": "save",\r
6278         "name": "update connectivity resource in AAI",\r
6279         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivityA.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivityA.connectivity-id`' />\n<parameter name='operational-status' value='Activated' />\n",\r
6280         "comments": "",\r
6281         "outputs": 1,\r
6282         "x": 1562.000244140625,\r
6283         "y": 2629.3336181640625,\r
6284         "z": "7a2c5977.5cc868",\r
6285         "wires": [\r
6286             []\r
6287         ]\r
6288     },\r
6289     {\r
6290         "id": "3a73518d.f9cb96",\r
6291         "type": "save",\r
6292         "name": "update service-instance resource in AAI",\r
6293         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance' \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<parameter name='service-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n<parameter name='orchestration-status' value='Activated' />\n",\r
6294         "comments": "",\r
6295         "outputs": 1,\r
6296         "x": 1581.750244140625,\r
6297         "y": 2689.8336181640625,\r
6298         "z": "7a2c5977.5cc868",\r
6299         "wires": [\r
6300             []\r
6301         ]\r
6302     },\r
6303     {\r
6304         "id": "ce24e399.073d3",\r
6305         "type": "block",\r
6306         "name": "block : atomic",\r
6307         "xml": "<block atomic=\"true\">",\r
6308         "atomic": "true",\r
6309         "comments": "",\r
6310         "outputs": 1,\r
6311         "x": 329,\r
6312         "y": 2273.33349609375,\r
6313         "z": "7a2c5977.5cc868",\r
6314         "wires": [\r
6315             [\r
6316                 "8559d791.3348a",\r
6317                 "ac7ac40f.6ba598",\r
6318                 "e669d16d.38d03",\r
6319                 "470fb63d.0a55b8",\r
6320                 "2ec1dd57.5743da",\r
6321                 "6059dee6.cfa7c",\r
6322                 "51061087.32f088"\r
6323             ]\r
6324         ]\r
6325     },\r
6326     {\r
6327         "id": "51061087.32f088",\r
6328         "type": "set",\r
6329         "name": "unset vpn-bindingA and connectivityA",\r
6330         "xml": "<set>\n<parameter name='tmp.aai.vpn-bindingA.' value=\"\" />\n<parameter name='tmp.aai.connectivityA.' value=\"\" />\n",\r
6331         "comments": "",\r
6332         "x": 630.3333129882812,\r
6333         "y": 1956.3333740234375,\r
6334         "z": "7a2c5977.5cc868",\r
6335         "wires": []\r
6336     },\r
6337     {\r
6338         "id": "a60e8c64.59a75",\r
6339         "type": "set",\r
6340         "name": "unset the max bandwidth",\r
6341         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"\" />\n<parameter name='route-distinguisher' value='' />\n\n\n\n",\r
6342         "comments": "",\r
6343         "x": 1921.3333740234375,\r
6344         "y": 193.33334350585938,\r
6345         "z": "7a2c5977.5cc868",\r
6346         "wires": []\r
6347     },\r
6348     {\r
6349         "id": "ff6e4688.eabb4",\r
6350         "type": "set",\r
6351         "name": "unset the max bandwidth",\r
6352         "xml": "<set>\n<parameter name='gfp' value='' />\n\n\n\n",\r
6353         "comments": "",\r
6354         "x": 1920.3333740234375,\r
6355         "y": 239.33334350585938,\r
6356         "z": "7a2c5977.5cc868",\r
6357         "wires": []\r
6358     }\r
6359 ]