Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-modify.json
1 [\r
2     {\r
3         "id": "b86b0fef.6d8f2",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 228.56666564941406,\r
8         "y": 144.56666564941406,\r
9         "z": "25a21122.0e2cfe",\r
10         "wires": [\r
11             [\r
12                 "2128d45c.da5aa4"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "2128d45c.da5aa4",\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": 453.85235595703125,\r
26         "y": 218.8047742843628,\r
27         "z": "25a21122.0e2cfe",\r
28         "wires": [\r
29             [\r
30                 "70e99b08.a81814"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "70e99b08.a81814",\r
36         "type": "method",\r
37         "name": "method tsli-vnf-topology-operation-trans-slice-modify",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-modify' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 459.9952697753906,\r
42         "y": 303.5666961669922,\r
43         "z": "25a21122.0e2cfe",\r
44         "wires": [\r
45             [\r
46                 "3d648e68.8f83fa"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "3d648e68.8f83fa",\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": 829.8047027587891,\r
58         "y": 328.2333526611328,\r
59         "z": "25a21122.0e2cfe",\r
60         "wires": [\r
61             [\r
62                 "4898a5d2.c4814c",\r
63                 "43d16cc8.33970c",\r
64                 "dd074b01.699d5"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "4898a5d2.c4814c",\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": 1085.138198852539,\r
75         "y": 482.1636505126953,\r
76         "z": "25a21122.0e2cfe",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "43d16cc8.33970c",\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": 1152.566665649414,\r
87         "y": 301.56666564941406,\r
88         "z": "25a21122.0e2cfe",\r
89         "wires": [\r
90             [\r
91                 "5739653.c5aef1c",\r
92                 "4e5f3667.ce514",\r
93                 "7d9553c0.a90d3c"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "5739653.c5aef1c",\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": 1377.566665649414,\r
105         "y": 159.56666564941406,\r
106         "z": "25a21122.0e2cfe",\r
107         "wires": [\r
108             [\r
109                 "fc0ebeea.3842e8"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "4e5f3667.ce514",\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": 1373.057632446289,\r
121         "y": 229.1407012939453,\r
122         "z": "25a21122.0e2cfe",\r
123         "wires": [\r
124             [\r
125                 "9ccb6432.a6f758"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "7d9553c0.a90d3c",\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": 1361.566665649414,\r
137         "y": 275.56666564941406,\r
138         "z": "25a21122.0e2cfe",\r
139         "wires": [\r
140             [\r
141                 "2159c0a9.b6525"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "fc0ebeea.3842e8",\r
147         "type": "switchNode",\r
148         "name": "switch allotted-resources_length != 0",\r
149         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
150         "comments": "",\r
151         "outputs": 1,\r
152         "x": 1616.566665649414,\r
153         "y": 156.56666564941406,\r
154         "z": "25a21122.0e2cfe",\r
155         "wires": [\r
156             [\r
157                 "9f0f2f3b.2aa0c8",\r
158                 "29eb9fec.58b94"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "9ccb6432.a6f758",\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": 1526.6290435791016,\r
169         "y": 232.4264373779297,\r
170         "z": "25a21122.0e2cfe",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "2159c0a9.b6525",\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": 1530.566665649414,\r
180         "y": 276.56666564941406,\r
181         "z": "25a21122.0e2cfe",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "9f0f2f3b.2aa0c8",\r
186         "type": "outcomeTrue",\r
187         "name": "true",\r
188         "xml": "<outcome value='true'>\n",\r
189         "comments": "",\r
190         "outputs": 1,\r
191         "x": 1829.566665649414,\r
192         "y": 180.56666564941406,\r
193         "z": "25a21122.0e2cfe",\r
194         "wires": [\r
195             [\r
196                 "c939819f.3d19a"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "29eb9fec.58b94",\r
202         "type": "outcomeFalse",\r
203         "name": "false",\r
204         "xml": "<outcome value='false'>\n",\r
205         "comments": "",\r
206         "outputs": 1,\r
207         "x": 1831.566665649414,\r
208         "y": 120.56666564941406,\r
209         "z": "25a21122.0e2cfe",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "1c8a1ea6.0feed9",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1131.566665649414,\r
221         "y": 189.56666564941406,\r
222         "z": "25a21122.0e2cfe",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "c939819f.3d19a",\r
227         "type": "block",\r
228         "name": "block",\r
229         "xml": "<block>\n",\r
230         "atomic": "false",\r
231         "comments": "",\r
232         "outputs": 1,\r
233         "x": 1774.566665649414,\r
234         "y": 362.56666564941406,\r
235         "z": "25a21122.0e2cfe",\r
236         "wires": [\r
237             [\r
238                 "f0cde51e.fc048",\r
239                 "5a4aff44.5be78",\r
240                 "e781046f.1418e",\r
241                 "127eaa7a.98449e",\r
242                 "8780743f.a296a",\r
243                 "323fc4b1.60fe74"\r
244             ]\r
245         ]\r
246     },\r
247     {\r
248         "id": "db6151f2.0aacb",\r
249         "type": "set",\r
250         "name": "set network-route-A",\r
251         "xml": "<set>\n<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-name`\" />\n<!--<parameter name='network-route-A' value=\"`$tmp.aai.logical-link.link-id`\" />-->\n\n\n",\r
252         "comments": "",\r
253         "x": 4343.566665649414,\r
254         "y": 869.5666656494141,\r
255         "z": "25a21122.0e2cfe",\r
256         "wires": []\r
257     },\r
258     {\r
259         "id": "e016be81.6c64f",\r
260         "type": "set",\r
261         "name": "set network-route-B",\r
262         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
263         "comments": "",\r
264         "x": 4344.566665649414,\r
265         "y": 924.5666656494141,\r
266         "z": "25a21122.0e2cfe",\r
267         "wires": []\r
268     },\r
269     {\r
270         "id": "103cc7a8.7e9b88",\r
271         "type": "save",\r
272         "name": "get allotted-resource from aai",\r
273         "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
274         "comments": "",\r
275         "outputs": 1,\r
276         "x": 2300.566665649414,\r
277         "y": 319.56666564941406,\r
278         "z": "25a21122.0e2cfe",\r
279         "wires": [\r
280             [\r
281                 "f2966e51.e2caf8",\r
282                 "2b2db624.af7c1a",\r
283                 "626f780f.86dfb8"\r
284             ]\r
285         ]\r
286     },\r
287     {\r
288         "id": "f2966e51.e2caf8",\r
289         "type": "success",\r
290         "name": "success",\r
291         "xml": "<outcome value='success'>\n",\r
292         "comments": "",\r
293         "outputs": 1,\r
294         "x": 2516.566665649414,\r
295         "y": 386.56666564941406,\r
296         "z": "25a21122.0e2cfe",\r
297         "wires": [\r
298             [\r
299                 "8eff1c95.000698"\r
300             ]\r
301         ]\r
302     },\r
303     {\r
304         "id": "2b2db624.af7c1a",\r
305         "type": "not-found",\r
306         "name": "not-found",\r
307         "xml": "<outcome value='not-found'>\n",\r
308         "comments": "",\r
309         "outputs": 1,\r
310         "x": 2517.057632446289,\r
311         "y": 286.14064025878906,\r
312         "z": "25a21122.0e2cfe",\r
313         "wires": [\r
314             [\r
315                 "e741338f.fadbb8"\r
316             ]\r
317         ]\r
318     },\r
319     {\r
320         "id": "626f780f.86dfb8",\r
321         "type": "failure",\r
322         "name": "failure",\r
323         "xml": "<outcome value='failure'>\n",\r
324         "comments": "",\r
325         "outputs": 1,\r
326         "x": 2512.566665649414,\r
327         "y": 335.56666564941406,\r
328         "z": "25a21122.0e2cfe",\r
329         "wires": [\r
330             [\r
331                 "2cb8a0b4.ed0f98"\r
332             ]\r
333         ]\r
334     },\r
335     {\r
336         "id": "e741338f.fadbb8",\r
337         "type": "returnFailure",\r
338         "name": "return failure",\r
339         "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
340         "comments": "",\r
341         "x": 2694.629165649414,\r
342         "y": 286.42640686035156,\r
343         "z": "25a21122.0e2cfe",\r
344         "wires": []\r
345     },\r
346     {\r
347         "id": "2cb8a0b4.ed0f98",\r
348         "type": "returnFailure",\r
349         "name": "return failure",\r
350         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
351         "comments": "",\r
352         "x": 2694.566665649414,\r
353         "y": 335.56666564941406,\r
354         "z": "25a21122.0e2cfe",\r
355         "wires": []\r
356     },\r
357     {\r
358         "id": "1c10a7b4.762648",\r
359         "type": "save",\r
360         "name": "get logical-link from aai",\r
361         "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
362         "comments": "",\r
363         "outputs": 1,\r
364         "x": 3569.566665649414,\r
365         "y": 840.5666656494141,\r
366         "z": "25a21122.0e2cfe",\r
367         "wires": [\r
368             [\r
369                 "54f63921.d24288",\r
370                 "11c3d54e.f4363b",\r
371                 "e636914f.ca32e"\r
372             ]\r
373         ]\r
374     },\r
375     {\r
376         "id": "54f63921.d24288",\r
377         "type": "not-found",\r
378         "name": "not-found",\r
379         "xml": "<outcome value='not-found'>\n",\r
380         "comments": "",\r
381         "outputs": 1,\r
382         "x": 3861.057632446289,\r
383         "y": 819.1406402587891,\r
384         "z": "25a21122.0e2cfe",\r
385         "wires": [\r
386             [\r
387                 "4ad84bdb.1011e4"\r
388             ]\r
389         ]\r
390     },\r
391     {\r
392         "id": "11c3d54e.f4363b",\r
393         "type": "failure",\r
394         "name": "failure",\r
395         "xml": "<outcome value='failure'>\n",\r
396         "comments": "",\r
397         "outputs": 1,\r
398         "x": 3849.566665649414,\r
399         "y": 863.5666656494141,\r
400         "z": "25a21122.0e2cfe",\r
401         "wires": [\r
402             [\r
403                 "611bd1d0.bbec68"\r
404             ]\r
405         ]\r
406     },\r
407     {\r
408         "id": "4ad84bdb.1011e4",\r
409         "type": "returnFailure",\r
410         "name": "return failure",\r
411         "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
412         "comments": "",\r
413         "x": 4009.629165649414,\r
414         "y": 819.4264068603516,\r
415         "z": "25a21122.0e2cfe",\r
416         "wires": []\r
417     },\r
418     {\r
419         "id": "611bd1d0.bbec68",\r
420         "type": "returnFailure",\r
421         "name": "return failure",\r
422         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
423         "comments": "",\r
424         "x": 4008.566665649414,\r
425         "y": 863.5666656494141,\r
426         "z": "25a21122.0e2cfe",\r
427         "wires": []\r
428     },\r
429     {\r
430         "id": "e636914f.ca32e",\r
431         "type": "success",\r
432         "name": "success",\r
433         "xml": "<outcome value='success'>\n",\r
434         "comments": "",\r
435         "outputs": 1,\r
436         "x": 3855.566665649414,\r
437         "y": 910.5666656494141,\r
438         "z": "25a21122.0e2cfe",\r
439         "wires": [\r
440             []\r
441         ]\r
442     },\r
443     {\r
444         "id": "4dddc413.6cd63c",\r
445         "type": "block",\r
446         "name": "block",\r
447         "xml": "<block>\n",\r
448         "atomic": "false",\r
449         "comments": "",\r
450         "outputs": 1,\r
451         "x": 4009.566665649414,\r
452         "y": 949.5666656494141,\r
453         "z": "25a21122.0e2cfe",\r
454         "wires": [\r
455             [\r
456                 "db6151f2.0aacb",\r
457                 "e016be81.6c64f",\r
458                 "9f8998d0.ce9c48",\r
459                 "44a9159e.85e724",\r
460                 "8f0ab711.e0d798",\r
461                 "d96045a7.1a29c8",\r
462                 "7c9d6be0.59e3fc",\r
463                 "5f01b0d6.663678",\r
464                 "96f11e74.5cf9",\r
465                 "32dd1d69.d1982a",\r
466                 "fefb165c.6d9d48",\r
467                 "afd6fb79.f36b6",\r
468                 "1a397526.128d93"\r
469             ]\r
470         ]\r
471     },\r
472     {\r
473         "id": "9f8998d0.ce9c48",\r
474         "type": "save",\r
475         "name": "get network-route-A from aai",\r
476         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-A'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-A\">",\r
477         "comments": "",\r
478         "outputs": 1,\r
479         "x": 4356.566665649414,\r
480         "y": 992.5666656494141,\r
481         "z": "25a21122.0e2cfe",\r
482         "wires": [\r
483             [\r
484                 "ad94bc3e.2edb18",\r
485                 "3c6b8cbe.35a074",\r
486                 "e925e05d.5c3e7"\r
487             ]\r
488         ]\r
489     },\r
490     {\r
491         "id": "44a9159e.85e724",\r
492         "type": "save",\r
493         "name": "get network-route-B from aai",\r
494         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-B'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-B\">",\r
495         "comments": "",\r
496         "outputs": 1,\r
497         "x": 4335.566665649414,\r
498         "y": 1594.5665435791016,\r
499         "z": "25a21122.0e2cfe",\r
500         "wires": [\r
501             [\r
502                 "ce3181da.534ae8",\r
503                 "dd474f13.0169c8",\r
504                 "1e53e46c.6ee5dc"\r
505             ]\r
506         ]\r
507     },\r
508     {\r
509         "id": "ad94bc3e.2edb18",\r
510         "type": "not-found",\r
511         "name": "not-found",\r
512         "xml": "<outcome value='not-found'>\n",\r
513         "comments": "",\r
514         "outputs": 1,\r
515         "x": 4557.566665649414,\r
516         "y": 876.5666656494141,\r
517         "z": "25a21122.0e2cfe",\r
518         "wires": [\r
519             [\r
520                 "11095a88.1d6375"\r
521             ]\r
522         ]\r
523     },\r
524     {\r
525         "id": "3c6b8cbe.35a074",\r
526         "type": "failure",\r
527         "name": "failure",\r
528         "xml": "<outcome value='failure'>\n",\r
529         "comments": "",\r
530         "outputs": 1,\r
531         "x": 4553.075698852539,\r
532         "y": 925.9926910400391,\r
533         "z": "25a21122.0e2cfe",\r
534         "wires": [\r
535             [\r
536                 "1c85f4a2.49e393"\r
537             ]\r
538         ]\r
539     },\r
540     {\r
541         "id": "e925e05d.5c3e7",\r
542         "type": "success",\r
543         "name": "success",\r
544         "xml": "<outcome value='success'>\n",\r
545         "comments": "",\r
546         "outputs": 1,\r
547         "x": 4557.075698852539,\r
548         "y": 976.9926910400391,\r
549         "z": "25a21122.0e2cfe",\r
550         "wires": [\r
551             [\r
552                 "7e7cdd76.7cfb84"\r
553             ]\r
554         ]\r
555     },\r
556     {\r
557         "id": "11095a88.1d6375",\r
558         "type": "returnFailure",\r
559         "name": "return failure",\r
560         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
561         "comments": "",\r
562         "x": 4706.138198852539,\r
563         "y": 875.8524322509766,\r
564         "z": "25a21122.0e2cfe",\r
565         "wires": []\r
566     },\r
567     {\r
568         "id": "1c85f4a2.49e393",\r
569         "type": "returnFailure",\r
570         "name": "return failure",\r
571         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
572         "comments": "",\r
573         "x": 4696.075698852539,\r
574         "y": 925.9926910400391,\r
575         "z": "25a21122.0e2cfe",\r
576         "wires": []\r
577     },\r
578     {\r
579         "id": "ce3181da.534ae8",\r
580         "type": "not-found",\r
581         "name": "not-found",\r
582         "xml": "<outcome value='not-found'>\n",\r
583         "comments": "",\r
584         "outputs": 1,\r
585         "x": 4558.566665649414,\r
586         "y": 1564.5665435791016,\r
587         "z": "25a21122.0e2cfe",\r
588         "wires": [\r
589             [\r
590                 "b22dee41.00f36"\r
591             ]\r
592         ]\r
593     },\r
594     {\r
595         "id": "dd474f13.0169c8",\r
596         "type": "failure",\r
597         "name": "failure",\r
598         "xml": "<outcome value='failure'>\n",\r
599         "comments": "",\r
600         "outputs": 1,\r
601         "x": 4554.075698852539,\r
602         "y": 1613.9925689697266,\r
603         "z": "25a21122.0e2cfe",\r
604         "wires": [\r
605             [\r
606                 "6933584e.ecc31"\r
607             ]\r
608         ]\r
609     },\r
610     {\r
611         "id": "1e53e46c.6ee5dc",\r
612         "type": "success",\r
613         "name": "success",\r
614         "xml": "<outcome value='success'>\n",\r
615         "comments": "",\r
616         "outputs": 1,\r
617         "x": 4558.075698852539,\r
618         "y": 1664.9925689697266,\r
619         "z": "25a21122.0e2cfe",\r
620         "wires": [\r
621             [\r
622                 "b7fe5d85.6c90f"\r
623             ]\r
624         ]\r
625     },\r
626     {\r
627         "id": "b22dee41.00f36",\r
628         "type": "returnFailure",\r
629         "name": "return failure",\r
630         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
631         "comments": "",\r
632         "x": 4707.138198852539,\r
633         "y": 1563.852310180664,\r
634         "z": "25a21122.0e2cfe",\r
635         "wires": []\r
636     },\r
637     {\r
638         "id": "6933584e.ecc31",\r
639         "type": "returnFailure",\r
640         "name": "return failure",\r
641         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
642         "comments": "",\r
643         "x": 4697.075698852539,\r
644         "y": 1613.9925689697266,\r
645         "z": "25a21122.0e2cfe",\r
646         "wires": []\r
647     },\r
648     {\r
649         "id": "95843474.b9bce8",\r
650         "type": "block",\r
651         "name": "block : atomic",\r
652         "xml": "<block atomic=\"true\">",\r
653         "atomic": "true",\r
654         "outputs": 1,\r
655         "x": 5371.233169555664,\r
656         "y": 1020.5666656494141,\r
657         "z": "25a21122.0e2cfe",\r
658         "wires": [\r
659             [\r
660                 "b4615ea7.1bce1",\r
661                 "be2e7ced.c4df",\r
662                 "ce2c131b.42f24",\r
663                 "71b17710.70c14",\r
664                 "89a7842f.afd83"\r
665             ]\r
666         ]\r
667     },\r
668     {\r
669         "id": "4503129f.bd2fd4",\r
670         "type": "success",\r
671         "name": "success",\r
672         "xml": "<outcome value='success'>\n",\r
673         "comments": "",\r
674         "outputs": 1,\r
675         "x": 5198.566665649414,\r
676         "y": 1021.5666656494141,\r
677         "z": "25a21122.0e2cfe",\r
678         "wires": [\r
679             [\r
680                 "95843474.b9bce8"\r
681             ]\r
682         ]\r
683     },\r
684     {\r
685         "id": "8659354b.96b4a",\r
686         "type": "not-found",\r
687         "name": "not-found",\r
688         "xml": "<outcome value='not-found'>\n",\r
689         "comments": "",\r
690         "outputs": 1,\r
691         "x": 5208.057632446289,\r
692         "y": 1064.1407012939453,\r
693         "z": "25a21122.0e2cfe",\r
694         "wires": [\r
695             [\r
696                 "df26ebdc.1c7d8"\r
697             ]\r
698         ]\r
699     },\r
700     {\r
701         "id": "f14e9aee.41ddd",\r
702         "type": "failure",\r
703         "name": "failure",\r
704         "xml": "<outcome value='failure'>\n",\r
705         "comments": "",\r
706         "outputs": 1,\r
707         "x": 5196.566665649414,\r
708         "y": 1110.566665649414,\r
709         "z": "25a21122.0e2cfe",\r
710         "wires": [\r
711             [\r
712                 "779f16ad.79c298"\r
713             ]\r
714         ]\r
715     },\r
716     {\r
717         "id": "df26ebdc.1c7d8",\r
718         "type": "returnFailure",\r
719         "name": "return failure",\r
720         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
721         "comments": "",\r
722         "x": 5361.629043579102,\r
723         "y": 1067.4264373779297,\r
724         "z": "25a21122.0e2cfe",\r
725         "wires": []\r
726     },\r
727     {\r
728         "id": "779f16ad.79c298",\r
729         "type": "returnFailure",\r
730         "name": "return failure",\r
731         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
732         "comments": "",\r
733         "x": 5365.566665649414,\r
734         "y": 1111.566665649414,\r
735         "z": "25a21122.0e2cfe",\r
736         "wires": []\r
737     },\r
738     {\r
739         "id": "7e7cdd76.7cfb84",\r
740         "type": "block",\r
741         "name": "block : atomic",\r
742         "xml": "<block atomic=\"true\">",\r
743         "atomic": "true",\r
744         "outputs": 1,\r
745         "x": 4718.566665649414,\r
746         "y": 978.5666656494141,\r
747         "z": "25a21122.0e2cfe",\r
748         "wires": [\r
749             [\r
750                 "d6ce477c.e6b1",\r
751                 "6ff01134.d27b1"\r
752             ]\r
753         ]\r
754     },\r
755     {\r
756         "id": "b7fe5d85.6c90f",\r
757         "type": "block",\r
758         "name": "block : atomic",\r
759         "xml": "<block atomic=\"true\">",\r
760         "atomic": "true",\r
761         "outputs": 1,\r
762         "x": 4708.566665649414,\r
763         "y": 1666.5665435791016,\r
764         "z": "25a21122.0e2cfe",\r
765         "wires": [\r
766             [\r
767                 "44dc4d90.b0cc4c",\r
768                 "abe40e95.5db908"\r
769             ]\r
770         ]\r
771     },\r
772     {\r
773         "id": "12aedd33.0f1043",\r
774         "type": "block",\r
775         "name": "block : atomic",\r
776         "xml": "<block atomic=\"true\">",\r
777         "atomic": "true",\r
778         "outputs": 1,\r
779         "x": 5339.233169555664,\r
780         "y": 1856.566665649414,\r
781         "z": "25a21122.0e2cfe",\r
782         "wires": [\r
783             [\r
784                 "e22e2a42.a26b1",\r
785                 "cf28df7d.f3d4b",\r
786                 "daaed265.7759a8",\r
787                 "cb8398b0.7dbb5",\r
788                 "7bc8d59f.6d2444"\r
789             ]\r
790         ]\r
791     },\r
792     {\r
793         "id": "9a2935ba.2db97",\r
794         "type": "success",\r
795         "name": "success",\r
796         "xml": "<outcome value='success'>\n",\r
797         "comments": "",\r
798         "outputs": 1,\r
799         "x": 5166.566665649414,\r
800         "y": 1857.566665649414,\r
801         "z": "25a21122.0e2cfe",\r
802         "wires": [\r
803             [\r
804                 "12aedd33.0f1043"\r
805             ]\r
806         ]\r
807     },\r
808     {\r
809         "id": "dcc235b8.72838",\r
810         "type": "not-found",\r
811         "name": "not-found",\r
812         "xml": "<outcome value='not-found'>\n",\r
813         "comments": "",\r
814         "outputs": 1,\r
815         "x": 5176.057632446289,\r
816         "y": 1900.1407012939453,\r
817         "z": "25a21122.0e2cfe",\r
818         "wires": [\r
819             [\r
820                 "6a73fa3d.d6c2b4"\r
821             ]\r
822         ]\r
823     },\r
824     {\r
825         "id": "262965f5.6cf9ea",\r
826         "type": "failure",\r
827         "name": "failure",\r
828         "xml": "<outcome value='failure'>\n",\r
829         "comments": "",\r
830         "outputs": 1,\r
831         "x": 5164.566665649414,\r
832         "y": 1946.566665649414,\r
833         "z": "25a21122.0e2cfe",\r
834         "wires": [\r
835             [\r
836                 "403c1229.13a954"\r
837             ]\r
838         ]\r
839     },\r
840     {\r
841         "id": "6a73fa3d.d6c2b4",\r
842         "type": "returnFailure",\r
843         "name": "return failure",\r
844         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
845         "comments": "",\r
846         "x": 5329.629043579102,\r
847         "y": 1903.4264373779297,\r
848         "z": "25a21122.0e2cfe",\r
849         "wires": []\r
850     },\r
851     {\r
852         "id": "403c1229.13a954",\r
853         "type": "returnFailure",\r
854         "name": "return failure",\r
855         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
856         "comments": "",\r
857         "x": 5333.566665649414,\r
858         "y": 1947.566665649414,\r
859         "z": "25a21122.0e2cfe",\r
860         "wires": []\r
861     },\r
862     {\r
863         "id": "b4615ea7.1bce1",\r
864         "type": "execute",\r
865         "name": "execute split tp-id to get pnf-name",\r
866         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
867         "comments": "",\r
868         "outputs": 1,\r
869         "x": 5635.566665649414,\r
870         "y": 1004.5666656494141,\r
871         "z": "25a21122.0e2cfe",\r
872         "wires": [\r
873             [\r
874                 "7fca3373.091184",\r
875                 "84a28ee2.eeb658"\r
876             ]\r
877         ]\r
878     },\r
879     {\r
880         "id": "84a28ee2.eeb658",\r
881         "type": "failure",\r
882         "name": "success",\r
883         "xml": "<outcome value='success'>\n",\r
884         "comments": "",\r
885         "outputs": 1,\r
886         "x": 5858.566665649414,\r
887         "y": 959.5666656494141,\r
888         "z": "25a21122.0e2cfe",\r
889         "wires": [\r
890             [\r
891                 "70d4fffc.d22c5"\r
892             ]\r
893         ]\r
894     },\r
895     {\r
896         "id": "7fca3373.091184",\r
897         "type": "failure",\r
898         "name": "failure",\r
899         "xml": "<outcome value='failure'>\n",\r
900         "comments": "",\r
901         "outputs": 1,\r
902         "x": 5860.566665649414,\r
903         "y": 1023.5666656494141,\r
904         "z": "25a21122.0e2cfe",\r
905         "wires": [\r
906             [\r
907                 "3dce84d0.b85dd4"\r
908             ]\r
909         ]\r
910     },\r
911     {\r
912         "id": "850dbb90.b4b68",\r
913         "type": "set",\r
914         "name": "set ltpId",\r
915         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
916         "comments": "",\r
917         "x": 6193.566665649414,\r
918         "y": 914.5666656494141,\r
919         "z": "25a21122.0e2cfe",\r
920         "wires": []\r
921     },\r
922     {\r
923         "id": "3dce84d0.b85dd4",\r
924         "type": "returnFailure",\r
925         "name": "return failure",\r
926         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
927         "comments": "",\r
928         "x": 6022.566665649414,\r
929         "y": 1019.5666656494141,\r
930         "z": "25a21122.0e2cfe",\r
931         "wires": []\r
932     },\r
933     {\r
934         "id": "70d4fffc.d22c5",\r
935         "type": "block",\r
936         "name": "block : atomic",\r
937         "xml": "<block atomic=\"true\">",\r
938         "atomic": "true",\r
939         "outputs": 1,\r
940         "x": 6023.566665649414,\r
941         "y": 956.5666656494141,\r
942         "z": "25a21122.0e2cfe",\r
943         "wires": [\r
944             [\r
945                 "caf9269d.270b2",\r
946                 "850dbb90.b4b68"\r
947             ]\r
948         ]\r
949     },\r
950     {\r
951         "id": "caf9269d.270b2",\r
952         "type": "set",\r
953         "name": "set pnf-name",\r
954         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
955         "comments": "",\r
956         "x": 6194.566665649414,\r
957         "y": 1022.5666656494141,\r
958         "z": "25a21122.0e2cfe",\r
959         "wires": []\r
960     },\r
961     {\r
962         "id": "59bf2583.d75a84",\r
963         "type": "comment",\r
964         "name": "TODO: FIXME",\r
965         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
966         "comments": "",\r
967         "x": 6195.566665649414,\r
968         "y": 971.5666656494141,\r
969         "z": "25a21122.0e2cfe",\r
970         "wires": []\r
971     },\r
972     {\r
973         "id": "be2e7ced.c4df",\r
974         "type": "execute",\r
975         "name": "execute UUID generator for connectivity domainA",\r
976         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
977         "comments": "",\r
978         "outputs": 1,\r
979         "x": 5682.566665649414,\r
980         "y": 1073.566665649414,\r
981         "z": "25a21122.0e2cfe",\r
982         "wires": [\r
983             []\r
984         ]\r
985     },\r
986     {\r
987         "id": "27594e13.316c22",\r
988         "type": "comment",\r
989         "name": "TODO: FIXME",\r
990         "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
991         "comments": "",\r
992         "x": 5571.566665649414,\r
993         "y": 1114.566665649414,\r
994         "z": "25a21122.0e2cfe",\r
995         "wires": []\r
996     },\r
997     {\r
998         "id": "e22e2a42.a26b1",\r
999         "type": "execute",\r
1000         "name": "execute split tp-id to get pnf-name",\r
1001         "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
1002         "comments": "",\r
1003         "outputs": 1,\r
1004         "x": 5625.566665649414,\r
1005         "y": 1860.5667877197266,\r
1006         "z": "25a21122.0e2cfe",\r
1007         "wires": [\r
1008             [\r
1009                 "b2f644ca.d12c2",\r
1010                 "b58bca2c.4bf2c"\r
1011             ]\r
1012         ]\r
1013     },\r
1014     {\r
1015         "id": "b58bca2c.4bf2c",\r
1016         "type": "failure",\r
1017         "name": "success",\r
1018         "xml": "<outcome value='success'>\n",\r
1019         "comments": "",\r
1020         "outputs": 1,\r
1021         "x": 5848.566665649414,\r
1022         "y": 1815.5667877197266,\r
1023         "z": "25a21122.0e2cfe",\r
1024         "wires": [\r
1025             [\r
1026                 "983024ad.f8675"\r
1027             ]\r
1028         ]\r
1029     },\r
1030     {\r
1031         "id": "b2f644ca.d12c2",\r
1032         "type": "failure",\r
1033         "name": "failure",\r
1034         "xml": "<outcome value='failure'>\n",\r
1035         "comments": "",\r
1036         "outputs": 1,\r
1037         "x": 5850.566665649414,\r
1038         "y": 1879.5667877197266,\r
1039         "z": "25a21122.0e2cfe",\r
1040         "wires": [\r
1041             [\r
1042                 "4af84f4.a49b8b"\r
1043             ]\r
1044         ]\r
1045     },\r
1046     {\r
1047         "id": "c96d7934.c0e9e8",\r
1048         "type": "set",\r
1049         "name": "set ltpId",\r
1050         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1051         "comments": "",\r
1052         "x": 6183.566665649414,\r
1053         "y": 1773.5667877197266,\r
1054         "z": "25a21122.0e2cfe",\r
1055         "wires": []\r
1056     },\r
1057     {\r
1058         "id": "4af84f4.a49b8b",\r
1059         "type": "returnFailure",\r
1060         "name": "return failure",\r
1061         "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
1062         "comments": "",\r
1063         "x": 6009.566665649414,\r
1064         "y": 1898.5667877197266,\r
1065         "z": "25a21122.0e2cfe",\r
1066         "wires": []\r
1067     },\r
1068     {\r
1069         "id": "983024ad.f8675",\r
1070         "type": "block",\r
1071         "name": "block : atomic",\r
1072         "xml": "<block atomic=\"true\">",\r
1073         "atomic": "true",\r
1074         "outputs": 1,\r
1075         "x": 6013.566665649414,\r
1076         "y": 1812.5667877197266,\r
1077         "z": "25a21122.0e2cfe",\r
1078         "wires": [\r
1079             [\r
1080                 "c96d7934.c0e9e8",\r
1081                 "183e4dc8.9e45ba"\r
1082             ]\r
1083         ]\r
1084     },\r
1085     {\r
1086         "id": "183e4dc8.9e45ba",\r
1087         "type": "set",\r
1088         "name": "set pnf-name",\r
1089         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1090         "comments": "",\r
1091         "x": 6184.566665649414,\r
1092         "y": 1878.5667877197266,\r
1093         "z": "25a21122.0e2cfe",\r
1094         "wires": []\r
1095     },\r
1096     {\r
1097         "id": "57730d78.763bfc",\r
1098         "type": "comment",\r
1099         "name": "TODO: FIXME",\r
1100         "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
1101         "comments": "",\r
1102         "x": 6179.566665649414,\r
1103         "y": 1827.5667877197266,\r
1104         "z": "25a21122.0e2cfe",\r
1105         "wires": []\r
1106     },\r
1107     {\r
1108         "id": "daaed265.7759a8",\r
1109         "type": "save",\r
1110         "name": "save connectivity resource in AAI",\r
1111         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1112         "comments": "",\r
1113         "outputs": 1,\r
1114         "x": 5627.566665649414,\r
1115         "y": 2019.5667877197266,\r
1116         "z": "25a21122.0e2cfe",\r
1117         "wires": [\r
1118             []\r
1119         ]\r
1120     },\r
1121     {\r
1122         "id": "cf28df7d.f3d4b",\r
1123         "type": "execute",\r
1124         "name": "execute UUID generator for connectivity domainB",\r
1125         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1126         "comments": "",\r
1127         "outputs": 1,\r
1128         "x": 5672.566665649414,\r
1129         "y": 1929.5667877197266,\r
1130         "z": "25a21122.0e2cfe",\r
1131         "wires": [\r
1132             []\r
1133         ]\r
1134     },\r
1135     {\r
1136         "id": "9f3e922b.b3211",\r
1137         "type": "comment",\r
1138         "name": "TODO: FIXME",\r
1139         "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
1140         "comments": "",\r
1141         "x": 5561.566665649414,\r
1142         "y": 1967.5667877197266,\r
1143         "z": "25a21122.0e2cfe",\r
1144         "wires": []\r
1145     },\r
1146     {\r
1147         "id": "8f0ab711.e0d798",\r
1148         "type": "call",\r
1149         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1150         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1151         "comments": "",\r
1152         "outputs": 1,\r
1153         "x": 4556.566665649414,\r
1154         "y": 2264.566665649414,\r
1155         "z": "25a21122.0e2cfe",\r
1156         "wires": [\r
1157             []\r
1158         ]\r
1159     },\r
1160     {\r
1161         "id": "d96045a7.1a29c8",\r
1162         "type": "set",\r
1163         "name": "set attachment_param",\r
1164         "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
1165         "comments": "",\r
1166         "x": 4350.566665649414,\r
1167         "y": 2165.566665649414,\r
1168         "z": "25a21122.0e2cfe",\r
1169         "wires": []\r
1170     },\r
1171     {\r
1172         "id": "d2d69fa1.baa39",\r
1173         "type": "comment",\r
1174         "name": "TODO: FIXME",\r
1175         "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
1176         "comments": "",\r
1177         "x": 4324.566665649414,\r
1178         "y": 2118.566665649414,\r
1179         "z": "25a21122.0e2cfe",\r
1180         "wires": []\r
1181     },\r
1182     {\r
1183         "id": "ce2c131b.42f24",\r
1184         "type": "save",\r
1185         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1186         "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
1187         "comments": "",\r
1188         "outputs": 1,\r
1189         "x": 5765.566665649414,\r
1190         "y": 1211.566665649414,\r
1191         "z": "25a21122.0e2cfe",\r
1192         "wires": [\r
1193             []\r
1194         ]\r
1195     },\r
1196     {\r
1197         "id": "cb8398b0.7dbb5",\r
1198         "type": "save",\r
1199         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1200         "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
1201         "comments": "",\r
1202         "outputs": 1,\r
1203         "x": 5754.566665649414,\r
1204         "y": 2084.5667877197266,\r
1205         "z": "25a21122.0e2cfe",\r
1206         "wires": [\r
1207             []\r
1208         ]\r
1209     },\r
1210     {\r
1211         "id": "92b1873d.551bc",\r
1212         "type": "execute",\r
1213         "name": "get esr-thirdparty-sdnc",\r
1214         "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
1215         "comments": "",\r
1216         "outputs": 1,\r
1217         "x": 6809.566665649414,\r
1218         "y": 731.5666656494141,\r
1219         "z": "25a21122.0e2cfe",\r
1220         "wires": [\r
1221             [\r
1222                 "3b96c7df.05e2",\r
1223                 "1eec19a2.07645e",\r
1224                 "b1213bca.c3532"\r
1225             ]\r
1226         ]\r
1227     },\r
1228     {\r
1229         "id": "8eff1c95.000698",\r
1230         "type": "block",\r
1231         "name": "block : atomic",\r
1232         "xml": "<block atomic=\"true\">",\r
1233         "atomic": "true",\r
1234         "outputs": 1,\r
1235         "x": 2696.566665649414,\r
1236         "y": 386.56666564941406,\r
1237         "z": "25a21122.0e2cfe",\r
1238         "wires": [\r
1239             [\r
1240                 "ad97eaf2.db3cf"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "5c4d87c2.cacd08",\r
1246         "type": "outcome",\r
1247         "name": "logical-link",\r
1248         "xml": "<outcome value='logical-link'>\n",\r
1249         "comments": "",\r
1250         "outputs": 1,\r
1251         "x": 1093.5667877197266,\r
1252         "y": 781.5667877197266,\r
1253         "z": "25a21122.0e2cfe",\r
1254         "wires": [\r
1255             [\r
1256                 "ba05feca.357468"\r
1257             ]\r
1258         ]\r
1259     },\r
1260     {\r
1261         "id": "41f5506e.8f5aa",\r
1262         "type": "switchNode",\r
1263         "name": "switch allotted-resource.relationship-list not empty",\r
1264         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1265         "comments": "",\r
1266         "outputs": 1,\r
1267         "x": 2259.566665649414,\r
1268         "y": 480.56666564941406,\r
1269         "z": "25a21122.0e2cfe",\r
1270         "wires": [\r
1271             [\r
1272                 "8b2a546b.9f5318",\r
1273                 "f654fc01.bf0048"\r
1274             ]\r
1275         ]\r
1276     },\r
1277     {\r
1278         "id": "f654fc01.bf0048",\r
1279         "type": "outcomeFalse",\r
1280         "name": "false",\r
1281         "xml": "<outcome value='false'>\n",\r
1282         "comments": "",\r
1283         "outputs": 1,\r
1284         "x": 2580.566665649414,\r
1285         "y": 462.56666564941406,\r
1286         "z": "25a21122.0e2cfe",\r
1287         "wires": [\r
1288             []\r
1289         ]\r
1290     },\r
1291     {\r
1292         "id": "8b2a546b.9f5318",\r
1293         "type": "outcomeTrue",\r
1294         "name": "true",\r
1295         "xml": "<outcome value='true'>\n",\r
1296         "comments": "",\r
1297         "outputs": 1,\r
1298         "x": 2562.566665649414,\r
1299         "y": 560.5666656494141,\r
1300         "z": "25a21122.0e2cfe",\r
1301         "wires": [\r
1302             [\r
1303                 "24772c6a.a8483c"\r
1304             ]\r
1305         ]\r
1306     },\r
1307     {\r
1308         "id": "94799b47.aa87f8",\r
1309         "type": "set",\r
1310         "name": "set the current logical-link-name",\r
1311         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n<parameter name='currLinkIsFound' value=\"false\" />\n\n\n",\r
1312         "comments": "",\r
1313         "x": 1516.566665649414,\r
1314         "y": 684.5666656494141,\r
1315         "z": "25a21122.0e2cfe",\r
1316         "wires": []\r
1317     },\r
1318     {\r
1319         "id": "ba05feca.357468",\r
1320         "type": "block",\r
1321         "name": "block : atomic",\r
1322         "xml": "<block atomic=\"true\">",\r
1323         "atomic": "true",\r
1324         "outputs": 1,\r
1325         "x": 1270.566665649414,\r
1326         "y": 774.5666656494141,\r
1327         "z": "25a21122.0e2cfe",\r
1328         "wires": [\r
1329             [\r
1330                 "94799b47.aa87f8",\r
1331                 "433e887a.5dd2c",\r
1332                 "fc0b0bdf.af57e8"\r
1333             ]\r
1334         ]\r
1335     },\r
1336     {\r
1337         "id": "fa0822cd.53caf",\r
1338         "type": "comment",\r
1339         "name": "Question?",\r
1340         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1341         "comments": "",\r
1342         "x": 4898.566665649414,\r
1343         "y": 983.5666656494141,\r
1344         "z": "25a21122.0e2cfe",\r
1345         "wires": []\r
1346     },\r
1347     {\r
1348         "id": "d6ce477c.e6b1",\r
1349         "type": "save",\r
1350         "name": "get p-interface-src from aai",\r
1351         "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
1352         "comments": "",\r
1353         "outputs": 1,\r
1354         "x": 4941.566665649414,\r
1355         "y": 1048.566665649414,\r
1356         "z": "25a21122.0e2cfe",\r
1357         "wires": [\r
1358             [\r
1359                 "4503129f.bd2fd4",\r
1360                 "8659354b.96b4a",\r
1361                 "f14e9aee.41ddd"\r
1362             ]\r
1363         ]\r
1364     },\r
1365     {\r
1366         "id": "44dc4d90.b0cc4c",\r
1367         "type": "save",\r
1368         "name": "get p-interface-dst from aai",\r
1369         "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
1370         "comments": "",\r
1371         "outputs": 1,\r
1372         "x": 4938.566665649414,\r
1373         "y": 1892.566665649414,\r
1374         "z": "25a21122.0e2cfe",\r
1375         "wires": [\r
1376             [\r
1377                 "9a2935ba.2db97",\r
1378                 "dcc235b8.72838",\r
1379                 "262965f5.6cf9ea"\r
1380             ]\r
1381         ]\r
1382     },\r
1383     {\r
1384         "id": "2ca1c6c2.0f0f22",\r
1385         "type": "comment",\r
1386         "name": "Question?",\r
1387         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1388         "comments": "",\r
1389         "x": 4899.566665649414,\r
1390         "y": 1836.566665649414,\r
1391         "z": "25a21122.0e2cfe",\r
1392         "wires": []\r
1393     },\r
1394     {\r
1395         "id": "ad97eaf2.db3cf",\r
1396         "type": "save",\r
1397         "name": "get allotted-resource relationship from aai",\r
1398         "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
1399         "comments": "",\r
1400         "outputs": 1,\r
1401         "x": 2989.566665649414,\r
1402         "y": 333.56666564941406,\r
1403         "z": "25a21122.0e2cfe",\r
1404         "wires": [\r
1405             [\r
1406                 "ef5e96fe.587c78",\r
1407                 "e171a2b9.a46c9",\r
1408                 "ed7e8b76.daabf"\r
1409             ]\r
1410         ]\r
1411     },\r
1412     {\r
1413         "id": "e171a2b9.a46c9",\r
1414         "type": "not-found",\r
1415         "name": "not-found",\r
1416         "xml": "<outcome value='not-found'>\n",\r
1417         "comments": "",\r
1418         "outputs": 1,\r
1419         "x": 3263.057632446289,\r
1420         "y": 226.14064025878906,\r
1421         "z": "25a21122.0e2cfe",\r
1422         "wires": [\r
1423             [\r
1424                 "ae21063b.421918"\r
1425             ]\r
1426         ]\r
1427     },\r
1428     {\r
1429         "id": "ae21063b.421918",\r
1430         "type": "returnFailure",\r
1431         "name": "return failure",\r
1432         "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
1433         "comments": "",\r
1434         "x": 3440.629165649414,\r
1435         "y": 226.42640686035156,\r
1436         "z": "25a21122.0e2cfe",\r
1437         "wires": []\r
1438     },\r
1439     {\r
1440         "id": "ed7e8b76.daabf",\r
1441         "type": "failure",\r
1442         "name": "failure",\r
1443         "xml": "<outcome value='failure'>\n",\r
1444         "comments": "",\r
1445         "outputs": 1,\r
1446         "x": 3258.566665649414,\r
1447         "y": 275.56666564941406,\r
1448         "z": "25a21122.0e2cfe",\r
1449         "wires": [\r
1450             [\r
1451                 "1fe6476a.260d99"\r
1452             ]\r
1453         ]\r
1454     },\r
1455     {\r
1456         "id": "1fe6476a.260d99",\r
1457         "type": "returnFailure",\r
1458         "name": "return failure",\r
1459         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1460         "comments": "",\r
1461         "x": 3440.566665649414,\r
1462         "y": 275.56666564941406,\r
1463         "z": "25a21122.0e2cfe",\r
1464         "wires": []\r
1465     },\r
1466     {\r
1467         "id": "ef5e96fe.587c78",\r
1468         "type": "success",\r
1469         "name": "success",\r
1470         "xml": "<outcome value='success'>\n",\r
1471         "comments": "",\r
1472         "outputs": 1,\r
1473         "x": 3262.566665649414,\r
1474         "y": 326.56666564941406,\r
1475         "z": "25a21122.0e2cfe",\r
1476         "wires": [\r
1477             [\r
1478                 "5ed5bf6.6fd244"\r
1479             ]\r
1480         ]\r
1481     },\r
1482     {\r
1483         "id": "5ed5bf6.6fd244",\r
1484         "type": "block",\r
1485         "name": "block : atomic",\r
1486         "xml": "<block atomic=\"true\">",\r
1487         "atomic": "true",\r
1488         "outputs": 1,\r
1489         "x": 3442.566665649414,\r
1490         "y": 326.56666564941406,\r
1491         "z": "25a21122.0e2cfe",\r
1492         "wires": [\r
1493             [\r
1494                 "41f5506e.8f5aa"\r
1495             ]\r
1496         ]\r
1497     },\r
1498     {\r
1499         "id": "99ef6a45.9ad878",\r
1500         "type": "for",\r
1501         "name": "for each allotted-resource relationship",\r
1502         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1503         "comments": "",\r
1504         "outputs": 1,\r
1505         "x": 868.5666656494141,\r
1506         "y": 710.5666656494141,\r
1507         "z": "25a21122.0e2cfe",\r
1508         "wires": [\r
1509             [\r
1510                 "99689150.5b9778"\r
1511             ]\r
1512         ]\r
1513     },\r
1514     {\r
1515         "id": "99689150.5b9778",\r
1516         "type": "switchNode",\r
1517         "name": "switch related-to",\r
1518         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1519         "comments": "",\r
1520         "outputs": 1,\r
1521         "x": 1139.566665649414,\r
1522         "y": 706.5666656494141,\r
1523         "z": "25a21122.0e2cfe",\r
1524         "wires": [\r
1525             [\r
1526                 "5c4d87c2.cacd08"\r
1527             ]\r
1528         ]\r
1529     },\r
1530     {\r
1531         "id": "2bf740bc.b587b",\r
1532         "type": "outcome",\r
1533         "name": "network-policy",\r
1534         "xml": "<outcome value='network-policy'>\n",\r
1535         "comments": "",\r
1536         "outputs": 1,\r
1537         "x": 3418.566665649414,\r
1538         "y": 524.5666656494141,\r
1539         "z": "25a21122.0e2cfe",\r
1540         "wires": [\r
1541             [\r
1542                 "3a3c2a70.68a7ee"\r
1543             ]\r
1544         ]\r
1545     },\r
1546     {\r
1547         "id": "3a3c2a70.68a7ee",\r
1548         "type": "block",\r
1549         "name": "block : atomic",\r
1550         "xml": "<block atomic=\"true\">",\r
1551         "atomic": "true",\r
1552         "outputs": 1,\r
1553         "x": 3595.5665435791016,\r
1554         "y": 517.5665435791016,\r
1555         "z": "25a21122.0e2cfe",\r
1556         "wires": [\r
1557             [\r
1558                 "e9454f9d.caf03",\r
1559                 "6d43a86.3d48758"\r
1560             ]\r
1561         ]\r
1562     },\r
1563     {\r
1564         "id": "e9454f9d.caf03",\r
1565         "type": "set",\r
1566         "name": "set the 1st network-policy-id",\r
1567         "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
1568         "comments": "",\r
1569         "x": 3838.5665435791016,\r
1570         "y": 474.56654357910156,\r
1571         "z": "25a21122.0e2cfe",\r
1572         "wires": []\r
1573     },\r
1574     {\r
1575         "id": "6d43a86.3d48758",\r
1576         "type": "save",\r
1577         "name": "get network-policy from aai",\r
1578         "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
1579         "comments": "",\r
1580         "outputs": 1,\r
1581         "x": 3827.5665435791016,\r
1582         "y": 529.5665435791016,\r
1583         "z": "25a21122.0e2cfe",\r
1584         "wires": [\r
1585             [\r
1586                 "8a364a72.424c28",\r
1587                 "fd07ec43.4387a",\r
1588                 "4d3c4393.f4c224"\r
1589             ]\r
1590         ]\r
1591     },\r
1592     {\r
1593         "id": "4d3c4393.f4c224",\r
1594         "type": "not-found",\r
1595         "name": "not-found",\r
1596         "xml": "<outcome value='not-found'>\n",\r
1597         "comments": "",\r
1598         "outputs": 1,\r
1599         "x": 4080.566665649414,\r
1600         "y": 415.56666564941406,\r
1601         "z": "25a21122.0e2cfe",\r
1602         "wires": [\r
1603             [\r
1604                 "8a48cdf4.281a78"\r
1605             ]\r
1606         ]\r
1607     },\r
1608     {\r
1609         "id": "8a48cdf4.281a78",\r
1610         "type": "returnFailure",\r
1611         "name": "return failure",\r
1612         "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
1613         "comments": "",\r
1614         "x": 4229.138198852539,\r
1615         "y": 415.85243225097656,\r
1616         "z": "25a21122.0e2cfe",\r
1617         "wires": []\r
1618     },\r
1619     {\r
1620         "id": "81c305db.010dc",\r
1621         "type": "returnFailure",\r
1622         "name": "return failure",\r
1623         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1624         "comments": "",\r
1625         "x": 4228.075698852539,\r
1626         "y": 459.99269104003906,\r
1627         "z": "25a21122.0e2cfe",\r
1628         "wires": []\r
1629     },\r
1630     {\r
1631         "id": "fd07ec43.4387a",\r
1632         "type": "failure",\r
1633         "name": "failure",\r
1634         "xml": "<outcome value='failure'>\n",\r
1635         "comments": "",\r
1636         "outputs": 1,\r
1637         "x": 4069.075698852539,\r
1638         "y": 459.99269104003906,\r
1639         "z": "25a21122.0e2cfe",\r
1640         "wires": [\r
1641             [\r
1642                 "81c305db.010dc"\r
1643             ]\r
1644         ]\r
1645     },\r
1646     {\r
1647         "id": "8a364a72.424c28",\r
1648         "type": "success",\r
1649         "name": "success",\r
1650         "xml": "<outcome value='success'>\n",\r
1651         "comments": "",\r
1652         "outputs": 1,\r
1653         "x": 4076.075698852539,\r
1654         "y": 538.9926910400391,\r
1655         "z": "25a21122.0e2cfe",\r
1656         "wires": [\r
1657             [\r
1658                 "41b3b67d.c6f8e8"\r
1659             ]\r
1660         ]\r
1661     },\r
1662     {\r
1663         "id": "41b3b67d.c6f8e8",\r
1664         "type": "block",\r
1665         "name": "block",\r
1666         "xml": "<block>\n",\r
1667         "atomic": "false",\r
1668         "comments": "",\r
1669         "outputs": 1,\r
1670         "x": 4215.075698852539,\r
1671         "y": 538.9926910400391,\r
1672         "z": "25a21122.0e2cfe",\r
1673         "wires": [\r
1674             [\r
1675                 "f0091688.66654",\r
1676                 "4f7a1356.449274"\r
1677             ]\r
1678         ]\r
1679     },\r
1680     {\r
1681         "id": "f0091688.66654",\r
1682         "type": "set",\r
1683         "name": "set the max bandwidth",\r
1684         "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
1685         "comments": "",\r
1686         "x": 4420.566665649414,\r
1687         "y": 536.5666656494141,\r
1688         "z": "25a21122.0e2cfe",\r
1689         "wires": []\r
1690     },\r
1691     {\r
1692         "id": "6ff01134.d27b1",\r
1693         "type": "execute",\r
1694         "name": "execute split tp-id to get pnf-name",\r
1695         "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
1696         "comments": "",\r
1697         "outputs": 1,\r
1698         "x": 4942.566665649414,\r
1699         "y": 718.5666656494141,\r
1700         "z": "25a21122.0e2cfe",\r
1701         "wires": [\r
1702             [\r
1703                 "39467319.609964",\r
1704                 "3cc969fb.c20abe"\r
1705             ]\r
1706         ]\r
1707     },\r
1708     {\r
1709         "id": "3cc969fb.c20abe",\r
1710         "type": "failure",\r
1711         "name": "success",\r
1712         "xml": "<outcome value='success'>\n",\r
1713         "comments": "",\r
1714         "outputs": 1,\r
1715         "x": 5165.566665649414,\r
1716         "y": 704.5666656494141,\r
1717         "z": "25a21122.0e2cfe",\r
1718         "wires": [\r
1719             [\r
1720                 "2dfb867b.202c62"\r
1721             ]\r
1722         ]\r
1723     },\r
1724     {\r
1725         "id": "39467319.609964",\r
1726         "type": "failure",\r
1727         "name": "failure",\r
1728         "xml": "<outcome value='failure'>\n",\r
1729         "comments": "",\r
1730         "outputs": 1,\r
1731         "x": 5167.566665649414,\r
1732         "y": 737.5666656494141,\r
1733         "z": "25a21122.0e2cfe",\r
1734         "wires": [\r
1735             [\r
1736                 "fb83e9be.2efe"\r
1737             ]\r
1738         ]\r
1739     },\r
1740     {\r
1741         "id": "fb83e9be.2efe",\r
1742         "type": "returnFailure",\r
1743         "name": "return failure",\r
1744         "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
1745         "comments": "",\r
1746         "x": 5310.566665649414,\r
1747         "y": 734.5666656494141,\r
1748         "z": "25a21122.0e2cfe",\r
1749         "wires": []\r
1750     },\r
1751     {\r
1752         "id": "2dfb867b.202c62",\r
1753         "type": "block",\r
1754         "name": "block : atomic",\r
1755         "xml": "<block atomic=\"true\">",\r
1756         "atomic": "true",\r
1757         "outputs": 1,\r
1758         "x": 5313.566665649414,\r
1759         "y": 697.5666656494141,\r
1760         "z": "25a21122.0e2cfe",\r
1761         "wires": [\r
1762             [\r
1763                 "15d7491f.df8677",\r
1764                 "965ca101.13418"\r
1765             ]\r
1766         ]\r
1767     },\r
1768     {\r
1769         "id": "15d7491f.df8677",\r
1770         "type": "set",\r
1771         "name": "set pnf-name",\r
1772         "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
1773         "comments": "",\r
1774         "x": 5475.566665649414,\r
1775         "y": 692.5666656494141,\r
1776         "z": "25a21122.0e2cfe",\r
1777         "wires": []\r
1778     },\r
1779     {\r
1780         "id": "abe40e95.5db908",\r
1781         "type": "execute",\r
1782         "name": "execute split tp-id to get pnf-name",\r
1783         "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
1784         "comments": "",\r
1785         "outputs": 1,\r
1786         "x": 4956.566665649414,\r
1787         "y": 1555.5665435791016,\r
1788         "z": "25a21122.0e2cfe",\r
1789         "wires": [\r
1790             [\r
1791                 "d51c262f.477ec",\r
1792                 "4509355c.99159c"\r
1793             ]\r
1794         ]\r
1795     },\r
1796     {\r
1797         "id": "4509355c.99159c",\r
1798         "type": "failure",\r
1799         "name": "success",\r
1800         "xml": "<outcome value='success'>\n",\r
1801         "comments": "",\r
1802         "outputs": 1,\r
1803         "x": 5179.566665649414,\r
1804         "y": 1541.5665435791016,\r
1805         "z": "25a21122.0e2cfe",\r
1806         "wires": [\r
1807             [\r
1808                 "d6d3b9d3.95749"\r
1809             ]\r
1810         ]\r
1811     },\r
1812     {\r
1813         "id": "d51c262f.477ec",\r
1814         "type": "failure",\r
1815         "name": "failure",\r
1816         "xml": "<outcome value='failure'>\n",\r
1817         "comments": "",\r
1818         "outputs": 1,\r
1819         "x": 5181.566665649414,\r
1820         "y": 1574.5665435791016,\r
1821         "z": "25a21122.0e2cfe",\r
1822         "wires": [\r
1823             [\r
1824                 "41fb7895.687548"\r
1825             ]\r
1826         ]\r
1827     },\r
1828     {\r
1829         "id": "41fb7895.687548",\r
1830         "type": "returnFailure",\r
1831         "name": "return failure",\r
1832         "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
1833         "comments": "",\r
1834         "x": 5324.566665649414,\r
1835         "y": 1571.5665435791016,\r
1836         "z": "25a21122.0e2cfe",\r
1837         "wires": []\r
1838     },\r
1839     {\r
1840         "id": "d6d3b9d3.95749",\r
1841         "type": "block",\r
1842         "name": "block : atomic",\r
1843         "xml": "<block atomic=\"true\">",\r
1844         "atomic": "true",\r
1845         "outputs": 1,\r
1846         "x": 5327.566665649414,\r
1847         "y": 1534.5665435791016,\r
1848         "z": "25a21122.0e2cfe",\r
1849         "wires": [\r
1850             [\r
1851                 "dc31fe9c.b39df",\r
1852                 "22e60879.c39a9"\r
1853             ]\r
1854         ]\r
1855     },\r
1856     {\r
1857         "id": "dc31fe9c.b39df",\r
1858         "type": "set",\r
1859         "name": "set pnf-name",\r
1860         "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
1861         "comments": "",\r
1862         "x": 5521.566665649414,\r
1863         "y": 1537.566665649414,\r
1864         "z": "25a21122.0e2cfe",\r
1865         "wires": []\r
1866     },\r
1867     {\r
1868         "id": "dd074b01.699d5",\r
1869         "type": "execute",\r
1870         "name": "execute properties",\r
1871         "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
1872         "comments": "",\r
1873         "outputs": 1,\r
1874         "x": 1119.566665649414,\r
1875         "y": 241.56666564941406,\r
1876         "z": "25a21122.0e2cfe",\r
1877         "wires": [\r
1878             []\r
1879         ]\r
1880     },\r
1881     {\r
1882         "id": "71b17710.70c14",\r
1883         "type": "for",\r
1884         "name": "for each relationship",\r
1885         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1886         "comments": "",\r
1887         "outputs": 1,\r
1888         "x": 5589.566665649414,\r
1889         "y": 1288.566665649414,\r
1890         "z": "25a21122.0e2cfe",\r
1891         "wires": [\r
1892             [\r
1893                 "262b12c7.d4eb86"\r
1894             ]\r
1895         ]\r
1896     },\r
1897     {\r
1898         "id": "262b12c7.d4eb86",\r
1899         "type": "switchNode",\r
1900         "name": "switch related-to",\r
1901         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1902         "comments": "",\r
1903         "outputs": 1,\r
1904         "x": 5795.566665649414,\r
1905         "y": 1288.566665649414,\r
1906         "z": "25a21122.0e2cfe",\r
1907         "wires": [\r
1908             [\r
1909                 "5944b4c4.a90d9c"\r
1910             ]\r
1911         ]\r
1912     },\r
1913     {\r
1914         "id": "5944b4c4.a90d9c",\r
1915         "type": "outcome",\r
1916         "name": "tunnel-termination-point",\r
1917         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1918         "comments": "",\r
1919         "outputs": 1,\r
1920         "x": 6010.852310180664,\r
1921         "y": 1288.388442993164,\r
1922         "z": "25a21122.0e2cfe",\r
1923         "wires": [\r
1924             [\r
1925                 "97ca4a46.233f6"\r
1926             ]\r
1927         ]\r
1928     },\r
1929     {\r
1930         "id": "97ca4a46.233f6",\r
1931         "type": "block",\r
1932         "name": "block : atomic",\r
1933         "xml": "<block atomic=\"true\">",\r
1934         "atomic": "true",\r
1935         "outputs": 1,\r
1936         "x": 6217.683853149414,\r
1937         "y": 1288.906997680664,\r
1938         "z": "25a21122.0e2cfe",\r
1939         "wires": [\r
1940             [\r
1941                 "18a90b5a.512eed",\r
1942                 "9b9213f3.dfc428",\r
1943                 "21506293.2b15d6"\r
1944             ]\r
1945         ]\r
1946     },\r
1947     {\r
1948         "id": "18a90b5a.512eed",\r
1949         "type": "set",\r
1950         "name": "set source ttp-id",\r
1951         "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
1952         "comments": "",\r
1953         "x": 6432.683853149414,\r
1954         "y": 1250.906997680664,\r
1955         "z": "25a21122.0e2cfe",\r
1956         "wires": []\r
1957     },\r
1958     {\r
1959         "id": "9b9213f3.dfc428",\r
1960         "type": "get-resource",\r
1961         "name": "get-resource src TTP",\r
1962         "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
1963         "comments": "",\r
1964         "outputs": 1,\r
1965         "x": 6429.683853149414,\r
1966         "y": 1289.906997680664,\r
1967         "z": "25a21122.0e2cfe",\r
1968         "wires": [\r
1969             [\r
1970                 "8cbab548.0454b"\r
1971             ]\r
1972         ]\r
1973     },\r
1974     {\r
1975         "id": "21506293.2b15d6",\r
1976         "type": "break",\r
1977         "name": "break",\r
1978         "xml": "<break>\n",\r
1979         "comments": "",\r
1980         "x": 6385.183853149414,\r
1981         "y": 1331.906997680664,\r
1982         "z": "25a21122.0e2cfe",\r
1983         "wires": []\r
1984     },\r
1985     {\r
1986         "id": "8cbab548.0454b",\r
1987         "type": "success",\r
1988         "name": "success",\r
1989         "xml": "<outcome value='success'>\n",\r
1990         "comments": "",\r
1991         "outputs": 1,\r
1992         "x": 6610.183853149414,\r
1993         "y": 1288.906997680664,\r
1994         "z": "25a21122.0e2cfe",\r
1995         "wires": [\r
1996             [\r
1997                 "326ba546.7f7e7a"\r
1998             ]\r
1999         ]\r
2000     },\r
2001     {\r
2002         "id": "326ba546.7f7e7a",\r
2003         "type": "block",\r
2004         "name": "block : atomic",\r
2005         "xml": "<block atomic=\"true\">",\r
2006         "atomic": "true",\r
2007         "outputs": 1,\r
2008         "x": 6768.183853149414,\r
2009         "y": 1288.906997680664,\r
2010         "z": "25a21122.0e2cfe",\r
2011         "wires": [\r
2012             [\r
2013                 "49cced3d.6f7764"\r
2014             ]\r
2015         ]\r
2016     },\r
2017     {\r
2018         "id": "49cced3d.6f7764",\r
2019         "type": "set",\r
2020         "name": "set source tunnel tp ip",\r
2021         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2022         "comments": "",\r
2023         "x": 6975.183853149414,\r
2024         "y": 1288.906997680664,\r
2025         "z": "25a21122.0e2cfe",\r
2026         "wires": []\r
2027     },\r
2028     {\r
2029         "id": "7bc8d59f.6d2444",\r
2030         "type": "for",\r
2031         "name": "for each relationship",\r
2032         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2033         "comments": "",\r
2034         "outputs": 1,\r
2035         "x": 5586.566665649414,\r
2036         "y": 2157.5667877197266,\r
2037         "z": "25a21122.0e2cfe",\r
2038         "wires": [\r
2039             [\r
2040                 "8f6d6d5b.1cead8"\r
2041             ]\r
2042         ]\r
2043     },\r
2044     {\r
2045         "id": "8f6d6d5b.1cead8",\r
2046         "type": "switchNode",\r
2047         "name": "switch related-to",\r
2048         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2049         "comments": "",\r
2050         "outputs": 1,\r
2051         "x": 5792.566665649414,\r
2052         "y": 2157.5667877197266,\r
2053         "z": "25a21122.0e2cfe",\r
2054         "wires": [\r
2055             [\r
2056                 "e19b436a.7033d"\r
2057             ]\r
2058         ]\r
2059     },\r
2060     {\r
2061         "id": "e19b436a.7033d",\r
2062         "type": "outcome",\r
2063         "name": "tunnel-termination-point",\r
2064         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2065         "comments": "",\r
2066         "outputs": 1,\r
2067         "x": 6007.852310180664,\r
2068         "y": 2157.3885650634766,\r
2069         "z": "25a21122.0e2cfe",\r
2070         "wires": [\r
2071             [\r
2072                 "bec0ab0f.3e04c8"\r
2073             ]\r
2074         ]\r
2075     },\r
2076     {\r
2077         "id": "bec0ab0f.3e04c8",\r
2078         "type": "block",\r
2079         "name": "block : atomic",\r
2080         "xml": "<block atomic=\"true\">",\r
2081         "atomic": "true",\r
2082         "outputs": 1,\r
2083         "x": 6214.683853149414,\r
2084         "y": 2157.9071197509766,\r
2085         "z": "25a21122.0e2cfe",\r
2086         "wires": [\r
2087             [\r
2088                 "27fbcba1.3d3b74",\r
2089                 "ceb087f2.f1a2d",\r
2090                 "f5af142d.56f9a8"\r
2091             ]\r
2092         ]\r
2093     },\r
2094     {\r
2095         "id": "27fbcba1.3d3b74",\r
2096         "type": "set",\r
2097         "name": "set destination ttp-id",\r
2098         "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
2099         "comments": "",\r
2100         "x": 6429.683853149414,\r
2101         "y": 2119.9071197509766,\r
2102         "z": "25a21122.0e2cfe",\r
2103         "wires": []\r
2104     },\r
2105     {\r
2106         "id": "ceb087f2.f1a2d",\r
2107         "type": "get-resource",\r
2108         "name": "get-resource src TTP",\r
2109         "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
2110         "comments": "",\r
2111         "outputs": 1,\r
2112         "x": 6426.683853149414,\r
2113         "y": 2158.9071197509766,\r
2114         "z": "25a21122.0e2cfe",\r
2115         "wires": [\r
2116             [\r
2117                 "3dd2b911.678516"\r
2118             ]\r
2119         ]\r
2120     },\r
2121     {\r
2122         "id": "f5af142d.56f9a8",\r
2123         "type": "break",\r
2124         "name": "break",\r
2125         "xml": "<break>\n",\r
2126         "comments": "",\r
2127         "x": 6382.183853149414,\r
2128         "y": 2200.9071197509766,\r
2129         "z": "25a21122.0e2cfe",\r
2130         "wires": []\r
2131     },\r
2132     {\r
2133         "id": "3dd2b911.678516",\r
2134         "type": "success",\r
2135         "name": "success",\r
2136         "xml": "<outcome value='success'>\n",\r
2137         "comments": "",\r
2138         "outputs": 1,\r
2139         "x": 6607.183853149414,\r
2140         "y": 2157.9071197509766,\r
2141         "z": "25a21122.0e2cfe",\r
2142         "wires": [\r
2143             [\r
2144                 "2d748944.5ecffe"\r
2145             ]\r
2146         ]\r
2147     },\r
2148     {\r
2149         "id": "2d748944.5ecffe",\r
2150         "type": "block",\r
2151         "name": "block : atomic",\r
2152         "xml": "<block atomic=\"true\">",\r
2153         "atomic": "true",\r
2154         "outputs": 1,\r
2155         "x": 6765.183853149414,\r
2156         "y": 2157.9071197509766,\r
2157         "z": "25a21122.0e2cfe",\r
2158         "wires": [\r
2159             [\r
2160                 "6570963f.999c3"\r
2161             ]\r
2162         ]\r
2163     },\r
2164     {\r
2165         "id": "6570963f.999c3",\r
2166         "type": "set",\r
2167         "name": "set destination tunnel tp ip",\r
2168         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2169         "comments": "",\r
2170         "x": 6972.183853149414,\r
2171         "y": 2157.9071197509766,\r
2172         "z": "25a21122.0e2cfe",\r
2173         "wires": []\r
2174     },\r
2175     {\r
2176         "id": "965ca101.13418",\r
2177         "type": "get-resource",\r
2178         "name": "get-resource src pnf",\r
2179         "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
2180         "comments": "",\r
2181         "outputs": 1,\r
2182         "x": 5502.566665649414,\r
2183         "y": 764.5666656494141,\r
2184         "z": "25a21122.0e2cfe",\r
2185         "wires": [\r
2186             [\r
2187                 "50b56074.398fb8",\r
2188                 "37713986.ac02f6",\r
2189                 "9d9c191d.f7c08"\r
2190             ]\r
2191         ]\r
2192     },\r
2193     {\r
2194         "id": "50b56074.398fb8",\r
2195         "type": "success",\r
2196         "name": "success",\r
2197         "xml": "<outcome value='success'>\n",\r
2198         "comments": "",\r
2199         "outputs": 1,\r
2200         "x": 5698.066787719727,\r
2201         "y": 716.5666656494141,\r
2202         "z": "25a21122.0e2cfe",\r
2203         "wires": [\r
2204             [\r
2205                 "e3c2a355.360d3"\r
2206             ]\r
2207         ]\r
2208     },\r
2209     {\r
2210         "id": "37713986.ac02f6",\r
2211         "type": "not-found",\r
2212         "name": "not-found",\r
2213         "xml": "<outcome value='not-found'>\n",\r
2214         "comments": "",\r
2215         "outputs": 1,\r
2216         "x": 5690.066787719727,\r
2217         "y": 771.5666656494141,\r
2218         "z": "25a21122.0e2cfe",\r
2219         "wires": [\r
2220             [\r
2221                 "f545ca2e.f44db"\r
2222             ]\r
2223         ]\r
2224     },\r
2225     {\r
2226         "id": "9d9c191d.f7c08",\r
2227         "type": "other",\r
2228         "name": "other",\r
2229         "xml": "<outcome value='Other'>\n",\r
2230         "comments": "",\r
2231         "outputs": 1,\r
2232         "x": 5695.066787719727,\r
2233         "y": 828.5666656494141,\r
2234         "z": "25a21122.0e2cfe",\r
2235         "wires": [\r
2236             [\r
2237                 "e48b21a8.d61508"\r
2238             ]\r
2239         ]\r
2240     },\r
2241     {\r
2242         "id": "e48b21a8.d61508",\r
2243         "type": "returnFailure",\r
2244         "name": "return failure",\r
2245         "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
2246         "comments": "",\r
2247         "x": 5847.066787719727,\r
2248         "y": 829.5666656494141,\r
2249         "z": "25a21122.0e2cfe",\r
2250         "wires": []\r
2251     },\r
2252     {\r
2253         "id": "f545ca2e.f44db",\r
2254         "type": "returnFailure",\r
2255         "name": "return failure",\r
2256         "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
2257         "comments": "",\r
2258         "x": 5858.066787719727,\r
2259         "y": 774.5666656494141,\r
2260         "z": "25a21122.0e2cfe",\r
2261         "wires": []\r
2262     },\r
2263     {\r
2264         "id": "e3c2a355.360d3",\r
2265         "type": "block",\r
2266         "name": "block",\r
2267         "xml": "<block>\n",\r
2268         "atomic": "false",\r
2269         "comments": "",\r
2270         "outputs": 1,\r
2271         "x": 5842.449111938477,\r
2272         "y": 714.2223358154297,\r
2273         "z": "25a21122.0e2cfe",\r
2274         "wires": [\r
2275             [\r
2276                 "206fadad.185672"\r
2277             ]\r
2278         ]\r
2279     },\r
2280     {\r
2281         "id": "16b234e1.30a8c3",\r
2282         "type": "outcome",\r
2283         "name": "esr-thirdparty-sdnc",\r
2284         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2285         "comments": "",\r
2286         "outputs": 1,\r
2287         "x": 6424.566665649414,\r
2288         "y": 732.5666656494141,\r
2289         "z": "25a21122.0e2cfe",\r
2290         "wires": [\r
2291             [\r
2292                 "e787bf98.1dda3"\r
2293             ]\r
2294         ]\r
2295     },\r
2296     {\r
2297         "id": "e787bf98.1dda3",\r
2298         "type": "block",\r
2299         "name": "block : atomic",\r
2300         "xml": "<block atomic=\"true\">",\r
2301         "atomic": "true",\r
2302         "outputs": 1,\r
2303         "x": 6601.566665649414,\r
2304         "y": 724.5666656494141,\r
2305         "z": "25a21122.0e2cfe",\r
2306         "wires": [\r
2307             [\r
2308                 "71a48553.06547c",\r
2309                 "92b1873d.551bc"\r
2310             ]\r
2311         ]\r
2312     },\r
2313     {\r
2314         "id": "206fadad.185672",\r
2315         "type": "for",\r
2316         "name": "for each relationship",\r
2317         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2318         "comments": "",\r
2319         "outputs": 1,\r
2320         "x": 6026.566665649414,\r
2321         "y": 728.5666656494141,\r
2322         "z": "25a21122.0e2cfe",\r
2323         "wires": [\r
2324             [\r
2325                 "69c3e96a.358898"\r
2326             ]\r
2327         ]\r
2328     },\r
2329     {\r
2330         "id": "69c3e96a.358898",\r
2331         "type": "switchNode",\r
2332         "name": "switch related-to",\r
2333         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2334         "comments": "",\r
2335         "outputs": 1,\r
2336         "x": 6221.566665649414,\r
2337         "y": 728.5666656494141,\r
2338         "z": "25a21122.0e2cfe",\r
2339         "wires": [\r
2340             [\r
2341                 "16b234e1.30a8c3",\r
2342                 "90deb9f8.a72b18"\r
2343             ]\r
2344         ]\r
2345     },\r
2346     {\r
2347         "id": "71a48553.06547c",\r
2348         "type": "set",\r
2349         "name": "set esr-thirdparty-sdnc domainA id",\r
2350         "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
2351         "comments": "",\r
2352         "x": 6839.566665649414,\r
2353         "y": 679.5666656494141,\r
2354         "z": "25a21122.0e2cfe",\r
2355         "wires": []\r
2356     },\r
2357     {\r
2358         "id": "3b96c7df.05e2",\r
2359         "type": "success",\r
2360         "name": "success",\r
2361         "xml": "<outcome value='success'>\n",\r
2362         "comments": "",\r
2363         "outputs": 1,\r
2364         "x": 7019.566665649414,\r
2365         "y": 722.5666656494141,\r
2366         "z": "25a21122.0e2cfe",\r
2367         "wires": [\r
2368             [\r
2369                 "6f8ea6fb.24df1"\r
2370             ]\r
2371         ]\r
2372     },\r
2373     {\r
2374         "id": "1eec19a2.07645e",\r
2375         "type": "not-found",\r
2376         "name": "not-found",\r
2377         "xml": "<outcome value='not-found'>\n",\r
2378         "comments": "",\r
2379         "outputs": 1,\r
2380         "x": 7011.566665649414,\r
2381         "y": 777.5666656494141,\r
2382         "z": "25a21122.0e2cfe",\r
2383         "wires": [\r
2384             [\r
2385                 "91f5de57.10361"\r
2386             ]\r
2387         ]\r
2388     },\r
2389     {\r
2390         "id": "b1213bca.c3532",\r
2391         "type": "other",\r
2392         "name": "other",\r
2393         "xml": "<outcome value='Other'>\n",\r
2394         "comments": "",\r
2395         "outputs": 1,\r
2396         "x": 7016.566665649414,\r
2397         "y": 834.5666656494141,\r
2398         "z": "25a21122.0e2cfe",\r
2399         "wires": [\r
2400             [\r
2401                 "62327f7e.aacf68"\r
2402             ]\r
2403         ]\r
2404     },\r
2405     {\r
2406         "id": "62327f7e.aacf68",\r
2407         "type": "returnFailure",\r
2408         "name": "return failure",\r
2409         "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
2410         "comments": "",\r
2411         "x": 7168.566665649414,\r
2412         "y": 835.5666656494141,\r
2413         "z": "25a21122.0e2cfe",\r
2414         "wires": []\r
2415     },\r
2416     {\r
2417         "id": "91f5de57.10361",\r
2418         "type": "returnFailure",\r
2419         "name": "return failure",\r
2420         "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
2421         "comments": "",\r
2422         "x": 7179.566665649414,\r
2423         "y": 780.5666656494141,\r
2424         "z": "25a21122.0e2cfe",\r
2425         "wires": []\r
2426     },\r
2427     {\r
2428         "id": "6f8ea6fb.24df1",\r
2429         "type": "block",\r
2430         "name": "block",\r
2431         "xml": "<block>\n",\r
2432         "atomic": "false",\r
2433         "comments": "",\r
2434         "outputs": 1,\r
2435         "x": 7163.948989868164,\r
2436         "y": 720.2223358154297,\r
2437         "z": "25a21122.0e2cfe",\r
2438         "wires": [\r
2439             [\r
2440                 "10e59332.2edbc5"\r
2441             ]\r
2442         ]\r
2443     },\r
2444     {\r
2445         "id": "10e59332.2edbc5",\r
2446         "type": "set",\r
2447         "name": "set controller domainA data",\r
2448         "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
2449         "comments": "",\r
2450         "x": 7378.566665649414,\r
2451         "y": 716.5666656494141,\r
2452         "z": "25a21122.0e2cfe",\r
2453         "wires": []\r
2454     },\r
2455     {\r
2456         "id": "22e60879.c39a9",\r
2457         "type": "get-resource",\r
2458         "name": "get-resource src pnf",\r
2459         "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
2460         "comments": "",\r
2461         "outputs": 1,\r
2462         "x": 5543.566665649414,\r
2463         "y": 1605.566665649414,\r
2464         "z": "25a21122.0e2cfe",\r
2465         "wires": [\r
2466             [\r
2467                 "3be38b30.4b1f64",\r
2468                 "53e462a7.300ecc",\r
2469                 "be7dfbd6.3bfbb"\r
2470             ]\r
2471         ]\r
2472     },\r
2473     {\r
2474         "id": "3be38b30.4b1f64",\r
2475         "type": "success",\r
2476         "name": "success",\r
2477         "xml": "<outcome value='success'>\n",\r
2478         "comments": "",\r
2479         "outputs": 1,\r
2480         "x": 5739.066787719727,\r
2481         "y": 1557.566665649414,\r
2482         "z": "25a21122.0e2cfe",\r
2483         "wires": [\r
2484             [\r
2485                 "3d4c22c4.8bc33e"\r
2486             ]\r
2487         ]\r
2488     },\r
2489     {\r
2490         "id": "53e462a7.300ecc",\r
2491         "type": "not-found",\r
2492         "name": "not-found",\r
2493         "xml": "<outcome value='not-found'>\n",\r
2494         "comments": "",\r
2495         "outputs": 1,\r
2496         "x": 5731.066787719727,\r
2497         "y": 1612.566665649414,\r
2498         "z": "25a21122.0e2cfe",\r
2499         "wires": [\r
2500             [\r
2501                 "cc499006.fb3a6"\r
2502             ]\r
2503         ]\r
2504     },\r
2505     {\r
2506         "id": "be7dfbd6.3bfbb",\r
2507         "type": "other",\r
2508         "name": "other",\r
2509         "xml": "<outcome value='Other'>\n",\r
2510         "comments": "",\r
2511         "outputs": 1,\r
2512         "x": 5736.066787719727,\r
2513         "y": 1669.566665649414,\r
2514         "z": "25a21122.0e2cfe",\r
2515         "wires": [\r
2516             [\r
2517                 "95cfda12.13aa08"\r
2518             ]\r
2519         ]\r
2520     },\r
2521     {\r
2522         "id": "95cfda12.13aa08",\r
2523         "type": "returnFailure",\r
2524         "name": "return failure",\r
2525         "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
2526         "comments": "",\r
2527         "x": 5888.066787719727,\r
2528         "y": 1670.566665649414,\r
2529         "z": "25a21122.0e2cfe",\r
2530         "wires": []\r
2531     },\r
2532     {\r
2533         "id": "cc499006.fb3a6",\r
2534         "type": "returnFailure",\r
2535         "name": "return failure",\r
2536         "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
2537         "comments": "",\r
2538         "x": 5899.066787719727,\r
2539         "y": 1615.566665649414,\r
2540         "z": "25a21122.0e2cfe",\r
2541         "wires": []\r
2542     },\r
2543     {\r
2544         "id": "3d4c22c4.8bc33e",\r
2545         "type": "block",\r
2546         "name": "block",\r
2547         "xml": "<block>\n",\r
2548         "atomic": "false",\r
2549         "comments": "",\r
2550         "outputs": 1,\r
2551         "x": 5883.449111938477,\r
2552         "y": 1555.2223358154297,\r
2553         "z": "25a21122.0e2cfe",\r
2554         "wires": [\r
2555             [\r
2556                 "7d552eed.53cb2"\r
2557             ]\r
2558         ]\r
2559     },\r
2560     {\r
2561         "id": "6ebd5273.de974c",\r
2562         "type": "outcome",\r
2563         "name": "esr-thirdparty-sdnc",\r
2564         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2565         "comments": "",\r
2566         "outputs": 1,\r
2567         "x": 6465.566665649414,\r
2568         "y": 1573.566665649414,\r
2569         "z": "25a21122.0e2cfe",\r
2570         "wires": [\r
2571             [\r
2572                 "d2cb326b.2ce928"\r
2573             ]\r
2574         ]\r
2575     },\r
2576     {\r
2577         "id": "d2cb326b.2ce928",\r
2578         "type": "block",\r
2579         "name": "block : atomic",\r
2580         "xml": "<block atomic=\"true\">",\r
2581         "atomic": "true",\r
2582         "outputs": 1,\r
2583         "x": 6642.566665649414,\r
2584         "y": 1565.566665649414,\r
2585         "z": "25a21122.0e2cfe",\r
2586         "wires": [\r
2587             [\r
2588                 "afdd7500.c5c358",\r
2589                 "995d487d.d5b57"\r
2590             ]\r
2591         ]\r
2592     },\r
2593     {\r
2594         "id": "7d552eed.53cb2",\r
2595         "type": "for",\r
2596         "name": "for each relationship",\r
2597         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2598         "comments": "",\r
2599         "outputs": 1,\r
2600         "x": 6067.566665649414,\r
2601         "y": 1569.566665649414,\r
2602         "z": "25a21122.0e2cfe",\r
2603         "wires": [\r
2604             [\r
2605                 "6d34d717.589238"\r
2606             ]\r
2607         ]\r
2608     },\r
2609     {\r
2610         "id": "6d34d717.589238",\r
2611         "type": "switchNode",\r
2612         "name": "switch related-to",\r
2613         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2614         "comments": "",\r
2615         "outputs": 1,\r
2616         "x": 6262.566665649414,\r
2617         "y": 1569.566665649414,\r
2618         "z": "25a21122.0e2cfe",\r
2619         "wires": [\r
2620             [\r
2621                 "6ebd5273.de974c",\r
2622                 "9bbf0d49.94213"\r
2623             ]\r
2624         ]\r
2625     },\r
2626     {\r
2627         "id": "995d487d.d5b57",\r
2628         "type": "execute",\r
2629         "name": "get esr-thirdparty-sdnc",\r
2630         "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
2631         "comments": "",\r
2632         "outputs": 1,\r
2633         "x": 6850.566665649414,\r
2634         "y": 1572.566665649414,\r
2635         "z": "25a21122.0e2cfe",\r
2636         "wires": [\r
2637             [\r
2638                 "bb91f7ce.3ad978",\r
2639                 "8e3f2e93.c1d45",\r
2640                 "c8e3caf1.3f9eb8"\r
2641             ]\r
2642         ]\r
2643     },\r
2644     {\r
2645         "id": "afdd7500.c5c358",\r
2646         "type": "set",\r
2647         "name": "set esr-thirdparty-sdnc domainB id",\r
2648         "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
2649         "comments": "",\r
2650         "x": 6880.566665649414,\r
2651         "y": 1520.566665649414,\r
2652         "z": "25a21122.0e2cfe",\r
2653         "wires": []\r
2654     },\r
2655     {\r
2656         "id": "bb91f7ce.3ad978",\r
2657         "type": "success",\r
2658         "name": "success",\r
2659         "xml": "<outcome value='success'>\n",\r
2660         "comments": "",\r
2661         "outputs": 1,\r
2662         "x": 7060.566665649414,\r
2663         "y": 1563.566665649414,\r
2664         "z": "25a21122.0e2cfe",\r
2665         "wires": [\r
2666             [\r
2667                 "ced1d2ca.c0f7c"\r
2668             ]\r
2669         ]\r
2670     },\r
2671     {\r
2672         "id": "8e3f2e93.c1d45",\r
2673         "type": "not-found",\r
2674         "name": "not-found",\r
2675         "xml": "<outcome value='not-found'>\n",\r
2676         "comments": "",\r
2677         "outputs": 1,\r
2678         "x": 7052.566665649414,\r
2679         "y": 1618.566665649414,\r
2680         "z": "25a21122.0e2cfe",\r
2681         "wires": [\r
2682             [\r
2683                 "20b91ac9.f7bb0e"\r
2684             ]\r
2685         ]\r
2686     },\r
2687     {\r
2688         "id": "c8e3caf1.3f9eb8",\r
2689         "type": "other",\r
2690         "name": "other",\r
2691         "xml": "<outcome value='Other'>\n",\r
2692         "comments": "",\r
2693         "outputs": 1,\r
2694         "x": 7057.566665649414,\r
2695         "y": 1675.566665649414,\r
2696         "z": "25a21122.0e2cfe",\r
2697         "wires": [\r
2698             [\r
2699                 "625c69e0.19da8"\r
2700             ]\r
2701         ]\r
2702     },\r
2703     {\r
2704         "id": "625c69e0.19da8",\r
2705         "type": "returnFailure",\r
2706         "name": "return failure",\r
2707         "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
2708         "comments": "",\r
2709         "x": 7209.566665649414,\r
2710         "y": 1676.566665649414,\r
2711         "z": "25a21122.0e2cfe",\r
2712         "wires": []\r
2713     },\r
2714     {\r
2715         "id": "20b91ac9.f7bb0e",\r
2716         "type": "returnFailure",\r
2717         "name": "return failure",\r
2718         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2719         "comments": "",\r
2720         "x": 7220.566665649414,\r
2721         "y": 1621.566665649414,\r
2722         "z": "25a21122.0e2cfe",\r
2723         "wires": []\r
2724     },\r
2725     {\r
2726         "id": "ced1d2ca.c0f7c",\r
2727         "type": "block",\r
2728         "name": "block",\r
2729         "xml": "<block>\n",\r
2730         "atomic": "false",\r
2731         "comments": "",\r
2732         "outputs": 1,\r
2733         "x": 7204.948989868164,\r
2734         "y": 1561.2223358154297,\r
2735         "z": "25a21122.0e2cfe",\r
2736         "wires": [\r
2737             [\r
2738                 "483f20c0.02d49"\r
2739             ]\r
2740         ]\r
2741     },\r
2742     {\r
2743         "id": "483f20c0.02d49",\r
2744         "type": "set",\r
2745         "name": "set controller domainB data",\r
2746         "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
2747         "comments": "",\r
2748         "x": 7419.566665649414,\r
2749         "y": 1557.566665649414,\r
2750         "z": "25a21122.0e2cfe",\r
2751         "wires": []\r
2752     },\r
2753     {\r
2754         "id": "24772c6a.a8483c",\r
2755         "type": "block",\r
2756         "name": "block : atomic",\r
2757         "xml": "<block atomic=\"true\">",\r
2758         "atomic": "true",\r
2759         "outputs": 1,\r
2760         "x": 416.56666564941406,\r
2761         "y": 686.5666656494141,\r
2762         "z": "25a21122.0e2cfe",\r
2763         "wires": [\r
2764             [\r
2765                 "3dd61cc7.9b7d74",\r
2766                 "99ef6a45.9ad878"\r
2767             ]\r
2768         ]\r
2769     },\r
2770     {\r
2771         "id": "3dd61cc7.9b7d74",\r
2772         "type": "for",\r
2773         "name": "for each allotted-resource relationship",\r
2774         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
2775         "comments": "",\r
2776         "outputs": 1,\r
2777         "x": 862.5666656494141,\r
2778         "y": 545.5666656494141,\r
2779         "z": "25a21122.0e2cfe",\r
2780         "wires": [\r
2781             [\r
2782                 "51cf951b.e925c4"\r
2783             ]\r
2784         ]\r
2785     },\r
2786     {\r
2787         "id": "51cf951b.e925c4",\r
2788         "type": "switchNode",\r
2789         "name": "switch related-to",\r
2790         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
2791         "comments": "",\r
2792         "outputs": 1,\r
2793         "x": 3227.566665649414,\r
2794         "y": 527.5666656494141,\r
2795         "z": "25a21122.0e2cfe",\r
2796         "wires": [\r
2797             [\r
2798                 "2bf740bc.b587b"\r
2799             ]\r
2800         ]\r
2801     },\r
2802     {\r
2803         "id": "90deb9f8.a72b18",\r
2804         "type": "outcome",\r
2805         "name": "network-resource",\r
2806         "xml": "<outcome value='network-resource'>",\r
2807         "comments": "",\r
2808         "outputs": 1,\r
2809         "x": 6427.566665649414,\r
2810         "y": 806.5666656494141,\r
2811         "z": "25a21122.0e2cfe",\r
2812         "wires": [\r
2813             [\r
2814                 "d620e654.6255c"\r
2815             ]\r
2816         ]\r
2817     },\r
2818     {\r
2819         "id": "d620e654.6255c",\r
2820         "type": "block",\r
2821         "name": "block : atomic",\r
2822         "xml": "<block atomic=\"true\">",\r
2823         "atomic": "true",\r
2824         "outputs": 1,\r
2825         "x": 6604.566665649414,\r
2826         "y": 798.5666656494141,\r
2827         "z": "25a21122.0e2cfe",\r
2828         "wires": [\r
2829             [\r
2830                 "4397af3f.dc85e"\r
2831             ]\r
2832         ]\r
2833     },\r
2834     {\r
2835         "id": "4397af3f.dc85e",\r
2836         "type": "set",\r
2837         "name": "set domainA ethernet layer network-id",\r
2838         "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
2839         "comments": "",\r
2840         "x": 6839.566665649414,\r
2841         "y": 922.5666656494141,\r
2842         "z": "25a21122.0e2cfe",\r
2843         "wires": []\r
2844     },\r
2845     {\r
2846         "id": "40a79108.ee4848",\r
2847         "type": "set",\r
2848         "name": "set domainB ethernet layer network-id",\r
2849         "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
2850         "comments": "",\r
2851         "x": 6879.566665649414,\r
2852         "y": 1762.566665649414,\r
2853         "z": "25a21122.0e2cfe",\r
2854         "wires": []\r
2855     },\r
2856     {\r
2857         "id": "607a3e65.d46208",\r
2858         "type": "block",\r
2859         "name": "block : atomic",\r
2860         "xml": "<block atomic=\"true\">",\r
2861         "atomic": "true",\r
2862         "outputs": 1,\r
2863         "x": 6644.566665649414,\r
2864         "y": 1638.566665649414,\r
2865         "z": "25a21122.0e2cfe",\r
2866         "wires": [\r
2867             [\r
2868                 "40a79108.ee4848"\r
2869             ]\r
2870         ]\r
2871     },\r
2872     {\r
2873         "id": "9bbf0d49.94213",\r
2874         "type": "outcome",\r
2875         "name": "network-resource",\r
2876         "xml": "<outcome value='network-resource'>",\r
2877         "comments": "",\r
2878         "outputs": 1,\r
2879         "x": 6467.566665649414,\r
2880         "y": 1646.566665649414,\r
2881         "z": "25a21122.0e2cfe",\r
2882         "wires": [\r
2883             [\r
2884                 "607a3e65.d46208"\r
2885             ]\r
2886         ]\r
2887     },\r
2888     {\r
2889         "id": "4f7a1356.449274",\r
2890         "type": "set",\r
2891         "name": "set the max bandwidth",\r
2892         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
2893         "comments": "",\r
2894         "x": 4419.566665649414,\r
2895         "y": 582.5666656494141,\r
2896         "z": "25a21122.0e2cfe",\r
2897         "wires": []\r
2898     },\r
2899     {\r
2900         "id": "d1460a52.2dc398",\r
2901         "type": "execute",\r
2902         "name": "execute UUID generator for ethernet-service-name",\r
2903         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
2904         "comments": "",\r
2905         "outputs": 1,\r
2906         "x": 4441.566665649414,\r
2907         "y": 717.5666656494141,\r
2908         "z": "25a21122.0e2cfe",\r
2909         "wires": [\r
2910             []\r
2911         ]\r
2912     },\r
2913     {\r
2914         "id": "96f11e74.5cf9",\r
2915         "type": "execute",\r
2916         "name": "execute UUID generator for otn-tunnel-name",\r
2917         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
2918         "comments": "",\r
2919         "outputs": 1,\r
2920         "x": 4422.566665649414,\r
2921         "y": 767.5666656494141,\r
2922         "z": "25a21122.0e2cfe",\r
2923         "wires": [\r
2924             []\r
2925         ]\r
2926     },\r
2927     {\r
2928         "id": "f0cde51e.fc048",\r
2929         "type": "for",\r
2930         "name": "for each allotted-resource",\r
2931         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
2932         "comments": "",\r
2933         "outputs": 1,\r
2934         "x": 2032.566665649414,\r
2935         "y": 315.56666564941406,\r
2936         "z": "25a21122.0e2cfe",\r
2937         "wires": [\r
2938             [\r
2939                 "fe22e044.99d4c8",\r
2940                 "103cc7a8.7e9b88"\r
2941             ]\r
2942         ]\r
2943     },\r
2944     {\r
2945         "id": "fe22e044.99d4c8",\r
2946         "type": "set",\r
2947         "name": "set the current allotted-resource-id",\r
2948         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
2949         "comments": "",\r
2950         "x": 2297.566665649414,\r
2951         "y": 238.56666564941406,\r
2952         "z": "25a21122.0e2cfe",\r
2953         "wires": []\r
2954     },\r
2955     {\r
2956         "id": "7c9d6be0.59e3fc",\r
2957         "type": "set",\r
2958         "name": "set query_param",\r
2959         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
2960         "comments": "",\r
2961         "x": 4339.566665649414,\r
2962         "y": 2217.566665649414,\r
2963         "z": "25a21122.0e2cfe",\r
2964         "wires": []\r
2965     },\r
2966     {\r
2967         "id": "5f01b0d6.663678",\r
2968         "type": "set",\r
2969         "name": "unset parameters",\r
2970         "xml": "<set>\n<parameter name='domain-A.tunnel-tp-id' value='' />\n<parameter name='domain-A.node-id' value='' />\n<parameter name='domain-A.network-id' value=\"\" />\n<parameter name='domain-A.provider-id' value=\"\" />\n<parameter name='domain-A.client-id' value=\"\" />\n<parameter name='domain-A.te-topo-id' value=\"\" />\n<parameter name='domain-A.network-type' value=\"\" />\n<parameter name='domain-A.ltpId' value=\"\" />\n<parameter name='tmp.domain-A.network-id' value=\"\" />\n<parameter name='tmp.domain-A.ttp-id' value=\"\" />\n<parameter name='network-route-A' value=\"\" />\n<!--<parameter name='domain-A.' value=\"\" />-->\n\n<parameter name='request-id' value='' />\n<parameter name='otn-source-node' value='' />\n<parameter name='otn-dest-node' value='' />\n<parameter name='bw-odu' value=\"\" />\n<parameter name='src-ttp-id' value='' />\n<parameter name='dst-ttp-id' value='' />\n\n<parameter name='domain-B.tunnel-tp-id' value='' />\n<parameter name='domain-B.node-id' value='' />\n<parameter name='domain-B.network-id' value=\"\" />\n<parameter name='domain-B.provider-id' value=\"\" />\n<parameter name='domain-B.client-id' value=\"\" />\n<parameter name='domain-B.te-topo-id' value=\"\" />\n<parameter name='domain-B.network-type' value=\"\" />\n<parameter name='domain-B.ltpId' value=\"\" />\n<parameter name='tmp.domain-B.network-id' value=\"\" />\n<parameter name='tmp.domain-B.ttp-id' value=\"\" />\n<parameter name='network-route-B' value=\"\" />\n<!--<parameter name='domain-B.' value=\"\" />-->\n\n\n\n\n\n",\r
2971         "comments": "",\r
2972         "x": 4322.566665649414,\r
2973         "y": 3975.566665649414,\r
2974         "z": "25a21122.0e2cfe",\r
2975         "wires": []\r
2976     },\r
2977     {\r
2978         "id": "32dd1d69.d1982a",\r
2979         "type": "set",\r
2980         "name": "set new ethernet-service-name",\r
2981         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
2982         "comments": "",\r
2983         "x": 4379.566665649414,\r
2984         "y": 812.5666656494141,\r
2985         "z": "25a21122.0e2cfe",\r
2986         "wires": []\r
2987     },\r
2988     {\r
2989         "id": "fefb165c.6d9d48",\r
2990         "type": "for",\r
2991         "name": "for vidx..tmp.otninfo_length[]",\r
2992         "xml": "<for index='otnidx' start='0' end='`$tmp.otninfo_length`' >",\r
2993         "comments": "",\r
2994         "outputs": 1,\r
2995         "x": 4368.566665649414,\r
2996         "y": 2457.566665649414,\r
2997         "z": "25a21122.0e2cfe",\r
2998         "wires": [\r
2999             [\r
3000                 "15c5a249.e6ba26"\r
3001             ]\r
3002         ]\r
3003     },\r
3004     {\r
3005         "id": "1531085f.c55ba",\r
3006         "type": "save",\r
3007         "name": "save vpn-binding otnIdx resource (aka. OTN) in AAI",\r
3008         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-otnidx-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<!--<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />-->\n<parameter name='customer-vpn-id' value='`($maxtpn + $gfp)`' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<parameter name='access-provider-id' value='`$tmp.access-provider-id`' />\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<parameter name='access-client-id' value='`$tmp.access-client-id`' />\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<parameter name='access-topology-id' value='`$tmp.access-topology-id`' />\n<!--<parameter name='src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<parameter name='src-access-node-id' value='`$tmp.domainG-src-access-node-id`' />\n<parameter name='src-access-ltp-id' value='`$tmp.otninfo[$otnidx].srcPort.src-tunnel-tp-id`' />\n<!--<parameter name='dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />-->\n<parameter name='dst-access-node-id' value='`$tmp.domainG-dst-access-node-id`' />\n<parameter name='dst-access-ltp-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n\n\n<parameter name='vpn-region' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.url`' />\n<parameter name='vpn-description' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.user`' />\n<parameter name='vpn-platform' value='`$prop.sdncRestApi.thirdpartySdnc.domainG.password`' />\n\n<!-- The following line is in lieu of vpn-binding.slice-id (new attribute in latest AAI) -->\n<parameter name='ops-note' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3009         "comments": "",\r
3010         "outputs": 1,\r
3011         "x": 5496.566665649414,\r
3012         "y": 2964.566665649414,\r
3013         "z": "25a21122.0e2cfe",\r
3014         "wires": [\r
3015             [\r
3016                 "fcadaec7.4e387"\r
3017             ]\r
3018         ]\r
3019     },\r
3020     {\r
3021         "id": "24f90323.65c334",\r
3022         "type": "save",\r
3023         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
3024         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
3025         "comments": "",\r
3026         "outputs": 1,\r
3027         "x": 6069.066665649414,\r
3028         "y": 3068.566665649414,\r
3029         "z": "25a21122.0e2cfe",\r
3030         "wires": [\r
3031             []\r
3032         ]\r
3033     },\r
3034     {\r
3035         "id": "fcadaec7.4e387",\r
3036         "type": "success",\r
3037         "name": "success",\r
3038         "xml": "<outcome value='success'>\n",\r
3039         "comments": "",\r
3040         "outputs": 1,\r
3041         "x": 5802.566665649414,\r
3042         "y": 2963.566665649414,\r
3043         "z": "25a21122.0e2cfe",\r
3044         "wires": [\r
3045             [\r
3046                 "47fc66cf.f2219"\r
3047             ]\r
3048         ]\r
3049     },\r
3050     {\r
3051         "id": "47fc66cf.f2219",\r
3052         "type": "block",\r
3053         "name": "block",\r
3054         "xml": "<block>\n",\r
3055         "atomic": "false",\r
3056         "comments": "",\r
3057         "outputs": 1,\r
3058         "x": 6012.066665649414,\r
3059         "y": 2963.820571899414,\r
3060         "z": "25a21122.0e2cfe",\r
3061         "wires": [\r
3062             []\r
3063         ]\r
3064     },\r
3065     {\r
3066         "id": "e4910759.e9a85",\r
3067         "type": "execute",\r
3068         "name": "execute UUID generator for vpn-binding $otnidx",\r
3069         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-otnidx-uuid\"/>\n",\r
3070         "comments": "",\r
3071         "outputs": 1,\r
3072         "x": 5532.566665649414,\r
3073         "y": 2428.566665649414,\r
3074         "z": "25a21122.0e2cfe",\r
3075         "wires": [\r
3076             []\r
3077         ]\r
3078     },\r
3079     {\r
3080         "id": "19efb26.3a5054e",\r
3081         "type": "switchNode",\r
3082         "name": "switch otnidx == 0",\r
3083         "xml": "<switch test='`$otnidx == 0`'>\n",\r
3084         "comments": "",\r
3085         "outputs": 1,\r
3086         "x": 5405.566665649414,\r
3087         "y": 3081.566665649414,\r
3088         "z": "25a21122.0e2cfe",\r
3089         "wires": [\r
3090             [\r
3091                 "6ac91bae.a4e2fc",\r
3092                 "f696dd3e.08c3d"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "6ac91bae.a4e2fc",\r
3098         "type": "outcomeTrue",\r
3099         "name": "true",\r
3100         "xml": "<outcome value='true'>\n",\r
3101         "comments": "",\r
3102         "outputs": 1,\r
3103         "x": 5588.566665649414,\r
3104         "y": 3081.566665649414,\r
3105         "z": "25a21122.0e2cfe",\r
3106         "wires": [\r
3107             [\r
3108                 "5559f5ba.2a16b4"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "f696dd3e.08c3d",\r
3114         "type": "outcomeFalse",\r
3115         "name": "false",\r
3116         "xml": "<outcome value='false'>\n",\r
3117         "comments": "",\r
3118         "outputs": 1,\r
3119         "x": 5413.566665649414,\r
3120         "y": 3228.566665649414,\r
3121         "z": "25a21122.0e2cfe",\r
3122         "wires": [\r
3123             [\r
3124                 "16a87f5a.f1d3a9"\r
3125             ]\r
3126         ]\r
3127     },\r
3128     {\r
3129         "id": "b74045ae.325b78",\r
3130         "type": "switchNode",\r
3131         "name": "switch otnidx == last",\r
3132         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n\n",\r
3133         "comments": "",\r
3134         "outputs": 1,\r
3135         "x": 5754.566665649414,\r
3136         "y": 3309.566665649414,\r
3137         "z": "25a21122.0e2cfe",\r
3138         "wires": [\r
3139             [\r
3140                 "93c212f0.0f2258",\r
3141                 "d060ce07.272bc8"\r
3142             ]\r
3143         ]\r
3144     },\r
3145     {\r
3146         "id": "93c212f0.0f2258",\r
3147         "type": "outcomeTrue",\r
3148         "name": "true",\r
3149         "xml": "<outcome value='true'>\n",\r
3150         "comments": "",\r
3151         "outputs": 1,\r
3152         "x": 5939.566665649414,\r
3153         "y": 3310.566665649414,\r
3154         "z": "25a21122.0e2cfe",\r
3155         "wires": [\r
3156             [\r
3157                 "8ce15cd2.dd2d"\r
3158             ]\r
3159         ]\r
3160     },\r
3161     {\r
3162         "id": "d060ce07.272bc8",\r
3163         "type": "outcomeFalse",\r
3164         "name": "false",\r
3165         "xml": "<outcome value='false'>\n",\r
3166         "comments": "",\r
3167         "outputs": 1,\r
3168         "x": 5958.566665649414,\r
3169         "y": 3576.566665649414,\r
3170         "z": "25a21122.0e2cfe",\r
3171         "wires": [\r
3172             [\r
3173                 "1b72857d.e58193"\r
3174             ]\r
3175         ]\r
3176     },\r
3177     {\r
3178         "id": "a4b93978.557f9",\r
3179         "type": "save",\r
3180         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
3181         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
3182         "comments": "",\r
3183         "outputs": 1,\r
3184         "x": 6369.566665649414,\r
3185         "y": 3311.566665649414,\r
3186         "z": "25a21122.0e2cfe",\r
3187         "wires": [\r
3188             []\r
3189         ]\r
3190     },\r
3191     {\r
3192         "id": "c7b0c40a.9c6038",\r
3193         "type": "execute",\r
3194         "name": "execute UUID generator for connectivity domain otnidx",\r
3195         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-otnidx-uuid\"/>\n",\r
3196         "comments": "",\r
3197         "outputs": 1,\r
3198         "x": 6443.566665649414,\r
3199         "y": 3609.566665649414,\r
3200         "z": "25a21122.0e2cfe",\r
3201         "wires": [\r
3202             []\r
3203         ]\r
3204     },\r
3205     {\r
3206         "id": "689f50a5.dff04",\r
3207         "type": "save",\r
3208         "name": "save connectivity resource in AAI",\r
3209         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-otnidx-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-otnidx-uuid`' />\n<!--<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />-->\n<parameter name='operational-status' value='Created' />\n<!--<parameter name='access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />-->\n<!--<parameter name='access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />-->\n<!--<parameter name='access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />-->\n<!--<parameter name='access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />-->\n<!--<parameter name='access-ltp-id' value='``' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='dummy' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<!--<parameter name='CBS' value='`$prop.sotn.cbs`' />-->\n<!--<parameter name='EBS' value='`$prop.sotn.ebs`' />-->\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3210         "comments": "",\r
3211         "outputs": 1,\r
3212         "x": 6379.566665649414,\r
3213         "y": 3660.566665649414,\r
3214         "z": "25a21122.0e2cfe",\r
3215         "wires": [\r
3216             []\r
3217         ]\r
3218     },\r
3219     {\r
3220         "id": "67d0e07e.cd61f8",\r
3221         "type": "save",\r
3222         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3223         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3224         "comments": "",\r
3225         "outputs": 1,\r
3226         "x": 6508.566665649414,\r
3227         "y": 3710.566665649414,\r
3228         "z": "25a21122.0e2cfe",\r
3229         "wires": [\r
3230             []\r
3231         ]\r
3232     },\r
3233     {\r
3234         "id": "8bcc08c5.9c4d7",\r
3235         "type": "comment",\r
3236         "name": "connectivity has not been created for middle domains, so we have to create one",\r
3237         "info": "",\r
3238         "comments": "",\r
3239         "x": 6518.566665649414,\r
3240         "y": 3553.566665649414,\r
3241         "z": "25a21122.0e2cfe",\r
3242         "wires": []\r
3243     },\r
3244     {\r
3245         "id": "64006ab7.c64d44",\r
3246         "type": "save",\r
3247         "name": "save connectivity-otnidx relationship to vpn-binding-otnidx, in AAI",\r
3248         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-otnidx-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-otnidx-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-otnidx-uuid`\" />",\r
3249         "comments": "",\r
3250         "outputs": 1,\r
3251         "x": 6476.566665649414,\r
3252         "y": 3769.566665649414,\r
3253         "z": "25a21122.0e2cfe",\r
3254         "wires": [\r
3255             []\r
3256         ]\r
3257     },\r
3258     {\r
3259         "id": "1b72857d.e58193",\r
3260         "type": "block",\r
3261         "name": "block : atomic",\r
3262         "xml": "<block atomic='true'>",\r
3263         "atomic": "true",\r
3264         "comments": "",\r
3265         "outputs": 1,\r
3266         "x": 6115.566665649414,\r
3267         "y": 3577.566665649414,\r
3268         "z": "25a21122.0e2cfe",\r
3269         "wires": [\r
3270             [\r
3271                 "c7b0c40a.9c6038",\r
3272                 "689f50a5.dff04",\r
3273                 "67d0e07e.cd61f8",\r
3274                 "64006ab7.c64d44",\r
3275                 "9642c24b.bc1f8"\r
3276             ]\r
3277         ]\r
3278     },\r
3279     {\r
3280         "id": "15c5a249.e6ba26",\r
3281         "type": "block",\r
3282         "name": "block : atomic",\r
3283         "xml": "<block atomic='true'>",\r
3284         "atomic": "true",\r
3285         "comments": "",\r
3286         "outputs": 1,\r
3287         "x": 4625.566665649414,\r
3288         "y": 2457.566665649414,\r
3289         "z": "25a21122.0e2cfe",\r
3290         "wires": [\r
3291             [\r
3292                 "e4910759.e9a85",\r
3293                 "1531085f.c55ba",\r
3294                 "19efb26.3a5054e",\r
3295                 "ad7dc399.bf418",\r
3296                 "59469467.70a6d4",\r
3297                 "982e5c66.4703f8",\r
3298                 "e9c05ada.bb249"\r
3299             ]\r
3300         ]\r
3301     },\r
3302     {\r
3303         "id": "b962e9bf.f7ec68",\r
3304         "type": "set",\r
3305         "name": "set attachment_param domain A",\r
3306         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n\n",\r
3307         "comments": "",\r
3308         "x": 5993.566665649414,\r
3309         "y": 3125.566665649414,\r
3310         "z": "25a21122.0e2cfe",\r
3311         "wires": []\r
3312     },\r
3313     {\r
3314         "id": "7f4b2d0d.ab9d0c",\r
3315         "type": "execute",\r
3316         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3317         "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
3318         "comments": "",\r
3319         "outputs": 1,\r
3320         "x": 6046.566665649414,\r
3321         "y": 3169.566665649414,\r
3322         "z": "25a21122.0e2cfe",\r
3323         "wires": [\r
3324             [\r
3325                 "d0a8f560.124258",\r
3326                 "e919fb8f.48aeb"\r
3327             ]\r
3328         ]\r
3329     },\r
3330     {\r
3331         "id": "e919fb8f.48aeb",\r
3332         "type": "failure",\r
3333         "name": "failure",\r
3334         "xml": "<outcome value='failure'>\n",\r
3335         "comments": "",\r
3336         "outputs": 1,\r
3337         "x": 6317.566665649414,\r
3338         "y": 3154.566665649414,\r
3339         "z": "25a21122.0e2cfe",\r
3340         "wires": [\r
3341             [\r
3342                 "408ad253.15a054"\r
3343             ]\r
3344         ]\r
3345     },\r
3346     {\r
3347         "id": "d0a8f560.124258",\r
3348         "type": "success",\r
3349         "name": "success",\r
3350         "xml": "<outcome value='success'>\n",\r
3351         "comments": "",\r
3352         "outputs": 1,\r
3353         "x": 6315.566879272461,\r
3354         "y": 3212.566575050354,\r
3355         "z": "25a21122.0e2cfe",\r
3356         "wires": [\r
3357             [\r
3358                 "bfaa06ad.2149c"\r
3359             ]\r
3360         ]\r
3361     },\r
3362     {\r
3363         "id": "408ad253.15a054",\r
3364         "type": "returnFailure",\r
3365         "name": "return failure",\r
3366         "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
3367         "comments": "",\r
3368         "x": 6457.566913604736,\r
3369         "y": 3154.5666666030884,\r
3370         "z": "25a21122.0e2cfe",\r
3371         "wires": []\r
3372     },\r
3373     {\r
3374         "id": "bfaa06ad.2149c",\r
3375         "type": "block",\r
3376         "name": "block",\r
3377         "xml": "<block>\n",\r
3378         "atomic": "false",\r
3379         "comments": "",\r
3380         "outputs": 1,\r
3381         "x": 6463.593925476074,\r
3382         "y": 3203.31206035614,\r
3383         "z": "25a21122.0e2cfe",\r
3384         "wires": [\r
3385             []\r
3386         ]\r
3387     },\r
3388     {\r
3389         "id": "5559f5ba.2a16b4",\r
3390         "type": "block",\r
3391         "name": "block",\r
3392         "xml": "<block>\n",\r
3393         "atomic": "false",\r
3394         "comments": "",\r
3395         "outputs": 1,\r
3396         "x": 5729.566665649414,\r
3397         "y": 3071.566665649414,\r
3398         "z": "25a21122.0e2cfe",\r
3399         "wires": [\r
3400             [\r
3401                 "24f90323.65c334",\r
3402                 "7f4b2d0d.ab9d0c",\r
3403                 "b962e9bf.f7ec68"\r
3404             ]\r
3405         ]\r
3406     },\r
3407     {\r
3408         "id": "8ce15cd2.dd2d",\r
3409         "type": "block",\r
3410         "name": "block",\r
3411         "xml": "<block>\n",\r
3412         "atomic": "false",\r
3413         "comments": "",\r
3414         "outputs": 1,\r
3415         "x": 6073.566665649414,\r
3416         "y": 3311.566665649414,\r
3417         "z": "25a21122.0e2cfe",\r
3418         "wires": [\r
3419             [\r
3420                 "a4b93978.557f9",\r
3421                 "fc367338.14f248",\r
3422                 "546374c7.67c9c4"\r
3423             ]\r
3424         ]\r
3425     },\r
3426     {\r
3427         "id": "546374c7.67c9c4",\r
3428         "type": "set",\r
3429         "name": "set attachment_param domain B",\r
3430         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n\n",\r
3431         "comments": "",\r
3432         "x": 6293.566665649414,\r
3433         "y": 3355.566665649414,\r
3434         "z": "25a21122.0e2cfe",\r
3435         "wires": []\r
3436     },\r
3437     {\r
3438         "id": "fc367338.14f248",\r
3439         "type": "execute",\r
3440         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3441         "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
3442         "comments": "",\r
3443         "outputs": 1,\r
3444         "x": 6344.566665649414,\r
3445         "y": 3399.566665649414,\r
3446         "z": "25a21122.0e2cfe",\r
3447         "wires": [\r
3448             [\r
3449                 "edc516eb.d6818",\r
3450                 "889681a1.8aebb"\r
3451             ]\r
3452         ]\r
3453     },\r
3454     {\r
3455         "id": "889681a1.8aebb",\r
3456         "type": "failure",\r
3457         "name": "failure",\r
3458         "xml": "<outcome value='failure'>\n",\r
3459         "comments": "",\r
3460         "outputs": 1,\r
3461         "x": 6607.566665649414,\r
3462         "y": 3379.566665649414,\r
3463         "z": "25a21122.0e2cfe",\r
3464         "wires": [\r
3465             [\r
3466                 "b62983f6.8b1c68"\r
3467             ]\r
3468         ]\r
3469     },\r
3470     {\r
3471         "id": "edc516eb.d6818",\r
3472         "type": "success",\r
3473         "name": "success",\r
3474         "xml": "<outcome value='success'>\n",\r
3475         "comments": "",\r
3476         "outputs": 1,\r
3477         "x": 6608.566879272461,\r
3478         "y": 3430.566575050354,\r
3479         "z": "25a21122.0e2cfe",\r
3480         "wires": [\r
3481             [\r
3482                 "51aaba5d.abae2c"\r
3483             ]\r
3484         ]\r
3485     },\r
3486     {\r
3487         "id": "b62983f6.8b1c68",\r
3488         "type": "returnFailure",\r
3489         "name": "return failure",\r
3490         "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
3491         "comments": "",\r
3492         "x": 6747.566913604736,\r
3493         "y": 3379.5666666030884,\r
3494         "z": "25a21122.0e2cfe",\r
3495         "wires": []\r
3496     },\r
3497     {\r
3498         "id": "51aaba5d.abae2c",\r
3499         "type": "block",\r
3500         "name": "block",\r
3501         "xml": "<block>\n",\r
3502         "atomic": "false",\r
3503         "comments": "",\r
3504         "outputs": 1,\r
3505         "x": 6753.593925476074,\r
3506         "y": 3428.31206035614,\r
3507         "z": "25a21122.0e2cfe",\r
3508         "wires": [\r
3509             []\r
3510         ]\r
3511     },\r
3512     {\r
3513         "id": "9642c24b.bc1f8",\r
3514         "type": "set",\r
3515         "name": "set attachment_param domain otnidx",\r
3516         "xml": "<set>\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n",\r
3517         "comments": "",\r
3518         "x": 6390.566665649414,\r
3519         "y": 3829.566665649414,\r
3520         "z": "25a21122.0e2cfe",\r
3521         "wires": []\r
3522     },\r
3523     {\r
3524         "id": "127eaa7a.98449e",\r
3525         "type": "save",\r
3526         "name": "get all-vpn-bindings from aai",\r
3527         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v21/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
3528         "comments": "",\r
3529         "outputs": 1,\r
3530         "x": 3709.566665649414,\r
3531         "y": 4176.566665649414,\r
3532         "z": "25a21122.0e2cfe",\r
3533         "wires": [\r
3534             [\r
3535                 "4f7f9fac.fe049",\r
3536                 "7f9abc32.a826f4",\r
3537                 "58223279.e77444"\r
3538             ]\r
3539         ]\r
3540     },\r
3541     {\r
3542         "id": "4f7f9fac.fe049",\r
3543         "type": "success",\r
3544         "name": "success",\r
3545         "xml": "<outcome value='success'>\n",\r
3546         "comments": "",\r
3547         "outputs": 1,\r
3548         "x": 3897.566665649414,\r
3549         "y": 4189.566665649414,\r
3550         "z": "25a21122.0e2cfe",\r
3551         "wires": [\r
3552             [\r
3553                 "f21f6a6d.7c0b9"\r
3554             ]\r
3555         ]\r
3556     },\r
3557     {\r
3558         "id": "7f9abc32.a826f4",\r
3559         "type": "not-found",\r
3560         "name": "not-found",\r
3561         "xml": "<outcome value='not-found'>\n",\r
3562         "comments": "",\r
3563         "outputs": 1,\r
3564         "x": 3898.057632446289,\r
3565         "y": 4235.140701293945,\r
3566         "z": "25a21122.0e2cfe",\r
3567         "wires": [\r
3568             [\r
3569                 "5b9e9e7e.bd3fb8"\r
3570             ]\r
3571         ]\r
3572     },\r
3573     {\r
3574         "id": "58223279.e77444",\r
3575         "type": "failure",\r
3576         "name": "failure",\r
3577         "xml": "<outcome value='failure'>\n",\r
3578         "comments": "",\r
3579         "outputs": 1,\r
3580         "x": 3895.566665649414,\r
3581         "y": 4278.566665649414,\r
3582         "z": "25a21122.0e2cfe",\r
3583         "wires": [\r
3584             [\r
3585                 "81ac9378.5e17c8"\r
3586             ]\r
3587         ]\r
3588     },\r
3589     {\r
3590         "id": "f21f6a6d.7c0b9",\r
3591         "type": "block",\r
3592         "name": "block : atomic",\r
3593         "xml": "<block atomic=\"true\">",\r
3594         "atomic": "true",\r
3595         "outputs": 1,\r
3596         "x": 4070.566665649414,\r
3597         "y": 4187.566665649414,\r
3598         "z": "25a21122.0e2cfe",\r
3599         "wires": [\r
3600             [\r
3601                 "1562d3ab.607dc4"\r
3602             ]\r
3603         ]\r
3604     },\r
3605     {\r
3606         "id": "5b9e9e7e.bd3fb8",\r
3607         "type": "returnFailure",\r
3608         "name": "return failure",\r
3609         "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
3610         "comments": "",\r
3611         "x": 4060.6290435791016,\r
3612         "y": 4235.42643737793,\r
3613         "z": "25a21122.0e2cfe",\r
3614         "wires": []\r
3615     },\r
3616     {\r
3617         "id": "81ac9378.5e17c8",\r
3618         "type": "returnFailure",\r
3619         "name": "return failure",\r
3620         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3621         "comments": "",\r
3622         "x": 4062.566665649414,\r
3623         "y": 4277.566665649414,\r
3624         "z": "25a21122.0e2cfe",\r
3625         "wires": []\r
3626     },\r
3627     {\r
3628         "id": "e781046f.1418e",\r
3629         "type": "for",\r
3630         "name": "for vidx..tmp.otninfo_length[]",\r
3631         "xml": "<for index='dmnsidx' start='0' end='`$otn-tunnel-slice_length`' >\n",\r
3632         "comments": "",\r
3633         "outputs": 1,\r
3634         "x": 3698.566665649414,\r
3635         "y": 4367.566665649414,\r
3636         "z": "25a21122.0e2cfe",\r
3637         "wires": [\r
3638             [\r
3639                 "d5bebf9c.374a9"\r
3640             ]\r
3641         ]\r
3642     },\r
3643     {\r
3644         "id": "a7536813.9c6d5",\r
3645         "type": "block",\r
3646         "name": "block : atomic",\r
3647         "xml": "<block atomic='true'>",\r
3648         "atomic": "true",\r
3649         "comments": "",\r
3650         "outputs": 1,\r
3651         "x": 4508.566665649414,\r
3652         "y": 4367.566665649414,\r
3653         "z": "25a21122.0e2cfe",\r
3654         "wires": [\r
3655             [\r
3656                 "a13486f2.279748"\r
3657             ]\r
3658         ]\r
3659     },\r
3660     {\r
3661         "id": "d852a581.272668",\r
3662         "type": "for",\r
3663         "name": "for vidx..tmp.otninfo_length[]",\r
3664         "xml": "<for index='stunidx' start='0' end='`$otn-tunnel-slice[$dmnsidx].list_length`' >\n",\r
3665         "comments": "",\r
3666         "outputs": 1,\r
3667         "x": 4280.566665649414,\r
3668         "y": 4367.566665649414,\r
3669         "z": "25a21122.0e2cfe",\r
3670         "wires": [\r
3671             [\r
3672                 "a7536813.9c6d5"\r
3673             ]\r
3674         ]\r
3675     },\r
3676     {\r
3677         "id": "35196fa7.3e82b8",\r
3678         "type": "set",\r
3679         "name": "set providerValue",\r
3680         "xml": "<set>\n<parameter name='providerValue' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].access-provider-id`' />\n<parameter name='found' value='false' />\n\n\n",\r
3681         "comments": "",\r
3682         "x": 5400.566665649414,\r
3683         "y": 4134.566665649414,\r
3684         "z": "25a21122.0e2cfe",\r
3685         "wires": []\r
3686     },\r
3687     {\r
3688         "id": "1b7fbbc1.fdc524",\r
3689         "type": "set",\r
3690         "name": "set",\r
3691         "xml": "<set>\n<parameter name='testingvalue' value='$tmp.otninfo_length -1' />\n",\r
3692         "comments": "",\r
3693         "x": 5702.566665649414,\r
3694         "y": 3260.566665649414,\r
3695         "z": "25a21122.0e2cfe",\r
3696         "wires": []\r
3697     },\r
3698     {\r
3699         "id": "16a87f5a.f1d3a9",\r
3700         "type": "block",\r
3701         "name": "block",\r
3702         "xml": "<block>\n",\r
3703         "atomic": "false",\r
3704         "comments": "",\r
3705         "outputs": 1,\r
3706         "x": 5537.566665649414,\r
3707         "y": 3235.566665649414,\r
3708         "z": "25a21122.0e2cfe",\r
3709         "wires": [\r
3710             [\r
3711                 "1b7fbbc1.fdc524",\r
3712                 "b74045ae.325b78"\r
3713             ]\r
3714         ]\r
3715     },\r
3716     {\r
3717         "id": "5a4aff44.5be78",\r
3718         "type": "set",\r
3719         "name": "set tmp.arr",\r
3720         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n<parameter name='bwModified' value='false' />\n",\r
3721         "comments": "",\r
3722         "x": 1991.566665649414,\r
3723         "y": 265.56666564941406,\r
3724         "z": "25a21122.0e2cfe",\r
3725         "wires": []\r
3726     },\r
3727     {\r
3728         "id": "1562d3ab.607dc4",\r
3729         "type": "for",\r
3730         "name": "for vpnidx in all-vpn-bindings",\r
3731         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
3732         "comments": "",\r
3733         "outputs": 1,\r
3734         "x": 4299.566665649414,\r
3735         "y": 4188.566665649414,\r
3736         "z": "25a21122.0e2cfe",\r
3737         "wires": [\r
3738             [\r
3739                 "1d7f1d69.47cb1b"\r
3740             ]\r
3741         ]\r
3742     },\r
3743     {\r
3744         "id": "1d7f1d69.47cb1b",\r
3745         "type": "block",\r
3746         "name": "block : atomic",\r
3747         "xml": "<block atomic='true'>",\r
3748         "atomic": "true",\r
3749         "comments": "",\r
3750         "outputs": 1,\r
3751         "x": 4514.566665649414,\r
3752         "y": 4189.566665649414,\r
3753         "z": "25a21122.0e2cfe",\r
3754         "wires": [\r
3755             [\r
3756                 "25f755d1.b61592"\r
3757             ]\r
3758         ]\r
3759     },\r
3760     {\r
3761         "id": "5d5ba3f2.74414c",\r
3762         "type": "for",\r
3763         "name": "for arridx in tmp.arr",\r
3764         "xml": "<for index='arridx' start='0' end='`$tmp.arr_length`' >\n",\r
3765         "comments": "",\r
3766         "outputs": 1,\r
3767         "x": 5967.566665649414,\r
3768         "y": 4109.566665649414,\r
3769         "z": "25a21122.0e2cfe",\r
3770         "wires": [\r
3771             [\r
3772                 "c853cdfd.dbbe38"\r
3773             ]\r
3774         ]\r
3775     },\r
3776     {\r
3777         "id": "b4d44dab.0baa88",\r
3778         "type": "switchNode",\r
3779         "name": "switch $tmp.arr_length != 0",\r
3780         "xml": "<switch test='`$tmp.arr_length != 0`'>\n",\r
3781         "comments": "",\r
3782         "outputs": 1,\r
3783         "x": 5433.566665649414,\r
3784         "y": 4189.566665649414,\r
3785         "z": "25a21122.0e2cfe",\r
3786         "wires": [\r
3787             [\r
3788                 "62eec498.21eadc",\r
3789                 "978a0072.3fd11"\r
3790             ]\r
3791         ]\r
3792     },\r
3793     {\r
3794         "id": "62eec498.21eadc",\r
3795         "type": "outcomeTrue",\r
3796         "name": "true",\r
3797         "xml": "<outcome value='true'>\n",\r
3798         "comments": "",\r
3799         "outputs": 1,\r
3800         "x": 5629.566665649414,\r
3801         "y": 4159.566665649414,\r
3802         "z": "25a21122.0e2cfe",\r
3803         "wires": [\r
3804             [\r
3805                 "899efa3b.42e148"\r
3806             ]\r
3807         ]\r
3808     },\r
3809     {\r
3810         "id": "978a0072.3fd11",\r
3811         "type": "outcomeFalse",\r
3812         "name": "false",\r
3813         "xml": "<outcome value='false'>\n",\r
3814         "comments": "",\r
3815         "outputs": 1,\r
3816         "x": 5630.566665649414,\r
3817         "y": 4230.566665649414,\r
3818         "z": "25a21122.0e2cfe",\r
3819         "wires": [\r
3820             [\r
3821                 "214f2c3d.6d899c"\r
3822             ]\r
3823         ]\r
3824     },\r
3825     {\r
3826         "id": "899efa3b.42e148",\r
3827         "type": "block",\r
3828         "name": "block : atomic",\r
3829         "xml": "<block atomic='true'>",\r
3830         "atomic": "true",\r
3831         "comments": "",\r
3832         "outputs": 1,\r
3833         "x": 5780.566665649414,\r
3834         "y": 4157.566665649414,\r
3835         "z": "25a21122.0e2cfe",\r
3836         "wires": [\r
3837             [\r
3838                 "5d5ba3f2.74414c",\r
3839                 "a601628e.52c128"\r
3840             ]\r
3841         ]\r
3842     },\r
3843     {\r
3844         "id": "c853cdfd.dbbe38",\r
3845         "type": "switchNode",\r
3846         "name": "switch tmp.arr[$arridx] == $providerValue",\r
3847         "xml": "<switch test='`$tmp.arr[$arridx] == $providerValue`'>\n",\r
3848         "comments": "",\r
3849         "outputs": 1,\r
3850         "x": 6258.566665649414,\r
3851         "y": 4109.566665649414,\r
3852         "z": "25a21122.0e2cfe",\r
3853         "wires": [\r
3854             [\r
3855                 "32f1af6e.548f98",\r
3856                 "aa4fe454.7a4ce"\r
3857             ]\r
3858         ]\r
3859     },\r
3860     {\r
3861         "id": "32f1af6e.548f98",\r
3862         "type": "outcomeTrue",\r
3863         "name": "true",\r
3864         "xml": "<outcome value='true'>\n",\r
3865         "comments": "",\r
3866         "outputs": 1,\r
3867         "x": 6533.566665649414,\r
3868         "y": 4078.566665649414,\r
3869         "z": "25a21122.0e2cfe",\r
3870         "wires": [\r
3871             [\r
3872                 "811e814b.5875b8"\r
3873             ]\r
3874         ]\r
3875     },\r
3876     {\r
3877         "id": "aa4fe454.7a4ce",\r
3878         "type": "outcomeFalse",\r
3879         "name": "false",\r
3880         "xml": "<outcome value='false'>\n",\r
3881         "comments": "",\r
3882         "outputs": 1,\r
3883         "x": 6534.566665649414,\r
3884         "y": 4149.566665649414,\r
3885         "z": "25a21122.0e2cfe",\r
3886         "wires": [\r
3887             [\r
3888                 "989bacbe.4af828"\r
3889             ]\r
3890         ]\r
3891     },\r
3892     {\r
3893         "id": "811e814b.5875b8",\r
3894         "type": "block",\r
3895         "name": "block : atomic",\r
3896         "xml": "<block atomic='true'>",\r
3897         "atomic": "true",\r
3898         "comments": "",\r
3899         "outputs": 1,\r
3900         "x": 6684.566665649414,\r
3901         "y": 4076.566665649414,\r
3902         "z": "25a21122.0e2cfe",\r
3903         "wires": [\r
3904             [\r
3905                 "af4f903c.21f488",\r
3906                 "2d6d2965.4ae4be",\r
3907                 "e5b6e917.a4d33",\r
3908                 "1c32b22d.5aadde",\r
3909                 "1865add8.1adbe2"\r
3910             ]\r
3911         ]\r
3912     },\r
3913     {\r
3914         "id": "af4f903c.21f488",\r
3915         "type": "set",\r
3916         "name": "set found to true",\r
3917         "xml": "<set>\n<parameter name='found' value='true' />\n\n\n",\r
3918         "comments": "",\r
3919         "x": 6872.566665649414,\r
3920         "y": 4036.566665649414,\r
3921         "z": "25a21122.0e2cfe",\r
3922         "wires": []\r
3923     },\r
3924     {\r
3925         "id": "2d6d2965.4ae4be",\r
3926         "type": "save",\r
3927         "name": "store $arridx somewhere in vpn-binding",\r
3928         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx`' />\n\n\n",\r
3929         "comments": "",\r
3930         "outputs": 1,\r
3931         "x": 6944.566665649414,\r
3932         "y": 4081.566665649414,\r
3933         "z": "25a21122.0e2cfe",\r
3934         "wires": [\r
3935             []\r
3936         ]\r
3937     },\r
3938     {\r
3939         "id": "1865add8.1adbe2",\r
3940         "type": "set",\r
3941         "name": "set twoD arr",\r
3942         "xml": "<set>\n\n<!--<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />-->\n<!--<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />-->\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx].list[$sizeOfSliceList].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<!--<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />-->\n<parameter name='`otn-tunnel-slice[$arridx].list_length`' value='`$sizeOfSliceList + 1`' />\n\n",\r
3943         "comments": "",\r
3944         "x": 6859.566665649414,\r
3945         "y": 4208.566665649414,\r
3946         "z": "25a21122.0e2cfe",\r
3947         "wires": []\r
3948     },\r
3949     {\r
3950         "id": "1c32b22d.5aadde",\r
3951         "type": "set",\r
3952         "name": "set sizeOfSliceList",\r
3953         "xml": "<set>\n<parameter name='sizeOfSliceList' value='`$otn-tunnel-slice[$arridx].list_length`' />\n\n\n",\r
3954         "comments": "",\r
3955         "x": 6880.566665649414,\r
3956         "y": 4144.566665649414,\r
3957         "z": "25a21122.0e2cfe",\r
3958         "wires": []\r
3959     },\r
3960     {\r
3961         "id": "214f2c3d.6d899c",\r
3962         "type": "block",\r
3963         "name": "block : atomic",\r
3964         "xml": "<block atomic='true'>",\r
3965         "atomic": "true",\r
3966         "comments": "",\r
3967         "outputs": 1,\r
3968         "x": 5782.566665649414,\r
3969         "y": 4230.566665649414,\r
3970         "z": "25a21122.0e2cfe",\r
3971         "wires": [\r
3972             [\r
3973                 "2a37cb43.8a38d4",\r
3974                 "2a56e17b.8d5c2e"\r
3975             ]\r
3976         ]\r
3977     },\r
3978     {\r
3979         "id": "2a37cb43.8a38d4",\r
3980         "type": "save",\r
3981         "name": "store $arridx somewhere in vpn-binding",\r
3982         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='0' />\n\n\n",\r
3983         "comments": "",\r
3984         "outputs": 1,\r
3985         "x": 6037.566665649414,\r
3986         "y": 4223.566665649414,\r
3987         "z": "25a21122.0e2cfe",\r
3988         "wires": [\r
3989             []\r
3990         ]\r
3991     },\r
3992     {\r
3993         "id": "2a56e17b.8d5c2e",\r
3994         "type": "set",\r
3995         "name": "set twoD array",\r
3996         "xml": "<set>\n<parameter name='tmp.arr[0]' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='1' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[0].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[0].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[0].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[0].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='1' />\n<parameter name='otn-tunnel-slice[0].list_length' value='1' />\n\n",\r
3997         "comments": "",\r
3998         "x": 5965.566665649414,\r
3999         "y": 4270.566665649414,\r
4000         "z": "25a21122.0e2cfe",\r
4001         "wires": []\r
4002     },\r
4003     {\r
4004         "id": "a601628e.52c128",\r
4005         "type": "switchNode",\r
4006         "name": "switch found?",\r
4007         "xml": "<switch test='`$found`'>\n",\r
4008         "comments": "",\r
4009         "outputs": 1,\r
4010         "x": 5958.566665649414,\r
4011         "y": 4154.566665649414,\r
4012         "z": "25a21122.0e2cfe",\r
4013         "wires": [\r
4014             [\r
4015                 "38e10d32.2b93c2",\r
4016                 "dbcc850c.fc8dd"\r
4017             ]\r
4018         ]\r
4019     },\r
4020     {\r
4021         "id": "38e10d32.2b93c2",\r
4022         "type": "outcomeTrue",\r
4023         "name": "true",\r
4024         "xml": "<outcome value='true'>\n",\r
4025         "comments": "",\r
4026         "outputs": 1,\r
4027         "x": 6118.566665649414,\r
4028         "y": 4146.566665649414,\r
4029         "z": "25a21122.0e2cfe",\r
4030         "wires": [\r
4031             [\r
4032                 "b21401a.fc6228"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "dbcc850c.fc8dd",\r
4038         "type": "outcomeFalse",\r
4039         "name": "false",\r
4040         "xml": "<outcome value='false'>\n",\r
4041         "comments": "",\r
4042         "outputs": 1,\r
4043         "x": 6116.566665649414,\r
4044         "y": 4183.566665649414,\r
4045         "z": "25a21122.0e2cfe",\r
4046         "wires": [\r
4047             [\r
4048                 "e4683213.00ce18"\r
4049             ]\r
4050         ]\r
4051     },\r
4052     {\r
4053         "id": "b21401a.fc6228",\r
4054         "type": "block",\r
4055         "name": "block",\r
4056         "xml": "<block>\n",\r
4057         "atomic": "false",\r
4058         "comments": "",\r
4059         "outputs": 1,\r
4060         "x": 6243.566665649414,\r
4061         "y": 4146.566665649414,\r
4062         "z": "25a21122.0e2cfe",\r
4063         "wires": [\r
4064             []\r
4065         ]\r
4066     },\r
4067     {\r
4068         "id": "a2a7d328.f35de8",\r
4069         "type": "save",\r
4070         "name": "store $arridx+1 somewhere in vpn-binding",\r
4071         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='vpn-type' value='`$arridx + 1`' />\n\n\n",\r
4072         "comments": "",\r
4073         "outputs": 1,\r
4074         "x": 6550.566665649414,\r
4075         "y": 4204.566665649414,\r
4076         "z": "25a21122.0e2cfe",\r
4077         "wires": [\r
4078             []\r
4079         ]\r
4080     },\r
4081     {\r
4082         "id": "e4683213.00ce18",\r
4083         "type": "block",\r
4084         "name": "block : atomic",\r
4085         "xml": "<block atomic='true'>",\r
4086         "atomic": "true",\r
4087         "comments": "",\r
4088         "outputs": 1,\r
4089         "x": 6276.566665649414,\r
4090         "y": 4191.566665649414,\r
4091         "z": "25a21122.0e2cfe",\r
4092         "wires": [\r
4093             [\r
4094                 "a2a7d328.f35de8",\r
4095                 "930daebd.33fb78"\r
4096             ]\r
4097         ]\r
4098     },\r
4099     {\r
4100         "id": "930daebd.33fb78",\r
4101         "type": "set",\r
4102         "name": "set twoD array",\r
4103         "xml": "<set>\n<parameter name='`tmp.arr[$arridx + 1]`' value='`$providerValue`' />\n<parameter name='tmp.arr_length' value='`$tmp.arr_length + 1`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].request-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-source-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].otn-dest-node`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-node-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].src-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].src-access-ltp-id`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].dst-ttp-id`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].dst-access-ltp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainurl`' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-region`\" />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainuser`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-description`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list[0].domainpassword`' value='`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-platform`' />\n\n<parameter name='otn-tunnel-slice_length' value='`$arridx + 2`' />\n<parameter name='`otn-tunnel-slice[$arridx + 1].list_length`' value='1' />\n\n",\r
4104         "comments": "",\r
4105         "x": 6467.566665649414,\r
4106         "y": 4250.566665649414,\r
4107         "z": "25a21122.0e2cfe",\r
4108         "wires": []\r
4109     },\r
4110     {\r
4111         "id": "989bacbe.4af828",\r
4112         "type": "block",\r
4113         "name": "block",\r
4114         "xml": "<block>\n",\r
4115         "atomic": "false",\r
4116         "comments": "",\r
4117         "outputs": 1,\r
4118         "x": 6667.566665649414,\r
4119         "y": 4148.566665649414,\r
4120         "z": "25a21122.0e2cfe",\r
4121         "wires": [\r
4122             []\r
4123         ]\r
4124     },\r
4125     {\r
4126         "id": "e5b6e917.a4d33",\r
4127         "type": "break",\r
4128         "name": "break",\r
4129         "xml": "<break>\n",\r
4130         "comments": "",\r
4131         "x": 6838.566665649414,\r
4132         "y": 4275.566665649414,\r
4133         "z": "25a21122.0e2cfe",\r
4134         "wires": []\r
4135     },\r
4136     {\r
4137         "id": "ad7dc399.bf418",\r
4138         "type": "switchNode",\r
4139         "name": "switch dstPort == NULL",\r
4140         "xml": "<switch test=\"`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id == ''`\">\n\n",\r
4141         "comments": "",\r
4142         "outputs": 1,\r
4143         "x": 5235.566665649414,\r
4144         "y": 2487.566665649414,\r
4145         "z": "25a21122.0e2cfe",\r
4146         "wires": [\r
4147             [\r
4148                 "359b938e.1f1cd4",\r
4149                 "64d68365.eb604c"\r
4150             ]\r
4151         ]\r
4152     },\r
4153     {\r
4154         "id": "359b938e.1f1cd4",\r
4155         "type": "outcomeTrue",\r
4156         "name": "true",\r
4157         "xml": "<outcome value='true'>\n",\r
4158         "comments": "",\r
4159         "outputs": 1,\r
4160         "x": 5624.566665649414,\r
4161         "y": 2465.566665649414,\r
4162         "z": "25a21122.0e2cfe",\r
4163         "wires": [\r
4164             [\r
4165                 "73a3115c.3a191"\r
4166             ]\r
4167         ]\r
4168     },\r
4169     {\r
4170         "id": "64d68365.eb604c",\r
4171         "type": "outcomeFalse",\r
4172         "name": "false",\r
4173         "xml": "<outcome value='false'>\n",\r
4174         "comments": "",\r
4175         "outputs": 1,\r
4176         "x": 5625.566665649414,\r
4177         "y": 2511.566665649414,\r
4178         "z": "25a21122.0e2cfe",\r
4179         "wires": [\r
4180             [\r
4181                 "40a2bbc1.5980e4"\r
4182             ]\r
4183         ]\r
4184     },\r
4185     {\r
4186         "id": "73a3115c.3a191",\r
4187         "type": "set",\r
4188         "name": "set access-provider-id and client-id",\r
4189         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n",\r
4190         "comments": "",\r
4191         "x": 5838.566665649414,\r
4192         "y": 2464.566665649414,\r
4193         "z": "25a21122.0e2cfe",\r
4194         "wires": []\r
4195     },\r
4196     {\r
4197         "id": "40a2bbc1.5980e4",\r
4198         "type": "set",\r
4199         "name": "set access-provider-id and client-id",\r
4200         "xml": "<set>\n<parameter name='tmp.access-provider-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-provider-id`' />\n<parameter name='tmp.access-client-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-client-id`' />\n<parameter name='tmp.access-topology-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-topology-id`' />\n<parameter name='tmp.srcdstpnf-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />\n",\r
4201         "comments": "",\r
4202         "x": 5836.566665649414,\r
4203         "y": 2509.566665649414,\r
4204         "z": "25a21122.0e2cfe",\r
4205         "wires": []\r
4206     },\r
4207     {\r
4208         "id": "a13486f2.279748",\r
4209         "type": "set",\r
4210         "name": "set attachment_param sliceG",\r
4211         "xml": "<set>\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].request-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].request-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-source-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-source-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].otn-dest-node`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].otn-dest-node`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].bw-odu`' value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].bw-odu`\" />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].src-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].src-ttp-id`' />\n<parameter name='`otn-tunnel-sliceG-list[$stunidx].dst-ttp-id`' value='`$otn-tunnel-slice[$dmnsidx].list[$stunidx].dst-ttp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='otn-tunnel-sliceG-list_length' value='`$stunidx + 1`' />\n\n\n<parameter name=\"tmp.domainG.restapiUrl\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainurl`\" />\n<parameter name=\"tmp.domainG.restapiUser\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainuser`\" />\n<parameter name=\"tmp.domainG.restapiPassword\" value=\"`$otn-tunnel-slice[$dmnsidx].list[$stunidx].domainpassword`\" />",\r
4212         "comments": "",\r
4213         "x": 4761.566665649414,\r
4214         "y": 4365.566665649414,\r
4215         "z": "25a21122.0e2cfe",\r
4216         "wires": []\r
4217     },\r
4218     {\r
4219         "id": "3fa485d1.c8f9c2",\r
4220         "type": "execute",\r
4221         "name": "execute RestApiCallNode sliceG creation domainG",\r
4222         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceG-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$tmp.domainG.restapiUrl + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$tmp.domainG.restapiUser`\" />\n<parameter name=\"restapiPassword\" value=\"`tmp.domainG.restapiPassword`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />\n",\r
4223         "comments": "",\r
4224         "outputs": 1,\r
4225         "x": 4346.566665649414,\r
4226         "y": 4473.566665649414,\r
4227         "z": "25a21122.0e2cfe",\r
4228         "wires": [\r
4229             [\r
4230                 "f023dd0f.b91278",\r
4231                 "29f41b43.8a7c44"\r
4232             ]\r
4233         ]\r
4234     },\r
4235     {\r
4236         "id": "29f41b43.8a7c44",\r
4237         "type": "failure",\r
4238         "name": "failure",\r
4239         "xml": "<outcome value='failure'>\n",\r
4240         "comments": "",\r
4241         "outputs": 1,\r
4242         "x": 4629.566665649414,\r
4243         "y": 4453.566665649414,\r
4244         "z": "25a21122.0e2cfe",\r
4245         "wires": [\r
4246             [\r
4247                 "e71ba272.6cc34"\r
4248             ]\r
4249         ]\r
4250     },\r
4251     {\r
4252         "id": "f023dd0f.b91278",\r
4253         "type": "success",\r
4254         "name": "success",\r
4255         "xml": "<outcome value='success'>\n",\r
4256         "comments": "",\r
4257         "outputs": 1,\r
4258         "x": 4630.566879272461,\r
4259         "y": 4504.566575050354,\r
4260         "z": "25a21122.0e2cfe",\r
4261         "wires": [\r
4262             [\r
4263                 "7f431198.b36fd"\r
4264             ]\r
4265         ]\r
4266     },\r
4267     {\r
4268         "id": "e71ba272.6cc34",\r
4269         "type": "returnFailure",\r
4270         "name": "return failure",\r
4271         "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
4272         "comments": "",\r
4273         "x": 4769.566913604736,\r
4274         "y": 4453.566666603088,\r
4275         "z": "25a21122.0e2cfe",\r
4276         "wires": []\r
4277     },\r
4278     {\r
4279         "id": "7f431198.b36fd",\r
4280         "type": "block",\r
4281         "name": "block",\r
4282         "xml": "<block>\n",\r
4283         "atomic": "false",\r
4284         "comments": "",\r
4285         "outputs": 1,\r
4286         "x": 4775.593925476074,\r
4287         "y": 4502.31206035614,\r
4288         "z": "25a21122.0e2cfe",\r
4289         "wires": [\r
4290             []\r
4291         ]\r
4292     },\r
4293     {\r
4294         "id": "59469467.70a6d4",\r
4295         "type": "set",\r
4296         "name": "set srcdstpnf-name",\r
4297         "xml": "<set>\n<parameter name='tmp.srcdstpnf-name' value=\"`'networkId-providerId-' + \n                                             $tmp.access-provider-id + '-clientId-' +\n                                             $tmp.access-client-id + '-topologyId-' + \n                                             $tmp.access-topology-id + '-nodeId-' + \n                                             $tmp.srcdstpnf-id`\" />\n\n",\r
4298         "comments": "",\r
4299         "x": 5419.566665649414,\r
4300         "y": 2607.566665649414,\r
4301         "z": "25a21122.0e2cfe",\r
4302         "wires": []\r
4303     },\r
4304     {\r
4305         "id": "982e5c66.4703f8",\r
4306         "type": "get-resource",\r
4307         "name": "get-resource tmp.srcdstpnf-name",\r
4308         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.srcdstpnf-name\"\n        pfx='tmp.aai.srcdst-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4309         "comments": "",\r
4310         "outputs": 1,\r
4311         "x": 5463.566665649414,\r
4312         "y": 2655.566665649414,\r
4313         "z": "25a21122.0e2cfe",\r
4314         "wires": [\r
4315             [\r
4316                 "48087d37.a26c6c",\r
4317                 "da051a0e.70b99",\r
4318                 "11fa1a3.3e28f66"\r
4319             ]\r
4320         ]\r
4321     },\r
4322     {\r
4323         "id": "48087d37.a26c6c",\r
4324         "type": "success",\r
4325         "name": "success",\r
4326         "xml": "<outcome value='success'>\n",\r
4327         "comments": "",\r
4328         "outputs": 1,\r
4329         "x": 5676.066665649414,\r
4330         "y": 2602.566665649414,\r
4331         "z": "25a21122.0e2cfe",\r
4332         "wires": [\r
4333             [\r
4334                 "d7b6e1d4.5db9c8"\r
4335             ]\r
4336         ]\r
4337     },\r
4338     {\r
4339         "id": "da051a0e.70b99",\r
4340         "type": "not-found",\r
4341         "name": "not-found",\r
4342         "xml": "<outcome value='not-found'>\n",\r
4343         "comments": "",\r
4344         "outputs": 1,\r
4345         "x": 5688.066665649414,\r
4346         "y": 2652.566665649414,\r
4347         "z": "25a21122.0e2cfe",\r
4348         "wires": [\r
4349             [\r
4350                 "8bafac6.5725d5"\r
4351             ]\r
4352         ]\r
4353     },\r
4354     {\r
4355         "id": "11fa1a3.3e28f66",\r
4356         "type": "other",\r
4357         "name": "other",\r
4358         "xml": "<outcome value='Other'>\n",\r
4359         "comments": "",\r
4360         "outputs": 1,\r
4361         "x": 5679.066665649414,\r
4362         "y": 2707.566665649414,\r
4363         "z": "25a21122.0e2cfe",\r
4364         "wires": [\r
4365             [\r
4366                 "1bd627d5.df5018"\r
4367             ]\r
4368         ]\r
4369     },\r
4370     {\r
4371         "id": "1bd627d5.df5018",\r
4372         "type": "returnFailure",\r
4373         "name": "return failure",\r
4374         "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
4375         "comments": "",\r
4376         "x": 5824.066665649414,\r
4377         "y": 2706.566665649414,\r
4378         "z": "25a21122.0e2cfe",\r
4379         "wires": []\r
4380     },\r
4381     {\r
4382         "id": "8bafac6.5725d5",\r
4383         "type": "returnFailure",\r
4384         "name": "return failure",\r
4385         "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
4386         "comments": "",\r
4387         "x": 5835.066665649414,\r
4388         "y": 2649.566665649414,\r
4389         "z": "25a21122.0e2cfe",\r
4390         "wires": []\r
4391     },\r
4392     {\r
4393         "id": "d7b6e1d4.5db9c8",\r
4394         "type": "block",\r
4395         "name": "block",\r
4396         "xml": "<block>\n",\r
4397         "atomic": "false",\r
4398         "comments": "",\r
4399         "outputs": 1,\r
4400         "x": 5801.449111938477,\r
4401         "y": 2596.2223358154297,\r
4402         "z": "25a21122.0e2cfe",\r
4403         "wires": [\r
4404             [\r
4405                 "7412b5af.ff0f9c"\r
4406             ]\r
4407         ]\r
4408     },\r
4409     {\r
4410         "id": "2b52018c.262d56",\r
4411         "type": "outcome",\r
4412         "name": "esr-thirdparty-sdnc",\r
4413         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
4414         "comments": "",\r
4415         "outputs": 1,\r
4416         "x": 6360.566665649414,\r
4417         "y": 2614.566665649414,\r
4418         "z": "25a21122.0e2cfe",\r
4419         "wires": [\r
4420             [\r
4421                 "691fa48a.848bcc"\r
4422             ]\r
4423         ]\r
4424     },\r
4425     {\r
4426         "id": "691fa48a.848bcc",\r
4427         "type": "block",\r
4428         "name": "block : atomic",\r
4429         "xml": "<block atomic=\"true\">",\r
4430         "atomic": "true",\r
4431         "outputs": 1,\r
4432         "x": 6537.566665649414,\r
4433         "y": 2606.566665649414,\r
4434         "z": "25a21122.0e2cfe",\r
4435         "wires": [\r
4436             [\r
4437                 "40d861d8.1df158",\r
4438                 "6005e754.3b403"\r
4439             ]\r
4440         ]\r
4441     },\r
4442     {\r
4443         "id": "7412b5af.ff0f9c",\r
4444         "type": "for",\r
4445         "name": "for each relationship",\r
4446         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.srcdst-pnf.relationship-list.relationship_length`' >\n",\r
4447         "comments": "",\r
4448         "outputs": 1,\r
4449         "x": 5962.566665649414,\r
4450         "y": 2610.566665649414,\r
4451         "z": "25a21122.0e2cfe",\r
4452         "wires": [\r
4453             [\r
4454                 "cee0c51f.59e4e8"\r
4455             ]\r
4456         ]\r
4457     },\r
4458     {\r
4459         "id": "cee0c51f.59e4e8",\r
4460         "type": "switchNode",\r
4461         "name": "switch related-to",\r
4462         "xml": "<switch test='`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4463         "comments": "",\r
4464         "outputs": 1,\r
4465         "x": 6157.566665649414,\r
4466         "y": 2610.566665649414,\r
4467         "z": "25a21122.0e2cfe",\r
4468         "wires": [\r
4469             [\r
4470                 "2b52018c.262d56"\r
4471             ]\r
4472         ]\r
4473     },\r
4474     {\r
4475         "id": "6005e754.3b403",\r
4476         "type": "execute",\r
4477         "name": "get esr-thirdparty-sdnc",\r
4478         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainG.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainG.esr-thirdparty-sdnc' local-only='false' >",\r
4479         "comments": "",\r
4480         "outputs": 1,\r
4481         "x": 6745.566665649414,\r
4482         "y": 2613.566665649414,\r
4483         "z": "25a21122.0e2cfe",\r
4484         "wires": [\r
4485             [\r
4486                 "ba9890c1.c4a288",\r
4487                 "659d7a5f.8396d4",\r
4488                 "c60c2b5.88a3ed8"\r
4489             ]\r
4490         ]\r
4491     },\r
4492     {\r
4493         "id": "40d861d8.1df158",\r
4494         "type": "set",\r
4495         "name": "set esr-thirdparty-sdnc domainG id",\r
4496         "xml": "<set>\n<parameter name='tmp.domainG.esr-thirdparty-id' value=\"`$tmp.aai.srcdst-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
4497         "comments": "",\r
4498         "x": 6775.566665649414,\r
4499         "y": 2561.566665649414,\r
4500         "z": "25a21122.0e2cfe",\r
4501         "wires": []\r
4502     },\r
4503     {\r
4504         "id": "ba9890c1.c4a288",\r
4505         "type": "success",\r
4506         "name": "success",\r
4507         "xml": "<outcome value='success'>\n",\r
4508         "comments": "",\r
4509         "outputs": 1,\r
4510         "x": 6955.566665649414,\r
4511         "y": 2604.566665649414,\r
4512         "z": "25a21122.0e2cfe",\r
4513         "wires": [\r
4514             [\r
4515                 "203ebc79.0da80c"\r
4516             ]\r
4517         ]\r
4518     },\r
4519     {\r
4520         "id": "659d7a5f.8396d4",\r
4521         "type": "not-found",\r
4522         "name": "not-found",\r
4523         "xml": "<outcome value='not-found'>\n",\r
4524         "comments": "",\r
4525         "outputs": 1,\r
4526         "x": 6947.566665649414,\r
4527         "y": 2659.566665649414,\r
4528         "z": "25a21122.0e2cfe",\r
4529         "wires": [\r
4530             [\r
4531                 "23f5bad7.571c16"\r
4532             ]\r
4533         ]\r
4534     },\r
4535     {\r
4536         "id": "c60c2b5.88a3ed8",\r
4537         "type": "other",\r
4538         "name": "other",\r
4539         "xml": "<outcome value='Other'>\n",\r
4540         "comments": "",\r
4541         "outputs": 1,\r
4542         "x": 6952.566665649414,\r
4543         "y": 2716.566665649414,\r
4544         "z": "25a21122.0e2cfe",\r
4545         "wires": [\r
4546             [\r
4547                 "d78cb5ab.fdf3"\r
4548             ]\r
4549         ]\r
4550     },\r
4551     {\r
4552         "id": "d78cb5ab.fdf3",\r
4553         "type": "returnFailure",\r
4554         "name": "return failure",\r
4555         "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
4556         "comments": "",\r
4557         "x": 7104.566665649414,\r
4558         "y": 2717.566665649414,\r
4559         "z": "25a21122.0e2cfe",\r
4560         "wires": []\r
4561     },\r
4562     {\r
4563         "id": "23f5bad7.571c16",\r
4564         "type": "returnFailure",\r
4565         "name": "return failure",\r
4566         "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
4567         "comments": "",\r
4568         "x": 7115.566665649414,\r
4569         "y": 2662.566665649414,\r
4570         "z": "25a21122.0e2cfe",\r
4571         "wires": []\r
4572     },\r
4573     {\r
4574         "id": "203ebc79.0da80c",\r
4575         "type": "block",\r
4576         "name": "block",\r
4577         "xml": "<block>\n",\r
4578         "atomic": "false",\r
4579         "comments": "",\r
4580         "outputs": 1,\r
4581         "x": 7099.948989868164,\r
4582         "y": 2602.2223358154297,\r
4583         "z": "25a21122.0e2cfe",\r
4584         "wires": [\r
4585             [\r
4586                 "510e20cb.08311"\r
4587             ]\r
4588         ]\r
4589     },\r
4590     {\r
4591         "id": "510e20cb.08311",\r
4592         "type": "set",\r
4593         "name": "set controller domainA data",\r
4594         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.url' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.user' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainG.password' value=\"`$tmp.aai.domainG.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
4595         "comments": "",\r
4596         "x": 7314.566665649414,\r
4597         "y": 2598.566665649414,\r
4598         "z": "25a21122.0e2cfe",\r
4599         "wires": []\r
4600     },\r
4601     {\r
4602         "id": "d5bebf9c.374a9",\r
4603         "type": "block",\r
4604         "name": "block : atomic",\r
4605         "xml": "<block atomic='true'>",\r
4606         "atomic": "true",\r
4607         "comments": "",\r
4608         "outputs": 1,\r
4609         "x": 3930.566665649414,\r
4610         "y": 4365.566665649414,\r
4611         "z": "25a21122.0e2cfe",\r
4612         "wires": [\r
4613             [\r
4614                 "d852a581.272668",\r
4615                 "3fa485d1.c8f9c2"\r
4616             ]\r
4617         ]\r
4618     },\r
4619     {\r
4620         "id": "e9c05ada.bb249",\r
4621         "type": "switchNode",\r
4622         "name": "switch dmnsidx == 0 (domainA)",\r
4623         "xml": "<switch test='`$otnidx == 0`'>\n",\r
4624         "comments": "",\r
4625         "outputs": 1,\r
4626         "x": 5433.566665649414,\r
4627         "y": 2824.566665649414,\r
4628         "z": "25a21122.0e2cfe",\r
4629         "wires": [\r
4630             [\r
4631                 "e3270b50.ca16b",\r
4632                 "1493e80e.a20608"\r
4633             ]\r
4634         ]\r
4635     },\r
4636     {\r
4637         "id": "e3270b50.ca16b",\r
4638         "type": "outcomeTrue",\r
4639         "name": "true",\r
4640         "xml": "<outcome value='true'>\n",\r
4641         "comments": "",\r
4642         "outputs": 1,\r
4643         "x": 5634.566665649414,\r
4644         "y": 2822.566665649414,\r
4645         "z": "25a21122.0e2cfe",\r
4646         "wires": [\r
4647             [\r
4648                 "8c1f5350.45b238"\r
4649             ]\r
4650         ]\r
4651     },\r
4652     {\r
4653         "id": "8c1f5350.45b238",\r
4654         "type": "set",\r
4655         "name": "set attachment_param domain A",\r
4656         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4657         "comments": "",\r
4658         "x": 5848.566665649414,\r
4659         "y": 2824.566665649414,\r
4660         "z": "25a21122.0e2cfe",\r
4661         "wires": []\r
4662     },\r
4663     {\r
4664         "id": "efd041d2.1f57c",\r
4665         "type": "switchNode",\r
4666         "name": "switch dmnsidx == last (domainB)",\r
4667         "xml": "<switch test='`$otnidx == $tmp.otninfo_length - 1`'>\n",\r
4668         "comments": "",\r
4669         "outputs": 1,\r
4670         "x": 5851.566665649414,\r
4671         "y": 2873.566665649414,\r
4672         "z": "25a21122.0e2cfe",\r
4673         "wires": [\r
4674             [\r
4675                 "18ead70f.a7a7d1",\r
4676                 "86ea5500.031798"\r
4677             ]\r
4678         ]\r
4679     },\r
4680     {\r
4681         "id": "18ead70f.a7a7d1",\r
4682         "type": "outcomeTrue",\r
4683         "name": "true",\r
4684         "xml": "<outcome value='true'>\n",\r
4685         "comments": "",\r
4686         "outputs": 1,\r
4687         "x": 6081.566665649414,\r
4688         "y": 2869.566665649414,\r
4689         "z": "25a21122.0e2cfe",\r
4690         "wires": [\r
4691             [\r
4692                 "45ea107a.0ebac8"\r
4693             ]\r
4694         ]\r
4695     },\r
4696     {\r
4697         "id": "45ea107a.0ebac8",\r
4698         "type": "set",\r
4699         "name": "set attachment_param domain B",\r
4700         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />",\r
4701         "comments": "",\r
4702         "x": 6295.566665649414,\r
4703         "y": 2872.566665649414,\r
4704         "z": "25a21122.0e2cfe",\r
4705         "wires": []\r
4706     },\r
4707     {\r
4708         "id": "1493e80e.a20608",\r
4709         "type": "outcomeFalse",\r
4710         "name": "false",\r
4711         "xml": "<outcome value='false'>\n",\r
4712         "comments": "",\r
4713         "outputs": 1,\r
4714         "x": 5634.566665649414,\r
4715         "y": 2871.566665649414,\r
4716         "z": "25a21122.0e2cfe",\r
4717         "wires": [\r
4718             [\r
4719                 "efd041d2.1f57c"\r
4720             ]\r
4721         ]\r
4722     },\r
4723     {\r
4724         "id": "86ea5500.031798",\r
4725         "type": "outcomeFalse",\r
4726         "name": "false",\r
4727         "xml": "<outcome value='false'>\n",\r
4728         "comments": "",\r
4729         "outputs": 1,\r
4730         "x": 6082.566665649414,\r
4731         "y": 2915.566665649414,\r
4732         "z": "25a21122.0e2cfe",\r
4733         "wires": [\r
4734             [\r
4735                 "7828b5dc.b70c4c"\r
4736             ]\r
4737         ]\r
4738     },\r
4739     {\r
4740         "id": "7828b5dc.b70c4c",\r
4741         "type": "set",\r
4742         "name": "set attachment_param domain G",\r
4743         "xml": "<set>\n<parameter name='tmp.domainG-src-access-node-id' value='`$tmp.otninfo[$otnidx].srcPort.src-access-node-id`' />\n<parameter name='tmp.domainG-dst-access-node-id' value='`$tmp.otninfo[$otnidx].dstPort.dst-access-node-id`' />",\r
4744         "comments": "",\r
4745         "x": 6296.566665649414,\r
4746         "y": 2915.566665649414,\r
4747         "z": "25a21122.0e2cfe",\r
4748         "wires": []\r
4749     },\r
4750     {\r
4751         "id": "72c2b2cc.2ba44c",\r
4752         "type": "set",\r
4753         "name": "set tmp.slicevpns",\r
4754         "xml": "<set>\n<parameter name='`tmp.slicevpns[$tmp.slicevpns_length]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n<parameter name='tmp.slicevpns_length' value=\"`$tmp.slicevpns_length + 1`\" />\n\n<parameter name='`tmp.slicevpnuuids[$prop.vpn-binding-otnidx-uuid]`' value=\"`$prop.vpn-binding-otnidx-uuid`\" />\n\n",\r
4755         "comments": "",\r
4756         "x": 6194.566665649414,\r
4757         "y": 2964.566665649414,\r
4758         "z": "25a21122.0e2cfe",\r
4759         "wires": []\r
4760     },\r
4761     {\r
4762         "id": "25f755d1.b61592",\r
4763         "type": "switchNode",\r
4764         "name": "switch vpnuuid is for this slice",\r
4765         "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n    \n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.aai.service-instance.service-instance-id `\">\n",\r
4766         "comments": "",\r
4767         "outputs": 1,\r
4768         "x": 4758.566665649414,\r
4769         "y": 4188.566665649414,\r
4770         "z": "25a21122.0e2cfe",\r
4771         "wires": [\r
4772             [\r
4773                 "15207d44.a4310b",\r
4774                 "179e4c90.1525b3"\r
4775             ]\r
4776         ]\r
4777     },\r
4778     {\r
4779         "id": "15207d44.a4310b",\r
4780         "type": "outcomeTrue",\r
4781         "name": "true",\r
4782         "xml": "<outcome value='true'>\n",\r
4783         "comments": "",\r
4784         "outputs": 1,\r
4785         "x": 4975.566665649414,\r
4786         "y": 4167.566665649414,\r
4787         "z": "25a21122.0e2cfe",\r
4788         "wires": [\r
4789             [\r
4790                 "64fe7f3a.b5df9"\r
4791             ]\r
4792         ]\r
4793     },\r
4794     {\r
4795         "id": "179e4c90.1525b3",\r
4796         "type": "outcomeFalse",\r
4797         "name": "false",\r
4798         "xml": "<outcome value='false'>\n",\r
4799         "comments": "",\r
4800         "outputs": 1,\r
4801         "x": 4975.566665649414,\r
4802         "y": 4216.566665649414,\r
4803         "z": "25a21122.0e2cfe",\r
4804         "wires": [\r
4805             []\r
4806         ]\r
4807     },\r
4808     {\r
4809         "id": "64fe7f3a.b5df9",\r
4810         "type": "block",\r
4811         "name": "block : atomic",\r
4812         "xml": "<block atomic='true'>",\r
4813         "atomic": "true",\r
4814         "comments": "",\r
4815         "outputs": 1,\r
4816         "x": 5143.566665649414,\r
4817         "y": 4167.566665649414,\r
4818         "z": "25a21122.0e2cfe",\r
4819         "wires": [\r
4820             [\r
4821                 "35196fa7.3e82b8",\r
4822                 "b4d44dab.0baa88"\r
4823             ]\r
4824         ]\r
4825     },\r
4826     {\r
4827         "id": "433e887a.5dd2c",\r
4828         "type": "save",\r
4829         "name": "get logical-link from aai",\r
4830         "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
4831         "comments": "",\r
4832         "outputs": 1,\r
4833         "x": 1483.566665649414,\r
4834         "y": 798.5666656494141,\r
4835         "z": "25a21122.0e2cfe",\r
4836         "wires": [\r
4837             [\r
4838                 "4058fc82.6dfacc",\r
4839                 "4151c29c.d64b0c",\r
4840                 "5541a408.f0ed0c"\r
4841             ]\r
4842         ]\r
4843     },\r
4844     {\r
4845         "id": "4058fc82.6dfacc",\r
4846         "type": "not-found",\r
4847         "name": "not-found",\r
4848         "xml": "<outcome value='not-found'>\n",\r
4849         "comments": "",\r
4850         "outputs": 1,\r
4851         "x": 1696.057632446289,\r
4852         "y": 765.1406402587891,\r
4853         "z": "25a21122.0e2cfe",\r
4854         "wires": [\r
4855             [\r
4856                 "417a2c30.fd69ac"\r
4857             ]\r
4858         ]\r
4859     },\r
4860     {\r
4861         "id": "4151c29c.d64b0c",\r
4862         "type": "failure",\r
4863         "name": "failure",\r
4864         "xml": "<outcome value='failure'>\n",\r
4865         "comments": "",\r
4866         "outputs": 1,\r
4867         "x": 1684.566665649414,\r
4868         "y": 809.5666656494141,\r
4869         "z": "25a21122.0e2cfe",\r
4870         "wires": [\r
4871             [\r
4872                 "2fc8bb7d.787cac"\r
4873             ]\r
4874         ]\r
4875     },\r
4876     {\r
4877         "id": "417a2c30.fd69ac",\r
4878         "type": "returnFailure",\r
4879         "name": "return failure",\r
4880         "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
4881         "comments": "",\r
4882         "x": 1844.629165649414,\r
4883         "y": 765.4264068603516,\r
4884         "z": "25a21122.0e2cfe",\r
4885         "wires": []\r
4886     },\r
4887     {\r
4888         "id": "2fc8bb7d.787cac",\r
4889         "type": "returnFailure",\r
4890         "name": "return failure",\r
4891         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4892         "comments": "",\r
4893         "x": 1843.566665649414,\r
4894         "y": 809.5666656494141,\r
4895         "z": "25a21122.0e2cfe",\r
4896         "wires": []\r
4897     },\r
4898     {\r
4899         "id": "5541a408.f0ed0c",\r
4900         "type": "success",\r
4901         "name": "success",\r
4902         "xml": "<outcome value='success'>\n",\r
4903         "comments": "",\r
4904         "outputs": 1,\r
4905         "x": 1689.566665649414,\r
4906         "y": 852.5666656494141,\r
4907         "z": "25a21122.0e2cfe",\r
4908         "wires": [\r
4909             [\r
4910                 "e145a9c3.48d208"\r
4911             ]\r
4912         ]\r
4913     },\r
4914     {\r
4915         "id": "e145a9c3.48d208",\r
4916         "type": "block",\r
4917         "name": "block : atomic",\r
4918         "xml": "<block atomic='true'>",\r
4919         "atomic": "true",\r
4920         "comments": "",\r
4921         "outputs": 1,\r
4922         "x": 835.5666656494141,\r
4923         "y": 1191.566665649414,\r
4924         "z": "25a21122.0e2cfe",\r
4925         "wires": [\r
4926             [\r
4927                 "88efa0d6.0c1808"\r
4928             ]\r
4929         ]\r
4930     },\r
4931     {\r
4932         "id": "88efa0d6.0c1808",\r
4933         "type": "for",\r
4934         "name": "for each svc-instance relationship",\r
4935         "xml": "<for index='rel-index' start='0' end='`$tmp.aai.service-instance.relationship-list.relationship_length`' >\n",\r
4936         "comments": "",\r
4937         "outputs": 1,\r
4938         "x": 1109.566665649414,\r
4939         "y": 1191.566665649414,\r
4940         "z": "25a21122.0e2cfe",\r
4941         "wires": [\r
4942             [\r
4943                 "c2dd1c9b.b3dd48"\r
4944             ]\r
4945         ]\r
4946     },\r
4947     {\r
4948         "id": "c2dd1c9b.b3dd48",\r
4949         "type": "switchNode",\r
4950         "name": "switch related-to",\r
4951         "xml": "<switch test='`$tmp.aai.service-instance.relationship-list.relationship[$rel-index].related-to`'>\n",\r
4952         "comments": "",\r
4953         "outputs": 1,\r
4954         "x": 1344.900161743164,\r
4955         "y": 1192.566665649414,\r
4956         "z": "25a21122.0e2cfe",\r
4957         "wires": [\r
4958             [\r
4959                 "e5b1da68.bc54"\r
4960             ]\r
4961         ]\r
4962     },\r
4963     {\r
4964         "id": "e5b1da68.bc54",\r
4965         "type": "outcome",\r
4966         "name": "connectivity",\r
4967         "xml": "<outcome value='connectivity'>\n",\r
4968         "comments": "",\r
4969         "outputs": 1,\r
4970         "x": 628.5669097900391,\r
4971         "y": 1345.566665649414,\r
4972         "z": "25a21122.0e2cfe",\r
4973         "wires": [\r
4974             [\r
4975                 "fb4c81c8.58ec08"\r
4976             ]\r
4977         ]\r
4978     },\r
4979     {\r
4980         "id": "68774cff.da4f7c",\r
4981         "type": "save",\r
4982         "name": "get connectivity from aai",\r
4983         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $tmp.aai.service-instance.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
4984         "comments": "",\r
4985         "outputs": 1,\r
4986         "x": 1017.5666656494141,\r
4987         "y": 1350.566665649414,\r
4988         "z": "25a21122.0e2cfe",\r
4989         "wires": [\r
4990             [\r
4991                 "ae979c86.2af0a",\r
4992                 "c51e116c.9e96e",\r
4993                 "bc29e653.3cf5f8"\r
4994             ]\r
4995         ]\r
4996     },\r
4997     {\r
4998         "id": "ae979c86.2af0a",\r
4999         "type": "success",\r
5000         "name": "success",\r
5001         "xml": "<outcome value='success'>\n",\r
5002         "comments": "",\r
5003         "outputs": 1,\r
5004         "x": 1213.566665649414,\r
5005         "y": 1315.566665649414,\r
5006         "z": "25a21122.0e2cfe",\r
5007         "wires": [\r
5008             [\r
5009                 "323455e1.4146ea"\r
5010             ]\r
5011         ]\r
5012     },\r
5013     {\r
5014         "id": "c51e116c.9e96e",\r
5015         "type": "not-found",\r
5016         "name": "not-found",\r
5017         "xml": "<outcome value='not-found'>\n",\r
5018         "comments": "",\r
5019         "outputs": 1,\r
5020         "x": 1214.057632446289,\r
5021         "y": 1361.1407012939453,\r
5022         "z": "25a21122.0e2cfe",\r
5023         "wires": [\r
5024             [\r
5025                 "bf9be58f.d0c428"\r
5026             ]\r
5027         ]\r
5028     },\r
5029     {\r
5030         "id": "bc29e653.3cf5f8",\r
5031         "type": "failure",\r
5032         "name": "failure",\r
5033         "xml": "<outcome value='failure'>\n",\r
5034         "comments": "",\r
5035         "outputs": 1,\r
5036         "x": 1178.566665649414,\r
5037         "y": 1406.566665649414,\r
5038         "z": "25a21122.0e2cfe",\r
5039         "wires": [\r
5040             [\r
5041                 "dd499616.1dbe"\r
5042             ]\r
5043         ]\r
5044     },\r
5045     {\r
5046         "id": "bf9be58f.d0c428",\r
5047         "type": "returnFailure",\r
5048         "name": "return failure",\r
5049         "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
5050         "comments": "",\r
5051         "x": 1373.629165649414,\r
5052         "y": 1358.4264068603516,\r
5053         "z": "25a21122.0e2cfe",\r
5054         "wires": []\r
5055     },\r
5056     {\r
5057         "id": "dd499616.1dbe",\r
5058         "type": "returnFailure",\r
5059         "name": "return failure",\r
5060         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5061         "comments": "",\r
5062         "x": 1331.566665649414,\r
5063         "y": 1408.566665649414,\r
5064         "z": "25a21122.0e2cfe",\r
5065         "wires": []\r
5066     },\r
5067     {\r
5068         "id": "66825a6f.db4e3c",\r
5069         "type": "switchNode",\r
5070         "name": "switch loglink-id exists in conn",\r
5071         "xml": "<switch test='`$tmp.aai.logical-link.link-id == $tmp.aai.connectivity.etht-svc-name`'>\n",\r
5072         "comments": "",\r
5073         "outputs": 1,\r
5074         "x": 1606.566665649414,\r
5075         "y": 1298.566665649414,\r
5076         "z": "25a21122.0e2cfe",\r
5077         "wires": [\r
5078             [\r
5079                 "85e80e78.a683f",\r
5080                 "e9363fe4.4910f8"\r
5081             ]\r
5082         ]\r
5083     },\r
5084     {\r
5085         "id": "85e80e78.a683f",\r
5086         "type": "outcomeTrue",\r
5087         "name": "true",\r
5088         "xml": "<outcome value='true'>\n",\r
5089         "comments": "",\r
5090         "outputs": 1,\r
5091         "x": 1817.566665649414,\r
5092         "y": 1263.566665649414,\r
5093         "z": "25a21122.0e2cfe",\r
5094         "wires": [\r
5095             [\r
5096                 "ea49207.e144c6"\r
5097             ]\r
5098         ]\r
5099     },\r
5100     {\r
5101         "id": "e9363fe4.4910f8",\r
5102         "type": "outcomeFalse",\r
5103         "name": "false",\r
5104         "xml": "<outcome value='false'>\n",\r
5105         "comments": "",\r
5106         "outputs": 1,\r
5107         "x": 1814.566665649414,\r
5108         "y": 1324.566665649414,\r
5109         "z": "25a21122.0e2cfe",\r
5110         "wires": [\r
5111             []\r
5112         ]\r
5113     },\r
5114     {\r
5115         "id": "a72bfa1e.2c0188",\r
5116         "type": "set",\r
5117         "name": "set currLinkIsFound",\r
5118         "xml": "<set>\n<parameter name='currLinkIsFound' value=\"true\" />\n\n\n",\r
5119         "comments": "",\r
5120         "x": 2155.566665649414,\r
5121         "y": 1236.566665649414,\r
5122         "z": "25a21122.0e2cfe",\r
5123         "wires": []\r
5124     },\r
5125     {\r
5126         "id": "ea49207.e144c6",\r
5127         "type": "block",\r
5128         "name": "block : atomic",\r
5129         "xml": "<block atomic=\"true\">",\r
5130         "atomic": "true",\r
5131         "outputs": 1,\r
5132         "x": 1969.566665649414,\r
5133         "y": 1264.566665649414,\r
5134         "z": "25a21122.0e2cfe",\r
5135         "wires": [\r
5136             [\r
5137                 "a72bfa1e.2c0188"\r
5138             ]\r
5139         ]\r
5140     },\r
5141     {\r
5142         "id": "77625e01.45cfa",\r
5143         "type": "break",\r
5144         "name": "break",\r
5145         "xml": "<break>\n",\r
5146         "comments": "",\r
5147         "x": 2122.566665649414,\r
5148         "y": 1292.566665649414,\r
5149         "z": "25a21122.0e2cfe",\r
5150         "wires": []\r
5151     },\r
5152     {\r
5153         "id": "747752c5.edcc6c",\r
5154         "type": "comment",\r
5155         "name": "currLinkIsFound. Go to the next logical-link",\r
5156         "info": "",\r
5157         "comments": "",\r
5158         "x": 2127.566665649414,\r
5159         "y": 1186.566665649414,\r
5160         "z": "25a21122.0e2cfe",\r
5161         "wires": []\r
5162     },\r
5163     {\r
5164         "id": "fc0b0bdf.af57e8",\r
5165         "type": "switchNode",\r
5166         "name": "switch currLinkIsFound",\r
5167         "xml": "<switch test='`$currLinkIsFound`'>\n",\r
5168         "comments": "",\r
5169         "outputs": 1,\r
5170         "x": 1409.566665649414,\r
5171         "y": 916.5666656494141,\r
5172         "z": "25a21122.0e2cfe",\r
5173         "wires": [\r
5174             [\r
5175                 "ec2c299e.a7094",\r
5176                 "12a10d8.78ec073"\r
5177             ]\r
5178         ]\r
5179     },\r
5180     {\r
5181         "id": "ec2c299e.a7094",\r
5182         "type": "outcomeTrue",\r
5183         "name": "true",\r
5184         "xml": "<outcome value='true'>\n",\r
5185         "comments": "",\r
5186         "outputs": 1,\r
5187         "x": 1595.566665649414,\r
5188         "y": 895.5666656494141,\r
5189         "z": "25a21122.0e2cfe",\r
5190         "wires": [\r
5191             [\r
5192                 "43c18e2d.dbbe18"\r
5193             ]\r
5194         ]\r
5195     },\r
5196     {\r
5197         "id": "12a10d8.78ec073",\r
5198         "type": "outcomeFalse",\r
5199         "name": "false",\r
5200         "xml": "<outcome value='false'>\n",\r
5201         "comments": "",\r
5202         "outputs": 1,\r
5203         "x": 1592.566665649414,\r
5204         "y": 1031.566665649414,\r
5205         "z": "25a21122.0e2cfe",\r
5206         "wires": [\r
5207             [\r
5208                 "4dddc413.6cd63c"\r
5209             ]\r
5210         ]\r
5211     },\r
5212     {\r
5213         "id": "43c18e2d.dbbe18",\r
5214         "type": "block",\r
5215         "name": "block : atomic",\r
5216         "xml": "<block atomic=\"true\">",\r
5217         "atomic": "true",\r
5218         "outputs": 1,\r
5219         "x": 1837.566665649414,\r
5220         "y": 890.5666656494141,\r
5221         "z": "25a21122.0e2cfe",\r
5222         "wires": [\r
5223             []\r
5224         ]\r
5225     },\r
5226     {\r
5227         "id": "6e81ab2b.cd2004",\r
5228         "type": "comment",\r
5229         "name": "A new logical-link has been found: modify process should be triggered",\r
5230         "info": "",\r
5231         "comments": "",\r
5232         "x": 1783.566665649414,\r
5233         "y": 994.5666656494141,\r
5234         "z": "25a21122.0e2cfe",\r
5235         "wires": []\r
5236     },\r
5237     {\r
5238         "id": "323455e1.4146ea",\r
5239         "type": "block",\r
5240         "name": "block : atomic",\r
5241         "xml": "<block atomic=\"true\">",\r
5242         "atomic": "true",\r
5243         "outputs": 1,\r
5244         "x": 1377.566665649414,\r
5245         "y": 1299.566665649414,\r
5246         "z": "25a21122.0e2cfe",\r
5247         "wires": [\r
5248             [\r
5249                 "66825a6f.db4e3c",\r
5250                 "4b0ae75c.1aab4"\r
5251             ]\r
5252         ]\r
5253     },\r
5254     {\r
5255         "id": "4b0ae75c.1aab4",\r
5256         "type": "switchNode",\r
5257         "name": "switch connectivityBW == gfp",\r
5258         "xml": "<switch test='`$tmp.aai.connectivity.bandwidth-profile-name == $gfp`'>\n",\r
5259         "comments": "",\r
5260         "outputs": 1,\r
5261         "x": 1607.566665649414,\r
5262         "y": 1389.566665649414,\r
5263         "z": "25a21122.0e2cfe",\r
5264         "wires": [\r
5265             [\r
5266                 "c8e4becf.570ed8",\r
5267                 "efb821b0.8f5c8"\r
5268             ]\r
5269         ]\r
5270     },\r
5271     {\r
5272         "id": "c8e4becf.570ed8",\r
5273         "type": "outcomeTrue",\r
5274         "name": "true",\r
5275         "xml": "<outcome value='true'>\n",\r
5276         "comments": "",\r
5277         "outputs": 1,\r
5278         "x": 1812.566665649414,\r
5279         "y": 1385.566665649414,\r
5280         "z": "25a21122.0e2cfe",\r
5281         "wires": [\r
5282             []\r
5283         ]\r
5284     },\r
5285     {\r
5286         "id": "efb821b0.8f5c8",\r
5287         "type": "outcomeFalse",\r
5288         "name": "false",\r
5289         "xml": "<outcome value='false'>\n",\r
5290         "comments": "",\r
5291         "outputs": 1,\r
5292         "x": 1814.566665649414,\r
5293         "y": 1435.566665649414,\r
5294         "z": "25a21122.0e2cfe",\r
5295         "wires": [\r
5296             [\r
5297                 "35c21580.2c9b32"\r
5298             ]\r
5299         ]\r
5300     },\r
5301     {\r
5302         "id": "fd83a72b.0cf5a8",\r
5303         "type": "set",\r
5304         "name": "set bwModified",\r
5305         "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
5306         "comments": "",\r
5307         "x": 2163.566665649414,\r
5308         "y": 1413.566665649414,\r
5309         "z": "25a21122.0e2cfe",\r
5310         "wires": []\r
5311     },\r
5312     {\r
5313         "id": "35c21580.2c9b32",\r
5314         "type": "block",\r
5315         "name": "block : atomic",\r
5316         "xml": "<block atomic=\"true\">",\r
5317         "atomic": "true",\r
5318         "outputs": 1,\r
5319         "x": 1968.566665649414,\r
5320         "y": 1434.566665649414,\r
5321         "z": "25a21122.0e2cfe",\r
5322         "wires": [\r
5323             [\r
5324                 "fd83a72b.0cf5a8",\r
5325                 "b1b00645.427888"\r
5326             ]\r
5327         ]\r
5328     },\r
5329     {\r
5330         "id": "b1b00645.427888",\r
5331         "type": "for",\r
5332         "name": "for each relationship",\r
5333         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
5334         "comments": "",\r
5335         "outputs": 1,\r
5336         "x": 988.5666656494141,\r
5337         "y": 1639.566665649414,\r
5338         "z": "25a21122.0e2cfe",\r
5339         "wires": [\r
5340             [\r
5341                 "3c4549a7.0d1376"\r
5342             ]\r
5343         ]\r
5344     },\r
5345     {\r
5346         "id": "3c4549a7.0d1376",\r
5347         "type": "switchNode",\r
5348         "name": "switch related-to",\r
5349         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
5350         "comments": "",\r
5351         "outputs": 1,\r
5352         "x": 1193.566665649414,\r
5353         "y": 1639.566665649414,\r
5354         "z": "25a21122.0e2cfe",\r
5355         "wires": [\r
5356             [\r
5357                 "adf26b65.8f90e"\r
5358             ]\r
5359         ]\r
5360     },\r
5361     {\r
5362         "id": "adf26b65.8f90e",\r
5363         "type": "outcome",\r
5364         "name": "vpn-binding",\r
5365         "xml": "<outcome value='vpn-binding'>\n",\r
5366         "comments": "",\r
5367         "outputs": 1,\r
5368         "x": 1359.566665649414,\r
5369         "y": 1639.566665649414,\r
5370         "z": "25a21122.0e2cfe",\r
5371         "wires": [\r
5372             [\r
5373                 "64e47481.3a26d4"\r
5374             ]\r
5375         ]\r
5376     },\r
5377     {\r
5378         "id": "64e47481.3a26d4",\r
5379         "type": "block",\r
5380         "name": "block : atomic",\r
5381         "xml": "<block atomic=\"true\">",\r
5382         "atomic": "true",\r
5383         "outputs": 1,\r
5384         "x": 1522.566665649414,\r
5385         "y": 1639.566665649414,\r
5386         "z": "25a21122.0e2cfe",\r
5387         "wires": [\r
5388             [\r
5389                 "6e6ea5ef.8c2224",\r
5390                 "d5aad2e.d2c753"\r
5391             ]\r
5392         ]\r
5393     },\r
5394     {\r
5395         "id": "d5aad2e.d2c753",\r
5396         "type": "set",\r
5397         "name": "unset tmp.aai.vpn-binding",\r
5398         "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
5399         "comments": "",\r
5400         "x": 1751.566665649414,\r
5401         "y": 1579.566665649414,\r
5402         "z": "25a21122.0e2cfe",\r
5403         "wires": []\r
5404     },\r
5405     {\r
5406         "id": "6e6ea5ef.8c2224",\r
5407         "type": "save",\r
5408         "name": "get vpn-binding from aai",\r
5409         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
5410         "comments": "",\r
5411         "outputs": 1,\r
5412         "x": 1260.566665649414,\r
5413         "y": 1733.566665649414,\r
5414         "z": "25a21122.0e2cfe",\r
5415         "wires": [\r
5416             [\r
5417                 "8146e5c8.89f0a",\r
5418                 "7ba4a096.c89f48",\r
5419                 "d58f3b9.ef82248"\r
5420             ]\r
5421         ]\r
5422     },\r
5423     {\r
5424         "id": "f88195dd.98254",\r
5425         "type": "block",\r
5426         "name": "block : atomic",\r
5427         "xml": "<block atomic=\"true\">",\r
5428         "atomic": "true",\r
5429         "outputs": 1,\r
5430         "x": 1644.566665649414,\r
5431         "y": 1733.566665649414,\r
5432         "z": "25a21122.0e2cfe",\r
5433         "wires": [\r
5434             [\r
5435                 "1f6be69e.efcee9",\r
5436                 "dca75bc1.9206a8"\r
5437             ]\r
5438         ]\r
5439     },\r
5440     {\r
5441         "id": "8146e5c8.89f0a",\r
5442         "type": "success",\r
5443         "name": "success",\r
5444         "xml": "<outcome value='success'>\n",\r
5445         "comments": "",\r
5446         "outputs": 1,\r
5447         "x": 1471.566665649414,\r
5448         "y": 1735.566665649414,\r
5449         "z": "25a21122.0e2cfe",\r
5450         "wires": [\r
5451             [\r
5452                 "f88195dd.98254"\r
5453             ]\r
5454         ]\r
5455     },\r
5456     {\r
5457         "id": "7ba4a096.c89f48",\r
5458         "type": "not-found",\r
5459         "name": "not-found",\r
5460         "xml": "<outcome value='not-found'>\n",\r
5461         "comments": "",\r
5462         "outputs": 1,\r
5463         "x": 1472.057632446289,\r
5464         "y": 1781.1407012939453,\r
5465         "z": "25a21122.0e2cfe",\r
5466         "wires": [\r
5467             [\r
5468                 "e8dc9623.1376d8"\r
5469             ]\r
5470         ]\r
5471     },\r
5472     {\r
5473         "id": "d58f3b9.ef82248",\r
5474         "type": "failure",\r
5475         "name": "failure",\r
5476         "xml": "<outcome value='failure'>\n",\r
5477         "comments": "",\r
5478         "outputs": 1,\r
5479         "x": 1469.566665649414,\r
5480         "y": 1824.566665649414,\r
5481         "z": "25a21122.0e2cfe",\r
5482         "wires": [\r
5483             [\r
5484                 "1a1a5ddc.251932"\r
5485             ]\r
5486         ]\r
5487     },\r
5488     {\r
5489         "id": "1a1a5ddc.251932",\r
5490         "type": "returnFailure",\r
5491         "name": "return failure",\r
5492         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5493         "comments": "",\r
5494         "x": 1636.566665649414,\r
5495         "y": 1841.566665649414,\r
5496         "z": "25a21122.0e2cfe",\r
5497         "wires": []\r
5498     },\r
5499     {\r
5500         "id": "e8dc9623.1376d8",\r
5501         "type": "returnFailure",\r
5502         "name": "return failure",\r
5503         "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
5504         "comments": "",\r
5505         "x": 1634.6290435791016,\r
5506         "y": 1781.4264373779297,\r
5507         "z": "25a21122.0e2cfe",\r
5508         "wires": []\r
5509     },\r
5510     {\r
5511         "id": "fb4c81c8.58ec08",\r
5512         "type": "block",\r
5513         "name": "block : atomic",\r
5514         "xml": "<block atomic=\"true\">",\r
5515         "atomic": "true",\r
5516         "outputs": 1,\r
5517         "x": 800.5666656494141,\r
5518         "y": 1345.566665649414,\r
5519         "z": "25a21122.0e2cfe",\r
5520         "wires": [\r
5521             [\r
5522                 "68774cff.da4f7c",\r
5523                 "458e84.00aae97c"\r
5524             ]\r
5525         ]\r
5526     },\r
5527     {\r
5528         "id": "458e84.00aae97c",\r
5529         "type": "set",\r
5530         "name": "unset tmp.aai.connectivity",\r
5531         "xml": "<set>\n<parameter name='tmp.aai.connectivity.' value='' />\n",\r
5532         "comments": "",\r
5533         "x": 1020.5666656494141,\r
5534         "y": 1293.566665649414,\r
5535         "z": "25a21122.0e2cfe",\r
5536         "wires": []\r
5537     },\r
5538     {\r
5539         "id": "1f6be69e.efcee9",\r
5540         "type": "save",\r
5541         "name": "update vpn-binding A resource (aka. OTN domainA) in AAI",\r
5542         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='operational-status' value='Modified' />\n",\r
5543         "comments": "",\r
5544         "outputs": 1,\r
5545         "x": 1995.066665649414,\r
5546         "y": 1728.566665649414,\r
5547         "z": "25a21122.0e2cfe",\r
5548         "wires": [\r
5549             []\r
5550         ]\r
5551     },\r
5552     {\r
5553         "id": "dca75bc1.9206a8",\r
5554         "type": "save",\r
5555         "name": "update connectivity resource in AAI",\r
5556         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n",\r
5557         "comments": "",\r
5558         "outputs": 1,\r
5559         "x": 1922.066665649414,\r
5560         "y": 1792.566665649414,\r
5561         "z": "25a21122.0e2cfe",\r
5562         "wires": [\r
5563             []\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "ee7fd236.9ed9a8",\r
5568         "type": "comment",\r
5569         "name": "The following two nodes are for PCE",\r
5570         "info": "",\r
5571         "comments": "",\r
5572         "x": 2066.566665649414,\r
5573         "y": 120.56666564941406,\r
5574         "z": "25a21122.0e2cfe",\r
5575         "wires": []\r
5576     },\r
5577     {\r
5578         "id": "323fc4b1.60fe74",\r
5579         "type": "get-resource",\r
5580         "name": "get-resource pnfs-list",\r
5581         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
5582         "comments": "",\r
5583         "outputs": 1,\r
5584         "x": 2026.566665649414,\r
5585         "y": 164.56666564941406,\r
5586         "z": "25a21122.0e2cfe",\r
5587         "wires": [\r
5588             []\r
5589         ]\r
5590     },\r
5591     {\r
5592         "id": "8780743f.a296a",\r
5593         "type": "get-resource",\r
5594         "name": "get-resource logical-links",\r
5595         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v25/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
5596         "comments": "",\r
5597         "outputs": 1,\r
5598         "x": 2039.566665649414,\r
5599         "y": 209.56666564941406,\r
5600         "z": "25a21122.0e2cfe",\r
5601         "wires": [\r
5602             []\r
5603         ]\r
5604     },\r
5605     {\r
5606         "id": "afd6fb79.f36b6",\r
5607         "type": "execute",\r
5608         "name": "execute printContext",\r
5609         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='printContext' >\n    <parameter name=\"filename\" value=\"`$filenamemm`\" />\n",\r
5610         "comments": "",\r
5611         "outputs": 1,\r
5612         "x": 4346.566665649414,\r
5613         "y": 2326.566665649414,\r
5614         "z": "25a21122.0e2cfe",\r
5615         "wires": [\r
5616             []\r
5617         ]\r
5618     },\r
5619     {\r
5620         "id": "89a7842f.afd83",\r
5621         "type": "save",\r
5622         "name": "save connectivity resource in AAI",\r
5623         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
5624         "comments": "",\r
5625         "outputs": 1,\r
5626         "x": 5637.566665649414,\r
5627         "y": 1163.566665649414,\r
5628         "z": "25a21122.0e2cfe",\r
5629         "wires": [\r
5630             []\r
5631         ]\r
5632     },\r
5633     {\r
5634         "id": "1a397526.128d93",\r
5635         "type": "call",\r
5636         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-find-maximum-used-tpn",\r
5637         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5638         "comments": "",\r
5639         "outputs": 1,\r
5640         "x": 4535.566665649414,\r
5641         "y": 2398.566665649414,\r
5642         "z": "25a21122.0e2cfe",\r
5643         "wires": [\r
5644             []\r
5645         ]\r
5646     }\r
5647 ]