b1d61faf13e91d110585ea47bc881d2d18b8a439
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
1 [\r
2     {\r
3         "id": "df3491bc.625428",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 128,\r
8         "y": 113,\r
9         "z": "b31344e1.6b9228",\r
10         "wires": [\r
11             [\r
12                 "f93a4fe6.087538"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "f93a4fe6.087538",\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": 412.2856903076172,\r
26         "y": 174.23810863494873,\r
27         "z": "b31344e1.6b9228",\r
28         "wires": [\r
29             [\r
30                 "3a78d95d.5e3c5e"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "3a78d95d.5e3c5e",\r
36         "type": "method",\r
37         "name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 418.42860412597656,\r
42         "y": 259.0000305175781,\r
43         "z": "b31344e1.6b9228",\r
44         "wires": [\r
45             [\r
46                 "35ecb5b7.3f1b02"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "35ecb5b7.3f1b02",\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": 788.238037109375,\r
58         "y": 283.66668701171875,\r
59         "z": "b31344e1.6b9228",\r
60         "wires": [\r
61             [\r
62                 "a99ea7b2.f5e618",\r
63                 "183025fe.418fa2",\r
64                 "d352d101.d008a8"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "a99ea7b2.f5e618",\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": 1089.571533203125,\r
75         "y": 554.5969848632812,\r
76         "z": "b31344e1.6b9228",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "183025fe.418fa2",\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": 1111,\r
87         "y": 257,\r
88         "z": "b31344e1.6b9228",\r
89         "wires": [\r
90             [\r
91                 "47f816cc.c0286",\r
92                 "318d2442.efdd34",\r
93                 "4265fd48.9eb024"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "47f816cc.c0286",\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": 1336,\r
105         "y": 115,\r
106         "z": "b31344e1.6b9228",\r
107         "wires": [\r
108             [\r
109                 "6fd78e9c.961b2"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "318d2442.efdd34",\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": 1331.490966796875,\r
121         "y": 184.57403564453125,\r
122         "z": "b31344e1.6b9228",\r
123         "wires": [\r
124             [\r
125                 "aa8b68cf.4936c"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "4265fd48.9eb024",\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": 1320,\r
137         "y": 231,\r
138         "z": "b31344e1.6b9228",\r
139         "wires": [\r
140             [\r
141                 "ea9381a6.8a9938"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "6fd78e9c.961b2",\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": 1575,\r
153         "y": 112,\r
154         "z": "b31344e1.6b9228",\r
155         "wires": [\r
156             [\r
157                 "a9515923.c68db8",\r
158                 "3b6a0136.f8dee6"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "aa8b68cf.4936c",\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": 1485.0623779296875,\r
169         "y": 187.85977172851562,\r
170         "z": "b31344e1.6b9228",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "ea9381a6.8a9938",\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": 1489,\r
180         "y": 232,\r
181         "z": "b31344e1.6b9228",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "a9515923.c68db8",\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": 1788,\r
192         "y": 136,\r
193         "z": "b31344e1.6b9228",\r
194         "wires": [\r
195             [\r
196                 "8d77a4c9.47348"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "3b6a0136.f8dee6",\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": 1790,\r
208         "y": 76,\r
209         "z": "b31344e1.6b9228",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "2b9472b2.e91dbe",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1090,\r
221         "y": 145,\r
222         "z": "b31344e1.6b9228",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "8d77a4c9.47348",\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": 1773,\r
234         "y": 224,\r
235         "z": "b31344e1.6b9228",\r
236         "wires": [\r
237             [\r
238                 "2dfd81e1.a251ae",\r
239                 "bc1d9c19.8a817",\r
240                 "d0adb7e4.435f98",\r
241                 "bf30e0be.23b998"\r
242             ]\r
243         ]\r
244     },\r
245     {\r
246         "id": "4b515bec.7b07fc",\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": 2636,\r
252         "y": 824,\r
253         "z": "b31344e1.6b9228",\r
254         "wires": []\r
255     },\r
256     {\r
257         "id": "1fb3da4d.f9823e",\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": 2637,\r
263         "y": 879,\r
264         "z": "b31344e1.6b9228",\r
265         "wires": []\r
266     },\r
267     {\r
268         "id": "1fed210d.6adb97",\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": 2259,\r
275         "y": 275,\r
276         "z": "b31344e1.6b9228",\r
277         "wires": [\r
278             [\r
279                 "1d390c60.f37264",\r
280                 "828d1344.2eeb18",\r
281                 "35c0fff4.63034"\r
282             ]\r
283         ]\r
284     },\r
285     {\r
286         "id": "1d390c60.f37264",\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": 2475,\r
293         "y": 342,\r
294         "z": "b31344e1.6b9228",\r
295         "wires": [\r
296             [\r
297                 "1dfc0585.305702"\r
298             ]\r
299         ]\r
300     },\r
301     {\r
302         "id": "828d1344.2eeb18",\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": 2475.490966796875,\r
309         "y": 241.573974609375,\r
310         "z": "b31344e1.6b9228",\r
311         "wires": [\r
312             [\r
313                 "899f4256.fc61"\r
314             ]\r
315         ]\r
316     },\r
317     {\r
318         "id": "35c0fff4.63034",\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": 2471,\r
325         "y": 291,\r
326         "z": "b31344e1.6b9228",\r
327         "wires": [\r
328             [\r
329                 "5b10d117.cfe6d8"\r
330             ]\r
331         ]\r
332     },\r
333     {\r
334         "id": "899f4256.fc61",\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": 2653.0625,\r
340         "y": 241.8597412109375,\r
341         "z": "b31344e1.6b9228",\r
342         "wires": []\r
343     },\r
344     {\r
345         "id": "5b10d117.cfe6d8",\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": 2653,\r
351         "y": 291,\r
352         "z": "b31344e1.6b9228",\r
353         "wires": []\r
354     },\r
355     {\r
356         "id": "e459bf6d.9da9d8",\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": 1994,\r
363         "y": 764,\r
364         "z": "b31344e1.6b9228",\r
365         "wires": [\r
366             [\r
367                 "f5d3816e.ab2828",\r
368                 "4956f23f.0bb47c",\r
369                 "fe0f59f6.d97868"\r
370             ]\r
371         ]\r
372     },\r
373     {\r
374         "id": "f5d3816e.ab2828",\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": 2285.490966796875,\r
381         "y": 742.573974609375,\r
382         "z": "b31344e1.6b9228",\r
383         "wires": [\r
384             [\r
385                 "9822556a.f611a"\r
386             ]\r
387         ]\r
388     },\r
389     {\r
390         "id": "4956f23f.0bb47c",\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": 2274,\r
397         "y": 787,\r
398         "z": "b31344e1.6b9228",\r
399         "wires": [\r
400             [\r
401                 "6c100a4d.9d821c"\r
402             ]\r
403         ]\r
404     },\r
405     {\r
406         "id": "9822556a.f611a",\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": 2434.0625,\r
412         "y": 742.8597412109375,\r
413         "z": "b31344e1.6b9228",\r
414         "wires": []\r
415     },\r
416     {\r
417         "id": "6c100a4d.9d821c",\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": 2433,\r
423         "y": 787,\r
424         "z": "b31344e1.6b9228",\r
425         "wires": []\r
426     },\r
427     {\r
428         "id": "fe0f59f6.d97868",\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": 2281,\r
435         "y": 866,\r
436         "z": "b31344e1.6b9228",\r
437         "wires": [\r
438             [\r
439                 "6d1afb47.ab3814"\r
440             ]\r
441         ]\r
442     },\r
443     {\r
444         "id": "6d1afb47.ab3814",\r
445         "type": "block",\r
446         "name": "block",\r
447         "xml": "<block>\n",\r
448         "atomic": "false",\r
449         "comments": "",\r
450         "outputs": 1,\r
451         "x": 2420,\r
452         "y": 866,\r
453         "z": "b31344e1.6b9228",\r
454         "wires": [\r
455             [\r
456                 "4b515bec.7b07fc",\r
457                 "1fb3da4d.f9823e",\r
458                 "97eccb48.84f6c",\r
459                 "c57ab47a.d333d8",\r
460                 "10cbf4f3.49fe3b",\r
461                 "49d3005f.62282",\r
462                 "15e0419f.a2cb36",\r
463                 "e6402796.6c8a4",\r
464                 "1f03402a.5db7",\r
465                 "56710693.e24068",\r
466                 "84b0870f.4db1e",\r
467                 "3323f682.f60c3a",\r
468                 "13ac3dbd.1f366a"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "97eccb48.84f6c",\r
474         "type": "save",\r
475         "name": "get network-route-A from aai",\r
476         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 2649,\r
480         "y": 947,\r
481         "z": "b31344e1.6b9228",\r
482         "wires": [\r
483             [\r
484                 "8c8a4891.ac867",\r
485                 "8506ad3d.b7e4c",\r
486                 "a3b6635c.c539f8"\r
487             ]\r
488         ]\r
489     },\r
490     {\r
491         "id": "c57ab47a.d333d8",\r
492         "type": "save",\r
493         "name": "get network-route-B from aai",\r
494         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
495         "comments": "",\r
496         "outputs": 1,\r
497         "x": 2628,\r
498         "y": 1548.9998779296875,\r
499         "z": "b31344e1.6b9228",\r
500         "wires": [\r
501             [\r
502                 "506562cd.b8f74c",\r
503                 "8d73f82f.8988f8",\r
504                 "24728d1d.df92ba"\r
505             ]\r
506         ]\r
507     },\r
508     {\r
509         "id": "8c8a4891.ac867",\r
510         "type": "not-found",\r
511         "name": "not-found",\r
512         "xml": "<outcome value='not-found'>\n",\r
513         "comments": "",\r
514         "outputs": 1,\r
515         "x": 2850,\r
516         "y": 831,\r
517         "z": "b31344e1.6b9228",\r
518         "wires": [\r
519             [\r
520                 "40f9d3c1.86e1ec"\r
521             ]\r
522         ]\r
523     },\r
524     {\r
525         "id": "8506ad3d.b7e4c",\r
526         "type": "failure",\r
527         "name": "failure",\r
528         "xml": "<outcome value='failure'>\n",\r
529         "comments": "",\r
530         "outputs": 1,\r
531         "x": 2845.509033203125,\r
532         "y": 880.426025390625,\r
533         "z": "b31344e1.6b9228",\r
534         "wires": [\r
535             [\r
536                 "6f975963.47cb7"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "a3b6635c.c539f8",\r
542         "type": "success",\r
543         "name": "success",\r
544         "xml": "<outcome value='success'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 2849.509033203125,\r
548         "y": 931.426025390625,\r
549         "z": "b31344e1.6b9228",\r
550         "wires": [\r
551             [\r
552                 "61bb235e.2775f4"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "40f9d3c1.86e1ec",\r
558         "type": "returnFailure",\r
559         "name": "return failure",\r
560         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
561         "comments": "",\r
562         "x": 2998.571533203125,\r
563         "y": 830.2857666015625,\r
564         "z": "b31344e1.6b9228",\r
565         "wires": []\r
566     },\r
567     {\r
568         "id": "6f975963.47cb7",\r
569         "type": "returnFailure",\r
570         "name": "return failure",\r
571         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
572         "comments": "",\r
573         "x": 2988.509033203125,\r
574         "y": 880.426025390625,\r
575         "z": "b31344e1.6b9228",\r
576         "wires": []\r
577     },\r
578     {\r
579         "id": "506562cd.b8f74c",\r
580         "type": "not-found",\r
581         "name": "not-found",\r
582         "xml": "<outcome value='not-found'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 2851,\r
586         "y": 1518.9998779296875,\r
587         "z": "b31344e1.6b9228",\r
588         "wires": [\r
589             [\r
590                 "7f769faa.864248"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "8d73f82f.8988f8",\r
596         "type": "failure",\r
597         "name": "failure",\r
598         "xml": "<outcome value='failure'>\n",\r
599         "comments": "",\r
600         "outputs": 1,\r
601         "x": 2846.509033203125,\r
602         "y": 1568.4259033203125,\r
603         "z": "b31344e1.6b9228",\r
604         "wires": [\r
605             [\r
606                 "cc9ee8f2.77fda8"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "24728d1d.df92ba",\r
612         "type": "success",\r
613         "name": "success",\r
614         "xml": "<outcome value='success'>\n",\r
615         "comments": "",\r
616         "outputs": 1,\r
617         "x": 2850.509033203125,\r
618         "y": 1619.4259033203125,\r
619         "z": "b31344e1.6b9228",\r
620         "wires": [\r
621             [\r
622                 "8a29f509.d58fe8"\r
623             ]\r
624         ]\r
625     },\r
626     {\r
627         "id": "7f769faa.864248",\r
628         "type": "returnFailure",\r
629         "name": "return failure",\r
630         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
631         "comments": "",\r
632         "x": 2999.571533203125,\r
633         "y": 1518.28564453125,\r
634         "z": "b31344e1.6b9228",\r
635         "wires": []\r
636     },\r
637     {\r
638         "id": "cc9ee8f2.77fda8",\r
639         "type": "returnFailure",\r
640         "name": "return failure",\r
641         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
642         "comments": "",\r
643         "x": 2989.509033203125,\r
644         "y": 1568.4259033203125,\r
645         "z": "b31344e1.6b9228",\r
646         "wires": []\r
647     },\r
648     {\r
649         "id": "b720785b.7c7",\r
650         "type": "block",\r
651         "name": "block : atomic",\r
652         "xml": "<block atomic=\"true\">",\r
653         "atomic": "true",\r
654         "outputs": 1,\r
655         "x": 3663.66650390625,\r
656         "y": 975,\r
657         "z": "b31344e1.6b9228",\r
658         "wires": [\r
659             [\r
660                 "f3775fbc.163688",\r
661                 "77e2870c.e28a38",\r
662                 "ac8bf04e.ff247",\r
663                 "7c2c78d5.f4945",\r
664                 "bb95643a.1dafd8"\r
665             ]\r
666         ]\r
667     },\r
668     {\r
669         "id": "669f51ab.4dcf7",\r
670         "type": "success",\r
671         "name": "success",\r
672         "xml": "<outcome value='success'>\n",\r
673         "comments": "",\r
674         "outputs": 1,\r
675         "x": 3491,\r
676         "y": 976,\r
677         "z": "b31344e1.6b9228",\r
678         "wires": [\r
679             [\r
680                 "b720785b.7c7"\r
681             ]\r
682         ]\r
683     },\r
684     {\r
685         "id": "bfa60b88.954ac8",\r
686         "type": "not-found",\r
687         "name": "not-found",\r
688         "xml": "<outcome value='not-found'>\n",\r
689         "comments": "",\r
690         "outputs": 1,\r
691         "x": 3500.490966796875,\r
692         "y": 1018.5740356445312,\r
693         "z": "b31344e1.6b9228",\r
694         "wires": [\r
695             [\r
696                 "f78f70ff.0f2c38"\r
697             ]\r
698         ]\r
699     },\r
700     {\r
701         "id": "83a912b8.5c33b",\r
702         "type": "failure",\r
703         "name": "failure",\r
704         "xml": "<outcome value='failure'>\n",\r
705         "comments": "",\r
706         "outputs": 1,\r
707         "x": 3489,\r
708         "y": 1065,\r
709         "z": "b31344e1.6b9228",\r
710         "wires": [\r
711             [\r
712                 "d7142401.9476c"\r
713             ]\r
714         ]\r
715     },\r
716     {\r
717         "id": "f78f70ff.0f2c38",\r
718         "type": "returnFailure",\r
719         "name": "return failure",\r
720         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
721         "comments": "",\r
722         "x": 3654.0623779296875,\r
723         "y": 1021.8597717285156,\r
724         "z": "b31344e1.6b9228",\r
725         "wires": []\r
726     },\r
727     {\r
728         "id": "d7142401.9476c",\r
729         "type": "returnFailure",\r
730         "name": "return failure",\r
731         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
732         "comments": "",\r
733         "x": 3658,\r
734         "y": 1066,\r
735         "z": "b31344e1.6b9228",\r
736         "wires": []\r
737     },\r
738     {\r
739         "id": "61bb235e.2775f4",\r
740         "type": "block",\r
741         "name": "block : atomic",\r
742         "xml": "<block atomic=\"true\">",\r
743         "atomic": "true",\r
744         "outputs": 1,\r
745         "x": 3011,\r
746         "y": 933,\r
747         "z": "b31344e1.6b9228",\r
748         "wires": [\r
749             [\r
750                 "4914fb6.031ad84",\r
751                 "4835023e.e8e8cc"\r
752             ]\r
753         ]\r
754     },\r
755     {\r
756         "id": "8a29f509.d58fe8",\r
757         "type": "block",\r
758         "name": "block : atomic",\r
759         "xml": "<block atomic=\"true\">",\r
760         "atomic": "true",\r
761         "outputs": 1,\r
762         "x": 3001,\r
763         "y": 1620.9998779296875,\r
764         "z": "b31344e1.6b9228",\r
765         "wires": [\r
766             [\r
767                 "33a198b5.ec1ae",\r
768                 "684cf1ab.a79f48"\r
769             ]\r
770         ]\r
771     },\r
772     {\r
773         "id": "d9ace0a0.b4a76",\r
774         "type": "block",\r
775         "name": "block : atomic",\r
776         "xml": "<block atomic=\"true\">",\r
777         "atomic": "true",\r
778         "outputs": 1,\r
779         "x": 3631.66650390625,\r
780         "y": 1811,\r
781         "z": "b31344e1.6b9228",\r
782         "wires": [\r
783             [\r
784                 "a2003991.03fd4",\r
785                 "52dfb8b2.652278",\r
786                 "22f952b9.882086",\r
787                 "eb4dde28.2b2138",\r
788                 "60f3b421.08732c"\r
789             ]\r
790         ]\r
791     },\r
792     {\r
793         "id": "cc45c64e.73066",\r
794         "type": "success",\r
795         "name": "success",\r
796         "xml": "<outcome value='success'>\n",\r
797         "comments": "",\r
798         "outputs": 1,\r
799         "x": 3459,\r
800         "y": 1812,\r
801         "z": "b31344e1.6b9228",\r
802         "wires": [\r
803             [\r
804                 "d9ace0a0.b4a76"\r
805             ]\r
806         ]\r
807     },\r
808     {\r
809         "id": "33759aa.996c566",\r
810         "type": "not-found",\r
811         "name": "not-found",\r
812         "xml": "<outcome value='not-found'>\n",\r
813         "comments": "",\r
814         "outputs": 1,\r
815         "x": 3468.490966796875,\r
816         "y": 1854.5740356445312,\r
817         "z": "b31344e1.6b9228",\r
818         "wires": [\r
819             [\r
820                 "28b2902a.f0c46"\r
821             ]\r
822         ]\r
823     },\r
824     {\r
825         "id": "fff61c46.59cf58",\r
826         "type": "failure",\r
827         "name": "failure",\r
828         "xml": "<outcome value='failure'>\n",\r
829         "comments": "",\r
830         "outputs": 1,\r
831         "x": 3457,\r
832         "y": 1901,\r
833         "z": "b31344e1.6b9228",\r
834         "wires": [\r
835             [\r
836                 "c4e6ae73.bdead"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "28b2902a.f0c46",\r
842         "type": "returnFailure",\r
843         "name": "return failure",\r
844         "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
845         "comments": "",\r
846         "x": 3622.0623779296875,\r
847         "y": 1857.8597717285156,\r
848         "z": "b31344e1.6b9228",\r
849         "wires": []\r
850     },\r
851     {\r
852         "id": "c4e6ae73.bdead",\r
853         "type": "returnFailure",\r
854         "name": "return failure",\r
855         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
856         "comments": "",\r
857         "x": 3626,\r
858         "y": 1902,\r
859         "z": "b31344e1.6b9228",\r
860         "wires": []\r
861     },\r
862     {\r
863         "id": "f3775fbc.163688",\r
864         "type": "execute",\r
865         "name": "execute split tp-id to get pnf-name",\r
866         "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
867         "comments": "",\r
868         "outputs": 1,\r
869         "x": 3928,\r
870         "y": 959,\r
871         "z": "b31344e1.6b9228",\r
872         "wires": [\r
873             [\r
874                 "17df8b10.734cad",\r
875                 "e9e72181.7c2d78"\r
876             ]\r
877         ]\r
878     },\r
879     {\r
880         "id": "e9e72181.7c2d78",\r
881         "type": "failure",\r
882         "name": "success",\r
883         "xml": "<outcome value='success'>\n",\r
884         "comments": "",\r
885         "outputs": 1,\r
886         "x": 4151,\r
887         "y": 914,\r
888         "z": "b31344e1.6b9228",\r
889         "wires": [\r
890             [\r
891                 "c8b8d5f9.b22ca8"\r
892             ]\r
893         ]\r
894     },\r
895     {\r
896         "id": "17df8b10.734cad",\r
897         "type": "failure",\r
898         "name": "failure",\r
899         "xml": "<outcome value='failure'>\n",\r
900         "comments": "",\r
901         "outputs": 1,\r
902         "x": 4153,\r
903         "y": 978,\r
904         "z": "b31344e1.6b9228",\r
905         "wires": [\r
906             [\r
907                 "59177303.95ce1c"\r
908             ]\r
909         ]\r
910     },\r
911     {\r
912         "id": "e95ea736.29045",\r
913         "type": "set",\r
914         "name": "set ltpId",\r
915         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
916         "comments": "",\r
917         "x": 4486,\r
918         "y": 869,\r
919         "z": "b31344e1.6b9228",\r
920         "wires": []\r
921     },\r
922     {\r
923         "id": "59177303.95ce1c",\r
924         "type": "returnFailure",\r
925         "name": "return failure",\r
926         "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
927         "comments": "",\r
928         "x": 4315,\r
929         "y": 974,\r
930         "z": "b31344e1.6b9228",\r
931         "wires": []\r
932     },\r
933     {\r
934         "id": "c8b8d5f9.b22ca8",\r
935         "type": "block",\r
936         "name": "block : atomic",\r
937         "xml": "<block atomic=\"true\">",\r
938         "atomic": "true",\r
939         "outputs": 1,\r
940         "x": 4316,\r
941         "y": 911,\r
942         "z": "b31344e1.6b9228",\r
943         "wires": [\r
944             [\r
945                 "f09148e0.5a878",\r
946                 "e95ea736.29045"\r
947             ]\r
948         ]\r
949     },\r
950     {\r
951         "id": "f09148e0.5a878",\r
952         "type": "set",\r
953         "name": "set pnf-name",\r
954         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
955         "comments": "",\r
956         "x": 4487,\r
957         "y": 977,\r
958         "z": "b31344e1.6b9228",\r
959         "wires": []\r
960     },\r
961     {\r
962         "id": "2c408fec.1a81a",\r
963         "type": "comment",\r
964         "name": "TODO: FIXME",\r
965         "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
966         "comments": "",\r
967         "x": 4488,\r
968         "y": 926,\r
969         "z": "b31344e1.6b9228",\r
970         "wires": []\r
971     },\r
972     {\r
973         "id": "ac8bf04e.ff247",\r
974         "type": "save",\r
975         "name": "save connectivity resource in AAI",\r
976         "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='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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
977         "comments": "",\r
978         "outputs": 1,\r
979         "x": 3930,\r
980         "y": 1118,\r
981         "z": "b31344e1.6b9228",\r
982         "wires": [\r
983             []\r
984         ]\r
985     },\r
986     {\r
987         "id": "77e2870c.e28a38",\r
988         "type": "execute",\r
989         "name": "execute UUID generator for connectivity domainA",\r
990         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
991         "comments": "",\r
992         "outputs": 1,\r
993         "x": 3975,\r
994         "y": 1028,\r
995         "z": "b31344e1.6b9228",\r
996         "wires": [\r
997             []\r
998         ]\r
999     },\r
1000     {\r
1001         "id": "936488c4.d6b8e",\r
1002         "type": "comment",\r
1003         "name": "TODO: FIXME",\r
1004         "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
1005         "comments": "",\r
1006         "x": 3864,\r
1007         "y": 1069,\r
1008         "z": "b31344e1.6b9228",\r
1009         "wires": []\r
1010     },\r
1011     {\r
1012         "id": "a2003991.03fd4",\r
1013         "type": "execute",\r
1014         "name": "execute split tp-id to get pnf-name",\r
1015         "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
1016         "comments": "",\r
1017         "outputs": 1,\r
1018         "x": 3918,\r
1019         "y": 1815.0001220703125,\r
1020         "z": "b31344e1.6b9228",\r
1021         "wires": [\r
1022             [\r
1023                 "f2d8cb03.1eed48",\r
1024                 "6e32cf18.31944"\r
1025             ]\r
1026         ]\r
1027     },\r
1028     {\r
1029         "id": "6e32cf18.31944",\r
1030         "type": "failure",\r
1031         "name": "success",\r
1032         "xml": "<outcome value='success'>\n",\r
1033         "comments": "",\r
1034         "outputs": 1,\r
1035         "x": 4141,\r
1036         "y": 1770.0001220703125,\r
1037         "z": "b31344e1.6b9228",\r
1038         "wires": [\r
1039             [\r
1040                 "201ffc86.8db20c"\r
1041             ]\r
1042         ]\r
1043     },\r
1044     {\r
1045         "id": "f2d8cb03.1eed48",\r
1046         "type": "failure",\r
1047         "name": "failure",\r
1048         "xml": "<outcome value='failure'>\n",\r
1049         "comments": "",\r
1050         "outputs": 1,\r
1051         "x": 4143,\r
1052         "y": 1834.0001220703125,\r
1053         "z": "b31344e1.6b9228",\r
1054         "wires": [\r
1055             [\r
1056                 "b29b2d4c.c3046"\r
1057             ]\r
1058         ]\r
1059     },\r
1060     {\r
1061         "id": "2386e717.060b18",\r
1062         "type": "set",\r
1063         "name": "set ltpId",\r
1064         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1065         "comments": "",\r
1066         "x": 4476,\r
1067         "y": 1728.0001220703125,\r
1068         "z": "b31344e1.6b9228",\r
1069         "wires": []\r
1070     },\r
1071     {\r
1072         "id": "b29b2d4c.c3046",\r
1073         "type": "returnFailure",\r
1074         "name": "return failure",\r
1075         "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
1076         "comments": "",\r
1077         "x": 4302,\r
1078         "y": 1853.0001220703125,\r
1079         "z": "b31344e1.6b9228",\r
1080         "wires": []\r
1081     },\r
1082     {\r
1083         "id": "201ffc86.8db20c",\r
1084         "type": "block",\r
1085         "name": "block : atomic",\r
1086         "xml": "<block atomic=\"true\">",\r
1087         "atomic": "true",\r
1088         "outputs": 1,\r
1089         "x": 4306,\r
1090         "y": 1767.0001220703125,\r
1091         "z": "b31344e1.6b9228",\r
1092         "wires": [\r
1093             [\r
1094                 "2386e717.060b18",\r
1095                 "c71df80d.cfbb08"\r
1096             ]\r
1097         ]\r
1098     },\r
1099     {\r
1100         "id": "c71df80d.cfbb08",\r
1101         "type": "set",\r
1102         "name": "set pnf-name",\r
1103         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1104         "comments": "",\r
1105         "x": 4477,\r
1106         "y": 1833.0001220703125,\r
1107         "z": "b31344e1.6b9228",\r
1108         "wires": []\r
1109     },\r
1110     {\r
1111         "id": "e385afea.eec45",\r
1112         "type": "comment",\r
1113         "name": "TODO: FIXME",\r
1114         "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
1115         "comments": "",\r
1116         "x": 4472,\r
1117         "y": 1782.0001220703125,\r
1118         "z": "b31344e1.6b9228",\r
1119         "wires": []\r
1120     },\r
1121     {\r
1122         "id": "22f952b9.882086",\r
1123         "type": "save",\r
1124         "name": "save connectivity resource in AAI",\r
1125         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\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
1126         "comments": "",\r
1127         "outputs": 1,\r
1128         "x": 3920,\r
1129         "y": 1974.0001220703125,\r
1130         "z": "b31344e1.6b9228",\r
1131         "wires": [\r
1132             []\r
1133         ]\r
1134     },\r
1135     {\r
1136         "id": "52dfb8b2.652278",\r
1137         "type": "execute",\r
1138         "name": "execute UUID generator for connectivity domainB",\r
1139         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1140         "comments": "",\r
1141         "outputs": 1,\r
1142         "x": 3965,\r
1143         "y": 1884.0001220703125,\r
1144         "z": "b31344e1.6b9228",\r
1145         "wires": [\r
1146             []\r
1147         ]\r
1148     },\r
1149     {\r
1150         "id": "4961c905.9d4bb",\r
1151         "type": "comment",\r
1152         "name": "TODO: FIXME",\r
1153         "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
1154         "comments": "",\r
1155         "x": 3854,\r
1156         "y": 1922.0001220703125,\r
1157         "z": "b31344e1.6b9228",\r
1158         "wires": []\r
1159     },\r
1160     {\r
1161         "id": "10cbf4f3.49fe3b",\r
1162         "type": "call",\r
1163         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1164         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1165         "comments": "",\r
1166         "outputs": 1,\r
1167         "x": 2848,\r
1168         "y": 2278,\r
1169         "z": "b31344e1.6b9228",\r
1170         "wires": [\r
1171             []\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "49d3005f.62282",\r
1176         "type": "set",\r
1177         "name": "set attachment_param",\r
1178         "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
1179         "comments": "",\r
1180         "x": 2642,\r
1181         "y": 2179,\r
1182         "z": "b31344e1.6b9228",\r
1183         "wires": []\r
1184     },\r
1185     {\r
1186         "id": "9f05df83.0d8378",\r
1187         "type": "comment",\r
1188         "name": "TODO: FIXME",\r
1189         "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
1190         "comments": "",\r
1191         "x": 2616,\r
1192         "y": 2132,\r
1193         "z": "b31344e1.6b9228",\r
1194         "wires": []\r
1195     },\r
1196     {\r
1197         "id": "65916227.3c1154",\r
1198         "type": "save",\r
1199         "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
1200         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\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",\r
1201         "comments": "",\r
1202         "outputs": 1,\r
1203         "x": 2796,\r
1204         "y": 2831,\r
1205         "z": "b31344e1.6b9228",\r
1206         "wires": [\r
1207             [\r
1208                 "17bd32c6.c38a7d"\r
1209             ]\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "fa5ee7b8.d80d3",\r
1214         "type": "save",\r
1215         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
1216         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-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
1217         "comments": "",\r
1218         "outputs": 1,\r
1219         "x": 2787.5,\r
1220         "y": 2880,\r
1221         "z": "b31344e1.6b9228",\r
1222         "wires": [\r
1223             []\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "7c2c78d5.f4945",\r
1228         "type": "save",\r
1229         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1230         "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
1231         "comments": "",\r
1232         "outputs": 1,\r
1233         "x": 4058,\r
1234         "y": 1166,\r
1235         "z": "b31344e1.6b9228",\r
1236         "wires": [\r
1237             []\r
1238         ]\r
1239     },\r
1240     {\r
1241         "id": "eb4dde28.2b2138",\r
1242         "type": "save",\r
1243         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1244         "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
1245         "comments": "",\r
1246         "outputs": 1,\r
1247         "x": 4047,\r
1248         "y": 2039.0001220703125,\r
1249         "z": "b31344e1.6b9228",\r
1250         "wires": [\r
1251             []\r
1252         ]\r
1253     },\r
1254     {\r
1255         "id": "17bd32c6.c38a7d",\r
1256         "type": "success",\r
1257         "name": "success",\r
1258         "xml": "<outcome value='success'>\n",\r
1259         "comments": "",\r
1260         "outputs": 1,\r
1261         "x": 3082,\r
1262         "y": 2838,\r
1263         "z": "b31344e1.6b9228",\r
1264         "wires": [\r
1265             [\r
1266                 "20a19a36.cfd0d6"\r
1267             ]\r
1268         ]\r
1269     },\r
1270     {\r
1271         "id": "20a19a36.cfd0d6",\r
1272         "type": "block",\r
1273         "name": "block",\r
1274         "xml": "<block>\n",\r
1275         "atomic": "false",\r
1276         "comments": "",\r
1277         "outputs": 1,\r
1278         "x": 3222.500244140625,\r
1279         "y": 2839.25390625,\r
1280         "z": "b31344e1.6b9228",\r
1281         "wires": [\r
1282             []\r
1283         ]\r
1284     },\r
1285     {\r
1286         "id": "dba0a851.2f60f8",\r
1287         "type": "comment",\r
1288         "name": "TODO: FIXME: put proper values",\r
1289         "info": "",\r
1290         "comments": "",\r
1291         "x": 2718,\r
1292         "y": 2777,\r
1293         "z": "b31344e1.6b9228",\r
1294         "wires": []\r
1295     },\r
1296     {\r
1297         "id": "cb2d65a2.90a53",\r
1298         "type": "save",\r
1299         "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
1300         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\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",\r
1301         "comments": "",\r
1302         "outputs": 1,\r
1303         "x": 2786,\r
1304         "y": 3121,\r
1305         "z": "b31344e1.6b9228",\r
1306         "wires": [\r
1307             [\r
1308                 "a71dc667.1e8b48"\r
1309             ]\r
1310         ]\r
1311     },\r
1312     {\r
1313         "id": "c245f255.688bf",\r
1314         "type": "block",\r
1315         "name": "block",\r
1316         "xml": "<block>\n",\r
1317         "atomic": "false",\r
1318         "comments": "",\r
1319         "outputs": 1,\r
1320         "x": 3226.500244140625,\r
1321         "y": 3121.25390625,\r
1322         "z": "b31344e1.6b9228",\r
1323         "wires": [\r
1324             []\r
1325         ]\r
1326     },\r
1327     {\r
1328         "id": "a71dc667.1e8b48",\r
1329         "type": "success",\r
1330         "name": "success",\r
1331         "xml": "<outcome value='success'>\n",\r
1332         "comments": "",\r
1333         "outputs": 1,\r
1334         "x": 3086,\r
1335         "y": 3120,\r
1336         "z": "b31344e1.6b9228",\r
1337         "wires": [\r
1338             [\r
1339                 "c245f255.688bf"\r
1340             ]\r
1341         ]\r
1342     },\r
1343     {\r
1344         "id": "86719a40.1873b8",\r
1345         "type": "comment",\r
1346         "name": "TODO: FIXME: put proper values",\r
1347         "info": "",\r
1348         "comments": "",\r
1349         "x": 2712,\r
1350         "y": 3073,\r
1351         "z": "b31344e1.6b9228",\r
1352         "wires": []\r
1353     },\r
1354     {\r
1355         "id": "ca75e77c.cd7028",\r
1356         "type": "save",\r
1357         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
1358         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-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
1359         "comments": "",\r
1360         "outputs": 1,\r
1361         "x": 2784.5,\r
1362         "y": 3161,\r
1363         "z": "b31344e1.6b9228",\r
1364         "wires": [\r
1365             []\r
1366         ]\r
1367     },\r
1368     {\r
1369         "id": "a23bd528.d58958",\r
1370         "type": "comment",\r
1371         "name": "TODO: FIXME:",\r
1372         "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
1373         "comments": "",\r
1374         "x": 2593,\r
1375         "y": 3241,\r
1376         "z": "b31344e1.6b9228",\r
1377         "wires": []\r
1378     },\r
1379     {\r
1380         "id": "15e0419f.a2cb36",\r
1381         "type": "set",\r
1382         "name": "set attachment_param domain A",\r
1383         "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",\r
1384         "comments": "",\r
1385         "x": 2658,\r
1386         "y": 3286,\r
1387         "z": "b31344e1.6b9228",\r
1388         "wires": []\r
1389     },\r
1390     {\r
1391         "id": "2d08c6.2cc1e73a",\r
1392         "type": "execute",\r
1393         "name": "get esr-thirdparty-sdnc",\r
1394         "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
1395         "comments": "",\r
1396         "outputs": 1,\r
1397         "x": 5102,\r
1398         "y": 686,\r
1399         "z": "b31344e1.6b9228",\r
1400         "wires": [\r
1401             [\r
1402                 "fe7f5526.b757d",\r
1403                 "ace94fc7.113e6",\r
1404                 "42739782.dc6168"\r
1405             ]\r
1406         ]\r
1407     },\r
1408     {\r
1409         "id": "1dfc0585.305702",\r
1410         "type": "block",\r
1411         "name": "block : atomic",\r
1412         "xml": "<block atomic=\"true\">",\r
1413         "atomic": "true",\r
1414         "outputs": 1,\r
1415         "x": 2655,\r
1416         "y": 342,\r
1417         "z": "b31344e1.6b9228",\r
1418         "wires": [\r
1419             [\r
1420                 "8622621b.5191"\r
1421             ]\r
1422         ]\r
1423     },\r
1424     {\r
1425         "id": "7de95d04.4c5e84",\r
1426         "type": "outcome",\r
1427         "name": "logical-link",\r
1428         "xml": "<outcome value='logical-link'>\n",\r
1429         "comments": "",\r
1430         "outputs": 1,\r
1431         "x": 1585.0001220703125,\r
1432         "y": 759.0001220703125,\r
1433         "z": "b31344e1.6b9228",\r
1434         "wires": [\r
1435             [\r
1436                 "38efe599.5c2462"\r
1437             ]\r
1438         ]\r
1439     },\r
1440     {\r
1441         "id": "a0ff94f7.a05cd8",\r
1442         "type": "switchNode",\r
1443         "name": "switch allotted-resource.relationship-list not empty",\r
1444         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1445         "comments": "",\r
1446         "outputs": 1,\r
1447         "x": 2323,\r
1448         "y": 465,\r
1449         "z": "b31344e1.6b9228",\r
1450         "wires": [\r
1451             [\r
1452                 "8055d128.93cf8",\r
1453                 "a4e55956.340f1"\r
1454             ]\r
1455         ]\r
1456     },\r
1457     {\r
1458         "id": "a4e55956.340f1",\r
1459         "type": "outcomeFalse",\r
1460         "name": "false",\r
1461         "xml": "<outcome value='false'>\n",\r
1462         "comments": "",\r
1463         "outputs": 1,\r
1464         "x": 2633,\r
1465         "y": 472,\r
1466         "z": "b31344e1.6b9228",\r
1467         "wires": [\r
1468             []\r
1469         ]\r
1470     },\r
1471     {\r
1472         "id": "8055d128.93cf8",\r
1473         "type": "outcomeTrue",\r
1474         "name": "true",\r
1475         "xml": "<outcome value='true'>\n",\r
1476         "comments": "",\r
1477         "outputs": 1,\r
1478         "x": 2632,\r
1479         "y": 526,\r
1480         "z": "b31344e1.6b9228",\r
1481         "wires": [\r
1482             [\r
1483                 "33bd7ebe.34c502"\r
1484             ]\r
1485         ]\r
1486     },\r
1487     {\r
1488         "id": "2ecd1033.1e79d8",\r
1489         "type": "set",\r
1490         "name": "set the current logical-link-name",\r
1491         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
1492         "comments": "",\r
1493         "x": 2005,\r
1494         "y": 709,\r
1495         "z": "b31344e1.6b9228",\r
1496         "wires": []\r
1497     },\r
1498     {\r
1499         "id": "38efe599.5c2462",\r
1500         "type": "block",\r
1501         "name": "block : atomic",\r
1502         "xml": "<block atomic=\"true\">",\r
1503         "atomic": "true",\r
1504         "outputs": 1,\r
1505         "x": 1762,\r
1506         "y": 752,\r
1507         "z": "b31344e1.6b9228",\r
1508         "wires": [\r
1509             [\r
1510                 "2ecd1033.1e79d8",\r
1511                 "e459bf6d.9da9d8"\r
1512             ]\r
1513         ]\r
1514     },\r
1515     {\r
1516         "id": "f61b9c.2378ec68",\r
1517         "type": "comment",\r
1518         "name": "Question?",\r
1519         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1520         "comments": "",\r
1521         "x": 3191,\r
1522         "y": 938,\r
1523         "z": "b31344e1.6b9228",\r
1524         "wires": []\r
1525     },\r
1526     {\r
1527         "id": "4914fb6.031ad84",\r
1528         "type": "save",\r
1529         "name": "get p-interface-src from aai",\r
1530         "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
1531         "comments": "",\r
1532         "outputs": 1,\r
1533         "x": 3234,\r
1534         "y": 1003,\r
1535         "z": "b31344e1.6b9228",\r
1536         "wires": [\r
1537             [\r
1538                 "669f51ab.4dcf7",\r
1539                 "bfa60b88.954ac8",\r
1540                 "83a912b8.5c33b"\r
1541             ]\r
1542         ]\r
1543     },\r
1544     {\r
1545         "id": "33a198b5.ec1ae",\r
1546         "type": "save",\r
1547         "name": "get p-interface-dst from aai",\r
1548         "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
1549         "comments": "",\r
1550         "outputs": 1,\r
1551         "x": 3231,\r
1552         "y": 1847,\r
1553         "z": "b31344e1.6b9228",\r
1554         "wires": [\r
1555             [\r
1556                 "cc45c64e.73066",\r
1557                 "33759aa.996c566",\r
1558                 "fff61c46.59cf58"\r
1559             ]\r
1560         ]\r
1561     },\r
1562     {\r
1563         "id": "13eb2671.9e12f2",\r
1564         "type": "comment",\r
1565         "name": "Question?",\r
1566         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1567         "comments": "",\r
1568         "x": 3192,\r
1569         "y": 1791,\r
1570         "z": "b31344e1.6b9228",\r
1571         "wires": []\r
1572     },\r
1573     {\r
1574         "id": "8622621b.5191",\r
1575         "type": "save",\r
1576         "name": "get allotted-resource relationship from aai",\r
1577         "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
1578         "comments": "",\r
1579         "outputs": 1,\r
1580         "x": 2948,\r
1581         "y": 289,\r
1582         "z": "b31344e1.6b9228",\r
1583         "wires": [\r
1584             [\r
1585                 "774c27b3.d5b958",\r
1586                 "314f18ee.d0e28",\r
1587                 "177a6858.e45f48"\r
1588             ]\r
1589         ]\r
1590     },\r
1591     {\r
1592         "id": "314f18ee.d0e28",\r
1593         "type": "not-found",\r
1594         "name": "not-found",\r
1595         "xml": "<outcome value='not-found'>\n",\r
1596         "comments": "",\r
1597         "outputs": 1,\r
1598         "x": 3221.490966796875,\r
1599         "y": 181.573974609375,\r
1600         "z": "b31344e1.6b9228",\r
1601         "wires": [\r
1602             [\r
1603                 "bf0d979c.0d6a2"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "bf0d979c.0d6a2",\r
1609         "type": "returnFailure",\r
1610         "name": "return failure",\r
1611         "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
1612         "comments": "",\r
1613         "x": 3399.0625,\r
1614         "y": 181.8597412109375,\r
1615         "z": "b31344e1.6b9228",\r
1616         "wires": []\r
1617     },\r
1618     {\r
1619         "id": "177a6858.e45f48",\r
1620         "type": "failure",\r
1621         "name": "failure",\r
1622         "xml": "<outcome value='failure'>\n",\r
1623         "comments": "",\r
1624         "outputs": 1,\r
1625         "x": 3217,\r
1626         "y": 231,\r
1627         "z": "b31344e1.6b9228",\r
1628         "wires": [\r
1629             [\r
1630                 "69e0c103.73f7e"\r
1631             ]\r
1632         ]\r
1633     },\r
1634     {\r
1635         "id": "69e0c103.73f7e",\r
1636         "type": "returnFailure",\r
1637         "name": "return failure",\r
1638         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1639         "comments": "",\r
1640         "x": 3399,\r
1641         "y": 231,\r
1642         "z": "b31344e1.6b9228",\r
1643         "wires": []\r
1644     },\r
1645     {\r
1646         "id": "774c27b3.d5b958",\r
1647         "type": "success",\r
1648         "name": "success",\r
1649         "xml": "<outcome value='success'>\n",\r
1650         "comments": "",\r
1651         "outputs": 1,\r
1652         "x": 3221,\r
1653         "y": 282,\r
1654         "z": "b31344e1.6b9228",\r
1655         "wires": [\r
1656             [\r
1657                 "8d4f11e6.7da04"\r
1658             ]\r
1659         ]\r
1660     },\r
1661     {\r
1662         "id": "8d4f11e6.7da04",\r
1663         "type": "block",\r
1664         "name": "block : atomic",\r
1665         "xml": "<block atomic=\"true\">",\r
1666         "atomic": "true",\r
1667         "outputs": 1,\r
1668         "x": 3401,\r
1669         "y": 282,\r
1670         "z": "b31344e1.6b9228",\r
1671         "wires": [\r
1672             [\r
1673                 "a0ff94f7.a05cd8"\r
1674             ]\r
1675         ]\r
1676     },\r
1677     {\r
1678         "id": "fe8ff063.6863b8",\r
1679         "type": "for",\r
1680         "name": "for each allotted-resource relationship",\r
1681         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1682         "comments": "",\r
1683         "outputs": 1,\r
1684         "x": 2892,\r
1685         "y": 506,\r
1686         "z": "b31344e1.6b9228",\r
1687         "wires": [\r
1688             [\r
1689                 "7f3884a8.055b2c"\r
1690             ]\r
1691         ]\r
1692     },\r
1693     {\r
1694         "id": "7f3884a8.055b2c",\r
1695         "type": "switchNode",\r
1696         "name": "switch related-to",\r
1697         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1698         "comments": "",\r
1699         "outputs": 1,\r
1700         "x": 3172,\r
1701         "y": 506,\r
1702         "z": "b31344e1.6b9228",\r
1703         "wires": [\r
1704             [\r
1705                 "7de95d04.4c5e84"\r
1706             ]\r
1707         ]\r
1708     },\r
1709     {\r
1710         "id": "5050eb58.e00ed4",\r
1711         "type": "outcome",\r
1712         "name": "network-policy",\r
1713         "xml": "<outcome value='network-policy'>\n",\r
1714         "comments": "",\r
1715         "outputs": 1,\r
1716         "x": 3377,\r
1717         "y": 480,\r
1718         "z": "b31344e1.6b9228",\r
1719         "wires": [\r
1720             [\r
1721                 "9ce29b77.ad6fe8"\r
1722             ]\r
1723         ]\r
1724     },\r
1725     {\r
1726         "id": "9ce29b77.ad6fe8",\r
1727         "type": "block",\r
1728         "name": "block : atomic",\r
1729         "xml": "<block atomic=\"true\">",\r
1730         "atomic": "true",\r
1731         "outputs": 1,\r
1732         "x": 3553.9998779296875,\r
1733         "y": 472.9998779296875,\r
1734         "z": "b31344e1.6b9228",\r
1735         "wires": [\r
1736             [\r
1737                 "e7ee0b09.87c5d8",\r
1738                 "7fe89152.e612e8"\r
1739             ]\r
1740         ]\r
1741     },\r
1742     {\r
1743         "id": "e7ee0b09.87c5d8",\r
1744         "type": "set",\r
1745         "name": "set the 1st network-policy-id",\r
1746         "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
1747         "comments": "",\r
1748         "x": 3796.9998779296875,\r
1749         "y": 429.9998779296875,\r
1750         "z": "b31344e1.6b9228",\r
1751         "wires": []\r
1752     },\r
1753     {\r
1754         "id": "7fe89152.e612e8",\r
1755         "type": "save",\r
1756         "name": "get network-policy from aai",\r
1757         "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
1758         "comments": "",\r
1759         "outputs": 1,\r
1760         "x": 3785.9998779296875,\r
1761         "y": 484.9998779296875,\r
1762         "z": "b31344e1.6b9228",\r
1763         "wires": [\r
1764             [\r
1765                 "64fb2208.a0a974",\r
1766                 "c3b9f4d3.aab1b8",\r
1767                 "f6aa84f.18621f8"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "f6aa84f.18621f8",\r
1773         "type": "not-found",\r
1774         "name": "not-found",\r
1775         "xml": "<outcome value='not-found'>\n",\r
1776         "comments": "",\r
1777         "outputs": 1,\r
1778         "x": 4039,\r
1779         "y": 371,\r
1780         "z": "b31344e1.6b9228",\r
1781         "wires": [\r
1782             [\r
1783                 "c20366f5.78311"\r
1784             ]\r
1785         ]\r
1786     },\r
1787     {\r
1788         "id": "c20366f5.78311",\r
1789         "type": "returnFailure",\r
1790         "name": "return failure",\r
1791         "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
1792         "comments": "",\r
1793         "x": 4187.571533203125,\r
1794         "y": 371.2857666015625,\r
1795         "z": "b31344e1.6b9228",\r
1796         "wires": []\r
1797     },\r
1798     {\r
1799         "id": "a9aadb9.f22de28",\r
1800         "type": "returnFailure",\r
1801         "name": "return failure",\r
1802         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1803         "comments": "",\r
1804         "x": 4186.509033203125,\r
1805         "y": 415.426025390625,\r
1806         "z": "b31344e1.6b9228",\r
1807         "wires": []\r
1808     },\r
1809     {\r
1810         "id": "c3b9f4d3.aab1b8",\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": 4027.509033203125,\r
1817         "y": 415.426025390625,\r
1818         "z": "b31344e1.6b9228",\r
1819         "wires": [\r
1820             [\r
1821                 "a9aadb9.f22de28"\r
1822             ]\r
1823         ]\r
1824     },\r
1825     {\r
1826         "id": "64fb2208.a0a974",\r
1827         "type": "success",\r
1828         "name": "success",\r
1829         "xml": "<outcome value='success'>\n",\r
1830         "comments": "",\r
1831         "outputs": 1,\r
1832         "x": 4034.509033203125,\r
1833         "y": 494.426025390625,\r
1834         "z": "b31344e1.6b9228",\r
1835         "wires": [\r
1836             [\r
1837                 "7a83723d.cc96f4"\r
1838             ]\r
1839         ]\r
1840     },\r
1841     {\r
1842         "id": "7a83723d.cc96f4",\r
1843         "type": "block",\r
1844         "name": "block",\r
1845         "xml": "<block>\n",\r
1846         "atomic": "false",\r
1847         "comments": "",\r
1848         "outputs": 1,\r
1849         "x": 4173.509033203125,\r
1850         "y": 494.426025390625,\r
1851         "z": "b31344e1.6b9228",\r
1852         "wires": [\r
1853             [\r
1854                 "1f8d33e3.a771dc",\r
1855                 "420f3616.2f701"\r
1856             ]\r
1857         ]\r
1858     },\r
1859     {\r
1860         "id": "1f8d33e3.a771dc",\r
1861         "type": "set",\r
1862         "name": "set the max bandwidth",\r
1863         "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
1864         "comments": "",\r
1865         "x": 4379,\r
1866         "y": 492,\r
1867         "z": "b31344e1.6b9228",\r
1868         "wires": []\r
1869     },\r
1870     {\r
1871         "id": "4835023e.e8e8cc",\r
1872         "type": "execute",\r
1873         "name": "execute split tp-id to get pnf-name",\r
1874         "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
1875         "comments": "",\r
1876         "outputs": 1,\r
1877         "x": 3235,\r
1878         "y": 673,\r
1879         "z": "b31344e1.6b9228",\r
1880         "wires": [\r
1881             [\r
1882                 "eafc912d.cb0fe",\r
1883                 "14b2df73.02d4e1"\r
1884             ]\r
1885         ]\r
1886     },\r
1887     {\r
1888         "id": "14b2df73.02d4e1",\r
1889         "type": "failure",\r
1890         "name": "success",\r
1891         "xml": "<outcome value='success'>\n",\r
1892         "comments": "",\r
1893         "outputs": 1,\r
1894         "x": 3458,\r
1895         "y": 659,\r
1896         "z": "b31344e1.6b9228",\r
1897         "wires": [\r
1898             [\r
1899                 "bb352d17.34137"\r
1900             ]\r
1901         ]\r
1902     },\r
1903     {\r
1904         "id": "eafc912d.cb0fe",\r
1905         "type": "failure",\r
1906         "name": "failure",\r
1907         "xml": "<outcome value='failure'>\n",\r
1908         "comments": "",\r
1909         "outputs": 1,\r
1910         "x": 3460,\r
1911         "y": 692,\r
1912         "z": "b31344e1.6b9228",\r
1913         "wires": [\r
1914             [\r
1915                 "4040c9e2.8e3008"\r
1916             ]\r
1917         ]\r
1918     },\r
1919     {\r
1920         "id": "4040c9e2.8e3008",\r
1921         "type": "returnFailure",\r
1922         "name": "return failure",\r
1923         "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
1924         "comments": "",\r
1925         "x": 3603,\r
1926         "y": 689,\r
1927         "z": "b31344e1.6b9228",\r
1928         "wires": []\r
1929     },\r
1930     {\r
1931         "id": "bb352d17.34137",\r
1932         "type": "block",\r
1933         "name": "block : atomic",\r
1934         "xml": "<block atomic=\"true\">",\r
1935         "atomic": "true",\r
1936         "outputs": 1,\r
1937         "x": 3606,\r
1938         "y": 652,\r
1939         "z": "b31344e1.6b9228",\r
1940         "wires": [\r
1941             [\r
1942                 "8f0d5ee9.6635d",\r
1943                 "300f312a.b253d6"\r
1944             ]\r
1945         ]\r
1946     },\r
1947     {\r
1948         "id": "8f0d5ee9.6635d",\r
1949         "type": "set",\r
1950         "name": "set pnf-name",\r
1951         "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
1952         "comments": "",\r
1953         "x": 3768,\r
1954         "y": 647,\r
1955         "z": "b31344e1.6b9228",\r
1956         "wires": []\r
1957     },\r
1958     {\r
1959         "id": "684cf1ab.a79f48",\r
1960         "type": "execute",\r
1961         "name": "execute split tp-id to get pnf-name",\r
1962         "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
1963         "comments": "",\r
1964         "outputs": 1,\r
1965         "x": 3249,\r
1966         "y": 1509.9998779296875,\r
1967         "z": "b31344e1.6b9228",\r
1968         "wires": [\r
1969             [\r
1970                 "10ff0da4.16d4ea",\r
1971                 "55c5195b.3875c8"\r
1972             ]\r
1973         ]\r
1974     },\r
1975     {\r
1976         "id": "55c5195b.3875c8",\r
1977         "type": "failure",\r
1978         "name": "success",\r
1979         "xml": "<outcome value='success'>\n",\r
1980         "comments": "",\r
1981         "outputs": 1,\r
1982         "x": 3472,\r
1983         "y": 1495.9998779296875,\r
1984         "z": "b31344e1.6b9228",\r
1985         "wires": [\r
1986             [\r
1987                 "7202d26b.6dffec"\r
1988             ]\r
1989         ]\r
1990     },\r
1991     {\r
1992         "id": "10ff0da4.16d4ea",\r
1993         "type": "failure",\r
1994         "name": "failure",\r
1995         "xml": "<outcome value='failure'>\n",\r
1996         "comments": "",\r
1997         "outputs": 1,\r
1998         "x": 3474,\r
1999         "y": 1528.9998779296875,\r
2000         "z": "b31344e1.6b9228",\r
2001         "wires": [\r
2002             [\r
2003                 "30474e74.e5639a"\r
2004             ]\r
2005         ]\r
2006     },\r
2007     {\r
2008         "id": "30474e74.e5639a",\r
2009         "type": "returnFailure",\r
2010         "name": "return failure",\r
2011         "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
2012         "comments": "",\r
2013         "x": 3617,\r
2014         "y": 1525.9998779296875,\r
2015         "z": "b31344e1.6b9228",\r
2016         "wires": []\r
2017     },\r
2018     {\r
2019         "id": "7202d26b.6dffec",\r
2020         "type": "block",\r
2021         "name": "block : atomic",\r
2022         "xml": "<block atomic=\"true\">",\r
2023         "atomic": "true",\r
2024         "outputs": 1,\r
2025         "x": 3620,\r
2026         "y": 1488.9998779296875,\r
2027         "z": "b31344e1.6b9228",\r
2028         "wires": [\r
2029             [\r
2030                 "885f2609.7cba58",\r
2031                 "e1d06713.adb0c8"\r
2032             ]\r
2033         ]\r
2034     },\r
2035     {\r
2036         "id": "885f2609.7cba58",\r
2037         "type": "set",\r
2038         "name": "set pnf-name",\r
2039         "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
2040         "comments": "",\r
2041         "x": 3814,\r
2042         "y": 1492,\r
2043         "z": "b31344e1.6b9228",\r
2044         "wires": []\r
2045     },\r
2046     {\r
2047         "id": "d352d101.d008a8",\r
2048         "type": "execute",\r
2049         "name": "execute properties",\r
2050         "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
2051         "comments": "",\r
2052         "outputs": 1,\r
2053         "x": 1078,\r
2054         "y": 197,\r
2055         "z": "b31344e1.6b9228",\r
2056         "wires": [\r
2057             []\r
2058         ]\r
2059     },\r
2060     {\r
2061         "id": "5f8f79a5.68d88",\r
2062         "type": "execute",\r
2063         "name": "execute UUID generator for vpn-binding domainA",\r
2064         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
2065         "comments": "",\r
2066         "outputs": 1,\r
2067         "x": 2771,\r
2068         "y": 2745,\r
2069         "z": "b31344e1.6b9228",\r
2070         "wires": [\r
2071             []\r
2072         ]\r
2073     },\r
2074     {\r
2075         "id": "9fa3320.fe9395",\r
2076         "type": "execute",\r
2077         "name": "execute UUID generator for vpn-binding domainB",\r
2078         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
2079         "comments": "",\r
2080         "outputs": 1,\r
2081         "x": 2764,\r
2082         "y": 3038,\r
2083         "z": "b31344e1.6b9228",\r
2084         "wires": [\r
2085             []\r
2086         ]\r
2087     },\r
2088     {\r
2089         "id": "bb95643a.1dafd8",\r
2090         "type": "for",\r
2091         "name": "for each relationship",\r
2092         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
2093         "comments": "",\r
2094         "outputs": 1,\r
2095         "x": 3882,\r
2096         "y": 1243,\r
2097         "z": "b31344e1.6b9228",\r
2098         "wires": [\r
2099             [\r
2100                 "232e8f32.739b48"\r
2101             ]\r
2102         ]\r
2103     },\r
2104     {\r
2105         "id": "232e8f32.739b48",\r
2106         "type": "switchNode",\r
2107         "name": "switch related-to",\r
2108         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
2109         "comments": "",\r
2110         "outputs": 1,\r
2111         "x": 4088,\r
2112         "y": 1243,\r
2113         "z": "b31344e1.6b9228",\r
2114         "wires": [\r
2115             [\r
2116                 "8bbe738e.7fafb"\r
2117             ]\r
2118         ]\r
2119     },\r
2120     {\r
2121         "id": "8bbe738e.7fafb",\r
2122         "type": "outcome",\r
2123         "name": "tunnel-termination-point",\r
2124         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2125         "comments": "",\r
2126         "outputs": 1,\r
2127         "x": 4303.28564453125,\r
2128         "y": 1242.82177734375,\r
2129         "z": "b31344e1.6b9228",\r
2130         "wires": [\r
2131             [\r
2132                 "c3ad3464.e3237"\r
2133             ]\r
2134         ]\r
2135     },\r
2136     {\r
2137         "id": "c3ad3464.e3237",\r
2138         "type": "block",\r
2139         "name": "block : atomic",\r
2140         "xml": "<block atomic=\"true\">",\r
2141         "atomic": "true",\r
2142         "outputs": 1,\r
2143         "x": 4510.1171875,\r
2144         "y": 1243.34033203125,\r
2145         "z": "b31344e1.6b9228",\r
2146         "wires": [\r
2147             [\r
2148                 "f0158859.e44c4",\r
2149                 "1be7b379.0a0a35",\r
2150                 "bee0e07a.660808"\r
2151             ]\r
2152         ]\r
2153     },\r
2154     {\r
2155         "id": "f0158859.e44c4",\r
2156         "type": "set",\r
2157         "name": "set source ttp-id",\r
2158         "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
2159         "comments": "",\r
2160         "x": 4725.1171875,\r
2161         "y": 1205.34033203125,\r
2162         "z": "b31344e1.6b9228",\r
2163         "wires": []\r
2164     },\r
2165     {\r
2166         "id": "1be7b379.0a0a35",\r
2167         "type": "get-resource",\r
2168         "name": "get-resource src TTP",\r
2169         "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
2170         "comments": "",\r
2171         "outputs": 1,\r
2172         "x": 4722.1171875,\r
2173         "y": 1244.34033203125,\r
2174         "z": "b31344e1.6b9228",\r
2175         "wires": [\r
2176             [\r
2177                 "5d7ec3ca.e9fe2c"\r
2178             ]\r
2179         ]\r
2180     },\r
2181     {\r
2182         "id": "bee0e07a.660808",\r
2183         "type": "break",\r
2184         "name": "break",\r
2185         "xml": "<break>\n",\r
2186         "comments": "",\r
2187         "x": 4677.6171875,\r
2188         "y": 1286.34033203125,\r
2189         "z": "b31344e1.6b9228",\r
2190         "wires": []\r
2191     },\r
2192     {\r
2193         "id": "5d7ec3ca.e9fe2c",\r
2194         "type": "success",\r
2195         "name": "success",\r
2196         "xml": "<outcome value='success'>\n",\r
2197         "comments": "",\r
2198         "outputs": 1,\r
2199         "x": 4902.6171875,\r
2200         "y": 1243.34033203125,\r
2201         "z": "b31344e1.6b9228",\r
2202         "wires": [\r
2203             [\r
2204                 "5c631dd4.8f5fbc"\r
2205             ]\r
2206         ]\r
2207     },\r
2208     {\r
2209         "id": "5c631dd4.8f5fbc",\r
2210         "type": "block",\r
2211         "name": "block : atomic",\r
2212         "xml": "<block atomic=\"true\">",\r
2213         "atomic": "true",\r
2214         "outputs": 1,\r
2215         "x": 5060.6171875,\r
2216         "y": 1243.34033203125,\r
2217         "z": "b31344e1.6b9228",\r
2218         "wires": [\r
2219             [\r
2220                 "d5d5e908.7a8eb8"\r
2221             ]\r
2222         ]\r
2223     },\r
2224     {\r
2225         "id": "d5d5e908.7a8eb8",\r
2226         "type": "set",\r
2227         "name": "set source tunnel tp ip",\r
2228         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2229         "comments": "",\r
2230         "x": 5267.6171875,\r
2231         "y": 1243.34033203125,\r
2232         "z": "b31344e1.6b9228",\r
2233         "wires": []\r
2234     },\r
2235     {\r
2236         "id": "60f3b421.08732c",\r
2237         "type": "for",\r
2238         "name": "for each relationship",\r
2239         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2240         "comments": "",\r
2241         "outputs": 1,\r
2242         "x": 3879,\r
2243         "y": 2112.0001220703125,\r
2244         "z": "b31344e1.6b9228",\r
2245         "wires": [\r
2246             [\r
2247                 "715a89d.cfea178"\r
2248             ]\r
2249         ]\r
2250     },\r
2251     {\r
2252         "id": "715a89d.cfea178",\r
2253         "type": "switchNode",\r
2254         "name": "switch related-to",\r
2255         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2256         "comments": "",\r
2257         "outputs": 1,\r
2258         "x": 4085,\r
2259         "y": 2112.0001220703125,\r
2260         "z": "b31344e1.6b9228",\r
2261         "wires": [\r
2262             [\r
2263                 "977e3712.429b18"\r
2264             ]\r
2265         ]\r
2266     },\r
2267     {\r
2268         "id": "977e3712.429b18",\r
2269         "type": "outcome",\r
2270         "name": "tunnel-termination-point",\r
2271         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2272         "comments": "",\r
2273         "outputs": 1,\r
2274         "x": 4300.28564453125,\r
2275         "y": 2111.8218994140625,\r
2276         "z": "b31344e1.6b9228",\r
2277         "wires": [\r
2278             [\r
2279                 "2113d9ff.cdd31e"\r
2280             ]\r
2281         ]\r
2282     },\r
2283     {\r
2284         "id": "2113d9ff.cdd31e",\r
2285         "type": "block",\r
2286         "name": "block : atomic",\r
2287         "xml": "<block atomic=\"true\">",\r
2288         "atomic": "true",\r
2289         "outputs": 1,\r
2290         "x": 4507.1171875,\r
2291         "y": 2112.3404541015625,\r
2292         "z": "b31344e1.6b9228",\r
2293         "wires": [\r
2294             [\r
2295                 "3c92c59b.613ca2",\r
2296                 "193b4238.409d8e",\r
2297                 "b71c718.f135e1"\r
2298             ]\r
2299         ]\r
2300     },\r
2301     {\r
2302         "id": "3c92c59b.613ca2",\r
2303         "type": "set",\r
2304         "name": "set destination ttp-id",\r
2305         "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
2306         "comments": "",\r
2307         "x": 4722.1171875,\r
2308         "y": 2074.3404541015625,\r
2309         "z": "b31344e1.6b9228",\r
2310         "wires": []\r
2311     },\r
2312     {\r
2313         "id": "193b4238.409d8e",\r
2314         "type": "get-resource",\r
2315         "name": "get-resource src TTP",\r
2316         "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
2317         "comments": "",\r
2318         "outputs": 1,\r
2319         "x": 4719.1171875,\r
2320         "y": 2113.3404541015625,\r
2321         "z": "b31344e1.6b9228",\r
2322         "wires": [\r
2323             [\r
2324                 "df85928.81de67"\r
2325             ]\r
2326         ]\r
2327     },\r
2328     {\r
2329         "id": "b71c718.f135e1",\r
2330         "type": "break",\r
2331         "name": "break",\r
2332         "xml": "<break>\n",\r
2333         "comments": "",\r
2334         "x": 4674.6171875,\r
2335         "y": 2155.3404541015625,\r
2336         "z": "b31344e1.6b9228",\r
2337         "wires": []\r
2338     },\r
2339     {\r
2340         "id": "df85928.81de67",\r
2341         "type": "success",\r
2342         "name": "success",\r
2343         "xml": "<outcome value='success'>\n",\r
2344         "comments": "",\r
2345         "outputs": 1,\r
2346         "x": 4899.6171875,\r
2347         "y": 2112.3404541015625,\r
2348         "z": "b31344e1.6b9228",\r
2349         "wires": [\r
2350             [\r
2351                 "8b1f9fde.337d98"\r
2352             ]\r
2353         ]\r
2354     },\r
2355     {\r
2356         "id": "8b1f9fde.337d98",\r
2357         "type": "block",\r
2358         "name": "block : atomic",\r
2359         "xml": "<block atomic=\"true\">",\r
2360         "atomic": "true",\r
2361         "outputs": 1,\r
2362         "x": 5057.6171875,\r
2363         "y": 2112.3404541015625,\r
2364         "z": "b31344e1.6b9228",\r
2365         "wires": [\r
2366             [\r
2367                 "20d9b129.b72206"\r
2368             ]\r
2369         ]\r
2370     },\r
2371     {\r
2372         "id": "20d9b129.b72206",\r
2373         "type": "set",\r
2374         "name": "set destination tunnel tp ip",\r
2375         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2376         "comments": "",\r
2377         "x": 5264.6171875,\r
2378         "y": 2112.3404541015625,\r
2379         "z": "b31344e1.6b9228",\r
2380         "wires": []\r
2381     },\r
2382     {\r
2383         "id": "e6402796.6c8a4",\r
2384         "type": "set",\r
2385         "name": "set attachment_param domain B",\r
2386         "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",\r
2387         "comments": "",\r
2388         "x": 2653,\r
2389         "y": 3661,\r
2390         "z": "b31344e1.6b9228",\r
2391         "wires": []\r
2392     },\r
2393     {\r
2394         "id": "300f312a.b253d6",\r
2395         "type": "get-resource",\r
2396         "name": "get-resource src pnf",\r
2397         "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
2398         "comments": "",\r
2399         "outputs": 1,\r
2400         "x": 3795,\r
2401         "y": 719,\r
2402         "z": "b31344e1.6b9228",\r
2403         "wires": [\r
2404             [\r
2405                 "1c354309.a76ffd",\r
2406                 "950deba8.cc3e4",\r
2407                 "c2c16051.a906d8"\r
2408             ]\r
2409         ]\r
2410     },\r
2411     {\r
2412         "id": "1c354309.a76ffd",\r
2413         "type": "success",\r
2414         "name": "success",\r
2415         "xml": "<outcome value='success'>\n",\r
2416         "comments": "",\r
2417         "outputs": 1,\r
2418         "x": 3990.5001220703125,\r
2419         "y": 671,\r
2420         "z": "b31344e1.6b9228",\r
2421         "wires": [\r
2422             [\r
2423                 "d41af0c3.594838"\r
2424             ]\r
2425         ]\r
2426     },\r
2427     {\r
2428         "id": "950deba8.cc3e4",\r
2429         "type": "not-found",\r
2430         "name": "not-found",\r
2431         "xml": "<outcome value='not-found'>\n",\r
2432         "comments": "",\r
2433         "outputs": 1,\r
2434         "x": 3982.5001220703125,\r
2435         "y": 726,\r
2436         "z": "b31344e1.6b9228",\r
2437         "wires": [\r
2438             [\r
2439                 "3d15fff1.053cf"\r
2440             ]\r
2441         ]\r
2442     },\r
2443     {\r
2444         "id": "c2c16051.a906d8",\r
2445         "type": "other",\r
2446         "name": "other",\r
2447         "xml": "<outcome value='Other'>\n",\r
2448         "comments": "",\r
2449         "outputs": 1,\r
2450         "x": 3987.5001220703125,\r
2451         "y": 783,\r
2452         "z": "b31344e1.6b9228",\r
2453         "wires": [\r
2454             [\r
2455                 "d7ef8f23.d036"\r
2456             ]\r
2457         ]\r
2458     },\r
2459     {\r
2460         "id": "d7ef8f23.d036",\r
2461         "type": "returnFailure",\r
2462         "name": "return failure",\r
2463         "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
2464         "comments": "",\r
2465         "x": 4139.5001220703125,\r
2466         "y": 784,\r
2467         "z": "b31344e1.6b9228",\r
2468         "wires": []\r
2469     },\r
2470     {\r
2471         "id": "3d15fff1.053cf",\r
2472         "type": "returnFailure",\r
2473         "name": "return failure",\r
2474         "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
2475         "comments": "",\r
2476         "x": 4150.5001220703125,\r
2477         "y": 729,\r
2478         "z": "b31344e1.6b9228",\r
2479         "wires": []\r
2480     },\r
2481     {\r
2482         "id": "d41af0c3.594838",\r
2483         "type": "block",\r
2484         "name": "block",\r
2485         "xml": "<block>\n",\r
2486         "atomic": "false",\r
2487         "comments": "",\r
2488         "outputs": 1,\r
2489         "x": 4134.8824462890625,\r
2490         "y": 668.6556701660156,\r
2491         "z": "b31344e1.6b9228",\r
2492         "wires": [\r
2493             [\r
2494                 "b45d0128.680c8"\r
2495             ]\r
2496         ]\r
2497     },\r
2498     {\r
2499         "id": "7cb8afd4.8d20b8",\r
2500         "type": "outcome",\r
2501         "name": "esr-thirdparty-sdnc",\r
2502         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2503         "comments": "",\r
2504         "outputs": 1,\r
2505         "x": 4717,\r
2506         "y": 687,\r
2507         "z": "b31344e1.6b9228",\r
2508         "wires": [\r
2509             [\r
2510                 "47edc84c.808f88"\r
2511             ]\r
2512         ]\r
2513     },\r
2514     {\r
2515         "id": "47edc84c.808f88",\r
2516         "type": "block",\r
2517         "name": "block : atomic",\r
2518         "xml": "<block atomic=\"true\">",\r
2519         "atomic": "true",\r
2520         "outputs": 1,\r
2521         "x": 4894,\r
2522         "y": 679,\r
2523         "z": "b31344e1.6b9228",\r
2524         "wires": [\r
2525             [\r
2526                 "266ac25a.ea33a6",\r
2527                 "2d08c6.2cc1e73a"\r
2528             ]\r
2529         ]\r
2530     },\r
2531     {\r
2532         "id": "b45d0128.680c8",\r
2533         "type": "for",\r
2534         "name": "for each relationship",\r
2535         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2536         "comments": "",\r
2537         "outputs": 1,\r
2538         "x": 4319,\r
2539         "y": 683,\r
2540         "z": "b31344e1.6b9228",\r
2541         "wires": [\r
2542             [\r
2543                 "4f9ef890.59c338"\r
2544             ]\r
2545         ]\r
2546     },\r
2547     {\r
2548         "id": "4f9ef890.59c338",\r
2549         "type": "switchNode",\r
2550         "name": "switch related-to",\r
2551         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2552         "comments": "",\r
2553         "outputs": 1,\r
2554         "x": 4514,\r
2555         "y": 683,\r
2556         "z": "b31344e1.6b9228",\r
2557         "wires": [\r
2558             [\r
2559                 "7cb8afd4.8d20b8",\r
2560                 "212f425.c6d5fbe"\r
2561             ]\r
2562         ]\r
2563     },\r
2564     {\r
2565         "id": "266ac25a.ea33a6",\r
2566         "type": "set",\r
2567         "name": "set esr-thirdparty-sdnc domainA id",\r
2568         "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
2569         "comments": "",\r
2570         "x": 5132,\r
2571         "y": 634,\r
2572         "z": "b31344e1.6b9228",\r
2573         "wires": []\r
2574     },\r
2575     {\r
2576         "id": "fe7f5526.b757d",\r
2577         "type": "success",\r
2578         "name": "success",\r
2579         "xml": "<outcome value='success'>\n",\r
2580         "comments": "",\r
2581         "outputs": 1,\r
2582         "x": 5312,\r
2583         "y": 677,\r
2584         "z": "b31344e1.6b9228",\r
2585         "wires": [\r
2586             [\r
2587                 "c4631195.e5511"\r
2588             ]\r
2589         ]\r
2590     },\r
2591     {\r
2592         "id": "ace94fc7.113e6",\r
2593         "type": "not-found",\r
2594         "name": "not-found",\r
2595         "xml": "<outcome value='not-found'>\n",\r
2596         "comments": "",\r
2597         "outputs": 1,\r
2598         "x": 5304,\r
2599         "y": 732,\r
2600         "z": "b31344e1.6b9228",\r
2601         "wires": [\r
2602             [\r
2603                 "af8bf071.82c85"\r
2604             ]\r
2605         ]\r
2606     },\r
2607     {\r
2608         "id": "42739782.dc6168",\r
2609         "type": "other",\r
2610         "name": "other",\r
2611         "xml": "<outcome value='Other'>\n",\r
2612         "comments": "",\r
2613         "outputs": 1,\r
2614         "x": 5309,\r
2615         "y": 789,\r
2616         "z": "b31344e1.6b9228",\r
2617         "wires": [\r
2618             [\r
2619                 "b1e33e76.6db9b"\r
2620             ]\r
2621         ]\r
2622     },\r
2623     {\r
2624         "id": "b1e33e76.6db9b",\r
2625         "type": "returnFailure",\r
2626         "name": "return failure",\r
2627         "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
2628         "comments": "",\r
2629         "x": 5461,\r
2630         "y": 790,\r
2631         "z": "b31344e1.6b9228",\r
2632         "wires": []\r
2633     },\r
2634     {\r
2635         "id": "af8bf071.82c85",\r
2636         "type": "returnFailure",\r
2637         "name": "return failure",\r
2638         "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
2639         "comments": "",\r
2640         "x": 5472,\r
2641         "y": 735,\r
2642         "z": "b31344e1.6b9228",\r
2643         "wires": []\r
2644     },\r
2645     {\r
2646         "id": "c4631195.e5511",\r
2647         "type": "block",\r
2648         "name": "block",\r
2649         "xml": "<block>\n",\r
2650         "atomic": "false",\r
2651         "comments": "",\r
2652         "outputs": 1,\r
2653         "x": 5456.38232421875,\r
2654         "y": 674.6556701660156,\r
2655         "z": "b31344e1.6b9228",\r
2656         "wires": [\r
2657             [\r
2658                 "4dcc9c46.887914"\r
2659             ]\r
2660         ]\r
2661     },\r
2662     {\r
2663         "id": "4dcc9c46.887914",\r
2664         "type": "set",\r
2665         "name": "set controller domainA data",\r
2666         "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
2667         "comments": "",\r
2668         "x": 5671,\r
2669         "y": 671,\r
2670         "z": "b31344e1.6b9228",\r
2671         "wires": []\r
2672     },\r
2673     {\r
2674         "id": "e1d06713.adb0c8",\r
2675         "type": "get-resource",\r
2676         "name": "get-resource src pnf",\r
2677         "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
2678         "comments": "",\r
2679         "outputs": 1,\r
2680         "x": 3836,\r
2681         "y": 1560,\r
2682         "z": "b31344e1.6b9228",\r
2683         "wires": [\r
2684             [\r
2685                 "34f7d7e6.e7fa8",\r
2686                 "cb710953.72942",\r
2687                 "4c788e8d.e93588"\r
2688             ]\r
2689         ]\r
2690     },\r
2691     {\r
2692         "id": "34f7d7e6.e7fa8",\r
2693         "type": "success",\r
2694         "name": "success",\r
2695         "xml": "<outcome value='success'>\n",\r
2696         "comments": "",\r
2697         "outputs": 1,\r
2698         "x": 4031.5001220703125,\r
2699         "y": 1512,\r
2700         "z": "b31344e1.6b9228",\r
2701         "wires": [\r
2702             [\r
2703                 "fd0d1ee5.65b0f"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "cb710953.72942",\r
2709         "type": "not-found",\r
2710         "name": "not-found",\r
2711         "xml": "<outcome value='not-found'>\n",\r
2712         "comments": "",\r
2713         "outputs": 1,\r
2714         "x": 4023.5001220703125,\r
2715         "y": 1567,\r
2716         "z": "b31344e1.6b9228",\r
2717         "wires": [\r
2718             [\r
2719                 "68639fde.fb4de8"\r
2720             ]\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "4c788e8d.e93588",\r
2725         "type": "other",\r
2726         "name": "other",\r
2727         "xml": "<outcome value='Other'>\n",\r
2728         "comments": "",\r
2729         "outputs": 1,\r
2730         "x": 4028.5001220703125,\r
2731         "y": 1624,\r
2732         "z": "b31344e1.6b9228",\r
2733         "wires": [\r
2734             [\r
2735                 "ed57c904.1da5b"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "ed57c904.1da5b",\r
2741         "type": "returnFailure",\r
2742         "name": "return failure",\r
2743         "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
2744         "comments": "",\r
2745         "x": 4180.5001220703125,\r
2746         "y": 1625,\r
2747         "z": "b31344e1.6b9228",\r
2748         "wires": []\r
2749     },\r
2750     {\r
2751         "id": "68639fde.fb4de8",\r
2752         "type": "returnFailure",\r
2753         "name": "return failure",\r
2754         "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
2755         "comments": "",\r
2756         "x": 4191.5001220703125,\r
2757         "y": 1570,\r
2758         "z": "b31344e1.6b9228",\r
2759         "wires": []\r
2760     },\r
2761     {\r
2762         "id": "fd0d1ee5.65b0f",\r
2763         "type": "block",\r
2764         "name": "block",\r
2765         "xml": "<block>\n",\r
2766         "atomic": "false",\r
2767         "comments": "",\r
2768         "outputs": 1,\r
2769         "x": 4175.8824462890625,\r
2770         "y": 1509.6556701660156,\r
2771         "z": "b31344e1.6b9228",\r
2772         "wires": [\r
2773             [\r
2774                 "2c890085.25e4f8"\r
2775             ]\r
2776         ]\r
2777     },\r
2778     {\r
2779         "id": "b16b2c11.a7e9e",\r
2780         "type": "outcome",\r
2781         "name": "esr-thirdparty-sdnc",\r
2782         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2783         "comments": "",\r
2784         "outputs": 1,\r
2785         "x": 4758,\r
2786         "y": 1528,\r
2787         "z": "b31344e1.6b9228",\r
2788         "wires": [\r
2789             [\r
2790                 "e2c7b2a2.534808"\r
2791             ]\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "e2c7b2a2.534808",\r
2796         "type": "block",\r
2797         "name": "block : atomic",\r
2798         "xml": "<block atomic=\"true\">",\r
2799         "atomic": "true",\r
2800         "outputs": 1,\r
2801         "x": 4935,\r
2802         "y": 1520,\r
2803         "z": "b31344e1.6b9228",\r
2804         "wires": [\r
2805             [\r
2806                 "8256d13e.acb508",\r
2807                 "e33af2d.2ed629"\r
2808             ]\r
2809         ]\r
2810     },\r
2811     {\r
2812         "id": "2c890085.25e4f8",\r
2813         "type": "for",\r
2814         "name": "for each relationship",\r
2815         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2816         "comments": "",\r
2817         "outputs": 1,\r
2818         "x": 4360,\r
2819         "y": 1524,\r
2820         "z": "b31344e1.6b9228",\r
2821         "wires": [\r
2822             [\r
2823                 "7ad873b6.5b0624"\r
2824             ]\r
2825         ]\r
2826     },\r
2827     {\r
2828         "id": "7ad873b6.5b0624",\r
2829         "type": "switchNode",\r
2830         "name": "switch related-to",\r
2831         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2832         "comments": "",\r
2833         "outputs": 1,\r
2834         "x": 4555,\r
2835         "y": 1524,\r
2836         "z": "b31344e1.6b9228",\r
2837         "wires": [\r
2838             [\r
2839                 "b16b2c11.a7e9e",\r
2840                 "ba30acec.499f9"\r
2841             ]\r
2842         ]\r
2843     },\r
2844     {\r
2845         "id": "e33af2d.2ed629",\r
2846         "type": "execute",\r
2847         "name": "get esr-thirdparty-sdnc",\r
2848         "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
2849         "comments": "",\r
2850         "outputs": 1,\r
2851         "x": 5143,\r
2852         "y": 1527,\r
2853         "z": "b31344e1.6b9228",\r
2854         "wires": [\r
2855             [\r
2856                 "dd2f9c6b.57f548",\r
2857                 "3b879379.c9bf84",\r
2858                 "13b1398c.3c465e"\r
2859             ]\r
2860         ]\r
2861     },\r
2862     {\r
2863         "id": "8256d13e.acb508",\r
2864         "type": "set",\r
2865         "name": "set esr-thirdparty-sdnc domainB id",\r
2866         "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
2867         "comments": "",\r
2868         "x": 5173,\r
2869         "y": 1475,\r
2870         "z": "b31344e1.6b9228",\r
2871         "wires": []\r
2872     },\r
2873     {\r
2874         "id": "dd2f9c6b.57f548",\r
2875         "type": "success",\r
2876         "name": "success",\r
2877         "xml": "<outcome value='success'>\n",\r
2878         "comments": "",\r
2879         "outputs": 1,\r
2880         "x": 5353,\r
2881         "y": 1518,\r
2882         "z": "b31344e1.6b9228",\r
2883         "wires": [\r
2884             [\r
2885                 "56d2c260.edc91c"\r
2886             ]\r
2887         ]\r
2888     },\r
2889     {\r
2890         "id": "3b879379.c9bf84",\r
2891         "type": "not-found",\r
2892         "name": "not-found",\r
2893         "xml": "<outcome value='not-found'>\n",\r
2894         "comments": "",\r
2895         "outputs": 1,\r
2896         "x": 5345,\r
2897         "y": 1573,\r
2898         "z": "b31344e1.6b9228",\r
2899         "wires": [\r
2900             [\r
2901                 "7449bea.eaa7fc"\r
2902             ]\r
2903         ]\r
2904     },\r
2905     {\r
2906         "id": "13b1398c.3c465e",\r
2907         "type": "other",\r
2908         "name": "other",\r
2909         "xml": "<outcome value='Other'>\n",\r
2910         "comments": "",\r
2911         "outputs": 1,\r
2912         "x": 5350,\r
2913         "y": 1630,\r
2914         "z": "b31344e1.6b9228",\r
2915         "wires": [\r
2916             [\r
2917                 "232c7315.841b1c"\r
2918             ]\r
2919         ]\r
2920     },\r
2921     {\r
2922         "id": "232c7315.841b1c",\r
2923         "type": "returnFailure",\r
2924         "name": "return failure",\r
2925         "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
2926         "comments": "",\r
2927         "x": 5502,\r
2928         "y": 1631,\r
2929         "z": "b31344e1.6b9228",\r
2930         "wires": []\r
2931     },\r
2932     {\r
2933         "id": "7449bea.eaa7fc",\r
2934         "type": "returnFailure",\r
2935         "name": "return failure",\r
2936         "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
2937         "comments": "",\r
2938         "x": 5513,\r
2939         "y": 1576,\r
2940         "z": "b31344e1.6b9228",\r
2941         "wires": []\r
2942     },\r
2943     {\r
2944         "id": "56d2c260.edc91c",\r
2945         "type": "block",\r
2946         "name": "block",\r
2947         "xml": "<block>\n",\r
2948         "atomic": "false",\r
2949         "comments": "",\r
2950         "outputs": 1,\r
2951         "x": 5497.38232421875,\r
2952         "y": 1515.6556701660156,\r
2953         "z": "b31344e1.6b9228",\r
2954         "wires": [\r
2955             [\r
2956                 "49d0cb53.31a39c"\r
2957             ]\r
2958         ]\r
2959     },\r
2960     {\r
2961         "id": "49d0cb53.31a39c",\r
2962         "type": "set",\r
2963         "name": "set controller domainB data",\r
2964         "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
2965         "comments": "",\r
2966         "x": 5712,\r
2967         "y": 1512,\r
2968         "z": "b31344e1.6b9228",\r
2969         "wires": []\r
2970     },\r
2971     {\r
2972         "id": "4197c53b.8564cc",\r
2973         "type": "execute",\r
2974         "name": "execute RestApiCallNode slice creation domainA",\r
2975         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\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=\"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`\" />",\r
2976         "comments": "",\r
2977         "outputs": 1,\r
2978         "x": 2006,\r
2979         "y": 4699,\r
2980         "z": "b31344e1.6b9228",\r
2981         "wires": [\r
2982             [\r
2983                 "70c04755.d69dd8",\r
2984                 "d409404c.9b0598"\r
2985             ]\r
2986         ]\r
2987     },\r
2988     {\r
2989         "id": "d409404c.9b0598",\r
2990         "type": "failure",\r
2991         "name": "failure",\r
2992         "xml": "<outcome value='failure'>\n",\r
2993         "comments": "",\r
2994         "outputs": 1,\r
2995         "x": 2289,\r
2996         "y": 4679,\r
2997         "z": "b31344e1.6b9228",\r
2998         "wires": [\r
2999             [\r
3000                 "b37528b2.115b48"\r
3001             ]\r
3002         ]\r
3003     },\r
3004     {\r
3005         "id": "70c04755.d69dd8",\r
3006         "type": "success",\r
3007         "name": "success",\r
3008         "xml": "<outcome value='success'>\n",\r
3009         "comments": "",\r
3010         "outputs": 1,\r
3011         "x": 2290.000213623047,\r
3012         "y": 4729.99990940094,\r
3013         "z": "b31344e1.6b9228",\r
3014         "wires": [\r
3015             [\r
3016                 "31bb8bbe.1ece2c"\r
3017             ]\r
3018         ]\r
3019     },\r
3020     {\r
3021         "id": "b37528b2.115b48",\r
3022         "type": "returnFailure",\r
3023         "name": "return failure",\r
3024         "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
3025         "comments": "",\r
3026         "x": 2429.0002479553223,\r
3027         "y": 4679.000000953674,\r
3028         "z": "b31344e1.6b9228",\r
3029         "wires": []\r
3030     },\r
3031     {\r
3032         "id": "31bb8bbe.1ece2c",\r
3033         "type": "block",\r
3034         "name": "block",\r
3035         "xml": "<block>\n",\r
3036         "atomic": "false",\r
3037         "comments": "",\r
3038         "outputs": 1,\r
3039         "x": 2435.02725982666,\r
3040         "y": 4727.745394706726,\r
3041         "z": "b31344e1.6b9228",\r
3042         "wires": [\r
3043             []\r
3044         ]\r
3045     },\r
3046     {\r
3047         "id": "c751bc62.d2e9d8",\r
3048         "type": "execute",\r
3049         "name": "execute RestApiCallNode slice creation domainB",\r
3050         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\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=\"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`\" />",\r
3051         "comments": "",\r
3052         "outputs": 1,\r
3053         "x": 2002,\r
3054         "y": 4868,\r
3055         "z": "b31344e1.6b9228",\r
3056         "wires": [\r
3057             [\r
3058                 "9cb98bdf.eb0c38",\r
3059                 "32bfa672.12903a"\r
3060             ]\r
3061         ]\r
3062     },\r
3063     {\r
3064         "id": "32bfa672.12903a",\r
3065         "type": "failure",\r
3066         "name": "failure",\r
3067         "xml": "<outcome value='failure'>\n",\r
3068         "comments": "",\r
3069         "outputs": 1,\r
3070         "x": 2276,\r
3071         "y": 4848,\r
3072         "z": "b31344e1.6b9228",\r
3073         "wires": [\r
3074             [\r
3075                 "b28dd680.86b978"\r
3076             ]\r
3077         ]\r
3078     },\r
3079     {\r
3080         "id": "9cb98bdf.eb0c38",\r
3081         "type": "success",\r
3082         "name": "success",\r
3083         "xml": "<outcome value='success'>\n",\r
3084         "comments": "",\r
3085         "outputs": 1,\r
3086         "x": 2277.000213623047,\r
3087         "y": 4898.99990940094,\r
3088         "z": "b31344e1.6b9228",\r
3089         "wires": [\r
3090             [\r
3091                 "2765f5a8.5ab652"\r
3092             ]\r
3093         ]\r
3094     },\r
3095     {\r
3096         "id": "b28dd680.86b978",\r
3097         "type": "returnFailure",\r
3098         "name": "return failure",\r
3099         "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 B\" />\n",\r
3100         "comments": "",\r
3101         "x": 2416.0002479553223,\r
3102         "y": 4848.000000953674,\r
3103         "z": "b31344e1.6b9228",\r
3104         "wires": []\r
3105     },\r
3106     {\r
3107         "id": "2765f5a8.5ab652",\r
3108         "type": "block",\r
3109         "name": "block",\r
3110         "xml": "<block>\n",\r
3111         "atomic": "false",\r
3112         "comments": "",\r
3113         "outputs": 1,\r
3114         "x": 2422.02725982666,\r
3115         "y": 4896.745394706726,\r
3116         "z": "b31344e1.6b9228",\r
3117         "wires": [\r
3118             []\r
3119         ]\r
3120     },\r
3121     {\r
3122         "id": "33bd7ebe.34c502",\r
3123         "type": "block",\r
3124         "name": "block : atomic",\r
3125         "xml": "<block atomic=\"true\">",\r
3126         "atomic": "true",\r
3127         "outputs": 1,\r
3128         "x": 2796,\r
3129         "y": 452,\r
3130         "z": "b31344e1.6b9228",\r
3131         "wires": [\r
3132             [\r
3133                 "fe8ff063.6863b8",\r
3134                 "4e85bccf.c8cf0c"\r
3135             ]\r
3136         ]\r
3137     },\r
3138     {\r
3139         "id": "4e85bccf.c8cf0c",\r
3140         "type": "for",\r
3141         "name": "for each allotted-resource relationship",\r
3142         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
3143         "comments": "",\r
3144         "outputs": 1,\r
3145         "x": 3077,\r
3146         "y": 408,\r
3147         "z": "b31344e1.6b9228",\r
3148         "wires": [\r
3149             [\r
3150                 "badd7dbd.ce16"\r
3151             ]\r
3152         ]\r
3153     },\r
3154     {\r
3155         "id": "badd7dbd.ce16",\r
3156         "type": "switchNode",\r
3157         "name": "switch related-to",\r
3158         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
3159         "comments": "",\r
3160         "outputs": 1,\r
3161         "x": 3339,\r
3162         "y": 408,\r
3163         "z": "b31344e1.6b9228",\r
3164         "wires": [\r
3165             [\r
3166                 "5050eb58.e00ed4"\r
3167             ]\r
3168         ]\r
3169     },\r
3170     {\r
3171         "id": "212f425.c6d5fbe",\r
3172         "type": "outcome",\r
3173         "name": "network-resource",\r
3174         "xml": "<outcome value='network-resource'>",\r
3175         "comments": "",\r
3176         "outputs": 1,\r
3177         "x": 4720,\r
3178         "y": 761,\r
3179         "z": "b31344e1.6b9228",\r
3180         "wires": [\r
3181             [\r
3182                 "656d86d7.e1bb3"\r
3183             ]\r
3184         ]\r
3185     },\r
3186     {\r
3187         "id": "656d86d7.e1bb3",\r
3188         "type": "block",\r
3189         "name": "block : atomic",\r
3190         "xml": "<block atomic=\"true\">",\r
3191         "atomic": "true",\r
3192         "outputs": 1,\r
3193         "x": 4897,\r
3194         "y": 753,\r
3195         "z": "b31344e1.6b9228",\r
3196         "wires": [\r
3197             [\r
3198                 "4f5b4545.d432fc"\r
3199             ]\r
3200         ]\r
3201     },\r
3202     {\r
3203         "id": "4f5b4545.d432fc",\r
3204         "type": "set",\r
3205         "name": "set domainA ethernet layer network-id",\r
3206         "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
3207         "comments": "",\r
3208         "x": 5132,\r
3209         "y": 877,\r
3210         "z": "b31344e1.6b9228",\r
3211         "wires": []\r
3212     },\r
3213     {\r
3214         "id": "5e5727f6.ce94f",\r
3215         "type": "set",\r
3216         "name": "set domainB ethernet layer network-id",\r
3217         "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
3218         "comments": "",\r
3219         "x": 5172,\r
3220         "y": 1717,\r
3221         "z": "b31344e1.6b9228",\r
3222         "wires": []\r
3223     },\r
3224     {\r
3225         "id": "33761656.d7dc5a",\r
3226         "type": "block",\r
3227         "name": "block : atomic",\r
3228         "xml": "<block atomic=\"true\">",\r
3229         "atomic": "true",\r
3230         "outputs": 1,\r
3231         "x": 4937,\r
3232         "y": 1593,\r
3233         "z": "b31344e1.6b9228",\r
3234         "wires": [\r
3235             [\r
3236                 "5e5727f6.ce94f"\r
3237             ]\r
3238         ]\r
3239     },\r
3240     {\r
3241         "id": "ba30acec.499f9",\r
3242         "type": "outcome",\r
3243         "name": "network-resource",\r
3244         "xml": "<outcome value='network-resource'>",\r
3245         "comments": "",\r
3246         "outputs": 1,\r
3247         "x": 4760,\r
3248         "y": 1601,\r
3249         "z": "b31344e1.6b9228",\r
3250         "wires": [\r
3251             [\r
3252                 "33761656.d7dc5a"\r
3253             ]\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "6b9897c8.516f28",\r
3258         "type": "execute",\r
3259         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3260         "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
3261         "comments": "",\r
3262         "outputs": 1,\r
3263         "x": 2718,\r
3264         "y": 3473,\r
3265         "z": "b31344e1.6b9228",\r
3266         "wires": [\r
3267             [\r
3268                 "423bbf1a.980188",\r
3269                 "5a878bc1.0c7c24"\r
3270             ]\r
3271         ]\r
3272     },\r
3273     {\r
3274         "id": "5a878bc1.0c7c24",\r
3275         "type": "failure",\r
3276         "name": "failure",\r
3277         "xml": "<outcome value='failure'>\n",\r
3278         "comments": "",\r
3279         "outputs": 1,\r
3280         "x": 2984,\r
3281         "y": 3453,\r
3282         "z": "b31344e1.6b9228",\r
3283         "wires": [\r
3284             [\r
3285                 "857ed73a.517d58"\r
3286             ]\r
3287         ]\r
3288     },\r
3289     {\r
3290         "id": "423bbf1a.980188",\r
3291         "type": "success",\r
3292         "name": "success",\r
3293         "xml": "<outcome value='success'>\n",\r
3294         "comments": "",\r
3295         "outputs": 1,\r
3296         "x": 2985.000213623047,\r
3297         "y": 3503.99990940094,\r
3298         "z": "b31344e1.6b9228",\r
3299         "wires": [\r
3300             [\r
3301                 "c8157b69.44d2d"\r
3302             ]\r
3303         ]\r
3304     },\r
3305     {\r
3306         "id": "857ed73a.517d58",\r
3307         "type": "returnFailure",\r
3308         "name": "return failure",\r
3309         "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
3310         "comments": "",\r
3311         "x": 3124.0002479553223,\r
3312         "y": 3453.0000009536743,\r
3313         "z": "b31344e1.6b9228",\r
3314         "wires": []\r
3315     },\r
3316     {\r
3317         "id": "c8157b69.44d2d",\r
3318         "type": "block",\r
3319         "name": "block",\r
3320         "xml": "<block>\n",\r
3321         "atomic": "false",\r
3322         "comments": "",\r
3323         "outputs": 1,\r
3324         "x": 3130.02725982666,\r
3325         "y": 3501.745394706726,\r
3326         "z": "b31344e1.6b9228",\r
3327         "wires": [\r
3328             []\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "1473b1fb.f66ede",\r
3333         "type": "execute",\r
3334         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3335         "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
3336         "comments": "",\r
3337         "outputs": 1,\r
3338         "x": 2718,\r
3339         "y": 3839,\r
3340         "z": "b31344e1.6b9228",\r
3341         "wires": [\r
3342             [\r
3343                 "8f6a2d0c.d8e1f8",\r
3344                 "9fe0565f.7886"\r
3345             ]\r
3346         ]\r
3347     },\r
3348     {\r
3349         "id": "9fe0565f.7886",\r
3350         "type": "failure",\r
3351         "name": "failure",\r
3352         "xml": "<outcome value='failure'>\n",\r
3353         "comments": "",\r
3354         "outputs": 1,\r
3355         "x": 2984,\r
3356         "y": 3819,\r
3357         "z": "b31344e1.6b9228",\r
3358         "wires": [\r
3359             [\r
3360                 "9f93d2ab.f5b508"\r
3361             ]\r
3362         ]\r
3363     },\r
3364     {\r
3365         "id": "8f6a2d0c.d8e1f8",\r
3366         "type": "success",\r
3367         "name": "success",\r
3368         "xml": "<outcome value='success'>\n",\r
3369         "comments": "",\r
3370         "outputs": 1,\r
3371         "x": 2985.000213623047,\r
3372         "y": 3869.99990940094,\r
3373         "z": "b31344e1.6b9228",\r
3374         "wires": [\r
3375             [\r
3376                 "c9ec128c.8a9e98"\r
3377             ]\r
3378         ]\r
3379     },\r
3380     {\r
3381         "id": "9f93d2ab.f5b508",\r
3382         "type": "returnFailure",\r
3383         "name": "return failure",\r
3384         "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
3385         "comments": "",\r
3386         "x": 3124.0002479553223,\r
3387         "y": 3819.0000009536743,\r
3388         "z": "b31344e1.6b9228",\r
3389         "wires": []\r
3390     },\r
3391     {\r
3392         "id": "c9ec128c.8a9e98",\r
3393         "type": "block",\r
3394         "name": "block",\r
3395         "xml": "<block>\n",\r
3396         "atomic": "false",\r
3397         "comments": "",\r
3398         "outputs": 1,\r
3399         "x": 3130.02725982666,\r
3400         "y": 3867.745394706726,\r
3401         "z": "b31344e1.6b9228",\r
3402         "wires": [\r
3403             []\r
3404         ]\r
3405     },\r
3406     {\r
3407         "id": "420f3616.2f701",\r
3408         "type": "set",\r
3409         "name": "set the max bandwidth",\r
3410         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
3411         "comments": "",\r
3412         "x": 4378,\r
3413         "y": 538,\r
3414         "z": "b31344e1.6b9228",\r
3415         "wires": []\r
3416     },\r
3417     {\r
3418         "id": "b1349530.c53cc",\r
3419         "type": "execute",\r
3420         "name": "execute UUID generator for ethernet-service-name",\r
3421         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3422         "comments": "",\r
3423         "outputs": 1,\r
3424         "x": 2734,\r
3425         "y": 672,\r
3426         "z": "b31344e1.6b9228",\r
3427         "wires": [\r
3428             []\r
3429         ]\r
3430     },\r
3431     {\r
3432         "id": "84b0870f.4db1e",\r
3433         "type": "execute",\r
3434         "name": "execute UUID generator for otn-tunnel-name",\r
3435         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
3436         "comments": "",\r
3437         "outputs": 1,\r
3438         "x": 2715,\r
3439         "y": 722,\r
3440         "z": "b31344e1.6b9228",\r
3441         "wires": [\r
3442             []\r
3443         ]\r
3444     },\r
3445     {\r
3446         "id": "2dfd81e1.a251ae",\r
3447         "type": "for",\r
3448         "name": "for each allotted-resource",\r
3449         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
3450         "comments": "",\r
3451         "outputs": 1,\r
3452         "x": 1972,\r
3453         "y": 224,\r
3454         "z": "b31344e1.6b9228",\r
3455         "wires": [\r
3456             [\r
3457                 "3ffb610e.7895d6",\r
3458                 "1fed210d.6adb97"\r
3459             ]\r
3460         ]\r
3461     },\r
3462     {\r
3463         "id": "3ffb610e.7895d6",\r
3464         "type": "set",\r
3465         "name": "set the current allotted-resource-id",\r
3466         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
3467         "comments": "",\r
3468         "x": 2256,\r
3469         "y": 194,\r
3470         "z": "b31344e1.6b9228",\r
3471         "wires": []\r
3472     },\r
3473     {\r
3474         "id": "1f03402a.5db7",\r
3475         "type": "set",\r
3476         "name": "set query_param",\r
3477         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
3478         "comments": "",\r
3479         "x": 2631,\r
3480         "y": 2231,\r
3481         "z": "b31344e1.6b9228",\r
3482         "wires": []\r
3483     },\r
3484     {\r
3485         "id": "56710693.e24068",\r
3486         "type": "set",\r
3487         "name": "unset parameters",\r
3488         "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
3489         "comments": "",\r
3490         "x": 2615,\r
3491         "y": 3930,\r
3492         "z": "b31344e1.6b9228",\r
3493         "wires": []\r
3494     },\r
3495     {\r
3496         "id": "3323f682.f60c3a",\r
3497         "type": "set",\r
3498         "name": "set new ethernet-service-name",\r
3499         "xml": "<set>\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
3500         "comments": "",\r
3501         "x": 2672,\r
3502         "y": 767,\r
3503         "z": "b31344e1.6b9228",\r
3504         "wires": []\r
3505     },\r
3506     {\r
3507         "id": "13ac3dbd.1f366a",\r
3508         "type": "for",\r
3509         "name": "for vidx..tmp.otninfo_length[]",\r
3510         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
3511         "comments": "",\r
3512         "outputs": 1,\r
3513         "x": 2666,\r
3514         "y": 2351,\r
3515         "z": "b31344e1.6b9228",\r
3516         "wires": [\r
3517             [\r
3518                 "f2924301.397558"\r
3519             ]\r
3520         ]\r
3521     },\r
3522     {\r
3523         "id": "1e2e68c3.addf6f",\r
3524         "type": "switchNode",\r
3525         "name": "switch srcPort == NULL",\r
3526         "xml": "<switch test='`length($tmp.otninfo[$otnidx].srcPort) == 0`'>\n",\r
3527         "comments": "",\r
3528         "outputs": 1,\r
3529         "x": 2936,\r
3530         "y": 2353,\r
3531         "z": "b31344e1.6b9228",\r
3532         "wires": [\r
3533             [\r
3534                 "2e3585b0.01a1f2",\r
3535                 "eadfc48d.7db62"\r
3536             ]\r
3537         ]\r
3538     },\r
3539     {\r
3540         "id": "2e3585b0.01a1f2",\r
3541         "type": "outcomeTrue",\r
3542         "name": "true",\r
3543         "xml": "<outcome value='true'>\n",\r
3544         "comments": "",\r
3545         "outputs": 1,\r
3546         "x": 3153,\r
3547         "y": 2330,\r
3548         "z": "b31344e1.6b9228",\r
3549         "wires": [\r
3550             []\r
3551         ]\r
3552     },\r
3553     {\r
3554         "id": "eadfc48d.7db62",\r
3555         "type": "outcomeFalse",\r
3556         "name": "false",\r
3557         "xml": "<outcome value='false'>\n",\r
3558         "comments": "",\r
3559         "outputs": 1,\r
3560         "x": 3153,\r
3561         "y": 2377,\r
3562         "z": "b31344e1.6b9228",\r
3563         "wires": [\r
3564             [\r
3565                 "91bb64fe.b40488"\r
3566             ]\r
3567         ]\r
3568     },\r
3569     {\r
3570         "id": "91bb64fe.b40488",\r
3571         "type": "switchNode",\r
3572         "name": "switch srcPort == NULL",\r
3573         "xml": "<switch test='`length($tmp.otninfo[$otnidx].dstPort) == 0`'>\n",\r
3574         "comments": "",\r
3575         "outputs": 1,\r
3576         "x": 3356,\r
3577         "y": 2376,\r
3578         "z": "b31344e1.6b9228",\r
3579         "wires": [\r
3580             [\r
3581                 "ecd0f109.dbad88",\r
3582                 "fd54750b.bb4c08"\r
3583             ]\r
3584         ]\r
3585     },\r
3586     {\r
3587         "id": "fd54750b.bb4c08",\r
3588         "type": "outcomeTrue",\r
3589         "name": "true",\r
3590         "xml": "<outcome value='true'>\n",\r
3591         "comments": "",\r
3592         "outputs": 1,\r
3593         "x": 3551,\r
3594         "y": 2330,\r
3595         "z": "b31344e1.6b9228",\r
3596         "wires": [\r
3597             []\r
3598         ]\r
3599     },\r
3600     {\r
3601         "id": "ecd0f109.dbad88",\r
3602         "type": "outcomeFalse",\r
3603         "name": "false",\r
3604         "xml": "<outcome value='false'>\n",\r
3605         "comments": "",\r
3606         "outputs": 1,\r
3607         "x": 3549,\r
3608         "y": 2370,\r
3609         "z": "b31344e1.6b9228",\r
3610         "wires": [\r
3611             []\r
3612         ]\r
3613     },\r
3614     {\r
3615         "id": "647d2436.140504",\r
3616         "type": "save",\r
3617         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3618         "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='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='vpn-type' value='`$prop.global.sotn.vpnType`' />\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",\r
3619         "comments": "",\r
3620         "outputs": 1,\r
3621         "x": 3788,\r
3622         "y": 2951,\r
3623         "z": "b31344e1.6b9228",\r
3624         "wires": [\r
3625             [\r
3626                 "810630b1.0e1b6"\r
3627             ]\r
3628         ]\r
3629     },\r
3630     {\r
3631         "id": "fdfa6fb7.1a35f",\r
3632         "type": "save",\r
3633         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3634         "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
3635         "comments": "",\r
3636         "outputs": 1,\r
3637         "x": 4361.5,\r
3638         "y": 3023,\r
3639         "z": "b31344e1.6b9228",\r
3640         "wires": [\r
3641             []\r
3642         ]\r
3643     },\r
3644     {\r
3645         "id": "810630b1.0e1b6",\r
3646         "type": "success",\r
3647         "name": "success",\r
3648         "xml": "<outcome value='success'>\n",\r
3649         "comments": "",\r
3650         "outputs": 1,\r
3651         "x": 4094,\r
3652         "y": 2950,\r
3653         "z": "b31344e1.6b9228",\r
3654         "wires": [\r
3655             [\r
3656                 "a594830d.53acd8"\r
3657             ]\r
3658         ]\r
3659     },\r
3660     {\r
3661         "id": "a594830d.53acd8",\r
3662         "type": "block",\r
3663         "name": "block",\r
3664         "xml": "<block>\n",\r
3665         "atomic": "false",\r
3666         "comments": "",\r
3667         "outputs": 1,\r
3668         "x": 4303.5,\r
3669         "y": 2950.25390625,\r
3670         "z": "b31344e1.6b9228",\r
3671         "wires": [\r
3672             []\r
3673         ]\r
3674     },\r
3675     {\r
3676         "id": "4c295920.4b5da",\r
3677         "type": "execute",\r
3678         "name": "execute UUID generator for vpn-binding $otnidx",\r
3679         "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
3680         "comments": "",\r
3681         "outputs": 1,\r
3682         "x": 3825,\r
3683         "y": 2383,\r
3684         "z": "b31344e1.6b9228",\r
3685         "wires": [\r
3686             []\r
3687         ]\r
3688     },\r
3689     {\r
3690         "id": "19452741.32e4c1",\r
3691         "type": "switchNode",\r
3692         "name": "switch otnidx == 0",\r
3693         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3694         "comments": "",\r
3695         "outputs": 1,\r
3696         "x": 3698,\r
3697         "y": 3036,\r
3698         "z": "b31344e1.6b9228",\r
3699         "wires": [\r
3700             [\r
3701                 "9c40fb98.e1f61",\r
3702                 "20acba8d.85a5f6"\r
3703             ]\r
3704         ]\r
3705     },\r
3706     {\r
3707         "id": "9c40fb98.e1f61",\r
3708         "type": "outcomeTrue",\r
3709         "name": "true",\r
3710         "xml": "<outcome value='true'>\n",\r
3711         "comments": "",\r
3712         "outputs": 1,\r
3713         "x": 3881,\r
3714         "y": 3036,\r
3715         "z": "b31344e1.6b9228",\r
3716         "wires": [\r
3717             [\r
3718                 "a42fc89d.d0c4a"\r
3719             ]\r
3720         ]\r
3721     },\r
3722     {\r
3723         "id": "20acba8d.85a5f6",\r
3724         "type": "outcomeFalse",\r
3725         "name": "false",\r
3726         "xml": "<outcome value='false'>\n",\r
3727         "comments": "",\r
3728         "outputs": 1,\r
3729         "x": 3706,\r
3730         "y": 3183,\r
3731         "z": "b31344e1.6b9228",\r
3732         "wires": [\r
3733             [\r
3734                 "332942c6.7f663e"\r
3735             ]\r
3736         ]\r
3737     },\r
3738     {\r
3739         "id": "f5749296.6a691",\r
3740         "type": "switchNode",\r
3741         "name": "switch otnidx == last",\r
3742         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3743         "comments": "",\r
3744         "outputs": 1,\r
3745         "x": 4047,\r
3746         "y": 3264,\r
3747         "z": "b31344e1.6b9228",\r
3748         "wires": [\r
3749             [\r
3750                 "2103be8f.1fc842",\r
3751                 "1554c822.b8c828"\r
3752             ]\r
3753         ]\r
3754     },\r
3755     {\r
3756         "id": "2103be8f.1fc842",\r
3757         "type": "outcomeTrue",\r
3758         "name": "true",\r
3759         "xml": "<outcome value='true'>\n",\r
3760         "comments": "",\r
3761         "outputs": 1,\r
3762         "x": 4232,\r
3763         "y": 3265,\r
3764         "z": "b31344e1.6b9228",\r
3765         "wires": [\r
3766             [\r
3767                 "a1250da6.1c6"\r
3768             ]\r
3769         ]\r
3770     },\r
3771     {\r
3772         "id": "1554c822.b8c828",\r
3773         "type": "outcomeFalse",\r
3774         "name": "false",\r
3775         "xml": "<outcome value='false'>\n",\r
3776         "comments": "",\r
3777         "outputs": 1,\r
3778         "x": 4251,\r
3779         "y": 3531,\r
3780         "z": "b31344e1.6b9228",\r
3781         "wires": [\r
3782             [\r
3783                 "99adbaff.3e741"\r
3784             ]\r
3785         ]\r
3786     },\r
3787     {\r
3788         "id": "f416ea28.cb6ab",\r
3789         "type": "save",\r
3790         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3791         "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
3792         "comments": "",\r
3793         "outputs": 1,\r
3794         "x": 4662,\r
3795         "y": 3266,\r
3796         "z": "b31344e1.6b9228",\r
3797         "wires": [\r
3798             []\r
3799         ]\r
3800     },\r
3801     {\r
3802         "id": "e6548b2c.2addd8",\r
3803         "type": "execute",\r
3804         "name": "execute UUID generator for connectivity domain otnidx",\r
3805         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3806         "comments": "",\r
3807         "outputs": 1,\r
3808         "x": 4736,\r
3809         "y": 3564,\r
3810         "z": "b31344e1.6b9228",\r
3811         "wires": [\r
3812             []\r
3813         ]\r
3814     },\r
3815     {\r
3816         "id": "ddd52155.f542e8",\r
3817         "type": "save",\r
3818         "name": "save connectivity resource in AAI",\r
3819         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='dummy' />\n<!--<parameter name='CIR' value='`$prop.sotn.cir`' />-->\n<!--<parameter name='EIR' value='`$prop.sotn.eir`' />-->\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
3820         "comments": "",\r
3821         "outputs": 1,\r
3822         "x": 4672,\r
3823         "y": 3615,\r
3824         "z": "b31344e1.6b9228",\r
3825         "wires": [\r
3826             []\r
3827         ]\r
3828     },\r
3829     {\r
3830         "id": "a14f6e93.1adaf8",\r
3831         "type": "save",\r
3832         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3833         "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
3834         "comments": "",\r
3835         "outputs": 1,\r
3836         "x": 4801,\r
3837         "y": 3665,\r
3838         "z": "b31344e1.6b9228",\r
3839         "wires": [\r
3840             []\r
3841         ]\r
3842     },\r
3843     {\r
3844         "id": "16a831c0.877516",\r
3845         "type": "comment",\r
3846         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3847         "info": "",\r
3848         "comments": "",\r
3849         "x": 4811,\r
3850         "y": 3508,\r
3851         "z": "b31344e1.6b9228",\r
3852         "wires": []\r
3853     },\r
3854     {\r
3855         "id": "2e301756.38a228",\r
3856         "type": "save",\r
3857         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3858         "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
3859         "comments": "",\r
3860         "outputs": 1,\r
3861         "x": 4769,\r
3862         "y": 3724,\r
3863         "z": "b31344e1.6b9228",\r
3864         "wires": [\r
3865             []\r
3866         ]\r
3867     },\r
3868     {\r
3869         "id": "99adbaff.3e741",\r
3870         "type": "block",\r
3871         "name": "block : atomic",\r
3872         "xml": "<block atomic='true'>",\r
3873         "atomic": "true",\r
3874         "comments": "",\r
3875         "outputs": 1,\r
3876         "x": 4408,\r
3877         "y": 3532,\r
3878         "z": "b31344e1.6b9228",\r
3879         "wires": [\r
3880             [\r
3881                 "e6548b2c.2addd8",\r
3882                 "ddd52155.f542e8",\r
3883                 "a14f6e93.1adaf8",\r
3884                 "2e301756.38a228",\r
3885                 "ebae712b.9f6bf8"\r
3886             ]\r
3887         ]\r
3888     },\r
3889     {\r
3890         "id": "f2924301.397558",\r
3891         "type": "block",\r
3892         "name": "block : atomic",\r
3893         "xml": "<block atomic='true'>",\r
3894         "atomic": "true",\r
3895         "comments": "",\r
3896         "outputs": 1,\r
3897         "x": 2918,\r
3898         "y": 2412,\r
3899         "z": "b31344e1.6b9228",\r
3900         "wires": [\r
3901             [\r
3902                 "4c295920.4b5da",\r
3903                 "647d2436.140504",\r
3904                 "19452741.32e4c1",\r
3905                 "1d59f70d.1ee6c9",\r
3906                 "b15a67ed.f1cb18",\r
3907                 "e4fb52b5.f04798",\r
3908                 "f5263d8c.0dd66"\r
3909             ]\r
3910         ]\r
3911     },\r
3912     {\r
3913         "id": "2e1edee2.ee8112",\r
3914         "type": "set",\r
3915         "name": "set attachment_param domain A",\r
3916         "xml": "<set>\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].otn-dest-node`' value='`$tmp.otninfo[0].dstPort.dst-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].src-ttp-id`' value='' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list[$idx].dst-ttp-id`' value='`$tmp.otninfo[0].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[10].list_length`' value='`$idx + 1`' />-->\n\n\n",\r
3917         "comments": "",\r
3918         "x": 4286,\r
3919         "y": 3080,\r
3920         "z": "b31344e1.6b9228",\r
3921         "wires": []\r
3922     },\r
3923     {\r
3924         "id": "ba046748.bfe1b",\r
3925         "type": "execute",\r
3926         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3927         "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
3928         "comments": "",\r
3929         "outputs": 1,\r
3930         "x": 4339,\r
3931         "y": 3124,\r
3932         "z": "b31344e1.6b9228",\r
3933         "wires": [\r
3934             [\r
3935                 "b63ee960.cee2c",\r
3936                 "1b1f60e5.7a7c9f"\r
3937             ]\r
3938         ]\r
3939     },\r
3940     {\r
3941         "id": "1b1f60e5.7a7c9f",\r
3942         "type": "failure",\r
3943         "name": "failure",\r
3944         "xml": "<outcome value='failure'>\n",\r
3945         "comments": "",\r
3946         "outputs": 1,\r
3947         "x": 4610,\r
3948         "y": 3109,\r
3949         "z": "b31344e1.6b9228",\r
3950         "wires": [\r
3951             [\r
3952                 "e9f5d50.e9a0928"\r
3953             ]\r
3954         ]\r
3955     },\r
3956     {\r
3957         "id": "b63ee960.cee2c",\r
3958         "type": "success",\r
3959         "name": "success",\r
3960         "xml": "<outcome value='success'>\n",\r
3961         "comments": "",\r
3962         "outputs": 1,\r
3963         "x": 4608.000213623047,\r
3964         "y": 3166.99990940094,\r
3965         "z": "b31344e1.6b9228",\r
3966         "wires": [\r
3967             [\r
3968                 "c9e53751.966bb8"\r
3969             ]\r
3970         ]\r
3971     },\r
3972     {\r
3973         "id": "e9f5d50.e9a0928",\r
3974         "type": "returnFailure",\r
3975         "name": "return failure",\r
3976         "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
3977         "comments": "",\r
3978         "x": 4750.000247955322,\r
3979         "y": 3109.0000009536743,\r
3980         "z": "b31344e1.6b9228",\r
3981         "wires": []\r
3982     },\r
3983     {\r
3984         "id": "c9e53751.966bb8",\r
3985         "type": "block",\r
3986         "name": "block",\r
3987         "xml": "<block>\n",\r
3988         "atomic": "false",\r
3989         "comments": "",\r
3990         "outputs": 1,\r
3991         "x": 4756.02725982666,\r
3992         "y": 3157.745394706726,\r
3993         "z": "b31344e1.6b9228",\r
3994         "wires": [\r
3995             []\r
3996         ]\r
3997     },\r
3998     {\r
3999         "id": "a42fc89d.d0c4a",\r
4000         "type": "block",\r
4001         "name": "block",\r
4002         "xml": "<block>\n",\r
4003         "atomic": "false",\r
4004         "comments": "",\r
4005         "outputs": 1,\r
4006         "x": 4022,\r
4007         "y": 3026,\r
4008         "z": "b31344e1.6b9228",\r
4009         "wires": [\r
4010             [\r
4011                 "fdfa6fb7.1a35f",\r
4012                 "ba046748.bfe1b",\r
4013                 "2e1edee2.ee8112"\r
4014             ]\r
4015         ]\r
4016     },\r
4017     {\r
4018         "id": "a1250da6.1c6",\r
4019         "type": "block",\r
4020         "name": "block",\r
4021         "xml": "<block>\n",\r
4022         "atomic": "false",\r
4023         "comments": "",\r
4024         "outputs": 1,\r
4025         "x": 4366,\r
4026         "y": 3266,\r
4027         "z": "b31344e1.6b9228",\r
4028         "wires": [\r
4029             [\r
4030                 "f416ea28.cb6ab",\r
4031                 "6f1cb48c.6026e4",\r
4032                 "1cf9708b.795d07"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "1cf9708b.795d07",\r
4038         "type": "set",\r
4039         "name": "set attachment_param domain B",\r
4040         "xml": "<set>\n\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].src-ttp-id`' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].dst-ttp-id`' value='' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />-->\n\n",\r
4041         "comments": "",\r
4042         "x": 4586,\r
4043         "y": 3310,\r
4044         "z": "b31344e1.6b9228",\r
4045         "wires": []\r
4046     },\r
4047     {\r
4048         "id": "6f1cb48c.6026e4",\r
4049         "type": "execute",\r
4050         "name": "execute RestApiCallNode domainB UNI Coloring",\r
4051         "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
4052         "comments": "",\r
4053         "outputs": 1,\r
4054         "x": 4637,\r
4055         "y": 3354,\r
4056         "z": "b31344e1.6b9228",\r
4057         "wires": [\r
4058             [\r
4059                 "6e1323b5.c04ce4",\r
4060                 "1555b51f.0ca46b"\r
4061             ]\r
4062         ]\r
4063     },\r
4064     {\r
4065         "id": "1555b51f.0ca46b",\r
4066         "type": "failure",\r
4067         "name": "failure",\r
4068         "xml": "<outcome value='failure'>\n",\r
4069         "comments": "",\r
4070         "outputs": 1,\r
4071         "x": 4900,\r
4072         "y": 3334,\r
4073         "z": "b31344e1.6b9228",\r
4074         "wires": [\r
4075             [\r
4076                 "7a3f18c.e7bf268"\r
4077             ]\r
4078         ]\r
4079     },\r
4080     {\r
4081         "id": "6e1323b5.c04ce4",\r
4082         "type": "success",\r
4083         "name": "success",\r
4084         "xml": "<outcome value='success'>\n",\r
4085         "comments": "",\r
4086         "outputs": 1,\r
4087         "x": 4901.000213623047,\r
4088         "y": 3384.99990940094,\r
4089         "z": "b31344e1.6b9228",\r
4090         "wires": [\r
4091             [\r
4092                 "c1d2c5de.5e2688"\r
4093             ]\r
4094         ]\r
4095     },\r
4096     {\r
4097         "id": "7a3f18c.e7bf268",\r
4098         "type": "returnFailure",\r
4099         "name": "return failure",\r
4100         "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
4101         "comments": "",\r
4102         "x": 5040.000247955322,\r
4103         "y": 3334.0000009536743,\r
4104         "z": "b31344e1.6b9228",\r
4105         "wires": []\r
4106     },\r
4107     {\r
4108         "id": "c1d2c5de.5e2688",\r
4109         "type": "block",\r
4110         "name": "block",\r
4111         "xml": "<block>\n",\r
4112         "atomic": "false",\r
4113         "comments": "",\r
4114         "outputs": 1,\r
4115         "x": 5046.02725982666,\r
4116         "y": 3382.745394706726,\r
4117         "z": "b31344e1.6b9228",\r
4118         "wires": [\r
4119             []\r
4120         ]\r
4121     },\r
4122     {\r
4123         "id": "ebae712b.9f6bf8",\r
4124         "type": "set",\r
4125         "name": "set attachment_param domain otnidx",\r
4126         "xml": "<set>\n\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].otn-dest-node`' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].src-ttp-id`' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list[$idx].dst-ttp-id`' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />-->\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<!--<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />-->\n<!--<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />-->\n",\r
4127         "comments": "",\r
4128         "x": 4683,\r
4129         "y": 3784,\r
4130         "z": "b31344e1.6b9228",\r
4131         "wires": []\r
4132     },\r
4133     {\r
4134         "id": "b29e7a1b.0bb9",\r
4135         "type": "execute",\r
4136         "name": "execute RestApiCallNode domainB UNI Coloring",\r
4137         "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
4138         "comments": "",\r
4139         "outputs": 1,\r
4140         "x": 4727,\r
4141         "y": 3902,\r
4142         "z": "b31344e1.6b9228",\r
4143         "wires": [\r
4144             [\r
4145                 "b649c2ac.1863c8",\r
4146                 "5df7a032.7812b8"\r
4147             ]\r
4148         ]\r
4149     },\r
4150     {\r
4151         "id": "5df7a032.7812b8",\r
4152         "type": "failure",\r
4153         "name": "failure",\r
4154         "xml": "<outcome value='failure'>\n",\r
4155         "comments": "",\r
4156         "outputs": 1,\r
4157         "x": 4971,\r
4158         "y": 3881,\r
4159         "z": "b31344e1.6b9228",\r
4160         "wires": [\r
4161             [\r
4162                 "5f52118f.5992f"\r
4163             ]\r
4164         ]\r
4165     },\r
4166     {\r
4167         "id": "b649c2ac.1863c8",\r
4168         "type": "success",\r
4169         "name": "success",\r
4170         "xml": "<outcome value='success'>\n",\r
4171         "comments": "",\r
4172         "outputs": 1,\r
4173         "x": 4976,\r
4174         "y": 3938,\r
4175         "z": "b31344e1.6b9228",\r
4176         "wires": [\r
4177             [\r
4178                 "d6363d68.6bc1d"\r
4179             ]\r
4180         ]\r
4181     },\r
4182     {\r
4183         "id": "5f52118f.5992f",\r
4184         "type": "returnFailure",\r
4185         "name": "return failure",\r
4186         "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
4187         "comments": "",\r
4188         "x": 5111.000247955322,\r
4189         "y": 3881.0000009536743,\r
4190         "z": "b31344e1.6b9228",\r
4191         "wires": []\r
4192     },\r
4193     {\r
4194         "id": "d6363d68.6bc1d",\r
4195         "type": "block",\r
4196         "name": "block",\r
4197         "xml": "<block>\n",\r
4198         "atomic": "false",\r
4199         "comments": "",\r
4200         "outputs": 1,\r
4201         "x": 5121.027046203613,\r
4202         "y": 3935.745485305786,\r
4203         "z": "b31344e1.6b9228",\r
4204         "wires": [\r
4205             []\r
4206         ]\r
4207     },\r
4208     {\r
4209         "id": "ff94df56.8391f8",\r
4210         "type": "comment",\r
4211         "name": "find domain-otnidx URL info from either src or dst pnf (src-access-node-id). However, eth network id is hard to find, unless hard code topology id 2",\r
4212         "info": "",\r
4213         "comments": "",\r
4214         "x": 4931,\r
4215         "y": 3844,\r
4216         "z": "b31344e1.6b9228",\r
4217         "wires": []\r
4218     },\r
4219     {\r
4220         "id": "bc1d9c19.8a817",\r
4221         "type": "save",\r
4222         "name": "get all-vpn-bindings from aai",\r
4223         "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
4224         "comments": "",\r
4225         "outputs": 1,\r
4226         "x": 1986,\r
4227         "y": 4143,\r
4228         "z": "b31344e1.6b9228",\r
4229         "wires": [\r
4230             [\r
4231                 "3b12d36f.6d8234",\r
4232                 "89a53740.4d3c98",\r
4233                 "a61d86b5.6c70f"\r
4234             ]\r
4235         ]\r
4236     },\r
4237     {\r
4238         "id": "3b12d36f.6d8234",\r
4239         "type": "success",\r
4240         "name": "success",\r
4241         "xml": "<outcome value='success'>\n",\r
4242         "comments": "",\r
4243         "outputs": 1,\r
4244         "x": 2197,\r
4245         "y": 4145,\r
4246         "z": "b31344e1.6b9228",\r
4247         "wires": [\r
4248             [\r
4249                 "3ced61cb.b2d7fe"\r
4250             ]\r
4251         ]\r
4252     },\r
4253     {\r
4254         "id": "89a53740.4d3c98",\r
4255         "type": "not-found",\r
4256         "name": "not-found",\r
4257         "xml": "<outcome value='not-found'>\n",\r
4258         "comments": "",\r
4259         "outputs": 1,\r
4260         "x": 2197.490966796875,\r
4261         "y": 4190.574035644531,\r
4262         "z": "b31344e1.6b9228",\r
4263         "wires": [\r
4264             [\r
4265                 "3eafcbaf.f2f56c"\r
4266             ]\r
4267         ]\r
4268     },\r
4269     {\r
4270         "id": "a61d86b5.6c70f",\r
4271         "type": "failure",\r
4272         "name": "failure",\r
4273         "xml": "<outcome value='failure'>\n",\r
4274         "comments": "",\r
4275         "outputs": 1,\r
4276         "x": 2195,\r
4277         "y": 4234,\r
4278         "z": "b31344e1.6b9228",\r
4279         "wires": [\r
4280             [\r
4281                 "170e04a2.1b39fb"\r
4282             ]\r
4283         ]\r
4284     },\r
4285     {\r
4286         "id": "3ced61cb.b2d7fe",\r
4287         "type": "block",\r
4288         "name": "block : atomic",\r
4289         "xml": "<block atomic=\"true\">",\r
4290         "atomic": "true",\r
4291         "outputs": 1,\r
4292         "x": 2370,\r
4293         "y": 4143,\r
4294         "z": "b31344e1.6b9228",\r
4295         "wires": [\r
4296             [\r
4297                 "ef9d0591.fefb08"\r
4298             ]\r
4299         ]\r
4300     },\r
4301     {\r
4302         "id": "3eafcbaf.f2f56c",\r
4303         "type": "returnFailure",\r
4304         "name": "return failure",\r
4305         "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
4306         "comments": "",\r
4307         "x": 2360.0623779296875,\r
4308         "y": 4190.859771728516,\r
4309         "z": "b31344e1.6b9228",\r
4310         "wires": []\r
4311     },\r
4312     {\r
4313         "id": "170e04a2.1b39fb",\r
4314         "type": "returnFailure",\r
4315         "name": "return failure",\r
4316         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4317         "comments": "",\r
4318         "x": 2362,\r
4319         "y": 4233,\r
4320         "z": "b31344e1.6b9228",\r
4321         "wires": []\r
4322     },\r
4323     {\r
4324         "id": "bf30e0be.23b998",\r
4325         "type": "for",\r
4326         "name": "for vidx..tmp.otninfo_length[]",\r
4327         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
4328         "comments": "",\r
4329         "outputs": 1,\r
4330         "x": 1991,\r
4331         "y": 4322,\r
4332         "z": "b31344e1.6b9228",\r
4333         "wires": [\r
4334             [\r
4335                 "557999e1.77dcb"\r
4336             ]\r
4337         ]\r
4338     },\r
4339     {\r
4340         "id": "d613988a.0c40c",\r
4341         "type": "block",\r
4342         "name": "block : atomic",\r
4343         "xml": "<block atomic='true'>",\r
4344         "atomic": "true",\r
4345         "comments": "",\r
4346         "outputs": 1,\r
4347         "x": 2801,\r
4348         "y": 4322,\r
4349         "z": "b31344e1.6b9228",\r
4350         "wires": [\r
4351             [\r
4352                 "e4afc290.74f038"\r
4353             ]\r
4354         ]\r
4355     },\r
4356     {\r
4357         "id": "f7f46916.4f1ee",\r
4358         "type": "for",\r
4359         "name": "for vidx..tmp.otninfo_length[]",\r
4360         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
4361         "comments": "",\r
4362         "outputs": 1,\r
4363         "x": 2573,\r
4364         "y": 4322,\r
4365         "z": "b31344e1.6b9228",\r
4366         "wires": [\r
4367             [\r
4368                 "d613988a.0c40c"\r
4369             ]\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "ce29a297.cf1cb8",\r
4374         "type": "set",\r
4375         "name": "set providerValue",\r
4376         "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
4377         "comments": "",\r
4378         "x": 3003,\r
4379         "y": 4085,\r
4380         "z": "b31344e1.6b9228",\r
4381         "wires": []\r
4382     },\r
4383     {\r
4384         "id": "90828ea.8f9357",\r
4385         "type": "set",\r
4386         "name": "set",\r
4387         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
4388         "comments": "",\r
4389         "x": 3995,\r
4390         "y": 3215,\r
4391         "z": "b31344e1.6b9228",\r
4392         "wires": []\r
4393     },\r
4394     {\r
4395         "id": "332942c6.7f663e",\r
4396         "type": "block",\r
4397         "name": "block",\r
4398         "xml": "<block>\n",\r
4399         "atomic": "false",\r
4400         "comments": "",\r
4401         "outputs": 1,\r
4402         "x": 3830,\r
4403         "y": 3190,\r
4404         "z": "b31344e1.6b9228",\r
4405         "wires": [\r
4406             [\r
4407                 "90828ea.8f9357",\r
4408                 "f5749296.6a691"\r
4409             ]\r
4410         ]\r
4411     },\r
4412     {\r
4413         "id": "d0adb7e4.435f98",\r
4414         "type": "set",\r
4415         "name": "set tmp.arr",\r
4416         "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\n\n",\r
4417         "comments": "",\r
4418         "x": 1954,\r
4419         "y": 170,\r
4420         "z": "b31344e1.6b9228",\r
4421         "wires": []\r
4422     },\r
4423     {\r
4424         "id": "ef9d0591.fefb08",\r
4425         "type": "for",\r
4426         "name": "for vpnidx in all-vpn-bindings",\r
4427         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4428         "comments": "",\r
4429         "outputs": 1,\r
4430         "x": 2611,\r
4431         "y": 4145,\r
4432         "z": "b31344e1.6b9228",\r
4433         "wires": [\r
4434             [\r
4435                 "2fbee9b.ff76316"\r
4436             ]\r
4437         ]\r
4438     },\r
4439     {\r
4440         "id": "2fbee9b.ff76316",\r
4441         "type": "block",\r
4442         "name": "block : atomic",\r
4443         "xml": "<block atomic='true'>",\r
4444         "atomic": "true",\r
4445         "comments": "",\r
4446         "outputs": 1,\r
4447         "x": 2823,\r
4448         "y": 4143,\r
4449         "z": "b31344e1.6b9228",\r
4450         "wires": [\r
4451             [\r
4452                 "ce29a297.cf1cb8",\r
4453                 "72392f69.a40338"\r
4454             ]\r
4455         ]\r
4456     },\r
4457     {\r
4458         "id": "49f4d5cd.eba3ac",\r
4459         "type": "for",\r
4460         "name": "for arridx in tmp.arr",\r
4461         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
4462         "comments": "",\r
4463         "outputs": 1,\r
4464         "x": 3588,\r
4465         "y": 4060,\r
4466         "z": "b31344e1.6b9228",\r
4467         "wires": [\r
4468             [\r
4469                 "a296aaec.6a9f7"\r
4470             ]\r
4471         ]\r
4472     },\r
4473     {\r
4474         "id": "72392f69.a40338",\r
4475         "type": "switchNode",\r
4476         "name": "switch $tmp.arr_length != 0",\r
4477         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
4478         "comments": "",\r
4479         "outputs": 1,\r
4480         "x": 3054,\r
4481         "y": 4140,\r
4482         "z": "b31344e1.6b9228",\r
4483         "wires": [\r
4484             [\r
4485                 "1e30cbc6.5b29c4",\r
4486                 "73a572c0.fcdcfc"\r
4487             ]\r
4488         ]\r
4489     },\r
4490     {\r
4491         "id": "1e30cbc6.5b29c4",\r
4492         "type": "outcomeTrue",\r
4493         "name": "true",\r
4494         "xml": "<outcome value='true'>\n",\r
4495         "comments": "",\r
4496         "outputs": 1,\r
4497         "x": 3250,\r
4498         "y": 4110,\r
4499         "z": "b31344e1.6b9228",\r
4500         "wires": [\r
4501             [\r
4502                 "79192fda.22a8a8"\r
4503             ]\r
4504         ]\r
4505     },\r
4506     {\r
4507         "id": "73a572c0.fcdcfc",\r
4508         "type": "outcomeFalse",\r
4509         "name": "false",\r
4510         "xml": "<outcome value='false'>\n",\r
4511         "comments": "",\r
4512         "outputs": 1,\r
4513         "x": 3251,\r
4514         "y": 4181,\r
4515         "z": "b31344e1.6b9228",\r
4516         "wires": [\r
4517             [\r
4518                 "e5b5d449.e95738"\r
4519             ]\r
4520         ]\r
4521     },\r
4522     {\r
4523         "id": "79192fda.22a8a8",\r
4524         "type": "block",\r
4525         "name": "block : atomic",\r
4526         "xml": "<block atomic='true'>",\r
4527         "atomic": "true",\r
4528         "comments": "",\r
4529         "outputs": 1,\r
4530         "x": 3401,\r
4531         "y": 4108,\r
4532         "z": "b31344e1.6b9228",\r
4533         "wires": [\r
4534             [\r
4535                 "49f4d5cd.eba3ac",\r
4536                 "ee34549a.68661"\r
4537             ]\r
4538         ]\r
4539     },\r
4540     {\r
4541         "id": "a296aaec.6a9f7",\r
4542         "type": "switchNode",\r
4543         "name": "switch tmp.arr[$arridx] == $providerValue",\r
4544         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
4545         "comments": "",\r
4546         "outputs": 1,\r
4547         "x": 3879,\r
4548         "y": 4060,\r
4549         "z": "b31344e1.6b9228",\r
4550         "wires": [\r
4551             [\r
4552                 "f6a570fa.8c3e18",\r
4553                 "f096fdfa.51af18"\r
4554             ]\r
4555         ]\r
4556     },\r
4557     {\r
4558         "id": "f6a570fa.8c3e18",\r
4559         "type": "outcomeTrue",\r
4560         "name": "true",\r
4561         "xml": "<outcome value='true'>\n",\r
4562         "comments": "",\r
4563         "outputs": 1,\r
4564         "x": 4154,\r
4565         "y": 4029,\r
4566         "z": "b31344e1.6b9228",\r
4567         "wires": [\r
4568             [\r
4569                 "7e64bb9a.5c5954"\r
4570             ]\r
4571         ]\r
4572     },\r
4573     {\r
4574         "id": "f096fdfa.51af18",\r
4575         "type": "outcomeFalse",\r
4576         "name": "false",\r
4577         "xml": "<outcome value='false'>\n",\r
4578         "comments": "",\r
4579         "outputs": 1,\r
4580         "x": 4155,\r
4581         "y": 4100,\r
4582         "z": "b31344e1.6b9228",\r
4583         "wires": [\r
4584             [\r
4585                 "2ae9b410.b8e274"\r
4586             ]\r
4587         ]\r
4588     },\r
4589     {\r
4590         "id": "7e64bb9a.5c5954",\r
4591         "type": "block",\r
4592         "name": "block : atomic",\r
4593         "xml": "<block atomic='true'>",\r
4594         "atomic": "true",\r
4595         "comments": "",\r
4596         "outputs": 1,\r
4597         "x": 4305,\r
4598         "y": 4027,\r
4599         "z": "b31344e1.6b9228",\r
4600         "wires": [\r
4601             [\r
4602                 "883ad39b.46747",\r
4603                 "3d5cad7b.78211a",\r
4604                 "ac8bc417.7b82a",\r
4605                 "6ea95490.220544",\r
4606                 "6a39b9a6.2592"\r
4607             ]\r
4608         ]\r
4609     },\r
4610     {\r
4611         "id": "883ad39b.46747",\r
4612         "type": "set",\r
4613         "name": "set found to true",\r
4614         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
4615         "comments": "",\r
4616         "x": 4486,\r
4617         "y": 3988,\r
4618         "z": "b31344e1.6b9228",\r
4619         "wires": []\r
4620     },\r
4621     {\r
4622         "id": "3d5cad7b.78211a",\r
4623         "type": "save",\r
4624         "name": "store $arridx somewhere in vpn-binding",\r
4625         "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
4626         "comments": "",\r
4627         "outputs": 1,\r
4628         "x": 4565,\r
4629         "y": 4032,\r
4630         "z": "b31344e1.6b9228",\r
4631         "wires": [\r
4632             []\r
4633         ]\r
4634     },\r
4635     {\r
4636         "id": "6a39b9a6.2592",\r
4637         "type": "set",\r
4638         "name": "set twoD arr",\r
4639         "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
4640         "comments": "",\r
4641         "x": 4489,\r
4642         "y": 4188,\r
4643         "z": "b31344e1.6b9228",\r
4644         "wires": []\r
4645     },\r
4646     {\r
4647         "id": "6ea95490.220544",\r
4648         "type": "set",\r
4649         "name": "set sizeOfSliceList",\r
4650         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
4651         "comments": "",\r
4652         "x": 4510,\r
4653         "y": 4124,\r
4654         "z": "b31344e1.6b9228",\r
4655         "wires": []\r
4656     },\r
4657     {\r
4658         "id": "171513de.343584",\r
4659         "type": "switchNode",\r
4660         "name": "switch $otn-tunnel-slice_length == 0",\r
4661         "xml": "<switch test='`$otn-tunnel-slice_length == 0`'>\n",\r
4662         "comments": "",\r
4663         "outputs": 1,\r
4664         "x": 4668,\r
4665         "y": 4078,\r
4666         "z": "b31344e1.6b9228",\r
4667         "wires": [\r
4668             [\r
4669                 "e6552b83.2df3a",\r
4670                 "b95e5493.31a9b"\r
4671             ]\r
4672         ]\r
4673     },\r
4674     {\r
4675         "id": "e6552b83.2df3a",\r
4676         "type": "outcomeTrue",\r
4677         "name": "true",\r
4678         "xml": "<outcome value='true'>\n",\r
4679         "comments": "",\r
4680         "outputs": 1,\r
4681         "x": 4900,\r
4682         "y": 4041,\r
4683         "z": "b31344e1.6b9228",\r
4684         "wires": [\r
4685             [\r
4686                 "9402566e.5ec598"\r
4687             ]\r
4688         ]\r
4689     },\r
4690     {\r
4691         "id": "b95e5493.31a9b",\r
4692         "type": "outcomeFalse",\r
4693         "name": "false",\r
4694         "xml": "<outcome value='false'>\n",\r
4695         "comments": "",\r
4696         "outputs": 1,\r
4697         "x": 4901,\r
4698         "y": 4089,\r
4699         "z": "b31344e1.6b9228",\r
4700         "wires": [\r
4701             []\r
4702         ]\r
4703     },\r
4704     {\r
4705         "id": "9402566e.5ec598",\r
4706         "type": "block",\r
4707         "name": "block : atomic",\r
4708         "xml": "<block atomic='true'>",\r
4709         "atomic": "true",\r
4710         "comments": "",\r
4711         "outputs": 1,\r
4712         "x": 5051,\r
4713         "y": 4039,\r
4714         "z": "b31344e1.6b9228",\r
4715         "wires": [\r
4716             [\r
4717                 "b29e36f1.f6f35"\r
4718             ]\r
4719         ]\r
4720     },\r
4721     {\r
4722         "id": "b29e36f1.f6f35",\r
4723         "type": "set",\r
4724         "name": "set sizeOfSliceList",\r
4725         "xml": "<set>\n<!--<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />-->\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\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.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice_length`' value='`$otnidx + 1`' />\n<parameter name='`otn-tunnel-slice[$otnidx].list_length`' value='`$idx + 1`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[$arridx].list_length' value='1' />",\r
4726         "comments": "",\r
4727         "x": 5253,\r
4728         "y": 4035,\r
4729         "z": "b31344e1.6b9228",\r
4730         "wires": []\r
4731     },\r
4732     {\r
4733         "id": "e5b5d449.e95738",\r
4734         "type": "block",\r
4735         "name": "block : atomic",\r
4736         "xml": "<block atomic='true'>",\r
4737         "atomic": "true",\r
4738         "comments": "",\r
4739         "outputs": 1,\r
4740         "x": 3403,\r
4741         "y": 4181,\r
4742         "z": "b31344e1.6b9228",\r
4743         "wires": [\r
4744             [\r
4745                 "b867d047.fac",\r
4746                 "3788e630.590d72"\r
4747             ]\r
4748         ]\r
4749     },\r
4750     {\r
4751         "id": "b867d047.fac",\r
4752         "type": "save",\r
4753         "name": "store $arridx somewhere in vpn-binding",\r
4754         "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
4755         "comments": "",\r
4756         "outputs": 1,\r
4757         "x": 3658,\r
4758         "y": 4174,\r
4759         "z": "b31344e1.6b9228",\r
4760         "wires": [\r
4761             []\r
4762         ]\r
4763     },\r
4764     {\r
4765         "id": "3788e630.590d72",\r
4766         "type": "set",\r
4767         "name": "set twoD array",\r
4768         "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
4769         "comments": "",\r
4770         "x": 3586,\r
4771         "y": 4221,\r
4772         "z": "b31344e1.6b9228",\r
4773         "wires": []\r
4774     },\r
4775     {\r
4776         "id": "ee34549a.68661",\r
4777         "type": "switchNode",\r
4778         "name": "switch found?",\r
4779         "xml": "<switch test='`$found`'>\n",\r
4780         "comments": "",\r
4781         "outputs": 1,\r
4782         "x": 3579,\r
4783         "y": 4105,\r
4784         "z": "b31344e1.6b9228",\r
4785         "wires": [\r
4786             [\r
4787                 "d1f76975.e11b9",\r
4788                 "3421ae07.ec9d62"\r
4789             ]\r
4790         ]\r
4791     },\r
4792     {\r
4793         "id": "d1f76975.e11b9",\r
4794         "type": "outcomeTrue",\r
4795         "name": "true",\r
4796         "xml": "<outcome value='true'>\n",\r
4797         "comments": "",\r
4798         "outputs": 1,\r
4799         "x": 3739,\r
4800         "y": 4097,\r
4801         "z": "b31344e1.6b9228",\r
4802         "wires": [\r
4803             [\r
4804                 "2d9d0080.4d96d"\r
4805             ]\r
4806         ]\r
4807     },\r
4808     {\r
4809         "id": "3421ae07.ec9d62",\r
4810         "type": "outcomeFalse",\r
4811         "name": "false",\r
4812         "xml": "<outcome value='false'>\n",\r
4813         "comments": "",\r
4814         "outputs": 1,\r
4815         "x": 3737,\r
4816         "y": 4134,\r
4817         "z": "b31344e1.6b9228",\r
4818         "wires": [\r
4819             [\r
4820                 "91314308.ab84d"\r
4821             ]\r
4822         ]\r
4823     },\r
4824     {\r
4825         "id": "2d9d0080.4d96d",\r
4826         "type": "block",\r
4827         "name": "block",\r
4828         "xml": "<block>\n",\r
4829         "atomic": "false",\r
4830         "comments": "",\r
4831         "outputs": 1,\r
4832         "x": 3864,\r
4833         "y": 4097,\r
4834         "z": "b31344e1.6b9228",\r
4835         "wires": [\r
4836             []\r
4837         ]\r
4838     },\r
4839     {\r
4840         "id": "fd3f24a6.bbbfb8",\r
4841         "type": "save",\r
4842         "name": "store $arridx+1 somewhere in vpn-binding",\r
4843         "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
4844         "comments": "",\r
4845         "outputs": 1,\r
4846         "x": 4171,\r
4847         "y": 4155,\r
4848         "z": "b31344e1.6b9228",\r
4849         "wires": [\r
4850             []\r
4851         ]\r
4852     },\r
4853     {\r
4854         "id": "91314308.ab84d",\r
4855         "type": "block",\r
4856         "name": "block : atomic",\r
4857         "xml": "<block atomic='true'>",\r
4858         "atomic": "true",\r
4859         "comments": "",\r
4860         "outputs": 1,\r
4861         "x": 3897,\r
4862         "y": 4142,\r
4863         "z": "b31344e1.6b9228",\r
4864         "wires": [\r
4865             [\r
4866                 "fd3f24a6.bbbfb8",\r
4867                 "3fbaf181.1ff88e"\r
4868             ]\r
4869         ]\r
4870     },\r
4871     {\r
4872         "id": "3fbaf181.1ff88e",\r
4873         "type": "set",\r
4874         "name": "set twoD array",\r
4875         "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
4876         "comments": "",\r
4877         "x": 4088,\r
4878         "y": 4201,\r
4879         "z": "b31344e1.6b9228",\r
4880         "wires": []\r
4881     },\r
4882     {\r
4883         "id": "2ae9b410.b8e274",\r
4884         "type": "block",\r
4885         "name": "block",\r
4886         "xml": "<block>\n",\r
4887         "atomic": "false",\r
4888         "comments": "",\r
4889         "outputs": 1,\r
4890         "x": 4288,\r
4891         "y": 4099,\r
4892         "z": "b31344e1.6b9228",\r
4893         "wires": [\r
4894             []\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "ac8bc417.7b82a",\r
4899         "type": "break",\r
4900         "name": "break",\r
4901         "xml": "<break>\n",\r
4902         "comments": "",\r
4903         "x": 4468,\r
4904         "y": 4255,\r
4905         "z": "b31344e1.6b9228",\r
4906         "wires": []\r
4907     },\r
4908     {\r
4909         "id": "1d59f70d.1ee6c9",\r
4910         "type": "switchNode",\r
4911         "name": "switch dstPort == NULL",\r
4912         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4913         "comments": "",\r
4914         "outputs": 1,\r
4915         "x": 3528,\r
4916         "y": 2442,\r
4917         "z": "b31344e1.6b9228",\r
4918         "wires": [\r
4919             [\r
4920                 "13d01e4b.11cf72",\r
4921                 "f41dda2a.86b79"\r
4922             ]\r
4923         ]\r
4924     },\r
4925     {\r
4926         "id": "13d01e4b.11cf72",\r
4927         "type": "outcomeTrue",\r
4928         "name": "true",\r
4929         "xml": "<outcome value='true'>\n",\r
4930         "comments": "",\r
4931         "outputs": 1,\r
4932         "x": 3917,\r
4933         "y": 2420,\r
4934         "z": "b31344e1.6b9228",\r
4935         "wires": [\r
4936             [\r
4937                 "a63400f9.70b798"\r
4938             ]\r
4939         ]\r
4940     },\r
4941     {\r
4942         "id": "f41dda2a.86b79",\r
4943         "type": "outcomeFalse",\r
4944         "name": "false",\r
4945         "xml": "<outcome value='false'>\n",\r
4946         "comments": "",\r
4947         "outputs": 1,\r
4948         "x": 3918,\r
4949         "y": 2466,\r
4950         "z": "b31344e1.6b9228",\r
4951         "wires": [\r
4952             [\r
4953                 "201cd4b0.391f6c"\r
4954             ]\r
4955         ]\r
4956     },\r
4957     {\r
4958         "id": "a63400f9.70b798",\r
4959         "type": "set",\r
4960         "name": "set access-provider-id and client-id",\r
4961         "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
4962         "comments": "",\r
4963         "x": 4131,\r
4964         "y": 2419,\r
4965         "z": "b31344e1.6b9228",\r
4966         "wires": []\r
4967     },\r
4968     {\r
4969         "id": "201cd4b0.391f6c",\r
4970         "type": "set",\r
4971         "name": "set access-provider-id and client-id",\r
4972         "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
4973         "comments": "",\r
4974         "x": 4129,\r
4975         "y": 2464,\r
4976         "z": "b31344e1.6b9228",\r
4977         "wires": []\r
4978     },\r
4979     {\r
4980         "id": "e4afc290.74f038",\r
4981         "type": "set",\r
4982         "name": "set attachment_param sliceG",\r
4983         "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
4984         "comments": "",\r
4985         "x": 3128,\r
4986         "y": 4440,\r
4987         "z": "b31344e1.6b9228",\r
4988         "wires": []\r
4989     },\r
4990     {\r
4991         "id": "5a129ea2.020ec",\r
4992         "type": "execute",\r
4993         "name": "execute RestApiCallNode sliceG creation domainG",\r
4994         "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
4995         "comments": "",\r
4996         "outputs": 1,\r
4997         "x": 2714,\r
4998         "y": 4534,\r
4999         "z": "b31344e1.6b9228",\r
5000         "wires": [\r
5001             [\r
5002                 "235df5b8.967b5a",\r
5003                 "2fcb7bfa.e794ec"\r
5004             ]\r
5005         ]\r
5006     },\r
5007     {\r
5008         "id": "2fcb7bfa.e794ec",\r
5009         "type": "failure",\r
5010         "name": "failure",\r
5011         "xml": "<outcome value='failure'>\n",\r
5012         "comments": "",\r
5013         "outputs": 1,\r
5014         "x": 2997,\r
5015         "y": 4514,\r
5016         "z": "b31344e1.6b9228",\r
5017         "wires": [\r
5018             [\r
5019                 "ec27b172.f3b03"\r
5020             ]\r
5021         ]\r
5022     },\r
5023     {\r
5024         "id": "235df5b8.967b5a",\r
5025         "type": "success",\r
5026         "name": "success",\r
5027         "xml": "<outcome value='success'>\n",\r
5028         "comments": "",\r
5029         "outputs": 1,\r
5030         "x": 2998.000213623047,\r
5031         "y": 4564.99990940094,\r
5032         "z": "b31344e1.6b9228",\r
5033         "wires": [\r
5034             [\r
5035                 "afac7d54.5ea3c8"\r
5036             ]\r
5037         ]\r
5038     },\r
5039     {\r
5040         "id": "ec27b172.f3b03",\r
5041         "type": "returnFailure",\r
5042         "name": "return failure",\r
5043         "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
5044         "comments": "",\r
5045         "x": 3137.0002479553223,\r
5046         "y": 4514.000000953674,\r
5047         "z": "b31344e1.6b9228",\r
5048         "wires": []\r
5049     },\r
5050     {\r
5051         "id": "afac7d54.5ea3c8",\r
5052         "type": "block",\r
5053         "name": "block",\r
5054         "xml": "<block>\n",\r
5055         "atomic": "false",\r
5056         "comments": "",\r
5057         "outputs": 1,\r
5058         "x": 3143.02725982666,\r
5059         "y": 4562.745394706726,\r
5060         "z": "b31344e1.6b9228",\r
5061         "wires": [\r
5062             []\r
5063         ]\r
5064     },\r
5065     {\r
5066         "id": "b15a67ed.f1cb18",\r
5067         "type": "set",\r
5068         "name": "set srcdstpnf-name",\r
5069         "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
5070         "comments": "",\r
5071         "x": 3712,\r
5072         "y": 2562,\r
5073         "z": "b31344e1.6b9228",\r
5074         "wires": []\r
5075     },\r
5076     {\r
5077         "id": "e4fb52b5.f04798",\r
5078         "type": "get-resource",\r
5079         "name": "get-resource tmp.srcdstpnf-name",\r
5080         "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
5081         "comments": "",\r
5082         "outputs": 1,\r
5083         "x": 3756,\r
5084         "y": 2610,\r
5085         "z": "b31344e1.6b9228",\r
5086         "wires": [\r
5087             [\r
5088                 "38280842.8f481",\r
5089                 "762394a6.8c9edc",\r
5090                 "bf6967d.9863518"\r
5091             ]\r
5092         ]\r
5093     },\r
5094     {\r
5095         "id": "38280842.8f481",\r
5096         "type": "success",\r
5097         "name": "success",\r
5098         "xml": "<outcome value='success'>\n",\r
5099         "comments": "",\r
5100         "outputs": 1,\r
5101         "x": 3968.5,\r
5102         "y": 2557,\r
5103         "z": "b31344e1.6b9228",\r
5104         "wires": [\r
5105             [\r
5106                 "7c3bab6c.40727c"\r
5107             ]\r
5108         ]\r
5109     },\r
5110     {\r
5111         "id": "762394a6.8c9edc",\r
5112         "type": "not-found",\r
5113         "name": "not-found",\r
5114         "xml": "<outcome value='not-found'>\n",\r
5115         "comments": "",\r
5116         "outputs": 1,\r
5117         "x": 3980.5,\r
5118         "y": 2607,\r
5119         "z": "b31344e1.6b9228",\r
5120         "wires": [\r
5121             [\r
5122                 "9fa14d44.80429"\r
5123             ]\r
5124         ]\r
5125     },\r
5126     {\r
5127         "id": "bf6967d.9863518",\r
5128         "type": "other",\r
5129         "name": "other",\r
5130         "xml": "<outcome value='Other'>\n",\r
5131         "comments": "",\r
5132         "outputs": 1,\r
5133         "x": 3971.5,\r
5134         "y": 2662,\r
5135         "z": "b31344e1.6b9228",\r
5136         "wires": [\r
5137             [\r
5138                 "e6f16a7e.5e034"\r
5139             ]\r
5140         ]\r
5141     },\r
5142     {\r
5143         "id": "e6f16a7e.5e034",\r
5144         "type": "returnFailure",\r
5145         "name": "return failure",\r
5146         "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
5147         "comments": "",\r
5148         "x": 4116.5,\r
5149         "y": 2661,\r
5150         "z": "b31344e1.6b9228",\r
5151         "wires": []\r
5152     },\r
5153     {\r
5154         "id": "9fa14d44.80429",\r
5155         "type": "returnFailure",\r
5156         "name": "return failure",\r
5157         "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
5158         "comments": "",\r
5159         "x": 4127.5,\r
5160         "y": 2604,\r
5161         "z": "b31344e1.6b9228",\r
5162         "wires": []\r
5163     },\r
5164     {\r
5165         "id": "7c3bab6c.40727c",\r
5166         "type": "block",\r
5167         "name": "block",\r
5168         "xml": "<block>\n",\r
5169         "atomic": "false",\r
5170         "comments": "",\r
5171         "outputs": 1,\r
5172         "x": 4093.8824462890625,\r
5173         "y": 2550.6556701660156,\r
5174         "z": "b31344e1.6b9228",\r
5175         "wires": [\r
5176             [\r
5177                 "3ada39cb.077d7e"\r
5178             ]\r
5179         ]\r
5180     },\r
5181     {\r
5182         "id": "79f49c03.b31834",\r
5183         "type": "outcome",\r
5184         "name": "esr-thirdparty-sdnc",\r
5185         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5186         "comments": "",\r
5187         "outputs": 1,\r
5188         "x": 4653,\r
5189         "y": 2569,\r
5190         "z": "b31344e1.6b9228",\r
5191         "wires": [\r
5192             [\r
5193                 "b38ec96c.50bcb"\r
5194             ]\r
5195         ]\r
5196     },\r
5197     {\r
5198         "id": "b38ec96c.50bcb",\r
5199         "type": "block",\r
5200         "name": "block : atomic",\r
5201         "xml": "<block atomic=\"true\">",\r
5202         "atomic": "true",\r
5203         "outputs": 1,\r
5204         "x": 4830,\r
5205         "y": 2561,\r
5206         "z": "b31344e1.6b9228",\r
5207         "wires": [\r
5208             [\r
5209                 "b25407c2.fe4e9",\r
5210                 "76abd2d6.8cf2bc"\r
5211             ]\r
5212         ]\r
5213     },\r
5214     {\r
5215         "id": "3ada39cb.077d7e",\r
5216         "type": "for",\r
5217         "name": "for each relationship",\r
5218         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
5219         "comments": "",\r
5220         "outputs": 1,\r
5221         "x": 4255,\r
5222         "y": 2565,\r
5223         "z": "b31344e1.6b9228",\r
5224         "wires": [\r
5225             [\r
5226                 "631c6ac2.9b4684"\r
5227             ]\r
5228         ]\r
5229     },\r
5230     {\r
5231         "id": "631c6ac2.9b4684",\r
5232         "type": "switchNode",\r
5233         "name": "switch related-to",\r
5234         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5235         "comments": "",\r
5236         "outputs": 1,\r
5237         "x": 4450,\r
5238         "y": 2565,\r
5239         "z": "b31344e1.6b9228",\r
5240         "wires": [\r
5241             [\r
5242                 "79f49c03.b31834"\r
5243             ]\r
5244         ]\r
5245     },\r
5246     {\r
5247         "id": "76abd2d6.8cf2bc",\r
5248         "type": "execute",\r
5249         "name": "get esr-thirdparty-sdnc",\r
5250         "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
5251         "comments": "",\r
5252         "outputs": 1,\r
5253         "x": 5038,\r
5254         "y": 2568,\r
5255         "z": "b31344e1.6b9228",\r
5256         "wires": [\r
5257             [\r
5258                 "b500a3b6.711188",\r
5259                 "e4ff3e60.96d148",\r
5260                 "ef9c5a3.20232a8"\r
5261             ]\r
5262         ]\r
5263     },\r
5264     {\r
5265         "id": "b25407c2.fe4e9",\r
5266         "type": "set",\r
5267         "name": "set esr-thirdparty-sdnc domainG id",\r
5268         "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
5269         "comments": "",\r
5270         "x": 5068,\r
5271         "y": 2516,\r
5272         "z": "b31344e1.6b9228",\r
5273         "wires": []\r
5274     },\r
5275     {\r
5276         "id": "b500a3b6.711188",\r
5277         "type": "success",\r
5278         "name": "success",\r
5279         "xml": "<outcome value='success'>\n",\r
5280         "comments": "",\r
5281         "outputs": 1,\r
5282         "x": 5248,\r
5283         "y": 2559,\r
5284         "z": "b31344e1.6b9228",\r
5285         "wires": [\r
5286             [\r
5287                 "8c9a0f1.a2e9b7"\r
5288             ]\r
5289         ]\r
5290     },\r
5291     {\r
5292         "id": "e4ff3e60.96d148",\r
5293         "type": "not-found",\r
5294         "name": "not-found",\r
5295         "xml": "<outcome value='not-found'>\n",\r
5296         "comments": "",\r
5297         "outputs": 1,\r
5298         "x": 5240,\r
5299         "y": 2614,\r
5300         "z": "b31344e1.6b9228",\r
5301         "wires": [\r
5302             [\r
5303                 "7d5ba752.0bac28"\r
5304             ]\r
5305         ]\r
5306     },\r
5307     {\r
5308         "id": "ef9c5a3.20232a8",\r
5309         "type": "other",\r
5310         "name": "other",\r
5311         "xml": "<outcome value='Other'>\n",\r
5312         "comments": "",\r
5313         "outputs": 1,\r
5314         "x": 5245,\r
5315         "y": 2671,\r
5316         "z": "b31344e1.6b9228",\r
5317         "wires": [\r
5318             [\r
5319                 "5979580a.e6b1f8"\r
5320             ]\r
5321         ]\r
5322     },\r
5323     {\r
5324         "id": "5979580a.e6b1f8",\r
5325         "type": "returnFailure",\r
5326         "name": "return failure",\r
5327         "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
5328         "comments": "",\r
5329         "x": 5397,\r
5330         "y": 2672,\r
5331         "z": "b31344e1.6b9228",\r
5332         "wires": []\r
5333     },\r
5334     {\r
5335         "id": "7d5ba752.0bac28",\r
5336         "type": "returnFailure",\r
5337         "name": "return failure",\r
5338         "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
5339         "comments": "",\r
5340         "x": 5408,\r
5341         "y": 2617,\r
5342         "z": "b31344e1.6b9228",\r
5343         "wires": []\r
5344     },\r
5345     {\r
5346         "id": "8c9a0f1.a2e9b7",\r
5347         "type": "block",\r
5348         "name": "block",\r
5349         "xml": "<block>\n",\r
5350         "atomic": "false",\r
5351         "comments": "",\r
5352         "outputs": 1,\r
5353         "x": 5392.38232421875,\r
5354         "y": 2556.6556701660156,\r
5355         "z": "b31344e1.6b9228",\r
5356         "wires": [\r
5357             [\r
5358                 "b4fe40f1.fee308"\r
5359             ]\r
5360         ]\r
5361     },\r
5362     {\r
5363         "id": "b4fe40f1.fee308",\r
5364         "type": "set",\r
5365         "name": "set controller domainA data",\r
5366         "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
5367         "comments": "",\r
5368         "x": 5607,\r
5369         "y": 2553,\r
5370         "z": "b31344e1.6b9228",\r
5371         "wires": []\r
5372     },\r
5373     {\r
5374         "id": "557999e1.77dcb",\r
5375         "type": "block",\r
5376         "name": "block : atomic",\r
5377         "xml": "<block atomic='true'>",\r
5378         "atomic": "true",\r
5379         "comments": "",\r
5380         "outputs": 1,\r
5381         "x": 2223,\r
5382         "y": 4320,\r
5383         "z": "b31344e1.6b9228",\r
5384         "wires": [\r
5385             [\r
5386                 "f7f46916.4f1ee",\r
5387                 "5a129ea2.020ec"\r
5388             ]\r
5389         ]\r
5390     },\r
5391     {\r
5392         "id": "4ba5097d.b20fe",\r
5393         "type": "switchNode",\r
5394         "name": "switch dmnsidx == 0 (domainA)",\r
5395         "xml": "<switch test='`$dmnsidx == 0`'>\n",\r
5396         "comments": "",\r
5397         "outputs": 1,\r
5398         "x": 3112,\r
5399         "y": 4307,\r
5400         "z": "b31344e1.6b9228",\r
5401         "wires": [\r
5402             [\r
5403                 "dbd9c4f1.fac738",\r
5404                 "119d0f31.7b8509"\r
5405             ]\r
5406         ]\r
5407     },\r
5408     {\r
5409         "id": "dbd9c4f1.fac738",\r
5410         "type": "outcomeTrue",\r
5411         "name": "true",\r
5412         "xml": "<outcome value='true'>\n",\r
5413         "comments": "",\r
5414         "outputs": 1,\r
5415         "x": 3313,\r
5416         "y": 4305,\r
5417         "z": "b31344e1.6b9228",\r
5418         "wires": [\r
5419             [\r
5420                 "4fe6e9a2.ce8d7"\r
5421             ]\r
5422         ]\r
5423     },\r
5424     {\r
5425         "id": "4fe6e9a2.ce8d7",\r
5426         "type": "set",\r
5427         "name": "set attachment_param domain A",\r
5428         "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />",\r
5429         "comments": "",\r
5430         "x": 3527,\r
5431         "y": 4307,\r
5432         "z": "b31344e1.6b9228",\r
5433         "wires": []\r
5434     },\r
5435     {\r
5436         "id": "fd470af3.59fcc",\r
5437         "type": "switchNode",\r
5438         "name": "switch dmnsidx == last (domainB)",\r
5439         "xml": "<switch test='`$dmnsidx == $otn-tunnel-slice_length - 1`'>\n",\r
5440         "comments": "",\r
5441         "outputs": 1,\r
5442         "x": 3530,\r
5443         "y": 4356,\r
5444         "z": "b31344e1.6b9228",\r
5445         "wires": [\r
5446             [\r
5447                 "ddf1f941.709858",\r
5448                 "2f7e38f0.34a468"\r
5449             ]\r
5450         ]\r
5451     },\r
5452     {\r
5453         "id": "ddf1f941.709858",\r
5454         "type": "outcomeTrue",\r
5455         "name": "true",\r
5456         "xml": "<outcome value='true'>\n",\r
5457         "comments": "",\r
5458         "outputs": 1,\r
5459         "x": 3731,\r
5460         "y": 4354,\r
5461         "z": "b31344e1.6b9228",\r
5462         "wires": [\r
5463             [\r
5464                 "5c127cf0.9c2d34"\r
5465             ]\r
5466         ]\r
5467     },\r
5468     {\r
5469         "id": "5c127cf0.9c2d34",\r
5470         "type": "set",\r
5471         "name": "set attachment_param domain B",\r
5472         "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n",\r
5473         "comments": "",\r
5474         "x": 3945,\r
5475         "y": 4356,\r
5476         "z": "b31344e1.6b9228",\r
5477         "wires": []\r
5478     },\r
5479     {\r
5480         "id": "119d0f31.7b8509",\r
5481         "type": "outcomeFalse",\r
5482         "name": "false",\r
5483         "xml": "<outcome value='false'>\n",\r
5484         "comments": "",\r
5485         "outputs": 1,\r
5486         "x": 3313,\r
5487         "y": 4354,\r
5488         "z": "b31344e1.6b9228",\r
5489         "wires": [\r
5490             [\r
5491                 "fd470af3.59fcc"\r
5492             ]\r
5493         ]\r
5494     },\r
5495     {\r
5496         "id": "2f7e38f0.34a468",\r
5497         "type": "outcomeFalse",\r
5498         "name": "false",\r
5499         "xml": "<outcome value='false'>\n",\r
5500         "comments": "",\r
5501         "outputs": 1,\r
5502         "x": 3732,\r
5503         "y": 4400,\r
5504         "z": "b31344e1.6b9228",\r
5505         "wires": [\r
5506             [\r
5507                 "4e4fdb4.a02e5a4"\r
5508             ]\r
5509         ]\r
5510     },\r
5511     {\r
5512         "id": "4e4fdb4.a02e5a4",\r
5513         "type": "set",\r
5514         "name": "set attachment_param domain G",\r
5515         "xml": "<set>\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",\r
5516         "comments": "",\r
5517         "x": 3946,\r
5518         "y": 4399,\r
5519         "z": "b31344e1.6b9228",\r
5520         "wires": []\r
5521     },\r
5522     {\r
5523         "id": "f5263d8c.0dd66",\r
5524         "type": "switchNode",\r
5525         "name": "switch dmnsidx == 0 (domainA)",\r
5526         "xml": "<switch test='`$otnidx == 0`'>\n",\r
5527         "comments": "",\r
5528         "outputs": 1,\r
5529         "x": 3726,\r
5530         "y": 2779,\r
5531         "z": "b31344e1.6b9228",\r
5532         "wires": [\r
5533             [\r
5534                 "cb45f40e.c4e9f",\r
5535                 "686c2e71.b364f8"\r
5536             ]\r
5537         ]\r
5538     },\r
5539     {\r
5540         "id": "cb45f40e.c4e9f",\r
5541         "type": "outcomeTrue",\r
5542         "name": "true",\r
5543         "xml": "<outcome value='true'>\n",\r
5544         "comments": "",\r
5545         "outputs": 1,\r
5546         "x": 3927,\r
5547         "y": 2777,\r
5548         "z": "b31344e1.6b9228",\r
5549         "wires": [\r
5550             [\r
5551                 "906b7761.ec3cf"\r
5552             ]\r
5553         ]\r
5554     },\r
5555     {\r
5556         "id": "906b7761.ec3cf",\r
5557         "type": "set",\r
5558         "name": "set attachment_param domain A",\r
5559         "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
5560         "comments": "",\r
5561         "x": 4141,\r
5562         "y": 2779,\r
5563         "z": "b31344e1.6b9228",\r
5564         "wires": []\r
5565     },\r
5566     {\r
5567         "id": "bb50949c.2c4e68",\r
5568         "type": "switchNode",\r
5569         "name": "switch dmnsidx == last (domainB)",\r
5570         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
5571         "comments": "",\r
5572         "outputs": 1,\r
5573         "x": 4144,\r
5574         "y": 2828,\r
5575         "z": "b31344e1.6b9228",\r
5576         "wires": [\r
5577             [\r
5578                 "f9f184f6.8f0c58",\r
5579                 "b1eb5cf.84b33a"\r
5580             ]\r
5581         ]\r
5582     },\r
5583     {\r
5584         "id": "f9f184f6.8f0c58",\r
5585         "type": "outcomeTrue",\r
5586         "name": "true",\r
5587         "xml": "<outcome value='true'>\n",\r
5588         "comments": "",\r
5589         "outputs": 1,\r
5590         "x": 4374,\r
5591         "y": 2824,\r
5592         "z": "b31344e1.6b9228",\r
5593         "wires": [\r
5594             [\r
5595                 "ea46128e.0ba028"\r
5596             ]\r
5597         ]\r
5598     },\r
5599     {\r
5600         "id": "ea46128e.0ba028",\r
5601         "type": "set",\r
5602         "name": "set attachment_param domain B",\r
5603         "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
5604         "comments": "",\r
5605         "x": 4588,\r
5606         "y": 2827,\r
5607         "z": "b31344e1.6b9228",\r
5608         "wires": []\r
5609     },\r
5610     {\r
5611         "id": "686c2e71.b364f8",\r
5612         "type": "outcomeFalse",\r
5613         "name": "false",\r
5614         "xml": "<outcome value='false'>\n",\r
5615         "comments": "",\r
5616         "outputs": 1,\r
5617         "x": 3927,\r
5618         "y": 2826,\r
5619         "z": "b31344e1.6b9228",\r
5620         "wires": [\r
5621             [\r
5622                 "bb50949c.2c4e68"\r
5623             ]\r
5624         ]\r
5625     },\r
5626     {\r
5627         "id": "b1eb5cf.84b33a",\r
5628         "type": "outcomeFalse",\r
5629         "name": "false",\r
5630         "xml": "<outcome value='false'>\n",\r
5631         "comments": "",\r
5632         "outputs": 1,\r
5633         "x": 4375,\r
5634         "y": 2870,\r
5635         "z": "b31344e1.6b9228",\r
5636         "wires": [\r
5637             [\r
5638                 "591dd2d5.72937c"\r
5639             ]\r
5640         ]\r
5641     },\r
5642     {\r
5643         "id": "591dd2d5.72937c",\r
5644         "type": "set",\r
5645         "name": "set attachment_param domain G",\r
5646         "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
5647         "comments": "",\r
5648         "x": 4589,\r
5649         "y": 2870,\r
5650         "z": "b31344e1.6b9228",\r
5651         "wires": []\r
5652     }\r
5653 ]