- Changing POST operation to PATCH for OTN Tunnel creation.
[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": "8af466c4.459d38",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 123,\r
8         "y": 94,\r
9         "z": "4d37a11.42c136",\r
10         "wires": [\r
11             [\r
12                 "4f44bc11.1718bc"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "4f44bc11.1718bc",\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": 407.2856903076172,\r
26         "y": 155.23810863494873,\r
27         "z": "4d37a11.42c136",\r
28         "wires": [\r
29             [\r
30                 "25a99bf3.257e24"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "25a99bf3.257e24",\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": 413.42860412597656,\r
42         "y": 240.00003051757812,\r
43         "z": "4d37a11.42c136",\r
44         "wires": [\r
45             [\r
46                 "e0aece26.83282"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "e0aece26.83282",\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": 783.238037109375,\r
58         "y": 264.66668701171875,\r
59         "z": "4d37a11.42c136",\r
60         "wires": [\r
61             [\r
62                 "19dfd83.33483a8",\r
63                 "1050151b.02ec53",\r
64                 "2f5068f1.5086e8"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "19dfd83.33483a8",\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": 1084.571533203125,\r
75         "y": 535.5969848632812,\r
76         "z": "4d37a11.42c136",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "1050151b.02ec53",\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": 1106,\r
87         "y": 238,\r
88         "z": "4d37a11.42c136",\r
89         "wires": [\r
90             [\r
91                 "50a47283.15fbe4",\r
92                 "b5bb871c.db338",\r
93                 "a61c0811.039808"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "50a47283.15fbe4",\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": 1331,\r
105         "y": 96,\r
106         "z": "4d37a11.42c136",\r
107         "wires": [\r
108             [\r
109                 "80a63fa0.68596"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "b5bb871c.db338",\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": 1340.490966796875,\r
121         "y": 138.57403564453125,\r
122         "z": "4d37a11.42c136",\r
123         "wires": [\r
124             [\r
125                 "d32b21e7.8cada8"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "a61c0811.039808",\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": 1329,\r
137         "y": 185,\r
138         "z": "4d37a11.42c136",\r
139         "wires": [\r
140             [\r
141                 "229167e8.df6688"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "80a63fa0.68596",\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": 1570,\r
153         "y": 93,\r
154         "z": "4d37a11.42c136",\r
155         "wires": [\r
156             [\r
157                 "d44d65ef.318f48",\r
158                 "e1082721.453ff"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "d32b21e7.8cada8",\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": 1494.0623779296875,\r
169         "y": 141.85977172851562,\r
170         "z": "4d37a11.42c136",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "229167e8.df6688",\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": 1498,\r
180         "y": 186,\r
181         "z": "4d37a11.42c136",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "a49b8769.572b48",\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": 1969,\r
191         "y": 160,\r
192         "z": "4d37a11.42c136",\r
193         "wires": []\r
194     },\r
195     {\r
196         "id": "d44d65ef.318f48",\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": 1783,\r
203         "y": 117,\r
204         "z": "4d37a11.42c136",\r
205         "wires": [\r
206             [\r
207                 "7234fca3.e71404"\r
208             ]\r
209         ]\r
210     },\r
211     {\r
212         "id": "e1082721.453ff",\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": 1785,\r
219         "y": 57,\r
220         "z": "4d37a11.42c136",\r
221         "wires": [\r
222             []\r
223         ]\r
224     },\r
225     {\r
226         "id": "e3f19b5a.145ff8",\r
227         "type": "comment",\r
228         "name": "new for TransportSlicing",\r
229         "info": "",\r
230         "comments": "",\r
231         "x": 1085,\r
232         "y": 126,\r
233         "z": "4d37a11.42c136",\r
234         "wires": []\r
235     },\r
236     {\r
237         "id": "7234fca3.e71404",\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": 1768,\r
245         "y": 205,\r
246         "z": "4d37a11.42c136",\r
247         "wires": [\r
248             [\r
249                 "a49b8769.572b48",\r
250                 "bd4dde9a.1bdbc8"\r
251             ]\r
252         ]\r
253     },\r
254     {\r
255         "id": "fcc70311.f003c",\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": 2330,\r
261         "y": 803,\r
262         "z": "4d37a11.42c136",\r
263         "wires": []\r
264     },\r
265     {\r
266         "id": "409bbb6d.55b47c",\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": 2332,\r
272         "y": 854,\r
273         "z": "4d37a11.42c136",\r
274         "wires": []\r
275     },\r
276     {\r
277         "id": "bd4dde9a.1bdbc8",\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": 1972,\r
284         "y": 235,\r
285         "z": "4d37a11.42c136",\r
286         "wires": [\r
287             [\r
288                 "4f2f09b0.4a4f9",\r
289                 "a509e8e5.13e7a8",\r
290                 "2d1dc418.c3457c"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "4f2f09b0.4a4f9",\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": 2188,\r
302         "y": 302,\r
303         "z": "4d37a11.42c136",\r
304         "wires": [\r
305             [\r
306                 "2c4c53ed.c92a04"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "a509e8e5.13e7a8",\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": 2188.490966796875,\r
318         "y": 201.573974609375,\r
319         "z": "4d37a11.42c136",\r
320         "wires": [\r
321             [\r
322                 "b0eb4825.a76068"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "2d1dc418.c3457c",\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": 2184,\r
334         "y": 251,\r
335         "z": "4d37a11.42c136",\r
336         "wires": [\r
337             [\r
338                 "8d5abfeb.01e9e"\r
339             ]\r
340         ]\r
341     },\r
342     {\r
343         "id": "b0eb4825.a76068",\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": 2366.0625,\r
349         "y": 201.8597412109375,\r
350         "z": "4d37a11.42c136",\r
351         "wires": []\r
352     },\r
353     {\r
354         "id": "8d5abfeb.01e9e",\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": 2366,\r
360         "y": 251,\r
361         "z": "4d37a11.42c136",\r
362         "wires": []\r
363     },\r
364     {\r
365         "id": "abb2414c.5ad6c8",\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": 1707,\r
372         "y": 724,\r
373         "z": "4d37a11.42c136",\r
374         "wires": [\r
375             [\r
376                 "adf5b844.beeba",\r
377                 "12473ca6.c43deb",\r
378                 "1c108294.607cad"\r
379             ]\r
380         ]\r
381     },\r
382     {\r
383         "id": "12473ca6.c43deb",\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": 1998.490966796875,\r
390         "y": 702.573974609375,\r
391         "z": "4d37a11.42c136",\r
392         "wires": [\r
393             [\r
394                 "bde422ea.a4cc28"\r
395             ]\r
396         ]\r
397     },\r
398     {\r
399         "id": "1c108294.607cad",\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": 1987,\r
406         "y": 747,\r
407         "z": "4d37a11.42c136",\r
408         "wires": [\r
409             [\r
410                 "da8d3db8.78e6c"\r
411             ]\r
412         ]\r
413     },\r
414     {\r
415         "id": "bde422ea.a4cc28",\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": 2147.0625,\r
421         "y": 702.8597412109375,\r
422         "z": "4d37a11.42c136",\r
423         "wires": []\r
424     },\r
425     {\r
426         "id": "da8d3db8.78e6c",\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": 2146,\r
432         "y": 747,\r
433         "z": "4d37a11.42c136",\r
434         "wires": []\r
435     },\r
436     {\r
437         "id": "adf5b844.beeba",\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": 1994,\r
444         "y": 826,\r
445         "z": "4d37a11.42c136",\r
446         "wires": [\r
447             [\r
448                 "b6fe1d93.64f5d8"\r
449             ]\r
450         ]\r
451     },\r
452     {\r
453         "id": "b6fe1d93.64f5d8",\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": 2133,\r
461         "y": 826,\r
462         "z": "4d37a11.42c136",\r
463         "wires": [\r
464             [\r
465                 "fcc70311.f003c",\r
466                 "409bbb6d.55b47c",\r
467                 "34d7360f.96bb2a",\r
468                 "48146421.80a074",\r
469                 "31bc0e97.d1b352",\r
470                 "c57c6aeb.0d49c",\r
471                 "5ce97afb.25ecd4",\r
472                 "1f2f2fca.dd946",\r
473                 "fc0327f0.f229c8",\r
474                 "7a9db702.f0e1b",\r
475                 "1f17f018.71ce48",\r
476                 "75da5f28.16fb78",\r
477                 "15d01a88.67da65",\r
478                 "8335f76.9af8388",\r
479                 "47a3a765.16faa",\r
480                 "5651ec55.50184c",\r
481                 "edb297b0.c9f328",\r
482                 "91eba2f3.844de"\r
483             ]\r
484         ]\r
485     },\r
486     {\r
487         "id": "34d7360f.96bb2a",\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": 2362,\r
494         "y": 907,\r
495         "z": "4d37a11.42c136",\r
496         "wires": [\r
497             [\r
498                 "1b983b4f.2c744d",\r
499                 "83f9f068.59488",\r
500                 "b0f14e34.bcfcc8"\r
501             ]\r
502         ]\r
503     },\r
504     {\r
505         "id": "48146421.80a074",\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": 2341,\r
512         "y": 1508.9998779296875,\r
513         "z": "4d37a11.42c136",\r
514         "wires": [\r
515             [\r
516                 "191b0cc5.853723",\r
517                 "bdfa4737.7997e",\r
518                 "3dcbfde4.8fdb42"\r
519             ]\r
520         ]\r
521     },\r
522     {\r
523         "id": "1b983b4f.2c744d",\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": 2563,\r
530         "y": 791,\r
531         "z": "4d37a11.42c136",\r
532         "wires": [\r
533             [\r
534                 "5a65addc.f9d584"\r
535             ]\r
536         ]\r
537     },\r
538     {\r
539         "id": "83f9f068.59488",\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": 2558.509033203125,\r
546         "y": 840.426025390625,\r
547         "z": "4d37a11.42c136",\r
548         "wires": [\r
549             [\r
550                 "60568789.b01d3"\r
551             ]\r
552         ]\r
553     },\r
554     {\r
555         "id": "b0f14e34.bcfcc8",\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": 2562.509033203125,\r
562         "y": 891.426025390625,\r
563         "z": "4d37a11.42c136",\r
564         "wires": [\r
565             [\r
566                 "4d860946.d83b4"\r
567             ]\r
568         ]\r
569     },\r
570     {\r
571         "id": "5a65addc.f9d584",\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": 2711.571533203125,\r
577         "y": 790.2857666015625,\r
578         "z": "4d37a11.42c136",\r
579         "wires": []\r
580     },\r
581     {\r
582         "id": "60568789.b01d3",\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": 2701.509033203125,\r
588         "y": 840.426025390625,\r
589         "z": "4d37a11.42c136",\r
590         "wires": []\r
591     },\r
592     {\r
593         "id": "191b0cc5.853723",\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": 2564,\r
600         "y": 1478.9998779296875,\r
601         "z": "4d37a11.42c136",\r
602         "wires": [\r
603             [\r
604                 "63b24300.9bd254"\r
605             ]\r
606         ]\r
607     },\r
608     {\r
609         "id": "bdfa4737.7997e",\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": 2559.509033203125,\r
616         "y": 1528.4259033203125,\r
617         "z": "4d37a11.42c136",\r
618         "wires": [\r
619             [\r
620                 "f56e5adb.9f7af8"\r
621             ]\r
622         ]\r
623     },\r
624     {\r
625         "id": "3dcbfde4.8fdb42",\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": 2563.509033203125,\r
632         "y": 1579.4259033203125,\r
633         "z": "4d37a11.42c136",\r
634         "wires": [\r
635             [\r
636                 "b596324f.8c351"\r
637             ]\r
638         ]\r
639     },\r
640     {\r
641         "id": "63b24300.9bd254",\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": 2712.571533203125,\r
647         "y": 1478.28564453125,\r
648         "z": "4d37a11.42c136",\r
649         "wires": []\r
650     },\r
651     {\r
652         "id": "f56e5adb.9f7af8",\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": 2702.509033203125,\r
658         "y": 1528.4259033203125,\r
659         "z": "4d37a11.42c136",\r
660         "wires": []\r
661     },\r
662     {\r
663         "id": "f08611d.e85e5f",\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": 3376.66650390625,\r
670         "y": 935,\r
671         "z": "4d37a11.42c136",\r
672         "wires": [\r
673             [\r
674                 "bcee177.eb94168",\r
675                 "f75d67.7cccfa98",\r
676                 "a4c22219.803cd8",\r
677                 "d6e02ca6.c9a8c8",\r
678                 "5b5222c9.d7a36c"\r
679             ]\r
680         ]\r
681     },\r
682     {\r
683         "id": "8b31e4a0.a10748",\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": 3204,\r
690         "y": 936,\r
691         "z": "4d37a11.42c136",\r
692         "wires": [\r
693             [\r
694                 "f08611d.e85e5f"\r
695             ]\r
696         ]\r
697     },\r
698     {\r
699         "id": "c9553d7.4a532c",\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": 3213.490966796875,\r
706         "y": 978.5740356445312,\r
707         "z": "4d37a11.42c136",\r
708         "wires": [\r
709             [\r
710                 "b569fb01.0907f8"\r
711             ]\r
712         ]\r
713     },\r
714     {\r
715         "id": "cf1d45bd.26226",\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": 3202,\r
722         "y": 1025,\r
723         "z": "4d37a11.42c136",\r
724         "wires": [\r
725             [\r
726                 "8595bfe0.610eb"\r
727             ]\r
728         ]\r
729     },\r
730     {\r
731         "id": "b569fb01.0907f8",\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": 3367.0623779296875,\r
737         "y": 981.8597717285156,\r
738         "z": "4d37a11.42c136",\r
739         "wires": []\r
740     },\r
741     {\r
742         "id": "8595bfe0.610eb",\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": 3371,\r
748         "y": 1026,\r
749         "z": "4d37a11.42c136",\r
750         "wires": []\r
751     },\r
752     {\r
753         "id": "4d860946.d83b4",\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": 2724,\r
760         "y": 893,\r
761         "z": "4d37a11.42c136",\r
762         "wires": [\r
763             [\r
764                 "de6bae96.a20288",\r
765                 "2546bd9f.525272"\r
766             ]\r
767         ]\r
768     },\r
769     {\r
770         "id": "b596324f.8c351",\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": 2714,\r
777         "y": 1580.9998779296875,\r
778         "z": "4d37a11.42c136",\r
779         "wires": [\r
780             [\r
781                 "cc046399.813d8",\r
782                 "94119745.c4be9"\r
783             ]\r
784         ]\r
785     },\r
786     {\r
787         "id": "d0ee2422.3da6b8",\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": 3344.66650390625,\r
794         "y": 1771,\r
795         "z": "4d37a11.42c136",\r
796         "wires": [\r
797             [\r
798                 "1c0836ef.f83329",\r
799                 "4c626db2.041e5c",\r
800                 "a8a1220c.849508",\r
801                 "46fb3252.5c32c4",\r
802                 "3da30ce3.e252e4"\r
803             ]\r
804         ]\r
805     },\r
806     {\r
807         "id": "33a31a8c.e3b546",\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": 3172,\r
814         "y": 1772,\r
815         "z": "4d37a11.42c136",\r
816         "wires": [\r
817             [\r
818                 "d0ee2422.3da6b8"\r
819             ]\r
820         ]\r
821     },\r
822     {\r
823         "id": "333e39a9.5e6146",\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": 3181.490966796875,\r
830         "y": 1814.5740356445312,\r
831         "z": "4d37a11.42c136",\r
832         "wires": [\r
833             [\r
834                 "c1fc954e.de2348"\r
835             ]\r
836         ]\r
837     },\r
838     {\r
839         "id": "18c9eff6.77ede8",\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": 3170,\r
846         "y": 1861,\r
847         "z": "4d37a11.42c136",\r
848         "wires": [\r
849             [\r
850                 "a54283a5.d344c"\r
851             ]\r
852         ]\r
853     },\r
854     {\r
855         "id": "c1fc954e.de2348",\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": 3335.0623779296875,\r
861         "y": 1817.8597717285156,\r
862         "z": "4d37a11.42c136",\r
863         "wires": []\r
864     },\r
865     {\r
866         "id": "a54283a5.d344c",\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": 3339,\r
872         "y": 1862,\r
873         "z": "4d37a11.42c136",\r
874         "wires": []\r
875     },\r
876     {\r
877         "id": "bcee177.eb94168",\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": 3641,\r
884         "y": 919,\r
885         "z": "4d37a11.42c136",\r
886         "wires": [\r
887             [\r
888                 "60be6e60.f9ecc8",\r
889                 "ba14138e.5a08c8"\r
890             ]\r
891         ]\r
892     },\r
893     {\r
894         "id": "ba14138e.5a08c8",\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": 3864,\r
901         "y": 874,\r
902         "z": "4d37a11.42c136",\r
903         "wires": [\r
904             [\r
905                 "9427c16f.fe3b38"\r
906             ]\r
907         ]\r
908     },\r
909     {\r
910         "id": "60be6e60.f9ecc8",\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": 3866,\r
917         "y": 938,\r
918         "z": "4d37a11.42c136",\r
919         "wires": [\r
920             [\r
921                 "8f5282b4.e9d138"\r
922             ]\r
923         ]\r
924     },\r
925     {\r
926         "id": "9e9c487d.182678",\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": 4199,\r
932         "y": 832,\r
933         "z": "4d37a11.42c136",\r
934         "wires": []\r
935     },\r
936     {\r
937         "id": "8f5282b4.e9d138",\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": 4028,\r
943         "y": 934,\r
944         "z": "4d37a11.42c136",\r
945         "wires": []\r
946     },\r
947     {\r
948         "id": "9427c16f.fe3b38",\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": 4029,\r
955         "y": 871,\r
956         "z": "4d37a11.42c136",\r
957         "wires": [\r
958             [\r
959                 "7be29fde.94965",\r
960                 "9e9c487d.182678"\r
961             ]\r
962         ]\r
963     },\r
964     {\r
965         "id": "7be29fde.94965",\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": 4200,\r
971         "y": 937,\r
972         "z": "4d37a11.42c136",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "305634db.acff34",\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": 4201,\r
982         "y": 886,\r
983         "z": "4d37a11.42c136",\r
984         "wires": []\r
985     },\r
986     {\r
987         "id": "a4c22219.803cd8",\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": 3643,\r
994         "y": 1078,\r
995         "z": "4d37a11.42c136",\r
996         "wires": [\r
997             []\r
998         ]\r
999     },\r
1000     {\r
1001         "id": "f75d67.7cccfa98",\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": 3688,\r
1008         "y": 988,\r
1009         "z": "4d37a11.42c136",\r
1010         "wires": [\r
1011             []\r
1012         ]\r
1013     },\r
1014     {\r
1015         "id": "51860532.882634",\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": 3577,\r
1021         "y": 1029,\r
1022         "z": "4d37a11.42c136",\r
1023         "wires": []\r
1024     },\r
1025     {\r
1026         "id": "1c0836ef.f83329",\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": 3631,\r
1033         "y": 1775.0001220703125,\r
1034         "z": "4d37a11.42c136",\r
1035         "wires": [\r
1036             [\r
1037                 "9b737b83.c6ca88",\r
1038                 "22a6cd9c.81b312"\r
1039             ]\r
1040         ]\r
1041     },\r
1042     {\r
1043         "id": "22a6cd9c.81b312",\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": 3854,\r
1050         "y": 1730.0001220703125,\r
1051         "z": "4d37a11.42c136",\r
1052         "wires": [\r
1053             [\r
1054                 "f2364b58.93416"\r
1055             ]\r
1056         ]\r
1057     },\r
1058     {\r
1059         "id": "9b737b83.c6ca88",\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": 3856,\r
1066         "y": 1794.0001220703125,\r
1067         "z": "4d37a11.42c136",\r
1068         "wires": [\r
1069             [\r
1070                 "e81f51e1.476528"\r
1071             ]\r
1072         ]\r
1073     },\r
1074     {\r
1075         "id": "c355fa60.d02f7",\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": 4189,\r
1081         "y": 1688.0001220703125,\r
1082         "z": "4d37a11.42c136",\r
1083         "wires": []\r
1084     },\r
1085     {\r
1086         "id": "e81f51e1.476528",\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": 4015,\r
1092         "y": 1813.0001220703125,\r
1093         "z": "4d37a11.42c136",\r
1094         "wires": []\r
1095     },\r
1096     {\r
1097         "id": "f2364b58.93416",\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": 4019,\r
1104         "y": 1727.0001220703125,\r
1105         "z": "4d37a11.42c136",\r
1106         "wires": [\r
1107             [\r
1108                 "c355fa60.d02f7",\r
1109                 "fbcef05a.30da7"\r
1110             ]\r
1111         ]\r
1112     },\r
1113     {\r
1114         "id": "fbcef05a.30da7",\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": 4190,\r
1120         "y": 1793.0001220703125,\r
1121         "z": "4d37a11.42c136",\r
1122         "wires": []\r
1123     },\r
1124     {\r
1125         "id": "5702bff2.1c714",\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": 4185,\r
1131         "y": 1742.0001220703125,\r
1132         "z": "4d37a11.42c136",\r
1133         "wires": []\r
1134     },\r
1135     {\r
1136         "id": "a8a1220c.849508",\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": 3633,\r
1143         "y": 1934.0001220703125,\r
1144         "z": "4d37a11.42c136",\r
1145         "wires": [\r
1146             []\r
1147         ]\r
1148     },\r
1149     {\r
1150         "id": "4c626db2.041e5c",\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": 3678,\r
1157         "y": 1844.0001220703125,\r
1158         "z": "4d37a11.42c136",\r
1159         "wires": [\r
1160             []\r
1161         ]\r
1162     },\r
1163     {\r
1164         "id": "a742fa6d.53c048",\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": 3567,\r
1170         "y": 1882.0001220703125,\r
1171         "z": "4d37a11.42c136",\r
1172         "wires": []\r
1173     },\r
1174     {\r
1175         "id": "31bc0e97.d1b352",\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": 2542,\r
1182         "y": 2009,\r
1183         "z": "4d37a11.42c136",\r
1184         "wires": [\r
1185             []\r
1186         ]\r
1187     },\r
1188     {\r
1189         "id": "c57c6aeb.0d49c",\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": 2336,\r
1195         "y": 1949,\r
1196         "z": "4d37a11.42c136",\r
1197         "wires": []\r
1198     },\r
1199     {\r
1200         "id": "df325b41.3eb068",\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": 2310,\r
1206         "y": 1902,\r
1207         "z": "4d37a11.42c136",\r
1208         "wires": []\r
1209     },\r
1210     {\r
1211         "id": "5ce97afb.25ecd4",\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='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
1215         "comments": "",\r
1216         "outputs": 1,\r
1217         "x": 2418,\r
1218         "y": 2168,\r
1219         "z": "4d37a11.42c136",\r
1220         "wires": [\r
1221             [\r
1222                 "265fc651.8685d2"\r
1223             ]\r
1224         ]\r
1225     },\r
1226     {\r
1227         "id": "1f2f2fca.dd946",\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": 2421.5,\r
1234         "y": 2238,\r
1235         "z": "4d37a11.42c136",\r
1236         "wires": [\r
1237             []\r
1238         ]\r
1239     },\r
1240     {\r
1241         "id": "47b16974.ba7ff8",\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": 3069.5,\r
1248         "y": 2157,\r
1249         "z": "4d37a11.42c136",\r
1250         "wires": [\r
1251             []\r
1252         ]\r
1253     },\r
1254     {\r
1255         "id": "45a1ff6d.febe7",\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": 3071.5,\r
1262         "y": 2196,\r
1263         "z": "4d37a11.42c136",\r
1264         "wires": [\r
1265             []\r
1266         ]\r
1267     },\r
1268     {\r
1269         "id": "d6e02ca6.c9a8c8",\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": 3771,\r
1276         "y": 1126,\r
1277         "z": "4d37a11.42c136",\r
1278         "wires": [\r
1279             []\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "46fb3252.5c32c4",\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": 3760,\r
1290         "y": 1999.0001220703125,\r
1291         "z": "4d37a11.42c136",\r
1292         "wires": [\r
1293             []\r
1294         ]\r
1295     },\r
1296     {\r
1297         "id": "265fc651.8685d2",\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": 2718,\r
1304         "y": 2175,\r
1305         "z": "4d37a11.42c136",\r
1306         "wires": [\r
1307             [\r
1308                 "adcdcd16.7b29a8"\r
1309             ]\r
1310         ]\r
1311     },\r
1312     {\r
1313         "id": "adcdcd16.7b29a8",\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": 2858.500244140625,\r
1321         "y": 2176.25390625,\r
1322         "z": "4d37a11.42c136",\r
1323         "wires": [\r
1324             []\r
1325         ]\r
1326     },\r
1327     {\r
1328         "id": "4042eea1.42325",\r
1329         "type": "comment",\r
1330         "name": "TODO: FIXME: do we need this relationship?",\r
1331         "info": "",\r
1332         "comments": "",\r
1333         "x": 3106,\r
1334         "y": 2116,\r
1335         "z": "4d37a11.42c136",\r
1336         "wires": []\r
1337     },\r
1338     {\r
1339         "id": "8bb65fc7.c411f",\r
1340         "type": "comment",\r
1341         "name": "TODO: FIXME: put proper values",\r
1342         "info": "",\r
1343         "comments": "",\r
1344         "x": 2385,\r
1345         "y": 2128,\r
1346         "z": "4d37a11.42c136",\r
1347         "wires": []\r
1348     },\r
1349     {\r
1350         "id": "fc0327f0.f229c8",\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='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
1354         "comments": "",\r
1355         "outputs": 1,\r
1356         "x": 2421,\r
1357         "y": 2456,\r
1358         "z": "4d37a11.42c136",\r
1359         "wires": [\r
1360             [\r
1361                 "a95bb5bd.f30938"\r
1362             ]\r
1363         ]\r
1364     },\r
1365     {\r
1366         "id": "54e84a72.0a1bec",\r
1367         "type": "comment",\r
1368         "name": "TODO: FIXME: do we need this relationship?",\r
1369         "info": "",\r
1370         "comments": "",\r
1371         "x": 3109,\r
1372         "y": 2396,\r
1373         "z": "4d37a11.42c136",\r
1374         "wires": []\r
1375     },\r
1376     {\r
1377         "id": "5ffd7140.0fcf",\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": 3072.5,\r
1384         "y": 2437,\r
1385         "z": "4d37a11.42c136",\r
1386         "wires": [\r
1387             []\r
1388         ]\r
1389     },\r
1390     {\r
1391         "id": "d209c7d6.5be38",\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": 3074.5,\r
1398         "y": 2476,\r
1399         "z": "4d37a11.42c136",\r
1400         "wires": [\r
1401             []\r
1402         ]\r
1403     },\r
1404     {\r
1405         "id": "92281260.0bacb8",\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": 2861.500244140625,\r
1413         "y": 2456.25390625,\r
1414         "z": "4d37a11.42c136",\r
1415         "wires": [\r
1416             []\r
1417         ]\r
1418     },\r
1419     {\r
1420         "id": "a95bb5bd.f30938",\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": 2721,\r
1427         "y": 2455,\r
1428         "z": "4d37a11.42c136",\r
1429         "wires": [\r
1430             [\r
1431                 "92281260.0bacb8"\r
1432             ]\r
1433         ]\r
1434     },\r
1435     {\r
1436         "id": "460ff82c.4ff7",\r
1437         "type": "comment",\r
1438         "name": "TODO: FIXME: put proper values",\r
1439         "info": "",\r
1440         "comments": "",\r
1441         "x": 2401,\r
1442         "y": 2416,\r
1443         "z": "4d37a11.42c136",\r
1444         "wires": []\r
1445     },\r
1446     {\r
1447         "id": "7a9db702.f0e1b",\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": 2419.5,\r
1454         "y": 2496,\r
1455         "z": "4d37a11.42c136",\r
1456         "wires": [\r
1457             []\r
1458         ]\r
1459     },\r
1460     {\r
1461         "id": "b765768.33e8008",\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": 2293,\r
1467         "y": 2579,\r
1468         "z": "4d37a11.42c136",\r
1469         "wires": []\r
1470     },\r
1471     {\r
1472         "id": "15d01a88.67da65",\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,' + $gfp`\" />\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": 2358,\r
1478         "y": 2624,\r
1479         "z": "4d37a11.42c136",\r
1480         "wires": []\r
1481     },\r
1482     {\r
1483         "id": "7c6d32ec.4900b4",\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": 4815,\r
1490         "y": 646,\r
1491         "z": "4d37a11.42c136",\r
1492         "wires": [\r
1493             [\r
1494                 "f99473bc.f6917",\r
1495                 "8ca213cb.13c578",\r
1496                 "73897c92.dacd5c"\r
1497             ]\r
1498         ]\r
1499     },\r
1500     {\r
1501         "id": "2c4c53ed.c92a04",\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": 2368,\r
1508         "y": 302,\r
1509         "z": "4d37a11.42c136",\r
1510         "wires": [\r
1511             [\r
1512                 "df1d026f.c1c088"\r
1513             ]\r
1514         ]\r
1515     },\r
1516     {\r
1517         "id": "4b086b8f.46122c",\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": 1298.0001220703125,\r
1524         "y": 719.0001220703125,\r
1525         "z": "4d37a11.42c136",\r
1526         "wires": [\r
1527             [\r
1528                 "849b2fa9.e38c6"\r
1529             ]\r
1530         ]\r
1531     },\r
1532     {\r
1533         "id": "3637c149.a4c596",\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": 2036,\r
1540         "y": 425,\r
1541         "z": "4d37a11.42c136",\r
1542         "wires": [\r
1543             [\r
1544                 "a6e3fac3.17782",\r
1545                 "36a75df5.accdba"\r
1546             ]\r
1547         ]\r
1548     },\r
1549     {\r
1550         "id": "36a75df5.accdba",\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": 2346,\r
1557         "y": 432,\r
1558         "z": "4d37a11.42c136",\r
1559         "wires": [\r
1560             []\r
1561         ]\r
1562     },\r
1563     {\r
1564         "id": "a6e3fac3.17782",\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": 2345,\r
1571         "y": 486,\r
1572         "z": "4d37a11.42c136",\r
1573         "wires": [\r
1574             [\r
1575                 "ccfe530c.696ee"\r
1576             ]\r
1577         ]\r
1578     },\r
1579     {\r
1580         "id": "88e35dde.f9395",\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": 1718,\r
1586         "y": 669,\r
1587         "z": "4d37a11.42c136",\r
1588         "wires": []\r
1589     },\r
1590     {\r
1591         "id": "849b2fa9.e38c6",\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": 1475,\r
1598         "y": 712,\r
1599         "z": "4d37a11.42c136",\r
1600         "wires": [\r
1601             [\r
1602                 "88e35dde.f9395",\r
1603                 "abb2414c.5ad6c8"\r
1604             ]\r
1605         ]\r
1606     },\r
1607     {\r
1608         "id": "e4059fd.7caace",\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": 2904,\r
1614         "y": 898,\r
1615         "z": "4d37a11.42c136",\r
1616         "wires": []\r
1617     },\r
1618     {\r
1619         "id": "de6bae96.a20288",\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": 2947,\r
1626         "y": 963,\r
1627         "z": "4d37a11.42c136",\r
1628         "wires": [\r
1629             [\r
1630                 "8b31e4a0.a10748",\r
1631                 "c9553d7.4a532c",\r
1632                 "cf1d45bd.26226"\r
1633             ]\r
1634         ]\r
1635     },\r
1636     {\r
1637         "id": "cc046399.813d8",\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": 2944,\r
1644         "y": 1807,\r
1645         "z": "4d37a11.42c136",\r
1646         "wires": [\r
1647             [\r
1648                 "33a31a8c.e3b546",\r
1649                 "333e39a9.5e6146",\r
1650                 "18c9eff6.77ede8"\r
1651             ]\r
1652         ]\r
1653     },\r
1654     {\r
1655         "id": "76191dd2.8fade4",\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": 2905,\r
1661         "y": 1751,\r
1662         "z": "4d37a11.42c136",\r
1663         "wires": []\r
1664     },\r
1665     {\r
1666         "id": "df1d026f.c1c088",\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": 2661,\r
1673         "y": 249,\r
1674         "z": "4d37a11.42c136",\r
1675         "wires": [\r
1676             [\r
1677                 "adfd76db.6991",\r
1678                 "7a639d69.b5bebc",\r
1679                 "4943cdeb.ab6f2c"\r
1680             ]\r
1681         ]\r
1682     },\r
1683     {\r
1684         "id": "7a639d69.b5bebc",\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": 2934.490966796875,\r
1691         "y": 141.573974609375,\r
1692         "z": "4d37a11.42c136",\r
1693         "wires": [\r
1694             [\r
1695                 "d0806055.3ff898"\r
1696             ]\r
1697         ]\r
1698     },\r
1699     {\r
1700         "id": "d0806055.3ff898",\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": 3112.0625,\r
1706         "y": 141.8597412109375,\r
1707         "z": "4d37a11.42c136",\r
1708         "wires": []\r
1709     },\r
1710     {\r
1711         "id": "4943cdeb.ab6f2c",\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": 2930,\r
1718         "y": 191,\r
1719         "z": "4d37a11.42c136",\r
1720         "wires": [\r
1721             [\r
1722                 "e3a044a2.8747b8"\r
1723             ]\r
1724         ]\r
1725     },\r
1726     {\r
1727         "id": "e3a044a2.8747b8",\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": 3112,\r
1733         "y": 191,\r
1734         "z": "4d37a11.42c136",\r
1735         "wires": []\r
1736     },\r
1737     {\r
1738         "id": "adfd76db.6991",\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": 2934,\r
1745         "y": 242,\r
1746         "z": "4d37a11.42c136",\r
1747         "wires": [\r
1748             [\r
1749                 "b8ee302f.a8ecc"\r
1750             ]\r
1751         ]\r
1752     },\r
1753     {\r
1754         "id": "b8ee302f.a8ecc",\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": 3114,\r
1761         "y": 242,\r
1762         "z": "4d37a11.42c136",\r
1763         "wires": [\r
1764             [\r
1765                 "3637c149.a4c596"\r
1766             ]\r
1767         ]\r
1768     },\r
1769     {\r
1770         "id": "7c0e5ba2.cb2954",\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": 2605,\r
1777         "y": 466,\r
1778         "z": "4d37a11.42c136",\r
1779         "wires": [\r
1780             [\r
1781                 "acd1414b.a58ab8"\r
1782             ]\r
1783         ]\r
1784     },\r
1785     {\r
1786         "id": "acd1414b.a58ab8",\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": 2885,\r
1793         "y": 466,\r
1794         "z": "4d37a11.42c136",\r
1795         "wires": [\r
1796             [\r
1797                 "4b086b8f.46122c"\r
1798             ]\r
1799         ]\r
1800     },\r
1801     {\r
1802         "id": "ff4803af.9f0ab8",\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": 3090,\r
1809         "y": 440,\r
1810         "z": "4d37a11.42c136",\r
1811         "wires": [\r
1812             [\r
1813                 "ae60df75.bd38f"\r
1814             ]\r
1815         ]\r
1816     },\r
1817     {\r
1818         "id": "ae60df75.bd38f",\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": 3266.9998779296875,\r
1825         "y": 432.9998779296875,\r
1826         "z": "4d37a11.42c136",\r
1827         "wires": [\r
1828             [\r
1829                 "7c4264ea.4ef2cc",\r
1830                 "16bdb614.ef254a"\r
1831             ]\r
1832         ]\r
1833     },\r
1834     {\r
1835         "id": "7c4264ea.4ef2cc",\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": 3509.9998779296875,\r
1841         "y": 389.9998779296875,\r
1842         "z": "4d37a11.42c136",\r
1843         "wires": []\r
1844     },\r
1845     {\r
1846         "id": "16bdb614.ef254a",\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": 3498.9998779296875,\r
1853         "y": 444.9998779296875,\r
1854         "z": "4d37a11.42c136",\r
1855         "wires": [\r
1856             [\r
1857                 "589b81b9.57a1a",\r
1858                 "afdb690e.be2878",\r
1859                 "2f4f9888.a0047"\r
1860             ]\r
1861         ]\r
1862     },\r
1863     {\r
1864         "id": "2f4f9888.a0047",\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": 3752,\r
1871         "y": 331,\r
1872         "z": "4d37a11.42c136",\r
1873         "wires": [\r
1874             [\r
1875                 "10811a3b.3713ee"\r
1876             ]\r
1877         ]\r
1878     },\r
1879     {\r
1880         "id": "10811a3b.3713ee",\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": 3900.571533203125,\r
1886         "y": 331.2857666015625,\r
1887         "z": "4d37a11.42c136",\r
1888         "wires": []\r
1889     },\r
1890     {\r
1891         "id": "a4b0529d.fb0728",\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": 3899.509033203125,\r
1897         "y": 375.426025390625,\r
1898         "z": "4d37a11.42c136",\r
1899         "wires": []\r
1900     },\r
1901     {\r
1902         "id": "afdb690e.be2878",\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": 3740.509033203125,\r
1909         "y": 375.426025390625,\r
1910         "z": "4d37a11.42c136",\r
1911         "wires": [\r
1912             [\r
1913                 "a4b0529d.fb0728"\r
1914             ]\r
1915         ]\r
1916     },\r
1917     {\r
1918         "id": "589b81b9.57a1a",\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": 3747.509033203125,\r
1925         "y": 454.426025390625,\r
1926         "z": "4d37a11.42c136",\r
1927         "wires": [\r
1928             [\r
1929                 "2140264c.6d5f92"\r
1930             ]\r
1931         ]\r
1932     },\r
1933     {\r
1934         "id": "2140264c.6d5f92",\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": 3886.509033203125,\r
1942         "y": 454.426025390625,\r
1943         "z": "4d37a11.42c136",\r
1944         "wires": [\r
1945             [\r
1946                 "22cd0794.035c48",\r
1947                 "fae49c49.31b99"\r
1948             ]\r
1949         ]\r
1950     },\r
1951     {\r
1952         "id": "22cd0794.035c48",\r
1953         "type": "set",\r
1954         "name": "set the max bandwidth",\r
1955         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
1956         "comments": "",\r
1957         "x": 4092,\r
1958         "y": 452,\r
1959         "z": "4d37a11.42c136",\r
1960         "wires": []\r
1961     },\r
1962     {\r
1963         "id": "2546bd9f.525272",\r
1964         "type": "execute",\r
1965         "name": "execute split tp-id to get pnf-name",\r
1966         "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
1967         "comments": "",\r
1968         "outputs": 1,\r
1969         "x": 2948,\r
1970         "y": 633,\r
1971         "z": "4d37a11.42c136",\r
1972         "wires": [\r
1973             [\r
1974                 "536f807c.cf39f",\r
1975                 "47e593b9.b45a3c"\r
1976             ]\r
1977         ]\r
1978     },\r
1979     {\r
1980         "id": "47e593b9.b45a3c",\r
1981         "type": "failure",\r
1982         "name": "success",\r
1983         "xml": "<outcome value='success'>\n",\r
1984         "comments": "",\r
1985         "outputs": 1,\r
1986         "x": 3171,\r
1987         "y": 619,\r
1988         "z": "4d37a11.42c136",\r
1989         "wires": [\r
1990             [\r
1991                 "97a737cb.3ff9d8"\r
1992             ]\r
1993         ]\r
1994     },\r
1995     {\r
1996         "id": "536f807c.cf39f",\r
1997         "type": "failure",\r
1998         "name": "failure",\r
1999         "xml": "<outcome value='failure'>\n",\r
2000         "comments": "",\r
2001         "outputs": 1,\r
2002         "x": 3173,\r
2003         "y": 652,\r
2004         "z": "4d37a11.42c136",\r
2005         "wires": [\r
2006             [\r
2007                 "2752a0c2.80dc4"\r
2008             ]\r
2009         ]\r
2010     },\r
2011     {\r
2012         "id": "2752a0c2.80dc4",\r
2013         "type": "returnFailure",\r
2014         "name": "return failure",\r
2015         "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
2016         "comments": "",\r
2017         "x": 3316,\r
2018         "y": 649,\r
2019         "z": "4d37a11.42c136",\r
2020         "wires": []\r
2021     },\r
2022     {\r
2023         "id": "97a737cb.3ff9d8",\r
2024         "type": "block",\r
2025         "name": "block : atomic",\r
2026         "xml": "<block atomic=\"true\">",\r
2027         "atomic": "true",\r
2028         "outputs": 1,\r
2029         "x": 3319,\r
2030         "y": 612,\r
2031         "z": "4d37a11.42c136",\r
2032         "wires": [\r
2033             [\r
2034                 "50707e3e.984ff",\r
2035                 "fca22b88.65f128"\r
2036             ]\r
2037         ]\r
2038     },\r
2039     {\r
2040         "id": "50707e3e.984ff",\r
2041         "type": "set",\r
2042         "name": "set pnf-name",\r
2043         "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
2044         "comments": "",\r
2045         "x": 3481,\r
2046         "y": 607,\r
2047         "z": "4d37a11.42c136",\r
2048         "wires": []\r
2049     },\r
2050     {\r
2051         "id": "94119745.c4be9",\r
2052         "type": "execute",\r
2053         "name": "execute split tp-id to get pnf-name",\r
2054         "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
2055         "comments": "",\r
2056         "outputs": 1,\r
2057         "x": 2962,\r
2058         "y": 1469.9998779296875,\r
2059         "z": "4d37a11.42c136",\r
2060         "wires": [\r
2061             [\r
2062                 "754647f7.9e2b8",\r
2063                 "657955bd.91fb44"\r
2064             ]\r
2065         ]\r
2066     },\r
2067     {\r
2068         "id": "657955bd.91fb44",\r
2069         "type": "failure",\r
2070         "name": "success",\r
2071         "xml": "<outcome value='success'>\n",\r
2072         "comments": "",\r
2073         "outputs": 1,\r
2074         "x": 3185,\r
2075         "y": 1455.9998779296875,\r
2076         "z": "4d37a11.42c136",\r
2077         "wires": [\r
2078             [\r
2079                 "80a7821a.19495"\r
2080             ]\r
2081         ]\r
2082     },\r
2083     {\r
2084         "id": "754647f7.9e2b8",\r
2085         "type": "failure",\r
2086         "name": "failure",\r
2087         "xml": "<outcome value='failure'>\n",\r
2088         "comments": "",\r
2089         "outputs": 1,\r
2090         "x": 3187,\r
2091         "y": 1488.9998779296875,\r
2092         "z": "4d37a11.42c136",\r
2093         "wires": [\r
2094             [\r
2095                 "ee8e0ea1.9fea78"\r
2096             ]\r
2097         ]\r
2098     },\r
2099     {\r
2100         "id": "ee8e0ea1.9fea78",\r
2101         "type": "returnFailure",\r
2102         "name": "return failure",\r
2103         "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
2104         "comments": "",\r
2105         "x": 3330,\r
2106         "y": 1485.9998779296875,\r
2107         "z": "4d37a11.42c136",\r
2108         "wires": []\r
2109     },\r
2110     {\r
2111         "id": "80a7821a.19495",\r
2112         "type": "block",\r
2113         "name": "block : atomic",\r
2114         "xml": "<block atomic=\"true\">",\r
2115         "atomic": "true",\r
2116         "outputs": 1,\r
2117         "x": 3333,\r
2118         "y": 1448.9998779296875,\r
2119         "z": "4d37a11.42c136",\r
2120         "wires": [\r
2121             [\r
2122                 "413b415f.4e9208",\r
2123                 "81398c99.8688f"\r
2124             ]\r
2125         ]\r
2126     },\r
2127     {\r
2128         "id": "413b415f.4e9208",\r
2129         "type": "set",\r
2130         "name": "set pnf-name",\r
2131         "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
2132         "comments": "",\r
2133         "x": 3527,\r
2134         "y": 1452,\r
2135         "z": "4d37a11.42c136",\r
2136         "wires": []\r
2137     },\r
2138     {\r
2139         "id": "2f5068f1.5086e8",\r
2140         "type": "execute",\r
2141         "name": "execute properties",\r
2142         "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
2143         "comments": "",\r
2144         "outputs": 1,\r
2145         "x": 1073,\r
2146         "y": 178,\r
2147         "z": "4d37a11.42c136",\r
2148         "wires": [\r
2149             []\r
2150         ]\r
2151     },\r
2152     {\r
2153         "id": "1f17f018.71ce48",\r
2154         "type": "execute",\r
2155         "name": "execute UUID generator for vpn-binding domainA",\r
2156         "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
2157         "comments": "",\r
2158         "outputs": 1,\r
2159         "x": 2424,\r
2160         "y": 2090,\r
2161         "z": "4d37a11.42c136",\r
2162         "wires": [\r
2163             []\r
2164         ]\r
2165     },\r
2166     {\r
2167         "id": "75da5f28.16fb78",\r
2168         "type": "execute",\r
2169         "name": "execute UUID generator for vpn-binding domainB",\r
2170         "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
2171         "comments": "",\r
2172         "outputs": 1,\r
2173         "x": 2422,\r
2174         "y": 2378,\r
2175         "z": "4d37a11.42c136",\r
2176         "wires": [\r
2177             []\r
2178         ]\r
2179     },\r
2180     {\r
2181         "id": "5b5222c9.d7a36c",\r
2182         "type": "for",\r
2183         "name": "for each relationship",\r
2184         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
2185         "comments": "",\r
2186         "outputs": 1,\r
2187         "x": 3595,\r
2188         "y": 1203,\r
2189         "z": "4d37a11.42c136",\r
2190         "wires": [\r
2191             [\r
2192                 "57baeaf4.ebf064"\r
2193             ]\r
2194         ]\r
2195     },\r
2196     {\r
2197         "id": "57baeaf4.ebf064",\r
2198         "type": "switchNode",\r
2199         "name": "switch related-to",\r
2200         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
2201         "comments": "",\r
2202         "outputs": 1,\r
2203         "x": 3801,\r
2204         "y": 1203,\r
2205         "z": "4d37a11.42c136",\r
2206         "wires": [\r
2207             [\r
2208                 "645e8c5e.f65a7c"\r
2209             ]\r
2210         ]\r
2211     },\r
2212     {\r
2213         "id": "645e8c5e.f65a7c",\r
2214         "type": "outcome",\r
2215         "name": "tunnel-termination-point",\r
2216         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2217         "comments": "",\r
2218         "outputs": 1,\r
2219         "x": 4016.28564453125,\r
2220         "y": 1202.82177734375,\r
2221         "z": "4d37a11.42c136",\r
2222         "wires": [\r
2223             [\r
2224                 "894c9d7e.ee38"\r
2225             ]\r
2226         ]\r
2227     },\r
2228     {\r
2229         "id": "894c9d7e.ee38",\r
2230         "type": "block",\r
2231         "name": "block : atomic",\r
2232         "xml": "<block atomic=\"true\">",\r
2233         "atomic": "true",\r
2234         "outputs": 1,\r
2235         "x": 4223.1171875,\r
2236         "y": 1203.34033203125,\r
2237         "z": "4d37a11.42c136",\r
2238         "wires": [\r
2239             [\r
2240                 "d6f40c53.9a6bf",\r
2241                 "c910efe.c0a679",\r
2242                 "50a2016f.cc5d58"\r
2243             ]\r
2244         ]\r
2245     },\r
2246     {\r
2247         "id": "d6f40c53.9a6bf",\r
2248         "type": "set",\r
2249         "name": "set source ttp-id",\r
2250         "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
2251         "comments": "",\r
2252         "x": 4438.1171875,\r
2253         "y": 1165.34033203125,\r
2254         "z": "4d37a11.42c136",\r
2255         "wires": []\r
2256     },\r
2257     {\r
2258         "id": "c910efe.c0a679",\r
2259         "type": "get-resource",\r
2260         "name": "get-resource src TTP",\r
2261         "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
2262         "comments": "",\r
2263         "outputs": 1,\r
2264         "x": 4435.1171875,\r
2265         "y": 1204.34033203125,\r
2266         "z": "4d37a11.42c136",\r
2267         "wires": [\r
2268             [\r
2269                 "ab61e075.552a9"\r
2270             ]\r
2271         ]\r
2272     },\r
2273     {\r
2274         "id": "50a2016f.cc5d58",\r
2275         "type": "break",\r
2276         "name": "break",\r
2277         "xml": "<break>\n",\r
2278         "comments": "",\r
2279         "x": 4390.6171875,\r
2280         "y": 1246.34033203125,\r
2281         "z": "4d37a11.42c136",\r
2282         "wires": []\r
2283     },\r
2284     {\r
2285         "id": "ab61e075.552a9",\r
2286         "type": "success",\r
2287         "name": "success",\r
2288         "xml": "<outcome value='success'>\n",\r
2289         "comments": "",\r
2290         "outputs": 1,\r
2291         "x": 4615.6171875,\r
2292         "y": 1203.34033203125,\r
2293         "z": "4d37a11.42c136",\r
2294         "wires": [\r
2295             [\r
2296                 "11eef788.e7252"\r
2297             ]\r
2298         ]\r
2299     },\r
2300     {\r
2301         "id": "11eef788.e7252",\r
2302         "type": "block",\r
2303         "name": "block : atomic",\r
2304         "xml": "<block atomic=\"true\">",\r
2305         "atomic": "true",\r
2306         "outputs": 1,\r
2307         "x": 4773.6171875,\r
2308         "y": 1203.34033203125,\r
2309         "z": "4d37a11.42c136",\r
2310         "wires": [\r
2311             [\r
2312                 "ab0df37c.a4d9e"\r
2313             ]\r
2314         ]\r
2315     },\r
2316     {\r
2317         "id": "ab0df37c.a4d9e",\r
2318         "type": "set",\r
2319         "name": "set source tunnel tp ip",\r
2320         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2321         "comments": "",\r
2322         "x": 4980.6171875,\r
2323         "y": 1203.34033203125,\r
2324         "z": "4d37a11.42c136",\r
2325         "wires": []\r
2326     },\r
2327     {\r
2328         "id": "3da30ce3.e252e4",\r
2329         "type": "for",\r
2330         "name": "for each relationship",\r
2331         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2332         "comments": "",\r
2333         "outputs": 1,\r
2334         "x": 3592,\r
2335         "y": 2072.0001220703125,\r
2336         "z": "4d37a11.42c136",\r
2337         "wires": [\r
2338             [\r
2339                 "5324422e.146a4c"\r
2340             ]\r
2341         ]\r
2342     },\r
2343     {\r
2344         "id": "5324422e.146a4c",\r
2345         "type": "switchNode",\r
2346         "name": "switch related-to",\r
2347         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2348         "comments": "",\r
2349         "outputs": 1,\r
2350         "x": 3798,\r
2351         "y": 2072.0001220703125,\r
2352         "z": "4d37a11.42c136",\r
2353         "wires": [\r
2354             [\r
2355                 "a66bf5f9.332a38"\r
2356             ]\r
2357         ]\r
2358     },\r
2359     {\r
2360         "id": "a66bf5f9.332a38",\r
2361         "type": "outcome",\r
2362         "name": "tunnel-termination-point",\r
2363         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2364         "comments": "",\r
2365         "outputs": 1,\r
2366         "x": 4013.28564453125,\r
2367         "y": 2071.8218994140625,\r
2368         "z": "4d37a11.42c136",\r
2369         "wires": [\r
2370             [\r
2371                 "68fca589.e390fc"\r
2372             ]\r
2373         ]\r
2374     },\r
2375     {\r
2376         "id": "68fca589.e390fc",\r
2377         "type": "block",\r
2378         "name": "block : atomic",\r
2379         "xml": "<block atomic=\"true\">",\r
2380         "atomic": "true",\r
2381         "outputs": 1,\r
2382         "x": 4220.1171875,\r
2383         "y": 2072.3404541015625,\r
2384         "z": "4d37a11.42c136",\r
2385         "wires": [\r
2386             [\r
2387                 "c073bf38.974dd",\r
2388                 "108cc1af.4a86d6",\r
2389                 "f0b0cdee.26542"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "c073bf38.974dd",\r
2395         "type": "set",\r
2396         "name": "set destination ttp-id",\r
2397         "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
2398         "comments": "",\r
2399         "x": 4435.1171875,\r
2400         "y": 2034.3404541015625,\r
2401         "z": "4d37a11.42c136",\r
2402         "wires": []\r
2403     },\r
2404     {\r
2405         "id": "108cc1af.4a86d6",\r
2406         "type": "get-resource",\r
2407         "name": "get-resource src TTP",\r
2408         "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
2409         "comments": "",\r
2410         "outputs": 1,\r
2411         "x": 4432.1171875,\r
2412         "y": 2073.3404541015625,\r
2413         "z": "4d37a11.42c136",\r
2414         "wires": [\r
2415             [\r
2416                 "b43fbaf.be38548"\r
2417             ]\r
2418         ]\r
2419     },\r
2420     {\r
2421         "id": "f0b0cdee.26542",\r
2422         "type": "break",\r
2423         "name": "break",\r
2424         "xml": "<break>\n",\r
2425         "comments": "",\r
2426         "x": 4387.6171875,\r
2427         "y": 2115.3404541015625,\r
2428         "z": "4d37a11.42c136",\r
2429         "wires": []\r
2430     },\r
2431     {\r
2432         "id": "b43fbaf.be38548",\r
2433         "type": "success",\r
2434         "name": "success",\r
2435         "xml": "<outcome value='success'>\n",\r
2436         "comments": "",\r
2437         "outputs": 1,\r
2438         "x": 4612.6171875,\r
2439         "y": 2072.3404541015625,\r
2440         "z": "4d37a11.42c136",\r
2441         "wires": [\r
2442             [\r
2443                 "f843935.e7b9ef"\r
2444             ]\r
2445         ]\r
2446     },\r
2447     {\r
2448         "id": "f843935.e7b9ef",\r
2449         "type": "block",\r
2450         "name": "block : atomic",\r
2451         "xml": "<block atomic=\"true\">",\r
2452         "atomic": "true",\r
2453         "outputs": 1,\r
2454         "x": 4770.6171875,\r
2455         "y": 2072.3404541015625,\r
2456         "z": "4d37a11.42c136",\r
2457         "wires": [\r
2458             [\r
2459                 "2905073f.78af38"\r
2460             ]\r
2461         ]\r
2462     },\r
2463     {\r
2464         "id": "2905073f.78af38",\r
2465         "type": "set",\r
2466         "name": "set destination tunnel tp ip",\r
2467         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2468         "comments": "",\r
2469         "x": 4977.6171875,\r
2470         "y": 2072.3404541015625,\r
2471         "z": "4d37a11.42c136",\r
2472         "wires": []\r
2473     },\r
2474     {\r
2475         "id": "47a3a765.16faa",\r
2476         "type": "set",\r
2477         "name": "set attachment_param domain B",\r
2478         "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,' + $gfp`\" />\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
2479         "comments": "",\r
2480         "x": 2353,\r
2481         "y": 2999,\r
2482         "z": "4d37a11.42c136",\r
2483         "wires": []\r
2484     },\r
2485     {\r
2486         "id": "fca22b88.65f128",\r
2487         "type": "get-resource",\r
2488         "name": "get-resource src pnf",\r
2489         "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
2490         "comments": "",\r
2491         "outputs": 1,\r
2492         "x": 3508,\r
2493         "y": 679,\r
2494         "z": "4d37a11.42c136",\r
2495         "wires": [\r
2496             [\r
2497                 "26e1e178.44c626",\r
2498                 "748c5faa.9b8fd",\r
2499                 "7a23584.42cb7a8"\r
2500             ]\r
2501         ]\r
2502     },\r
2503     {\r
2504         "id": "26e1e178.44c626",\r
2505         "type": "success",\r
2506         "name": "success",\r
2507         "xml": "<outcome value='success'>\n",\r
2508         "comments": "",\r
2509         "outputs": 1,\r
2510         "x": 3703.5001220703125,\r
2511         "y": 631,\r
2512         "z": "4d37a11.42c136",\r
2513         "wires": [\r
2514             [\r
2515                 "4f3cfb5.bd9ae04"\r
2516             ]\r
2517         ]\r
2518     },\r
2519     {\r
2520         "id": "748c5faa.9b8fd",\r
2521         "type": "not-found",\r
2522         "name": "not-found",\r
2523         "xml": "<outcome value='not-found'>\n",\r
2524         "comments": "",\r
2525         "outputs": 1,\r
2526         "x": 3695.5001220703125,\r
2527         "y": 686,\r
2528         "z": "4d37a11.42c136",\r
2529         "wires": [\r
2530             [\r
2531                 "7374c1c1.b3ba38"\r
2532             ]\r
2533         ]\r
2534     },\r
2535     {\r
2536         "id": "7a23584.42cb7a8",\r
2537         "type": "other",\r
2538         "name": "other",\r
2539         "xml": "<outcome value='Other'>\n",\r
2540         "comments": "",\r
2541         "outputs": 1,\r
2542         "x": 3700.5001220703125,\r
2543         "y": 743,\r
2544         "z": "4d37a11.42c136",\r
2545         "wires": [\r
2546             [\r
2547                 "bf06b166.7b1ab8"\r
2548             ]\r
2549         ]\r
2550     },\r
2551     {\r
2552         "id": "bf06b166.7b1ab8",\r
2553         "type": "returnFailure",\r
2554         "name": "return failure",\r
2555         "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
2556         "comments": "",\r
2557         "x": 3852.5001220703125,\r
2558         "y": 744,\r
2559         "z": "4d37a11.42c136",\r
2560         "wires": []\r
2561     },\r
2562     {\r
2563         "id": "7374c1c1.b3ba38",\r
2564         "type": "returnFailure",\r
2565         "name": "return failure",\r
2566         "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
2567         "comments": "",\r
2568         "x": 3863.5001220703125,\r
2569         "y": 689,\r
2570         "z": "4d37a11.42c136",\r
2571         "wires": []\r
2572     },\r
2573     {\r
2574         "id": "4f3cfb5.bd9ae04",\r
2575         "type": "block",\r
2576         "name": "block",\r
2577         "xml": "<block>\n",\r
2578         "atomic": "false",\r
2579         "comments": "",\r
2580         "outputs": 1,\r
2581         "x": 3847.8824462890625,\r
2582         "y": 628.6556701660156,\r
2583         "z": "4d37a11.42c136",\r
2584         "wires": [\r
2585             [\r
2586                 "cc5e035f.d2ea7"\r
2587             ]\r
2588         ]\r
2589     },\r
2590     {\r
2591         "id": "71b56e6f.bcf72",\r
2592         "type": "outcome",\r
2593         "name": "esr-thirdparty-sdnc",\r
2594         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2595         "comments": "",\r
2596         "outputs": 1,\r
2597         "x": 4430,\r
2598         "y": 647,\r
2599         "z": "4d37a11.42c136",\r
2600         "wires": [\r
2601             [\r
2602                 "894c8dc1.732e8"\r
2603             ]\r
2604         ]\r
2605     },\r
2606     {\r
2607         "id": "894c8dc1.732e8",\r
2608         "type": "block",\r
2609         "name": "block : atomic",\r
2610         "xml": "<block atomic=\"true\">",\r
2611         "atomic": "true",\r
2612         "outputs": 1,\r
2613         "x": 4607,\r
2614         "y": 639,\r
2615         "z": "4d37a11.42c136",\r
2616         "wires": [\r
2617             [\r
2618                 "47f97449.7cbbcc",\r
2619                 "7c6d32ec.4900b4"\r
2620             ]\r
2621         ]\r
2622     },\r
2623     {\r
2624         "id": "cc5e035f.d2ea7",\r
2625         "type": "for",\r
2626         "name": "for each relationship",\r
2627         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2628         "comments": "",\r
2629         "outputs": 1,\r
2630         "x": 4032,\r
2631         "y": 643,\r
2632         "z": "4d37a11.42c136",\r
2633         "wires": [\r
2634             [\r
2635                 "611703bb.9151dc"\r
2636             ]\r
2637         ]\r
2638     },\r
2639     {\r
2640         "id": "611703bb.9151dc",\r
2641         "type": "switchNode",\r
2642         "name": "switch related-to",\r
2643         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2644         "comments": "",\r
2645         "outputs": 1,\r
2646         "x": 4227,\r
2647         "y": 643,\r
2648         "z": "4d37a11.42c136",\r
2649         "wires": [\r
2650             [\r
2651                 "71b56e6f.bcf72",\r
2652                 "bf1946eb.ee80a8"\r
2653             ]\r
2654         ]\r
2655     },\r
2656     {\r
2657         "id": "47f97449.7cbbcc",\r
2658         "type": "set",\r
2659         "name": "set esr-thirdparty-sdnc domainA id",\r
2660         "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
2661         "comments": "",\r
2662         "x": 4845,\r
2663         "y": 594,\r
2664         "z": "4d37a11.42c136",\r
2665         "wires": []\r
2666     },\r
2667     {\r
2668         "id": "f99473bc.f6917",\r
2669         "type": "success",\r
2670         "name": "success",\r
2671         "xml": "<outcome value='success'>\n",\r
2672         "comments": "",\r
2673         "outputs": 1,\r
2674         "x": 5025,\r
2675         "y": 637,\r
2676         "z": "4d37a11.42c136",\r
2677         "wires": [\r
2678             [\r
2679                 "701e34ee.427b2c"\r
2680             ]\r
2681         ]\r
2682     },\r
2683     {\r
2684         "id": "8ca213cb.13c578",\r
2685         "type": "not-found",\r
2686         "name": "not-found",\r
2687         "xml": "<outcome value='not-found'>\n",\r
2688         "comments": "",\r
2689         "outputs": 1,\r
2690         "x": 5017,\r
2691         "y": 692,\r
2692         "z": "4d37a11.42c136",\r
2693         "wires": [\r
2694             [\r
2695                 "2e4b614b.0c396e"\r
2696             ]\r
2697         ]\r
2698     },\r
2699     {\r
2700         "id": "73897c92.dacd5c",\r
2701         "type": "other",\r
2702         "name": "other",\r
2703         "xml": "<outcome value='Other'>\n",\r
2704         "comments": "",\r
2705         "outputs": 1,\r
2706         "x": 5022,\r
2707         "y": 749,\r
2708         "z": "4d37a11.42c136",\r
2709         "wires": [\r
2710             [\r
2711                 "ce57e89b.dcf4b"\r
2712             ]\r
2713         ]\r
2714     },\r
2715     {\r
2716         "id": "ce57e89b.dcf4b",\r
2717         "type": "returnFailure",\r
2718         "name": "return failure",\r
2719         "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
2720         "comments": "",\r
2721         "x": 5174,\r
2722         "y": 750,\r
2723         "z": "4d37a11.42c136",\r
2724         "wires": []\r
2725     },\r
2726     {\r
2727         "id": "2e4b614b.0c396e",\r
2728         "type": "returnFailure",\r
2729         "name": "return failure",\r
2730         "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
2731         "comments": "",\r
2732         "x": 5185,\r
2733         "y": 695,\r
2734         "z": "4d37a11.42c136",\r
2735         "wires": []\r
2736     },\r
2737     {\r
2738         "id": "701e34ee.427b2c",\r
2739         "type": "block",\r
2740         "name": "block",\r
2741         "xml": "<block>\n",\r
2742         "atomic": "false",\r
2743         "comments": "",\r
2744         "outputs": 1,\r
2745         "x": 5169.38232421875,\r
2746         "y": 634.6556701660156,\r
2747         "z": "4d37a11.42c136",\r
2748         "wires": [\r
2749             [\r
2750                 "986be552.d67d4"\r
2751             ]\r
2752         ]\r
2753     },\r
2754     {\r
2755         "id": "986be552.d67d4",\r
2756         "type": "set",\r
2757         "name": "set controller domainA data",\r
2758         "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
2759         "comments": "",\r
2760         "x": 5384,\r
2761         "y": 631,\r
2762         "z": "4d37a11.42c136",\r
2763         "wires": []\r
2764     },\r
2765     {\r
2766         "id": "81398c99.8688f",\r
2767         "type": "get-resource",\r
2768         "name": "get-resource src pnf",\r
2769         "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
2770         "comments": "",\r
2771         "outputs": 1,\r
2772         "x": 3549,\r
2773         "y": 1520,\r
2774         "z": "4d37a11.42c136",\r
2775         "wires": [\r
2776             [\r
2777                 "4228d77e.297a48",\r
2778                 "f33d7dd3.e27df8",\r
2779                 "f25d8688.bde06"\r
2780             ]\r
2781         ]\r
2782     },\r
2783     {\r
2784         "id": "4228d77e.297a48",\r
2785         "type": "success",\r
2786         "name": "success",\r
2787         "xml": "<outcome value='success'>\n",\r
2788         "comments": "",\r
2789         "outputs": 1,\r
2790         "x": 3744.5001220703125,\r
2791         "y": 1472,\r
2792         "z": "4d37a11.42c136",\r
2793         "wires": [\r
2794             [\r
2795                 "b81f1049.782548"\r
2796             ]\r
2797         ]\r
2798     },\r
2799     {\r
2800         "id": "f33d7dd3.e27df8",\r
2801         "type": "not-found",\r
2802         "name": "not-found",\r
2803         "xml": "<outcome value='not-found'>\n",\r
2804         "comments": "",\r
2805         "outputs": 1,\r
2806         "x": 3736.5001220703125,\r
2807         "y": 1527,\r
2808         "z": "4d37a11.42c136",\r
2809         "wires": [\r
2810             [\r
2811                 "cb4038b7.689b5"\r
2812             ]\r
2813         ]\r
2814     },\r
2815     {\r
2816         "id": "f25d8688.bde06",\r
2817         "type": "other",\r
2818         "name": "other",\r
2819         "xml": "<outcome value='Other'>\n",\r
2820         "comments": "",\r
2821         "outputs": 1,\r
2822         "x": 3741.5001220703125,\r
2823         "y": 1584,\r
2824         "z": "4d37a11.42c136",\r
2825         "wires": [\r
2826             [\r
2827                 "9d53815.71bad"\r
2828             ]\r
2829         ]\r
2830     },\r
2831     {\r
2832         "id": "9d53815.71bad",\r
2833         "type": "returnFailure",\r
2834         "name": "return failure",\r
2835         "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
2836         "comments": "",\r
2837         "x": 3893.5001220703125,\r
2838         "y": 1585,\r
2839         "z": "4d37a11.42c136",\r
2840         "wires": []\r
2841     },\r
2842     {\r
2843         "id": "cb4038b7.689b5",\r
2844         "type": "returnFailure",\r
2845         "name": "return failure",\r
2846         "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
2847         "comments": "",\r
2848         "x": 3904.5001220703125,\r
2849         "y": 1530,\r
2850         "z": "4d37a11.42c136",\r
2851         "wires": []\r
2852     },\r
2853     {\r
2854         "id": "b81f1049.782548",\r
2855         "type": "block",\r
2856         "name": "block",\r
2857         "xml": "<block>\n",\r
2858         "atomic": "false",\r
2859         "comments": "",\r
2860         "outputs": 1,\r
2861         "x": 3888.8824462890625,\r
2862         "y": 1469.6556701660156,\r
2863         "z": "4d37a11.42c136",\r
2864         "wires": [\r
2865             [\r
2866                 "3a1b087b.88796"\r
2867             ]\r
2868         ]\r
2869     },\r
2870     {\r
2871         "id": "9eaf216b.504558",\r
2872         "type": "outcome",\r
2873         "name": "esr-thirdparty-sdnc",\r
2874         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2875         "comments": "",\r
2876         "outputs": 1,\r
2877         "x": 4471,\r
2878         "y": 1488,\r
2879         "z": "4d37a11.42c136",\r
2880         "wires": [\r
2881             [\r
2882                 "848ce8ba.8131a8"\r
2883             ]\r
2884         ]\r
2885     },\r
2886     {\r
2887         "id": "848ce8ba.8131a8",\r
2888         "type": "block",\r
2889         "name": "block : atomic",\r
2890         "xml": "<block atomic=\"true\">",\r
2891         "atomic": "true",\r
2892         "outputs": 1,\r
2893         "x": 4648,\r
2894         "y": 1480,\r
2895         "z": "4d37a11.42c136",\r
2896         "wires": [\r
2897             [\r
2898                 "91abee3d.323e5",\r
2899                 "a28d627d.aad29"\r
2900             ]\r
2901         ]\r
2902     },\r
2903     {\r
2904         "id": "3a1b087b.88796",\r
2905         "type": "for",\r
2906         "name": "for each relationship",\r
2907         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2908         "comments": "",\r
2909         "outputs": 1,\r
2910         "x": 4073,\r
2911         "y": 1484,\r
2912         "z": "4d37a11.42c136",\r
2913         "wires": [\r
2914             [\r
2915                 "75ba425.30354bc"\r
2916             ]\r
2917         ]\r
2918     },\r
2919     {\r
2920         "id": "75ba425.30354bc",\r
2921         "type": "switchNode",\r
2922         "name": "switch related-to",\r
2923         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2924         "comments": "",\r
2925         "outputs": 1,\r
2926         "x": 4268,\r
2927         "y": 1484,\r
2928         "z": "4d37a11.42c136",\r
2929         "wires": [\r
2930             [\r
2931                 "9eaf216b.504558",\r
2932                 "f41408f6.625698"\r
2933             ]\r
2934         ]\r
2935     },\r
2936     {\r
2937         "id": "a28d627d.aad29",\r
2938         "type": "execute",\r
2939         "name": "get esr-thirdparty-sdnc",\r
2940         "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
2941         "comments": "",\r
2942         "outputs": 1,\r
2943         "x": 4856,\r
2944         "y": 1487,\r
2945         "z": "4d37a11.42c136",\r
2946         "wires": [\r
2947             [\r
2948                 "2c1c230e.a8a514",\r
2949                 "77340ca1.3f4454",\r
2950                 "b69cbef8.164728"\r
2951             ]\r
2952         ]\r
2953     },\r
2954     {\r
2955         "id": "91abee3d.323e5",\r
2956         "type": "set",\r
2957         "name": "set esr-thirdparty-sdnc domainB id",\r
2958         "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
2959         "comments": "",\r
2960         "x": 4886,\r
2961         "y": 1435,\r
2962         "z": "4d37a11.42c136",\r
2963         "wires": []\r
2964     },\r
2965     {\r
2966         "id": "2c1c230e.a8a514",\r
2967         "type": "success",\r
2968         "name": "success",\r
2969         "xml": "<outcome value='success'>\n",\r
2970         "comments": "",\r
2971         "outputs": 1,\r
2972         "x": 5066,\r
2973         "y": 1478,\r
2974         "z": "4d37a11.42c136",\r
2975         "wires": [\r
2976             [\r
2977                 "ea8a7330.3c6eb"\r
2978             ]\r
2979         ]\r
2980     },\r
2981     {\r
2982         "id": "77340ca1.3f4454",\r
2983         "type": "not-found",\r
2984         "name": "not-found",\r
2985         "xml": "<outcome value='not-found'>\n",\r
2986         "comments": "",\r
2987         "outputs": 1,\r
2988         "x": 5058,\r
2989         "y": 1533,\r
2990         "z": "4d37a11.42c136",\r
2991         "wires": [\r
2992             [\r
2993                 "5b6119be.e0e2e"\r
2994             ]\r
2995         ]\r
2996     },\r
2997     {\r
2998         "id": "b69cbef8.164728",\r
2999         "type": "other",\r
3000         "name": "other",\r
3001         "xml": "<outcome value='Other'>\n",\r
3002         "comments": "",\r
3003         "outputs": 1,\r
3004         "x": 5063,\r
3005         "y": 1590,\r
3006         "z": "4d37a11.42c136",\r
3007         "wires": [\r
3008             [\r
3009                 "6e980a04.e6ca2c"\r
3010             ]\r
3011         ]\r
3012     },\r
3013     {\r
3014         "id": "6e980a04.e6ca2c",\r
3015         "type": "returnFailure",\r
3016         "name": "return failure",\r
3017         "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
3018         "comments": "",\r
3019         "x": 5215,\r
3020         "y": 1591,\r
3021         "z": "4d37a11.42c136",\r
3022         "wires": []\r
3023     },\r
3024     {\r
3025         "id": "5b6119be.e0e2e",\r
3026         "type": "returnFailure",\r
3027         "name": "return failure",\r
3028         "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
3029         "comments": "",\r
3030         "x": 5226,\r
3031         "y": 1536,\r
3032         "z": "4d37a11.42c136",\r
3033         "wires": []\r
3034     },\r
3035     {\r
3036         "id": "ea8a7330.3c6eb",\r
3037         "type": "block",\r
3038         "name": "block",\r
3039         "xml": "<block>\n",\r
3040         "atomic": "false",\r
3041         "comments": "",\r
3042         "outputs": 1,\r
3043         "x": 5210.38232421875,\r
3044         "y": 1475.6556701660156,\r
3045         "z": "4d37a11.42c136",\r
3046         "wires": [\r
3047             [\r
3048                 "6b04dce3.953014"\r
3049             ]\r
3050         ]\r
3051     },\r
3052     {\r
3053         "id": "6b04dce3.953014",\r
3054         "type": "set",\r
3055         "name": "set controller domainB data",\r
3056         "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
3057         "comments": "",\r
3058         "x": 5425,\r
3059         "y": 1472,\r
3060         "z": "4d37a11.42c136",\r
3061         "wires": []\r
3062     },\r
3063     {\r
3064         "id": "8335f76.9af8388",\r
3065         "type": "execute",\r
3066         "name": "execute RestApiCallNode slice creation domainA",\r
3067         "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
3068         "comments": "",\r
3069         "outputs": 1,\r
3070         "x": 2404,\r
3071         "y": 2682,\r
3072         "z": "4d37a11.42c136",\r
3073         "wires": [\r
3074             [\r
3075                 "f515c1e9.93c64",\r
3076                 "49a0370a.e5f21"\r
3077             ]\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "49a0370a.e5f21",\r
3082         "type": "failure",\r
3083         "name": "failure",\r
3084         "xml": "<outcome value='failure'>\n",\r
3085         "comments": "",\r
3086         "outputs": 1,\r
3087         "x": 2670,\r
3088         "y": 2662,\r
3089         "z": "4d37a11.42c136",\r
3090         "wires": [\r
3091             [\r
3092                 "30dceb43.a4b4ac"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "f515c1e9.93c64",\r
3098         "type": "success",\r
3099         "name": "success",\r
3100         "xml": "<outcome value='success'>\n",\r
3101         "comments": "",\r
3102         "outputs": 1,\r
3103         "x": 2671.000213623047,\r
3104         "y": 2712.99990940094,\r
3105         "z": "4d37a11.42c136",\r
3106         "wires": [\r
3107             [\r
3108                 "e7a629da.88d0d8"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "30dceb43.a4b4ac",\r
3114         "type": "returnFailure",\r
3115         "name": "return failure",\r
3116         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing slice creation api for domain A\" />\n",\r
3117         "comments": "",\r
3118         "x": 2810.0002479553223,\r
3119         "y": 2662.0000009536743,\r
3120         "z": "4d37a11.42c136",\r
3121         "wires": []\r
3122     },\r
3123     {\r
3124         "id": "e7a629da.88d0d8",\r
3125         "type": "block",\r
3126         "name": "block",\r
3127         "xml": "<block>\n",\r
3128         "atomic": "false",\r
3129         "comments": "",\r
3130         "outputs": 1,\r
3131         "x": 2816.02725982666,\r
3132         "y": 2710.745394706726,\r
3133         "z": "4d37a11.42c136",\r
3134         "wires": [\r
3135             []\r
3136         ]\r
3137     },\r
3138     {\r
3139         "id": "5651ec55.50184c",\r
3140         "type": "execute",\r
3141         "name": "execute RestApiCallNode slice creation domainB",\r
3142         "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
3143         "comments": "",\r
3144         "outputs": 1,\r
3145         "x": 2404,\r
3146         "y": 3054,\r
3147         "z": "4d37a11.42c136",\r
3148         "wires": [\r
3149             [\r
3150                 "55b8a548.7743b4",\r
3151                 "625f938a.695c34"\r
3152             ]\r
3153         ]\r
3154     },\r
3155     {\r
3156         "id": "625f938a.695c34",\r
3157         "type": "failure",\r
3158         "name": "failure",\r
3159         "xml": "<outcome value='failure'>\n",\r
3160         "comments": "",\r
3161         "outputs": 1,\r
3162         "x": 2670,\r
3163         "y": 3034,\r
3164         "z": "4d37a11.42c136",\r
3165         "wires": [\r
3166             [\r
3167                 "bcc07e6e.d74a18"\r
3168             ]\r
3169         ]\r
3170     },\r
3171     {\r
3172         "id": "55b8a548.7743b4",\r
3173         "type": "success",\r
3174         "name": "success",\r
3175         "xml": "<outcome value='success'>\n",\r
3176         "comments": "",\r
3177         "outputs": 1,\r
3178         "x": 2671.000213623047,\r
3179         "y": 3084.99990940094,\r
3180         "z": "4d37a11.42c136",\r
3181         "wires": [\r
3182             [\r
3183                 "42c61fdb.9a2b6"\r
3184             ]\r
3185         ]\r
3186     },\r
3187     {\r
3188         "id": "bcc07e6e.d74a18",\r
3189         "type": "returnFailure",\r
3190         "name": "return failure",\r
3191         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing slice creation api for domain B\" />\n",\r
3192         "comments": "",\r
3193         "x": 2810.0002479553223,\r
3194         "y": 3034.0000009536743,\r
3195         "z": "4d37a11.42c136",\r
3196         "wires": []\r
3197     },\r
3198     {\r
3199         "id": "42c61fdb.9a2b6",\r
3200         "type": "block",\r
3201         "name": "block",\r
3202         "xml": "<block>\n",\r
3203         "atomic": "false",\r
3204         "comments": "",\r
3205         "outputs": 1,\r
3206         "x": 2816.02725982666,\r
3207         "y": 3082.745394706726,\r
3208         "z": "4d37a11.42c136",\r
3209         "wires": [\r
3210             []\r
3211         ]\r
3212     },\r
3213     {\r
3214         "id": "ccfe530c.696ee",\r
3215         "type": "block",\r
3216         "name": "block : atomic",\r
3217         "xml": "<block atomic=\"true\">",\r
3218         "atomic": "true",\r
3219         "outputs": 1,\r
3220         "x": 2509,\r
3221         "y": 412,\r
3222         "z": "4d37a11.42c136",\r
3223         "wires": [\r
3224             [\r
3225                 "7c0e5ba2.cb2954",\r
3226                 "338a39d3.a481ce"\r
3227             ]\r
3228         ]\r
3229     },\r
3230     {\r
3231         "id": "338a39d3.a481ce",\r
3232         "type": "for",\r
3233         "name": "for each allotted-resource relationship",\r
3234         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
3235         "comments": "",\r
3236         "outputs": 1,\r
3237         "x": 2790,\r
3238         "y": 368,\r
3239         "z": "4d37a11.42c136",\r
3240         "wires": [\r
3241             [\r
3242                 "e9d2da22.090e3"\r
3243             ]\r
3244         ]\r
3245     },\r
3246     {\r
3247         "id": "e9d2da22.090e3",\r
3248         "type": "switchNode",\r
3249         "name": "switch related-to",\r
3250         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
3251         "comments": "",\r
3252         "outputs": 1,\r
3253         "x": 3052,\r
3254         "y": 368,\r
3255         "z": "4d37a11.42c136",\r
3256         "wires": [\r
3257             [\r
3258                 "ff4803af.9f0ab8"\r
3259             ]\r
3260         ]\r
3261     },\r
3262     {\r
3263         "id": "bf1946eb.ee80a8",\r
3264         "type": "outcome",\r
3265         "name": "network-resource",\r
3266         "xml": "<outcome value='network-resource'>",\r
3267         "comments": "",\r
3268         "outputs": 1,\r
3269         "x": 4433,\r
3270         "y": 721,\r
3271         "z": "4d37a11.42c136",\r
3272         "wires": [\r
3273             [\r
3274                 "c3550750.f869a"\r
3275             ]\r
3276         ]\r
3277     },\r
3278     {\r
3279         "id": "c3550750.f869a",\r
3280         "type": "block",\r
3281         "name": "block : atomic",\r
3282         "xml": "<block atomic=\"true\">",\r
3283         "atomic": "true",\r
3284         "outputs": 1,\r
3285         "x": 4610,\r
3286         "y": 713,\r
3287         "z": "4d37a11.42c136",\r
3288         "wires": [\r
3289             [\r
3290                 "775fd622.bb73b"\r
3291             ]\r
3292         ]\r
3293     },\r
3294     {\r
3295         "id": "775fd622.bb73b",\r
3296         "type": "set",\r
3297         "name": "set domainA ethernet layer network-id",\r
3298         "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
3299         "comments": "",\r
3300         "x": 4845,\r
3301         "y": 837,\r
3302         "z": "4d37a11.42c136",\r
3303         "wires": []\r
3304     },\r
3305     {\r
3306         "id": "fd89b518.9f0b6",\r
3307         "type": "set",\r
3308         "name": "set domainB ethernet layer network-id",\r
3309         "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
3310         "comments": "",\r
3311         "x": 4885,\r
3312         "y": 1677,\r
3313         "z": "4d37a11.42c136",\r
3314         "wires": []\r
3315     },\r
3316     {\r
3317         "id": "73a6ccfa.9f80e4",\r
3318         "type": "block",\r
3319         "name": "block : atomic",\r
3320         "xml": "<block atomic=\"true\">",\r
3321         "atomic": "true",\r
3322         "outputs": 1,\r
3323         "x": 4650,\r
3324         "y": 1553,\r
3325         "z": "4d37a11.42c136",\r
3326         "wires": [\r
3327             [\r
3328                 "fd89b518.9f0b6"\r
3329             ]\r
3330         ]\r
3331     },\r
3332     {\r
3333         "id": "f41408f6.625698",\r
3334         "type": "outcome",\r
3335         "name": "network-resource",\r
3336         "xml": "<outcome value='network-resource'>",\r
3337         "comments": "",\r
3338         "outputs": 1,\r
3339         "x": 4473,\r
3340         "y": 1561,\r
3341         "z": "4d37a11.42c136",\r
3342         "wires": [\r
3343             [\r
3344                 "73a6ccfa.9f80e4"\r
3345             ]\r
3346         ]\r
3347     },\r
3348     {\r
3349         "id": "edb297b0.c9f328",\r
3350         "type": "execute",\r
3351         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3352         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainA.eth-network-id + '/node=' + $tmp.src.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.src.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3353         "comments": "",\r
3354         "outputs": 1,\r
3355         "x": 2406,\r
3356         "y": 2815,\r
3357         "z": "4d37a11.42c136",\r
3358         "wires": [\r
3359             [\r
3360                 "cc44d1ea.6c2858",\r
3361                 "700c6956.d8abf8"\r
3362             ]\r
3363         ]\r
3364     },\r
3365     {\r
3366         "id": "700c6956.d8abf8",\r
3367         "type": "failure",\r
3368         "name": "failure",\r
3369         "xml": "<outcome value='failure'>\n",\r
3370         "comments": "",\r
3371         "outputs": 1,\r
3372         "x": 2672,\r
3373         "y": 2795,\r
3374         "z": "4d37a11.42c136",\r
3375         "wires": [\r
3376             [\r
3377                 "b7581f37.075ad"\r
3378             ]\r
3379         ]\r
3380     },\r
3381     {\r
3382         "id": "cc44d1ea.6c2858",\r
3383         "type": "success",\r
3384         "name": "success",\r
3385         "xml": "<outcome value='success'>\n",\r
3386         "comments": "",\r
3387         "outputs": 1,\r
3388         "x": 2673.000213623047,\r
3389         "y": 2845.99990940094,\r
3390         "z": "4d37a11.42c136",\r
3391         "wires": [\r
3392             [\r
3393                 "f67d237f.4b41c"\r
3394             ]\r
3395         ]\r
3396     },\r
3397     {\r
3398         "id": "b7581f37.075ad",\r
3399         "type": "returnFailure",\r
3400         "name": "return failure",\r
3401         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing UNI Coloring for domain A\" />\n",\r
3402         "comments": "",\r
3403         "x": 2812.0002479553223,\r
3404         "y": 2795.0000009536743,\r
3405         "z": "4d37a11.42c136",\r
3406         "wires": []\r
3407     },\r
3408     {\r
3409         "id": "f67d237f.4b41c",\r
3410         "type": "block",\r
3411         "name": "block",\r
3412         "xml": "<block>\n",\r
3413         "atomic": "false",\r
3414         "comments": "",\r
3415         "outputs": 1,\r
3416         "x": 2818.02725982666,\r
3417         "y": 2843.745394706726,\r
3418         "z": "4d37a11.42c136",\r
3419         "wires": [\r
3420             []\r
3421         ]\r
3422     },\r
3423     {\r
3424         "id": "91eba2f3.844de",\r
3425         "type": "execute",\r
3426         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3427         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-coloring-uni-port.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/data/ietf-network:networks/network=' + $tmp.domainB.eth-network-id + '/node=' + $tmp.dst.pnf-name + '/ietf-network-topology:termination-point=' + $tmp.dst.ltpId + '/ietf-te-topology:te' `\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"patch\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3428         "comments": "",\r
3429         "outputs": 1,\r
3430         "x": 2406,\r
3431         "y": 3181,\r
3432         "z": "4d37a11.42c136",\r
3433         "wires": [\r
3434             [\r
3435                 "cf85f70c.9ad7a",\r
3436                 "da777837.c4e49"\r
3437             ]\r
3438         ]\r
3439     },\r
3440     {\r
3441         "id": "da777837.c4e49",\r
3442         "type": "failure",\r
3443         "name": "failure",\r
3444         "xml": "<outcome value='failure'>\n",\r
3445         "comments": "",\r
3446         "outputs": 1,\r
3447         "x": 2672,\r
3448         "y": 3161,\r
3449         "z": "4d37a11.42c136",\r
3450         "wires": [\r
3451             [\r
3452                 "382ee7c9.8791c8"\r
3453             ]\r
3454         ]\r
3455     },\r
3456     {\r
3457         "id": "cf85f70c.9ad7a",\r
3458         "type": "success",\r
3459         "name": "success",\r
3460         "xml": "<outcome value='success'>\n",\r
3461         "comments": "",\r
3462         "outputs": 1,\r
3463         "x": 2673.000213623047,\r
3464         "y": 3211.99990940094,\r
3465         "z": "4d37a11.42c136",\r
3466         "wires": [\r
3467             [\r
3468                 "f2adb059.12803"\r
3469             ]\r
3470         ]\r
3471     },\r
3472     {\r
3473         "id": "382ee7c9.8791c8",\r
3474         "type": "returnFailure",\r
3475         "name": "return failure",\r
3476         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing UNI coloring for domain B\" />\n",\r
3477         "comments": "",\r
3478         "x": 2812.0002479553223,\r
3479         "y": 3161.0000009536743,\r
3480         "z": "4d37a11.42c136",\r
3481         "wires": []\r
3482     },\r
3483     {\r
3484         "id": "f2adb059.12803",\r
3485         "type": "block",\r
3486         "name": "block",\r
3487         "xml": "<block>\n",\r
3488         "atomic": "false",\r
3489         "comments": "",\r
3490         "outputs": 1,\r
3491         "x": 2818.02725982666,\r
3492         "y": 3209.745394706726,\r
3493         "z": "4d37a11.42c136",\r
3494         "wires": [\r
3495             []\r
3496         ]\r
3497     },\r
3498     {\r
3499         "id": "fae49c49.31b99",\r
3500         "type": "set",\r
3501         "name": "set the max bandwidth",\r
3502         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
3503         "comments": "",\r
3504         "x": 4091,\r
3505         "y": 498,\r
3506         "z": "4d37a11.42c136",\r
3507         "wires": []\r
3508     }\r
3509 ]