Completing the logic and the call flow for Transport Slicing operations:
[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": "a3297c66.2e7f5",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 142,\r
8         "y": 86,\r
9         "z": "a52db008.999ba",\r
10         "wires": [\r
11             [\r
12                 "48923819.f8ff98"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "48923819.f8ff98",\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": 426.2856903076172,\r
26         "y": 147.23810863494873,\r
27         "z": "a52db008.999ba",\r
28         "wires": [\r
29             [\r
30                 "e1ba1fcc.8dbf6"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "e1ba1fcc.8dbf6",\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": 432.42860412597656,\r
42         "y": 232.00003051757812,\r
43         "z": "a52db008.999ba",\r
44         "wires": [\r
45             [\r
46                 "8bc33ebc.b214a8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "8bc33ebc.b214a8",\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": 802.238037109375,\r
58         "y": 256.66668701171875,\r
59         "z": "a52db008.999ba",\r
60         "wires": [\r
61             [\r
62                 "e456a6e6.bd0f",\r
63                 "de4cd097.718578",\r
64                 "7ac4d896.f266b8"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "e456a6e6.bd0f",\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": 1103.571533203125,\r
75         "y": 527.5969848632812,\r
76         "z": "a52db008.999ba",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "de4cd097.718578",\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": 1125,\r
87         "y": 230,\r
88         "z": "a52db008.999ba",\r
89         "wires": [\r
90             [\r
91                 "2bb44cf2.b576bc",\r
92                 "23a4fd03.4dc0a2",\r
93                 "7fe07366.1d3c84"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "2bb44cf2.b576bc",\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": 1350,\r
105         "y": 88,\r
106         "z": "a52db008.999ba",\r
107         "wires": [\r
108             [\r
109                 "de3469e6.1a5318"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "23a4fd03.4dc0a2",\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": 1359.490966796875,\r
121         "y": 130.57403564453125,\r
122         "z": "a52db008.999ba",\r
123         "wires": [\r
124             [\r
125                 "abc9c45c.0486d"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "7fe07366.1d3c84",\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": 1348,\r
137         "y": 177,\r
138         "z": "a52db008.999ba",\r
139         "wires": [\r
140             [\r
141                 "bf6c9630.da1718"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "de3469e6.1a5318",\r
147         "type": "switchNode",\r
148         "name": "switch allotted-resources_length != 0",\r
149         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources_length != 0`'>\n",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 1589,\r
153         "y": 85,\r
154         "z": "a52db008.999ba",\r
155         "wires": [\r
156             [\r
157                 "3fe961c5.f65bb6",\r
158                 "9b0ccc32.5daa98"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "abc9c45c.0486d",\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": 1513.0623779296875,\r
169         "y": 133.85977172851562,\r
170         "z": "a52db008.999ba",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "bf6c9630.da1718",\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": 1517,\r
180         "y": 178,\r
181         "z": "a52db008.999ba",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "e72a9478.9558f",\r
186         "type": "set",\r
187         "name": "set the 1st allotted-resource-id",\r
188         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[0].id`\" />\n\n\n",\r
189         "comments": "",\r
190         "x": 1988,\r
191         "y": 152,\r
192         "z": "a52db008.999ba",\r
193         "wires": []\r
194     },\r
195     {\r
196         "id": "3fe961c5.f65bb6",\r
197         "type": "outcomeTrue",\r
198         "name": "true",\r
199         "xml": "<outcome value='true'>\n",\r
200         "comments": "",\r
201         "outputs": 1,\r
202         "x": 1802,\r
203         "y": 109,\r
204         "z": "a52db008.999ba",\r
205         "wires": [\r
206             [\r
207                 "7db53ef.cfaf2c"\r
208             ]\r
209         ]\r
210     },\r
211     {\r
212         "id": "9b0ccc32.5daa98",\r
213         "type": "outcomeFalse",\r
214         "name": "false",\r
215         "xml": "<outcome value='false'>\n",\r
216         "comments": "",\r
217         "outputs": 1,\r
218         "x": 1804,\r
219         "y": 49,\r
220         "z": "a52db008.999ba",\r
221         "wires": [\r
222             []\r
223         ]\r
224     },\r
225     {\r
226         "id": "3b9d4f7a.e5b418",\r
227         "type": "comment",\r
228         "name": "new for TransportSlicing",\r
229         "info": "",\r
230         "comments": "",\r
231         "x": 1104,\r
232         "y": 118,\r
233         "z": "a52db008.999ba",\r
234         "wires": []\r
235     },\r
236     {\r
237         "id": "7db53ef.cfaf2c",\r
238         "type": "block",\r
239         "name": "block",\r
240         "xml": "<block>\n",\r
241         "atomic": "false",\r
242         "comments": "",\r
243         "outputs": 1,\r
244         "x": 1787,\r
245         "y": 197,\r
246         "z": "a52db008.999ba",\r
247         "wires": [\r
248             [\r
249                 "e72a9478.9558f",\r
250                 "f1da2bc3.8935b"\r
251             ]\r
252         ]\r
253     },\r
254     {\r
255         "id": "fd1e5e1b.83e83",\r
256         "type": "set",\r
257         "name": "set network-route-A",\r
258         "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
259         "comments": "",\r
260         "x": 2349,\r
261         "y": 795,\r
262         "z": "a52db008.999ba",\r
263         "wires": []\r
264     },\r
265     {\r
266         "id": "ff342d97.b64c78",\r
267         "type": "set",\r
268         "name": "set network-route-B",\r
269         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
270         "comments": "",\r
271         "x": 2351,\r
272         "y": 846,\r
273         "z": "a52db008.999ba",\r
274         "wires": []\r
275     },\r
276     {\r
277         "id": "f1da2bc3.8935b",\r
278         "type": "save",\r
279         "name": "get allotted-resource from aai",\r
280         "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
281         "comments": "",\r
282         "outputs": 1,\r
283         "x": 1991,\r
284         "y": 227,\r
285         "z": "a52db008.999ba",\r
286         "wires": [\r
287             [\r
288                 "24443c7d.51e17c",\r
289                 "5466a6b1.99c71",\r
290                 "6dbbe1dd.c8d2"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "24443c7d.51e17c",\r
296         "type": "success",\r
297         "name": "success",\r
298         "xml": "<outcome value='success'>\n",\r
299         "comments": "",\r
300         "outputs": 1,\r
301         "x": 2207,\r
302         "y": 294,\r
303         "z": "a52db008.999ba",\r
304         "wires": [\r
305             [\r
306                 "381969a5.e5019e"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "5466a6b1.99c71",\r
312         "type": "not-found",\r
313         "name": "not-found",\r
314         "xml": "<outcome value='not-found'>\n",\r
315         "comments": "",\r
316         "outputs": 1,\r
317         "x": 2207.490966796875,\r
318         "y": 193.573974609375,\r
319         "z": "a52db008.999ba",\r
320         "wires": [\r
321             [\r
322                 "5f41762b.9fae3"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "6dbbe1dd.c8d2",\r
328         "type": "failure",\r
329         "name": "failure",\r
330         "xml": "<outcome value='failure'>\n",\r
331         "comments": "",\r
332         "outputs": 1,\r
333         "x": 2203,\r
334         "y": 243,\r
335         "z": "a52db008.999ba",\r
336         "wires": [\r
337             [\r
338                 "35df5bd.60d91a4"\r
339             ]\r
340         ]\r
341     },\r
342     {\r
343         "id": "5f41762b.9fae3",\r
344         "type": "returnFailure",\r
345         "name": "return failure",\r
346         "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
347         "comments": "",\r
348         "x": 2385.0625,\r
349         "y": 193.8597412109375,\r
350         "z": "a52db008.999ba",\r
351         "wires": []\r
352     },\r
353     {\r
354         "id": "35df5bd.60d91a4",\r
355         "type": "returnFailure",\r
356         "name": "return failure",\r
357         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
358         "comments": "",\r
359         "x": 2385,\r
360         "y": 243,\r
361         "z": "a52db008.999ba",\r
362         "wires": []\r
363     },\r
364     {\r
365         "id": "8c284458.c08ae8",\r
366         "type": "save",\r
367         "name": "get logical-link from aai",\r
368         "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
369         "comments": "",\r
370         "outputs": 1,\r
371         "x": 1726,\r
372         "y": 716,\r
373         "z": "a52db008.999ba",\r
374         "wires": [\r
375             [\r
376                 "2b62ab10.ff50ec",\r
377                 "a72426b1.68469",\r
378                 "f1a9c962.2a68a8"\r
379             ]\r
380         ]\r
381     },\r
382     {\r
383         "id": "a72426b1.68469",\r
384         "type": "not-found",\r
385         "name": "not-found",\r
386         "xml": "<outcome value='not-found'>\n",\r
387         "comments": "",\r
388         "outputs": 1,\r
389         "x": 2017.490966796875,\r
390         "y": 694.573974609375,\r
391         "z": "a52db008.999ba",\r
392         "wires": [\r
393             [\r
394                 "b15724ee.fb934"\r
395             ]\r
396         ]\r
397     },\r
398     {\r
399         "id": "f1a9c962.2a68a8",\r
400         "type": "failure",\r
401         "name": "failure",\r
402         "xml": "<outcome value='failure'>\n",\r
403         "comments": "",\r
404         "outputs": 1,\r
405         "x": 2006,\r
406         "y": 739,\r
407         "z": "a52db008.999ba",\r
408         "wires": [\r
409             [\r
410                 "71027f5f.6dfd2"\r
411             ]\r
412         ]\r
413     },\r
414     {\r
415         "id": "b15724ee.fb934",\r
416         "type": "returnFailure",\r
417         "name": "return failure",\r
418         "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
419         "comments": "",\r
420         "x": 2166.0625,\r
421         "y": 694.8597412109375,\r
422         "z": "a52db008.999ba",\r
423         "wires": []\r
424     },\r
425     {\r
426         "id": "71027f5f.6dfd2",\r
427         "type": "returnFailure",\r
428         "name": "return failure",\r
429         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
430         "comments": "",\r
431         "x": 2165,\r
432         "y": 739,\r
433         "z": "a52db008.999ba",\r
434         "wires": []\r
435     },\r
436     {\r
437         "id": "2b62ab10.ff50ec",\r
438         "type": "success",\r
439         "name": "success",\r
440         "xml": "<outcome value='success'>\n",\r
441         "comments": "",\r
442         "outputs": 1,\r
443         "x": 2013,\r
444         "y": 818,\r
445         "z": "a52db008.999ba",\r
446         "wires": [\r
447             [\r
448                 "68ca5242.42eadc"\r
449             ]\r
450         ]\r
451     },\r
452     {\r
453         "id": "68ca5242.42eadc",\r
454         "type": "block",\r
455         "name": "block",\r
456         "xml": "<block>\n",\r
457         "atomic": "false",\r
458         "comments": "",\r
459         "outputs": 1,\r
460         "x": 2152,\r
461         "y": 818,\r
462         "z": "a52db008.999ba",\r
463         "wires": [\r
464             [\r
465                 "fd1e5e1b.83e83",\r
466                 "ff342d97.b64c78",\r
467                 "c6e4c4bb.cde228",\r
468                 "beeca149.096358",\r
469                 "b3a21500.4dc258",\r
470                 "4a385582.c0497c",\r
471                 "8ecd4f21.958f3",\r
472                 "87e71c84.c17b98",\r
473                 "b0430b3.4eee0f8",\r
474                 "9e9e0741.eed478",\r
475                 "41475eff.deafd",\r
476                 "171af565.db9233",\r
477                 "a0a45fd6.c31fe",\r
478                 "fdbb72c5.61c228",\r
479                 "62bd6081.059d7",\r
480                 "3f4df906.b67d7e",\r
481                 "fad5035b.7ee3a8",\r
482                 "d037b0c3.f093c"\r
483             ]\r
484         ]\r
485     },\r
486     {\r
487         "id": "c6e4c4bb.cde228",\r
488         "type": "save",\r
489         "name": "get network-route-A from aai",\r
490         "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
491         "comments": "",\r
492         "outputs": 1,\r
493         "x": 2381,\r
494         "y": 899,\r
495         "z": "a52db008.999ba",\r
496         "wires": [\r
497             [\r
498                 "99527920.d104f",\r
499                 "471613.ac9f61ec",\r
500                 "d7106a2a.e2e008"\r
501             ]\r
502         ]\r
503     },\r
504     {\r
505         "id": "beeca149.096358",\r
506         "type": "save",\r
507         "name": "get network-route-B from aai",\r
508         "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
509         "comments": "",\r
510         "outputs": 1,\r
511         "x": 2360,\r
512         "y": 1500.9998779296875,\r
513         "z": "a52db008.999ba",\r
514         "wires": [\r
515             [\r
516                 "f5b57d2.711fb8",\r
517                 "ee69c7ed.d244a",\r
518                 "b86b9154.d8271"\r
519             ]\r
520         ]\r
521     },\r
522     {\r
523         "id": "99527920.d104f",\r
524         "type": "not-found",\r
525         "name": "not-found",\r
526         "xml": "<outcome value='not-found'>\n",\r
527         "comments": "",\r
528         "outputs": 1,\r
529         "x": 2582,\r
530         "y": 783,\r
531         "z": "a52db008.999ba",\r
532         "wires": [\r
533             [\r
534                 "dee03a78.25dd08"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "471613.ac9f61ec",\r
540         "type": "failure",\r
541         "name": "failure",\r
542         "xml": "<outcome value='failure'>\n",\r
543         "comments": "",\r
544         "outputs": 1,\r
545         "x": 2577.509033203125,\r
546         "y": 832.426025390625,\r
547         "z": "a52db008.999ba",\r
548         "wires": [\r
549             [\r
550                 "afb5fd1c.14f968"\r
551             ]\r
552         ]\r
553     },\r
554     {\r
555         "id": "d7106a2a.e2e008",\r
556         "type": "success",\r
557         "name": "success",\r
558         "xml": "<outcome value='success'>\n",\r
559         "comments": "",\r
560         "outputs": 1,\r
561         "x": 2581.509033203125,\r
562         "y": 883.426025390625,\r
563         "z": "a52db008.999ba",\r
564         "wires": [\r
565             [\r
566                 "b1e48bbc.9418f8"\r
567             ]\r
568         ]\r
569     },\r
570     {\r
571         "id": "dee03a78.25dd08",\r
572         "type": "returnFailure",\r
573         "name": "return failure",\r
574         "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
575         "comments": "",\r
576         "x": 2730.571533203125,\r
577         "y": 782.2857666015625,\r
578         "z": "a52db008.999ba",\r
579         "wires": []\r
580     },\r
581     {\r
582         "id": "afb5fd1c.14f968",\r
583         "type": "returnFailure",\r
584         "name": "return failure",\r
585         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
586         "comments": "",\r
587         "x": 2720.509033203125,\r
588         "y": 832.426025390625,\r
589         "z": "a52db008.999ba",\r
590         "wires": []\r
591     },\r
592     {\r
593         "id": "f5b57d2.711fb8",\r
594         "type": "not-found",\r
595         "name": "not-found",\r
596         "xml": "<outcome value='not-found'>\n",\r
597         "comments": "",\r
598         "outputs": 1,\r
599         "x": 2583,\r
600         "y": 1470.9998779296875,\r
601         "z": "a52db008.999ba",\r
602         "wires": [\r
603             [\r
604                 "e4bc5398.587c9"\r
605             ]\r
606         ]\r
607     },\r
608     {\r
609         "id": "ee69c7ed.d244a",\r
610         "type": "failure",\r
611         "name": "failure",\r
612         "xml": "<outcome value='failure'>\n",\r
613         "comments": "",\r
614         "outputs": 1,\r
615         "x": 2578.509033203125,\r
616         "y": 1520.4259033203125,\r
617         "z": "a52db008.999ba",\r
618         "wires": [\r
619             [\r
620                 "7a22de95.f8d34"\r
621             ]\r
622         ]\r
623     },\r
624     {\r
625         "id": "b86b9154.d8271",\r
626         "type": "success",\r
627         "name": "success",\r
628         "xml": "<outcome value='success'>\n",\r
629         "comments": "",\r
630         "outputs": 1,\r
631         "x": 2582.509033203125,\r
632         "y": 1571.4259033203125,\r
633         "z": "a52db008.999ba",\r
634         "wires": [\r
635             [\r
636                 "706786f4.1c86"\r
637             ]\r
638         ]\r
639     },\r
640     {\r
641         "id": "e4bc5398.587c9",\r
642         "type": "returnFailure",\r
643         "name": "return failure",\r
644         "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
645         "comments": "",\r
646         "x": 2731.571533203125,\r
647         "y": 1470.28564453125,\r
648         "z": "a52db008.999ba",\r
649         "wires": []\r
650     },\r
651     {\r
652         "id": "7a22de95.f8d34",\r
653         "type": "returnFailure",\r
654         "name": "return failure",\r
655         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
656         "comments": "",\r
657         "x": 2721.509033203125,\r
658         "y": 1520.4259033203125,\r
659         "z": "a52db008.999ba",\r
660         "wires": []\r
661     },\r
662     {\r
663         "id": "6a5608a5.7646c8",\r
664         "type": "block",\r
665         "name": "block : atomic",\r
666         "xml": "<block atomic=\"true\">",\r
667         "atomic": "true",\r
668         "outputs": 1,\r
669         "x": 3395.66650390625,\r
670         "y": 927,\r
671         "z": "a52db008.999ba",\r
672         "wires": [\r
673             [\r
674                 "e59ae0d9.0b3bb8",\r
675                 "b65b8a91.4e15",\r
676                 "600bf3e5.b14284",\r
677                 "af7a5358.49a49",\r
678                 "a8e7dd16.944608"\r
679             ]\r
680         ]\r
681     },\r
682     {\r
683         "id": "b8369203.6c1e7",\r
684         "type": "success",\r
685         "name": "success",\r
686         "xml": "<outcome value='success'>\n",\r
687         "comments": "",\r
688         "outputs": 1,\r
689         "x": 3223,\r
690         "y": 928,\r
691         "z": "a52db008.999ba",\r
692         "wires": [\r
693             [\r
694                 "6a5608a5.7646c8"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "9feeef15.8800c",\r
700         "type": "not-found",\r
701         "name": "not-found",\r
702         "xml": "<outcome value='not-found'>\n",\r
703         "comments": "",\r
704         "outputs": 1,\r
705         "x": 3232.490966796875,\r
706         "y": 970.5740356445312,\r
707         "z": "a52db008.999ba",\r
708         "wires": [\r
709             [\r
710                 "cbf27e14.644ef8"\r
711             ]\r
712         ]\r
713     },\r
714     {\r
715         "id": "e8e1bd1d.029dd",\r
716         "type": "failure",\r
717         "name": "failure",\r
718         "xml": "<outcome value='failure'>\n",\r
719         "comments": "",\r
720         "outputs": 1,\r
721         "x": 3221,\r
722         "y": 1017,\r
723         "z": "a52db008.999ba",\r
724         "wires": [\r
725             [\r
726                 "7478805e.d0dee8"\r
727             ]\r
728         ]\r
729     },\r
730     {\r
731         "id": "cbf27e14.644ef8",\r
732         "type": "returnFailure",\r
733         "name": "return failure",\r
734         "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
735         "comments": "",\r
736         "x": 3386.0623779296875,\r
737         "y": 973.8597717285156,\r
738         "z": "a52db008.999ba",\r
739         "wires": []\r
740     },\r
741     {\r
742         "id": "7478805e.d0dee8",\r
743         "type": "returnFailure",\r
744         "name": "return failure",\r
745         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
746         "comments": "",\r
747         "x": 3390,\r
748         "y": 1018,\r
749         "z": "a52db008.999ba",\r
750         "wires": []\r
751     },\r
752     {\r
753         "id": "b1e48bbc.9418f8",\r
754         "type": "block",\r
755         "name": "block : atomic",\r
756         "xml": "<block atomic=\"true\">",\r
757         "atomic": "true",\r
758         "outputs": 1,\r
759         "x": 2743,\r
760         "y": 885,\r
761         "z": "a52db008.999ba",\r
762         "wires": [\r
763             [\r
764                 "b8e4ab1b.5f9428",\r
765                 "7b409cff.da197c"\r
766             ]\r
767         ]\r
768     },\r
769     {\r
770         "id": "706786f4.1c86",\r
771         "type": "block",\r
772         "name": "block : atomic",\r
773         "xml": "<block atomic=\"true\">",\r
774         "atomic": "true",\r
775         "outputs": 1,\r
776         "x": 2733,\r
777         "y": 1572.9998779296875,\r
778         "z": "a52db008.999ba",\r
779         "wires": [\r
780             [\r
781                 "6545b277.ec5df4",\r
782                 "e04c02f4.2f63f8"\r
783             ]\r
784         ]\r
785     },\r
786     {\r
787         "id": "a1cc2eec.aa7708",\r
788         "type": "block",\r
789         "name": "block : atomic",\r
790         "xml": "<block atomic=\"true\">",\r
791         "atomic": "true",\r
792         "outputs": 1,\r
793         "x": 3363.66650390625,\r
794         "y": 1763,\r
795         "z": "a52db008.999ba",\r
796         "wires": [\r
797             [\r
798                 "69afc187.c0c28",\r
799                 "9c8c62ca.8659",\r
800                 "72280e7f.000388",\r
801                 "5d487f8.16a5d",\r
802                 "34f70001.b13958"\r
803             ]\r
804         ]\r
805     },\r
806     {\r
807         "id": "a9223749.8519e8",\r
808         "type": "success",\r
809         "name": "success",\r
810         "xml": "<outcome value='success'>\n",\r
811         "comments": "",\r
812         "outputs": 1,\r
813         "x": 3191,\r
814         "y": 1764,\r
815         "z": "a52db008.999ba",\r
816         "wires": [\r
817             [\r
818                 "a1cc2eec.aa7708"\r
819             ]\r
820         ]\r
821     },\r
822     {\r
823         "id": "8aac19ac.984638",\r
824         "type": "not-found",\r
825         "name": "not-found",\r
826         "xml": "<outcome value='not-found'>\n",\r
827         "comments": "",\r
828         "outputs": 1,\r
829         "x": 3200.490966796875,\r
830         "y": 1806.5740356445312,\r
831         "z": "a52db008.999ba",\r
832         "wires": [\r
833             [\r
834                 "e01c6b8b.6173d8"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "15568030.09492",\r
840         "type": "failure",\r
841         "name": "failure",\r
842         "xml": "<outcome value='failure'>\n",\r
843         "comments": "",\r
844         "outputs": 1,\r
845         "x": 3189,\r
846         "y": 1853,\r
847         "z": "a52db008.999ba",\r
848         "wires": [\r
849             [\r
850                 "f17ea401.42a54"\r
851             ]\r
852         ]\r
853     },\r
854     {\r
855         "id": "e01c6b8b.6173d8",\r
856         "type": "returnFailure",\r
857         "name": "return failure",\r
858         "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
859         "comments": "",\r
860         "x": 3354.0623779296875,\r
861         "y": 1809.8597717285156,\r
862         "z": "a52db008.999ba",\r
863         "wires": []\r
864     },\r
865     {\r
866         "id": "f17ea401.42a54",\r
867         "type": "returnFailure",\r
868         "name": "return failure",\r
869         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
870         "comments": "",\r
871         "x": 3358,\r
872         "y": 1854,\r
873         "z": "a52db008.999ba",\r
874         "wires": []\r
875     },\r
876     {\r
877         "id": "e59ae0d9.0b3bb8",\r
878         "type": "execute",\r
879         "name": "execute split tp-id to get pnf-name",\r
880         "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
881         "comments": "",\r
882         "outputs": 1,\r
883         "x": 3660,\r
884         "y": 911,\r
885         "z": "a52db008.999ba",\r
886         "wires": [\r
887             [\r
888                 "b90f8b2c.3443f8",\r
889                 "f2af84b7.f19e7"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "f2af84b7.f19e7",\r
895         "type": "failure",\r
896         "name": "success",\r
897         "xml": "<outcome value='success'>\n",\r
898         "comments": "",\r
899         "outputs": 1,\r
900         "x": 3883,\r
901         "y": 866,\r
902         "z": "a52db008.999ba",\r
903         "wires": [\r
904             [\r
905                 "af749f90.aea73"\r
906             ]\r
907         ]\r
908     },\r
909     {\r
910         "id": "b90f8b2c.3443f8",\r
911         "type": "failure",\r
912         "name": "failure",\r
913         "xml": "<outcome value='failure'>\n",\r
914         "comments": "",\r
915         "outputs": 1,\r
916         "x": 3885,\r
917         "y": 930,\r
918         "z": "a52db008.999ba",\r
919         "wires": [\r
920             [\r
921                 "37b87470.480804"\r
922             ]\r
923         ]\r
924     },\r
925     {\r
926         "id": "58adc121.da62b8",\r
927         "type": "set",\r
928         "name": "set ltpId",\r
929         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
930         "comments": "",\r
931         "x": 4218,\r
932         "y": 824,\r
933         "z": "a52db008.999ba",\r
934         "wires": []\r
935     },\r
936     {\r
937         "id": "37b87470.480804",\r
938         "type": "returnFailure",\r
939         "name": "return failure",\r
940         "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
941         "comments": "",\r
942         "x": 4047,\r
943         "y": 926,\r
944         "z": "a52db008.999ba",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "af749f90.aea73",\r
949         "type": "block",\r
950         "name": "block : atomic",\r
951         "xml": "<block atomic=\"true\">",\r
952         "atomic": "true",\r
953         "outputs": 1,\r
954         "x": 4048,\r
955         "y": 863,\r
956         "z": "a52db008.999ba",\r
957         "wires": [\r
958             [\r
959                 "a0d3646d.84d22",\r
960                 "58adc121.da62b8"\r
961             ]\r
962         ]\r
963     },\r
964     {\r
965         "id": "a0d3646d.84d22",\r
966         "type": "set",\r
967         "name": "set pnf-name",\r
968         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
969         "comments": "",\r
970         "x": 4219,\r
971         "y": 929,\r
972         "z": "a52db008.999ba",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "b948285d.fc6638",\r
977         "type": "comment",\r
978         "name": "TODO: FIXME",\r
979         "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
980         "comments": "",\r
981         "x": 4220,\r
982         "y": 878,\r
983         "z": "a52db008.999ba",\r
984         "wires": []\r
985     },\r
986     {\r
987         "id": "600bf3e5.b14284",\r
988         "type": "save",\r
989         "name": "save connectivity resource in AAI",\r
990         "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='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='' />\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
991         "comments": "",\r
992         "outputs": 1,\r
993         "x": 3662,\r
994         "y": 1070,\r
995         "z": "a52db008.999ba",\r
996         "wires": [\r
997             []\r
998         ]\r
999     },\r
1000     {\r
1001         "id": "b65b8a91.4e15",\r
1002         "type": "execute",\r
1003         "name": "execute UUID generator for connectivity domainA",\r
1004         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
1005         "comments": "",\r
1006         "outputs": 1,\r
1007         "x": 3707,\r
1008         "y": 980,\r
1009         "z": "a52db008.999ba",\r
1010         "wires": [\r
1011             []\r
1012         ]\r
1013     },\r
1014     {\r
1015         "id": "584061d2.7f676",\r
1016         "type": "comment",\r
1017         "name": "TODO: FIXME",\r
1018         "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
1019         "comments": "",\r
1020         "x": 3596,\r
1021         "y": 1021,\r
1022         "z": "a52db008.999ba",\r
1023         "wires": []\r
1024     },\r
1025     {\r
1026         "id": "69afc187.c0c28",\r
1027         "type": "execute",\r
1028         "name": "execute split tp-id to get pnf-name",\r
1029         "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
1030         "comments": "",\r
1031         "outputs": 1,\r
1032         "x": 3650,\r
1033         "y": 1767.0001220703125,\r
1034         "z": "a52db008.999ba",\r
1035         "wires": [\r
1036             [\r
1037                 "73786f45.91fbd",\r
1038                 "a8286fc.413fb9"\r
1039             ]\r
1040         ]\r
1041     },\r
1042     {\r
1043         "id": "a8286fc.413fb9",\r
1044         "type": "failure",\r
1045         "name": "success",\r
1046         "xml": "<outcome value='success'>\n",\r
1047         "comments": "",\r
1048         "outputs": 1,\r
1049         "x": 3873,\r
1050         "y": 1722.0001220703125,\r
1051         "z": "a52db008.999ba",\r
1052         "wires": [\r
1053             [\r
1054                 "6edaf2ce.ba97ac"\r
1055             ]\r
1056         ]\r
1057     },\r
1058     {\r
1059         "id": "73786f45.91fbd",\r
1060         "type": "failure",\r
1061         "name": "failure",\r
1062         "xml": "<outcome value='failure'>\n",\r
1063         "comments": "",\r
1064         "outputs": 1,\r
1065         "x": 3875,\r
1066         "y": 1786.0001220703125,\r
1067         "z": "a52db008.999ba",\r
1068         "wires": [\r
1069             [\r
1070                 "fcba834.c469f8"\r
1071             ]\r
1072         ]\r
1073     },\r
1074     {\r
1075         "id": "e5ecf778.a4711",\r
1076         "type": "set",\r
1077         "name": "set ltpId",\r
1078         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1079         "comments": "",\r
1080         "x": 4208,\r
1081         "y": 1680.0001220703125,\r
1082         "z": "a52db008.999ba",\r
1083         "wires": []\r
1084     },\r
1085     {\r
1086         "id": "fcba834.c469f8",\r
1087         "type": "returnFailure",\r
1088         "name": "return failure",\r
1089         "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
1090         "comments": "",\r
1091         "x": 4034,\r
1092         "y": 1805.0001220703125,\r
1093         "z": "a52db008.999ba",\r
1094         "wires": []\r
1095     },\r
1096     {\r
1097         "id": "6edaf2ce.ba97ac",\r
1098         "type": "block",\r
1099         "name": "block : atomic",\r
1100         "xml": "<block atomic=\"true\">",\r
1101         "atomic": "true",\r
1102         "outputs": 1,\r
1103         "x": 4038,\r
1104         "y": 1719.0001220703125,\r
1105         "z": "a52db008.999ba",\r
1106         "wires": [\r
1107             [\r
1108                 "e5ecf778.a4711",\r
1109                 "865f8e50.82a5c"\r
1110             ]\r
1111         ]\r
1112     },\r
1113     {\r
1114         "id": "865f8e50.82a5c",\r
1115         "type": "set",\r
1116         "name": "set pnf-name",\r
1117         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1118         "comments": "",\r
1119         "x": 4209,\r
1120         "y": 1785.0001220703125,\r
1121         "z": "a52db008.999ba",\r
1122         "wires": []\r
1123     },\r
1124     {\r
1125         "id": "9e10e06d.c116e8",\r
1126         "type": "comment",\r
1127         "name": "TODO: FIXME",\r
1128         "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
1129         "comments": "",\r
1130         "x": 4204,\r
1131         "y": 1734.0001220703125,\r
1132         "z": "a52db008.999ba",\r
1133         "wires": []\r
1134     },\r
1135     {\r
1136         "id": "72280e7f.000388",\r
1137         "type": "save",\r
1138         "name": "save connectivity resource in AAI",\r
1139         "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='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='' />\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
1140         "comments": "",\r
1141         "outputs": 1,\r
1142         "x": 3652,\r
1143         "y": 1926.0001220703125,\r
1144         "z": "a52db008.999ba",\r
1145         "wires": [\r
1146             []\r
1147         ]\r
1148     },\r
1149     {\r
1150         "id": "9c8c62ca.8659",\r
1151         "type": "execute",\r
1152         "name": "execute UUID generator for connectivity domainB",\r
1153         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1154         "comments": "",\r
1155         "outputs": 1,\r
1156         "x": 3697,\r
1157         "y": 1836.0001220703125,\r
1158         "z": "a52db008.999ba",\r
1159         "wires": [\r
1160             []\r
1161         ]\r
1162     },\r
1163     {\r
1164         "id": "eb2e4b08.8488e",\r
1165         "type": "comment",\r
1166         "name": "TODO: FIXME",\r
1167         "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
1168         "comments": "",\r
1169         "x": 3586,\r
1170         "y": 1874.0001220703125,\r
1171         "z": "a52db008.999ba",\r
1172         "wires": []\r
1173     },\r
1174     {\r
1175         "id": "b3a21500.4dc258",\r
1176         "type": "call",\r
1177         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1178         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1179         "comments": "",\r
1180         "outputs": 1,\r
1181         "x": 2561,\r
1182         "y": 2001,\r
1183         "z": "a52db008.999ba",\r
1184         "wires": [\r
1185             []\r
1186         ]\r
1187     },\r
1188     {\r
1189         "id": "4a385582.c0497c",\r
1190         "type": "set",\r
1191         "name": "set attachment_param",\r
1192         "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
1193         "comments": "",\r
1194         "x": 2355,\r
1195         "y": 1941,\r
1196         "z": "a52db008.999ba",\r
1197         "wires": []\r
1198     },\r
1199     {\r
1200         "id": "1846dda4.ce84b2",\r
1201         "type": "comment",\r
1202         "name": "TODO: FIXME",\r
1203         "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
1204         "comments": "",\r
1205         "x": 2329,\r
1206         "y": 1894,\r
1207         "z": "a52db008.999ba",\r
1208         "wires": []\r
1209     },\r
1210     {\r
1211         "id": "8ecd4f21.958f3",\r
1212         "type": "save",\r
1213         "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
1214         "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.vpn-binding-domainA-uuid`' />\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='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
1215         "comments": "",\r
1216         "outputs": 1,\r
1217         "x": 2437,\r
1218         "y": 2160,\r
1219         "z": "a52db008.999ba",\r
1220         "wires": [\r
1221             [\r
1222                 "9a891a89.705e9"\r
1223             ]\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "87e71c84.c17b98",\r
1228         "type": "save",\r
1229         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
1230         "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
1231         "comments": "",\r
1232         "outputs": 1,\r
1233         "x": 2440.5,\r
1234         "y": 2230,\r
1235         "z": "a52db008.999ba",\r
1236         "wires": [\r
1237             []\r
1238         ]\r
1239     },\r
1240     {\r
1241         "id": "65814f19.31d048",\r
1242         "type": "save",\r
1243         "name": "save srcLTP relationship in AAI",\r
1244         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
1245         "comments": "",\r
1246         "outputs": 1,\r
1247         "x": 3088.5,\r
1248         "y": 2149,\r
1249         "z": "a52db008.999ba",\r
1250         "wires": [\r
1251             []\r
1252         ]\r
1253     },\r
1254     {\r
1255         "id": "9a488056.fd463",\r
1256         "type": "save",\r
1257         "name": "save dstLTP relationship in AAI",\r
1258         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
1259         "comments": "",\r
1260         "outputs": 1,\r
1261         "x": 3090.5,\r
1262         "y": 2188,\r
1263         "z": "a52db008.999ba",\r
1264         "wires": [\r
1265             []\r
1266         ]\r
1267     },\r
1268     {\r
1269         "id": "af7a5358.49a49",\r
1270         "type": "save",\r
1271         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1272         "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
1273         "comments": "",\r
1274         "outputs": 1,\r
1275         "x": 3790,\r
1276         "y": 1118,\r
1277         "z": "a52db008.999ba",\r
1278         "wires": [\r
1279             []\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "5d487f8.16a5d",\r
1284         "type": "save",\r
1285         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1286         "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
1287         "comments": "",\r
1288         "outputs": 1,\r
1289         "x": 3779,\r
1290         "y": 1991.0001220703125,\r
1291         "z": "a52db008.999ba",\r
1292         "wires": [\r
1293             []\r
1294         ]\r
1295     },\r
1296     {\r
1297         "id": "9a891a89.705e9",\r
1298         "type": "success",\r
1299         "name": "success",\r
1300         "xml": "<outcome value='success'>\n",\r
1301         "comments": "",\r
1302         "outputs": 1,\r
1303         "x": 2737,\r
1304         "y": 2167,\r
1305         "z": "a52db008.999ba",\r
1306         "wires": [\r
1307             [\r
1308                 "a2095f6a.84829"\r
1309             ]\r
1310         ]\r
1311     },\r
1312     {\r
1313         "id": "a2095f6a.84829",\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": 2877.500244140625,\r
1321         "y": 2168.25390625,\r
1322         "z": "a52db008.999ba",\r
1323         "wires": [\r
1324             []\r
1325         ]\r
1326     },\r
1327     {\r
1328         "id": "421e8d3c.2d000c",\r
1329         "type": "comment",\r
1330         "name": "TODO: FIXME: do we need this relationship?",\r
1331         "info": "",\r
1332         "comments": "",\r
1333         "x": 3125,\r
1334         "y": 2108,\r
1335         "z": "a52db008.999ba",\r
1336         "wires": []\r
1337     },\r
1338     {\r
1339         "id": "ec5e7e31.de7c9",\r
1340         "type": "comment",\r
1341         "name": "TODO: FIXME: put proper values",\r
1342         "info": "",\r
1343         "comments": "",\r
1344         "x": 2404,\r
1345         "y": 2120,\r
1346         "z": "a52db008.999ba",\r
1347         "wires": []\r
1348     },\r
1349     {\r
1350         "id": "b0430b3.4eee0f8",\r
1351         "type": "save",\r
1352         "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
1353         "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.vpn-binding-domainB-uuid`' />\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='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
1354         "comments": "",\r
1355         "outputs": 1,\r
1356         "x": 2440,\r
1357         "y": 2448,\r
1358         "z": "a52db008.999ba",\r
1359         "wires": [\r
1360             [\r
1361                 "ceffa653.90d39"\r
1362             ]\r
1363         ]\r
1364     },\r
1365     {\r
1366         "id": "3a1d826b.1f953e",\r
1367         "type": "comment",\r
1368         "name": "TODO: FIXME: do we need this relationship?",\r
1369         "info": "",\r
1370         "comments": "",\r
1371         "x": 3128,\r
1372         "y": 2388,\r
1373         "z": "a52db008.999ba",\r
1374         "wires": []\r
1375     },\r
1376     {\r
1377         "id": "4a53aeab.a2778",\r
1378         "type": "save",\r
1379         "name": "save srcLTP relationship in AAI",\r
1380         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
1381         "comments": "",\r
1382         "outputs": 1,\r
1383         "x": 3091.5,\r
1384         "y": 2429,\r
1385         "z": "a52db008.999ba",\r
1386         "wires": [\r
1387             []\r
1388         ]\r
1389     },\r
1390     {\r
1391         "id": "36a3debe.6aad72",\r
1392         "type": "save",\r
1393         "name": "save dstLTP relationship in AAI",\r
1394         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
1395         "comments": "",\r
1396         "outputs": 1,\r
1397         "x": 3093.5,\r
1398         "y": 2468,\r
1399         "z": "a52db008.999ba",\r
1400         "wires": [\r
1401             []\r
1402         ]\r
1403     },\r
1404     {\r
1405         "id": "a45d9658.764968",\r
1406         "type": "block",\r
1407         "name": "block",\r
1408         "xml": "<block>\n",\r
1409         "atomic": "false",\r
1410         "comments": "",\r
1411         "outputs": 1,\r
1412         "x": 2880.500244140625,\r
1413         "y": 2448.25390625,\r
1414         "z": "a52db008.999ba",\r
1415         "wires": [\r
1416             []\r
1417         ]\r
1418     },\r
1419     {\r
1420         "id": "ceffa653.90d39",\r
1421         "type": "success",\r
1422         "name": "success",\r
1423         "xml": "<outcome value='success'>\n",\r
1424         "comments": "",\r
1425         "outputs": 1,\r
1426         "x": 2740,\r
1427         "y": 2447,\r
1428         "z": "a52db008.999ba",\r
1429         "wires": [\r
1430             [\r
1431                 "a45d9658.764968"\r
1432             ]\r
1433         ]\r
1434     },\r
1435     {\r
1436         "id": "7449a31b.49a87c",\r
1437         "type": "comment",\r
1438         "name": "TODO: FIXME: put proper values",\r
1439         "info": "",\r
1440         "comments": "",\r
1441         "x": 2420,\r
1442         "y": 2408,\r
1443         "z": "a52db008.999ba",\r
1444         "wires": []\r
1445     },\r
1446     {\r
1447         "id": "9e9e0741.eed478",\r
1448         "type": "save",\r
1449         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
1450         "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
1451         "comments": "",\r
1452         "outputs": 1,\r
1453         "x": 2438.5,\r
1454         "y": 2488,\r
1455         "z": "a52db008.999ba",\r
1456         "wires": [\r
1457             []\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "a04f201b.1fb08",\r
1462         "type": "comment",\r
1463         "name": "TODO: FIXME:",\r
1464         "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
1465         "comments": "",\r
1466         "x": 2312,\r
1467         "y": 2571,\r
1468         "z": "a52db008.999ba",\r
1469         "wires": []\r
1470     },\r
1471     {\r
1472         "id": "a0a45fd6.c31fe",\r
1473         "type": "set",\r
1474         "name": "set attachment_param domain A",\r
1475         "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,' + $maximum-bandwidth /1000 *2 /3 `\" />\n<!--<parameter name='src-ttp-id' value='`$source.tunnel-tp-id`' />-->\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",\r
1476         "comments": "",\r
1477         "x": 2377,\r
1478         "y": 2616,\r
1479         "z": "a52db008.999ba",\r
1480         "wires": []\r
1481     },\r
1482     {\r
1483         "id": "32eb8024.15dcc8",\r
1484         "type": "execute",\r
1485         "name": "get esr-thirdparty-sdnc",\r
1486         "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
1487         "comments": "",\r
1488         "outputs": 1,\r
1489         "x": 4834,\r
1490         "y": 638,\r
1491         "z": "a52db008.999ba",\r
1492         "wires": [\r
1493             [\r
1494                 "73d2c0a6.ca0098",\r
1495                 "2f388561.aeb472",\r
1496                 "c9248b9c.994ac"\r
1497             ]\r
1498         ]\r
1499     },\r
1500     {\r
1501         "id": "381969a5.e5019e",\r
1502         "type": "block",\r
1503         "name": "block : atomic",\r
1504         "xml": "<block atomic=\"true\">",\r
1505         "atomic": "true",\r
1506         "outputs": 1,\r
1507         "x": 2387,\r
1508         "y": 294,\r
1509         "z": "a52db008.999ba",\r
1510         "wires": [\r
1511             [\r
1512                 "2fa39853.fd6f7"\r
1513             ]\r
1514         ]\r
1515     },\r
1516     {\r
1517         "id": "93b21596.ec10e8",\r
1518         "type": "outcome",\r
1519         "name": "logical-link",\r
1520         "xml": "<outcome value='logical-link'>\n",\r
1521         "comments": "",\r
1522         "outputs": 1,\r
1523         "x": 1317.0001220703125,\r
1524         "y": 711.0001220703125,\r
1525         "z": "a52db008.999ba",\r
1526         "wires": [\r
1527             [\r
1528                 "993cc770.3c90b"\r
1529             ]\r
1530         ]\r
1531     },\r
1532     {\r
1533         "id": "8fdb5adc.4040d",\r
1534         "type": "switchNode",\r
1535         "name": "switch allotted-resource.relationship-list not empty",\r
1536         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1537         "comments": "",\r
1538         "outputs": 1,\r
1539         "x": 2055,\r
1540         "y": 417,\r
1541         "z": "a52db008.999ba",\r
1542         "wires": [\r
1543             [\r
1544                 "332b207c.0fec28",\r
1545                 "310fb819.3e915"\r
1546             ]\r
1547         ]\r
1548     },\r
1549     {\r
1550         "id": "310fb819.3e915",\r
1551         "type": "outcomeFalse",\r
1552         "name": "false",\r
1553         "xml": "<outcome value='false'>\n",\r
1554         "comments": "",\r
1555         "outputs": 1,\r
1556         "x": 2365,\r
1557         "y": 424,\r
1558         "z": "a52db008.999ba",\r
1559         "wires": [\r
1560             []\r
1561         ]\r
1562     },\r
1563     {\r
1564         "id": "332b207c.0fec28",\r
1565         "type": "outcomeTrue",\r
1566         "name": "true",\r
1567         "xml": "<outcome value='true'>\n",\r
1568         "comments": "",\r
1569         "outputs": 1,\r
1570         "x": 2364,\r
1571         "y": 478,\r
1572         "z": "a52db008.999ba",\r
1573         "wires": [\r
1574             [\r
1575                 "b6e0228b.bc6398"\r
1576             ]\r
1577         ]\r
1578     },\r
1579     {\r
1580         "id": "d9c8107.cbe1d7",\r
1581         "type": "set",\r
1582         "name": "set the 1st logical-link-name",\r
1583         "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
1584         "comments": "",\r
1585         "x": 1737,\r
1586         "y": 661,\r
1587         "z": "a52db008.999ba",\r
1588         "wires": []\r
1589     },\r
1590     {\r
1591         "id": "993cc770.3c90b",\r
1592         "type": "block",\r
1593         "name": "block : atomic",\r
1594         "xml": "<block atomic=\"true\">",\r
1595         "atomic": "true",\r
1596         "outputs": 1,\r
1597         "x": 1494,\r
1598         "y": 704,\r
1599         "z": "a52db008.999ba",\r
1600         "wires": [\r
1601             [\r
1602                 "d9c8107.cbe1d7",\r
1603                 "8c284458.c08ae8"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "d4f8497.5d30938",\r
1609         "type": "comment",\r
1610         "name": "Question?",\r
1611         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1612         "comments": "",\r
1613         "x": 2923,\r
1614         "y": 890,\r
1615         "z": "a52db008.999ba",\r
1616         "wires": []\r
1617     },\r
1618     {\r
1619         "id": "b8e4ab1b.5f9428",\r
1620         "type": "save",\r
1621         "name": "get p-interface-src from aai",\r
1622         "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
1623         "comments": "",\r
1624         "outputs": 1,\r
1625         "x": 2966,\r
1626         "y": 955,\r
1627         "z": "a52db008.999ba",\r
1628         "wires": [\r
1629             [\r
1630                 "b8369203.6c1e7",\r
1631                 "9feeef15.8800c",\r
1632                 "e8e1bd1d.029dd"\r
1633             ]\r
1634         ]\r
1635     },\r
1636     {\r
1637         "id": "6545b277.ec5df4",\r
1638         "type": "save",\r
1639         "name": "get p-interface-dst from aai",\r
1640         "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
1641         "comments": "",\r
1642         "outputs": 1,\r
1643         "x": 2963,\r
1644         "y": 1799,\r
1645         "z": "a52db008.999ba",\r
1646         "wires": [\r
1647             [\r
1648                 "a9223749.8519e8",\r
1649                 "8aac19ac.984638",\r
1650                 "15568030.09492"\r
1651             ]\r
1652         ]\r
1653     },\r
1654     {\r
1655         "id": "4f7449aa.1cee1",\r
1656         "type": "comment",\r
1657         "name": "Question?",\r
1658         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1659         "comments": "",\r
1660         "x": 2924,\r
1661         "y": 1743,\r
1662         "z": "a52db008.999ba",\r
1663         "wires": []\r
1664     },\r
1665     {\r
1666         "id": "2fa39853.fd6f7",\r
1667         "type": "save",\r
1668         "name": "get allotted-resource relationship from aai",\r
1669         "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
1670         "comments": "",\r
1671         "outputs": 1,\r
1672         "x": 2680,\r
1673         "y": 241,\r
1674         "z": "a52db008.999ba",\r
1675         "wires": [\r
1676             [\r
1677                 "e187deec.568f28",\r
1678                 "ca2e6451.404f78",\r
1679                 "42b58dd4.7191cc"\r
1680             ]\r
1681         ]\r
1682     },\r
1683     {\r
1684         "id": "ca2e6451.404f78",\r
1685         "type": "not-found",\r
1686         "name": "not-found",\r
1687         "xml": "<outcome value='not-found'>\n",\r
1688         "comments": "",\r
1689         "outputs": 1,\r
1690         "x": 2953.490966796875,\r
1691         "y": 133.573974609375,\r
1692         "z": "a52db008.999ba",\r
1693         "wires": [\r
1694             [\r
1695                 "e5b0a6e5.509578"\r
1696             ]\r
1697         ]\r
1698     },\r
1699     {\r
1700         "id": "e5b0a6e5.509578",\r
1701         "type": "returnFailure",\r
1702         "name": "return failure",\r
1703         "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
1704         "comments": "",\r
1705         "x": 3131.0625,\r
1706         "y": 133.8597412109375,\r
1707         "z": "a52db008.999ba",\r
1708         "wires": []\r
1709     },\r
1710     {\r
1711         "id": "42b58dd4.7191cc",\r
1712         "type": "failure",\r
1713         "name": "failure",\r
1714         "xml": "<outcome value='failure'>\n",\r
1715         "comments": "",\r
1716         "outputs": 1,\r
1717         "x": 2949,\r
1718         "y": 183,\r
1719         "z": "a52db008.999ba",\r
1720         "wires": [\r
1721             [\r
1722                 "ecd1ffcd.8fafe8"\r
1723             ]\r
1724         ]\r
1725     },\r
1726     {\r
1727         "id": "ecd1ffcd.8fafe8",\r
1728         "type": "returnFailure",\r
1729         "name": "return failure",\r
1730         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1731         "comments": "",\r
1732         "x": 3131,\r
1733         "y": 183,\r
1734         "z": "a52db008.999ba",\r
1735         "wires": []\r
1736     },\r
1737     {\r
1738         "id": "e187deec.568f28",\r
1739         "type": "success",\r
1740         "name": "success",\r
1741         "xml": "<outcome value='success'>\n",\r
1742         "comments": "",\r
1743         "outputs": 1,\r
1744         "x": 2953,\r
1745         "y": 234,\r
1746         "z": "a52db008.999ba",\r
1747         "wires": [\r
1748             [\r
1749                 "d246d860.a6b138"\r
1750             ]\r
1751         ]\r
1752     },\r
1753     {\r
1754         "id": "d246d860.a6b138",\r
1755         "type": "block",\r
1756         "name": "block : atomic",\r
1757         "xml": "<block atomic=\"true\">",\r
1758         "atomic": "true",\r
1759         "outputs": 1,\r
1760         "x": 3133,\r
1761         "y": 234,\r
1762         "z": "a52db008.999ba",\r
1763         "wires": [\r
1764             [\r
1765                 "8fdb5adc.4040d"\r
1766             ]\r
1767         ]\r
1768     },\r
1769     {\r
1770         "id": "65e46dcd.9c5144",\r
1771         "type": "for",\r
1772         "name": "for each allotted-resource relationship",\r
1773         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1774         "comments": "",\r
1775         "outputs": 1,\r
1776         "x": 2624,\r
1777         "y": 458,\r
1778         "z": "a52db008.999ba",\r
1779         "wires": [\r
1780             [\r
1781                 "dd606d5c.9d70f"\r
1782             ]\r
1783         ]\r
1784     },\r
1785     {\r
1786         "id": "dd606d5c.9d70f",\r
1787         "type": "switchNode",\r
1788         "name": "switch related-to",\r
1789         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1790         "comments": "",\r
1791         "outputs": 1,\r
1792         "x": 2904,\r
1793         "y": 458,\r
1794         "z": "a52db008.999ba",\r
1795         "wires": [\r
1796             [\r
1797                 "93b21596.ec10e8"\r
1798             ]\r
1799         ]\r
1800     },\r
1801     {\r
1802         "id": "da58235b.ecd51",\r
1803         "type": "outcome",\r
1804         "name": "network-policy",\r
1805         "xml": "<outcome value='network-policy'>\n",\r
1806         "comments": "",\r
1807         "outputs": 1,\r
1808         "x": 3109,\r
1809         "y": 432,\r
1810         "z": "a52db008.999ba",\r
1811         "wires": [\r
1812             [\r
1813                 "bae40be2.1a0898"\r
1814             ]\r
1815         ]\r
1816     },\r
1817     {\r
1818         "id": "bae40be2.1a0898",\r
1819         "type": "block",\r
1820         "name": "block : atomic",\r
1821         "xml": "<block atomic=\"true\">",\r
1822         "atomic": "true",\r
1823         "outputs": 1,\r
1824         "x": 3285.9998779296875,\r
1825         "y": 424.9998779296875,\r
1826         "z": "a52db008.999ba",\r
1827         "wires": [\r
1828             [\r
1829                 "26610962.4550fe",\r
1830                 "1b905535.187f13"\r
1831             ]\r
1832         ]\r
1833     },\r
1834     {\r
1835         "id": "26610962.4550fe",\r
1836         "type": "set",\r
1837         "name": "set the 1st network-policy-id",\r
1838         "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
1839         "comments": "",\r
1840         "x": 3528.9998779296875,\r
1841         "y": 381.9998779296875,\r
1842         "z": "a52db008.999ba",\r
1843         "wires": []\r
1844     },\r
1845     {\r
1846         "id": "1b905535.187f13",\r
1847         "type": "save",\r
1848         "name": "get network-policy from aai",\r
1849         "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
1850         "comments": "",\r
1851         "outputs": 1,\r
1852         "x": 3517.9998779296875,\r
1853         "y": 436.9998779296875,\r
1854         "z": "a52db008.999ba",\r
1855         "wires": [\r
1856             [\r
1857                 "690d79a7.ec256",\r
1858                 "33a9cbc4.26d4ec",\r
1859                 "93a52247.c17dd8"\r
1860             ]\r
1861         ]\r
1862     },\r
1863     {\r
1864         "id": "93a52247.c17dd8",\r
1865         "type": "not-found",\r
1866         "name": "not-found",\r
1867         "xml": "<outcome value='not-found'>\n",\r
1868         "comments": "",\r
1869         "outputs": 1,\r
1870         "x": 3771,\r
1871         "y": 323,\r
1872         "z": "a52db008.999ba",\r
1873         "wires": [\r
1874             [\r
1875                 "2900fde3.f79c7a"\r
1876             ]\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "2900fde3.f79c7a",\r
1881         "type": "returnFailure",\r
1882         "name": "return failure",\r
1883         "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
1884         "comments": "",\r
1885         "x": 3919.571533203125,\r
1886         "y": 323.2857666015625,\r
1887         "z": "a52db008.999ba",\r
1888         "wires": []\r
1889     },\r
1890     {\r
1891         "id": "6f314ac7.786434",\r
1892         "type": "returnFailure",\r
1893         "name": "return failure",\r
1894         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1895         "comments": "",\r
1896         "x": 3918.509033203125,\r
1897         "y": 367.426025390625,\r
1898         "z": "a52db008.999ba",\r
1899         "wires": []\r
1900     },\r
1901     {\r
1902         "id": "33a9cbc4.26d4ec",\r
1903         "type": "failure",\r
1904         "name": "failure",\r
1905         "xml": "<outcome value='failure'>\n",\r
1906         "comments": "",\r
1907         "outputs": 1,\r
1908         "x": 3759.509033203125,\r
1909         "y": 367.426025390625,\r
1910         "z": "a52db008.999ba",\r
1911         "wires": [\r
1912             [\r
1913                 "6f314ac7.786434"\r
1914             ]\r
1915         ]\r
1916     },\r
1917     {\r
1918         "id": "690d79a7.ec256",\r
1919         "type": "success",\r
1920         "name": "success",\r
1921         "xml": "<outcome value='success'>\n",\r
1922         "comments": "",\r
1923         "outputs": 1,\r
1924         "x": 3766.509033203125,\r
1925         "y": 446.426025390625,\r
1926         "z": "a52db008.999ba",\r
1927         "wires": [\r
1928             [\r
1929                 "13407089.aa8267"\r
1930             ]\r
1931         ]\r
1932     },\r
1933     {\r
1934         "id": "13407089.aa8267",\r
1935         "type": "block",\r
1936         "name": "block",\r
1937         "xml": "<block>\n",\r
1938         "atomic": "false",\r
1939         "comments": "",\r
1940         "outputs": 1,\r
1941         "x": 3905.509033203125,\r
1942         "y": 446.426025390625,\r
1943         "z": "a52db008.999ba",\r
1944         "wires": [\r
1945             [\r
1946                 "d0bc6aa5.e1fca8"\r
1947             ]\r
1948         ]\r
1949     },\r
1950     {\r
1951         "id": "d0bc6aa5.e1fca8",\r
1952         "type": "set",\r
1953         "name": "set the max bandwidth",\r
1954         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n\n\n",\r
1955         "comments": "",\r
1956         "x": 4111,\r
1957         "y": 444,\r
1958         "z": "a52db008.999ba",\r
1959         "wires": []\r
1960     },\r
1961     {\r
1962         "id": "7b409cff.da197c",\r
1963         "type": "execute",\r
1964         "name": "execute split tp-id to get pnf-name",\r
1965         "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
1966         "comments": "",\r
1967         "outputs": 1,\r
1968         "x": 2967,\r
1969         "y": 625,\r
1970         "z": "a52db008.999ba",\r
1971         "wires": [\r
1972             [\r
1973                 "6c1cd175.73bac",\r
1974                 "685f5c8c.4102b4"\r
1975             ]\r
1976         ]\r
1977     },\r
1978     {\r
1979         "id": "685f5c8c.4102b4",\r
1980         "type": "failure",\r
1981         "name": "success",\r
1982         "xml": "<outcome value='success'>\n",\r
1983         "comments": "",\r
1984         "outputs": 1,\r
1985         "x": 3190,\r
1986         "y": 611,\r
1987         "z": "a52db008.999ba",\r
1988         "wires": [\r
1989             [\r
1990                 "1331c07a.407898"\r
1991             ]\r
1992         ]\r
1993     },\r
1994     {\r
1995         "id": "6c1cd175.73bac",\r
1996         "type": "failure",\r
1997         "name": "failure",\r
1998         "xml": "<outcome value='failure'>\n",\r
1999         "comments": "",\r
2000         "outputs": 1,\r
2001         "x": 3192,\r
2002         "y": 644,\r
2003         "z": "a52db008.999ba",\r
2004         "wires": [\r
2005             [\r
2006                 "c779d61e.1b8528"\r
2007             ]\r
2008         ]\r
2009     },\r
2010     {\r
2011         "id": "c779d61e.1b8528",\r
2012         "type": "returnFailure",\r
2013         "name": "return failure",\r
2014         "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
2015         "comments": "",\r
2016         "x": 3335,\r
2017         "y": 641,\r
2018         "z": "a52db008.999ba",\r
2019         "wires": []\r
2020     },\r
2021     {\r
2022         "id": "1331c07a.407898",\r
2023         "type": "block",\r
2024         "name": "block : atomic",\r
2025         "xml": "<block atomic=\"true\">",\r
2026         "atomic": "true",\r
2027         "outputs": 1,\r
2028         "x": 3338,\r
2029         "y": 604,\r
2030         "z": "a52db008.999ba",\r
2031         "wires": [\r
2032             [\r
2033                 "59393385.2a7954",\r
2034                 "5055791b.75c5d"\r
2035             ]\r
2036         ]\r
2037     },\r
2038     {\r
2039         "id": "59393385.2a7954",\r
2040         "type": "set",\r
2041         "name": "set pnf-name",\r
2042         "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
2043         "comments": "",\r
2044         "x": 3500,\r
2045         "y": 599,\r
2046         "z": "a52db008.999ba",\r
2047         "wires": []\r
2048     },\r
2049     {\r
2050         "id": "e04c02f4.2f63f8",\r
2051         "type": "execute",\r
2052         "name": "execute split tp-id to get pnf-name",\r
2053         "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
2054         "comments": "",\r
2055         "outputs": 1,\r
2056         "x": 2981,\r
2057         "y": 1461.9998779296875,\r
2058         "z": "a52db008.999ba",\r
2059         "wires": [\r
2060             [\r
2061                 "250eb2ce.721286",\r
2062                 "7ff4092b.9f4c3"\r
2063             ]\r
2064         ]\r
2065     },\r
2066     {\r
2067         "id": "7ff4092b.9f4c3",\r
2068         "type": "failure",\r
2069         "name": "success",\r
2070         "xml": "<outcome value='success'>\n",\r
2071         "comments": "",\r
2072         "outputs": 1,\r
2073         "x": 3204,\r
2074         "y": 1447.9998779296875,\r
2075         "z": "a52db008.999ba",\r
2076         "wires": [\r
2077             [\r
2078                 "4e15b8c4.ecfe8"\r
2079             ]\r
2080         ]\r
2081     },\r
2082     {\r
2083         "id": "250eb2ce.721286",\r
2084         "type": "failure",\r
2085         "name": "failure",\r
2086         "xml": "<outcome value='failure'>\n",\r
2087         "comments": "",\r
2088         "outputs": 1,\r
2089         "x": 3206,\r
2090         "y": 1480.9998779296875,\r
2091         "z": "a52db008.999ba",\r
2092         "wires": [\r
2093             [\r
2094                 "d740a9b4.496fa"\r
2095             ]\r
2096         ]\r
2097     },\r
2098     {\r
2099         "id": "d740a9b4.496fa",\r
2100         "type": "returnFailure",\r
2101         "name": "return failure",\r
2102         "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
2103         "comments": "",\r
2104         "x": 3349,\r
2105         "y": 1477.9998779296875,\r
2106         "z": "a52db008.999ba",\r
2107         "wires": []\r
2108     },\r
2109     {\r
2110         "id": "4e15b8c4.ecfe8",\r
2111         "type": "block",\r
2112         "name": "block : atomic",\r
2113         "xml": "<block atomic=\"true\">",\r
2114         "atomic": "true",\r
2115         "outputs": 1,\r
2116         "x": 3352,\r
2117         "y": 1440.9998779296875,\r
2118         "z": "a52db008.999ba",\r
2119         "wires": [\r
2120             [\r
2121                 "a09d9728.0836a8",\r
2122                 "a9ef3bf.dca6748"\r
2123             ]\r
2124         ]\r
2125     },\r
2126     {\r
2127         "id": "a09d9728.0836a8",\r
2128         "type": "set",\r
2129         "name": "set pnf-name",\r
2130         "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
2131         "comments": "",\r
2132         "x": 3546,\r
2133         "y": 1444,\r
2134         "z": "a52db008.999ba",\r
2135         "wires": []\r
2136     },\r
2137     {\r
2138         "id": "7ac4d896.f266b8",\r
2139         "type": "execute",\r
2140         "name": "execute properties",\r
2141         "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
2142         "comments": "",\r
2143         "outputs": 1,\r
2144         "x": 1092,\r
2145         "y": 170,\r
2146         "z": "a52db008.999ba",\r
2147         "wires": [\r
2148             []\r
2149         ]\r
2150     },\r
2151     {\r
2152         "id": "41475eff.deafd",\r
2153         "type": "execute",\r
2154         "name": "execute UUID generator for vpn-binding domainA",\r
2155         "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
2156         "comments": "",\r
2157         "outputs": 1,\r
2158         "x": 2443,\r
2159         "y": 2082,\r
2160         "z": "a52db008.999ba",\r
2161         "wires": [\r
2162             []\r
2163         ]\r
2164     },\r
2165     {\r
2166         "id": "171af565.db9233",\r
2167         "type": "execute",\r
2168         "name": "execute UUID generator for vpn-binding domainB",\r
2169         "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
2170         "comments": "",\r
2171         "outputs": 1,\r
2172         "x": 2441,\r
2173         "y": 2370,\r
2174         "z": "a52db008.999ba",\r
2175         "wires": [\r
2176             []\r
2177         ]\r
2178     },\r
2179     {\r
2180         "id": "a8e7dd16.944608",\r
2181         "type": "for",\r
2182         "name": "for each relationship",\r
2183         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
2184         "comments": "",\r
2185         "outputs": 1,\r
2186         "x": 3614,\r
2187         "y": 1195,\r
2188         "z": "a52db008.999ba",\r
2189         "wires": [\r
2190             [\r
2191                 "58871d7.533a164"\r
2192             ]\r
2193         ]\r
2194     },\r
2195     {\r
2196         "id": "58871d7.533a164",\r
2197         "type": "switchNode",\r
2198         "name": "switch related-to",\r
2199         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
2200         "comments": "",\r
2201         "outputs": 1,\r
2202         "x": 3820,\r
2203         "y": 1195,\r
2204         "z": "a52db008.999ba",\r
2205         "wires": [\r
2206             [\r
2207                 "e6111c32.d5195"\r
2208             ]\r
2209         ]\r
2210     },\r
2211     {\r
2212         "id": "e6111c32.d5195",\r
2213         "type": "outcome",\r
2214         "name": "tunnel-termination-point",\r
2215         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2216         "comments": "",\r
2217         "outputs": 1,\r
2218         "x": 4035.28564453125,\r
2219         "y": 1194.82177734375,\r
2220         "z": "a52db008.999ba",\r
2221         "wires": [\r
2222             [\r
2223                 "4a0a1881.22b0b"\r
2224             ]\r
2225         ]\r
2226     },\r
2227     {\r
2228         "id": "4a0a1881.22b0b",\r
2229         "type": "block",\r
2230         "name": "block : atomic",\r
2231         "xml": "<block atomic=\"true\">",\r
2232         "atomic": "true",\r
2233         "outputs": 1,\r
2234         "x": 4242.1171875,\r
2235         "y": 1195.34033203125,\r
2236         "z": "a52db008.999ba",\r
2237         "wires": [\r
2238             [\r
2239                 "5e5dd832.1a8688",\r
2240                 "54bc0e63.9b6c2",\r
2241                 "21213693.b01ef2"\r
2242             ]\r
2243         ]\r
2244     },\r
2245     {\r
2246         "id": "5e5dd832.1a8688",\r
2247         "type": "set",\r
2248         "name": "set source ttp-id",\r
2249         "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
2250         "comments": "",\r
2251         "x": 4457.1171875,\r
2252         "y": 1157.34033203125,\r
2253         "z": "a52db008.999ba",\r
2254         "wires": []\r
2255     },\r
2256     {\r
2257         "id": "54bc0e63.9b6c2",\r
2258         "type": "get-resource",\r
2259         "name": "get-resource src TTP",\r
2260         "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
2261         "comments": "",\r
2262         "outputs": 1,\r
2263         "x": 4454.1171875,\r
2264         "y": 1196.34033203125,\r
2265         "z": "a52db008.999ba",\r
2266         "wires": [\r
2267             [\r
2268                 "de5f8f91.d806"\r
2269             ]\r
2270         ]\r
2271     },\r
2272     {\r
2273         "id": "21213693.b01ef2",\r
2274         "type": "break",\r
2275         "name": "break",\r
2276         "xml": "<break>\n",\r
2277         "comments": "",\r
2278         "x": 4409.6171875,\r
2279         "y": 1238.34033203125,\r
2280         "z": "a52db008.999ba",\r
2281         "wires": []\r
2282     },\r
2283     {\r
2284         "id": "de5f8f91.d806",\r
2285         "type": "success",\r
2286         "name": "success",\r
2287         "xml": "<outcome value='success'>\n",\r
2288         "comments": "",\r
2289         "outputs": 1,\r
2290         "x": 4634.6171875,\r
2291         "y": 1195.34033203125,\r
2292         "z": "a52db008.999ba",\r
2293         "wires": [\r
2294             [\r
2295                 "f282b1a5.b5514"\r
2296             ]\r
2297         ]\r
2298     },\r
2299     {\r
2300         "id": "f282b1a5.b5514",\r
2301         "type": "block",\r
2302         "name": "block : atomic",\r
2303         "xml": "<block atomic=\"true\">",\r
2304         "atomic": "true",\r
2305         "outputs": 1,\r
2306         "x": 4792.6171875,\r
2307         "y": 1195.34033203125,\r
2308         "z": "a52db008.999ba",\r
2309         "wires": [\r
2310             [\r
2311                 "5cf873ba.a6923c"\r
2312             ]\r
2313         ]\r
2314     },\r
2315     {\r
2316         "id": "5cf873ba.a6923c",\r
2317         "type": "set",\r
2318         "name": "set source tunnel tp ip",\r
2319         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2320         "comments": "",\r
2321         "x": 4999.6171875,\r
2322         "y": 1195.34033203125,\r
2323         "z": "a52db008.999ba",\r
2324         "wires": []\r
2325     },\r
2326     {\r
2327         "id": "34f70001.b13958",\r
2328         "type": "for",\r
2329         "name": "for each relationship",\r
2330         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2331         "comments": "",\r
2332         "outputs": 1,\r
2333         "x": 3611,\r
2334         "y": 2064.0001220703125,\r
2335         "z": "a52db008.999ba",\r
2336         "wires": [\r
2337             [\r
2338                 "a071673c.fc9a28"\r
2339             ]\r
2340         ]\r
2341     },\r
2342     {\r
2343         "id": "a071673c.fc9a28",\r
2344         "type": "switchNode",\r
2345         "name": "switch related-to",\r
2346         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2347         "comments": "",\r
2348         "outputs": 1,\r
2349         "x": 3817,\r
2350         "y": 2064.0001220703125,\r
2351         "z": "a52db008.999ba",\r
2352         "wires": [\r
2353             [\r
2354                 "6adf0421.fc4f54"\r
2355             ]\r
2356         ]\r
2357     },\r
2358     {\r
2359         "id": "6adf0421.fc4f54",\r
2360         "type": "outcome",\r
2361         "name": "tunnel-termination-point",\r
2362         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2363         "comments": "",\r
2364         "outputs": 1,\r
2365         "x": 4032.28564453125,\r
2366         "y": 2063.8218994140625,\r
2367         "z": "a52db008.999ba",\r
2368         "wires": [\r
2369             [\r
2370                 "2bb1f1c3.65f2c6"\r
2371             ]\r
2372         ]\r
2373     },\r
2374     {\r
2375         "id": "2bb1f1c3.65f2c6",\r
2376         "type": "block",\r
2377         "name": "block : atomic",\r
2378         "xml": "<block atomic=\"true\">",\r
2379         "atomic": "true",\r
2380         "outputs": 1,\r
2381         "x": 4239.1171875,\r
2382         "y": 2064.3404541015625,\r
2383         "z": "a52db008.999ba",\r
2384         "wires": [\r
2385             [\r
2386                 "11642463.fe6e2c",\r
2387                 "c588c96b.efcac",\r
2388                 "4df609a.395b578"\r
2389             ]\r
2390         ]\r
2391     },\r
2392     {\r
2393         "id": "11642463.fe6e2c",\r
2394         "type": "set",\r
2395         "name": "set destination ttp-id",\r
2396         "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
2397         "comments": "",\r
2398         "x": 4454.1171875,\r
2399         "y": 2026.3404541015625,\r
2400         "z": "a52db008.999ba",\r
2401         "wires": []\r
2402     },\r
2403     {\r
2404         "id": "c588c96b.efcac",\r
2405         "type": "get-resource",\r
2406         "name": "get-resource src TTP",\r
2407         "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
2408         "comments": "",\r
2409         "outputs": 1,\r
2410         "x": 4451.1171875,\r
2411         "y": 2065.3404541015625,\r
2412         "z": "a52db008.999ba",\r
2413         "wires": [\r
2414             [\r
2415                 "946398a2.3fdd3"\r
2416             ]\r
2417         ]\r
2418     },\r
2419     {\r
2420         "id": "4df609a.395b578",\r
2421         "type": "break",\r
2422         "name": "break",\r
2423         "xml": "<break>\n",\r
2424         "comments": "",\r
2425         "x": 4406.6171875,\r
2426         "y": 2107.3404541015625,\r
2427         "z": "a52db008.999ba",\r
2428         "wires": []\r
2429     },\r
2430     {\r
2431         "id": "946398a2.3fdd3",\r
2432         "type": "success",\r
2433         "name": "success",\r
2434         "xml": "<outcome value='success'>\n",\r
2435         "comments": "",\r
2436         "outputs": 1,\r
2437         "x": 4631.6171875,\r
2438         "y": 2064.3404541015625,\r
2439         "z": "a52db008.999ba",\r
2440         "wires": [\r
2441             [\r
2442                 "4ada9462.92f41c"\r
2443             ]\r
2444         ]\r
2445     },\r
2446     {\r
2447         "id": "4ada9462.92f41c",\r
2448         "type": "block",\r
2449         "name": "block : atomic",\r
2450         "xml": "<block atomic=\"true\">",\r
2451         "atomic": "true",\r
2452         "outputs": 1,\r
2453         "x": 4789.6171875,\r
2454         "y": 2064.3404541015625,\r
2455         "z": "a52db008.999ba",\r
2456         "wires": [\r
2457             [\r
2458                 "85bbe5c.988a398"\r
2459             ]\r
2460         ]\r
2461     },\r
2462     {\r
2463         "id": "85bbe5c.988a398",\r
2464         "type": "set",\r
2465         "name": "set destination tunnel tp ip",\r
2466         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2467         "comments": "",\r
2468         "x": 4996.6171875,\r
2469         "y": 2064.3404541015625,\r
2470         "z": "a52db008.999ba",\r
2471         "wires": []\r
2472     },\r
2473     {\r
2474         "id": "62bd6081.059d7",\r
2475         "type": "set",\r
2476         "name": "set attachment_param domain B",\r
2477         "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='`$maximum-bandwidth /10`' />-->\n<parameter name='bw-odu' value=\"`'0,' + $maximum-bandwidth /1000 *2 /3 `\" />\n<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />\n<!--<parameter name='dst-ttp-id' value='`$destination.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",\r
2478         "comments": "",\r
2479         "x": 2372,\r
2480         "y": 2991,\r
2481         "z": "a52db008.999ba",\r
2482         "wires": []\r
2483     },\r
2484     {\r
2485         "id": "5055791b.75c5d",\r
2486         "type": "get-resource",\r
2487         "name": "get-resource src pnf",\r
2488         "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
2489         "comments": "",\r
2490         "outputs": 1,\r
2491         "x": 3527,\r
2492         "y": 671,\r
2493         "z": "a52db008.999ba",\r
2494         "wires": [\r
2495             [\r
2496                 "b37ffca0.5536d8",\r
2497                 "f29e8ee3.6f68c8",\r
2498                 "12ff2066.526398"\r
2499             ]\r
2500         ]\r
2501     },\r
2502     {\r
2503         "id": "b37ffca0.5536d8",\r
2504         "type": "success",\r
2505         "name": "success",\r
2506         "xml": "<outcome value='success'>\n",\r
2507         "comments": "",\r
2508         "outputs": 1,\r
2509         "x": 3722.5001220703125,\r
2510         "y": 623,\r
2511         "z": "a52db008.999ba",\r
2512         "wires": [\r
2513             [\r
2514                 "8d70b5c4.7732f8"\r
2515             ]\r
2516         ]\r
2517     },\r
2518     {\r
2519         "id": "f29e8ee3.6f68c8",\r
2520         "type": "not-found",\r
2521         "name": "not-found",\r
2522         "xml": "<outcome value='not-found'>\n",\r
2523         "comments": "",\r
2524         "outputs": 1,\r
2525         "x": 3714.5001220703125,\r
2526         "y": 678,\r
2527         "z": "a52db008.999ba",\r
2528         "wires": [\r
2529             [\r
2530                 "aea102ae.c04f58"\r
2531             ]\r
2532         ]\r
2533     },\r
2534     {\r
2535         "id": "12ff2066.526398",\r
2536         "type": "other",\r
2537         "name": "other",\r
2538         "xml": "<outcome value='Other'>\n",\r
2539         "comments": "",\r
2540         "outputs": 1,\r
2541         "x": 3719.5001220703125,\r
2542         "y": 735,\r
2543         "z": "a52db008.999ba",\r
2544         "wires": [\r
2545             [\r
2546                 "d2755963.27f41"\r
2547             ]\r
2548         ]\r
2549     },\r
2550     {\r
2551         "id": "d2755963.27f41",\r
2552         "type": "returnFailure",\r
2553         "name": "return failure",\r
2554         "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
2555         "comments": "",\r
2556         "x": 3871.5001220703125,\r
2557         "y": 736,\r
2558         "z": "a52db008.999ba",\r
2559         "wires": []\r
2560     },\r
2561     {\r
2562         "id": "aea102ae.c04f58",\r
2563         "type": "returnFailure",\r
2564         "name": "return failure",\r
2565         "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
2566         "comments": "",\r
2567         "x": 3882.5001220703125,\r
2568         "y": 681,\r
2569         "z": "a52db008.999ba",\r
2570         "wires": []\r
2571     },\r
2572     {\r
2573         "id": "8d70b5c4.7732f8",\r
2574         "type": "block",\r
2575         "name": "block",\r
2576         "xml": "<block>\n",\r
2577         "atomic": "false",\r
2578         "comments": "",\r
2579         "outputs": 1,\r
2580         "x": 3866.8824462890625,\r
2581         "y": 620.6556701660156,\r
2582         "z": "a52db008.999ba",\r
2583         "wires": [\r
2584             [\r
2585                 "bbf0aa7e.e2119"\r
2586             ]\r
2587         ]\r
2588     },\r
2589     {\r
2590         "id": "f4395a66.200ea",\r
2591         "type": "outcome",\r
2592         "name": "esr-thirdparty-sdnc",\r
2593         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2594         "comments": "",\r
2595         "outputs": 1,\r
2596         "x": 4449,\r
2597         "y": 639,\r
2598         "z": "a52db008.999ba",\r
2599         "wires": [\r
2600             [\r
2601                 "89965e9d.5bf73"\r
2602             ]\r
2603         ]\r
2604     },\r
2605     {\r
2606         "id": "89965e9d.5bf73",\r
2607         "type": "block",\r
2608         "name": "block : atomic",\r
2609         "xml": "<block atomic=\"true\">",\r
2610         "atomic": "true",\r
2611         "outputs": 1,\r
2612         "x": 4626,\r
2613         "y": 631,\r
2614         "z": "a52db008.999ba",\r
2615         "wires": [\r
2616             [\r
2617                 "cf2b04e9.c7ece",\r
2618                 "32eb8024.15dcc8"\r
2619             ]\r
2620         ]\r
2621     },\r
2622     {\r
2623         "id": "bbf0aa7e.e2119",\r
2624         "type": "for",\r
2625         "name": "for each relationship",\r
2626         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2627         "comments": "",\r
2628         "outputs": 1,\r
2629         "x": 4051,\r
2630         "y": 635,\r
2631         "z": "a52db008.999ba",\r
2632         "wires": [\r
2633             [\r
2634                 "5e8a47e5.344b2"\r
2635             ]\r
2636         ]\r
2637     },\r
2638     {\r
2639         "id": "5e8a47e5.344b2",\r
2640         "type": "switchNode",\r
2641         "name": "switch related-to",\r
2642         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2643         "comments": "",\r
2644         "outputs": 1,\r
2645         "x": 4246,\r
2646         "y": 635,\r
2647         "z": "a52db008.999ba",\r
2648         "wires": [\r
2649             [\r
2650                 "f4395a66.200ea",\r
2651                 "cfe936cc.62cbd8"\r
2652             ]\r
2653         ]\r
2654     },\r
2655     {\r
2656         "id": "cf2b04e9.c7ece",\r
2657         "type": "set",\r
2658         "name": "set esr-thirdparty-sdnc domainA id",\r
2659         "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
2660         "comments": "",\r
2661         "x": 4864,\r
2662         "y": 586,\r
2663         "z": "a52db008.999ba",\r
2664         "wires": []\r
2665     },\r
2666     {\r
2667         "id": "73d2c0a6.ca0098",\r
2668         "type": "success",\r
2669         "name": "success",\r
2670         "xml": "<outcome value='success'>\n",\r
2671         "comments": "",\r
2672         "outputs": 1,\r
2673         "x": 5044,\r
2674         "y": 629,\r
2675         "z": "a52db008.999ba",\r
2676         "wires": [\r
2677             [\r
2678                 "c43ff31d.81e548"\r
2679             ]\r
2680         ]\r
2681     },\r
2682     {\r
2683         "id": "2f388561.aeb472",\r
2684         "type": "not-found",\r
2685         "name": "not-found",\r
2686         "xml": "<outcome value='not-found'>\n",\r
2687         "comments": "",\r
2688         "outputs": 1,\r
2689         "x": 5036,\r
2690         "y": 684,\r
2691         "z": "a52db008.999ba",\r
2692         "wires": [\r
2693             [\r
2694                 "d2cf9090.58e4c8"\r
2695             ]\r
2696         ]\r
2697     },\r
2698     {\r
2699         "id": "c9248b9c.994ac",\r
2700         "type": "other",\r
2701         "name": "other",\r
2702         "xml": "<outcome value='Other'>\n",\r
2703         "comments": "",\r
2704         "outputs": 1,\r
2705         "x": 5041,\r
2706         "y": 741,\r
2707         "z": "a52db008.999ba",\r
2708         "wires": [\r
2709             [\r
2710                 "c9c36e85.c10ae8"\r
2711             ]\r
2712         ]\r
2713     },\r
2714     {\r
2715         "id": "c9c36e85.c10ae8",\r
2716         "type": "returnFailure",\r
2717         "name": "return failure",\r
2718         "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
2719         "comments": "",\r
2720         "x": 5193,\r
2721         "y": 742,\r
2722         "z": "a52db008.999ba",\r
2723         "wires": []\r
2724     },\r
2725     {\r
2726         "id": "d2cf9090.58e4c8",\r
2727         "type": "returnFailure",\r
2728         "name": "return failure",\r
2729         "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
2730         "comments": "",\r
2731         "x": 5204,\r
2732         "y": 687,\r
2733         "z": "a52db008.999ba",\r
2734         "wires": []\r
2735     },\r
2736     {\r
2737         "id": "c43ff31d.81e548",\r
2738         "type": "block",\r
2739         "name": "block",\r
2740         "xml": "<block>\n",\r
2741         "atomic": "false",\r
2742         "comments": "",\r
2743         "outputs": 1,\r
2744         "x": 5188.38232421875,\r
2745         "y": 626.6556701660156,\r
2746         "z": "a52db008.999ba",\r
2747         "wires": [\r
2748             [\r
2749                 "2aa1f89d.d99288"\r
2750             ]\r
2751         ]\r
2752     },\r
2753     {\r
2754         "id": "2aa1f89d.d99288",\r
2755         "type": "set",\r
2756         "name": "set controller domainA data",\r
2757         "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
2758         "comments": "",\r
2759         "x": 5403,\r
2760         "y": 623,\r
2761         "z": "a52db008.999ba",\r
2762         "wires": []\r
2763     },\r
2764     {\r
2765         "id": "a9ef3bf.dca6748",\r
2766         "type": "get-resource",\r
2767         "name": "get-resource src pnf",\r
2768         "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
2769         "comments": "",\r
2770         "outputs": 1,\r
2771         "x": 3568,\r
2772         "y": 1512,\r
2773         "z": "a52db008.999ba",\r
2774         "wires": [\r
2775             [\r
2776                 "4ce90a1d.60092c",\r
2777                 "60723c85.f84054",\r
2778                 "343ac8c.8b51638"\r
2779             ]\r
2780         ]\r
2781     },\r
2782     {\r
2783         "id": "4ce90a1d.60092c",\r
2784         "type": "success",\r
2785         "name": "success",\r
2786         "xml": "<outcome value='success'>\n",\r
2787         "comments": "",\r
2788         "outputs": 1,\r
2789         "x": 3763.5001220703125,\r
2790         "y": 1464,\r
2791         "z": "a52db008.999ba",\r
2792         "wires": [\r
2793             [\r
2794                 "ce24a29a.e4d57"\r
2795             ]\r
2796         ]\r
2797     },\r
2798     {\r
2799         "id": "60723c85.f84054",\r
2800         "type": "not-found",\r
2801         "name": "not-found",\r
2802         "xml": "<outcome value='not-found'>\n",\r
2803         "comments": "",\r
2804         "outputs": 1,\r
2805         "x": 3755.5001220703125,\r
2806         "y": 1519,\r
2807         "z": "a52db008.999ba",\r
2808         "wires": [\r
2809             [\r
2810                 "e9f57737.1a79b8"\r
2811             ]\r
2812         ]\r
2813     },\r
2814     {\r
2815         "id": "343ac8c.8b51638",\r
2816         "type": "other",\r
2817         "name": "other",\r
2818         "xml": "<outcome value='Other'>\n",\r
2819         "comments": "",\r
2820         "outputs": 1,\r
2821         "x": 3760.5001220703125,\r
2822         "y": 1576,\r
2823         "z": "a52db008.999ba",\r
2824         "wires": [\r
2825             [\r
2826                 "67449715.5406e8"\r
2827             ]\r
2828         ]\r
2829     },\r
2830     {\r
2831         "id": "67449715.5406e8",\r
2832         "type": "returnFailure",\r
2833         "name": "return failure",\r
2834         "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
2835         "comments": "",\r
2836         "x": 3912.5001220703125,\r
2837         "y": 1577,\r
2838         "z": "a52db008.999ba",\r
2839         "wires": []\r
2840     },\r
2841     {\r
2842         "id": "e9f57737.1a79b8",\r
2843         "type": "returnFailure",\r
2844         "name": "return failure",\r
2845         "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
2846         "comments": "",\r
2847         "x": 3923.5001220703125,\r
2848         "y": 1522,\r
2849         "z": "a52db008.999ba",\r
2850         "wires": []\r
2851     },\r
2852     {\r
2853         "id": "ce24a29a.e4d57",\r
2854         "type": "block",\r
2855         "name": "block",\r
2856         "xml": "<block>\n",\r
2857         "atomic": "false",\r
2858         "comments": "",\r
2859         "outputs": 1,\r
2860         "x": 3907.8824462890625,\r
2861         "y": 1461.6556701660156,\r
2862         "z": "a52db008.999ba",\r
2863         "wires": [\r
2864             [\r
2865                 "ed40a410.dc6fe8"\r
2866             ]\r
2867         ]\r
2868     },\r
2869     {\r
2870         "id": "857c3216.12f558",\r
2871         "type": "outcome",\r
2872         "name": "esr-thirdparty-sdnc",\r
2873         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2874         "comments": "",\r
2875         "outputs": 1,\r
2876         "x": 4490,\r
2877         "y": 1480,\r
2878         "z": "a52db008.999ba",\r
2879         "wires": [\r
2880             [\r
2881                 "6bbf97a7.ebebb8"\r
2882             ]\r
2883         ]\r
2884     },\r
2885     {\r
2886         "id": "6bbf97a7.ebebb8",\r
2887         "type": "block",\r
2888         "name": "block : atomic",\r
2889         "xml": "<block atomic=\"true\">",\r
2890         "atomic": "true",\r
2891         "outputs": 1,\r
2892         "x": 4667,\r
2893         "y": 1472,\r
2894         "z": "a52db008.999ba",\r
2895         "wires": [\r
2896             [\r
2897                 "ee554955.44691",\r
2898                 "1c8432c4.e13b6d"\r
2899             ]\r
2900         ]\r
2901     },\r
2902     {\r
2903         "id": "ed40a410.dc6fe8",\r
2904         "type": "for",\r
2905         "name": "for each relationship",\r
2906         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2907         "comments": "",\r
2908         "outputs": 1,\r
2909         "x": 4092,\r
2910         "y": 1476,\r
2911         "z": "a52db008.999ba",\r
2912         "wires": [\r
2913             [\r
2914                 "70b35483.a830f4"\r
2915             ]\r
2916         ]\r
2917     },\r
2918     {\r
2919         "id": "70b35483.a830f4",\r
2920         "type": "switchNode",\r
2921         "name": "switch related-to",\r
2922         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2923         "comments": "",\r
2924         "outputs": 1,\r
2925         "x": 4287,\r
2926         "y": 1476,\r
2927         "z": "a52db008.999ba",\r
2928         "wires": [\r
2929             [\r
2930                 "857c3216.12f558",\r
2931                 "dc8e8812.fdd648"\r
2932             ]\r
2933         ]\r
2934     },\r
2935     {\r
2936         "id": "1c8432c4.e13b6d",\r
2937         "type": "execute",\r
2938         "name": "get esr-thirdparty-sdnc",\r
2939         "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
2940         "comments": "",\r
2941         "outputs": 1,\r
2942         "x": 4875,\r
2943         "y": 1479,\r
2944         "z": "a52db008.999ba",\r
2945         "wires": [\r
2946             [\r
2947                 "6cc22b96.ba67f4",\r
2948                 "b08dfdd6.0852f8",\r
2949                 "4f7e6e24.1a4"\r
2950             ]\r
2951         ]\r
2952     },\r
2953     {\r
2954         "id": "ee554955.44691",\r
2955         "type": "set",\r
2956         "name": "set esr-thirdparty-sdnc domainB id",\r
2957         "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
2958         "comments": "",\r
2959         "x": 4905,\r
2960         "y": 1427,\r
2961         "z": "a52db008.999ba",\r
2962         "wires": []\r
2963     },\r
2964     {\r
2965         "id": "6cc22b96.ba67f4",\r
2966         "type": "success",\r
2967         "name": "success",\r
2968         "xml": "<outcome value='success'>\n",\r
2969         "comments": "",\r
2970         "outputs": 1,\r
2971         "x": 5085,\r
2972         "y": 1470,\r
2973         "z": "a52db008.999ba",\r
2974         "wires": [\r
2975             [\r
2976                 "19f4c2b.fd2d63d"\r
2977             ]\r
2978         ]\r
2979     },\r
2980     {\r
2981         "id": "b08dfdd6.0852f8",\r
2982         "type": "not-found",\r
2983         "name": "not-found",\r
2984         "xml": "<outcome value='not-found'>\n",\r
2985         "comments": "",\r
2986         "outputs": 1,\r
2987         "x": 5077,\r
2988         "y": 1525,\r
2989         "z": "a52db008.999ba",\r
2990         "wires": [\r
2991             [\r
2992                 "4d7c2f7b.855e48"\r
2993             ]\r
2994         ]\r
2995     },\r
2996     {\r
2997         "id": "4f7e6e24.1a4",\r
2998         "type": "other",\r
2999         "name": "other",\r
3000         "xml": "<outcome value='Other'>\n",\r
3001         "comments": "",\r
3002         "outputs": 1,\r
3003         "x": 5082,\r
3004         "y": 1582,\r
3005         "z": "a52db008.999ba",\r
3006         "wires": [\r
3007             [\r
3008                 "92c87883.16eab"\r
3009             ]\r
3010         ]\r
3011     },\r
3012     {\r
3013         "id": "92c87883.16eab",\r
3014         "type": "returnFailure",\r
3015         "name": "return failure",\r
3016         "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
3017         "comments": "",\r
3018         "x": 5234,\r
3019         "y": 1583,\r
3020         "z": "a52db008.999ba",\r
3021         "wires": []\r
3022     },\r
3023     {\r
3024         "id": "4d7c2f7b.855e48",\r
3025         "type": "returnFailure",\r
3026         "name": "return failure",\r
3027         "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
3028         "comments": "",\r
3029         "x": 5245,\r
3030         "y": 1528,\r
3031         "z": "a52db008.999ba",\r
3032         "wires": []\r
3033     },\r
3034     {\r
3035         "id": "19f4c2b.fd2d63d",\r
3036         "type": "block",\r
3037         "name": "block",\r
3038         "xml": "<block>\n",\r
3039         "atomic": "false",\r
3040         "comments": "",\r
3041         "outputs": 1,\r
3042         "x": 5229.38232421875,\r
3043         "y": 1467.6556701660156,\r
3044         "z": "a52db008.999ba",\r
3045         "wires": [\r
3046             [\r
3047                 "f5fd6d7b.ccf568"\r
3048             ]\r
3049         ]\r
3050     },\r
3051     {\r
3052         "id": "f5fd6d7b.ccf568",\r
3053         "type": "set",\r
3054         "name": "set controller domainB data",\r
3055         "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
3056         "comments": "",\r
3057         "x": 5444,\r
3058         "y": 1464,\r
3059         "z": "a52db008.999ba",\r
3060         "wires": []\r
3061     },\r
3062     {\r
3063         "id": "fdbb72c5.61c228",\r
3064         "type": "execute",\r
3065         "name": "execute RestApiCallNode slice creation domainA",\r
3066         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-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
3067         "comments": "",\r
3068         "outputs": 1,\r
3069         "x": 2423,\r
3070         "y": 2674,\r
3071         "z": "a52db008.999ba",\r
3072         "wires": [\r
3073             [\r
3074                 "b62b791e.5db38",\r
3075                 "47c9af20.002648"\r
3076             ]\r
3077         ]\r
3078     },\r
3079     {\r
3080         "id": "47c9af20.002648",\r
3081         "type": "failure",\r
3082         "name": "failure",\r
3083         "xml": "<outcome value='failure'>\n",\r
3084         "comments": "",\r
3085         "outputs": 1,\r
3086         "x": 2689,\r
3087         "y": 2654,\r
3088         "z": "a52db008.999ba",\r
3089         "wires": [\r
3090             [\r
3091                 "e173211c.50ca1"\r
3092             ]\r
3093         ]\r
3094     },\r
3095     {\r
3096         "id": "b62b791e.5db38",\r
3097         "type": "success",\r
3098         "name": "success",\r
3099         "xml": "<outcome value='success'>\n",\r
3100         "comments": "",\r
3101         "outputs": 1,\r
3102         "x": 2690.000213623047,\r
3103         "y": 2704.99990940094,\r
3104         "z": "a52db008.999ba",\r
3105         "wires": [\r
3106             [\r
3107                 "9a481111.191d4"\r
3108             ]\r
3109         ]\r
3110     },\r
3111     {\r
3112         "id": "e173211c.50ca1",\r
3113         "type": "returnFailure",\r
3114         "name": "return failure",\r
3115         "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 OOF api\" />\n",\r
3116         "comments": "",\r
3117         "x": 2829.0002479553223,\r
3118         "y": 2654.0000009536743,\r
3119         "z": "a52db008.999ba",\r
3120         "wires": []\r
3121     },\r
3122     {\r
3123         "id": "9a481111.191d4",\r
3124         "type": "block",\r
3125         "name": "block",\r
3126         "xml": "<block>\n",\r
3127         "atomic": "false",\r
3128         "comments": "",\r
3129         "outputs": 1,\r
3130         "x": 2835.02725982666,\r
3131         "y": 2702.745394706726,\r
3132         "z": "a52db008.999ba",\r
3133         "wires": [\r
3134             []\r
3135         ]\r
3136     },\r
3137     {\r
3138         "id": "3f4df906.b67d7e",\r
3139         "type": "execute",\r
3140         "name": "execute RestApiCallNode slice creation domainB",\r
3141         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-slice-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
3142         "comments": "",\r
3143         "outputs": 1,\r
3144         "x": 2423,\r
3145         "y": 3046,\r
3146         "z": "a52db008.999ba",\r
3147         "wires": [\r
3148             [\r
3149                 "e8fdf08e.e8b0f8",\r
3150                 "a8718b8a.f404c8"\r
3151             ]\r
3152         ]\r
3153     },\r
3154     {\r
3155         "id": "a8718b8a.f404c8",\r
3156         "type": "failure",\r
3157         "name": "failure",\r
3158         "xml": "<outcome value='failure'>\n",\r
3159         "comments": "",\r
3160         "outputs": 1,\r
3161         "x": 2689,\r
3162         "y": 3026,\r
3163         "z": "a52db008.999ba",\r
3164         "wires": [\r
3165             [\r
3166                 "fcecbd56.8e1ac"\r
3167             ]\r
3168         ]\r
3169     },\r
3170     {\r
3171         "id": "e8fdf08e.e8b0f8",\r
3172         "type": "success",\r
3173         "name": "success",\r
3174         "xml": "<outcome value='success'>\n",\r
3175         "comments": "",\r
3176         "outputs": 1,\r
3177         "x": 2690.000213623047,\r
3178         "y": 3076.99990940094,\r
3179         "z": "a52db008.999ba",\r
3180         "wires": [\r
3181             [\r
3182                 "ccb1984d.b4313"\r
3183             ]\r
3184         ]\r
3185     },\r
3186     {\r
3187         "id": "fcecbd56.8e1ac",\r
3188         "type": "returnFailure",\r
3189         "name": "return failure",\r
3190         "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 OOF api\" />\n",\r
3191         "comments": "",\r
3192         "x": 2829.0002479553223,\r
3193         "y": 3026.0000009536743,\r
3194         "z": "a52db008.999ba",\r
3195         "wires": []\r
3196     },\r
3197     {\r
3198         "id": "ccb1984d.b4313",\r
3199         "type": "block",\r
3200         "name": "block",\r
3201         "xml": "<block>\n",\r
3202         "atomic": "false",\r
3203         "comments": "",\r
3204         "outputs": 1,\r
3205         "x": 2835.02725982666,\r
3206         "y": 3074.745394706726,\r
3207         "z": "a52db008.999ba",\r
3208         "wires": [\r
3209             []\r
3210         ]\r
3211     },\r
3212     {\r
3213         "id": "b6e0228b.bc6398",\r
3214         "type": "block",\r
3215         "name": "block : atomic",\r
3216         "xml": "<block atomic=\"true\">",\r
3217         "atomic": "true",\r
3218         "outputs": 1,\r
3219         "x": 2528,\r
3220         "y": 404,\r
3221         "z": "a52db008.999ba",\r
3222         "wires": [\r
3223             [\r
3224                 "65e46dcd.9c5144",\r
3225                 "bb6c8a2e.a61878"\r
3226             ]\r
3227         ]\r
3228     },\r
3229     {\r
3230         "id": "bb6c8a2e.a61878",\r
3231         "type": "for",\r
3232         "name": "for each allotted-resource relationship",\r
3233         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
3234         "comments": "",\r
3235         "outputs": 1,\r
3236         "x": 2809,\r
3237         "y": 360,\r
3238         "z": "a52db008.999ba",\r
3239         "wires": [\r
3240             [\r
3241                 "475f2872.5fafd"\r
3242             ]\r
3243         ]\r
3244     },\r
3245     {\r
3246         "id": "475f2872.5fafd",\r
3247         "type": "switchNode",\r
3248         "name": "switch related-to",\r
3249         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
3250         "comments": "",\r
3251         "outputs": 1,\r
3252         "x": 3071,\r
3253         "y": 360,\r
3254         "z": "a52db008.999ba",\r
3255         "wires": [\r
3256             [\r
3257                 "da58235b.ecd51"\r
3258             ]\r
3259         ]\r
3260     },\r
3261     {\r
3262         "id": "cfe936cc.62cbd8",\r
3263         "type": "outcome",\r
3264         "name": "network-resource",\r
3265         "xml": "<outcome value='network-resource'>",\r
3266         "comments": "",\r
3267         "outputs": 1,\r
3268         "x": 4452,\r
3269         "y": 713,\r
3270         "z": "a52db008.999ba",\r
3271         "wires": [\r
3272             [\r
3273                 "29038cb1.b59084"\r
3274             ]\r
3275         ]\r
3276     },\r
3277     {\r
3278         "id": "29038cb1.b59084",\r
3279         "type": "block",\r
3280         "name": "block : atomic",\r
3281         "xml": "<block atomic=\"true\">",\r
3282         "atomic": "true",\r
3283         "outputs": 1,\r
3284         "x": 4629,\r
3285         "y": 705,\r
3286         "z": "a52db008.999ba",\r
3287         "wires": [\r
3288             [\r
3289                 "c25692cd.684ce8"\r
3290             ]\r
3291         ]\r
3292     },\r
3293     {\r
3294         "id": "c25692cd.684ce8",\r
3295         "type": "set",\r
3296         "name": "set domainA ethernet layer network-id",\r
3297         "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
3298         "comments": "",\r
3299         "x": 4864,\r
3300         "y": 829,\r
3301         "z": "a52db008.999ba",\r
3302         "wires": []\r
3303     },\r
3304     {\r
3305         "id": "68f808b3.66b5",\r
3306         "type": "set",\r
3307         "name": "set domainB ethernet layer network-id",\r
3308         "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
3309         "comments": "",\r
3310         "x": 4904,\r
3311         "y": 1669,\r
3312         "z": "a52db008.999ba",\r
3313         "wires": []\r
3314     },\r
3315     {\r
3316         "id": "ad76d9b4.88b908",\r
3317         "type": "block",\r
3318         "name": "block : atomic",\r
3319         "xml": "<block atomic=\"true\">",\r
3320         "atomic": "true",\r
3321         "outputs": 1,\r
3322         "x": 4669,\r
3323         "y": 1545,\r
3324         "z": "a52db008.999ba",\r
3325         "wires": [\r
3326             [\r
3327                 "68f808b3.66b5"\r
3328             ]\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "dc8e8812.fdd648",\r
3333         "type": "outcome",\r
3334         "name": "network-resource",\r
3335         "xml": "<outcome value='network-resource'>",\r
3336         "comments": "",\r
3337         "outputs": 1,\r
3338         "x": 4492,\r
3339         "y": 1553,\r
3340         "z": "a52db008.999ba",\r
3341         "wires": [\r
3342             [\r
3343                 "ad76d9b4.88b908"\r
3344             ]\r
3345         ]\r
3346     },\r
3347     {\r
3348         "id": "fad5035b.7ee3a8",\r
3349         "type": "execute",\r
3350         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3351         "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/ietf-optical-slice:tp-slice-id' `\" />\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
3352         "comments": "",\r
3353         "outputs": 1,\r
3354         "x": 2425,\r
3355         "y": 2807,\r
3356         "z": "a52db008.999ba",\r
3357         "wires": [\r
3358             [\r
3359                 "bc31fb8e.e87f08",\r
3360                 "8c5d2dc9.bdb42"\r
3361             ]\r
3362         ]\r
3363     },\r
3364     {\r
3365         "id": "8c5d2dc9.bdb42",\r
3366         "type": "failure",\r
3367         "name": "failure",\r
3368         "xml": "<outcome value='failure'>\n",\r
3369         "comments": "",\r
3370         "outputs": 1,\r
3371         "x": 2691,\r
3372         "y": 2787,\r
3373         "z": "a52db008.999ba",\r
3374         "wires": [\r
3375             [\r
3376                 "536d6d82.f4f124"\r
3377             ]\r
3378         ]\r
3379     },\r
3380     {\r
3381         "id": "bc31fb8e.e87f08",\r
3382         "type": "success",\r
3383         "name": "success",\r
3384         "xml": "<outcome value='success'>\n",\r
3385         "comments": "",\r
3386         "outputs": 1,\r
3387         "x": 2692.000213623047,\r
3388         "y": 2837.99990940094,\r
3389         "z": "a52db008.999ba",\r
3390         "wires": [\r
3391             [\r
3392                 "509489f1.58fe18"\r
3393             ]\r
3394         ]\r
3395     },\r
3396     {\r
3397         "id": "536d6d82.f4f124",\r
3398         "type": "returnFailure",\r
3399         "name": "return failure",\r
3400         "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 OOF api\" />\n",\r
3401         "comments": "",\r
3402         "x": 2831.0002479553223,\r
3403         "y": 2787.0000009536743,\r
3404         "z": "a52db008.999ba",\r
3405         "wires": []\r
3406     },\r
3407     {\r
3408         "id": "509489f1.58fe18",\r
3409         "type": "block",\r
3410         "name": "block",\r
3411         "xml": "<block>\n",\r
3412         "atomic": "false",\r
3413         "comments": "",\r
3414         "outputs": 1,\r
3415         "x": 2837.02725982666,\r
3416         "y": 2835.745394706726,\r
3417         "z": "a52db008.999ba",\r
3418         "wires": [\r
3419             []\r
3420         ]\r
3421     },\r
3422     {\r
3423         "id": "d037b0c3.f093c",\r
3424         "type": "execute",\r
3425         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3426         "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/ietf-optical-slice:tp-slice-id' `\" />\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
3427         "comments": "",\r
3428         "outputs": 1,\r
3429         "x": 2425,\r
3430         "y": 3173,\r
3431         "z": "a52db008.999ba",\r
3432         "wires": [\r
3433             [\r
3434                 "8c8a801.d7272",\r
3435                 "b835a972.f48b7"\r
3436             ]\r
3437         ]\r
3438     },\r
3439     {\r
3440         "id": "b835a972.f48b7",\r
3441         "type": "failure",\r
3442         "name": "failure",\r
3443         "xml": "<outcome value='failure'>\n",\r
3444         "comments": "",\r
3445         "outputs": 1,\r
3446         "x": 2691,\r
3447         "y": 3153,\r
3448         "z": "a52db008.999ba",\r
3449         "wires": [\r
3450             [\r
3451                 "88a6a85e.9ed23"\r
3452             ]\r
3453         ]\r
3454     },\r
3455     {\r
3456         "id": "8c8a801.d7272",\r
3457         "type": "success",\r
3458         "name": "success",\r
3459         "xml": "<outcome value='success'>\n",\r
3460         "comments": "",\r
3461         "outputs": 1,\r
3462         "x": 2692.000213623047,\r
3463         "y": 3203.99990940094,\r
3464         "z": "a52db008.999ba",\r
3465         "wires": [\r
3466             [\r
3467                 "7de5bd62.f4f62c"\r
3468             ]\r
3469         ]\r
3470     },\r
3471     {\r
3472         "id": "88a6a85e.9ed23",\r
3473         "type": "returnFailure",\r
3474         "name": "return failure",\r
3475         "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 OOF api\" />\n",\r
3476         "comments": "",\r
3477         "x": 2831.0002479553223,\r
3478         "y": 3153.0000009536743,\r
3479         "z": "a52db008.999ba",\r
3480         "wires": []\r
3481     },\r
3482     {\r
3483         "id": "7de5bd62.f4f62c",\r
3484         "type": "block",\r
3485         "name": "block",\r
3486         "xml": "<block>\n",\r
3487         "atomic": "false",\r
3488         "comments": "",\r
3489         "outputs": 1,\r
3490         "x": 2837.02725982666,\r
3491         "y": 3201.745394706726,\r
3492         "z": "a52db008.999ba",\r
3493         "wires": [\r
3494             []\r
3495         ]\r
3496     }\r
3497 ]