8c72d0c8fa83449df75dd1c3e40401251b2d5ad7
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / trans_slicing / GENERIC-RESOURCE-API_tsli-vnf-topology-operation-trans-slice-allocate.json
1 [\r
2     {\r
3         "id": "187a8cd0.b6793b",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 144,\r
8         "y": 132,\r
9         "z": "4d37a11.42c136",\r
10         "wires": [\r
11             [\r
12                 "5ea5ad17.ee4964"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "5ea5ad17.ee4964",\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": 428.2856903076172,\r
26         "y": 193.23810863494873,\r
27         "z": "4d37a11.42c136",\r
28         "wires": [\r
29             [\r
30                 "9dad8fbc.f24f98"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "9dad8fbc.f24f98",\r
36         "type": "method",\r
37         "name": "method tsli-vnf-topology-operation-trans-slice-allocate",\r
38         "xml": "<method rpc='tsli-vnf-topology-operation-trans-slice-allocate' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 434.42860412597656,\r
42         "y": 278.0000305175781,\r
43         "z": "4d37a11.42c136",\r
44         "wires": [\r
45             [\r
46                 "ca46cddf.f67038"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "ca46cddf.f67038",\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": 804.238037109375,\r
58         "y": 302.66668701171875,\r
59         "z": "4d37a11.42c136",\r
60         "wires": [\r
61             [\r
62                 "506e7f5c.19244",\r
63                 "7c740453.8a159c",\r
64                 "ac58016f.1c2c1"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "506e7f5c.19244",\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": 1105.571533203125,\r
75         "y": 573.5969848632812,\r
76         "z": "4d37a11.42c136",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "7c740453.8a159c",\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": 1127,\r
87         "y": 276,\r
88         "z": "4d37a11.42c136",\r
89         "wires": [\r
90             [\r
91                 "78f50d5a.2a0cec",\r
92                 "c34c58a5.11a148",\r
93                 "f82c0a42.39fea8"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "78f50d5a.2a0cec",\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": 1352,\r
105         "y": 134,\r
106         "z": "4d37a11.42c136",\r
107         "wires": [\r
108             [\r
109                 "dfc9a5db.996c4"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "c34c58a5.11a148",\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": 1347.490966796875,\r
121         "y": 203.57403564453125,\r
122         "z": "4d37a11.42c136",\r
123         "wires": [\r
124             [\r
125                 "5383933.3cbeeec"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "f82c0a42.39fea8",\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": 1336,\r
137         "y": 250,\r
138         "z": "4d37a11.42c136",\r
139         "wires": [\r
140             [\r
141                 "3912b121.be04f6"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "dfc9a5db.996c4",\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": 1591,\r
153         "y": 131,\r
154         "z": "4d37a11.42c136",\r
155         "wires": [\r
156             [\r
157                 "fea7170c.7030f8",\r
158                 "8bbb818c.845db"\r
159             ]\r
160         ]\r
161     },\r
162     {\r
163         "id": "5383933.3cbeeec",\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": 1501.0623779296875,\r
169         "y": 206.85977172851562,\r
170         "z": "4d37a11.42c136",\r
171         "wires": []\r
172     },\r
173     {\r
174         "id": "3912b121.be04f6",\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": 1505,\r
180         "y": 251,\r
181         "z": "4d37a11.42c136",\r
182         "wires": []\r
183     },\r
184     {\r
185         "id": "fea7170c.7030f8",\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": 1804,\r
192         "y": 155,\r
193         "z": "4d37a11.42c136",\r
194         "wires": [\r
195             [\r
196                 "bf993d83.a36c8"\r
197             ]\r
198         ]\r
199     },\r
200     {\r
201         "id": "8bbb818c.845db",\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": 1806,\r
208         "y": 95,\r
209         "z": "4d37a11.42c136",\r
210         "wires": [\r
211             []\r
212         ]\r
213     },\r
214     {\r
215         "id": "f5ddac6.6343fd",\r
216         "type": "comment",\r
217         "name": "new for TransportSlicing",\r
218         "info": "",\r
219         "comments": "",\r
220         "x": 1106,\r
221         "y": 164,\r
222         "z": "4d37a11.42c136",\r
223         "wires": []\r
224     },\r
225     {\r
226         "id": "bf993d83.a36c8",\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": 1789,\r
234         "y": 243,\r
235         "z": "4d37a11.42c136",\r
236         "wires": [\r
237             [\r
238                 "23c06925.0d2eb6",\r
239                 "a5814717.4b953",\r
240                 "39b144a2.fc3a7c"\r
241             ]\r
242         ]\r
243     },\r
244     {\r
245         "id": "50cd8b4c.3fbe34",\r
246         "type": "set",\r
247         "name": "set network-route-A",\r
248         "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
249         "comments": "",\r
250         "x": 2652,\r
251         "y": 843,\r
252         "z": "4d37a11.42c136",\r
253         "wires": []\r
254     },\r
255     {\r
256         "id": "4f854478.eff1a4",\r
257         "type": "set",\r
258         "name": "set network-route-B",\r
259         "xml": "<set>\n<parameter name='network-route-B' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
260         "comments": "",\r
261         "x": 2653,\r
262         "y": 898,\r
263         "z": "4d37a11.42c136",\r
264         "wires": []\r
265     },\r
266     {\r
267         "id": "78e29884.225c08",\r
268         "type": "save",\r
269         "name": "get allotted-resource from aai",\r
270         "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
271         "comments": "",\r
272         "outputs": 1,\r
273         "x": 2275,\r
274         "y": 294,\r
275         "z": "4d37a11.42c136",\r
276         "wires": [\r
277             [\r
278                 "e80669a1.e9e15",\r
279                 "2a720603.9816ea",\r
280                 "13ab43c3.0c3b8c"\r
281             ]\r
282         ]\r
283     },\r
284     {\r
285         "id": "e80669a1.e9e15",\r
286         "type": "success",\r
287         "name": "success",\r
288         "xml": "<outcome value='success'>\n",\r
289         "comments": "",\r
290         "outputs": 1,\r
291         "x": 2491,\r
292         "y": 361,\r
293         "z": "4d37a11.42c136",\r
294         "wires": [\r
295             [\r
296                 "14dca185.e1b46e"\r
297             ]\r
298         ]\r
299     },\r
300     {\r
301         "id": "2a720603.9816ea",\r
302         "type": "not-found",\r
303         "name": "not-found",\r
304         "xml": "<outcome value='not-found'>\n",\r
305         "comments": "",\r
306         "outputs": 1,\r
307         "x": 2491.490966796875,\r
308         "y": 260.573974609375,\r
309         "z": "4d37a11.42c136",\r
310         "wires": [\r
311             [\r
312                 "e741b978.cc2c38"\r
313             ]\r
314         ]\r
315     },\r
316     {\r
317         "id": "13ab43c3.0c3b8c",\r
318         "type": "failure",\r
319         "name": "failure",\r
320         "xml": "<outcome value='failure'>\n",\r
321         "comments": "",\r
322         "outputs": 1,\r
323         "x": 2487,\r
324         "y": 310,\r
325         "z": "4d37a11.42c136",\r
326         "wires": [\r
327             [\r
328                 "b16bf403.baad58"\r
329             ]\r
330         ]\r
331     },\r
332     {\r
333         "id": "e741b978.cc2c38",\r
334         "type": "returnFailure",\r
335         "name": "return failure",\r
336         "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
337         "comments": "",\r
338         "x": 2669.0625,\r
339         "y": 260.8597412109375,\r
340         "z": "4d37a11.42c136",\r
341         "wires": []\r
342     },\r
343     {\r
344         "id": "b16bf403.baad58",\r
345         "type": "returnFailure",\r
346         "name": "return failure",\r
347         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
348         "comments": "",\r
349         "x": 2669,\r
350         "y": 310,\r
351         "z": "4d37a11.42c136",\r
352         "wires": []\r
353     },\r
354     {\r
355         "id": "6e843ab.3582ec4",\r
356         "type": "save",\r
357         "name": "get logical-link from aai",\r
358         "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
359         "comments": "",\r
360         "outputs": 1,\r
361         "x": 2010,\r
362         "y": 783,\r
363         "z": "4d37a11.42c136",\r
364         "wires": [\r
365             [\r
366                 "4070a4d0.4176d4",\r
367                 "60c71e39.2f942",\r
368                 "a6a55952.b90f"\r
369             ]\r
370         ]\r
371     },\r
372     {\r
373         "id": "4070a4d0.4176d4",\r
374         "type": "not-found",\r
375         "name": "not-found",\r
376         "xml": "<outcome value='not-found'>\n",\r
377         "comments": "",\r
378         "outputs": 1,\r
379         "x": 2301.490966796875,\r
380         "y": 761.573974609375,\r
381         "z": "4d37a11.42c136",\r
382         "wires": [\r
383             [\r
384                 "77c211be.bc11e8"\r
385             ]\r
386         ]\r
387     },\r
388     {\r
389         "id": "60c71e39.2f942",\r
390         "type": "failure",\r
391         "name": "failure",\r
392         "xml": "<outcome value='failure'>\n",\r
393         "comments": "",\r
394         "outputs": 1,\r
395         "x": 2290,\r
396         "y": 806,\r
397         "z": "4d37a11.42c136",\r
398         "wires": [\r
399             [\r
400                 "fbd7810f.a3734"\r
401             ]\r
402         ]\r
403     },\r
404     {\r
405         "id": "77c211be.bc11e8",\r
406         "type": "returnFailure",\r
407         "name": "return failure",\r
408         "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
409         "comments": "",\r
410         "x": 2450.0625,\r
411         "y": 761.8597412109375,\r
412         "z": "4d37a11.42c136",\r
413         "wires": []\r
414     },\r
415     {\r
416         "id": "fbd7810f.a3734",\r
417         "type": "returnFailure",\r
418         "name": "return failure",\r
419         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
420         "comments": "",\r
421         "x": 2449,\r
422         "y": 806,\r
423         "z": "4d37a11.42c136",\r
424         "wires": []\r
425     },\r
426     {\r
427         "id": "a6a55952.b90f",\r
428         "type": "success",\r
429         "name": "success",\r
430         "xml": "<outcome value='success'>\n",\r
431         "comments": "",\r
432         "outputs": 1,\r
433         "x": 2297,\r
434         "y": 885,\r
435         "z": "4d37a11.42c136",\r
436         "wires": [\r
437             [\r
438                 "22d259e0.d6e2e6"\r
439             ]\r
440         ]\r
441     },\r
442     {\r
443         "id": "22d259e0.d6e2e6",\r
444         "type": "block",\r
445         "name": "block",\r
446         "xml": "<block>\n",\r
447         "atomic": "false",\r
448         "comments": "",\r
449         "outputs": 1,\r
450         "x": 2436,\r
451         "y": 885,\r
452         "z": "4d37a11.42c136",\r
453         "wires": [\r
454             [\r
455                 "50cd8b4c.3fbe34",\r
456                 "4f854478.eff1a4",\r
457                 "14a4c097.be654f",\r
458                 "644a5f8e.b0774",\r
459                 "79e86730.1965c8",\r
460                 "4f1b84d7.aafb5c",\r
461                 "7ca2c5af.473d34",\r
462                 "28a40435.4178ec",\r
463                 "b46ca414.99697",\r
464                 "57fdafb2.9eec08",\r
465                 "260f00b5.585908",\r
466                 "134248ca.e0fa77",\r
467                 "fc2a7bf0.e878b",\r
468                 "84749d0f.3038c8",\r
469                 "21292318.735edc",\r
470                 "ce066c5d.e7734",\r
471                 "e927f664.5c872",\r
472                 "29397b6c.248454",\r
473                 "c19c2198.0de5c",\r
474                 "488403ee.0379ac"\r
475             ]\r
476         ]\r
477     },\r
478     {\r
479         "id": "14a4c097.be654f",\r
480         "type": "save",\r
481         "name": "get network-route-A from aai",\r
482         "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
483         "comments": "",\r
484         "outputs": 1,\r
485         "x": 2665,\r
486         "y": 966,\r
487         "z": "4d37a11.42c136",\r
488         "wires": [\r
489             [\r
490                 "7df96ca0.99ecc4",\r
491                 "50b0a0cb.3236a8",\r
492                 "a3437ac7.e0ee1"\r
493             ]\r
494         ]\r
495     },\r
496     {\r
497         "id": "644a5f8e.b0774",\r
498         "type": "save",\r
499         "name": "get network-route-B from aai",\r
500         "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
501         "comments": "",\r
502         "outputs": 1,\r
503         "x": 2644,\r
504         "y": 1567.9998779296875,\r
505         "z": "4d37a11.42c136",\r
506         "wires": [\r
507             [\r
508                 "ece670c3.4f34a8",\r
509                 "263c76fe.5b3242",\r
510                 "97139121.0331f8"\r
511             ]\r
512         ]\r
513     },\r
514     {\r
515         "id": "7df96ca0.99ecc4",\r
516         "type": "not-found",\r
517         "name": "not-found",\r
518         "xml": "<outcome value='not-found'>\n",\r
519         "comments": "",\r
520         "outputs": 1,\r
521         "x": 2866,\r
522         "y": 850,\r
523         "z": "4d37a11.42c136",\r
524         "wires": [\r
525             [\r
526                 "a6fc1138.23945"\r
527             ]\r
528         ]\r
529     },\r
530     {\r
531         "id": "50b0a0cb.3236a8",\r
532         "type": "failure",\r
533         "name": "failure",\r
534         "xml": "<outcome value='failure'>\n",\r
535         "comments": "",\r
536         "outputs": 1,\r
537         "x": 2861.509033203125,\r
538         "y": 899.426025390625,\r
539         "z": "4d37a11.42c136",\r
540         "wires": [\r
541             [\r
542                 "6e6d0210.60f404"\r
543             ]\r
544         ]\r
545     },\r
546     {\r
547         "id": "a3437ac7.e0ee1",\r
548         "type": "success",\r
549         "name": "success",\r
550         "xml": "<outcome value='success'>\n",\r
551         "comments": "",\r
552         "outputs": 1,\r
553         "x": 2865.509033203125,\r
554         "y": 950.426025390625,\r
555         "z": "4d37a11.42c136",\r
556         "wires": [\r
557             [\r
558                 "d860cdb2.412c48"\r
559             ]\r
560         ]\r
561     },\r
562     {\r
563         "id": "a6fc1138.23945",\r
564         "type": "returnFailure",\r
565         "name": "return failure",\r
566         "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
567         "comments": "",\r
568         "x": 3014.571533203125,\r
569         "y": 849.2857666015625,\r
570         "z": "4d37a11.42c136",\r
571         "wires": []\r
572     },\r
573     {\r
574         "id": "6e6d0210.60f404",\r
575         "type": "returnFailure",\r
576         "name": "return failure",\r
577         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
578         "comments": "",\r
579         "x": 3004.509033203125,\r
580         "y": 899.426025390625,\r
581         "z": "4d37a11.42c136",\r
582         "wires": []\r
583     },\r
584     {\r
585         "id": "ece670c3.4f34a8",\r
586         "type": "not-found",\r
587         "name": "not-found",\r
588         "xml": "<outcome value='not-found'>\n",\r
589         "comments": "",\r
590         "outputs": 1,\r
591         "x": 2867,\r
592         "y": 1537.9998779296875,\r
593         "z": "4d37a11.42c136",\r
594         "wires": [\r
595             [\r
596                 "f4c07ea8.414868"\r
597             ]\r
598         ]\r
599     },\r
600     {\r
601         "id": "263c76fe.5b3242",\r
602         "type": "failure",\r
603         "name": "failure",\r
604         "xml": "<outcome value='failure'>\n",\r
605         "comments": "",\r
606         "outputs": 1,\r
607         "x": 2862.509033203125,\r
608         "y": 1587.4259033203125,\r
609         "z": "4d37a11.42c136",\r
610         "wires": [\r
611             [\r
612                 "ce13d349.caf3b8"\r
613             ]\r
614         ]\r
615     },\r
616     {\r
617         "id": "97139121.0331f8",\r
618         "type": "success",\r
619         "name": "success",\r
620         "xml": "<outcome value='success'>\n",\r
621         "comments": "",\r
622         "outputs": 1,\r
623         "x": 2866.509033203125,\r
624         "y": 1638.4259033203125,\r
625         "z": "4d37a11.42c136",\r
626         "wires": [\r
627             [\r
628                 "d30e3d8d.09cef8"\r
629             ]\r
630         ]\r
631     },\r
632     {\r
633         "id": "f4c07ea8.414868",\r
634         "type": "returnFailure",\r
635         "name": "return failure",\r
636         "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
637         "comments": "",\r
638         "x": 3015.571533203125,\r
639         "y": 1537.28564453125,\r
640         "z": "4d37a11.42c136",\r
641         "wires": []\r
642     },\r
643     {\r
644         "id": "ce13d349.caf3b8",\r
645         "type": "returnFailure",\r
646         "name": "return failure",\r
647         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
648         "comments": "",\r
649         "x": 3005.509033203125,\r
650         "y": 1587.4259033203125,\r
651         "z": "4d37a11.42c136",\r
652         "wires": []\r
653     },\r
654     {\r
655         "id": "e31af50c.926d2",\r
656         "type": "block",\r
657         "name": "block : atomic",\r
658         "xml": "<block atomic=\"true\">",\r
659         "atomic": "true",\r
660         "outputs": 1,\r
661         "x": 3679.66650390625,\r
662         "y": 994,\r
663         "z": "4d37a11.42c136",\r
664         "wires": [\r
665             [\r
666                 "c203b1ea.86f6c",\r
667                 "d4cb3bd3.a349c8",\r
668                 "5d25d92f.6f798",\r
669                 "a5aee8f6.ab5e58",\r
670                 "c830d981.aee038"\r
671             ]\r
672         ]\r
673     },\r
674     {\r
675         "id": "b7824d8a.d2e4f8",\r
676         "type": "success",\r
677         "name": "success",\r
678         "xml": "<outcome value='success'>\n",\r
679         "comments": "",\r
680         "outputs": 1,\r
681         "x": 3507,\r
682         "y": 995,\r
683         "z": "4d37a11.42c136",\r
684         "wires": [\r
685             [\r
686                 "e31af50c.926d2"\r
687             ]\r
688         ]\r
689     },\r
690     {\r
691         "id": "5d5b9681.b7598",\r
692         "type": "not-found",\r
693         "name": "not-found",\r
694         "xml": "<outcome value='not-found'>\n",\r
695         "comments": "",\r
696         "outputs": 1,\r
697         "x": 3516.490966796875,\r
698         "y": 1037.5740356445312,\r
699         "z": "4d37a11.42c136",\r
700         "wires": [\r
701             [\r
702                 "4fc1bcc7.eeb784"\r
703             ]\r
704         ]\r
705     },\r
706     {\r
707         "id": "6e8be76c.59d528",\r
708         "type": "failure",\r
709         "name": "failure",\r
710         "xml": "<outcome value='failure'>\n",\r
711         "comments": "",\r
712         "outputs": 1,\r
713         "x": 3505,\r
714         "y": 1084,\r
715         "z": "4d37a11.42c136",\r
716         "wires": [\r
717             [\r
718                 "ac4a57cf.bef8e8"\r
719             ]\r
720         ]\r
721     },\r
722     {\r
723         "id": "4fc1bcc7.eeb784",\r
724         "type": "returnFailure",\r
725         "name": "return failure",\r
726         "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
727         "comments": "",\r
728         "x": 3670.0623779296875,\r
729         "y": 1040.8597717285156,\r
730         "z": "4d37a11.42c136",\r
731         "wires": []\r
732     },\r
733     {\r
734         "id": "ac4a57cf.bef8e8",\r
735         "type": "returnFailure",\r
736         "name": "return failure",\r
737         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
738         "comments": "",\r
739         "x": 3674,\r
740         "y": 1085,\r
741         "z": "4d37a11.42c136",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "d860cdb2.412c48",\r
746         "type": "block",\r
747         "name": "block : atomic",\r
748         "xml": "<block atomic=\"true\">",\r
749         "atomic": "true",\r
750         "outputs": 1,\r
751         "x": 3027,\r
752         "y": 952,\r
753         "z": "4d37a11.42c136",\r
754         "wires": [\r
755             [\r
756                 "62113903.77ec78",\r
757                 "c9fe9947.c06348"\r
758             ]\r
759         ]\r
760     },\r
761     {\r
762         "id": "d30e3d8d.09cef8",\r
763         "type": "block",\r
764         "name": "block : atomic",\r
765         "xml": "<block atomic=\"true\">",\r
766         "atomic": "true",\r
767         "outputs": 1,\r
768         "x": 3017,\r
769         "y": 1639.9998779296875,\r
770         "z": "4d37a11.42c136",\r
771         "wires": [\r
772             [\r
773                 "4ecc6dae.def654",\r
774                 "669a0eda.d8f578"\r
775             ]\r
776         ]\r
777     },\r
778     {\r
779         "id": "a1006da4.a872e",\r
780         "type": "block",\r
781         "name": "block : atomic",\r
782         "xml": "<block atomic=\"true\">",\r
783         "atomic": "true",\r
784         "outputs": 1,\r
785         "x": 3647.66650390625,\r
786         "y": 1830,\r
787         "z": "4d37a11.42c136",\r
788         "wires": [\r
789             [\r
790                 "a3aca2eb.21f5a8",\r
791                 "d3723bfd.d9b168",\r
792                 "d3c0c42f.4b437",\r
793                 "2512774e.7c83b8",\r
794                 "d281a70f.336618"\r
795             ]\r
796         ]\r
797     },\r
798     {\r
799         "id": "c9dbe459.2e8d58",\r
800         "type": "success",\r
801         "name": "success",\r
802         "xml": "<outcome value='success'>\n",\r
803         "comments": "",\r
804         "outputs": 1,\r
805         "x": 3475,\r
806         "y": 1831,\r
807         "z": "4d37a11.42c136",\r
808         "wires": [\r
809             [\r
810                 "a1006da4.a872e"\r
811             ]\r
812         ]\r
813     },\r
814     {\r
815         "id": "dab2f9a8.cea26",\r
816         "type": "not-found",\r
817         "name": "not-found",\r
818         "xml": "<outcome value='not-found'>\n",\r
819         "comments": "",\r
820         "outputs": 1,\r
821         "x": 3484.490966796875,\r
822         "y": 1873.5740356445312,\r
823         "z": "4d37a11.42c136",\r
824         "wires": [\r
825             [\r
826                 "6f793776.f883f"\r
827             ]\r
828         ]\r
829     },\r
830     {\r
831         "id": "f5d094cc.fe5d68",\r
832         "type": "failure",\r
833         "name": "failure",\r
834         "xml": "<outcome value='failure'>\n",\r
835         "comments": "",\r
836         "outputs": 1,\r
837         "x": 3473,\r
838         "y": 1920,\r
839         "z": "4d37a11.42c136",\r
840         "wires": [\r
841             [\r
842                 "f383fe68.3b83"\r
843             ]\r
844         ]\r
845     },\r
846     {\r
847         "id": "6f793776.f883f",\r
848         "type": "returnFailure",\r
849         "name": "return failure",\r
850         "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
851         "comments": "",\r
852         "x": 3638.0623779296875,\r
853         "y": 1876.8597717285156,\r
854         "z": "4d37a11.42c136",\r
855         "wires": []\r
856     },\r
857     {\r
858         "id": "f383fe68.3b83",\r
859         "type": "returnFailure",\r
860         "name": "return failure",\r
861         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
862         "comments": "",\r
863         "x": 3642,\r
864         "y": 1921,\r
865         "z": "4d37a11.42c136",\r
866         "wires": []\r
867     },\r
868     {\r
869         "id": "c203b1ea.86f6c",\r
870         "type": "execute",\r
871         "name": "execute split tp-id to get pnf-name",\r
872         "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
873         "comments": "",\r
874         "outputs": 1,\r
875         "x": 3944,\r
876         "y": 978,\r
877         "z": "4d37a11.42c136",\r
878         "wires": [\r
879             [\r
880                 "6fb08f41.de4d4",\r
881                 "183e3f66.48a0d1"\r
882             ]\r
883         ]\r
884     },\r
885     {\r
886         "id": "183e3f66.48a0d1",\r
887         "type": "failure",\r
888         "name": "success",\r
889         "xml": "<outcome value='success'>\n",\r
890         "comments": "",\r
891         "outputs": 1,\r
892         "x": 4167,\r
893         "y": 933,\r
894         "z": "4d37a11.42c136",\r
895         "wires": [\r
896             [\r
897                 "e55834d1.3ca1b8"\r
898             ]\r
899         ]\r
900     },\r
901     {\r
902         "id": "6fb08f41.de4d4",\r
903         "type": "failure",\r
904         "name": "failure",\r
905         "xml": "<outcome value='failure'>\n",\r
906         "comments": "",\r
907         "outputs": 1,\r
908         "x": 4169,\r
909         "y": 997,\r
910         "z": "4d37a11.42c136",\r
911         "wires": [\r
912             [\r
913                 "f45e344f.88a748"\r
914             ]\r
915         ]\r
916     },\r
917     {\r
918         "id": "5bf466f.7bcdb98",\r
919         "type": "set",\r
920         "name": "set ltpId",\r
921         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
922         "comments": "",\r
923         "x": 4502,\r
924         "y": 888,\r
925         "z": "4d37a11.42c136",\r
926         "wires": []\r
927     },\r
928     {\r
929         "id": "f45e344f.88a748",\r
930         "type": "returnFailure",\r
931         "name": "return failure",\r
932         "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
933         "comments": "",\r
934         "x": 4331,\r
935         "y": 993,\r
936         "z": "4d37a11.42c136",\r
937         "wires": []\r
938     },\r
939     {\r
940         "id": "e55834d1.3ca1b8",\r
941         "type": "block",\r
942         "name": "block : atomic",\r
943         "xml": "<block atomic=\"true\">",\r
944         "atomic": "true",\r
945         "outputs": 1,\r
946         "x": 4332,\r
947         "y": 930,\r
948         "z": "4d37a11.42c136",\r
949         "wires": [\r
950             [\r
951                 "194d0d3d.11557b",\r
952                 "5bf466f.7bcdb98"\r
953             ]\r
954         ]\r
955     },\r
956     {\r
957         "id": "194d0d3d.11557b",\r
958         "type": "set",\r
959         "name": "set pnf-name",\r
960         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
961         "comments": "",\r
962         "x": 4503,\r
963         "y": 996,\r
964         "z": "4d37a11.42c136",\r
965         "wires": []\r
966     },\r
967     {\r
968         "id": "dd1a9ea9.6d631",\r
969         "type": "comment",\r
970         "name": "TODO: FIXME",\r
971         "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
972         "comments": "",\r
973         "x": 4504,\r
974         "y": 945,\r
975         "z": "4d37a11.42c136",\r
976         "wires": []\r
977     },\r
978     {\r
979         "id": "5d25d92f.6f798",\r
980         "type": "save",\r
981         "name": "save connectivity resource in AAI",\r
982         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
983         "comments": "",\r
984         "outputs": 1,\r
985         "x": 3946,\r
986         "y": 1137,\r
987         "z": "4d37a11.42c136",\r
988         "wires": [\r
989             []\r
990         ]\r
991     },\r
992     {\r
993         "id": "d4cb3bd3.a349c8",\r
994         "type": "execute",\r
995         "name": "execute UUID generator for connectivity domainA",\r
996         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
997         "comments": "",\r
998         "outputs": 1,\r
999         "x": 3991,\r
1000         "y": 1047,\r
1001         "z": "4d37a11.42c136",\r
1002         "wires": [\r
1003             []\r
1004         ]\r
1005     },\r
1006     {\r
1007         "id": "6324b9d6.c58fe",\r
1008         "type": "comment",\r
1009         "name": "TODO: FIXME",\r
1010         "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
1011         "comments": "",\r
1012         "x": 3880,\r
1013         "y": 1088,\r
1014         "z": "4d37a11.42c136",\r
1015         "wires": []\r
1016     },\r
1017     {\r
1018         "id": "a3aca2eb.21f5a8",\r
1019         "type": "execute",\r
1020         "name": "execute split tp-id to get pnf-name",\r
1021         "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
1022         "comments": "",\r
1023         "outputs": 1,\r
1024         "x": 3934,\r
1025         "y": 1834.0001220703125,\r
1026         "z": "4d37a11.42c136",\r
1027         "wires": [\r
1028             [\r
1029                 "37186f70.3d57",\r
1030                 "4ffb9846.2cd768"\r
1031             ]\r
1032         ]\r
1033     },\r
1034     {\r
1035         "id": "4ffb9846.2cd768",\r
1036         "type": "failure",\r
1037         "name": "success",\r
1038         "xml": "<outcome value='success'>\n",\r
1039         "comments": "",\r
1040         "outputs": 1,\r
1041         "x": 4157,\r
1042         "y": 1789.0001220703125,\r
1043         "z": "4d37a11.42c136",\r
1044         "wires": [\r
1045             [\r
1046                 "17371f4a.955d61"\r
1047             ]\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "37186f70.3d57",\r
1052         "type": "failure",\r
1053         "name": "failure",\r
1054         "xml": "<outcome value='failure'>\n",\r
1055         "comments": "",\r
1056         "outputs": 1,\r
1057         "x": 4159,\r
1058         "y": 1853.0001220703125,\r
1059         "z": "4d37a11.42c136",\r
1060         "wires": [\r
1061             [\r
1062                 "1981566c.49d212"\r
1063             ]\r
1064         ]\r
1065     },\r
1066     {\r
1067         "id": "17f707eb.a2a908",\r
1068         "type": "set",\r
1069         "name": "set ltpId",\r
1070         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
1071         "comments": "",\r
1072         "x": 4492,\r
1073         "y": 1747.0001220703125,\r
1074         "z": "4d37a11.42c136",\r
1075         "wires": []\r
1076     },\r
1077     {\r
1078         "id": "1981566c.49d212",\r
1079         "type": "returnFailure",\r
1080         "name": "return failure",\r
1081         "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
1082         "comments": "",\r
1083         "x": 4318,\r
1084         "y": 1872.0001220703125,\r
1085         "z": "4d37a11.42c136",\r
1086         "wires": []\r
1087     },\r
1088     {\r
1089         "id": "17371f4a.955d61",\r
1090         "type": "block",\r
1091         "name": "block : atomic",\r
1092         "xml": "<block atomic=\"true\">",\r
1093         "atomic": "true",\r
1094         "outputs": 1,\r
1095         "x": 4322,\r
1096         "y": 1786.0001220703125,\r
1097         "z": "4d37a11.42c136",\r
1098         "wires": [\r
1099             [\r
1100                 "17f707eb.a2a908",\r
1101                 "ca2d1022.cf4e88"\r
1102             ]\r
1103         ]\r
1104     },\r
1105     {\r
1106         "id": "ca2d1022.cf4e88",\r
1107         "type": "set",\r
1108         "name": "set pnf-name",\r
1109         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
1110         "comments": "",\r
1111         "x": 4493,\r
1112         "y": 1852.0001220703125,\r
1113         "z": "4d37a11.42c136",\r
1114         "wires": []\r
1115     },\r
1116     {\r
1117         "id": "8cfd8f17.95a8e",\r
1118         "type": "comment",\r
1119         "name": "TODO: FIXME",\r
1120         "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
1121         "comments": "",\r
1122         "x": 4488,\r
1123         "y": 1801.0001220703125,\r
1124         "z": "4d37a11.42c136",\r
1125         "wires": []\r
1126     },\r
1127     {\r
1128         "id": "d3c0c42f.4b437",\r
1129         "type": "save",\r
1130         "name": "save connectivity resource in AAI",\r
1131         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$prop.sotn.etht-svc-name`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='CIR' value='`$prop.sotn.cir`' />\n<parameter name='EIR' value='`$prop.sotn.eir`' />\n<parameter name='CBS' value='`$prop.sotn.cbs`' />\n<parameter name='EBS' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1132         "comments": "",\r
1133         "outputs": 1,\r
1134         "x": 3936,\r
1135         "y": 1993.0001220703125,\r
1136         "z": "4d37a11.42c136",\r
1137         "wires": [\r
1138             []\r
1139         ]\r
1140     },\r
1141     {\r
1142         "id": "d3723bfd.d9b168",\r
1143         "type": "execute",\r
1144         "name": "execute UUID generator for connectivity domainB",\r
1145         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
1146         "comments": "",\r
1147         "outputs": 1,\r
1148         "x": 3981,\r
1149         "y": 1903.0001220703125,\r
1150         "z": "4d37a11.42c136",\r
1151         "wires": [\r
1152             []\r
1153         ]\r
1154     },\r
1155     {\r
1156         "id": "1765f0ec.e922ff",\r
1157         "type": "comment",\r
1158         "name": "TODO: FIXME",\r
1159         "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
1160         "comments": "",\r
1161         "x": 3870,\r
1162         "y": 1941.0001220703125,\r
1163         "z": "4d37a11.42c136",\r
1164         "wires": []\r
1165     },\r
1166     {\r
1167         "id": "79e86730.1965c8",\r
1168         "type": "call",\r
1169         "name": "call GENERIC-RESOURCE-API:tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof",\r
1170         "xml": "<call module='GENERIC-RESOURCE-API' rpc='tsli-vnf-topology-operation-get-otn-tunnel-path-from-oof' mode='sync' >\n\n",\r
1171         "comments": "",\r
1172         "outputs": 1,\r
1173         "x": 2845,\r
1174         "y": 2068,\r
1175         "z": "4d37a11.42c136",\r
1176         "wires": [\r
1177             []\r
1178         ]\r
1179     },\r
1180     {\r
1181         "id": "4f1b84d7.aafb5c",\r
1182         "type": "set",\r
1183         "name": "set attachment_param",\r
1184         "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
1185         "comments": "",\r
1186         "x": 2639,\r
1187         "y": 1969,\r
1188         "z": "4d37a11.42c136",\r
1189         "wires": []\r
1190     },\r
1191     {\r
1192         "id": "3db83432.384b6c",\r
1193         "type": "comment",\r
1194         "name": "TODO: FIXME",\r
1195         "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
1196         "comments": "",\r
1197         "x": 2613,\r
1198         "y": 1922,\r
1199         "z": "4d37a11.42c136",\r
1200         "wires": []\r
1201     },\r
1202     {\r
1203         "id": "7ca2c5af.473d34",\r
1204         "type": "save",\r
1205         "name": "save vpn-binding A resource (aka. OTN domainA) in AAI",\r
1206         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-A.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-A.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-A.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<!--<parameter name='src-access-ltp-id' value='`$source.tunnel-tp-id`' />-->\n<parameter name='src-access-ltp-id' value='' />\n<parameter name='dst-access-node-id' value='`$domain-A.node-id`' />\n<parameter name='dst-access-ltp-id' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
1207         "comments": "",\r
1208         "outputs": 1,\r
1209         "x": 2721,\r
1210         "y": 2227,\r
1211         "z": "4d37a11.42c136",\r
1212         "wires": [\r
1213             [\r
1214                 "57191dce.959cfc"\r
1215             ]\r
1216         ]\r
1217     },\r
1218     {\r
1219         "id": "28a40435.4178ec",\r
1220         "type": "save",\r
1221         "name": "save connectivity-A relationship to vpn-binding-A, in AAI",\r
1222         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
1223         "comments": "",\r
1224         "outputs": 1,\r
1225         "x": 2724.5,\r
1226         "y": 2297,\r
1227         "z": "4d37a11.42c136",\r
1228         "wires": [\r
1229             []\r
1230         ]\r
1231     },\r
1232     {\r
1233         "id": "82428356.c63018",\r
1234         "type": "save",\r
1235         "name": "save srcLTP relationship in AAI",\r
1236         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
1237         "comments": "",\r
1238         "outputs": 1,\r
1239         "x": 3372.5,\r
1240         "y": 2216,\r
1241         "z": "4d37a11.42c136",\r
1242         "wires": [\r
1243             []\r
1244         ]\r
1245     },\r
1246     {\r
1247         "id": "356966b3.03f20a",\r
1248         "type": "save",\r
1249         "name": "save dstLTP relationship in AAI",\r
1250         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
1251         "comments": "",\r
1252         "outputs": 1,\r
1253         "x": 3374.5,\r
1254         "y": 2255,\r
1255         "z": "4d37a11.42c136",\r
1256         "wires": [\r
1257             []\r
1258         ]\r
1259     },\r
1260     {\r
1261         "id": "a5aee8f6.ab5e58",\r
1262         "type": "save",\r
1263         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1264         "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
1265         "comments": "",\r
1266         "outputs": 1,\r
1267         "x": 4074,\r
1268         "y": 1185,\r
1269         "z": "4d37a11.42c136",\r
1270         "wires": [\r
1271             []\r
1272         ]\r
1273     },\r
1274     {\r
1275         "id": "2512774e.7c83b8",\r
1276         "type": "save",\r
1277         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1278         "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
1279         "comments": "",\r
1280         "outputs": 1,\r
1281         "x": 4063,\r
1282         "y": 2058.0001220703125,\r
1283         "z": "4d37a11.42c136",\r
1284         "wires": [\r
1285             []\r
1286         ]\r
1287     },\r
1288     {\r
1289         "id": "57191dce.959cfc",\r
1290         "type": "success",\r
1291         "name": "success",\r
1292         "xml": "<outcome value='success'>\n",\r
1293         "comments": "",\r
1294         "outputs": 1,\r
1295         "x": 3021,\r
1296         "y": 2234,\r
1297         "z": "4d37a11.42c136",\r
1298         "wires": [\r
1299             [\r
1300                 "dcb72301.82c018"\r
1301             ]\r
1302         ]\r
1303     },\r
1304     {\r
1305         "id": "dcb72301.82c018",\r
1306         "type": "block",\r
1307         "name": "block",\r
1308         "xml": "<block>\n",\r
1309         "atomic": "false",\r
1310         "comments": "",\r
1311         "outputs": 1,\r
1312         "x": 3161.500244140625,\r
1313         "y": 2235.25390625,\r
1314         "z": "4d37a11.42c136",\r
1315         "wires": [\r
1316             []\r
1317         ]\r
1318     },\r
1319     {\r
1320         "id": "6975c99d.325498",\r
1321         "type": "comment",\r
1322         "name": "TODO: FIXME: do we need this relationship?",\r
1323         "info": "",\r
1324         "comments": "",\r
1325         "x": 3409,\r
1326         "y": 2175,\r
1327         "z": "4d37a11.42c136",\r
1328         "wires": []\r
1329     },\r
1330     {\r
1331         "id": "e85b69e.5211998",\r
1332         "type": "comment",\r
1333         "name": "TODO: FIXME: put proper values",\r
1334         "info": "",\r
1335         "comments": "",\r
1336         "x": 2688,\r
1337         "y": 2187,\r
1338         "z": "4d37a11.42c136",\r
1339         "wires": []\r
1340     },\r
1341     {\r
1342         "id": "b46ca414.99697",\r
1343         "type": "save",\r
1344         "name": "save vpn-binding B resource (aka. OTN domainB) in AAI",\r
1345         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' >\n<parameter name='vpn-id' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='vpn-name' value='`$prop.otn-tunnel-name`' />\n<parameter name='customer-vpn-id' value='`($idx + 1) * 10`' />\n<parameter name='access-provider-id' value='`$domain-B.provider-id`' />\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<parameter name='access-client-id' value='`$domain-B.client-id`' />\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<parameter name='access-topology-id' value='`$domain-B.te-topo-id`' />\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<parameter name='src-access-node-id' value='`$domain-B.node-id`' />\n<parameter name='src-access-ltp-id' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='dst-access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<!--<parameter name='dst-access-ltp-id' value='`$destination.tunnel-tp-id`' />-->\n<parameter name='dst-access-ltp-id' value='' />\n<parameter name='route-distinguisher' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.global.sotn.vpnType`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n\n",\r
1346         "comments": "",\r
1347         "outputs": 1,\r
1348         "x": 2724,\r
1349         "y": 2515,\r
1350         "z": "4d37a11.42c136",\r
1351         "wires": [\r
1352             [\r
1353                 "e64b3d38.e980a"\r
1354             ]\r
1355         ]\r
1356     },\r
1357     {\r
1358         "id": "58f4ff2f.89d75",\r
1359         "type": "comment",\r
1360         "name": "TODO: FIXME: do we need this relationship?",\r
1361         "info": "",\r
1362         "comments": "",\r
1363         "x": 3412,\r
1364         "y": 2455,\r
1365         "z": "4d37a11.42c136",\r
1366         "wires": []\r
1367     },\r
1368     {\r
1369         "id": "cad39d05.aea5f",\r
1370         "type": "save",\r
1371         "name": "save srcLTP relationship in AAI",\r
1372         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $src-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$src-ltpId`\" />\n\n\n\n",\r
1373         "comments": "",\r
1374         "outputs": 1,\r
1375         "x": 3375.5,\r
1376         "y": 2496,\r
1377         "z": "4d37a11.42c136",\r
1378         "wires": [\r
1379             []\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "489163b9.d640b4",\r
1384         "type": "save",\r
1385         "name": "save dstLTP relationship in AAI",\r
1386         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $tmp.vpnName' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"p-interface\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/pnfs/pnf/' + $oof.vpn.access-node-id + '/p-interfaces/p-interface/' + $dst-ltpId`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"p-interface.interface-name\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$dst-ltpId`\" />",\r
1387         "comments": "",\r
1388         "outputs": 1,\r
1389         "x": 3377.5,\r
1390         "y": 2535,\r
1391         "z": "4d37a11.42c136",\r
1392         "wires": [\r
1393             []\r
1394         ]\r
1395     },\r
1396     {\r
1397         "id": "d0ea482.a9901b8",\r
1398         "type": "block",\r
1399         "name": "block",\r
1400         "xml": "<block>\n",\r
1401         "atomic": "false",\r
1402         "comments": "",\r
1403         "outputs": 1,\r
1404         "x": 3164.500244140625,\r
1405         "y": 2515.25390625,\r
1406         "z": "4d37a11.42c136",\r
1407         "wires": [\r
1408             []\r
1409         ]\r
1410     },\r
1411     {\r
1412         "id": "e64b3d38.e980a",\r
1413         "type": "success",\r
1414         "name": "success",\r
1415         "xml": "<outcome value='success'>\n",\r
1416         "comments": "",\r
1417         "outputs": 1,\r
1418         "x": 3024,\r
1419         "y": 2514,\r
1420         "z": "4d37a11.42c136",\r
1421         "wires": [\r
1422             [\r
1423                 "d0ea482.a9901b8"\r
1424             ]\r
1425         ]\r
1426     },\r
1427     {\r
1428         "id": "9cd3d1db.fb7ce8",\r
1429         "type": "comment",\r
1430         "name": "TODO: FIXME: put proper values",\r
1431         "info": "",\r
1432         "comments": "",\r
1433         "x": 2704,\r
1434         "y": 2475,\r
1435         "z": "4d37a11.42c136",\r
1436         "wires": []\r
1437     },\r
1438     {\r
1439         "id": "57fdafb2.9eec08",\r
1440         "type": "save",\r
1441         "name": "save connectivity-B relationship to vpn-binding-B, in AAI",\r
1442         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding:relationship-list' \n      key='vpn-binding.vpn-id = $prop.vpn-binding-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
1443         "comments": "",\r
1444         "outputs": 1,\r
1445         "x": 2722.5,\r
1446         "y": 2555,\r
1447         "z": "4d37a11.42c136",\r
1448         "wires": [\r
1449             []\r
1450         ]\r
1451     },\r
1452     {\r
1453         "id": "aa4b663b.c9d06",\r
1454         "type": "comment",\r
1455         "name": "TODO: FIXME:",\r
1456         "info": "set attachment param and send request to NCE-T\nfor bandwidth matrix\nmay require a new template for JSON body",\r
1457         "comments": "",\r
1458         "x": 2596,\r
1459         "y": 2638,\r
1460         "z": "4d37a11.42c136",\r
1461         "wires": []\r
1462     },\r
1463     {\r
1464         "id": "fc2a7bf0.e878b",\r
1465         "type": "set",\r
1466         "name": "set attachment_param domain A",\r
1467         "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainA-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='otn-dest-node' value='`$domain-A.node-id`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='dst-ttp-id' value='`$domain-A.tunnel-tp-id`' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n\n<parameter name='`otn-tunnel-sliceA-list[$idx].request-id`' value='`$prop.vpn-binding-domainA-uuid`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-source-node`' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].otn-dest-node`' value='`$domain-A.node-id`' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceA-list[$idx].src-ttp-id`' value='' />\n<parameter name='`otn-tunnel-sliceA-list[$idx].dst-ttp-id`' value='`$domain-A.tunnel-tp-id`' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceA-list_length`' value='`$idx + 1`' />\n\n<!--otn-tunnel-slice-list[$idx]-->\n\n",\r
1468         "comments": "",\r
1469         "x": 2661,\r
1470         "y": 2683,\r
1471         "z": "4d37a11.42c136",\r
1472         "wires": []\r
1473     },\r
1474     {\r
1475         "id": "2c916faf.da498",\r
1476         "type": "execute",\r
1477         "name": "get esr-thirdparty-sdnc",\r
1478         "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
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 5118,\r
1482         "y": 705,\r
1483         "z": "4d37a11.42c136",\r
1484         "wires": [\r
1485             [\r
1486                 "883ac008.74f89",\r
1487                 "6cf958ca.c3e4a8",\r
1488                 "e70b241a.97d7e8"\r
1489             ]\r
1490         ]\r
1491     },\r
1492     {\r
1493         "id": "14dca185.e1b46e",\r
1494         "type": "block",\r
1495         "name": "block : atomic",\r
1496         "xml": "<block atomic=\"true\">",\r
1497         "atomic": "true",\r
1498         "outputs": 1,\r
1499         "x": 2671,\r
1500         "y": 361,\r
1501         "z": "4d37a11.42c136",\r
1502         "wires": [\r
1503             [\r
1504                 "8a257359.8a7208"\r
1505             ]\r
1506         ]\r
1507     },\r
1508     {\r
1509         "id": "e1ac55d9.d865b8",\r
1510         "type": "outcome",\r
1511         "name": "logical-link",\r
1512         "xml": "<outcome value='logical-link'>\n",\r
1513         "comments": "",\r
1514         "outputs": 1,\r
1515         "x": 1601.0001220703125,\r
1516         "y": 778.0001220703125,\r
1517         "z": "4d37a11.42c136",\r
1518         "wires": [\r
1519             [\r
1520                 "f6ec4c40.65362"\r
1521             ]\r
1522         ]\r
1523     },\r
1524     {\r
1525         "id": "14b8fde.fcc1702",\r
1526         "type": "switchNode",\r
1527         "name": "switch allotted-resource.relationship-list not empty",\r
1528         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
1529         "comments": "",\r
1530         "outputs": 1,\r
1531         "x": 2339,\r
1532         "y": 484,\r
1533         "z": "4d37a11.42c136",\r
1534         "wires": [\r
1535             [\r
1536                 "e65ebebd.579d6",\r
1537                 "32fc4868.fa2b8"\r
1538             ]\r
1539         ]\r
1540     },\r
1541     {\r
1542         "id": "32fc4868.fa2b8",\r
1543         "type": "outcomeFalse",\r
1544         "name": "false",\r
1545         "xml": "<outcome value='false'>\n",\r
1546         "comments": "",\r
1547         "outputs": 1,\r
1548         "x": 2649,\r
1549         "y": 491,\r
1550         "z": "4d37a11.42c136",\r
1551         "wires": [\r
1552             []\r
1553         ]\r
1554     },\r
1555     {\r
1556         "id": "e65ebebd.579d6",\r
1557         "type": "outcomeTrue",\r
1558         "name": "true",\r
1559         "xml": "<outcome value='true'>\n",\r
1560         "comments": "",\r
1561         "outputs": 1,\r
1562         "x": 2648,\r
1563         "y": 545,\r
1564         "z": "4d37a11.42c136",\r
1565         "wires": [\r
1566             [\r
1567                 "c14b8719.903d8"\r
1568             ]\r
1569         ]\r
1570     },\r
1571     {\r
1572         "id": "badc6972.d68008",\r
1573         "type": "set",\r
1574         "name": "set the current logical-link-name",\r
1575         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
1576         "comments": "",\r
1577         "x": 2021,\r
1578         "y": 728,\r
1579         "z": "4d37a11.42c136",\r
1580         "wires": []\r
1581     },\r
1582     {\r
1583         "id": "f6ec4c40.65362",\r
1584         "type": "block",\r
1585         "name": "block : atomic",\r
1586         "xml": "<block atomic=\"true\">",\r
1587         "atomic": "true",\r
1588         "outputs": 1,\r
1589         "x": 1778,\r
1590         "y": 771,\r
1591         "z": "4d37a11.42c136",\r
1592         "wires": [\r
1593             [\r
1594                 "badc6972.d68008",\r
1595                 "6e843ab.3582ec4"\r
1596             ]\r
1597         ]\r
1598     },\r
1599     {\r
1600         "id": "76aa64b6.332a54",\r
1601         "type": "comment",\r
1602         "name": "Question?",\r
1603         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1604         "comments": "",\r
1605         "x": 3207,\r
1606         "y": 957,\r
1607         "z": "4d37a11.42c136",\r
1608         "wires": []\r
1609     },\r
1610     {\r
1611         "id": "62113903.77ec78",\r
1612         "type": "save",\r
1613         "name": "get p-interface-src from aai",\r
1614         "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
1615         "comments": "",\r
1616         "outputs": 1,\r
1617         "x": 3250,\r
1618         "y": 1022,\r
1619         "z": "4d37a11.42c136",\r
1620         "wires": [\r
1621             [\r
1622                 "b7824d8a.d2e4f8",\r
1623                 "5d5b9681.b7598",\r
1624                 "6e8be76c.59d528"\r
1625             ]\r
1626         ]\r
1627     },\r
1628     {\r
1629         "id": "4ecc6dae.def654",\r
1630         "type": "save",\r
1631         "name": "get p-interface-dst from aai",\r
1632         "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
1633         "comments": "",\r
1634         "outputs": 1,\r
1635         "x": 3247,\r
1636         "y": 1866,\r
1637         "z": "4d37a11.42c136",\r
1638         "wires": [\r
1639             [\r
1640                 "c9dbe459.2e8d58",\r
1641                 "dab2f9a8.cea26",\r
1642                 "f5d094cc.fe5d68"\r
1643             ]\r
1644         ]\r
1645     },\r
1646     {\r
1647         "id": "6f6e53ed.b087ec",\r
1648         "type": "comment",\r
1649         "name": "Question?",\r
1650         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1651         "comments": "",\r
1652         "x": 3208,\r
1653         "y": 1810,\r
1654         "z": "4d37a11.42c136",\r
1655         "wires": []\r
1656     },\r
1657     {\r
1658         "id": "8a257359.8a7208",\r
1659         "type": "save",\r
1660         "name": "get allotted-resource relationship from aai",\r
1661         "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
1662         "comments": "",\r
1663         "outputs": 1,\r
1664         "x": 2964,\r
1665         "y": 308,\r
1666         "z": "4d37a11.42c136",\r
1667         "wires": [\r
1668             [\r
1669                 "8ea1434f.746858",\r
1670                 "f2d8ff7.3c8d5",\r
1671                 "a6d32e01.02e81"\r
1672             ]\r
1673         ]\r
1674     },\r
1675     {\r
1676         "id": "f2d8ff7.3c8d5",\r
1677         "type": "not-found",\r
1678         "name": "not-found",\r
1679         "xml": "<outcome value='not-found'>\n",\r
1680         "comments": "",\r
1681         "outputs": 1,\r
1682         "x": 3237.490966796875,\r
1683         "y": 200.573974609375,\r
1684         "z": "4d37a11.42c136",\r
1685         "wires": [\r
1686             [\r
1687                 "b85ff289.1649f"\r
1688             ]\r
1689         ]\r
1690     },\r
1691     {\r
1692         "id": "b85ff289.1649f",\r
1693         "type": "returnFailure",\r
1694         "name": "return failure",\r
1695         "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
1696         "comments": "",\r
1697         "x": 3415.0625,\r
1698         "y": 200.8597412109375,\r
1699         "z": "4d37a11.42c136",\r
1700         "wires": []\r
1701     },\r
1702     {\r
1703         "id": "a6d32e01.02e81",\r
1704         "type": "failure",\r
1705         "name": "failure",\r
1706         "xml": "<outcome value='failure'>\n",\r
1707         "comments": "",\r
1708         "outputs": 1,\r
1709         "x": 3233,\r
1710         "y": 250,\r
1711         "z": "4d37a11.42c136",\r
1712         "wires": [\r
1713             [\r
1714                 "381f7f5a.80d3f8"\r
1715             ]\r
1716         ]\r
1717     },\r
1718     {\r
1719         "id": "381f7f5a.80d3f8",\r
1720         "type": "returnFailure",\r
1721         "name": "return failure",\r
1722         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1723         "comments": "",\r
1724         "x": 3415,\r
1725         "y": 250,\r
1726         "z": "4d37a11.42c136",\r
1727         "wires": []\r
1728     },\r
1729     {\r
1730         "id": "8ea1434f.746858",\r
1731         "type": "success",\r
1732         "name": "success",\r
1733         "xml": "<outcome value='success'>\n",\r
1734         "comments": "",\r
1735         "outputs": 1,\r
1736         "x": 3237,\r
1737         "y": 301,\r
1738         "z": "4d37a11.42c136",\r
1739         "wires": [\r
1740             [\r
1741                 "6ca45b0b.848dec"\r
1742             ]\r
1743         ]\r
1744     },\r
1745     {\r
1746         "id": "6ca45b0b.848dec",\r
1747         "type": "block",\r
1748         "name": "block : atomic",\r
1749         "xml": "<block atomic=\"true\">",\r
1750         "atomic": "true",\r
1751         "outputs": 1,\r
1752         "x": 3417,\r
1753         "y": 301,\r
1754         "z": "4d37a11.42c136",\r
1755         "wires": [\r
1756             [\r
1757                 "14b8fde.fcc1702"\r
1758             ]\r
1759         ]\r
1760     },\r
1761     {\r
1762         "id": "40603cb7.607bc4",\r
1763         "type": "for",\r
1764         "name": "for each allotted-resource relationship",\r
1765         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
1766         "comments": "",\r
1767         "outputs": 1,\r
1768         "x": 2908,\r
1769         "y": 525,\r
1770         "z": "4d37a11.42c136",\r
1771         "wires": [\r
1772             [\r
1773                 "4e667cbe.69222c"\r
1774             ]\r
1775         ]\r
1776     },\r
1777     {\r
1778         "id": "4e667cbe.69222c",\r
1779         "type": "switchNode",\r
1780         "name": "switch related-to",\r
1781         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
1782         "comments": "",\r
1783         "outputs": 1,\r
1784         "x": 3188,\r
1785         "y": 525,\r
1786         "z": "4d37a11.42c136",\r
1787         "wires": [\r
1788             [\r
1789                 "e1ac55d9.d865b8"\r
1790             ]\r
1791         ]\r
1792     },\r
1793     {\r
1794         "id": "13452ae4.22e4ad",\r
1795         "type": "outcome",\r
1796         "name": "network-policy",\r
1797         "xml": "<outcome value='network-policy'>\n",\r
1798         "comments": "",\r
1799         "outputs": 1,\r
1800         "x": 3393,\r
1801         "y": 499,\r
1802         "z": "4d37a11.42c136",\r
1803         "wires": [\r
1804             [\r
1805                 "245f45af.4ae9da"\r
1806             ]\r
1807         ]\r
1808     },\r
1809     {\r
1810         "id": "245f45af.4ae9da",\r
1811         "type": "block",\r
1812         "name": "block : atomic",\r
1813         "xml": "<block atomic=\"true\">",\r
1814         "atomic": "true",\r
1815         "outputs": 1,\r
1816         "x": 3569.9998779296875,\r
1817         "y": 491.9998779296875,\r
1818         "z": "4d37a11.42c136",\r
1819         "wires": [\r
1820             [\r
1821                 "868607a4.e796b",\r
1822                 "3bdb9c7c.d6977c"\r
1823             ]\r
1824         ]\r
1825     },\r
1826     {\r
1827         "id": "868607a4.e796b",\r
1828         "type": "set",\r
1829         "name": "set the 1st network-policy-id",\r
1830         "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
1831         "comments": "",\r
1832         "x": 3812.9998779296875,\r
1833         "y": 448.9998779296875,\r
1834         "z": "4d37a11.42c136",\r
1835         "wires": []\r
1836     },\r
1837     {\r
1838         "id": "3bdb9c7c.d6977c",\r
1839         "type": "save",\r
1840         "name": "get network-policy from aai",\r
1841         "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
1842         "comments": "",\r
1843         "outputs": 1,\r
1844         "x": 3801.9998779296875,\r
1845         "y": 503.9998779296875,\r
1846         "z": "4d37a11.42c136",\r
1847         "wires": [\r
1848             [\r
1849                 "11d90691.38b7b1",\r
1850                 "e5aaddec.aca59",\r
1851                 "6698da7a.77b3bc"\r
1852             ]\r
1853         ]\r
1854     },\r
1855     {\r
1856         "id": "6698da7a.77b3bc",\r
1857         "type": "not-found",\r
1858         "name": "not-found",\r
1859         "xml": "<outcome value='not-found'>\n",\r
1860         "comments": "",\r
1861         "outputs": 1,\r
1862         "x": 4055,\r
1863         "y": 390,\r
1864         "z": "4d37a11.42c136",\r
1865         "wires": [\r
1866             [\r
1867                 "e904e6fc.1061a"\r
1868             ]\r
1869         ]\r
1870     },\r
1871     {\r
1872         "id": "e904e6fc.1061a",\r
1873         "type": "returnFailure",\r
1874         "name": "return failure",\r
1875         "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
1876         "comments": "",\r
1877         "x": 4203.571533203125,\r
1878         "y": 390.2857666015625,\r
1879         "z": "4d37a11.42c136",\r
1880         "wires": []\r
1881     },\r
1882     {\r
1883         "id": "4975bc8f.93ecdc",\r
1884         "type": "returnFailure",\r
1885         "name": "return failure",\r
1886         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1887         "comments": "",\r
1888         "x": 4202.509033203125,\r
1889         "y": 434.426025390625,\r
1890         "z": "4d37a11.42c136",\r
1891         "wires": []\r
1892     },\r
1893     {\r
1894         "id": "e5aaddec.aca59",\r
1895         "type": "failure",\r
1896         "name": "failure",\r
1897         "xml": "<outcome value='failure'>\n",\r
1898         "comments": "",\r
1899         "outputs": 1,\r
1900         "x": 4043.509033203125,\r
1901         "y": 434.426025390625,\r
1902         "z": "4d37a11.42c136",\r
1903         "wires": [\r
1904             [\r
1905                 "4975bc8f.93ecdc"\r
1906             ]\r
1907         ]\r
1908     },\r
1909     {\r
1910         "id": "11d90691.38b7b1",\r
1911         "type": "success",\r
1912         "name": "success",\r
1913         "xml": "<outcome value='success'>\n",\r
1914         "comments": "",\r
1915         "outputs": 1,\r
1916         "x": 4050.509033203125,\r
1917         "y": 513.426025390625,\r
1918         "z": "4d37a11.42c136",\r
1919         "wires": [\r
1920             [\r
1921                 "3b14af19.ae1128"\r
1922             ]\r
1923         ]\r
1924     },\r
1925     {\r
1926         "id": "3b14af19.ae1128",\r
1927         "type": "block",\r
1928         "name": "block",\r
1929         "xml": "<block>\n",\r
1930         "atomic": "false",\r
1931         "comments": "",\r
1932         "outputs": 1,\r
1933         "x": 4189.509033203125,\r
1934         "y": 513.426025390625,\r
1935         "z": "4d37a11.42c136",\r
1936         "wires": [\r
1937             [\r
1938                 "70ed97b5.dc1c9",\r
1939                 "c2e43483.a12bd"\r
1940             ]\r
1941         ]\r
1942     },\r
1943     {\r
1944         "id": "70ed97b5.dc1c9",\r
1945         "type": "set",\r
1946         "name": "set the max bandwidth",\r
1947         "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
1948         "comments": "",\r
1949         "x": 4395,\r
1950         "y": 511,\r
1951         "z": "4d37a11.42c136",\r
1952         "wires": []\r
1953     },\r
1954     {\r
1955         "id": "c9fe9947.c06348",\r
1956         "type": "execute",\r
1957         "name": "execute split tp-id to get pnf-name",\r
1958         "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
1959         "comments": "",\r
1960         "outputs": 1,\r
1961         "x": 3251,\r
1962         "y": 692,\r
1963         "z": "4d37a11.42c136",\r
1964         "wires": [\r
1965             [\r
1966                 "78baed3e.c501f4",\r
1967                 "120f1ac.ca76ae5"\r
1968             ]\r
1969         ]\r
1970     },\r
1971     {\r
1972         "id": "120f1ac.ca76ae5",\r
1973         "type": "failure",\r
1974         "name": "success",\r
1975         "xml": "<outcome value='success'>\n",\r
1976         "comments": "",\r
1977         "outputs": 1,\r
1978         "x": 3474,\r
1979         "y": 678,\r
1980         "z": "4d37a11.42c136",\r
1981         "wires": [\r
1982             [\r
1983                 "40ab4c81.445cd4"\r
1984             ]\r
1985         ]\r
1986     },\r
1987     {\r
1988         "id": "78baed3e.c501f4",\r
1989         "type": "failure",\r
1990         "name": "failure",\r
1991         "xml": "<outcome value='failure'>\n",\r
1992         "comments": "",\r
1993         "outputs": 1,\r
1994         "x": 3476,\r
1995         "y": 711,\r
1996         "z": "4d37a11.42c136",\r
1997         "wires": [\r
1998             [\r
1999                 "9d068c67.4598d"\r
2000             ]\r
2001         ]\r
2002     },\r
2003     {\r
2004         "id": "9d068c67.4598d",\r
2005         "type": "returnFailure",\r
2006         "name": "return failure",\r
2007         "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
2008         "comments": "",\r
2009         "x": 3619,\r
2010         "y": 708,\r
2011         "z": "4d37a11.42c136",\r
2012         "wires": []\r
2013     },\r
2014     {\r
2015         "id": "40ab4c81.445cd4",\r
2016         "type": "block",\r
2017         "name": "block : atomic",\r
2018         "xml": "<block atomic=\"true\">",\r
2019         "atomic": "true",\r
2020         "outputs": 1,\r
2021         "x": 3622,\r
2022         "y": 671,\r
2023         "z": "4d37a11.42c136",\r
2024         "wires": [\r
2025             [\r
2026                 "e718de2c.ab002",\r
2027                 "68fbd6c1.ad0448"\r
2028             ]\r
2029         ]\r
2030     },\r
2031     {\r
2032         "id": "e718de2c.ab002",\r
2033         "type": "set",\r
2034         "name": "set pnf-name",\r
2035         "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
2036         "comments": "",\r
2037         "x": 3784,\r
2038         "y": 666,\r
2039         "z": "4d37a11.42c136",\r
2040         "wires": []\r
2041     },\r
2042     {\r
2043         "id": "669a0eda.d8f578",\r
2044         "type": "execute",\r
2045         "name": "execute split tp-id to get pnf-name",\r
2046         "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
2047         "comments": "",\r
2048         "outputs": 1,\r
2049         "x": 3265,\r
2050         "y": 1528.9998779296875,\r
2051         "z": "4d37a11.42c136",\r
2052         "wires": [\r
2053             [\r
2054                 "3eeffc60.cab244",\r
2055                 "163d6add.444455"\r
2056             ]\r
2057         ]\r
2058     },\r
2059     {\r
2060         "id": "163d6add.444455",\r
2061         "type": "failure",\r
2062         "name": "success",\r
2063         "xml": "<outcome value='success'>\n",\r
2064         "comments": "",\r
2065         "outputs": 1,\r
2066         "x": 3488,\r
2067         "y": 1514.9998779296875,\r
2068         "z": "4d37a11.42c136",\r
2069         "wires": [\r
2070             [\r
2071                 "2e1531f5.2b244e"\r
2072             ]\r
2073         ]\r
2074     },\r
2075     {\r
2076         "id": "3eeffc60.cab244",\r
2077         "type": "failure",\r
2078         "name": "failure",\r
2079         "xml": "<outcome value='failure'>\n",\r
2080         "comments": "",\r
2081         "outputs": 1,\r
2082         "x": 3490,\r
2083         "y": 1547.9998779296875,\r
2084         "z": "4d37a11.42c136",\r
2085         "wires": [\r
2086             [\r
2087                 "bb0d91d9.020e4"\r
2088             ]\r
2089         ]\r
2090     },\r
2091     {\r
2092         "id": "bb0d91d9.020e4",\r
2093         "type": "returnFailure",\r
2094         "name": "return failure",\r
2095         "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
2096         "comments": "",\r
2097         "x": 3633,\r
2098         "y": 1544.9998779296875,\r
2099         "z": "4d37a11.42c136",\r
2100         "wires": []\r
2101     },\r
2102     {\r
2103         "id": "2e1531f5.2b244e",\r
2104         "type": "block",\r
2105         "name": "block : atomic",\r
2106         "xml": "<block atomic=\"true\">",\r
2107         "atomic": "true",\r
2108         "outputs": 1,\r
2109         "x": 3636,\r
2110         "y": 1507.9998779296875,\r
2111         "z": "4d37a11.42c136",\r
2112         "wires": [\r
2113             [\r
2114                 "dd9519ef.d4213",\r
2115                 "54817df4.67d484"\r
2116             ]\r
2117         ]\r
2118     },\r
2119     {\r
2120         "id": "dd9519ef.d4213",\r
2121         "type": "set",\r
2122         "name": "set pnf-name",\r
2123         "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
2124         "comments": "",\r
2125         "x": 3830,\r
2126         "y": 1511,\r
2127         "z": "4d37a11.42c136",\r
2128         "wires": []\r
2129     },\r
2130     {\r
2131         "id": "ac58016f.1c2c1",\r
2132         "type": "execute",\r
2133         "name": "execute properties",\r
2134         "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
2135         "comments": "",\r
2136         "outputs": 1,\r
2137         "x": 1094,\r
2138         "y": 216,\r
2139         "z": "4d37a11.42c136",\r
2140         "wires": [\r
2141             []\r
2142         ]\r
2143     },\r
2144     {\r
2145         "id": "260f00b5.585908",\r
2146         "type": "execute",\r
2147         "name": "execute UUID generator for vpn-binding domainA",\r
2148         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainA-uuid\"/>\n",\r
2149         "comments": "",\r
2150         "outputs": 1,\r
2151         "x": 2727,\r
2152         "y": 2149,\r
2153         "z": "4d37a11.42c136",\r
2154         "wires": [\r
2155             []\r
2156         ]\r
2157     },\r
2158     {\r
2159         "id": "134248ca.e0fa77",\r
2160         "type": "execute",\r
2161         "name": "execute UUID generator for vpn-binding domainB",\r
2162         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.vpn-binding-domainB-uuid\"/>\n",\r
2163         "comments": "",\r
2164         "outputs": 1,\r
2165         "x": 2725,\r
2166         "y": 2437,\r
2167         "z": "4d37a11.42c136",\r
2168         "wires": [\r
2169             []\r
2170         ]\r
2171     },\r
2172     {\r
2173         "id": "c830d981.aee038",\r
2174         "type": "for",\r
2175         "name": "for each relationship",\r
2176         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
2177         "comments": "",\r
2178         "outputs": 1,\r
2179         "x": 3898,\r
2180         "y": 1262,\r
2181         "z": "4d37a11.42c136",\r
2182         "wires": [\r
2183             [\r
2184                 "4f78d00a.39ba68"\r
2185             ]\r
2186         ]\r
2187     },\r
2188     {\r
2189         "id": "4f78d00a.39ba68",\r
2190         "type": "switchNode",\r
2191         "name": "switch related-to",\r
2192         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
2193         "comments": "",\r
2194         "outputs": 1,\r
2195         "x": 4104,\r
2196         "y": 1262,\r
2197         "z": "4d37a11.42c136",\r
2198         "wires": [\r
2199             [\r
2200                 "489cbbcb.77186c"\r
2201             ]\r
2202         ]\r
2203     },\r
2204     {\r
2205         "id": "489cbbcb.77186c",\r
2206         "type": "outcome",\r
2207         "name": "tunnel-termination-point",\r
2208         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2209         "comments": "",\r
2210         "outputs": 1,\r
2211         "x": 4319.28564453125,\r
2212         "y": 1261.82177734375,\r
2213         "z": "4d37a11.42c136",\r
2214         "wires": [\r
2215             [\r
2216                 "3bbad5a.8ec85aa"\r
2217             ]\r
2218         ]\r
2219     },\r
2220     {\r
2221         "id": "3bbad5a.8ec85aa",\r
2222         "type": "block",\r
2223         "name": "block : atomic",\r
2224         "xml": "<block atomic=\"true\">",\r
2225         "atomic": "true",\r
2226         "outputs": 1,\r
2227         "x": 4526.1171875,\r
2228         "y": 1262.34033203125,\r
2229         "z": "4d37a11.42c136",\r
2230         "wires": [\r
2231             [\r
2232                 "cf0eeee3.8d6188",\r
2233                 "80da6c7c.bf9bc",\r
2234                 "4327bba4.ea16c4"\r
2235             ]\r
2236         ]\r
2237     },\r
2238     {\r
2239         "id": "cf0eeee3.8d6188",\r
2240         "type": "set",\r
2241         "name": "set source ttp-id",\r
2242         "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
2243         "comments": "",\r
2244         "x": 4741.1171875,\r
2245         "y": 1224.34033203125,\r
2246         "z": "4d37a11.42c136",\r
2247         "wires": []\r
2248     },\r
2249     {\r
2250         "id": "80da6c7c.bf9bc",\r
2251         "type": "get-resource",\r
2252         "name": "get-resource src TTP",\r
2253         "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
2254         "comments": "",\r
2255         "outputs": 1,\r
2256         "x": 4738.1171875,\r
2257         "y": 1263.34033203125,\r
2258         "z": "4d37a11.42c136",\r
2259         "wires": [\r
2260             [\r
2261                 "54d57ef.0aa16"\r
2262             ]\r
2263         ]\r
2264     },\r
2265     {\r
2266         "id": "4327bba4.ea16c4",\r
2267         "type": "break",\r
2268         "name": "break",\r
2269         "xml": "<break>\n",\r
2270         "comments": "",\r
2271         "x": 4693.6171875,\r
2272         "y": 1305.34033203125,\r
2273         "z": "4d37a11.42c136",\r
2274         "wires": []\r
2275     },\r
2276     {\r
2277         "id": "54d57ef.0aa16",\r
2278         "type": "success",\r
2279         "name": "success",\r
2280         "xml": "<outcome value='success'>\n",\r
2281         "comments": "",\r
2282         "outputs": 1,\r
2283         "x": 4918.6171875,\r
2284         "y": 1262.34033203125,\r
2285         "z": "4d37a11.42c136",\r
2286         "wires": [\r
2287             [\r
2288                 "136083ca.f8ed24"\r
2289             ]\r
2290         ]\r
2291     },\r
2292     {\r
2293         "id": "136083ca.f8ed24",\r
2294         "type": "block",\r
2295         "name": "block : atomic",\r
2296         "xml": "<block atomic=\"true\">",\r
2297         "atomic": "true",\r
2298         "outputs": 1,\r
2299         "x": 5076.6171875,\r
2300         "y": 1262.34033203125,\r
2301         "z": "4d37a11.42c136",\r
2302         "wires": [\r
2303             [\r
2304                 "43a5fa3.d0c2504"\r
2305             ]\r
2306         ]\r
2307     },\r
2308     {\r
2309         "id": "43a5fa3.d0c2504",\r
2310         "type": "set",\r
2311         "name": "set source tunnel tp ip",\r
2312         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2313         "comments": "",\r
2314         "x": 5283.6171875,\r
2315         "y": 1262.34033203125,\r
2316         "z": "4d37a11.42c136",\r
2317         "wires": []\r
2318     },\r
2319     {\r
2320         "id": "d281a70f.336618",\r
2321         "type": "for",\r
2322         "name": "for each relationship",\r
2323         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2324         "comments": "",\r
2325         "outputs": 1,\r
2326         "x": 3895,\r
2327         "y": 2131.0001220703125,\r
2328         "z": "4d37a11.42c136",\r
2329         "wires": [\r
2330             [\r
2331                 "21553f06.14bad"\r
2332             ]\r
2333         ]\r
2334     },\r
2335     {\r
2336         "id": "21553f06.14bad",\r
2337         "type": "switchNode",\r
2338         "name": "switch related-to",\r
2339         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2340         "comments": "",\r
2341         "outputs": 1,\r
2342         "x": 4101,\r
2343         "y": 2131.0001220703125,\r
2344         "z": "4d37a11.42c136",\r
2345         "wires": [\r
2346             [\r
2347                 "d5a45fe2.8cbaf"\r
2348             ]\r
2349         ]\r
2350     },\r
2351     {\r
2352         "id": "d5a45fe2.8cbaf",\r
2353         "type": "outcome",\r
2354         "name": "tunnel-termination-point",\r
2355         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2356         "comments": "",\r
2357         "outputs": 1,\r
2358         "x": 4316.28564453125,\r
2359         "y": 2130.8218994140625,\r
2360         "z": "4d37a11.42c136",\r
2361         "wires": [\r
2362             [\r
2363                 "3432450f.73fd1a"\r
2364             ]\r
2365         ]\r
2366     },\r
2367     {\r
2368         "id": "3432450f.73fd1a",\r
2369         "type": "block",\r
2370         "name": "block : atomic",\r
2371         "xml": "<block atomic=\"true\">",\r
2372         "atomic": "true",\r
2373         "outputs": 1,\r
2374         "x": 4523.1171875,\r
2375         "y": 2131.3404541015625,\r
2376         "z": "4d37a11.42c136",\r
2377         "wires": [\r
2378             [\r
2379                 "4d1b045c.8befb4",\r
2380                 "ff4bcdcd.b592",\r
2381                 "82369db7.8fbd4"\r
2382             ]\r
2383         ]\r
2384     },\r
2385     {\r
2386         "id": "4d1b045c.8befb4",\r
2387         "type": "set",\r
2388         "name": "set destination ttp-id",\r
2389         "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
2390         "comments": "",\r
2391         "x": 4738.1171875,\r
2392         "y": 2093.3404541015625,\r
2393         "z": "4d37a11.42c136",\r
2394         "wires": []\r
2395     },\r
2396     {\r
2397         "id": "ff4bcdcd.b592",\r
2398         "type": "get-resource",\r
2399         "name": "get-resource src TTP",\r
2400         "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
2401         "comments": "",\r
2402         "outputs": 1,\r
2403         "x": 4735.1171875,\r
2404         "y": 2132.3404541015625,\r
2405         "z": "4d37a11.42c136",\r
2406         "wires": [\r
2407             [\r
2408                 "a8f23d1f.d221e8"\r
2409             ]\r
2410         ]\r
2411     },\r
2412     {\r
2413         "id": "82369db7.8fbd4",\r
2414         "type": "break",\r
2415         "name": "break",\r
2416         "xml": "<break>\n",\r
2417         "comments": "",\r
2418         "x": 4690.6171875,\r
2419         "y": 2174.3404541015625,\r
2420         "z": "4d37a11.42c136",\r
2421         "wires": []\r
2422     },\r
2423     {\r
2424         "id": "a8f23d1f.d221e8",\r
2425         "type": "success",\r
2426         "name": "success",\r
2427         "xml": "<outcome value='success'>\n",\r
2428         "comments": "",\r
2429         "outputs": 1,\r
2430         "x": 4915.6171875,\r
2431         "y": 2131.3404541015625,\r
2432         "z": "4d37a11.42c136",\r
2433         "wires": [\r
2434             [\r
2435                 "403d184.8f53468"\r
2436             ]\r
2437         ]\r
2438     },\r
2439     {\r
2440         "id": "403d184.8f53468",\r
2441         "type": "block",\r
2442         "name": "block : atomic",\r
2443         "xml": "<block atomic=\"true\">",\r
2444         "atomic": "true",\r
2445         "outputs": 1,\r
2446         "x": 5073.6171875,\r
2447         "y": 2131.3404541015625,\r
2448         "z": "4d37a11.42c136",\r
2449         "wires": [\r
2450             [\r
2451                 "c7d0f697.2aea68"\r
2452             ]\r
2453         ]\r
2454     },\r
2455     {\r
2456         "id": "c7d0f697.2aea68",\r
2457         "type": "set",\r
2458         "name": "set destination tunnel tp ip",\r
2459         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2460         "comments": "",\r
2461         "x": 5280.6171875,\r
2462         "y": 2131.3404541015625,\r
2463         "z": "4d37a11.42c136",\r
2464         "wires": []\r
2465     },\r
2466     {\r
2467         "id": "84749d0f.3038c8",\r
2468         "type": "set",\r
2469         "name": "set attachment_param domain B",\r
2470         "xml": "<set>\n<!--<parameter name='request-id' value='`$prop.vpn-binding-domainB-uuid`' />-->\n<!--<parameter name='otn-source-node' value='`$domain-B.node-id`' />-->\n<!--<parameter name='otn-dest-node' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='bw-odu' value=\"`'0,' + $gfp`\" />-->\n<!--<parameter name='src-ttp-id' value='`$domain-B.tunnel-tp-id`' />-->\n<!--<parameter name='dst-ttp-id' value='' />-->\n<!--<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />-->\n\n\n<parameter name='`otn-tunnel-sliceB-list[$idx].request-id`' value='`$prop.vpn-binding-domainB-uuid`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-source-node`' value='`$domain-B.node-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].otn-dest-node`' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].bw-odu`' value=\"`'0,' + $gfp`\" />\n<parameter name='`otn-tunnel-sliceB-list[$idx].src-ttp-id`' value='`$domain-B.tunnel-tp-id`' />\n<parameter name='`otn-tunnel-sliceB-list[$idx].dst-ttp-id`' value='' />\n<parameter name='slice-instance-id' value='`$tmp.aai.service-instance.service-instance-id`' />\n\n<parameter name='`otn-tunnel-sliceB-list_length`' value='`$idx + 1`' />\n",\r
2471         "comments": "",\r
2472         "x": 2656,\r
2473         "y": 3058,\r
2474         "z": "4d37a11.42c136",\r
2475         "wires": []\r
2476     },\r
2477     {\r
2478         "id": "68fbd6c1.ad0448",\r
2479         "type": "get-resource",\r
2480         "name": "get-resource src pnf",\r
2481         "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
2482         "comments": "",\r
2483         "outputs": 1,\r
2484         "x": 3811,\r
2485         "y": 738,\r
2486         "z": "4d37a11.42c136",\r
2487         "wires": [\r
2488             [\r
2489                 "69417d44.afb3fc",\r
2490                 "a15ac77e.798db8",\r
2491                 "3a89038d.704134"\r
2492             ]\r
2493         ]\r
2494     },\r
2495     {\r
2496         "id": "69417d44.afb3fc",\r
2497         "type": "success",\r
2498         "name": "success",\r
2499         "xml": "<outcome value='success'>\n",\r
2500         "comments": "",\r
2501         "outputs": 1,\r
2502         "x": 4006.5001220703125,\r
2503         "y": 690,\r
2504         "z": "4d37a11.42c136",\r
2505         "wires": [\r
2506             [\r
2507                 "138b37c3.968d8"\r
2508             ]\r
2509         ]\r
2510     },\r
2511     {\r
2512         "id": "a15ac77e.798db8",\r
2513         "type": "not-found",\r
2514         "name": "not-found",\r
2515         "xml": "<outcome value='not-found'>\n",\r
2516         "comments": "",\r
2517         "outputs": 1,\r
2518         "x": 3998.5001220703125,\r
2519         "y": 745,\r
2520         "z": "4d37a11.42c136",\r
2521         "wires": [\r
2522             [\r
2523                 "5742f10e.dadab8"\r
2524             ]\r
2525         ]\r
2526     },\r
2527     {\r
2528         "id": "3a89038d.704134",\r
2529         "type": "other",\r
2530         "name": "other",\r
2531         "xml": "<outcome value='Other'>\n",\r
2532         "comments": "",\r
2533         "outputs": 1,\r
2534         "x": 4003.5001220703125,\r
2535         "y": 802,\r
2536         "z": "4d37a11.42c136",\r
2537         "wires": [\r
2538             [\r
2539                 "56dfcb3e.f8e3ac"\r
2540             ]\r
2541         ]\r
2542     },\r
2543     {\r
2544         "id": "56dfcb3e.f8e3ac",\r
2545         "type": "returnFailure",\r
2546         "name": "return failure",\r
2547         "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
2548         "comments": "",\r
2549         "x": 4155.5001220703125,\r
2550         "y": 803,\r
2551         "z": "4d37a11.42c136",\r
2552         "wires": []\r
2553     },\r
2554     {\r
2555         "id": "5742f10e.dadab8",\r
2556         "type": "returnFailure",\r
2557         "name": "return failure",\r
2558         "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
2559         "comments": "",\r
2560         "x": 4166.5001220703125,\r
2561         "y": 748,\r
2562         "z": "4d37a11.42c136",\r
2563         "wires": []\r
2564     },\r
2565     {\r
2566         "id": "138b37c3.968d8",\r
2567         "type": "block",\r
2568         "name": "block",\r
2569         "xml": "<block>\n",\r
2570         "atomic": "false",\r
2571         "comments": "",\r
2572         "outputs": 1,\r
2573         "x": 4150.8824462890625,\r
2574         "y": 687.6556701660156,\r
2575         "z": "4d37a11.42c136",\r
2576         "wires": [\r
2577             [\r
2578                 "b4d80ee.d93167"\r
2579             ]\r
2580         ]\r
2581     },\r
2582     {\r
2583         "id": "40dc3d01.0cfddc",\r
2584         "type": "outcome",\r
2585         "name": "esr-thirdparty-sdnc",\r
2586         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2587         "comments": "",\r
2588         "outputs": 1,\r
2589         "x": 4733,\r
2590         "y": 706,\r
2591         "z": "4d37a11.42c136",\r
2592         "wires": [\r
2593             [\r
2594                 "ce5ec787.25a25"\r
2595             ]\r
2596         ]\r
2597     },\r
2598     {\r
2599         "id": "ce5ec787.25a25",\r
2600         "type": "block",\r
2601         "name": "block : atomic",\r
2602         "xml": "<block atomic=\"true\">",\r
2603         "atomic": "true",\r
2604         "outputs": 1,\r
2605         "x": 4910,\r
2606         "y": 698,\r
2607         "z": "4d37a11.42c136",\r
2608         "wires": [\r
2609             [\r
2610                 "deda36.39eb45c8",\r
2611                 "2c916faf.da498"\r
2612             ]\r
2613         ]\r
2614     },\r
2615     {\r
2616         "id": "b4d80ee.d93167",\r
2617         "type": "for",\r
2618         "name": "for each relationship",\r
2619         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
2620         "comments": "",\r
2621         "outputs": 1,\r
2622         "x": 4335,\r
2623         "y": 702,\r
2624         "z": "4d37a11.42c136",\r
2625         "wires": [\r
2626             [\r
2627                 "83a731e6.aee9d8"\r
2628             ]\r
2629         ]\r
2630     },\r
2631     {\r
2632         "id": "83a731e6.aee9d8",\r
2633         "type": "switchNode",\r
2634         "name": "switch related-to",\r
2635         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2636         "comments": "",\r
2637         "outputs": 1,\r
2638         "x": 4530,\r
2639         "y": 702,\r
2640         "z": "4d37a11.42c136",\r
2641         "wires": [\r
2642             [\r
2643                 "40dc3d01.0cfddc",\r
2644                 "556c2535.2cf6f4"\r
2645             ]\r
2646         ]\r
2647     },\r
2648     {\r
2649         "id": "deda36.39eb45c8",\r
2650         "type": "set",\r
2651         "name": "set esr-thirdparty-sdnc domainA id",\r
2652         "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
2653         "comments": "",\r
2654         "x": 5148,\r
2655         "y": 653,\r
2656         "z": "4d37a11.42c136",\r
2657         "wires": []\r
2658     },\r
2659     {\r
2660         "id": "883ac008.74f89",\r
2661         "type": "success",\r
2662         "name": "success",\r
2663         "xml": "<outcome value='success'>\n",\r
2664         "comments": "",\r
2665         "outputs": 1,\r
2666         "x": 5328,\r
2667         "y": 696,\r
2668         "z": "4d37a11.42c136",\r
2669         "wires": [\r
2670             [\r
2671                 "5bb6445.b0cb1bc"\r
2672             ]\r
2673         ]\r
2674     },\r
2675     {\r
2676         "id": "6cf958ca.c3e4a8",\r
2677         "type": "not-found",\r
2678         "name": "not-found",\r
2679         "xml": "<outcome value='not-found'>\n",\r
2680         "comments": "",\r
2681         "outputs": 1,\r
2682         "x": 5320,\r
2683         "y": 751,\r
2684         "z": "4d37a11.42c136",\r
2685         "wires": [\r
2686             [\r
2687                 "f6420bc8.c6108"\r
2688             ]\r
2689         ]\r
2690     },\r
2691     {\r
2692         "id": "e70b241a.97d7e8",\r
2693         "type": "other",\r
2694         "name": "other",\r
2695         "xml": "<outcome value='Other'>\n",\r
2696         "comments": "",\r
2697         "outputs": 1,\r
2698         "x": 5325,\r
2699         "y": 808,\r
2700         "z": "4d37a11.42c136",\r
2701         "wires": [\r
2702             [\r
2703                 "e90b6e53.2dc61"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "e90b6e53.2dc61",\r
2709         "type": "returnFailure",\r
2710         "name": "return failure",\r
2711         "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
2712         "comments": "",\r
2713         "x": 5477,\r
2714         "y": 809,\r
2715         "z": "4d37a11.42c136",\r
2716         "wires": []\r
2717     },\r
2718     {\r
2719         "id": "f6420bc8.c6108",\r
2720         "type": "returnFailure",\r
2721         "name": "return failure",\r
2722         "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
2723         "comments": "",\r
2724         "x": 5488,\r
2725         "y": 754,\r
2726         "z": "4d37a11.42c136",\r
2727         "wires": []\r
2728     },\r
2729     {\r
2730         "id": "5bb6445.b0cb1bc",\r
2731         "type": "block",\r
2732         "name": "block",\r
2733         "xml": "<block>\n",\r
2734         "atomic": "false",\r
2735         "comments": "",\r
2736         "outputs": 1,\r
2737         "x": 5472.38232421875,\r
2738         "y": 693.6556701660156,\r
2739         "z": "4d37a11.42c136",\r
2740         "wires": [\r
2741             [\r
2742                 "36dcfa67.508606"\r
2743             ]\r
2744         ]\r
2745     },\r
2746     {\r
2747         "id": "36dcfa67.508606",\r
2748         "type": "set",\r
2749         "name": "set controller domainA data",\r
2750         "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
2751         "comments": "",\r
2752         "x": 5687,\r
2753         "y": 690,\r
2754         "z": "4d37a11.42c136",\r
2755         "wires": []\r
2756     },\r
2757     {\r
2758         "id": "54817df4.67d484",\r
2759         "type": "get-resource",\r
2760         "name": "get-resource src pnf",\r
2761         "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
2762         "comments": "",\r
2763         "outputs": 1,\r
2764         "x": 3852,\r
2765         "y": 1579,\r
2766         "z": "4d37a11.42c136",\r
2767         "wires": [\r
2768             [\r
2769                 "12332a8b.1f458d",\r
2770                 "e70d4463.7fed78",\r
2771                 "9e28dd86.32b368"\r
2772             ]\r
2773         ]\r
2774     },\r
2775     {\r
2776         "id": "12332a8b.1f458d",\r
2777         "type": "success",\r
2778         "name": "success",\r
2779         "xml": "<outcome value='success'>\n",\r
2780         "comments": "",\r
2781         "outputs": 1,\r
2782         "x": 4047.5001220703125,\r
2783         "y": 1531,\r
2784         "z": "4d37a11.42c136",\r
2785         "wires": [\r
2786             [\r
2787                 "97851436.c0f798"\r
2788             ]\r
2789         ]\r
2790     },\r
2791     {\r
2792         "id": "e70d4463.7fed78",\r
2793         "type": "not-found",\r
2794         "name": "not-found",\r
2795         "xml": "<outcome value='not-found'>\n",\r
2796         "comments": "",\r
2797         "outputs": 1,\r
2798         "x": 4039.5001220703125,\r
2799         "y": 1586,\r
2800         "z": "4d37a11.42c136",\r
2801         "wires": [\r
2802             [\r
2803                 "9865196d.c10828"\r
2804             ]\r
2805         ]\r
2806     },\r
2807     {\r
2808         "id": "9e28dd86.32b368",\r
2809         "type": "other",\r
2810         "name": "other",\r
2811         "xml": "<outcome value='Other'>\n",\r
2812         "comments": "",\r
2813         "outputs": 1,\r
2814         "x": 4044.5001220703125,\r
2815         "y": 1643,\r
2816         "z": "4d37a11.42c136",\r
2817         "wires": [\r
2818             [\r
2819                 "1636bf8.c7b9e41"\r
2820             ]\r
2821         ]\r
2822     },\r
2823     {\r
2824         "id": "1636bf8.c7b9e41",\r
2825         "type": "returnFailure",\r
2826         "name": "return failure",\r
2827         "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
2828         "comments": "",\r
2829         "x": 4196.5001220703125,\r
2830         "y": 1644,\r
2831         "z": "4d37a11.42c136",\r
2832         "wires": []\r
2833     },\r
2834     {\r
2835         "id": "9865196d.c10828",\r
2836         "type": "returnFailure",\r
2837         "name": "return failure",\r
2838         "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
2839         "comments": "",\r
2840         "x": 4207.5001220703125,\r
2841         "y": 1589,\r
2842         "z": "4d37a11.42c136",\r
2843         "wires": []\r
2844     },\r
2845     {\r
2846         "id": "97851436.c0f798",\r
2847         "type": "block",\r
2848         "name": "block",\r
2849         "xml": "<block>\n",\r
2850         "atomic": "false",\r
2851         "comments": "",\r
2852         "outputs": 1,\r
2853         "x": 4191.8824462890625,\r
2854         "y": 1528.6556701660156,\r
2855         "z": "4d37a11.42c136",\r
2856         "wires": [\r
2857             [\r
2858                 "601870d2.2269c8"\r
2859             ]\r
2860         ]\r
2861     },\r
2862     {\r
2863         "id": "358b8a93.9adabe",\r
2864         "type": "outcome",\r
2865         "name": "esr-thirdparty-sdnc",\r
2866         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2867         "comments": "",\r
2868         "outputs": 1,\r
2869         "x": 4774,\r
2870         "y": 1547,\r
2871         "z": "4d37a11.42c136",\r
2872         "wires": [\r
2873             [\r
2874                 "f1454db6.8dcaf8"\r
2875             ]\r
2876         ]\r
2877     },\r
2878     {\r
2879         "id": "f1454db6.8dcaf8",\r
2880         "type": "block",\r
2881         "name": "block : atomic",\r
2882         "xml": "<block atomic=\"true\">",\r
2883         "atomic": "true",\r
2884         "outputs": 1,\r
2885         "x": 4951,\r
2886         "y": 1539,\r
2887         "z": "4d37a11.42c136",\r
2888         "wires": [\r
2889             [\r
2890                 "1806e2c2.14485d",\r
2891                 "8cb20d6f.760bf"\r
2892             ]\r
2893         ]\r
2894     },\r
2895     {\r
2896         "id": "601870d2.2269c8",\r
2897         "type": "for",\r
2898         "name": "for each relationship",\r
2899         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2900         "comments": "",\r
2901         "outputs": 1,\r
2902         "x": 4376,\r
2903         "y": 1543,\r
2904         "z": "4d37a11.42c136",\r
2905         "wires": [\r
2906             [\r
2907                 "4732f224.c95254"\r
2908             ]\r
2909         ]\r
2910     },\r
2911     {\r
2912         "id": "4732f224.c95254",\r
2913         "type": "switchNode",\r
2914         "name": "switch related-to",\r
2915         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2916         "comments": "",\r
2917         "outputs": 1,\r
2918         "x": 4571,\r
2919         "y": 1543,\r
2920         "z": "4d37a11.42c136",\r
2921         "wires": [\r
2922             [\r
2923                 "358b8a93.9adabe",\r
2924                 "3beefc43.434434"\r
2925             ]\r
2926         ]\r
2927     },\r
2928     {\r
2929         "id": "8cb20d6f.760bf",\r
2930         "type": "execute",\r
2931         "name": "get esr-thirdparty-sdnc",\r
2932         "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
2933         "comments": "",\r
2934         "outputs": 1,\r
2935         "x": 5159,\r
2936         "y": 1546,\r
2937         "z": "4d37a11.42c136",\r
2938         "wires": [\r
2939             [\r
2940                 "c4071110.82806",\r
2941                 "ce108d7.ad4977",\r
2942                 "c040099f.13bbf8"\r
2943             ]\r
2944         ]\r
2945     },\r
2946     {\r
2947         "id": "1806e2c2.14485d",\r
2948         "type": "set",\r
2949         "name": "set esr-thirdparty-sdnc domainB id",\r
2950         "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
2951         "comments": "",\r
2952         "x": 5189,\r
2953         "y": 1494,\r
2954         "z": "4d37a11.42c136",\r
2955         "wires": []\r
2956     },\r
2957     {\r
2958         "id": "c4071110.82806",\r
2959         "type": "success",\r
2960         "name": "success",\r
2961         "xml": "<outcome value='success'>\n",\r
2962         "comments": "",\r
2963         "outputs": 1,\r
2964         "x": 5369,\r
2965         "y": 1537,\r
2966         "z": "4d37a11.42c136",\r
2967         "wires": [\r
2968             [\r
2969                 "c3f3513e.3d36c"\r
2970             ]\r
2971         ]\r
2972     },\r
2973     {\r
2974         "id": "ce108d7.ad4977",\r
2975         "type": "not-found",\r
2976         "name": "not-found",\r
2977         "xml": "<outcome value='not-found'>\n",\r
2978         "comments": "",\r
2979         "outputs": 1,\r
2980         "x": 5361,\r
2981         "y": 1592,\r
2982         "z": "4d37a11.42c136",\r
2983         "wires": [\r
2984             [\r
2985                 "98979539.818688"\r
2986             ]\r
2987         ]\r
2988     },\r
2989     {\r
2990         "id": "c040099f.13bbf8",\r
2991         "type": "other",\r
2992         "name": "other",\r
2993         "xml": "<outcome value='Other'>\n",\r
2994         "comments": "",\r
2995         "outputs": 1,\r
2996         "x": 5366,\r
2997         "y": 1649,\r
2998         "z": "4d37a11.42c136",\r
2999         "wires": [\r
3000             [\r
3001                 "45d3d695.c0cf2"\r
3002             ]\r
3003         ]\r
3004     },\r
3005     {\r
3006         "id": "45d3d695.c0cf2",\r
3007         "type": "returnFailure",\r
3008         "name": "return failure",\r
3009         "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
3010         "comments": "",\r
3011         "x": 5518,\r
3012         "y": 1650,\r
3013         "z": "4d37a11.42c136",\r
3014         "wires": []\r
3015     },\r
3016     {\r
3017         "id": "98979539.818688",\r
3018         "type": "returnFailure",\r
3019         "name": "return failure",\r
3020         "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
3021         "comments": "",\r
3022         "x": 5529,\r
3023         "y": 1595,\r
3024         "z": "4d37a11.42c136",\r
3025         "wires": []\r
3026     },\r
3027     {\r
3028         "id": "c3f3513e.3d36c",\r
3029         "type": "block",\r
3030         "name": "block",\r
3031         "xml": "<block>\n",\r
3032         "atomic": "false",\r
3033         "comments": "",\r
3034         "outputs": 1,\r
3035         "x": 5513.38232421875,\r
3036         "y": 1534.6556701660156,\r
3037         "z": "4d37a11.42c136",\r
3038         "wires": [\r
3039             [\r
3040                 "90464df.06ab9b"\r
3041             ]\r
3042         ]\r
3043     },\r
3044     {\r
3045         "id": "90464df.06ab9b",\r
3046         "type": "set",\r
3047         "name": "set controller domainB data",\r
3048         "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
3049         "comments": "",\r
3050         "x": 5728,\r
3051         "y": 1531,\r
3052         "z": "4d37a11.42c136",\r
3053         "wires": []\r
3054     },\r
3055     {\r
3056         "id": "a5814717.4b953",\r
3057         "type": "execute",\r
3058         "name": "execute RestApiCallNode slice creation domainA",\r
3059         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceA-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainA.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3060         "comments": "",\r
3061         "outputs": 1,\r
3062         "x": 1959,\r
3063         "y": 2744,\r
3064         "z": "4d37a11.42c136",\r
3065         "wires": [\r
3066             [\r
3067                 "2242c3cc.13b1dc",\r
3068                 "2c8586d6.b70122"\r
3069             ]\r
3070         ]\r
3071     },\r
3072     {\r
3073         "id": "2c8586d6.b70122",\r
3074         "type": "failure",\r
3075         "name": "failure",\r
3076         "xml": "<outcome value='failure'>\n",\r
3077         "comments": "",\r
3078         "outputs": 1,\r
3079         "x": 2242,\r
3080         "y": 2724,\r
3081         "z": "4d37a11.42c136",\r
3082         "wires": [\r
3083             [\r
3084                 "8e14b997.54e1b8"\r
3085             ]\r
3086         ]\r
3087     },\r
3088     {\r
3089         "id": "2242c3cc.13b1dc",\r
3090         "type": "success",\r
3091         "name": "success",\r
3092         "xml": "<outcome value='success'>\n",\r
3093         "comments": "",\r
3094         "outputs": 1,\r
3095         "x": 2243.000213623047,\r
3096         "y": 2774.99990940094,\r
3097         "z": "4d37a11.42c136",\r
3098         "wires": [\r
3099             [\r
3100                 "72bda37b.1b4f84"\r
3101             ]\r
3102         ]\r
3103     },\r
3104     {\r
3105         "id": "8e14b997.54e1b8",\r
3106         "type": "returnFailure",\r
3107         "name": "return failure",\r
3108         "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
3109         "comments": "",\r
3110         "x": 2382.0002479553223,\r
3111         "y": 2724.0000009536743,\r
3112         "z": "4d37a11.42c136",\r
3113         "wires": []\r
3114     },\r
3115     {\r
3116         "id": "72bda37b.1b4f84",\r
3117         "type": "block",\r
3118         "name": "block",\r
3119         "xml": "<block>\n",\r
3120         "atomic": "false",\r
3121         "comments": "",\r
3122         "outputs": 1,\r
3123         "x": 2388.02725982666,\r
3124         "y": 2772.745394706726,\r
3125         "z": "4d37a11.42c136",\r
3126         "wires": [\r
3127             []\r
3128         ]\r
3129     },\r
3130     {\r
3131         "id": "39b144a2.fc3a7c",\r
3132         "type": "execute",\r
3133         "name": "execute RestApiCallNode slice creation domainB",\r
3134         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.transport-sliceB-list-creation.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.url + '/restconf/operations/ietf-optical-slice:create-optical-slice'`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainB.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"post\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
3135         "comments": "",\r
3136         "outputs": 1,\r
3137         "x": 1959,\r
3138         "y": 3110,\r
3139         "z": "4d37a11.42c136",\r
3140         "wires": [\r
3141             [\r
3142                 "23f4f16e.f2ab6e",\r
3143                 "8c667512.e5492"\r
3144             ]\r
3145         ]\r
3146     },\r
3147     {\r
3148         "id": "8c667512.e5492",\r
3149         "type": "failure",\r
3150         "name": "failure",\r
3151         "xml": "<outcome value='failure'>\n",\r
3152         "comments": "",\r
3153         "outputs": 1,\r
3154         "x": 2233,\r
3155         "y": 3090,\r
3156         "z": "4d37a11.42c136",\r
3157         "wires": [\r
3158             [\r
3159                 "1089012f.df48c7"\r
3160             ]\r
3161         ]\r
3162     },\r
3163     {\r
3164         "id": "23f4f16e.f2ab6e",\r
3165         "type": "success",\r
3166         "name": "success",\r
3167         "xml": "<outcome value='success'>\n",\r
3168         "comments": "",\r
3169         "outputs": 1,\r
3170         "x": 2234.000213623047,\r
3171         "y": 3140.99990940094,\r
3172         "z": "4d37a11.42c136",\r
3173         "wires": [\r
3174             [\r
3175                 "199cfc4b.ed097c"\r
3176             ]\r
3177         ]\r
3178     },\r
3179     {\r
3180         "id": "1089012f.df48c7",\r
3181         "type": "returnFailure",\r
3182         "name": "return failure",\r
3183         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing slice creation api for domain B\" />\n",\r
3184         "comments": "",\r
3185         "x": 2373.0002479553223,\r
3186         "y": 3090.0000009536743,\r
3187         "z": "4d37a11.42c136",\r
3188         "wires": []\r
3189     },\r
3190     {\r
3191         "id": "199cfc4b.ed097c",\r
3192         "type": "block",\r
3193         "name": "block",\r
3194         "xml": "<block>\n",\r
3195         "atomic": "false",\r
3196         "comments": "",\r
3197         "outputs": 1,\r
3198         "x": 2379.02725982666,\r
3199         "y": 3138.745394706726,\r
3200         "z": "4d37a11.42c136",\r
3201         "wires": [\r
3202             []\r
3203         ]\r
3204     },\r
3205     {\r
3206         "id": "c14b8719.903d8",\r
3207         "type": "block",\r
3208         "name": "block : atomic",\r
3209         "xml": "<block atomic=\"true\">",\r
3210         "atomic": "true",\r
3211         "outputs": 1,\r
3212         "x": 2812,\r
3213         "y": 471,\r
3214         "z": "4d37a11.42c136",\r
3215         "wires": [\r
3216             [\r
3217                 "40603cb7.607bc4",\r
3218                 "7f3f76ad.e04ac8"\r
3219             ]\r
3220         ]\r
3221     },\r
3222     {\r
3223         "id": "7f3f76ad.e04ac8",\r
3224         "type": "for",\r
3225         "name": "for each allotted-resource relationship",\r
3226         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
3227         "comments": "",\r
3228         "outputs": 1,\r
3229         "x": 3093,\r
3230         "y": 427,\r
3231         "z": "4d37a11.42c136",\r
3232         "wires": [\r
3233             [\r
3234                 "31eeaed6.c9c2d2"\r
3235             ]\r
3236         ]\r
3237     },\r
3238     {\r
3239         "id": "31eeaed6.c9c2d2",\r
3240         "type": "switchNode",\r
3241         "name": "switch related-to",\r
3242         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
3243         "comments": "",\r
3244         "outputs": 1,\r
3245         "x": 3355,\r
3246         "y": 427,\r
3247         "z": "4d37a11.42c136",\r
3248         "wires": [\r
3249             [\r
3250                 "13452ae4.22e4ad"\r
3251             ]\r
3252         ]\r
3253     },\r
3254     {\r
3255         "id": "556c2535.2cf6f4",\r
3256         "type": "outcome",\r
3257         "name": "network-resource",\r
3258         "xml": "<outcome value='network-resource'>",\r
3259         "comments": "",\r
3260         "outputs": 1,\r
3261         "x": 4736,\r
3262         "y": 780,\r
3263         "z": "4d37a11.42c136",\r
3264         "wires": [\r
3265             [\r
3266                 "8b677154.0c28b8"\r
3267             ]\r
3268         ]\r
3269     },\r
3270     {\r
3271         "id": "8b677154.0c28b8",\r
3272         "type": "block",\r
3273         "name": "block : atomic",\r
3274         "xml": "<block atomic=\"true\">",\r
3275         "atomic": "true",\r
3276         "outputs": 1,\r
3277         "x": 4913,\r
3278         "y": 772,\r
3279         "z": "4d37a11.42c136",\r
3280         "wires": [\r
3281             [\r
3282                 "dbe05c47.574588"\r
3283             ]\r
3284         ]\r
3285     },\r
3286     {\r
3287         "id": "dbe05c47.574588",\r
3288         "type": "set",\r
3289         "name": "set domainA ethernet layer network-id",\r
3290         "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
3291         "comments": "",\r
3292         "x": 5148,\r
3293         "y": 896,\r
3294         "z": "4d37a11.42c136",\r
3295         "wires": []\r
3296     },\r
3297     {\r
3298         "id": "e5346606.e9d9f",\r
3299         "type": "set",\r
3300         "name": "set domainB ethernet layer network-id",\r
3301         "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
3302         "comments": "",\r
3303         "x": 5188,\r
3304         "y": 1736,\r
3305         "z": "4d37a11.42c136",\r
3306         "wires": []\r
3307     },\r
3308     {\r
3309         "id": "279e5fe1.a8b868",\r
3310         "type": "block",\r
3311         "name": "block : atomic",\r
3312         "xml": "<block atomic=\"true\">",\r
3313         "atomic": "true",\r
3314         "outputs": 1,\r
3315         "x": 4953,\r
3316         "y": 1612,\r
3317         "z": "4d37a11.42c136",\r
3318         "wires": [\r
3319             [\r
3320                 "e5346606.e9d9f"\r
3321             ]\r
3322         ]\r
3323     },\r
3324     {\r
3325         "id": "3beefc43.434434",\r
3326         "type": "outcome",\r
3327         "name": "network-resource",\r
3328         "xml": "<outcome value='network-resource'>",\r
3329         "comments": "",\r
3330         "outputs": 1,\r
3331         "x": 4776,\r
3332         "y": 1620,\r
3333         "z": "4d37a11.42c136",\r
3334         "wires": [\r
3335             [\r
3336                 "279e5fe1.a8b868"\r
3337             ]\r
3338         ]\r
3339     },\r
3340     {\r
3341         "id": "21292318.735edc",\r
3342         "type": "execute",\r
3343         "name": "execute RestApiCallNode domainA UNI Coloring",\r
3344         "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
3345         "comments": "",\r
3346         "outputs": 1,\r
3347         "x": 2721,\r
3348         "y": 2870,\r
3349         "z": "4d37a11.42c136",\r
3350         "wires": [\r
3351             [\r
3352                 "aa98c0a5.978718",\r
3353                 "47316c0a.b315dc"\r
3354             ]\r
3355         ]\r
3356     },\r
3357     {\r
3358         "id": "47316c0a.b315dc",\r
3359         "type": "failure",\r
3360         "name": "failure",\r
3361         "xml": "<outcome value='failure'>\n",\r
3362         "comments": "",\r
3363         "outputs": 1,\r
3364         "x": 2987,\r
3365         "y": 2850,\r
3366         "z": "4d37a11.42c136",\r
3367         "wires": [\r
3368             [\r
3369                 "a7504bbe.eb60e"\r
3370             ]\r
3371         ]\r
3372     },\r
3373     {\r
3374         "id": "aa98c0a5.978718",\r
3375         "type": "success",\r
3376         "name": "success",\r
3377         "xml": "<outcome value='success'>\n",\r
3378         "comments": "",\r
3379         "outputs": 1,\r
3380         "x": 2988.000213623047,\r
3381         "y": 2900.99990940094,\r
3382         "z": "4d37a11.42c136",\r
3383         "wires": [\r
3384             [\r
3385                 "98c604c1.7b11b8"\r
3386             ]\r
3387         ]\r
3388     },\r
3389     {\r
3390         "id": "a7504bbe.eb60e",\r
3391         "type": "returnFailure",\r
3392         "name": "return failure",\r
3393         "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
3394         "comments": "",\r
3395         "x": 3127.0002479553223,\r
3396         "y": 2850.0000009536743,\r
3397         "z": "4d37a11.42c136",\r
3398         "wires": []\r
3399     },\r
3400     {\r
3401         "id": "98c604c1.7b11b8",\r
3402         "type": "block",\r
3403         "name": "block",\r
3404         "xml": "<block>\n",\r
3405         "atomic": "false",\r
3406         "comments": "",\r
3407         "outputs": 1,\r
3408         "x": 3133.02725982666,\r
3409         "y": 2898.745394706726,\r
3410         "z": "4d37a11.42c136",\r
3411         "wires": [\r
3412             []\r
3413         ]\r
3414     },\r
3415     {\r
3416         "id": "ce066c5d.e7734",\r
3417         "type": "execute",\r
3418         "name": "execute RestApiCallNode domainB UNI Coloring",\r
3419         "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
3420         "comments": "",\r
3421         "outputs": 1,\r
3422         "x": 2721,\r
3423         "y": 3236,\r
3424         "z": "4d37a11.42c136",\r
3425         "wires": [\r
3426             [\r
3427                 "77909c9d.223f24",\r
3428                 "d69f9ea8.7be4"\r
3429             ]\r
3430         ]\r
3431     },\r
3432     {\r
3433         "id": "d69f9ea8.7be4",\r
3434         "type": "failure",\r
3435         "name": "failure",\r
3436         "xml": "<outcome value='failure'>\n",\r
3437         "comments": "",\r
3438         "outputs": 1,\r
3439         "x": 2987,\r
3440         "y": 3216,\r
3441         "z": "4d37a11.42c136",\r
3442         "wires": [\r
3443             [\r
3444                 "f7f9f969.a37708"\r
3445             ]\r
3446         ]\r
3447     },\r
3448     {\r
3449         "id": "77909c9d.223f24",\r
3450         "type": "success",\r
3451         "name": "success",\r
3452         "xml": "<outcome value='success'>\n",\r
3453         "comments": "",\r
3454         "outputs": 1,\r
3455         "x": 2988.000213623047,\r
3456         "y": 3266.99990940094,\r
3457         "z": "4d37a11.42c136",\r
3458         "wires": [\r
3459             [\r
3460                 "cf24be41.03bc48"\r
3461             ]\r
3462         ]\r
3463     },\r
3464     {\r
3465         "id": "f7f9f969.a37708",\r
3466         "type": "returnFailure",\r
3467         "name": "return failure",\r
3468         "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
3469         "comments": "",\r
3470         "x": 3127.0002479553223,\r
3471         "y": 3216.0000009536743,\r
3472         "z": "4d37a11.42c136",\r
3473         "wires": []\r
3474     },\r
3475     {\r
3476         "id": "cf24be41.03bc48",\r
3477         "type": "block",\r
3478         "name": "block",\r
3479         "xml": "<block>\n",\r
3480         "atomic": "false",\r
3481         "comments": "",\r
3482         "outputs": 1,\r
3483         "x": 3133.02725982666,\r
3484         "y": 3264.745394706726,\r
3485         "z": "4d37a11.42c136",\r
3486         "wires": [\r
3487             []\r
3488         ]\r
3489     },\r
3490     {\r
3491         "id": "c2e43483.a12bd",\r
3492         "type": "set",\r
3493         "name": "set the max bandwidth",\r
3494         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
3495         "comments": "",\r
3496         "x": 4394,\r
3497         "y": 557,\r
3498         "z": "4d37a11.42c136",\r
3499         "wires": []\r
3500     },\r
3501     {\r
3502         "id": "303c5717.c426f",\r
3503         "type": "execute",\r
3504         "name": "execute UUID generator for ethernet-service-name",\r
3505         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3506         "comments": "",\r
3507         "outputs": 1,\r
3508         "x": 2750,\r
3509         "y": 691,\r
3510         "z": "4d37a11.42c136",\r
3511         "wires": [\r
3512             []\r
3513         ]\r
3514     },\r
3515     {\r
3516         "id": "c19c2198.0de5c",\r
3517         "type": "execute",\r
3518         "name": "execute UUID generator for otn-tunnel-name",\r
3519         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
3520         "comments": "",\r
3521         "outputs": 1,\r
3522         "x": 2731,\r
3523         "y": 741,\r
3524         "z": "4d37a11.42c136",\r
3525         "wires": [\r
3526             []\r
3527         ]\r
3528     },\r
3529     {\r
3530         "id": "23c06925.0d2eb6",\r
3531         "type": "for",\r
3532         "name": "for each allotted-resource",\r
3533         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
3534         "comments": "",\r
3535         "outputs": 1,\r
3536         "x": 1988,\r
3537         "y": 243,\r
3538         "z": "4d37a11.42c136",\r
3539         "wires": [\r
3540             [\r
3541                 "f805b6b.c60f548",\r
3542                 "78e29884.225c08"\r
3543             ]\r
3544         ]\r
3545     },\r
3546     {\r
3547         "id": "f805b6b.c60f548",\r
3548         "type": "set",\r
3549         "name": "set the current allotted-resource-id",\r
3550         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
3551         "comments": "",\r
3552         "x": 2272,\r
3553         "y": 213,\r
3554         "z": "4d37a11.42c136",\r
3555         "wires": []\r
3556     },\r
3557     {\r
3558         "id": "e927f664.5c872",\r
3559         "type": "set",\r
3560         "name": "set query_param",\r
3561         "xml": "<set>\n<parameter name='prop.ethsrvType' value='`$network-route-A`' />\n\n",\r
3562         "comments": "",\r
3563         "x": 2628,\r
3564         "y": 2021,\r
3565         "z": "4d37a11.42c136",\r
3566         "wires": []\r
3567     },\r
3568     {\r
3569         "id": "29397b6c.248454",\r
3570         "type": "set",\r
3571         "name": "unset parameters",\r
3572         "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
3573         "comments": "",\r
3574         "x": 2618,\r
3575         "y": 3327,\r
3576         "z": "4d37a11.42c136",\r
3577         "wires": []\r
3578     },\r
3579     {\r
3580         "id": "488403ee.0379ac",\r
3581         "type": "set",\r
3582         "name": "set new ethernet-service-name",\r
3583         "xml": "<set>\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
3584         "comments": "",\r
3585         "x": 2688,\r
3586         "y": 786,\r
3587         "z": "4d37a11.42c136",\r
3588         "wires": []\r
3589     }\r
3590 ]