Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
1 [\r
2     {\r
3         "id": "c958c928.fc7fe",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 157.88330078125,\r
8         "y": 156.2857666015625,\r
9         "z": "df66c4ba.dc49d",\r
10         "wires": [\r
11             [\r
12                 "8b28c589.12d4a8"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "8b28c589.12d4a8",\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": 456.1690216064453,\r
26         "y": 212.52387523651123,\r
27         "z": "df66c4ba.dc49d",\r
28         "wires": [\r
29             [\r
30                 "39af1a7f.521d1e"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "39af1a7f.521d1e",\r
36         "type": "method",\r
37         "name": "method cll-vnf-topology-operation-cll-delete",\r
38         "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 462.3119354248047,\r
42         "y": 297.2857971191406,\r
43         "z": "df66c4ba.dc49d",\r
44         "wires": [\r
45             [\r
46                 "7656a28c.ac0ab4"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "7656a28c.ac0ab4",\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": 811.8833312988281,\r
58         "y": 356.2857666015625,\r
59         "z": "df66c4ba.dc49d",\r
60         "wires": [\r
61             [\r
62                 "fdfa5720.e8c418",\r
63                 "3ac5985c.f18eb8",\r
64                 "9905a45e.0c7298"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "fdfa5720.e8c418",\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": 1113.2168273925781,\r
75         "y": 627.216064453125,\r
76         "z": "df66c4ba.dc49d",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "3ac5985c.f18eb8",\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": 1134.6452941894531,\r
87         "y": 329.61907958984375,\r
88         "z": "df66c4ba.dc49d",\r
89         "wires": [\r
90             [\r
91                 "af28127c.d820d8",\r
92                 "63469daf.849ae4",\r
93                 "71a31314.344984"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "af28127c.d820d8",\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": 1359.6452941894531,\r
105         "y": 187.61907958984375,\r
106         "z": "df66c4ba.dc49d",\r
107         "wires": [\r
108             [\r
109                 "a801d61e.c75b88"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "63469daf.849ae4",\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": 1355.1362609863281,\r
121         "y": 257.193115234375,\r
122         "z": "df66c4ba.dc49d",\r
123         "wires": [\r
124             [\r
125                 "3d43dcc5.27db6c"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "71a31314.344984",\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": 1343.6452941894531,\r
137         "y": 303.61907958984375,\r
138         "z": "df66c4ba.dc49d",\r
139         "wires": [\r
140             [\r
141                 "858124ec.81d0f8"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "d6a6cf8b.cb8788",\r
147         "type": "comment",\r
148         "name": "new for TransportSlicing",\r
149         "info": "",\r
150         "comments": "",\r
151         "x": 1113.6452941894531,\r
152         "y": 217.61907958984375,\r
153         "z": "df66c4ba.dc49d",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "9905a45e.0c7298",\r
158         "type": "execute",\r
159         "name": "execute properties",\r
160         "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
161         "comments": "",\r
162         "outputs": 1,\r
163         "x": 1101.6452941894531,\r
164         "y": 269.61907958984375,\r
165         "z": "df66c4ba.dc49d",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "a801d61e.c75b88",\r
172         "type": "switchNode",\r
173         "name": "switch allotted-resources_length != 0",\r
174         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
175         "comments": "",\r
176         "outputs": 1,\r
177         "x": 1599.8833312988281,\r
178         "y": 184.2857666015625,\r
179         "z": "df66c4ba.dc49d",\r
180         "wires": [\r
181             [\r
182                 "e0f3a386.0fe6",\r
183                 "301731c1.c04b8e"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "3d43dcc5.27db6c",\r
189         "type": "returnFailure",\r
190         "name": "return failure",\r
191         "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
192         "comments": "",\r
193         "x": 1509.9457092285156,\r
194         "y": 260.1455383300781,\r
195         "z": "df66c4ba.dc49d",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "858124ec.81d0f8",\r
200         "type": "returnFailure",\r
201         "name": "return failure",\r
202         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
203         "comments": "",\r
204         "x": 1513.8833312988281,\r
205         "y": 304.2857666015625,\r
206         "z": "df66c4ba.dc49d",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "e0f3a386.0fe6",\r
211         "type": "outcomeTrue",\r
212         "name": "true",\r
213         "xml": "<outcome value='true'>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 1804.8833312988281,\r
217         "y": 221.2857666015625,\r
218         "z": "df66c4ba.dc49d",\r
219         "wires": [\r
220             [\r
221                 "128d7cd4.e28ffb"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "301731c1.c04b8e",\r
227         "type": "outcomeFalse",\r
228         "name": "false",\r
229         "xml": "<outcome value='false'>\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 1814.8833312988281,\r
233         "y": 148.2857666015625,\r
234         "z": "df66c4ba.dc49d",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "128d7cd4.e28ffb",\r
241         "type": "block",\r
242         "name": "block",\r
243         "xml": "<block>\n",\r
244         "atomic": "false",\r
245         "comments": "",\r
246         "outputs": 1,\r
247         "x": 1797.8833312988281,\r
248         "y": 296.2857666015625,\r
249         "z": "df66c4ba.dc49d",\r
250         "wires": [\r
251             [\r
252                 "1f66e7ef.b5efe",\r
253                 "b392bf29.b70228",\r
254                 "49e6917b.6d0138",\r
255                 "391971a2.696836",\r
256                 "7226ce6d.bf87d8"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "c1485ca8.2ec768",\r
262         "type": "save",\r
263         "name": "get allotted-resource from aai",\r
264         "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
265         "comments": "",\r
266         "outputs": 1,\r
267         "x": 2283.883331298828,\r
268         "y": 347.2857666015625,\r
269         "z": "df66c4ba.dc49d",\r
270         "wires": [\r
271             [\r
272                 "42d08205.101f24",\r
273                 "280ca852.5c8478",\r
274                 "9260e446.97cb2"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "42d08205.101f24",\r
280         "type": "success",\r
281         "name": "success",\r
282         "xml": "<outcome value='success'>\n",\r
283         "comments": "",\r
284         "outputs": 1,\r
285         "x": 2499.883331298828,\r
286         "y": 414.2857666015625,\r
287         "z": "df66c4ba.dc49d",\r
288         "wires": [\r
289             [\r
290                 "1cda58ca.c0ca0f"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "280ca852.5c8478",\r
296         "type": "not-found",\r
297         "name": "not-found",\r
298         "xml": "<outcome value='not-found'>\n",\r
299         "comments": "",\r
300         "outputs": 1,\r
301         "x": 2500.374298095703,\r
302         "y": 313.8597412109375,\r
303         "z": "df66c4ba.dc49d",\r
304         "wires": [\r
305             [\r
306                 "37d08b63.267f54"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "9260e446.97cb2",\r
312         "type": "failure",\r
313         "name": "failure",\r
314         "xml": "<outcome value='failure'>\n",\r
315         "comments": "",\r
316         "outputs": 1,\r
317         "x": 2495.883331298828,\r
318         "y": 363.2857666015625,\r
319         "z": "df66c4ba.dc49d",\r
320         "wires": [\r
321             [\r
322                 "3db04a4.fcc1db6"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "1f66e7ef.b5efe",\r
328         "type": "for",\r
329         "name": "for each allotted-resource",\r
330         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
331         "comments": "",\r
332         "outputs": 1,\r
333         "x": 2000.8833312988281,\r
334         "y": 328.2857666015625,\r
335         "z": "df66c4ba.dc49d",\r
336         "wires": [\r
337             [\r
338                 "ae5848cb.e1b328",\r
339                 "c1485ca8.2ec768",\r
340                 "c9139602.db9618",\r
341                 "aadbe6b3.d2bba"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "ae5848cb.e1b328",\r
347         "type": "set",\r
348         "name": "set the current allotted-resource-id",\r
349         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
350         "comments": "",\r
351         "x": 2280.883331298828,\r
352         "y": 266.2857666015625,\r
353         "z": "df66c4ba.dc49d",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "391971a2.696836",\r
358         "type": "set",\r
359         "name": "set tmp.arr",\r
360         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
361         "comments": "",\r
362         "x": 1974.8833312988281,\r
363         "y": 278.2857666015625,\r
364         "z": "df66c4ba.dc49d",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "b392bf29.b70228",\r
369         "type": "get-resource",\r
370         "name": "get-resource pnfs-list",\r
371         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
372         "comments": "",\r
373         "outputs": 1,\r
374         "x": 2017.8833312988281,\r
375         "y": 137.2857666015625,\r
376         "z": "df66c4ba.dc49d",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "49e6917b.6d0138",\r
383         "type": "get-resource",\r
384         "name": "get-resource logical-links",\r
385         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
386         "comments": "",\r
387         "outputs": 1,\r
388         "x": 2029.8833312988281,\r
389         "y": 178.2857666015625,\r
390         "z": "df66c4ba.dc49d",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "33859df.81a8362",\r
397         "type": "comment",\r
398         "name": "The following two nodes are for PCE",\r
399         "info": "",\r
400         "comments": "",\r
401         "x": 2054.883331298828,\r
402         "y": 90.2857666015625,\r
403         "z": "df66c4ba.dc49d",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "16362fdd.257198",\r
408         "type": "set",\r
409         "name": "set tmp.arr",\r
410         "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
411         "comments": "",\r
412         "x": 1974.8833312988281,\r
413         "y": 224.2857666015625,\r
414         "z": "df66c4ba.dc49d",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "37d08b63.267f54",\r
419         "type": "returnFailure",\r
420         "name": "return failure",\r
421         "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
422         "comments": "",\r
423         "x": 2678.883331298828,\r
424         "y": 316.2857666015625,\r
425         "z": "df66c4ba.dc49d",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "3db04a4.fcc1db6",\r
430         "type": "returnFailure",\r
431         "name": "return failure",\r
432         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
433         "comments": "",\r
434         "x": 2678.820831298828,\r
435         "y": 365.426025390625,\r
436         "z": "df66c4ba.dc49d",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "1cda58ca.c0ca0f",\r
441         "type": "block",\r
442         "name": "block : atomic",\r
443         "xml": "<block atomic=\"true\">",\r
444         "atomic": "true",\r
445         "outputs": 1,\r
446         "x": 2680.820831298828,\r
447         "y": 416.426025390625,\r
448         "z": "df66c4ba.dc49d",\r
449         "wires": [\r
450             [\r
451                 "8ac18ed0.a417b8"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "8ac18ed0.a417b8",\r
457         "type": "save",\r
458         "name": "get allotted-resource relationship from aai",\r
459         "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
460         "comments": "",\r
461         "outputs": 1,\r
462         "x": 2973.820831298828,\r
463         "y": 363.426025390625,\r
464         "z": "df66c4ba.dc49d",\r
465         "wires": [\r
466             [\r
467                 "2f801aa3.62899e",\r
468                 "8d0c42c.041064",\r
469                 "39093638.1e8092"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "8d0c42c.041064",\r
475         "type": "not-found",\r
476         "name": "not-found",\r
477         "xml": "<outcome value='not-found'>\n",\r
478         "comments": "",\r
479         "outputs": 1,\r
480         "x": 3277.311767578125,\r
481         "y": 20,\r
482         "z": "df66c4ba.dc49d",\r
483         "wires": [\r
484             [\r
485                 "25cca067.117fb8"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "25cca067.117fb8",\r
491         "type": "returnFailure",\r
492         "name": "return failure",\r
493         "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
494         "comments": "",\r
495         "x": 3454.88330078125,\r
496         "y": 20.2857666015625,\r
497         "z": "df66c4ba.dc49d",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "39093638.1e8092",\r
502         "type": "failure",\r
503         "name": "failure",\r
504         "xml": "<outcome value='failure'>\n",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 3272.82080078125,\r
508         "y": 69.426025390625,\r
509         "z": "df66c4ba.dc49d",\r
510         "wires": [\r
511             [\r
512                 "45859305.7fd9ac"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "45859305.7fd9ac",\r
518         "type": "returnFailure",\r
519         "name": "return failure",\r
520         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
521         "comments": "",\r
522         "x": 3454.82080078125,\r
523         "y": 69.426025390625,\r
524         "z": "df66c4ba.dc49d",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "2f801aa3.62899e",\r
529         "type": "success",\r
530         "name": "success",\r
531         "xml": "<outcome value='success'>\n",\r
532         "comments": "",\r
533         "outputs": 1,\r
534         "x": 3276.82080078125,\r
535         "y": 120.426025390625,\r
536         "z": "df66c4ba.dc49d",\r
537         "wires": [\r
538             [\r
539                 "6880d10c.55d838"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "6880d10c.55d838",\r
545         "type": "block",\r
546         "name": "block : atomic",\r
547         "xml": "<block atomic=\"true\">",\r
548         "atomic": "true",\r
549         "outputs": 1,\r
550         "x": 3456.82080078125,\r
551         "y": 120.426025390625,\r
552         "z": "df66c4ba.dc49d",\r
553         "wires": [\r
554             [\r
555                 "e9027b62.9e003"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "e9027b62.9e003",\r
561         "type": "switchNode",\r
562         "name": "switch allotted-resource.relationship-list not empty",\r
563         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
564         "comments": "",\r
565         "outputs": 1,\r
566         "x": 2992.883331298828,\r
567         "y": 491.2857666015625,\r
568         "z": "df66c4ba.dc49d",\r
569         "wires": [\r
570             [\r
571                 "72fd55d0.427e94",\r
572                 "bb0cc7e.bea8238"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "bb0cc7e.bea8238",\r
578         "type": "outcomeFalse",\r
579         "name": "false",\r
580         "xml": "<outcome value='false'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 3332.88330078125,\r
584         "y": 262.2857666015625,\r
585         "z": "df66c4ba.dc49d",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "72fd55d0.427e94",\r
592         "type": "outcomeTrue",\r
593         "name": "true",\r
594         "xml": "<outcome value='true'>\n",\r
595         "comments": "",\r
596         "outputs": 1,\r
597         "x": 3331.88330078125,\r
598         "y": 316.2857666015625,\r
599         "z": "df66c4ba.dc49d",\r
600         "wires": [\r
601             [\r
602                 "32c96151.c1aa2e"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "a8b50f84.db474",\r
608         "type": "outcome",\r
609         "name": "network-policy",\r
610         "xml": "<outcome value='network-policy'>\n",\r
611         "comments": "",\r
612         "outputs": 1,\r
613         "x": 4076.88330078125,\r
614         "y": 270.2857666015625,\r
615         "z": "df66c4ba.dc49d",\r
616         "wires": [\r
617             [\r
618                 "9b999d2e.09c6d8"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "9b999d2e.09c6d8",\r
624         "type": "block",\r
625         "name": "block : atomic",\r
626         "xml": "<block atomic=\"true\">",\r
627         "atomic": "true",\r
628         "outputs": 1,\r
629         "x": 4253.8831787109375,\r
630         "y": 263.28564453125,\r
631         "z": "df66c4ba.dc49d",\r
632         "wires": [\r
633             [\r
634                 "13e93d82.810a42",\r
635                 "3997cabd.9c2abe"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "32c96151.c1aa2e",\r
641         "type": "block",\r
642         "name": "block : atomic",\r
643         "xml": "<block atomic=\"true\">",\r
644         "atomic": "true",\r
645         "outputs": 1,\r
646         "x": 3495.88330078125,\r
647         "y": 242.2857666015625,\r
648         "z": "df66c4ba.dc49d",\r
649         "wires": [\r
650             [\r
651                 "6a03759c.b65ec4",\r
652                 "2a091548.5d967a"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "6a03759c.b65ec4",\r
658         "type": "for",\r
659         "name": "for each allotted-resource relationship",\r
660         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
661         "comments": "",\r
662         "outputs": 1,\r
663         "x": 3776.88330078125,\r
664         "y": 198.2857666015625,\r
665         "z": "df66c4ba.dc49d",\r
666         "wires": [\r
667             [\r
668                 "6d840347.ad0de4"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "6d840347.ad0de4",\r
674         "type": "switchNode",\r
675         "name": "switch related-to",\r
676         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
677         "comments": "",\r
678         "outputs": 1,\r
679         "x": 4038.88330078125,\r
680         "y": 198.2857666015625,\r
681         "z": "df66c4ba.dc49d",\r
682         "wires": [\r
683             [\r
684                 "a8b50f84.db474"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "13e93d82.810a42",\r
690         "type": "set",\r
691         "name": "set the 1st network-policy-id",\r
692         "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
693         "comments": "",\r
694         "x": 4496.8831787109375,\r
695         "y": 220.28564453125,\r
696         "z": "df66c4ba.dc49d",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "3997cabd.9c2abe",\r
701         "type": "save",\r
702         "name": "get network-policy from aai",\r
703         "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
704         "comments": "",\r
705         "outputs": 1,\r
706         "x": 4485.8831787109375,\r
707         "y": 275.28564453125,\r
708         "z": "df66c4ba.dc49d",\r
709         "wires": [\r
710             [\r
711                 "1629cf91.336928",\r
712                 "7e24e3bc.4dd5bc",\r
713                 "e3d66604.874708"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "e3d66604.874708",\r
719         "type": "not-found",\r
720         "name": "not-found",\r
721         "xml": "<outcome value='not-found'>\n",\r
722         "comments": "",\r
723         "outputs": 1,\r
724         "x": 4738.88330078125,\r
725         "y": 161.2857666015625,\r
726         "z": "df66c4ba.dc49d",\r
727         "wires": [\r
728             [\r
729                 "9dd0299.013fdd8"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "9dd0299.013fdd8",\r
735         "type": "returnFailure",\r
736         "name": "return failure",\r
737         "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
738         "comments": "",\r
739         "x": 4887.454833984375,\r
740         "y": 161.571533203125,\r
741         "z": "df66c4ba.dc49d",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "1b29ba86.57c2a5",\r
746         "type": "returnFailure",\r
747         "name": "return failure",\r
748         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
749         "comments": "",\r
750         "x": 4886.392333984375,\r
751         "y": 205.7117919921875,\r
752         "z": "df66c4ba.dc49d",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "7e24e3bc.4dd5bc",\r
757         "type": "failure",\r
758         "name": "failure",\r
759         "xml": "<outcome value='failure'>\n",\r
760         "comments": "",\r
761         "outputs": 1,\r
762         "x": 4727.392333984375,\r
763         "y": 205.7117919921875,\r
764         "z": "df66c4ba.dc49d",\r
765         "wires": [\r
766             [\r
767                 "1b29ba86.57c2a5"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "1629cf91.336928",\r
773         "type": "success",\r
774         "name": "success",\r
775         "xml": "<outcome value='success'>\n",\r
776         "comments": "",\r
777         "outputs": 1,\r
778         "x": 4734.392333984375,\r
779         "y": 284.7117919921875,\r
780         "z": "df66c4ba.dc49d",\r
781         "wires": [\r
782             [\r
783                 "b86241e1.90f6f"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "b86241e1.90f6f",\r
789         "type": "block",\r
790         "name": "block",\r
791         "xml": "<block>\n",\r
792         "atomic": "false",\r
793         "comments": "",\r
794         "outputs": 1,\r
795         "x": 4873.392333984375,\r
796         "y": 284.7117919921875,\r
797         "z": "df66c4ba.dc49d",\r
798         "wires": [\r
799             [\r
800                 "6d437f62.f0b9e8",\r
801                 "c60cac93.77d028"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "6d437f62.f0b9e8",\r
807         "type": "set",\r
808         "name": "set the max bandwidth",\r
809         "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
810         "comments": "",\r
811         "x": 5078.88330078125,\r
812         "y": 282.2857666015625,\r
813         "z": "df66c4ba.dc49d",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "c60cac93.77d028",\r
818         "type": "set",\r
819         "name": "set the max bandwidth",\r
820         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
821         "comments": "",\r
822         "x": 5077.88330078125,\r
823         "y": 328.2857666015625,\r
824         "z": "df66c4ba.dc49d",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "2a091548.5d967a",\r
829         "type": "for",\r
830         "name": "for each allotted-resource relationship",\r
831         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
832         "comments": "",\r
833         "outputs": 1,\r
834         "x": 3593.88330078125,\r
835         "y": 314.2857666015625,\r
836         "z": "df66c4ba.dc49d",\r
837         "wires": [\r
838             [\r
839                 "2f22efb0.7f6638"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "2f22efb0.7f6638",\r
845         "type": "switchNode",\r
846         "name": "switch related-to",\r
847         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
848         "comments": "",\r
849         "outputs": 1,\r
850         "x": 3873.88330078125,\r
851         "y": 314.2857666015625,\r
852         "z": "df66c4ba.dc49d",\r
853         "wires": [\r
854             [\r
855                 "a8ed1762.dadd28"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "a8ed1762.dadd28",\r
861         "type": "outcome",\r
862         "name": "logical-link",\r
863         "xml": "<outcome value='logical-link'>\n",\r
864         "comments": "",\r
865         "outputs": 1,\r
866         "x": 2256.8834533691406,\r
867         "y": 803.285888671875,\r
868         "z": "df66c4ba.dc49d",\r
869         "wires": [\r
870             [\r
871                 "d4da35fd.31c82"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "d4da35fd.31c82",\r
877         "type": "block",\r
878         "name": "block : atomic",\r
879         "xml": "<block atomic=\"true\">",\r
880         "atomic": "true",\r
881         "outputs": 1,\r
882         "x": 2433.883331298828,\r
883         "y": 796.2857666015625,\r
884         "z": "df66c4ba.dc49d",\r
885         "wires": [\r
886             [\r
887                 "de7b00e3.6a171",\r
888                 "e6ab014c.406db"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "de7b00e3.6a171",\r
894         "type": "set",\r
895         "name": "set the current logical-link-name",\r
896         "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
897         "comments": "",\r
898         "x": 2676.883331298828,\r
899         "y": 753.2857666015625,\r
900         "z": "df66c4ba.dc49d",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "e6ab014c.406db",\r
905         "type": "save",\r
906         "name": "get logical-link from aai",\r
907         "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
908         "comments": "",\r
909         "outputs": 1,\r
910         "x": 2665.883331298828,\r
911         "y": 808.2857666015625,\r
912         "z": "df66c4ba.dc49d",\r
913         "wires": [\r
914             [\r
915                 "5a07beae.8794d8",\r
916                 "1d7b95c6.606562",\r
917                 "7f820a8.8f172f4"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "5a07beae.8794d8",\r
923         "type": "not-found",\r
924         "name": "not-found",\r
925         "xml": "<outcome value='not-found'>\n",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 2957.374298095703,\r
929         "y": 786.8597412109375,\r
930         "z": "df66c4ba.dc49d",\r
931         "wires": [\r
932             [\r
933                 "ae195dbf.1750f"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "1d7b95c6.606562",\r
939         "type": "failure",\r
940         "name": "failure",\r
941         "xml": "<outcome value='failure'>\n",\r
942         "comments": "",\r
943         "outputs": 1,\r
944         "x": 2945.883331298828,\r
945         "y": 831.2857666015625,\r
946         "z": "df66c4ba.dc49d",\r
947         "wires": [\r
948             [\r
949                 "f12ba9c8.9a28f8"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "ae195dbf.1750f",\r
955         "type": "returnFailure",\r
956         "name": "return failure",\r
957         "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
958         "comments": "",\r
959         "x": 3105.945831298828,\r
960         "y": 787.1455078125,\r
961         "z": "df66c4ba.dc49d",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "f12ba9c8.9a28f8",\r
966         "type": "returnFailure",\r
967         "name": "return failure",\r
968         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
969         "comments": "",\r
970         "x": 3104.883331298828,\r
971         "y": 831.2857666015625,\r
972         "z": "df66c4ba.dc49d",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "7f820a8.8f172f4",\r
977         "type": "success",\r
978         "name": "success",\r
979         "xml": "<outcome value='success'>\n",\r
980         "comments": "",\r
981         "outputs": 1,\r
982         "x": 2952.883331298828,\r
983         "y": 910.2857666015625,\r
984         "z": "df66c4ba.dc49d",\r
985         "wires": [\r
986             [\r
987                 "344a6e64.f3725a"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "344a6e64.f3725a",\r
993         "type": "block",\r
994         "name": "block",\r
995         "xml": "<block>\n",\r
996         "atomic": "false",\r
997         "comments": "",\r
998         "outputs": 1,\r
999         "x": 3091.883331298828,\r
1000         "y": 910.2857666015625,\r
1001         "z": "df66c4ba.dc49d",\r
1002         "wires": [\r
1003             [\r
1004                 "fb96464b.51f05",\r
1005                 "51750f01.3f406",\r
1006                 "63f47c85.a7fa6c",\r
1007                 "96258457.425ae8",\r
1008                 "f469e44d.0f84d",\r
1009                 "f7610f35.e81b98",\r
1010                 "d89362f7.406e48",\r
1011                 "87d9c57.361fa38",\r
1012                 "ab43f120.02b19",\r
1013                 "7042856b.1828cc",\r
1014                 "f434b230.257eb8",\r
1015                 "2ac41e54.9dfb2a",\r
1016                 "ebbe2f0a.10f36",\r
1017                 "7162acbd.73776c",\r
1018                 "2683d5ea.5fda52",\r
1019                 "da74bb6.e442948",\r
1020                 "feffc86e.486bc",\r
1021                 "12bfceb8.d75889",\r
1022                 "3b541994.2db38e",\r
1023                 "b3267f6f.ff1998",\r
1024                 "729e2fc5.81fb",\r
1025                 "62f42d2.2eff654"\r
1026             ]\r
1027         ]\r
1028     },\r
1029     {\r
1030         "id": "e06cec26.4f9a08",\r
1031         "type": "execute",\r
1032         "name": "execute UUID generator for ethernet-service-name",\r
1033         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1034         "comments": "",\r
1035         "outputs": 1,\r
1036         "x": 3435.883270263672,\r
1037         "y": 384.2857666015625,\r
1038         "z": "df66c4ba.dc49d",\r
1039         "wires": [\r
1040             []\r
1041         ]\r
1042     },\r
1043     {\r
1044         "id": "fb96464b.51f05",\r
1045         "type": "execute",\r
1046         "name": "execute UUID generator for otn-tunnel-name",\r
1047         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1048         "comments": "",\r
1049         "outputs": 1,\r
1050         "x": 3416.883270263672,\r
1051         "y": 484.2857666015625,\r
1052         "z": "df66c4ba.dc49d",\r
1053         "wires": [\r
1054             []\r
1055         ]\r
1056     },\r
1057     {\r
1058         "id": "2ac41e54.9dfb2a",\r
1059         "type": "set",\r
1060         "name": "set new ethernet-service-name",\r
1061         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
1062         "comments": "",\r
1063         "x": 3370.883270263672,\r
1064         "y": 535.2857666015625,\r
1065         "z": "df66c4ba.dc49d",\r
1066         "wires": []\r
1067     },\r
1068     {\r
1069         "id": "51750f01.3f406",\r
1070         "type": "set",\r
1071         "name": "set network-route-one",\r
1072         "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1073         "comments": "",\r
1074         "x": 3344.883270263672,\r
1075         "y": 584.2857666015625,\r
1076         "z": "df66c4ba.dc49d",\r
1077         "wires": []\r
1078     },\r
1079     {\r
1080         "id": "63f47c85.a7fa6c",\r
1081         "type": "set",\r
1082         "name": "set network-route-two",\r
1083         "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1084         "comments": "",\r
1085         "x": 3343.883270263672,\r
1086         "y": 633.2857666015625,\r
1087         "z": "df66c4ba.dc49d",\r
1088         "wires": []\r
1089     },\r
1090     {\r
1091         "id": "96258457.425ae8",\r
1092         "type": "save",\r
1093         "name": "get network-route-one from aai",\r
1094         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
1095         "comments": "",\r
1096         "outputs": 1,\r
1097         "x": 3352.883270263672,\r
1098         "y": 771.2857666015625,\r
1099         "z": "df66c4ba.dc49d",\r
1100         "wires": [\r
1101             [\r
1102                 "9bd02754.7964a8",\r
1103                 "8e7e5fd2.7d02c8",\r
1104                 "6675b2ad.72fd8c"\r
1105             ]\r
1106         ]\r
1107     },\r
1108     {\r
1109         "id": "f469e44d.0f84d",\r
1110         "type": "save",\r
1111         "name": "get network-route-two from aai",\r
1112         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
1113         "comments": "",\r
1114         "outputs": 1,\r
1115         "x": 3345.883270263672,\r
1116         "y": 832.28564453125,\r
1117         "z": "df66c4ba.dc49d",\r
1118         "wires": [\r
1119             [\r
1120                 "772ff0fe.2f34f",\r
1121                 "8d67ee85.1205f",\r
1122                 "96627f08.cbe71"\r
1123             ]\r
1124         ]\r
1125     },\r
1126     {\r
1127         "id": "9bd02754.7964a8",\r
1128         "type": "not-found",\r
1129         "name": "not-found",\r
1130         "xml": "<outcome value='not-found'>\n",\r
1131         "comments": "",\r
1132         "outputs": 1,\r
1133         "x": 3601.883026123047,\r
1134         "y": 666.2857666015625,\r
1135         "z": "df66c4ba.dc49d",\r
1136         "wires": [\r
1137             [\r
1138                 "4d13468a.d3ecb8"\r
1139             ]\r
1140         ]\r
1141     },\r
1142     {\r
1143         "id": "8e7e5fd2.7d02c8",\r
1144         "type": "failure",\r
1145         "name": "failure",\r
1146         "xml": "<outcome value='failure'>\n",\r
1147         "comments": "",\r
1148         "outputs": 1,\r
1149         "x": 3595.392059326172,\r
1150         "y": 707.7117919921875,\r
1151         "z": "df66c4ba.dc49d",\r
1152         "wires": [\r
1153             [\r
1154                 "ff1b9a29.a11d98"\r
1155             ]\r
1156         ]\r
1157     },\r
1158     {\r
1159         "id": "6675b2ad.72fd8c",\r
1160         "type": "success",\r
1161         "name": "success",\r
1162         "xml": "<outcome value='success'>\n",\r
1163         "comments": "",\r
1164         "outputs": 1,\r
1165         "x": 3590.392059326172,\r
1166         "y": 757.7117919921875,\r
1167         "z": "df66c4ba.dc49d",\r
1168         "wires": [\r
1169             [\r
1170                 "97bfc6e9.fba1d8"\r
1171             ]\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "4d13468a.d3ecb8",\r
1176         "type": "returnFailure",\r
1177         "name": "return failure",\r
1178         "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
1179         "comments": "",\r
1180         "x": 3750.454559326172,\r
1181         "y": 665.571533203125,\r
1182         "z": "df66c4ba.dc49d",\r
1183         "wires": []\r
1184     },\r
1185     {\r
1186         "id": "ff1b9a29.a11d98",\r
1187         "type": "returnFailure",\r
1188         "name": "return failure",\r
1189         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1190         "comments": "",\r
1191         "x": 3740.392059326172,\r
1192         "y": 715.7117919921875,\r
1193         "z": "df66c4ba.dc49d",\r
1194         "wires": []\r
1195     },\r
1196     {\r
1197         "id": "772ff0fe.2f34f",\r
1198         "type": "not-found",\r
1199         "name": "not-found",\r
1200         "xml": "<outcome value='not-found'>\n",\r
1201         "comments": "",\r
1202         "outputs": 1,\r
1203         "x": 3566.883270263672,\r
1204         "y": 818.28564453125,\r
1205         "z": "df66c4ba.dc49d",\r
1206         "wires": [\r
1207             [\r
1208                 "d6ce8ecd.6264d"\r
1209             ]\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "8d67ee85.1205f",\r
1214         "type": "failure",\r
1215         "name": "failure",\r
1216         "xml": "<outcome value='failure'>\n",\r
1217         "comments": "",\r
1218         "outputs": 1,\r
1219         "x": 3562.392303466797,\r
1220         "y": 867.711669921875,\r
1221         "z": "df66c4ba.dc49d",\r
1222         "wires": [\r
1223             [\r
1224                 "cdc0e121.35daf"\r
1225             ]\r
1226         ]\r
1227     },\r
1228     {\r
1229         "id": "96627f08.cbe71",\r
1230         "type": "success",\r
1231         "name": "success",\r
1232         "xml": "<outcome value='success'>\n",\r
1233         "comments": "",\r
1234         "outputs": 1,\r
1235         "x": 3563.392303466797,\r
1236         "y": 920.711669921875,\r
1237         "z": "df66c4ba.dc49d",\r
1238         "wires": [\r
1239             [\r
1240                 "58d9f56e.c48314"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "d6ce8ecd.6264d",\r
1246         "type": "returnFailure",\r
1247         "name": "return failure",\r
1248         "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
1249         "comments": "",\r
1250         "x": 3719.4546508789062,\r
1251         "y": 823.5714111328125,\r
1252         "z": "df66c4ba.dc49d",\r
1253         "wires": []\r
1254     },\r
1255     {\r
1256         "id": "cdc0e121.35daf",\r
1257         "type": "returnFailure",\r
1258         "name": "return failure",\r
1259         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1260         "comments": "",\r
1261         "x": 3705.392303466797,\r
1262         "y": 867.711669921875,\r
1263         "z": "df66c4ba.dc49d",\r
1264         "wires": []\r
1265     },\r
1266     {\r
1267         "id": "97bfc6e9.fba1d8",\r
1268         "type": "block",\r
1269         "name": "block : atomic",\r
1270         "xml": "<block atomic=\"true\">",\r
1271         "atomic": "true",\r
1272         "outputs": 1,\r
1273         "x": 3762.883026123047,\r
1274         "y": 768.2857666015625,\r
1275         "z": "df66c4ba.dc49d",\r
1276         "wires": [\r
1277             [\r
1278                 "15d53662.387c32"\r
1279             ]\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "58d9f56e.c48314",\r
1284         "type": "block",\r
1285         "name": "block : atomic",\r
1286         "xml": "<block atomic=\"true\">",\r
1287         "atomic": "true",\r
1288         "outputs": 1,\r
1289         "x": 3716.883270263672,\r
1290         "y": 920.28564453125,\r
1291         "z": "df66c4ba.dc49d",\r
1292         "wires": [\r
1293             [\r
1294                 "46dc8745.e3cd18"\r
1295             ]\r
1296         ]\r
1297     },\r
1298     {\r
1299         "id": "15d53662.387c32",\r
1300         "type": "switchNode",\r
1301         "name": "switch nr type",\r
1302         "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1303         "comments": "",\r
1304         "outputs": 1,\r
1305         "x": 3923.883270263672,\r
1306         "y": 655.2857666015625,\r
1307         "z": "df66c4ba.dc49d",\r
1308         "wires": [\r
1309             [\r
1310                 "5f27def0.590658",\r
1311                 "b4572ec6.b95d6",\r
1312                 "50bdde17.ca9b2"\r
1313             ]\r
1314         ]\r
1315     },\r
1316     {\r
1317         "id": "46dc8745.e3cd18",\r
1318         "type": "switchNode",\r
1319         "name": "switch nr type",\r
1320         "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1321         "comments": "",\r
1322         "outputs": 1,\r
1323         "x": 3915.883270263672,\r
1324         "y": 840.2857666015625,\r
1325         "z": "df66c4ba.dc49d",\r
1326         "wires": [\r
1327             [\r
1328                 "be87179f.d632f8",\r
1329                 "ace0b3c8.e628e",\r
1330                 "f2575655.f8e378"\r
1331             ]\r
1332         ]\r
1333     },\r
1334     {\r
1335         "id": "5f27def0.590658",\r
1336         "type": "outcome",\r
1337         "name": "ROOT",\r
1338         "xml": "<outcome value='ROOT'>\n",\r
1339         "comments": "",\r
1340         "outputs": 1,\r
1341         "x": 4147.883758544922,\r
1342         "y": 359.28570556640625,\r
1343         "z": "df66c4ba.dc49d",\r
1344         "wires": [\r
1345             [\r
1346                 "61b5f01d.b80d4"\r
1347             ]\r
1348         ]\r
1349     },\r
1350     {\r
1351         "id": "b4572ec6.b95d6",\r
1352         "type": "outcome",\r
1353         "name": "LEAF",\r
1354         "xml": "<outcome value='LEAF'>\n",\r
1355         "comments": "",\r
1356         "outputs": 1,\r
1357         "x": 4149.883758544922,\r
1358         "y": 413.28570556640625,\r
1359         "z": "df66c4ba.dc49d",\r
1360         "wires": [\r
1361             [\r
1362                 "c4a12276.3b1638"\r
1363             ]\r
1364         ]\r
1365     },\r
1366     {\r
1367         "id": "be87179f.d632f8",\r
1368         "type": "outcome",\r
1369         "name": "ROOT",\r
1370         "xml": "<outcome value='ROOT'>\n",\r
1371         "comments": "",\r
1372         "outputs": 1,\r
1373         "x": 4113.883758544922,\r
1374         "y": 619.2857666015625,\r
1375         "z": "df66c4ba.dc49d",\r
1376         "wires": [\r
1377             [\r
1378                 "d3817023.608058"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "ace0b3c8.e628e",\r
1384         "type": "outcome",\r
1385         "name": "LEAF",\r
1386         "xml": "<outcome value='LEAF'>\n",\r
1387         "comments": "",\r
1388         "outputs": 1,\r
1389         "x": 4115.883758544922,\r
1390         "y": 673.2857666015625,\r
1391         "z": "df66c4ba.dc49d",\r
1392         "wires": [\r
1393             [\r
1394                 "515f06a6.62b11"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "be2b27bb.08a9c8",\r
1400         "type": "set",\r
1401         "name": "set network-route-ROOT",\r
1402         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1403         "comments": "",\r
1404         "x": 4457.883758544922,\r
1405         "y": 311.28570556640625,\r
1406         "z": "df66c4ba.dc49d",\r
1407         "wires": []\r
1408     },\r
1409     {\r
1410         "id": "b06c3c05.9b2298",\r
1411         "type": "set",\r
1412         "name": "set network-route-LEAF",\r
1413         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1414         "comments": "",\r
1415         "x": 4450.883758544922,\r
1416         "y": 409.28570556640625,\r
1417         "z": "df66c4ba.dc49d",\r
1418         "wires": []\r
1419     },\r
1420     {\r
1421         "id": "d2d6cd47.633ea8",\r
1422         "type": "set",\r
1423         "name": "set network-route-ROOT",\r
1424         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1425         "comments": "",\r
1426         "x": 4429.883758544922,\r
1427         "y": 592.2857666015625,\r
1428         "z": "df66c4ba.dc49d",\r
1429         "wires": []\r
1430     },\r
1431     {\r
1432         "id": "1e090814.77ece",\r
1433         "type": "set",\r
1434         "name": "set network-route-LEAF",\r
1435         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1436         "comments": "",\r
1437         "x": 4433.883758544922,\r
1438         "y": 685.2857666015625,\r
1439         "z": "df66c4ba.dc49d",\r
1440         "wires": []\r
1441     },\r
1442     {\r
1443         "id": "6f64ab1a.72d4ac",\r
1444         "type": "success",\r
1445         "name": "success",\r
1446         "xml": "<outcome value='success'>\n",\r
1447         "comments": "",\r
1448         "outputs": 1,\r
1449         "x": 3609.88330078125,\r
1450         "y": 1345.2857666015625,\r
1451         "z": "df66c4ba.dc49d",\r
1452         "wires": [\r
1453             [\r
1454                 "fcfd7965.d24e6"\r
1455             ]\r
1456         ]\r
1457     },\r
1458     {\r
1459         "id": "670e6fe3.827898",\r
1460         "type": "not-found",\r
1461         "name": "not-found",\r
1462         "xml": "<outcome value='not-found'>\n",\r
1463         "comments": "",\r
1464         "outputs": 1,\r
1465         "x": 3619.374267578125,\r
1466         "y": 1387.8598022460938,\r
1467         "z": "df66c4ba.dc49d",\r
1468         "wires": [\r
1469             [\r
1470                 "329f67fd.7314c8"\r
1471             ]\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "69392cc6.84928c",\r
1476         "type": "failure",\r
1477         "name": "failure",\r
1478         "xml": "<outcome value='failure'>\n",\r
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 3607.88330078125,\r
1482         "y": 1434.2857666015625,\r
1483         "z": "df66c4ba.dc49d",\r
1484         "wires": [\r
1485             [\r
1486                 "a3d0ff69.d983b"\r
1487             ]\r
1488         ]\r
1489     },\r
1490     {\r
1491         "id": "dee477e6.792e68",\r
1492         "type": "comment",\r
1493         "name": "Question?",\r
1494         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1495         "comments": "",\r
1496         "x": 3309.88330078125,\r
1497         "y": 1307.2857666015625,\r
1498         "z": "df66c4ba.dc49d",\r
1499         "wires": []\r
1500     },\r
1501     {\r
1502         "id": "d89362f7.406e48",\r
1503         "type": "save",\r
1504         "name": "get p-interface-src from aai",\r
1505         "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
1506         "comments": "",\r
1507         "outputs": 1,\r
1508         "x": 3352.88330078125,\r
1509         "y": 1372.2857666015625,\r
1510         "z": "df66c4ba.dc49d",\r
1511         "wires": [\r
1512             [\r
1513                 "6f64ab1a.72d4ac",\r
1514                 "670e6fe3.827898",\r
1515                 "69392cc6.84928c"\r
1516             ]\r
1517         ]\r
1518     },\r
1519     {\r
1520         "id": "f7610f35.e81b98",\r
1521         "type": "execute",\r
1522         "name": "execute split tp-id to get pnf-name",\r
1523         "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
1524         "comments": "",\r
1525         "outputs": 1,\r
1526         "x": 3353.883270263672,\r
1527         "y": 1124.2857666015625,\r
1528         "z": "df66c4ba.dc49d",\r
1529         "wires": [\r
1530             [\r
1531                 "c7f5f619.d51258",\r
1532                 "a4e5ad2b.c867e"\r
1533             ]\r
1534         ]\r
1535     },\r
1536     {\r
1537         "id": "a4e5ad2b.c867e",\r
1538         "type": "failure",\r
1539         "name": "success",\r
1540         "xml": "<outcome value='success'>\n",\r
1541         "comments": "",\r
1542         "outputs": 1,\r
1543         "x": 3576.883270263672,\r
1544         "y": 1110.2857666015625,\r
1545         "z": "df66c4ba.dc49d",\r
1546         "wires": [\r
1547             [\r
1548                 "8e8c42f1.638b2"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "c7f5f619.d51258",\r
1554         "type": "failure",\r
1555         "name": "failure",\r
1556         "xml": "<outcome value='failure'>\n",\r
1557         "comments": "",\r
1558         "outputs": 1,\r
1559         "x": 3578.883270263672,\r
1560         "y": 1143.2857666015625,\r
1561         "z": "df66c4ba.dc49d",\r
1562         "wires": [\r
1563             [\r
1564                 "5f49f3a7.a8042c"\r
1565             ]\r
1566         ]\r
1567     },\r
1568     {\r
1569         "id": "fcfd7965.d24e6",\r
1570         "type": "block",\r
1571         "name": "block : atomic",\r
1572         "xml": "<block atomic=\"true\">",\r
1573         "atomic": "true",\r
1574         "outputs": 1,\r
1575         "x": 3782.5498046875,\r
1576         "y": 1344.2857666015625,\r
1577         "z": "df66c4ba.dc49d",\r
1578         "wires": [\r
1579             [\r
1580                 "6f4130f2.684b3",\r
1581                 "363079f1.761036"\r
1582             ]\r
1583         ]\r
1584     },\r
1585     {\r
1586         "id": "329f67fd.7314c8",\r
1587         "type": "returnFailure",\r
1588         "name": "return failure",\r
1589         "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
1590         "comments": "",\r
1591         "x": 3772.9456787109375,\r
1592         "y": 1391.1455383300781,\r
1593         "z": "df66c4ba.dc49d",\r
1594         "wires": []\r
1595     },\r
1596     {\r
1597         "id": "a3d0ff69.d983b",\r
1598         "type": "returnFailure",\r
1599         "name": "return failure",\r
1600         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1601         "comments": "",\r
1602         "x": 3776.88330078125,\r
1603         "y": 1435.2857666015625,\r
1604         "z": "df66c4ba.dc49d",\r
1605         "wires": []\r
1606     },\r
1607     {\r
1608         "id": "6f4130f2.684b3",\r
1609         "type": "execute",\r
1610         "name": "execute split tp-id to get pnf-name",\r
1611         "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
1612         "comments": "",\r
1613         "outputs": 1,\r
1614         "x": 4046.88330078125,\r
1615         "y": 1328.2857666015625,\r
1616         "z": "df66c4ba.dc49d",\r
1617         "wires": [\r
1618             [\r
1619                 "1e584023.51383",\r
1620                 "f8d90041.f96538"\r
1621             ]\r
1622         ]\r
1623     },\r
1624     {\r
1625         "id": "f8d90041.f96538",\r
1626         "type": "failure",\r
1627         "name": "success",\r
1628         "xml": "<outcome value='success'>\n",\r
1629         "comments": "",\r
1630         "outputs": 1,\r
1631         "x": 4269.88330078125,\r
1632         "y": 1283.2857666015625,\r
1633         "z": "df66c4ba.dc49d",\r
1634         "wires": [\r
1635             [\r
1636                 "9697fa74.602bc"\r
1637             ]\r
1638         ]\r
1639     },\r
1640     {\r
1641         "id": "1e584023.51383",\r
1642         "type": "failure",\r
1643         "name": "failure",\r
1644         "xml": "<outcome value='failure'>\n",\r
1645         "comments": "",\r
1646         "outputs": 1,\r
1647         "x": 4271.88330078125,\r
1648         "y": 1347.2857666015625,\r
1649         "z": "df66c4ba.dc49d",\r
1650         "wires": [\r
1651             [\r
1652                 "c43abb24.f757f"\r
1653             ]\r
1654         ]\r
1655     },\r
1656     {\r
1657         "id": "c43abb24.f757f",\r
1658         "type": "returnFailure",\r
1659         "name": "return failure",\r
1660         "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
1661         "comments": "",\r
1662         "x": 4433.88330078125,\r
1663         "y": 1343.2857666015625,\r
1664         "z": "df66c4ba.dc49d",\r
1665         "wires": []\r
1666     },\r
1667     {\r
1668         "id": "9697fa74.602bc",\r
1669         "type": "block",\r
1670         "name": "block : atomic",\r
1671         "xml": "<block atomic=\"true\">",\r
1672         "atomic": "true",\r
1673         "outputs": 1,\r
1674         "x": 4434.88330078125,\r
1675         "y": 1280.2857666015625,\r
1676         "z": "df66c4ba.dc49d",\r
1677         "wires": [\r
1678             [\r
1679                 "3aa59d52.2c8e1a",\r
1680                 "83c5954c.7a838"\r
1681             ]\r
1682         ]\r
1683     },\r
1684     {\r
1685         "id": "5f49f3a7.a8042c",\r
1686         "type": "returnFailure",\r
1687         "name": "return failure",\r
1688         "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
1689         "comments": "",\r
1690         "x": 3721.883270263672,\r
1691         "y": 1140.2857666015625,\r
1692         "z": "df66c4ba.dc49d",\r
1693         "wires": []\r
1694     },\r
1695     {\r
1696         "id": "8e8c42f1.638b2",\r
1697         "type": "block",\r
1698         "name": "block : atomic",\r
1699         "xml": "<block atomic=\"true\">",\r
1700         "atomic": "true",\r
1701         "outputs": 1,\r
1702         "x": 3724.883270263672,\r
1703         "y": 1103.2857666015625,\r
1704         "z": "df66c4ba.dc49d",\r
1705         "wires": [\r
1706             [\r
1707                 "3b3764ed.353b8c",\r
1708                 "1fd3d7ac.934188"\r
1709             ]\r
1710         ]\r
1711     },\r
1712     {\r
1713         "id": "3b3764ed.353b8c",\r
1714         "type": "set",\r
1715         "name": "set pnf-name",\r
1716         "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
1717         "comments": "",\r
1718         "x": 3916.883270263672,\r
1719         "y": 1105.2857666015625,\r
1720         "z": "df66c4ba.dc49d",\r
1721         "wires": []\r
1722     },\r
1723     {\r
1724         "id": "363079f1.761036",\r
1725         "type": "for",\r
1726         "name": "for each relationship",\r
1727         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 4006.88330078125,\r
1731         "y": 1460.2857666015625,\r
1732         "z": "df66c4ba.dc49d",\r
1733         "wires": [\r
1734             [\r
1735                 "9254521f.b3181"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "9254521f.b3181",\r
1741         "type": "switchNode",\r
1742         "name": "switch related-to",\r
1743         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1744         "comments": "",\r
1745         "outputs": 1,\r
1746         "x": 4212.88330078125,\r
1747         "y": 1460.2857666015625,\r
1748         "z": "df66c4ba.dc49d",\r
1749         "wires": [\r
1750             [\r
1751                 "4418ce2f.a0c9d"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "4418ce2f.a0c9d",\r
1757         "type": "outcome",\r
1758         "name": "tunnel-termination-point",\r
1759         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1760         "comments": "",\r
1761         "outputs": 1,\r
1762         "x": 4428.1689453125,\r
1763         "y": 1460.1075439453125,\r
1764         "z": "df66c4ba.dc49d",\r
1765         "wires": [\r
1766             [\r
1767                 "8ea77952.a62e58"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "1fd3d7ac.934188",\r
1773         "type": "get-resource",\r
1774         "name": "get-resource src pnf",\r
1775         "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
1776         "comments": "",\r
1777         "outputs": 1,\r
1778         "x": 3913.883270263672,\r
1779         "y": 1170.2857666015625,\r
1780         "z": "df66c4ba.dc49d",\r
1781         "wires": [\r
1782             [\r
1783                 "8290c612.7a239",\r
1784                 "966ac70d.6028c8",\r
1785                 "1ce11a36.13fbae"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "8290c612.7a239",\r
1791         "type": "success",\r
1792         "name": "success",\r
1793         "xml": "<outcome value='success'>\n",\r
1794         "comments": "",\r
1795         "outputs": 1,\r
1796         "x": 4109.383392333984,\r
1797         "y": 1122.2857666015625,\r
1798         "z": "df66c4ba.dc49d",\r
1799         "wires": [\r
1800             [\r
1801                 "14e203c.361db7c"\r
1802             ]\r
1803         ]\r
1804     },\r
1805     {\r
1806         "id": "966ac70d.6028c8",\r
1807         "type": "not-found",\r
1808         "name": "not-found",\r
1809         "xml": "<outcome value='not-found'>\n",\r
1810         "comments": "",\r
1811         "outputs": 1,\r
1812         "x": 4101.383392333984,\r
1813         "y": 1177.2857666015625,\r
1814         "z": "df66c4ba.dc49d",\r
1815         "wires": [\r
1816             [\r
1817                 "ed056b5d.302798"\r
1818             ]\r
1819         ]\r
1820     },\r
1821     {\r
1822         "id": "1ce11a36.13fbae",\r
1823         "type": "other",\r
1824         "name": "other",\r
1825         "xml": "<outcome value='Other'>\n",\r
1826         "comments": "",\r
1827         "outputs": 1,\r
1828         "x": 4106.383392333984,\r
1829         "y": 1234.2857666015625,\r
1830         "z": "df66c4ba.dc49d",\r
1831         "wires": [\r
1832             [\r
1833                 "cd3e83f.158db8"\r
1834             ]\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "cd3e83f.158db8",\r
1839         "type": "returnFailure",\r
1840         "name": "return failure",\r
1841         "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
1842         "comments": "",\r
1843         "x": 4258.383392333984,\r
1844         "y": 1235.2857666015625,\r
1845         "z": "df66c4ba.dc49d",\r
1846         "wires": []\r
1847     },\r
1848     {\r
1849         "id": "ed056b5d.302798",\r
1850         "type": "returnFailure",\r
1851         "name": "return failure",\r
1852         "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
1853         "comments": "",\r
1854         "x": 4269.383392333984,\r
1855         "y": 1180.2857666015625,\r
1856         "z": "df66c4ba.dc49d",\r
1857         "wires": []\r
1858     },\r
1859     {\r
1860         "id": "14e203c.361db7c",\r
1861         "type": "block",\r
1862         "name": "block",\r
1863         "xml": "<block>\n",\r
1864         "atomic": "false",\r
1865         "comments": "",\r
1866         "outputs": 1,\r
1867         "x": 4253.765716552734,\r
1868         "y": 1119.9414367675781,\r
1869         "z": "df66c4ba.dc49d",\r
1870         "wires": [\r
1871             [\r
1872                 "618a03ad.e0bdc4"\r
1873             ]\r
1874         ]\r
1875     },\r
1876     {\r
1877         "id": "618a03ad.e0bdc4",\r
1878         "type": "for",\r
1879         "name": "for each relationship",\r
1880         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1881         "comments": "",\r
1882         "outputs": 1,\r
1883         "x": 4447.883270263672,\r
1884         "y": 1164.2857055664062,\r
1885         "z": "df66c4ba.dc49d",\r
1886         "wires": [\r
1887             [\r
1888                 "2cbaaf2e.c8d728"\r
1889             ]\r
1890         ]\r
1891     },\r
1892     {\r
1893         "id": "83c5954c.7a838",\r
1894         "type": "set",\r
1895         "name": "set ltpId",\r
1896         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1897         "comments": "",\r
1898         "x": 4604.88330078125,\r
1899         "y": 1238.2857666015625,\r
1900         "z": "df66c4ba.dc49d",\r
1901         "wires": []\r
1902     },\r
1903     {\r
1904         "id": "3aa59d52.2c8e1a",\r
1905         "type": "set",\r
1906         "name": "set pnf-name",\r
1907         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1908         "comments": "",\r
1909         "x": 4605.88330078125,\r
1910         "y": 1346.2857666015625,\r
1911         "z": "df66c4ba.dc49d",\r
1912         "wires": []\r
1913     },\r
1914     {\r
1915         "id": "7cc13839.b2e03",\r
1916         "type": "comment",\r
1917         "name": "TODO: FIXME",\r
1918         "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
1919         "comments": "",\r
1920         "x": 4606.88330078125,\r
1921         "y": 1295.2857666015625,\r
1922         "z": "df66c4ba.dc49d",\r
1923         "wires": []\r
1924     },\r
1925     {\r
1926         "id": "8ea77952.a62e58",\r
1927         "type": "block",\r
1928         "name": "block : atomic",\r
1929         "xml": "<block atomic=\"true\">",\r
1930         "atomic": "true",\r
1931         "outputs": 1,\r
1932         "x": 4635.00048828125,\r
1933         "y": 1460.6260986328125,\r
1934         "z": "df66c4ba.dc49d",\r
1935         "wires": [\r
1936             [\r
1937                 "f27b51c4.4be918",\r
1938                 "106457d2.e488d",\r
1939                 "3867b2c0.836c9e"\r
1940             ]\r
1941         ]\r
1942     },\r
1943     {\r
1944         "id": "f27b51c4.4be918",\r
1945         "type": "set",\r
1946         "name": "set source ttp-id",\r
1947         "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
1948         "comments": "",\r
1949         "x": 4850.00048828125,\r
1950         "y": 1422.6260986328125,\r
1951         "z": "df66c4ba.dc49d",\r
1952         "wires": []\r
1953     },\r
1954     {\r
1955         "id": "106457d2.e488d",\r
1956         "type": "get-resource",\r
1957         "name": "get-resource src TTP",\r
1958         "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
1959         "comments": "",\r
1960         "outputs": 1,\r
1961         "x": 4847.00048828125,\r
1962         "y": 1461.6260986328125,\r
1963         "z": "df66c4ba.dc49d",\r
1964         "wires": [\r
1965             [\r
1966                 "d07dc21f.bf396"\r
1967             ]\r
1968         ]\r
1969     },\r
1970     {\r
1971         "id": "3867b2c0.836c9e",\r
1972         "type": "break",\r
1973         "name": "break",\r
1974         "xml": "<break>\n",\r
1975         "comments": "",\r
1976         "x": 4802.50048828125,\r
1977         "y": 1503.6260986328125,\r
1978         "z": "df66c4ba.dc49d",\r
1979         "wires": []\r
1980     },\r
1981     {\r
1982         "id": "d07dc21f.bf396",\r
1983         "type": "success",\r
1984         "name": "success",\r
1985         "xml": "<outcome value='success'>\n",\r
1986         "comments": "",\r
1987         "outputs": 1,\r
1988         "x": 5027.50048828125,\r
1989         "y": 1460.6260986328125,\r
1990         "z": "df66c4ba.dc49d",\r
1991         "wires": [\r
1992             [\r
1993                 "a0338f35.aa887"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "7ad015c9.163974",\r
1999         "type": "outcome",\r
2000         "name": "esr-thirdparty-sdnc",\r
2001         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2002         "comments": "",\r
2003         "outputs": 1,\r
2004         "x": 4835.88330078125,\r
2005         "y": 1056.2857666015625,\r
2006         "z": "df66c4ba.dc49d",\r
2007         "wires": [\r
2008             [\r
2009                 "79e701a7.e6bda"\r
2010             ]\r
2011         ]\r
2012     },\r
2013     {\r
2014         "id": "79e701a7.e6bda",\r
2015         "type": "block",\r
2016         "name": "block : atomic",\r
2017         "xml": "<block atomic=\"true\">",\r
2018         "atomic": "true",\r
2019         "outputs": 1,\r
2020         "x": 5012.88330078125,\r
2021         "y": 1048.2857666015625,\r
2022         "z": "df66c4ba.dc49d",\r
2023         "wires": [\r
2024             [\r
2025                 "74575ab5.dab66c",\r
2026                 "bb3b928a.241048"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "2cbaaf2e.c8d728",\r
2032         "type": "switchNode",\r
2033         "name": "switch related-to",\r
2034         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2035         "comments": "",\r
2036         "outputs": 1,\r
2037         "x": 4638.883270263672,\r
2038         "y": 1154.2857055664062,\r
2039         "z": "df66c4ba.dc49d",\r
2040         "wires": [\r
2041             [\r
2042                 "7ad015c9.163974",\r
2043                 "67f00ea1.c4a38"\r
2044             ]\r
2045         ]\r
2046     },\r
2047     {\r
2048         "id": "67f00ea1.c4a38",\r
2049         "type": "outcome",\r
2050         "name": "network-resource",\r
2051         "xml": "<outcome value='network-resource'>",\r
2052         "comments": "",\r
2053         "outputs": 1,\r
2054         "x": 4838.88330078125,\r
2055         "y": 1130.2857666015625,\r
2056         "z": "df66c4ba.dc49d",\r
2057         "wires": [\r
2058             [\r
2059                 "b8dbf273.d60738"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "b8dbf273.d60738",\r
2065         "type": "block",\r
2066         "name": "block : atomic",\r
2067         "xml": "<block atomic=\"true\">",\r
2068         "atomic": "true",\r
2069         "outputs": 1,\r
2070         "x": 5015.88330078125,\r
2071         "y": 1122.2857666015625,\r
2072         "z": "df66c4ba.dc49d",\r
2073         "wires": [\r
2074             [\r
2075                 "36a761a6.6edbc6"\r
2076             ]\r
2077         ]\r
2078     },\r
2079     {\r
2080         "id": "a0338f35.aa887",\r
2081         "type": "block",\r
2082         "name": "block : atomic",\r
2083         "xml": "<block atomic=\"true\">",\r
2084         "atomic": "true",\r
2085         "outputs": 1,\r
2086         "x": 5185.50048828125,\r
2087         "y": 1460.6260986328125,\r
2088         "z": "df66c4ba.dc49d",\r
2089         "wires": [\r
2090             [\r
2091                 "ac7f5dcb.abfbe"\r
2092             ]\r
2093         ]\r
2094     },\r
2095     {\r
2096         "id": "ac7f5dcb.abfbe",\r
2097         "type": "set",\r
2098         "name": "set source tunnel tp ip",\r
2099         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2100         "comments": "",\r
2101         "x": 5392.50048828125,\r
2102         "y": 1460.6260986328125,\r
2103         "z": "df66c4ba.dc49d",\r
2104         "wires": []\r
2105     },\r
2106     {\r
2107         "id": "bb3b928a.241048",\r
2108         "type": "execute",\r
2109         "name": "get esr-thirdparty-sdnc",\r
2110         "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
2111         "comments": "",\r
2112         "outputs": 1,\r
2113         "x": 5220.88330078125,\r
2114         "y": 1055.2857666015625,\r
2115         "z": "df66c4ba.dc49d",\r
2116         "wires": [\r
2117             [\r
2118                 "14a2b948.3a7307",\r
2119                 "4db5fa80.8a7584",\r
2120                 "1d1f45c7.aa8332"\r
2121             ]\r
2122         ]\r
2123     },\r
2124     {\r
2125         "id": "74575ab5.dab66c",\r
2126         "type": "set",\r
2127         "name": "set esr-thirdparty-sdnc domainA id",\r
2128         "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
2129         "comments": "",\r
2130         "x": 5250.88330078125,\r
2131         "y": 1003.2857666015625,\r
2132         "z": "df66c4ba.dc49d",\r
2133         "wires": []\r
2134     },\r
2135     {\r
2136         "id": "14a2b948.3a7307",\r
2137         "type": "success",\r
2138         "name": "success",\r
2139         "xml": "<outcome value='success'>\n",\r
2140         "comments": "",\r
2141         "outputs": 1,\r
2142         "x": 5430.88330078125,\r
2143         "y": 1046.2857666015625,\r
2144         "z": "df66c4ba.dc49d",\r
2145         "wires": [\r
2146             [\r
2147                 "755aafd7.9f4fa8"\r
2148             ]\r
2149         ]\r
2150     },\r
2151     {\r
2152         "id": "4db5fa80.8a7584",\r
2153         "type": "not-found",\r
2154         "name": "not-found",\r
2155         "xml": "<outcome value='not-found'>\n",\r
2156         "comments": "",\r
2157         "outputs": 1,\r
2158         "x": 5422.88330078125,\r
2159         "y": 1101.2857666015625,\r
2160         "z": "df66c4ba.dc49d",\r
2161         "wires": [\r
2162             [\r
2163                 "70535561.166e44"\r
2164             ]\r
2165         ]\r
2166     },\r
2167     {\r
2168         "id": "1d1f45c7.aa8332",\r
2169         "type": "other",\r
2170         "name": "other",\r
2171         "xml": "<outcome value='Other'>\n",\r
2172         "comments": "",\r
2173         "outputs": 1,\r
2174         "x": 5427.88330078125,\r
2175         "y": 1158.2857666015625,\r
2176         "z": "df66c4ba.dc49d",\r
2177         "wires": [\r
2178             [\r
2179                 "91b4ba95.e0ecd8"\r
2180             ]\r
2181         ]\r
2182     },\r
2183     {\r
2184         "id": "91b4ba95.e0ecd8",\r
2185         "type": "returnFailure",\r
2186         "name": "return failure",\r
2187         "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
2188         "comments": "",\r
2189         "x": 5579.88330078125,\r
2190         "y": 1159.2857666015625,\r
2191         "z": "df66c4ba.dc49d",\r
2192         "wires": []\r
2193     },\r
2194     {\r
2195         "id": "70535561.166e44",\r
2196         "type": "returnFailure",\r
2197         "name": "return failure",\r
2198         "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
2199         "comments": "",\r
2200         "x": 5590.88330078125,\r
2201         "y": 1104.2857666015625,\r
2202         "z": "df66c4ba.dc49d",\r
2203         "wires": []\r
2204     },\r
2205     {\r
2206         "id": "755aafd7.9f4fa8",\r
2207         "type": "block",\r
2208         "name": "block",\r
2209         "xml": "<block>\n",\r
2210         "atomic": "false",\r
2211         "comments": "",\r
2212         "outputs": 1,\r
2213         "x": 5575.265625,\r
2214         "y": 1043.9414367675781,\r
2215         "z": "df66c4ba.dc49d",\r
2216         "wires": [\r
2217             [\r
2218                 "be3e1006.2c5ef"\r
2219             ]\r
2220         ]\r
2221     },\r
2222     {\r
2223         "id": "36a761a6.6edbc6",\r
2224         "type": "set",\r
2225         "name": "set domainA ethernet layer network-id",\r
2226         "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
2227         "comments": "",\r
2228         "x": 5250.88330078125,\r
2229         "y": 1246.2857666015625,\r
2230         "z": "df66c4ba.dc49d",\r
2231         "wires": []\r
2232     },\r
2233     {\r
2234         "id": "be3e1006.2c5ef",\r
2235         "type": "set",\r
2236         "name": "set controller domainA data",\r
2237         "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
2238         "comments": "",\r
2239         "x": 5789.88330078125,\r
2240         "y": 1040.2857666015625,\r
2241         "z": "df66c4ba.dc49d",\r
2242         "wires": []\r
2243     },\r
2244     {\r
2245         "id": "9e818253.3db4c8",\r
2246         "type": "set",\r
2247         "name": "set network-route-B",\r
2248         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2249         "comments": "",\r
2250         "x": 4445.883758544922,\r
2251         "y": 347.28570556640625,\r
2252         "z": "df66c4ba.dc49d",\r
2253         "wires": []\r
2254     },\r
2255     {\r
2256         "id": "e41aea83.6c1b9",\r
2257         "type": "set",\r
2258         "name": "set network-route-A",\r
2259         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2260         "comments": "",\r
2261         "x": 4446.883728027344,\r
2262         "y": 451.28570556640625,\r
2263         "z": "df66c4ba.dc49d",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "61b5f01d.b80d4",\r
2268         "type": "block",\r
2269         "name": "block",\r
2270         "xml": "<block>\n",\r
2271         "atomic": "false",\r
2272         "comments": "",\r
2273         "outputs": 1,\r
2274         "x": 4270.883758544922,\r
2275         "y": 353.28570556640625,\r
2276         "z": "df66c4ba.dc49d",\r
2277         "wires": [\r
2278             [\r
2279                 "be2b27bb.08a9c8",\r
2280                 "9e818253.3db4c8"\r
2281             ]\r
2282         ]\r
2283     },\r
2284     {\r
2285         "id": "c4a12276.3b1638",\r
2286         "type": "block",\r
2287         "name": "block",\r
2288         "xml": "<block>\n",\r
2289         "atomic": "false",\r
2290         "comments": "",\r
2291         "outputs": 1,\r
2292         "x": 4276.883758544922,\r
2293         "y": 417.28570556640625,\r
2294         "z": "df66c4ba.dc49d",\r
2295         "wires": [\r
2296             [\r
2297                 "b06c3c05.9b2298",\r
2298                 "e41aea83.6c1b9"\r
2299             ]\r
2300         ]\r
2301     },\r
2302     {\r
2303         "id": "d3817023.608058",\r
2304         "type": "block",\r
2305         "name": "block",\r
2306         "xml": "<block>\n",\r
2307         "atomic": "false",\r
2308         "comments": "",\r
2309         "outputs": 1,\r
2310         "x": 4241.883758544922,\r
2311         "y": 619.2857666015625,\r
2312         "z": "df66c4ba.dc49d",\r
2313         "wires": [\r
2314             [\r
2315                 "d2d6cd47.633ea8",\r
2316                 "8a84a541.05baa8"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "515f06a6.62b11",\r
2322         "type": "block",\r
2323         "name": "block",\r
2324         "xml": "<block>\n",\r
2325         "atomic": "false",\r
2326         "comments": "",\r
2327         "outputs": 1,\r
2328         "x": 4244.883758544922,\r
2329         "y": 672.2857666015625,\r
2330         "z": "df66c4ba.dc49d",\r
2331         "wires": [\r
2332             [\r
2333                 "1e090814.77ece",\r
2334                 "f18416f.b59a2e8"\r
2335             ]\r
2336         ]\r
2337     },\r
2338     {\r
2339         "id": "8a84a541.05baa8",\r
2340         "type": "set",\r
2341         "name": "set network-route-B",\r
2342         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2343         "comments": "",\r
2344         "x": 4415.883758544922,\r
2345         "y": 632.2857666015625,\r
2346         "z": "df66c4ba.dc49d",\r
2347         "wires": []\r
2348     },\r
2349     {\r
2350         "id": "f18416f.b59a2e8",\r
2351         "type": "set",\r
2352         "name": "set network-route-A",\r
2353         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2354         "comments": "",\r
2355         "x": 4418.883758544922,\r
2356         "y": 723.2857666015625,\r
2357         "z": "df66c4ba.dc49d",\r
2358         "wires": []\r
2359     },\r
2360     {\r
2361         "id": "e3b8353b.1a716",\r
2362         "type": "block",\r
2363         "name": "block : atomic",\r
2364         "xml": "<block atomic=\"true\">",\r
2365         "atomic": "true",\r
2366         "outputs": 1,\r
2367         "x": 3741.88330078125,\r
2368         "y": 1802.285888671875,\r
2369         "z": "df66c4ba.dc49d",\r
2370         "wires": [\r
2371             [\r
2372                 "ff7eb3f1.2b5db",\r
2373                 "e41a1903.8d6c4"\r
2374             ]\r
2375         ]\r
2376     },\r
2377     {\r
2378         "id": "cfbe25d.9897558",\r
2379         "type": "success",\r
2380         "name": "success",\r
2381         "xml": "<outcome value='success'>\n",\r
2382         "comments": "",\r
2383         "outputs": 1,\r
2384         "x": 3569.216796875,\r
2385         "y": 1803.285888671875,\r
2386         "z": "df66c4ba.dc49d",\r
2387         "wires": [\r
2388             [\r
2389                 "e3b8353b.1a716"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "c7184b04.7c3a48",\r
2395         "type": "not-found",\r
2396         "name": "not-found",\r
2397         "xml": "<outcome value='not-found'>\n",\r
2398         "comments": "",\r
2399         "outputs": 1,\r
2400         "x": 3578.707763671875,\r
2401         "y": 1845.8599243164062,\r
2402         "z": "df66c4ba.dc49d",\r
2403         "wires": [\r
2404             [\r
2405                 "1df80989.06ffa6"\r
2406             ]\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "6421e4be.cfd334",\r
2411         "type": "failure",\r
2412         "name": "failure",\r
2413         "xml": "<outcome value='failure'>\n",\r
2414         "comments": "",\r
2415         "outputs": 1,\r
2416         "x": 3567.216796875,\r
2417         "y": 1892.285888671875,\r
2418         "z": "df66c4ba.dc49d",\r
2419         "wires": [\r
2420             [\r
2421                 "61347385.0e669c"\r
2422             ]\r
2423         ]\r
2424     },\r
2425     {\r
2426         "id": "1df80989.06ffa6",\r
2427         "type": "returnFailure",\r
2428         "name": "return failure",\r
2429         "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
2430         "comments": "",\r
2431         "x": 3732.2791748046875,\r
2432         "y": 1849.1456604003906,\r
2433         "z": "df66c4ba.dc49d",\r
2434         "wires": []\r
2435     },\r
2436     {\r
2437         "id": "61347385.0e669c",\r
2438         "type": "returnFailure",\r
2439         "name": "return failure",\r
2440         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2441         "comments": "",\r
2442         "x": 3736.216796875,\r
2443         "y": 1893.285888671875,\r
2444         "z": "df66c4ba.dc49d",\r
2445         "wires": []\r
2446     },\r
2447     {\r
2448         "id": "ff7eb3f1.2b5db",\r
2449         "type": "execute",\r
2450         "name": "execute split tp-id to get pnf-name",\r
2451         "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
2452         "comments": "",\r
2453         "outputs": 1,\r
2454         "x": 4028.216796875,\r
2455         "y": 1806.2860107421875,\r
2456         "z": "df66c4ba.dc49d",\r
2457         "wires": [\r
2458             [\r
2459                 "2c9a5d35.edc2ea",\r
2460                 "e16f62ba.253eb"\r
2461             ]\r
2462         ]\r
2463     },\r
2464     {\r
2465         "id": "e16f62ba.253eb",\r
2466         "type": "failure",\r
2467         "name": "success",\r
2468         "xml": "<outcome value='success'>\n",\r
2469         "comments": "",\r
2470         "outputs": 1,\r
2471         "x": 4251.216796875,\r
2472         "y": 1761.2860107421875,\r
2473         "z": "df66c4ba.dc49d",\r
2474         "wires": [\r
2475             [\r
2476                 "9d889672.fd9088"\r
2477             ]\r
2478         ]\r
2479     },\r
2480     {\r
2481         "id": "2c9a5d35.edc2ea",\r
2482         "type": "failure",\r
2483         "name": "failure",\r
2484         "xml": "<outcome value='failure'>\n",\r
2485         "comments": "",\r
2486         "outputs": 1,\r
2487         "x": 4253.216796875,\r
2488         "y": 1825.2860107421875,\r
2489         "z": "df66c4ba.dc49d",\r
2490         "wires": [\r
2491             [\r
2492                 "67c6ff18.c6a758"\r
2493             ]\r
2494         ]\r
2495     },\r
2496     {\r
2497         "id": "67c6ff18.c6a758",\r
2498         "type": "returnFailure",\r
2499         "name": "return failure",\r
2500         "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
2501         "comments": "",\r
2502         "x": 4412.216796875,\r
2503         "y": 1844.2860107421875,\r
2504         "z": "df66c4ba.dc49d",\r
2505         "wires": []\r
2506     },\r
2507     {\r
2508         "id": "9d889672.fd9088",\r
2509         "type": "block",\r
2510         "name": "block : atomic",\r
2511         "xml": "<block atomic=\"true\">",\r
2512         "atomic": "true",\r
2513         "outputs": 1,\r
2514         "x": 4416.216796875,\r
2515         "y": 1758.2860107421875,\r
2516         "z": "df66c4ba.dc49d",\r
2517         "wires": [\r
2518             [\r
2519                 "acf9d743.7735b8",\r
2520                 "dd400cb5.f9a5e"\r
2521             ]\r
2522         ]\r
2523     },\r
2524     {\r
2525         "id": "ab43f120.02b19",\r
2526         "type": "save",\r
2527         "name": "get p-interface-dst from aai",\r
2528         "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
2529         "comments": "",\r
2530         "outputs": 1,\r
2531         "x": 3341.216796875,\r
2532         "y": 1838.285888671875,\r
2533         "z": "df66c4ba.dc49d",\r
2534         "wires": [\r
2535             [\r
2536                 "cfbe25d.9897558",\r
2537                 "c7184b04.7c3a48",\r
2538                 "6421e4be.cfd334"\r
2539             ]\r
2540         ]\r
2541     },\r
2542     {\r
2543         "id": "443ec13c.3b1388",\r
2544         "type": "comment",\r
2545         "name": "Question?",\r
2546         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2547         "comments": "",\r
2548         "x": 3302.216796875,\r
2549         "y": 1782.285888671875,\r
2550         "z": "df66c4ba.dc49d",\r
2551         "wires": []\r
2552     },\r
2553     {\r
2554         "id": "87d9c57.361fa38",\r
2555         "type": "execute",\r
2556         "name": "execute split tp-id to get pnf-name",\r
2557         "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
2558         "comments": "",\r
2559         "outputs": 1,\r
2560         "x": 3353.216796875,\r
2561         "y": 1577.2857666015625,\r
2562         "z": "df66c4ba.dc49d",\r
2563         "wires": [\r
2564             [\r
2565                 "47939321.8d0314",\r
2566                 "28e1d4e9.ca62fc"\r
2567             ]\r
2568         ]\r
2569     },\r
2570     {\r
2571         "id": "28e1d4e9.ca62fc",\r
2572         "type": "failure",\r
2573         "name": "success",\r
2574         "xml": "<outcome value='success'>\n",\r
2575         "comments": "",\r
2576         "outputs": 1,\r
2577         "x": 3576.216796875,\r
2578         "y": 1563.2857666015625,\r
2579         "z": "df66c4ba.dc49d",\r
2580         "wires": [\r
2581             [\r
2582                 "97457e61.73e3d8"\r
2583             ]\r
2584         ]\r
2585     },\r
2586     {\r
2587         "id": "47939321.8d0314",\r
2588         "type": "failure",\r
2589         "name": "failure",\r
2590         "xml": "<outcome value='failure'>\n",\r
2591         "comments": "",\r
2592         "outputs": 1,\r
2593         "x": 3578.216796875,\r
2594         "y": 1596.2857666015625,\r
2595         "z": "df66c4ba.dc49d",\r
2596         "wires": [\r
2597             [\r
2598                 "4d6d8144.ded038"\r
2599             ]\r
2600         ]\r
2601     },\r
2602     {\r
2603         "id": "4d6d8144.ded038",\r
2604         "type": "returnFailure",\r
2605         "name": "return failure",\r
2606         "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
2607         "comments": "",\r
2608         "x": 3721.216796875,\r
2609         "y": 1593.2857666015625,\r
2610         "z": "df66c4ba.dc49d",\r
2611         "wires": []\r
2612     },\r
2613     {\r
2614         "id": "97457e61.73e3d8",\r
2615         "type": "block",\r
2616         "name": "block : atomic",\r
2617         "xml": "<block atomic=\"true\">",\r
2618         "atomic": "true",\r
2619         "outputs": 1,\r
2620         "x": 3724.216796875,\r
2621         "y": 1556.2857666015625,\r
2622         "z": "df66c4ba.dc49d",\r
2623         "wires": [\r
2624             [\r
2625                 "a9d92823.960608",\r
2626                 "aea3c9c3.593308"\r
2627             ]\r
2628         ]\r
2629     },\r
2630     {\r
2631         "id": "a9d92823.960608",\r
2632         "type": "set",\r
2633         "name": "set pnf-name",\r
2634         "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
2635         "comments": "",\r
2636         "x": 3918.216796875,\r
2637         "y": 1559.285888671875,\r
2638         "z": "df66c4ba.dc49d",\r
2639         "wires": []\r
2640     },\r
2641     {\r
2642         "id": "e41a1903.8d6c4",\r
2643         "type": "for",\r
2644         "name": "for each relationship",\r
2645         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2646         "comments": "",\r
2647         "outputs": 1,\r
2648         "x": 3969.216766357422,\r
2649         "y": 1939.2857666015625,\r
2650         "z": "df66c4ba.dc49d",\r
2651         "wires": [\r
2652             [\r
2653                 "6ce2701b.388768"\r
2654             ]\r
2655         ]\r
2656     },\r
2657     {\r
2658         "id": "6ce2701b.388768",\r
2659         "type": "switchNode",\r
2660         "name": "switch related-to",\r
2661         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2662         "comments": "",\r
2663         "outputs": 1,\r
2664         "x": 4175.216766357422,\r
2665         "y": 1939.2857666015625,\r
2666         "z": "df66c4ba.dc49d",\r
2667         "wires": [\r
2668             [\r
2669                 "879de70.58c1218"\r
2670             ]\r
2671         ]\r
2672     },\r
2673     {\r
2674         "id": "879de70.58c1218",\r
2675         "type": "outcome",\r
2676         "name": "tunnel-termination-point",\r
2677         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2678         "comments": "",\r
2679         "outputs": 1,\r
2680         "x": 4392.502410888672,\r
2681         "y": 1938.1075439453125,\r
2682         "z": "df66c4ba.dc49d",\r
2683         "wires": [\r
2684             [\r
2685                 "3d45c8a4.47e81"\r
2686             ]\r
2687         ]\r
2688     },\r
2689     {\r
2690         "id": "aea3c9c3.593308",\r
2691         "type": "get-resource",\r
2692         "name": "get-resource src pnf",\r
2693         "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
2694         "comments": "",\r
2695         "outputs": 1,\r
2696         "x": 3940.216796875,\r
2697         "y": 1627.285888671875,\r
2698         "z": "df66c4ba.dc49d",\r
2699         "wires": [\r
2700             [\r
2701                 "ce24caf2.6cde98",\r
2702                 "b9bbe7dc.00f29",\r
2703                 "76cad8df.00ad38"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "ce24caf2.6cde98",\r
2709         "type": "success",\r
2710         "name": "success",\r
2711         "xml": "<outcome value='success'>\n",\r
2712         "comments": "",\r
2713         "outputs": 1,\r
2714         "x": 4135.7169189453125,\r
2715         "y": 1579.285888671875,\r
2716         "z": "df66c4ba.dc49d",\r
2717         "wires": [\r
2718             [\r
2719                 "c03aa3dc.16bd"\r
2720             ]\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "b9bbe7dc.00f29",\r
2725         "type": "not-found",\r
2726         "name": "not-found",\r
2727         "xml": "<outcome value='not-found'>\n",\r
2728         "comments": "",\r
2729         "outputs": 1,\r
2730         "x": 4127.7169189453125,\r
2731         "y": 1634.285888671875,\r
2732         "z": "df66c4ba.dc49d",\r
2733         "wires": [\r
2734             [\r
2735                 "c287be98.ae3d3"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "76cad8df.00ad38",\r
2741         "type": "other",\r
2742         "name": "other",\r
2743         "xml": "<outcome value='Other'>\n",\r
2744         "comments": "",\r
2745         "outputs": 1,\r
2746         "x": 4132.7169189453125,\r
2747         "y": 1691.285888671875,\r
2748         "z": "df66c4ba.dc49d",\r
2749         "wires": [\r
2750             [\r
2751                 "eb7ced2b.1fef2"\r
2752             ]\r
2753         ]\r
2754     },\r
2755     {\r
2756         "id": "eb7ced2b.1fef2",\r
2757         "type": "returnFailure",\r
2758         "name": "return failure",\r
2759         "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
2760         "comments": "",\r
2761         "x": 4284.7169189453125,\r
2762         "y": 1692.285888671875,\r
2763         "z": "df66c4ba.dc49d",\r
2764         "wires": []\r
2765     },\r
2766     {\r
2767         "id": "c287be98.ae3d3",\r
2768         "type": "returnFailure",\r
2769         "name": "return failure",\r
2770         "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
2771         "comments": "",\r
2772         "x": 4295.7169189453125,\r
2773         "y": 1637.285888671875,\r
2774         "z": "df66c4ba.dc49d",\r
2775         "wires": []\r
2776     },\r
2777     {\r
2778         "id": "c03aa3dc.16bd",\r
2779         "type": "block",\r
2780         "name": "block",\r
2781         "xml": "<block>\n",\r
2782         "atomic": "false",\r
2783         "comments": "",\r
2784         "outputs": 1,\r
2785         "x": 4280.0992431640625,\r
2786         "y": 1576.9415588378906,\r
2787         "z": "df66c4ba.dc49d",\r
2788         "wires": [\r
2789             [\r
2790                 "5afd22fd.80941c"\r
2791             ]\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "acf9d743.7735b8",\r
2796         "type": "set",\r
2797         "name": "set ltpId",\r
2798         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2799         "comments": "",\r
2800         "x": 4586.216796875,\r
2801         "y": 1719.2860107421875,\r
2802         "z": "df66c4ba.dc49d",\r
2803         "wires": []\r
2804     },\r
2805     {\r
2806         "id": "dd400cb5.f9a5e",\r
2807         "type": "set",\r
2808         "name": "set pnf-name",\r
2809         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2810         "comments": "",\r
2811         "x": 4587.216796875,\r
2812         "y": 1824.2860107421875,\r
2813         "z": "df66c4ba.dc49d",\r
2814         "wires": []\r
2815     },\r
2816     {\r
2817         "id": "d2c0902b.6c4ea",\r
2818         "type": "comment",\r
2819         "name": "TODO: FIXME",\r
2820         "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
2821         "comments": "",\r
2822         "x": 4582.216796875,\r
2823         "y": 1773.2860107421875,\r
2824         "z": "df66c4ba.dc49d",\r
2825         "wires": []\r
2826     },\r
2827     {\r
2828         "id": "3d45c8a4.47e81",\r
2829         "type": "block",\r
2830         "name": "block : atomic",\r
2831         "xml": "<block atomic=\"true\">",\r
2832         "atomic": "true",\r
2833         "outputs": 1,\r
2834         "x": 4599.333953857422,\r
2835         "y": 1927.626220703125,\r
2836         "z": "df66c4ba.dc49d",\r
2837         "wires": [\r
2838             [\r
2839                 "616411e3.181da",\r
2840                 "d5236702.85efc8",\r
2841                 "63f505ec.f0050c"\r
2842             ]\r
2843         ]\r
2844     },\r
2845     {\r
2846         "id": "616411e3.181da",\r
2847         "type": "set",\r
2848         "name": "set destination ttp-id",\r
2849         "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
2850         "comments": "",\r
2851         "x": 4814.333953857422,\r
2852         "y": 1889.626220703125,\r
2853         "z": "df66c4ba.dc49d",\r
2854         "wires": []\r
2855     },\r
2856     {\r
2857         "id": "d5236702.85efc8",\r
2858         "type": "get-resource",\r
2859         "name": "get-resource src TTP",\r
2860         "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
2861         "comments": "",\r
2862         "outputs": 1,\r
2863         "x": 4811.333953857422,\r
2864         "y": 1928.626220703125,\r
2865         "z": "df66c4ba.dc49d",\r
2866         "wires": [\r
2867             [\r
2868                 "e9e8b1b.05378d"\r
2869             ]\r
2870         ]\r
2871     },\r
2872     {\r
2873         "id": "63f505ec.f0050c",\r
2874         "type": "break",\r
2875         "name": "break",\r
2876         "xml": "<break>\n",\r
2877         "comments": "",\r
2878         "x": 4766.833953857422,\r
2879         "y": 1970.626220703125,\r
2880         "z": "df66c4ba.dc49d",\r
2881         "wires": []\r
2882     },\r
2883     {\r
2884         "id": "e9e8b1b.05378d",\r
2885         "type": "success",\r
2886         "name": "success",\r
2887         "xml": "<outcome value='success'>\n",\r
2888         "comments": "",\r
2889         "outputs": 1,\r
2890         "x": 4991.833953857422,\r
2891         "y": 1927.626220703125,\r
2892         "z": "df66c4ba.dc49d",\r
2893         "wires": [\r
2894             [\r
2895                 "9850361c.da76c8"\r
2896             ]\r
2897         ]\r
2898     },\r
2899     {\r
2900         "id": "9850361c.da76c8",\r
2901         "type": "block",\r
2902         "name": "block : atomic",\r
2903         "xml": "<block atomic=\"true\">",\r
2904         "atomic": "true",\r
2905         "outputs": 1,\r
2906         "x": 5149.833953857422,\r
2907         "y": 1927.626220703125,\r
2908         "z": "df66c4ba.dc49d",\r
2909         "wires": [\r
2910             [\r
2911                 "db66a9b.93619d8"\r
2912             ]\r
2913         ]\r
2914     },\r
2915     {\r
2916         "id": "db66a9b.93619d8",\r
2917         "type": "set",\r
2918         "name": "set destination tunnel tp ip",\r
2919         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2920         "comments": "",\r
2921         "x": 5356.833953857422,\r
2922         "y": 1927.626220703125,\r
2923         "z": "df66c4ba.dc49d",\r
2924         "wires": []\r
2925     },\r
2926     {\r
2927         "id": "84b58dac.88eef8",\r
2928         "type": "outcome",\r
2929         "name": "esr-thirdparty-sdnc",\r
2930         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2931         "comments": "",\r
2932         "outputs": 1,\r
2933         "x": 4862.216796875,\r
2934         "y": 1595.285888671875,\r
2935         "z": "df66c4ba.dc49d",\r
2936         "wires": [\r
2937             [\r
2938                 "26e5751a.9712e2"\r
2939             ]\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "26e5751a.9712e2",\r
2944         "type": "block",\r
2945         "name": "block : atomic",\r
2946         "xml": "<block atomic=\"true\">",\r
2947         "atomic": "true",\r
2948         "outputs": 1,\r
2949         "x": 5039.216796875,\r
2950         "y": 1587.285888671875,\r
2951         "z": "df66c4ba.dc49d",\r
2952         "wires": [\r
2953             [\r
2954                 "6aba367d.688578",\r
2955                 "e91a3d87.4731c"\r
2956             ]\r
2957         ]\r
2958     },\r
2959     {\r
2960         "id": "5afd22fd.80941c",\r
2961         "type": "for",\r
2962         "name": "for each relationship",\r
2963         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2964         "comments": "",\r
2965         "outputs": 1,\r
2966         "x": 4464.216796875,\r
2967         "y": 1591.285888671875,\r
2968         "z": "df66c4ba.dc49d",\r
2969         "wires": [\r
2970             [\r
2971                 "c4ef25e3.8547c"\r
2972             ]\r
2973         ]\r
2974     },\r
2975     {\r
2976         "id": "c4ef25e3.8547c",\r
2977         "type": "switchNode",\r
2978         "name": "switch related-to",\r
2979         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2980         "comments": "",\r
2981         "outputs": 1,\r
2982         "x": 4659.216796875,\r
2983         "y": 1591.285888671875,\r
2984         "z": "df66c4ba.dc49d",\r
2985         "wires": [\r
2986             [\r
2987                 "84b58dac.88eef8",\r
2988                 "70651805.f7aa38"\r
2989             ]\r
2990         ]\r
2991     },\r
2992     {\r
2993         "id": "e91a3d87.4731c",\r
2994         "type": "execute",\r
2995         "name": "get esr-thirdparty-sdnc",\r
2996         "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
2997         "comments": "",\r
2998         "outputs": 1,\r
2999         "x": 5247.216796875,\r
3000         "y": 1594.285888671875,\r
3001         "z": "df66c4ba.dc49d",\r
3002         "wires": [\r
3003             [\r
3004                 "52bb494b.9e9548",\r
3005                 "1f1e43c3.bd50ac",\r
3006                 "27bf06a9.82b122"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "13e72829.65bf18",\r
3012         "type": "block",\r
3013         "name": "block : atomic",\r
3014         "xml": "<block atomic=\"true\">",\r
3015         "atomic": "true",\r
3016         "outputs": 1,\r
3017         "x": 5041.216796875,\r
3018         "y": 1660.285888671875,\r
3019         "z": "df66c4ba.dc49d",\r
3020         "wires": [\r
3021             [\r
3022                 "f997c96d.8efde"\r
3023             ]\r
3024         ]\r
3025     },\r
3026     {\r
3027         "id": "70651805.f7aa38",\r
3028         "type": "outcome",\r
3029         "name": "network-resource",\r
3030         "xml": "<outcome value='network-resource'>",\r
3031         "comments": "",\r
3032         "outputs": 1,\r
3033         "x": 4864.216796875,\r
3034         "y": 1668.285888671875,\r
3035         "z": "df66c4ba.dc49d",\r
3036         "wires": [\r
3037             [\r
3038                 "13e72829.65bf18"\r
3039             ]\r
3040         ]\r
3041     },\r
3042     {\r
3043         "id": "6aba367d.688578",\r
3044         "type": "set",\r
3045         "name": "set esr-thirdparty-sdnc domainB id",\r
3046         "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
3047         "comments": "",\r
3048         "x": 5277.216796875,\r
3049         "y": 1542.285888671875,\r
3050         "z": "df66c4ba.dc49d",\r
3051         "wires": []\r
3052     },\r
3053     {\r
3054         "id": "f997c96d.8efde",\r
3055         "type": "set",\r
3056         "name": "set domainB ethernet layer network-id",\r
3057         "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
3058         "comments": "",\r
3059         "x": 5254.216796875,\r
3060         "y": 1726.285888671875,\r
3061         "z": "df66c4ba.dc49d",\r
3062         "wires": []\r
3063     },\r
3064     {\r
3065         "id": "52bb494b.9e9548",\r
3066         "type": "success",\r
3067         "name": "success",\r
3068         "xml": "<outcome value='success'>\n",\r
3069         "comments": "",\r
3070         "outputs": 1,\r
3071         "x": 5457.216796875,\r
3072         "y": 1585.285888671875,\r
3073         "z": "df66c4ba.dc49d",\r
3074         "wires": [\r
3075             [\r
3076                 "32b0560b.723342"\r
3077             ]\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "1f1e43c3.bd50ac",\r
3082         "type": "not-found",\r
3083         "name": "not-found",\r
3084         "xml": "<outcome value='not-found'>\n",\r
3085         "comments": "",\r
3086         "outputs": 1,\r
3087         "x": 5449.216796875,\r
3088         "y": 1640.285888671875,\r
3089         "z": "df66c4ba.dc49d",\r
3090         "wires": [\r
3091             [\r
3092                 "6c345a14.f54524"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "27bf06a9.82b122",\r
3098         "type": "other",\r
3099         "name": "other",\r
3100         "xml": "<outcome value='Other'>\n",\r
3101         "comments": "",\r
3102         "outputs": 1,\r
3103         "x": 5454.216796875,\r
3104         "y": 1697.285888671875,\r
3105         "z": "df66c4ba.dc49d",\r
3106         "wires": [\r
3107             [\r
3108                 "6641f5b5.b5523c"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "6641f5b5.b5523c",\r
3114         "type": "returnFailure",\r
3115         "name": "return failure",\r
3116         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3117         "comments": "",\r
3118         "x": 5606.216796875,\r
3119         "y": 1698.285888671875,\r
3120         "z": "df66c4ba.dc49d",\r
3121         "wires": []\r
3122     },\r
3123     {\r
3124         "id": "6c345a14.f54524",\r
3125         "type": "returnFailure",\r
3126         "name": "return failure",\r
3127         "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
3128         "comments": "",\r
3129         "x": 5617.216796875,\r
3130         "y": 1643.285888671875,\r
3131         "z": "df66c4ba.dc49d",\r
3132         "wires": []\r
3133     },\r
3134     {\r
3135         "id": "32b0560b.723342",\r
3136         "type": "block",\r
3137         "name": "block",\r
3138         "xml": "<block>\n",\r
3139         "atomic": "false",\r
3140         "comments": "",\r
3141         "outputs": 1,\r
3142         "x": 5601.59912109375,\r
3143         "y": 1582.9415588378906,\r
3144         "z": "df66c4ba.dc49d",\r
3145         "wires": [\r
3146             [\r
3147                 "1b5e2086.1509ff"\r
3148             ]\r
3149         ]\r
3150     },\r
3151     {\r
3152         "id": "1b5e2086.1509ff",\r
3153         "type": "set",\r
3154         "name": "set controller domainB data",\r
3155         "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
3156         "comments": "",\r
3157         "x": 5816.216796875,\r
3158         "y": 1579.285888671875,\r
3159         "z": "df66c4ba.dc49d",\r
3160         "wires": []\r
3161     },\r
3162     {\r
3163         "id": "7042856b.1828cc",\r
3164         "type": "set",\r
3165         "name": "set LEAF stuff",\r
3166         "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' 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\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
3167         "comments": "",\r
3168         "x": 3314.88330078125,\r
3169         "y": 1449.2857666015625,\r
3170         "z": "df66c4ba.dc49d",\r
3171         "wires": []\r
3172     },\r
3173     {\r
3174         "id": "f434b230.257eb8",\r
3175         "type": "set",\r
3176         "name": "set ROOT stuff",\r
3177         "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' 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\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
3178         "comments": "",\r
3179         "x": 3301.88330078125,\r
3180         "y": 1969.285888671875,\r
3181         "z": "df66c4ba.dc49d",\r
3182         "wires": []\r
3183     },\r
3184     {\r
3185         "id": "c9139602.db9618",\r
3186         "type": "execute",\r
3187         "name": "execute UUID generator for ethernet-service-name",\r
3188         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3189         "comments": "",\r
3190         "outputs": 1,\r
3191         "x": 2426.883331298828,\r
3192         "y": 162.2857666015625,\r
3193         "z": "df66c4ba.dc49d",\r
3194         "wires": [\r
3195             []\r
3196         ]\r
3197     },\r
3198     {\r
3199         "id": "aadbe6b3.d2bba",\r
3200         "type": "set",\r
3201         "name": "set new ethernet-service-name",\r
3202         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
3203         "comments": "",\r
3204         "x": 2360.883331298828,\r
3205         "y": 198.2857666015625,\r
3206         "z": "df66c4ba.dc49d",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "e7f44e9f.7383a",\r
3211         "type": "comment",\r
3212         "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
3213         "info": "",\r
3214         "comments": "",\r
3215         "x": 2545.883331298828,\r
3216         "y": 125.2857666015625,\r
3217         "z": "df66c4ba.dc49d",\r
3218         "wires": []\r
3219     },\r
3220     {\r
3221         "id": "106d7d06.a5399b",\r
3222         "type": "comment",\r
3223         "name": "NOT NEEDED ANYMORE?",\r
3224         "info": "",\r
3225         "comments": "",\r
3226         "x": 4072.88330078125,\r
3227         "y": 1427.2857666015625,\r
3228         "z": "df66c4ba.dc49d",\r
3229         "wires": []\r
3230     },\r
3231     {\r
3232         "id": "f63837b1.4cefc",\r
3233         "type": "comment",\r
3234         "name": "NOT NEEDED ANYMORE?",\r
3235         "info": "",\r
3236         "comments": "",\r
3237         "x": 4028.883270263672,\r
3238         "y": 1891.2857666015625,\r
3239         "z": "df66c4ba.dc49d",\r
3240         "wires": []\r
3241     },\r
3242     {\r
3243         "id": "7226ce6d.bf87d8",\r
3244         "type": "call",\r
3245         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
3246         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
3247         "comments": "",\r
3248         "outputs": 1,\r
3249         "x": 2737.8836669921875,\r
3250         "y": 7259.28564453125,\r
3251         "z": "df66c4ba.dc49d",\r
3252         "wires": [\r
3253             []\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "56edb3ef.738a04",\r
3258         "type": "comment",\r
3259         "name": "START OF DELETE OPERATION",\r
3260         "info": "",\r
3261         "comments": "",\r
3262         "x": 3296.88330078125,\r
3263         "y": 2451.2857360839844,\r
3264         "z": "df66c4ba.dc49d",\r
3265         "wires": []\r
3266     },\r
3267     {\r
3268         "id": "3c54c8c2.c90b98",\r
3269         "type": "save",\r
3270         "name": "delete LEAF uni resource in AAI",\r
3271         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
3272         "comments": "",\r
3273         "outputs": 1,\r
3274         "x": 3880.566650390625,\r
3275         "y": 2552.6858520507812,\r
3276         "z": "df66c4ba.dc49d",\r
3277         "wires": [\r
3278             []\r
3279         ]\r
3280     },\r
3281     {\r
3282         "id": "ebbe2f0a.10f36",\r
3283         "type": "save",\r
3284         "name": "get LEAF uni from aai",\r
3285         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
3286         "comments": "",\r
3287         "outputs": 1,\r
3288         "x": 3251.566650390625,\r
3289         "y": 2532.6858520507812,\r
3290         "z": "df66c4ba.dc49d",\r
3291         "wires": [\r
3292             [\r
3293                 "2be68b52.20aa24",\r
3294                 "81d3f50b.6c4d9",\r
3295                 "2035d36a.c81f14"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "81d3f50b.6c4d9",\r
3301         "type": "not-found",\r
3302         "name": "not-found",\r
3303         "xml": "<outcome value='not-found'>\n",\r
3304         "comments": "",\r
3305         "outputs": 1,\r
3306         "x": 3479.0576171875,\r
3307         "y": 2505.2598266601562,\r
3308         "z": "df66c4ba.dc49d",\r
3309         "wires": [\r
3310             [\r
3311                 "13ee2347.80286d"\r
3312             ]\r
3313         ]\r
3314     },\r
3315     {\r
3316         "id": "2035d36a.c81f14",\r
3317         "type": "failure",\r
3318         "name": "failure",\r
3319         "xml": "<outcome value='failure'>\n",\r
3320         "comments": "",\r
3321         "outputs": 1,\r
3322         "x": 3474.566650390625,\r
3323         "y": 2549.685791015625,\r
3324         "z": "df66c4ba.dc49d",\r
3325         "wires": [\r
3326             [\r
3327                 "991792d0.e4e98"\r
3328             ]\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "13ee2347.80286d",\r
3333         "type": "returnFailure",\r
3334         "name": "return failure",\r
3335         "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
3336         "comments": "",\r
3337         "x": 3641.629150390625,\r
3338         "y": 2504.5455322265625,\r
3339         "z": "df66c4ba.dc49d",\r
3340         "wires": []\r
3341     },\r
3342     {\r
3343         "id": "991792d0.e4e98",\r
3344         "type": "returnFailure",\r
3345         "name": "return failure",\r
3346         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3347         "comments": "",\r
3348         "x": 3642.566650390625,\r
3349         "y": 2549.685791015625,\r
3350         "z": "df66c4ba.dc49d",\r
3351         "wires": []\r
3352     },\r
3353     {\r
3354         "id": "2be68b52.20aa24",\r
3355         "type": "success",\r
3356         "name": "success",\r
3357         "xml": "<outcome value='success'>\n",\r
3358         "comments": "",\r
3359         "outputs": 1,\r
3360         "x": 3486.566650390625,\r
3361         "y": 2599.6858520507812,\r
3362         "z": "df66c4ba.dc49d",\r
3363         "wires": [\r
3364             [\r
3365                 "f8565a8c.b30f28"\r
3366             ]\r
3367         ]\r
3368     },\r
3369     {\r
3370         "id": "f8565a8c.b30f28",\r
3371         "type": "block",\r
3372         "name": "block : atomic",\r
3373         "xml": "<block atomic='true'>",\r
3374         "atomic": "true",\r
3375         "comments": "",\r
3376         "outputs": 1,\r
3377         "x": 3638.88330078125,\r
3378         "y": 2603.2857055664062,\r
3379         "z": "df66c4ba.dc49d",\r
3380         "wires": [\r
3381             [\r
3382                 "133776d8.0b0dc9",\r
3383                 "3c54c8c2.c90b98",\r
3384                 "95fcacf8.b9d6a8",\r
3385                 "70f331ff.6983c8"\r
3386             ]\r
3387         ]\r
3388     },\r
3389     {\r
3390         "id": "133776d8.0b0dc9",\r
3391         "type": "set",\r
3392         "name": "set bwToBeDecreased tpid cvlan",\r
3393         "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
3394         "comments": "",\r
3395         "x": 3883.566650390625,\r
3396         "y": 2495.6858520507812,\r
3397         "z": "df66c4ba.dc49d",\r
3398         "wires": []\r
3399     },\r
3400     {\r
3401         "id": "5f7e58ce.54f7f8",\r
3402         "type": "comment",\r
3403         "name": "Update ROOT UNI's bw",\r
3404         "info": "",\r
3405         "comments": "",\r
3406         "x": 3845.566650390625,\r
3407         "y": 2606.4857177734375,\r
3408         "z": "df66c4ba.dc49d",\r
3409         "wires": []\r
3410     },\r
3411     {\r
3412         "id": "9cf7d79b.0475e8",\r
3413         "type": "save",\r
3414         "name": "update ROOT UNI in AAI",\r
3415         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
3416         "comments": "",\r
3417         "outputs": 1,\r
3418         "x": 4523.566650390625,\r
3419         "y": 2649.4857177734375,\r
3420         "z": "df66c4ba.dc49d",\r
3421         "wires": [\r
3422             []\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "95fcacf8.b9d6a8",\r
3427         "type": "save",\r
3428         "name": "get root uni from aai",\r
3429         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
3430         "comments": "",\r
3431         "outputs": 1,\r
3432         "x": 3837.56640625,\r
3433         "y": 2652.4857177734375,\r
3434         "z": "df66c4ba.dc49d",\r
3435         "wires": [\r
3436             [\r
3437                 "8e888721.2a9c48",\r
3438                 "ad21a1a0.49ccd8",\r
3439                 "92e1736a.a036e"\r
3440             ]\r
3441         ]\r
3442     },\r
3443     {\r
3444         "id": "ad21a1a0.49ccd8",\r
3445         "type": "not-found",\r
3446         "name": "not-found",\r
3447         "xml": "<outcome value='not-found'>\n",\r
3448         "comments": "",\r
3449         "outputs": 1,\r
3450         "x": 4141.057373046875,\r
3451         "y": 2563.0596923828125,\r
3452         "z": "df66c4ba.dc49d",\r
3453         "wires": [\r
3454             [\r
3455                 "b3d3b1a9.2b5fb"\r
3456             ]\r
3457         ]\r
3458     },\r
3459     {\r
3460         "id": "92e1736a.a036e",\r
3461         "type": "failure",\r
3462         "name": "failure",\r
3463         "xml": "<outcome value='failure'>\n",\r
3464         "comments": "",\r
3465         "outputs": 1,\r
3466         "x": 4136.56640625,\r
3467         "y": 2607.4856567382812,\r
3468         "z": "df66c4ba.dc49d",\r
3469         "wires": [\r
3470             [\r
3471                 "d5ecd5d7.ea0b88"\r
3472             ]\r
3473         ]\r
3474     },\r
3475     {\r
3476         "id": "b3d3b1a9.2b5fb",\r
3477         "type": "returnFailure",\r
3478         "name": "return failure",\r
3479         "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
3480         "comments": "",\r
3481         "x": 4303.62890625,\r
3482         "y": 2562.3453979492188,\r
3483         "z": "df66c4ba.dc49d",\r
3484         "wires": []\r
3485     },\r
3486     {\r
3487         "id": "d5ecd5d7.ea0b88",\r
3488         "type": "returnFailure",\r
3489         "name": "return failure",\r
3490         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3491         "comments": "",\r
3492         "x": 4304.56640625,\r
3493         "y": 2607.4856567382812,\r
3494         "z": "df66c4ba.dc49d",\r
3495         "wires": []\r
3496     },\r
3497     {\r
3498         "id": "70cc9613.b0a74",\r
3499         "type": "block",\r
3500         "name": "block : atomic",\r
3501         "xml": "<block atomic=\"true\">",\r
3502         "atomic": "true",\r
3503         "outputs": 1,\r
3504         "x": 4301.56640625,\r
3505         "y": 2657.4857177734375,\r
3506         "z": "df66c4ba.dc49d",\r
3507         "wires": [\r
3508             [\r
3509                 "b767bcd4.bb2b6",\r
3510                 "9cf7d79b.0475e8"\r
3511             ]\r
3512         ]\r
3513     },\r
3514     {\r
3515         "id": "8e888721.2a9c48",\r
3516         "type": "success",\r
3517         "name": "success",\r
3518         "xml": "<outcome value='success'>\n",\r
3519         "comments": "",\r
3520         "outputs": 1,\r
3521         "x": 4132.56640625,\r
3522         "y": 2657.4857177734375,\r
3523         "z": "df66c4ba.dc49d",\r
3524         "wires": [\r
3525             [\r
3526                 "70cc9613.b0a74"\r
3527             ]\r
3528         ]\r
3529     },\r
3530     {\r
3531         "id": "b767bcd4.bb2b6",\r
3532         "type": "set",\r
3533         "name": "set new bw",\r
3534         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
3535         "comments": "",\r
3536         "x": 4483.567138671875,\r
3537         "y": 2599.4857177734375,\r
3538         "z": "df66c4ba.dc49d",\r
3539         "wires": []\r
3540     },\r
3541     {\r
3542         "id": "f9bbca0d.1c46f8",\r
3543         "type": "comment",\r
3544         "name": "Delete LEAF UNI",\r
3545         "info": "",\r
3546         "comments": "",\r
3547         "x": 3831.88330078125,\r
3548         "y": 2437.2857055664062,\r
3549         "z": "df66c4ba.dc49d",\r
3550         "wires": []\r
3551     },\r
3552     {\r
3553         "id": "e994ec3a.2da648",\r
3554         "type": "set",\r
3555         "name": "set current-provider-id and current-cvlan-id",\r
3556         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\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`' />-->",\r
3557         "comments": "",\r
3558         "x": 3311.749969482422,\r
3559         "y": 3769.8858032226562,\r
3560         "z": "df66c4ba.dc49d",\r
3561         "wires": []\r
3562     },\r
3563     {\r
3564         "id": "fbbab64f.85fdd8",\r
3565         "type": "call",\r
3566         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
3567         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
3568         "comments": "",\r
3569         "outputs": 1,\r
3570         "x": 3444.749969482422,\r
3571         "y": 3817.8858032226562,\r
3572         "z": "df66c4ba.dc49d",\r
3573         "wires": [\r
3574             []\r
3575         ]\r
3576     },\r
3577     {\r
3578         "id": "33b02c47.fcccbc",\r
3579         "type": "switchNode",\r
3580         "name": "switch found-connectivity?",\r
3581         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
3582         "comments": "",\r
3583         "outputs": 1,\r
3584         "x": 3266.749969482422,\r
3585         "y": 3869.6858520507812,\r
3586         "z": "df66c4ba.dc49d",\r
3587         "wires": [\r
3588             [\r
3589                 "6fdf1010.01d5e",\r
3590                 "10c0f7ca.be20e"\r
3591             ]\r
3592         ]\r
3593     },\r
3594     {\r
3595         "id": "6fdf1010.01d5e",\r
3596         "type": "outcomeFalse",\r
3597         "name": "false",\r
3598         "xml": "<outcome value='false'>\n",\r
3599         "comments": "",\r
3600         "outputs": 1,\r
3601         "x": 3459.749969482422,\r
3602         "y": 3870.6858520507812,\r
3603         "z": "df66c4ba.dc49d",\r
3604         "wires": [\r
3605             [\r
3606                 "7864f46c.db26a4"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "7864f46c.db26a4",\r
3612         "type": "returnFailure",\r
3613         "name": "return failure",\r
3614         "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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
3615         "comments": "",\r
3616         "x": 3603.749969482422,\r
3617         "y": 3866.8858032226562,\r
3618         "z": "df66c4ba.dc49d",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "10c0f7ca.be20e",\r
3623         "type": "outcomeTrue",\r
3624         "name": "true",\r
3625         "xml": "<outcome value='true'>\n",\r
3626         "comments": "",\r
3627         "outputs": 1,\r
3628         "x": 3463.749969482422,\r
3629         "y": 3914.6858520507812,\r
3630         "z": "df66c4ba.dc49d",\r
3631         "wires": [\r
3632             [\r
3633                 "8add2f88.61a8b8"\r
3634             ]\r
3635         ]\r
3636     },\r
3637     {\r
3638         "id": "8add2f88.61a8b8",\r
3639         "type": "block",\r
3640         "name": "block : atomic",\r
3641         "xml": "<block atomic='true'>",\r
3642         "atomic": "true",\r
3643         "comments": "",\r
3644         "outputs": 1,\r
3645         "x": 3602.749969482422,\r
3646         "y": 3909.6858520507812,\r
3647         "z": "df66c4ba.dc49d",\r
3648         "wires": [\r
3649             [\r
3650                 "9b6852b0.a93d98",\r
3651                 "b900318c.bfd908",\r
3652                 "4cb0c066.1db128"\r
3653             ]\r
3654         ]\r
3655     },\r
3656     {\r
3657         "id": "9b6852b0.a93d98",\r
3658         "type": "for",\r
3659         "name": "for each relationship",\r
3660         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
3661         "comments": "",\r
3662         "outputs": 1,\r
3663         "x": 3853.149627685547,\r
3664         "y": 3918.2024536132812,\r
3665         "z": "df66c4ba.dc49d",\r
3666         "wires": [\r
3667             [\r
3668                 "54f58bcc.441714"\r
3669             ]\r
3670         ]\r
3671     },\r
3672     {\r
3673         "id": "54f58bcc.441714",\r
3674         "type": "switchNode",\r
3675         "name": "switch related-to",\r
3676         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
3677         "comments": "",\r
3678         "outputs": 1,\r
3679         "x": 4075.149627685547,\r
3680         "y": 3896.2024536132812,\r
3681         "z": "df66c4ba.dc49d",\r
3682         "wires": [\r
3683             [\r
3684                 "7083e1.a84c342"\r
3685             ]\r
3686         ]\r
3687     },\r
3688     {\r
3689         "id": "7083e1.a84c342",\r
3690         "type": "outcome",\r
3691         "name": "uni",\r
3692         "xml": "<outcome value='uni'>\n",\r
3693         "comments": "",\r
3694         "outputs": 1,\r
3695         "x": 4235.149139404297,\r
3696         "y": 3876.2024536132812,\r
3697         "z": "df66c4ba.dc49d",\r
3698         "wires": [\r
3699             [\r
3700                 "94bd3415.1f22d8"\r
3701             ]\r
3702         ]\r
3703     },\r
3704     {\r
3705         "id": "c56c894c.5bdb1",\r
3706         "type": "block",\r
3707         "name": "block : atomic",\r
3708         "xml": "<block atomic=\"true\">",\r
3709         "atomic": "true",\r
3710         "outputs": 1,\r
3711         "x": 4388.149658203125,\r
3712         "y": 3857.2024841308594,\r
3713         "z": "df66c4ba.dc49d",\r
3714         "wires": [\r
3715             [\r
3716                 "b6fdc844.b0e6b",\r
3717                 "1a640b2c.739935"\r
3718             ]\r
3719         ]\r
3720     },\r
3721     {\r
3722         "id": "b6fdc844.b0e6b",\r
3723         "type": "set",\r
3724         "name": "set tmp.stillHasUni to TRUE",\r
3725         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
3726         "comments": "",\r
3727         "x": 4584.649871826172,\r
3728         "y": 3825.2857055664062,\r
3729         "z": "df66c4ba.dc49d",\r
3730         "wires": []\r
3731     },\r
3732     {\r
3733         "id": "b900318c.bfd908",\r
3734         "type": "set",\r
3735         "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
3736         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
3737         "comments": "",\r
3738         "x": 3959.64990234375,\r
3739         "y": 3837.2857360839844,\r
3740         "z": "df66c4ba.dc49d",\r
3741         "wires": []\r
3742     },\r
3743     {\r
3744         "id": "4cb0c066.1db128",\r
3745         "type": "switchNode",\r
3746         "name": "switch tmp.keepVPNBs?",\r
3747         "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
3748         "comments": "",\r
3749         "outputs": 1,\r
3750         "x": 3767.64990234375,\r
3751         "y": 4258.285980224609,\r
3752         "z": "df66c4ba.dc49d",\r
3753         "wires": [\r
3754             [\r
3755                 "ae543eb1.206b4",\r
3756                 "219c19f6.cbd26e"\r
3757             ]\r
3758         ]\r
3759     },\r
3760     {\r
3761         "id": "1a640b2c.739935",\r
3762         "type": "break",\r
3763         "name": "break",\r
3764         "xml": "<break>\n",\r
3765         "comments": "",\r
3766         "x": 4552.88330078125,\r
3767         "y": 3893.2857360839844,\r
3768         "z": "df66c4ba.dc49d",\r
3769         "wires": []\r
3770     },\r
3771     {\r
3772         "id": "219c19f6.cbd26e",\r
3773         "type": "outcomeFalse",\r
3774         "name": "false",\r
3775         "xml": "<outcome value='false'>\n",\r
3776         "comments": "",\r
3777         "outputs": 1,\r
3778         "x": 154.65066528320312,\r
3779         "y": 5322.286224365234,\r
3780         "z": "df66c4ba.dc49d",\r
3781         "wires": [\r
3782             [\r
3783                 "2520c605.40a22a"\r
3784             ]\r
3785         ]\r
3786     },\r
3787     {\r
3788         "id": "ae543eb1.206b4",\r
3789         "type": "outcomeTrue",\r
3790         "name": "true",\r
3791         "xml": "<outcome value='true'>\n",\r
3792         "comments": "",\r
3793         "outputs": 1,\r
3794         "x": 3988.650634765625,\r
3795         "y": 4360.285980224609,\r
3796         "z": "df66c4ba.dc49d",\r
3797         "wires": [\r
3798             [\r
3799                 "8fd13dc7.dbef3"\r
3800             ]\r
3801         ]\r
3802     },\r
3803     {\r
3804         "id": "8fd13dc7.dbef3",\r
3805         "type": "block",\r
3806         "name": "block",\r
3807         "xml": "<block>",\r
3808         "atomic": "false",\r
3809         "comments": "",\r
3810         "outputs": 1,\r
3811         "x": 4131.650634765625,\r
3812         "y": 4356.285980224609,\r
3813         "z": "df66c4ba.dc49d",\r
3814         "wires": [\r
3815             [\r
3816                 "6c48a46d.6b2974",\r
3817                 "de8af5e.f07e288",\r
3818                 "5285a28b.38c8dc",\r
3819                 "2212222d.1721a6",\r
3820                 "b943d622.b35cc",\r
3821                 "467c3bf.71cfdc4",\r
3822                 "cdd12e42.2ba1b8",\r
3823                 "7f0c132f.b1df44",\r
3824                 "dc36b830.307698"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "86b26306.89d478",\r
3830         "type": "comment",\r
3831         "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
3832         "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
3833         "comments": "",\r
3834         "x": 181,\r
3835         "y": 5278.286224365234,\r
3836         "z": "df66c4ba.dc49d",\r
3837         "wires": []\r
3838     },\r
3839     {\r
3840         "id": "10b960d7.987777",\r
3841         "type": "comment",\r
3842         "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
3843         "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
3844         "comments": "",\r
3845         "x": 4007.884033203125,\r
3846         "y": 4323.285980224609,\r
3847         "z": "df66c4ba.dc49d",\r
3848         "wires": []\r
3849     },\r
3850     {\r
3851         "id": "e29766c.069bc98",\r
3852         "type": "set",\r
3853         "name": "set srcTtp OTN layer",\r
3854         "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
3855         "comments": "",\r
3856         "x": 4820.667724609375,\r
3857         "y": 4514.069427490234,\r
3858         "z": "df66c4ba.dc49d",\r
3859         "wires": []\r
3860     },\r
3861     {\r
3862         "id": "70e9715b.943958",\r
3863         "type": "switchNode",\r
3864         "name": "switch provider-id domainA",\r
3865         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
3866         "comments": "",\r
3867         "outputs": 1,\r
3868         "x": 5165.667724609375,\r
3869         "y": 4376.069427490234,\r
3870         "z": "df66c4ba.dc49d",\r
3871         "wires": [\r
3872             [\r
3873                 "6e757b83.cb351c"\r
3874             ]\r
3875         ]\r
3876     },\r
3877     {\r
3878         "id": "b42b3ac.1b570c8",\r
3879         "type": "for",\r
3880         "name": "for netwidx..allNetworksList_length",\r
3881         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
3882         "comments": "",\r
3883         "outputs": 1,\r
3884         "x": 4872.667724609375,\r
3885         "y": 4370.069427490234,\r
3886         "z": "df66c4ba.dc49d",\r
3887         "wires": [\r
3888             [\r
3889                 "70e9715b.943958"\r
3890             ]\r
3891         ]\r
3892     },\r
3893     {\r
3894         "id": "b4fe4da5.f121d",\r
3895         "type": "not-found",\r
3896         "name": "not-found",\r
3897         "xml": "<outcome value='not-found'>\n",\r
3898         "comments": "",\r
3899         "outputs": 1,\r
3900         "x": 5127.667724609375,\r
3901         "y": 4327.069427490234,\r
3902         "z": "df66c4ba.dc49d",\r
3903         "wires": [\r
3904             []\r
3905         ]\r
3906     },\r
3907     {\r
3908         "id": "574f0028.fbd13",\r
3909         "type": "set",\r
3910         "name": "unset parameters",\r
3911         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
3912         "comments": "",\r
3913         "x": 4816.667724609375,\r
3914         "y": 4422.069427490234,\r
3915         "z": "df66c4ba.dc49d",\r
3916         "wires": []\r
3917     },\r
3918     {\r
3919         "id": "d130fc75.80466",\r
3920         "type": "set",\r
3921         "name": "set tmp.pce-src-node",\r
3922         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' 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<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' 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                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
3923         "comments": "",\r
3924         "x": 4824.667724609375,\r
3925         "y": 4467.069427490234,\r
3926         "z": "df66c4ba.dc49d",\r
3927         "wires": []\r
3928     },\r
3929     {\r
3930         "id": "84c9d585.1543d",\r
3931         "type": "set",\r
3932         "name": "unset otnTopoIdSrc",\r
3933         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
3934         "comments": "",\r
3935         "x": 4821.667724609375,\r
3936         "y": 4320.069427490234,\r
3937         "z": "df66c4ba.dc49d",\r
3938         "wires": []\r
3939     },\r
3940     {\r
3941         "id": "6e757b83.cb351c",\r
3942         "type": "outcomeTrue",\r
3943         "name": "true",\r
3944         "xml": "<outcome value='true'>\n",\r
3945         "comments": "",\r
3946         "outputs": 1,\r
3947         "x": 5074.667724609375,\r
3948         "y": 4444.069427490234,\r
3949         "z": "df66c4ba.dc49d",\r
3950         "wires": [\r
3951             [\r
3952                 "c54be700.be4fd"\r
3953             ]\r
3954         ]\r
3955     },\r
3956     {\r
3957         "id": "c54be700.be4fd",\r
3958         "type": "switchNode",\r
3959         "name": "switch te-topo-id",\r
3960         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
3961         "comments": "",\r
3962         "outputs": 1,\r
3963         "x": 5259.667724609375,\r
3964         "y": 4443.069427490234,\r
3965         "z": "df66c4ba.dc49d",\r
3966         "wires": [\r
3967             [\r
3968                 "820246eb.c84c18"\r
3969             ]\r
3970         ]\r
3971     },\r
3972     {\r
3973         "id": "820246eb.c84c18",\r
3974         "type": "outcomeTrue",\r
3975         "name": "true",\r
3976         "xml": "<outcome value='true'>\n",\r
3977         "comments": "",\r
3978         "outputs": 1,\r
3979         "x": 5451.667724609375,\r
3980         "y": 4446.069427490234,\r
3981         "z": "df66c4ba.dc49d",\r
3982         "wires": [\r
3983             [\r
3984                 "3a1b08b9.047658"\r
3985             ]\r
3986         ]\r
3987     },\r
3988     {\r
3989         "id": "3a1b08b9.047658",\r
3990         "type": "set",\r
3991         "name": "set otnTopoIdSrc",\r
3992         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3993         "comments": "",\r
3994         "x": 5623.667724609375,\r
3995         "y": 4442.069427490234,\r
3996         "z": "df66c4ba.dc49d",\r
3997         "wires": []\r
3998     },\r
3999     {\r
4000         "id": "c9b94557.850d48",\r
4001         "type": "call",\r
4002         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
4003         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4004         "comments": "",\r
4005         "outputs": 1,\r
4006         "x": 4999.667724609375,\r
4007         "y": 4557.069427490234,\r
4008         "z": "df66c4ba.dc49d",\r
4009         "wires": [\r
4010             []\r
4011         ]\r
4012     },\r
4013     {\r
4014         "id": "6c48a46d.6b2974",\r
4015         "type": "block",\r
4016         "name": "block",\r
4017         "xml": "<block>\n",\r
4018         "atomic": "false",\r
4019         "comments": "",\r
4020         "outputs": 1,\r
4021         "x": 4516.667724609375,\r
4022         "y": 4342.069427490234,\r
4023         "z": "df66c4ba.dc49d",\r
4024         "wires": [\r
4025             [\r
4026                 "2a754e6c.bbb83a",\r
4027                 "94fc5eb6.895cc",\r
4028                 "574f0028.fbd13",\r
4029                 "d130fc75.80466",\r
4030                 "e29766c.069bc98",\r
4031                 "b42b3ac.1b570c8",\r
4032                 "c9b94557.850d48"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "cd78afa3.c104f8",\r
4038         "type": "comment",\r
4039         "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4040         "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4041         "comments": "",\r
4042         "x": 4501.667724609375,\r
4043         "y": 4276.069427490234,\r
4044         "z": "df66c4ba.dc49d",\r
4045         "wires": []\r
4046     },\r
4047     {\r
4048         "id": "94fc5eb6.895cc",\r
4049         "type": "get-resource",\r
4050         "name": "get-resource network-resources-list",\r
4051         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
4052         "comments": "",\r
4053         "outputs": 1,\r
4054         "x": 4880.667724609375,\r
4055         "y": 4263.069427490234,\r
4056         "z": "df66c4ba.dc49d",\r
4057         "wires": [\r
4058             [\r
4059                 "17a57be5.3979b4",\r
4060                 "670b39d7.0b3ba",\r
4061                 "b4fe4da5.f121d"\r
4062             ]\r
4063         ]\r
4064     },\r
4065     {\r
4066         "id": "17a57be5.3979b4",\r
4067         "type": "success",\r
4068         "name": "success",\r
4069         "xml": "<outcome value='success'>\n",\r
4070         "comments": "",\r
4071         "outputs": 1,\r
4072         "x": 5116.667724609375,\r
4073         "y": 4246.069427490234,\r
4074         "z": "df66c4ba.dc49d",\r
4075         "wires": [\r
4076             []\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "670b39d7.0b3ba",\r
4081         "type": "other",\r
4082         "name": "other",\r
4083         "xml": "<outcome value='Other'>\n",\r
4084         "comments": "",\r
4085         "outputs": 1,\r
4086         "x": 5113.667724609375,\r
4087         "y": 4287.069427490234,\r
4088         "z": "df66c4ba.dc49d",\r
4089         "wires": [\r
4090             []\r
4091         ]\r
4092     },\r
4093     {\r
4094         "id": "2a754e6c.bbb83a",\r
4095         "type": "set",\r
4096         "name": "unset parameters",\r
4097         "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4098         "comments": "",\r
4099         "x": 4829.667724609375,\r
4100         "y": 4220.069427490234,\r
4101         "z": "df66c4ba.dc49d",\r
4102         "wires": []\r
4103     },\r
4104     {\r
4105         "id": "de8af5e.f07e288",\r
4106         "type": "set",\r
4107         "name": "unset tmp.aai.all-vpn-bindings",\r
4108         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
4109         "comments": "",\r
4110         "x": 4336.667724609375,\r
4111         "y": 4674.469329833984,\r
4112         "z": "df66c4ba.dc49d",\r
4113         "wires": []\r
4114     },\r
4115     {\r
4116         "id": "afb6c845.26534",\r
4117         "type": "comment",\r
4118         "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
4119         "info": "",\r
4120         "comments": "",\r
4121         "x": 4459.968017578125,\r
4122         "y": 4713.469329833984,\r
4123         "z": "df66c4ba.dc49d",\r
4124         "wires": []\r
4125     },\r
4126     {\r
4127         "id": "5285a28b.38c8dc",\r
4128         "type": "save",\r
4129         "name": "get all-vpn-bindings from aai",\r
4130         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
4131         "comments": "",\r
4132         "outputs": 1,\r
4133         "x": 4357.968017578125,\r
4134         "y": 4748.469329833984,\r
4135         "z": "df66c4ba.dc49d",\r
4136         "wires": [\r
4137             [\r
4138                 "c3de387c.6460a",\r
4139                 "b57ba7f8.c1c99",\r
4140                 "9da86502.5d643"\r
4141             ]\r
4142         ]\r
4143     },\r
4144     {\r
4145         "id": "c3de387c.6460a",\r
4146         "type": "success",\r
4147         "name": "success",\r
4148         "xml": "<outcome value='success'>\n",\r
4149         "comments": "",\r
4150         "outputs": 1,\r
4151         "x": 4562.968017578125,\r
4152         "y": 4745.469329833984,\r
4153         "z": "df66c4ba.dc49d",\r
4154         "wires": [\r
4155             [\r
4156                 "4e1f19c.9621d68"\r
4157             ]\r
4158         ]\r
4159     },\r
4160     {\r
4161         "id": "b57ba7f8.c1c99",\r
4162         "type": "not-found",\r
4163         "name": "not-found",\r
4164         "xml": "<outcome value='not-found'>\n",\r
4165         "comments": "",\r
4166         "outputs": 1,\r
4167         "x": 4546.458984375,\r
4168         "y": 4807.043365478516,\r
4169         "z": "df66c4ba.dc49d",\r
4170         "wires": [\r
4171             [\r
4172                 "ec0e24f9.a11f7"\r
4173             ]\r
4174         ]\r
4175     },\r
4176     {\r
4177         "id": "9da86502.5d643",\r
4178         "type": "failure",\r
4179         "name": "failure",\r
4180         "xml": "<outcome value='failure'>\n",\r
4181         "comments": "",\r
4182         "outputs": 1,\r
4183         "x": 4543.968017578125,\r
4184         "y": 4850.469329833984,\r
4185         "z": "df66c4ba.dc49d",\r
4186         "wires": [\r
4187             [\r
4188                 "182c3589.c7acda"\r
4189             ]\r
4190         ]\r
4191     },\r
4192     {\r
4193         "id": "4e1f19c.9621d68",\r
4194         "type": "block",\r
4195         "name": "block : atomic",\r
4196         "xml": "<block atomic=\"true\">",\r
4197         "atomic": "true",\r
4198         "outputs": 1,\r
4199         "x": 4730.96826171875,\r
4200         "y": 4740.469329833984,\r
4201         "z": "df66c4ba.dc49d",\r
4202         "wires": [\r
4203             [\r
4204                 "af4afceb.006698"\r
4205             ]\r
4206         ]\r
4207     },\r
4208     {\r
4209         "id": "ec0e24f9.a11f7",\r
4210         "type": "returnFailure",\r
4211         "name": "return failure",\r
4212         "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
4213         "comments": "",\r
4214         "x": 4709.0303955078125,\r
4215         "y": 4807.3291015625,\r
4216         "z": "df66c4ba.dc49d",\r
4217         "wires": []\r
4218     },\r
4219     {\r
4220         "id": "182c3589.c7acda",\r
4221         "type": "returnFailure",\r
4222         "name": "return failure",\r
4223         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4224         "comments": "",\r
4225         "x": 4710.968017578125,\r
4226         "y": 4849.469329833984,\r
4227         "z": "df66c4ba.dc49d",\r
4228         "wires": []\r
4229     },\r
4230     {\r
4231         "id": "af4afceb.006698",\r
4232         "type": "for",\r
4233         "name": "for vpnidx in all-vpn-bindings",\r
4234         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4235         "comments": "",\r
4236         "outputs": 1,\r
4237         "x": 4968.96826171875,\r
4238         "y": 4745.469329833984,\r
4239         "z": "df66c4ba.dc49d",\r
4240         "wires": [\r
4241             [\r
4242                 "31f75628.5330d2"\r
4243             ]\r
4244         ]\r
4245     },\r
4246     {\r
4247         "id": "31f75628.5330d2",\r
4248         "type": "block",\r
4249         "name": "block : atomic",\r
4250         "xml": "<block atomic='true'>",\r
4251         "atomic": "true",\r
4252         "comments": "",\r
4253         "outputs": 1,\r
4254         "x": 5202.968017578125,\r
4255         "y": 4752.469329833984,\r
4256         "z": "df66c4ba.dc49d",\r
4257         "wires": [\r
4258             [\r
4259                 "ceae5964.7d9d38"\r
4260             ]\r
4261         ]\r
4262     },\r
4263     {\r
4264         "id": "b40ed0f.db80e3",\r
4265         "type": "comment",\r
4266         "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4267         "info": "",\r
4268         "comments": "",\r
4269         "x": 5119.783935546875,\r
4270         "y": 4823.635650634766,\r
4271         "z": "df66c4ba.dc49d",\r
4272         "wires": []\r
4273     },\r
4274     {\r
4275         "id": "ceae5964.7d9d38",\r
4276         "type": "switchNode",\r
4277         "name": "switch ops-note is srcTtpOtnLayer",\r
4278         "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4279         "comments": "",\r
4280         "outputs": 1,\r
4281         "x": 5063.783935546875,\r
4282         "y": 4872.635650634766,\r
4283         "z": "df66c4ba.dc49d",\r
4284         "wires": [\r
4285             [\r
4286                 "5a8ad6ff.27624",\r
4287                 "4b278311.73bb1c"\r
4288             ]\r
4289         ]\r
4290     },\r
4291     {\r
4292         "id": "4b278311.73bb1c",\r
4293         "type": "outcomeFalse",\r
4294         "name": "false",\r
4295         "xml": "<outcome value='false'>\n",\r
4296         "comments": "",\r
4297         "outputs": 1,\r
4298         "x": 5306.784423828125,\r
4299         "y": 4913.635162353516,\r
4300         "z": "df66c4ba.dc49d",\r
4301         "wires": [\r
4302             []\r
4303         ]\r
4304     },\r
4305     {\r
4306         "id": "5a8ad6ff.27624",\r
4307         "type": "outcomeTrue",\r
4308         "name": "true",\r
4309         "xml": "<outcome value='true'>\n",\r
4310         "comments": "",\r
4311         "outputs": 1,\r
4312         "x": 5317.7841796875,\r
4313         "y": 4870.6353759765625,\r
4314         "z": "df66c4ba.dc49d",\r
4315         "wires": [\r
4316             [\r
4317                 "e95ba342.193f38"\r
4318             ]\r
4319         ]\r
4320     },\r
4321     {\r
4322         "id": "9b07993f.50303",\r
4323         "type": "block",\r
4324         "name": "block : atomic",\r
4325         "xml": "<block atomic='true'>",\r
4326         "atomic": "true",\r
4327         "comments": "",\r
4328         "outputs": 1,\r
4329         "x": 5544.767578125,\r
4330         "y": 4878.0518798828125,\r
4331         "z": "df66c4ba.dc49d",\r
4332         "wires": [\r
4333             [\r
4334                 "574e2cd3.b5ba0c",\r
4335                 "e0ae9339.0aa92",\r
4336                 "e02f1f89.ad2d2"\r
4337             ]\r
4338         ]\r
4339     },\r
4340     {\r
4341         "id": "c3321d25.6b65f",\r
4342         "type": "for",\r
4343         "name": "for each relationship",\r
4344         "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
4345         "comments": "",\r
4346         "outputs": 1,\r
4347         "x": 5709.8173828125,\r
4348         "y": 4763.052337646484,\r
4349         "z": "df66c4ba.dc49d",\r
4350         "wires": [\r
4351             [\r
4352                 "88b3d964.1a518"\r
4353             ]\r
4354         ]\r
4355     },\r
4356     {\r
4357         "id": "88b3d964.1a518",\r
4358         "type": "switchNode",\r
4359         "name": "switch related-to",\r
4360         "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
4361         "comments": "",\r
4362         "outputs": 1,\r
4363         "x": 5901.8173828125,\r
4364         "y": 4752.052581787109,\r
4365         "z": "df66c4ba.dc49d",\r
4366         "wires": [\r
4367             [\r
4368                 "949f67cc.1ebd"\r
4369             ]\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "574e2cd3.b5ba0c",\r
4374         "type": "set",\r
4375         "name": "unset tmp.aai.the-vpn-binding",\r
4376         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4377         "comments": "",\r
4378         "x": 5658.334228515625,\r
4379         "y": 4653.269378662109,\r
4380         "z": "df66c4ba.dc49d",\r
4381         "wires": []\r
4382     },\r
4383     {\r
4384         "id": "e0ae9339.0aa92",\r
4385         "type": "set",\r
4386         "name": "set tmp.aai.the-vpn-binding",\r
4387         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4388         "comments": "",\r
4389         "x": 5650.334228515625,\r
4390         "y": 4702.269378662109,\r
4391         "z": "df66c4ba.dc49d",\r
4392         "wires": []\r
4393     },\r
4394     {\r
4395         "id": "e02f1f89.ad2d2",\r
4396         "type": "save",\r
4397         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4398         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
4399         "comments": "",\r
4400         "outputs": 1,\r
4401         "x": 5881.751220703125,\r
4402         "y": 4883.435394287109,\r
4403         "z": "df66c4ba.dc49d",\r
4404         "wires": [\r
4405             []\r
4406         ]\r
4407     },\r
4408     {\r
4409         "id": "2481a087.0bf1c",\r
4410         "type": "save",\r
4411         "name": "update connectivity resource in AAI",\r
4412         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
4413         "comments": "",\r
4414         "outputs": 1,\r
4415         "x": 5833.401123046875,\r
4416         "y": 4930.752288818359,\r
4417         "z": "df66c4ba.dc49d",\r
4418         "wires": [\r
4419             []\r
4420         ]\r
4421     },\r
4422     {\r
4423         "id": "f95d52e7.62b688",\r
4424         "type": "comment",\r
4425         "name": "decrease the bw of the-vpn-binding and change status to modified",\r
4426         "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
4427         "comments": "",\r
4428         "x": 5905.751220703125,\r
4429         "y": 4844.435394287109,\r
4430         "z": "df66c4ba.dc49d",\r
4431         "wires": []\r
4432     },\r
4433     {\r
4434         "id": "949f67cc.1ebd",\r
4435         "type": "outcome",\r
4436         "name": "connectivity",\r
4437         "xml": "<outcome value='connectivity'>\n",\r
4438         "comments": "",\r
4439         "outputs": 1,\r
4440         "x": 6083.8173828125,\r
4441         "y": 4731.052581787109,\r
4442         "z": "df66c4ba.dc49d",\r
4443         "wires": [\r
4444             [\r
4445                 "121ace63.3c455a"\r
4446             ]\r
4447         ]\r
4448     },\r
4449     {\r
4450         "id": "121ace63.3c455a",\r
4451         "type": "block",\r
4452         "name": "block : atomic",\r
4453         "xml": "<block atomic=\"true\">",\r
4454         "atomic": "true",\r
4455         "outputs": 1,\r
4456         "x": 6245.8173828125,\r
4457         "y": 4720.052581787109,\r
4458         "z": "df66c4ba.dc49d",\r
4459         "wires": [\r
4460             [\r
4461                 "776f73a4.7e64dc",\r
4462                 "1667f272.dd2c96"\r
4463             ]\r
4464         ]\r
4465     },\r
4466     {\r
4467         "id": "776f73a4.7e64dc",\r
4468         "type": "set",\r
4469         "name": "unset tmp.the-connectivity",\r
4470         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
4471         "comments": "",\r
4472         "x": 6442.8173828125,\r
4473         "y": 4649.052581787109,\r
4474         "z": "df66c4ba.dc49d",\r
4475         "wires": []\r
4476     },\r
4477     {\r
4478         "id": "1667f272.dd2c96",\r
4479         "type": "set",\r
4480         "name": "set tmp.the-connectivity",\r
4481         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
4482         "comments": "",\r
4483         "x": 6440.2841796875,\r
4484         "y": 4748.269378662109,\r
4485         "z": "df66c4ba.dc49d",\r
4486         "wires": []\r
4487     },\r
4488     {\r
4489         "id": "7162acbd.73776c",\r
4490         "type": "call",\r
4491         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
4492         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
4493         "comments": "",\r
4494         "outputs": 1,\r
4495         "x": 3097.800048828125,\r
4496         "y": 3207.0857849121094,\r
4497         "z": "df66c4ba.dc49d",\r
4498         "wires": [\r
4499             []\r
4500         ]\r
4501     },\r
4502     {\r
4503         "id": "2683d5ea.5fda52",\r
4504         "type": "switchNode",\r
4505         "name": "switch found-middle-man?",\r
4506         "xml": "<switch test='`$found-middle-man`'>\n",\r
4507         "comments": "",\r
4508         "outputs": 1,\r
4509         "x": 2974.800048828125,\r
4510         "y": 3317.0857849121094,\r
4511         "z": "df66c4ba.dc49d",\r
4512         "wires": [\r
4513             [\r
4514                 "111b3018.d0a418",\r
4515                 "b6f13f54.b0b718"\r
4516             ]\r
4517         ]\r
4518     },\r
4519     {\r
4520         "id": "111b3018.d0a418",\r
4521         "type": "outcomeFalse",\r
4522         "name": "false",\r
4523         "xml": "<outcome value='false'>\n",\r
4524         "comments": "",\r
4525         "outputs": 1,\r
4526         "x": 3158.800048828125,\r
4527         "y": 3296.0857849121094,\r
4528         "z": "df66c4ba.dc49d",\r
4529         "wires": [\r
4530             [\r
4531                 "d9364482.82062"\r
4532             ]\r
4533         ]\r
4534     },\r
4535     {\r
4536         "id": "d9364482.82062",\r
4537         "type": "block",\r
4538         "name": "block : atomic",\r
4539         "xml": "<block atomic='true'>",\r
4540         "atomic": "true",\r
4541         "comments": "",\r
4542         "outputs": 1,\r
4543         "x": 3301.800048828125,\r
4544         "y": 3296.0857849121094,\r
4545         "z": "df66c4ba.dc49d",\r
4546         "wires": [\r
4547             [\r
4548                 "cf188c9f.ecc3c8"\r
4549             ]\r
4550         ]\r
4551     },\r
4552     {\r
4553         "id": "cf188c9f.ecc3c8",\r
4554         "type": "returnFailure",\r
4555         "name": "return failure",\r
4556         "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=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
4557         "comments": "",\r
4558         "x": 3477.800048828125,\r
4559         "y": 3294.0857849121094,\r
4560         "z": "df66c4ba.dc49d",\r
4561         "wires": []\r
4562     },\r
4563     {\r
4564         "id": "b6f13f54.b0b718",\r
4565         "type": "outcomeTrue",\r
4566         "name": "true",\r
4567         "xml": "<outcome value='true'>\n",\r
4568         "comments": "",\r
4569         "outputs": 1,\r
4570         "x": 3156.800048828125,\r
4571         "y": 3351.0857849121094,\r
4572         "z": "df66c4ba.dc49d",\r
4573         "wires": [\r
4574             [\r
4575                 "fa2c2e9e.fbd89"\r
4576             ]\r
4577         ]\r
4578     },\r
4579     {\r
4580         "id": "fa2c2e9e.fbd89",\r
4581         "type": "block",\r
4582         "name": "block : atomic",\r
4583         "xml": "<block atomic='true'>",\r
4584         "atomic": "true",\r
4585         "comments": "",\r
4586         "outputs": 1,\r
4587         "x": 3003.800048828125,\r
4588         "y": 3484.0857849121094,\r
4589         "z": "df66c4ba.dc49d",\r
4590         "wires": [\r
4591             [\r
4592                 "e994ec3a.2da648",\r
4593                 "fbbab64f.85fdd8",\r
4594                 "33b02c47.fcccbc",\r
4595                 "e05b8262.c1f5c8",\r
4596                 "b8b4eeda.6b348",\r
4597                 "3a07e59d.95a52a"\r
4598             ]\r
4599         ]\r
4600     },\r
4601     {\r
4602         "id": "aa1b84fb.ddf7b",\r
4603         "type": "comment",\r
4604         "name": "Find LEAF connectivity",\r
4605         "info": "",\r
4606         "comments": "",\r
4607         "x": 3225.88330078125,\r
4608         "y": 3724.2857360839844,\r
4609         "z": "df66c4ba.dc49d",\r
4610         "wires": []\r
4611     },\r
4612     {\r
4613         "id": "e05b8262.c1f5c8",\r
4614         "type": "set",\r
4615         "name": "set tmp.MMstillHasUni to FALSE",\r
4616         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
4617         "comments": "",\r
4618         "x": 3308.333251953125,\r
4619         "y": 3497.0857849121094,\r
4620         "z": "df66c4ba.dc49d",\r
4621         "wires": []\r
4622     },\r
4623     {\r
4624         "id": "b8b4eeda.6b348",\r
4625         "type": "for",\r
4626         "name": "for each relationship of middle-man-conn",\r
4627         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
4628         "comments": "",\r
4629         "outputs": 1,\r
4630         "x": 3306.8330078125,\r
4631         "y": 3543.0025329589844,\r
4632         "z": "df66c4ba.dc49d",\r
4633         "wires": [\r
4634             [\r
4635                 "28597309.d39dac"\r
4636             ]\r
4637         ]\r
4638     },\r
4639     {\r
4640         "id": "28597309.d39dac",\r
4641         "type": "switchNode",\r
4642         "name": "switch related-to",\r
4643         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
4644         "comments": "",\r
4645         "outputs": 1,\r
4646         "x": 3569.8330078125,\r
4647         "y": 3538.0025329589844,\r
4648         "z": "df66c4ba.dc49d",\r
4649         "wires": [\r
4650             [\r
4651                 "d8dec514.e87428"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "d8dec514.e87428",\r
4657         "type": "outcome",\r
4658         "name": "uni",\r
4659         "xml": "<outcome value='uni'>\n",\r
4660         "comments": "",\r
4661         "outputs": 1,\r
4662         "x": 3729.83251953125,\r
4663         "y": 3518.0025329589844,\r
4664         "z": "df66c4ba.dc49d",\r
4665         "wires": [\r
4666             [\r
4667                 "5a2012d5.a1cef4"\r
4668             ]\r
4669         ]\r
4670     },\r
4671     {\r
4672         "id": "3416f94d.d55766",\r
4673         "type": "block",\r
4674         "name": "block : atomic",\r
4675         "xml": "<block atomic=\"true\">",\r
4676         "atomic": "true",\r
4677         "outputs": 1,\r
4678         "x": 5066.834228515625,\r
4679         "y": 3549.0025634765625,\r
4680         "z": "df66c4ba.dc49d",\r
4681         "wires": [\r
4682             [\r
4683                 "d47c10e5.abb1a",\r
4684                 "37972450.3f34e4",\r
4685                 "9d62dddf.19f4b"\r
4686             ]\r
4687         ]\r
4688     },\r
4689     {\r
4690         "id": "d47c10e5.abb1a",\r
4691         "type": "set",\r
4692         "name": "set tmp.MMstillHasUni to TRUE",\r
4693         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
4694         "comments": "",\r
4695         "x": 5306.334716796875,\r
4696         "y": 3498.0858154296875,\r
4697         "z": "df66c4ba.dc49d",\r
4698         "wires": []\r
4699     },\r
4700     {\r
4701         "id": "37972450.3f34e4",\r
4702         "type": "break",\r
4703         "name": "break",\r
4704         "xml": "<break>\n",\r
4705         "comments": "",\r
4706         "x": 5239.568145751953,\r
4707         "y": 3571.0858459472656,\r
4708         "z": "df66c4ba.dc49d",\r
4709         "wires": []\r
4710     },\r
4711     {\r
4712         "id": "81bb4a2a.7bc33",\r
4713         "type": "comment",\r
4714         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
4715         "info": "",\r
4716         "comments": "",\r
4717         "x": 4432.88427734375,\r
4718         "y": 5105.285980224609,\r
4719         "z": "df66c4ba.dc49d",\r
4720         "wires": []\r
4721     },\r
4722     {\r
4723         "id": "2212222d.1721a6",\r
4724         "type": "set",\r
4725         "name": "set tmp.leafconn.",\r
4726         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
4727         "comments": "",\r
4728         "x": 4331.317138671875,\r
4729         "y": 5157.202484130859,\r
4730         "z": "df66c4ba.dc49d",\r
4731         "wires": []\r
4732     },\r
4733     {\r
4734         "id": "cdd12e42.2ba1b8",\r
4735         "type": "call",\r
4736         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4737         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4738         "comments": "",\r
4739         "outputs": 1,\r
4740         "x": 4482.317138671875,\r
4741         "y": 5600.202484130859,\r
4742         "z": "df66c4ba.dc49d",\r
4743         "wires": [\r
4744             []\r
4745         ]\r
4746     },\r
4747     {\r
4748         "id": "7f0c132f.b1df44",\r
4749         "type": "switchNode",\r
4750         "name": "switch found-root-connectivity",\r
4751         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4752         "comments": "",\r
4753         "outputs": 1,\r
4754         "x": 4297.317138671875,\r
4755         "y": 5667.202484130859,\r
4756         "z": "df66c4ba.dc49d",\r
4757         "wires": [\r
4758             [\r
4759                 "926aab17.e275a",\r
4760                 "bc8bcaa1.d641e8"\r
4761             ]\r
4762         ]\r
4763     },\r
4764     {\r
4765         "id": "926aab17.e275a",\r
4766         "type": "outcomeTrue",\r
4767         "name": "true",\r
4768         "xml": "<outcome value='true'>\n",\r
4769         "comments": "",\r
4770         "outputs": 1,\r
4771         "x": 4562.317138671875,\r
4772         "y": 5652.202484130859,\r
4773         "z": "df66c4ba.dc49d",\r
4774         "wires": [\r
4775             [\r
4776                 "749c0d73.9fee4c"\r
4777             ]\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "bc8bcaa1.d641e8",\r
4782         "type": "outcomeFalse",\r
4783         "name": "false",\r
4784         "xml": "<outcome value='false'>\n",\r
4785         "comments": "",\r
4786         "outputs": 1,\r
4787         "x": 4558.317138671875,\r
4788         "y": 5700.202484130859,\r
4789         "z": "df66c4ba.dc49d",\r
4790         "wires": [\r
4791             [\r
4792                 "49001f8f.249f28"\r
4793             ]\r
4794         ]\r
4795     },\r
4796     {\r
4797         "id": "749c0d73.9fee4c",\r
4798         "type": "block",\r
4799         "name": "block : atomic",\r
4800         "xml": "<block atomic='true'>",\r
4801         "atomic": "true",\r
4802         "comments": "",\r
4803         "outputs": 1,\r
4804         "x": 4718.317138671875,\r
4805         "y": 5648.202484130859,\r
4806         "z": "df66c4ba.dc49d",\r
4807         "wires": [\r
4808             [\r
4809                 "17e137f7.f9138"\r
4810             ]\r
4811         ]\r
4812     },\r
4813     {\r
4814         "id": "49001f8f.249f28",\r
4815         "type": "returnFailure",\r
4816         "name": "return failure",\r
4817         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4818         "comments": "",\r
4819         "x": 4706.317138671875,\r
4820         "y": 5695.202484130859,\r
4821         "z": "df66c4ba.dc49d",\r
4822         "wires": []\r
4823     },\r
4824     {\r
4825         "id": "e9eb95a.e0ce568",\r
4826         "type": "set",\r
4827         "name": "set tmp.rootconn.",\r
4828         "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
4829         "comments": "",\r
4830         "x": 5138.3173828125,\r
4831         "y": 5590.202484130859,\r
4832         "z": "df66c4ba.dc49d",\r
4833         "wires": []\r
4834     },\r
4835     {\r
4836         "id": "7c03a888.d651",\r
4837         "type": "set",\r
4838         "name": "set pnf-name",\r
4839         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
4840         "comments": "",\r
4841         "x": 4540.734130859375,\r
4842         "y": 5186.486175537109,\r
4843         "z": "df66c4ba.dc49d",\r
4844         "wires": []\r
4845     },\r
4846     {\r
4847         "id": "b943d622.b35cc",\r
4848         "type": "block",\r
4849         "name": "block : atomic",\r
4850         "xml": "<block atomic=\"true\">",\r
4851         "atomic": "true",\r
4852         "outputs": 1,\r
4853         "x": 4311.734130859375,\r
4854         "y": 5275.486175537109,\r
4855         "z": "df66c4ba.dc49d",\r
4856         "wires": [\r
4857             [\r
4858                 "7c03a888.d651",\r
4859                 "741f789d.c1701"\r
4860             ]\r
4861         ]\r
4862     },\r
4863     {\r
4864         "id": "741f789d.c1701",\r
4865         "type": "get-resource",\r
4866         "name": "get-resource src pnf",\r
4867         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4868         "comments": "",\r
4869         "outputs": 1,\r
4870         "x": 4547.734130859375,\r
4871         "y": 5268.486175537109,\r
4872         "z": "df66c4ba.dc49d",\r
4873         "wires": [\r
4874             [\r
4875                 "8e631709.9703e",\r
4876                 "67d67460.c609e4",\r
4877                 "d648c0fa.0b77a8"\r
4878             ]\r
4879         ]\r
4880     },\r
4881     {\r
4882         "id": "8e631709.9703e",\r
4883         "type": "success",\r
4884         "name": "success",\r
4885         "xml": "<outcome value='success'>\n",\r
4886         "comments": "",\r
4887         "outputs": 1,\r
4888         "x": 4743.2342529296875,\r
4889         "y": 5220.486175537109,\r
4890         "z": "df66c4ba.dc49d",\r
4891         "wires": [\r
4892             [\r
4893                 "557dbe85.6b2148"\r
4894             ]\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "67d67460.c609e4",\r
4899         "type": "not-found",\r
4900         "name": "not-found",\r
4901         "xml": "<outcome value='not-found'>\n",\r
4902         "comments": "",\r
4903         "outputs": 1,\r
4904         "x": 4735.2342529296875,\r
4905         "y": 5275.486175537109,\r
4906         "z": "df66c4ba.dc49d",\r
4907         "wires": [\r
4908             [\r
4909                 "5bf448c8.1a6988"\r
4910             ]\r
4911         ]\r
4912     },\r
4913     {\r
4914         "id": "557dbe85.6b2148",\r
4915         "type": "block",\r
4916         "name": "block",\r
4917         "xml": "<block>\n",\r
4918         "atomic": "false",\r
4919         "comments": "",\r
4920         "outputs": 1,\r
4921         "x": 4887.6165771484375,\r
4922         "y": 5220.141845703125,\r
4923         "z": "df66c4ba.dc49d",\r
4924         "wires": [\r
4925             [\r
4926                 "fe2fb306.35f718"\r
4927             ]\r
4928         ]\r
4929     },\r
4930     {\r
4931         "id": "fe2fb306.35f718",\r
4932         "type": "for",\r
4933         "name": "for each relationship",\r
4934         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
4935         "comments": "",\r
4936         "outputs": 1,\r
4937         "x": 5071.734130859375,\r
4938         "y": 5218.486175537109,\r
4939         "z": "df66c4ba.dc49d",\r
4940         "wires": [\r
4941             [\r
4942                 "623662a6.321084"\r
4943             ]\r
4944         ]\r
4945     },\r
4946     {\r
4947         "id": "623662a6.321084",\r
4948         "type": "switchNode",\r
4949         "name": "switch related-to",\r
4950         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4951         "comments": "",\r
4952         "outputs": 1,\r
4953         "x": 5266.734130859375,\r
4954         "y": 5218.486175537109,\r
4955         "z": "df66c4ba.dc49d",\r
4956         "wires": [\r
4957             [\r
4958                 "e938fab.b235908"\r
4959             ]\r
4960         ]\r
4961     },\r
4962     {\r
4963         "id": "d648c0fa.0b77a8",\r
4964         "type": "other",\r
4965         "name": "other",\r
4966         "xml": "<outcome value='Other'>\n",\r
4967         "comments": "",\r
4968         "outputs": 1,\r
4969         "x": 4740.2342529296875,\r
4970         "y": 5332.486175537109,\r
4971         "z": "df66c4ba.dc49d",\r
4972         "wires": [\r
4973             [\r
4974                 "b12af343.8616c"\r
4975             ]\r
4976         ]\r
4977     },\r
4978     {\r
4979         "id": "b12af343.8616c",\r
4980         "type": "returnFailure",\r
4981         "name": "return failure",\r
4982         "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
4983         "comments": "",\r
4984         "x": 4892.2342529296875,\r
4985         "y": 5333.486175537109,\r
4986         "z": "df66c4ba.dc49d",\r
4987         "wires": []\r
4988     },\r
4989     {\r
4990         "id": "5bf448c8.1a6988",\r
4991         "type": "returnFailure",\r
4992         "name": "return failure",\r
4993         "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
4994         "comments": "",\r
4995         "x": 4903.2342529296875,\r
4996         "y": 5276.486175537109,\r
4997         "z": "df66c4ba.dc49d",\r
4998         "wires": []\r
4999     },\r
5000     {\r
5001         "id": "45e37676.b3ae38",\r
5002         "type": "block",\r
5003         "name": "block : atomic",\r
5004         "xml": "<block atomic=\"true\">",\r
5005         "atomic": "true",\r
5006         "outputs": 1,\r
5007         "x": 5648.734130859375,\r
5008         "y": 5222.486175537109,\r
5009         "z": "df66c4ba.dc49d",\r
5010         "wires": [\r
5011             [\r
5012                 "ab290c95.7c31f8",\r
5013                 "9018bd5e.6b648",\r
5014                 "b0b7686a.f22a48"\r
5015             ]\r
5016         ]\r
5017     },\r
5018     {\r
5019         "id": "e938fab.b235908",\r
5020         "type": "outcome",\r
5021         "name": "esr-thirdparty-sdnc",\r
5022         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5023         "comments": "",\r
5024         "outputs": 1,\r
5025         "x": 5469.734130859375,\r
5026         "y": 5222.486175537109,\r
5027         "z": "df66c4ba.dc49d",\r
5028         "wires": [\r
5029             [\r
5030                 "45e37676.b3ae38"\r
5031             ]\r
5032         ]\r
5033     },\r
5034     {\r
5035         "id": "9018bd5e.6b648",\r
5036         "type": "execute",\r
5037         "name": "get esr-thirdparty-sdnc",\r
5038         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5039         "comments": "",\r
5040         "outputs": 1,\r
5041         "x": 5854.734130859375,\r
5042         "y": 5235.486175537109,\r
5043         "z": "df66c4ba.dc49d",\r
5044         "wires": [\r
5045             [\r
5046                 "6880c853.571ac",\r
5047                 "27b0dc8.dc2bca4",\r
5048                 "88c18631.ac0cc8"\r
5049             ]\r
5050         ]\r
5051     },\r
5052     {\r
5053         "id": "ab290c95.7c31f8",\r
5054         "type": "set",\r
5055         "name": "set esr-thirdparty-sdnc domain id",\r
5056         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5057         "comments": "",\r
5058         "x": 5884.734130859375,\r
5059         "y": 5183.486175537109,\r
5060         "z": "df66c4ba.dc49d",\r
5061         "wires": []\r
5062     },\r
5063     {\r
5064         "id": "6880c853.571ac",\r
5065         "type": "success",\r
5066         "name": "success",\r
5067         "xml": "<outcome value='success'>\n",\r
5068         "comments": "",\r
5069         "outputs": 1,\r
5070         "x": 6064.734130859375,\r
5071         "y": 5226.486175537109,\r
5072         "z": "df66c4ba.dc49d",\r
5073         "wires": [\r
5074             [\r
5075                 "23e6d39c.ca6f94"\r
5076             ]\r
5077         ]\r
5078     },\r
5079     {\r
5080         "id": "27b0dc8.dc2bca4",\r
5081         "type": "not-found",\r
5082         "name": "not-found",\r
5083         "xml": "<outcome value='not-found'>\n",\r
5084         "comments": "",\r
5085         "outputs": 1,\r
5086         "x": 6056.734130859375,\r
5087         "y": 5281.486175537109,\r
5088         "z": "df66c4ba.dc49d",\r
5089         "wires": [\r
5090             [\r
5091                 "c0508cff.258128"\r
5092             ]\r
5093         ]\r
5094     },\r
5095     {\r
5096         "id": "88c18631.ac0cc8",\r
5097         "type": "other",\r
5098         "name": "other",\r
5099         "xml": "<outcome value='Other'>\n",\r
5100         "comments": "",\r
5101         "outputs": 1,\r
5102         "x": 6061.734130859375,\r
5103         "y": 5338.486175537109,\r
5104         "z": "df66c4ba.dc49d",\r
5105         "wires": [\r
5106             [\r
5107                 "9fe983fa.692458"\r
5108             ]\r
5109         ]\r
5110     },\r
5111     {\r
5112         "id": "9fe983fa.692458",\r
5113         "type": "returnFailure",\r
5114         "name": "return failure",\r
5115         "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
5116         "comments": "",\r
5117         "x": 6213.734130859375,\r
5118         "y": 5339.486175537109,\r
5119         "z": "df66c4ba.dc49d",\r
5120         "wires": []\r
5121     },\r
5122     {\r
5123         "id": "c0508cff.258128",\r
5124         "type": "returnFailure",\r
5125         "name": "return failure",\r
5126         "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
5127         "comments": "",\r
5128         "x": 6224.734130859375,\r
5129         "y": 5284.486175537109,\r
5130         "z": "df66c4ba.dc49d",\r
5131         "wires": []\r
5132     },\r
5133     {\r
5134         "id": "23e6d39c.ca6f94",\r
5135         "type": "block",\r
5136         "name": "block",\r
5137         "xml": "<block>\n",\r
5138         "atomic": "false",\r
5139         "comments": "",\r
5140         "outputs": 1,\r
5141         "x": 6209.116455078125,\r
5142         "y": 5224.141845703125,\r
5143         "z": "df66c4ba.dc49d",\r
5144         "wires": [\r
5145             [\r
5146                 "e1b89291.825068"\r
5147             ]\r
5148         ]\r
5149     },\r
5150     {\r
5151         "id": "e1b89291.825068",\r
5152         "type": "set",\r
5153         "name": "set controller domain data",\r
5154         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
5155         "comments": "",\r
5156         "x": 6423.734130859375,\r
5157         "y": 5220.486175537109,\r
5158         "z": "df66c4ba.dc49d",\r
5159         "wires": []\r
5160     },\r
5161     {\r
5162         "id": "b0b7686a.f22a48",\r
5163         "type": "break",\r
5164         "name": "break",\r
5165         "xml": "<break>\n",\r
5166         "comments": "",\r
5167         "x": 5804.734130859375,\r
5168         "y": 5299.486175537109,\r
5169         "z": "df66c4ba.dc49d",\r
5170         "wires": []\r
5171     },\r
5172     {\r
5173         "id": "467c3bf.71cfdc4",\r
5174         "type": "execute",\r
5175         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
5176         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
5177         "comments": "",\r
5178         "outputs": 1,\r
5179         "x": 4453.234375,\r
5180         "y": 5380.085784912109,\r
5181         "z": "df66c4ba.dc49d",\r
5182         "wires": [\r
5183             [\r
5184                 "475456de.095b28",\r
5185                 "e46dba62.d133c8"\r
5186             ]\r
5187         ]\r
5188     },\r
5189     {\r
5190         "id": "475456de.095b28",\r
5191         "type": "failure",\r
5192         "name": "failure",\r
5193         "xml": "<outcome value='failure'>\n",\r
5194         "comments": "",\r
5195         "outputs": 1,\r
5196         "x": 4813.734130859375,\r
5197         "y": 5388.085784912109,\r
5198         "z": "df66c4ba.dc49d",\r
5199         "wires": [\r
5200             [\r
5201                 "e4100738.bedad8"\r
5202             ]\r
5203         ]\r
5204     },\r
5205     {\r
5206         "id": "e4100738.bedad8",\r
5207         "type": "returnFailure",\r
5208         "name": "return failure",\r
5209         "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 delete ethernet service rest api\" />\n",\r
5210         "comments": "",\r
5211         "x": 4971.734130859375,\r
5212         "y": 5388.085784912109,\r
5213         "z": "df66c4ba.dc49d",\r
5214         "wires": []\r
5215     },\r
5216     {\r
5217         "id": "2c862c6c.12858c",\r
5218         "type": "block",\r
5219         "name": "block : atomic",\r
5220         "xml": "<block atomic=\"true\">",\r
5221         "atomic": "true",\r
5222         "comments": "",\r
5223         "outputs": 1,\r
5224         "x": 4975.234130859375,\r
5225         "y": 5428.085784912109,\r
5226         "z": "df66c4ba.dc49d",\r
5227         "wires": [\r
5228             []\r
5229         ]\r
5230     },\r
5231     {\r
5232         "id": "e46dba62.d133c8",\r
5233         "type": "success",\r
5234         "name": "success",\r
5235         "xml": "<outcome value='success'>\n",\r
5236         "comments": "",\r
5237         "outputs": 1,\r
5238         "x": 4817.734130859375,\r
5239         "y": 5428.085784912109,\r
5240         "z": "df66c4ba.dc49d",\r
5241         "wires": [\r
5242             [\r
5243                 "2c862c6c.12858c"\r
5244             ]\r
5245         ]\r
5246     },\r
5247     {\r
5248         "id": "4be3ffba.2e7d2",\r
5249         "type": "block",\r
5250         "name": "block : atomic",\r
5251         "xml": "<block atomic=\"true\">",\r
5252         "atomic": "true",\r
5253         "outputs": 1,\r
5254         "x": 5126.451171875,\r
5255         "y": 5642.085784912109,\r
5256         "z": "df66c4ba.dc49d",\r
5257         "wires": [\r
5258             [\r
5259                 "6bb3bb26.aa81b4",\r
5260                 "1977e509.6db2ab"\r
5261             ]\r
5262         ]\r
5263     },\r
5264     {\r
5265         "id": "1977e509.6db2ab",\r
5266         "type": "get-resource",\r
5267         "name": "get-resource src pnf",\r
5268         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
5269         "comments": "",\r
5270         "outputs": 1,\r
5271         "x": 5368.450927734375,\r
5272         "y": 5592.085784912109,\r
5273         "z": "df66c4ba.dc49d",\r
5274         "wires": [\r
5275             [\r
5276                 "b10ef966.1e9bd8",\r
5277                 "14377f23.b76f19",\r
5278                 "338fe6b.9e69f9a"\r
5279             ]\r
5280         ]\r
5281     },\r
5282     {\r
5283         "id": "b10ef966.1e9bd8",\r
5284         "type": "success",\r
5285         "name": "success",\r
5286         "xml": "<outcome value='success'>\n",\r
5287         "comments": "",\r
5288         "outputs": 1,\r
5289         "x": 5563.951171875,\r
5290         "y": 5526.085784912109,\r
5291         "z": "df66c4ba.dc49d",\r
5292         "wires": [\r
5293             [\r
5294                 "ca399707.489dc"\r
5295             ]\r
5296         ]\r
5297     },\r
5298     {\r
5299         "id": "14377f23.b76f19",\r
5300         "type": "not-found",\r
5301         "name": "not-found",\r
5302         "xml": "<outcome value='not-found'>\n",\r
5303         "comments": "",\r
5304         "outputs": 1,\r
5305         "x": 5559.951171875,\r
5306         "y": 5582.085784912109,\r
5307         "z": "df66c4ba.dc49d",\r
5308         "wires": [\r
5309             [\r
5310                 "9a688c1c.979b18"\r
5311             ]\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "ca399707.489dc",\r
5316         "type": "block",\r
5317         "name": "block",\r
5318         "xml": "<block>\n",\r
5319         "atomic": "false",\r
5320         "comments": "",\r
5321         "outputs": 1,\r
5322         "x": 5708.3333740234375,\r
5323         "y": 5543.741455078125,\r
5324         "z": "df66c4ba.dc49d",\r
5325         "wires": [\r
5326             [\r
5327                 "518bb115.3e1828"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "518bb115.3e1828",\r
5333         "type": "for",\r
5334         "name": "for each relationship",\r
5335         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5336         "comments": "",\r
5337         "outputs": 1,\r
5338         "x": 5892.450927734375,\r
5339         "y": 5542.085784912109,\r
5340         "z": "df66c4ba.dc49d",\r
5341         "wires": [\r
5342             [\r
5343                 "a95efbd.96c1f88"\r
5344             ]\r
5345         ]\r
5346     },\r
5347     {\r
5348         "id": "338fe6b.9e69f9a",\r
5349         "type": "other",\r
5350         "name": "other",\r
5351         "xml": "<outcome value='Other'>\n",\r
5352         "comments": "",\r
5353         "outputs": 1,\r
5354         "x": 5569.951171875,\r
5355         "y": 5627.085784912109,\r
5356         "z": "df66c4ba.dc49d",\r
5357         "wires": [\r
5358             [\r
5359                 "2bd9cd74.b57772"\r
5360             ]\r
5361         ]\r
5362     },\r
5363     {\r
5364         "id": "2bd9cd74.b57772",\r
5365         "type": "returnFailure",\r
5366         "name": "return failure",\r
5367         "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
5368         "comments": "",\r
5369         "x": 5748.951171875,\r
5370         "y": 5643.085784912109,\r
5371         "z": "df66c4ba.dc49d",\r
5372         "wires": []\r
5373     },\r
5374     {\r
5375         "id": "9a688c1c.979b18",\r
5376         "type": "returnFailure",\r
5377         "name": "return failure",\r
5378         "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
5379         "comments": "",\r
5380         "x": 5730.951171875,\r
5381         "y": 5595.085784912109,\r
5382         "z": "df66c4ba.dc49d",\r
5383         "wires": []\r
5384     },\r
5385     {\r
5386         "id": "a5be160b.7233f8",\r
5387         "type": "execute",\r
5388         "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
5389         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
5390         "comments": "",\r
5391         "outputs": 1,\r
5392         "x": 5279.951171875,\r
5393         "y": 5697.685394287109,\r
5394         "z": "df66c4ba.dc49d",\r
5395         "wires": [\r
5396             [\r
5397                 "21841842.1d8ad8",\r
5398                 "25d11f87.0e38d"\r
5399             ]\r
5400         ]\r
5401     },\r
5402     {\r
5403         "id": "21841842.1d8ad8",\r
5404         "type": "failure",\r
5405         "name": "failure",\r
5406         "xml": "<outcome value='failure'>\n",\r
5407         "comments": "",\r
5408         "outputs": 1,\r
5409         "x": 5628.451171875,\r
5410         "y": 5679.685394287109,\r
5411         "z": "df66c4ba.dc49d",\r
5412         "wires": [\r
5413             [\r
5414                 "77a65248.1f8454"\r
5415             ]\r
5416         ]\r
5417     },\r
5418     {\r
5419         "id": "77a65248.1f8454",\r
5420         "type": "returnFailure",\r
5421         "name": "return failure",\r
5422         "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 delete ethernet service rest api\" />\n",\r
5423         "comments": "",\r
5424         "x": 5884.451171875,\r
5425         "y": 5682.685394287109,\r
5426         "z": "df66c4ba.dc49d",\r
5427         "wires": []\r
5428     },\r
5429     {\r
5430         "id": "36c31917.4e963e",\r
5431         "type": "block",\r
5432         "name": "block : atomic",\r
5433         "xml": "<block atomic=\"true\">",\r
5434         "atomic": "true",\r
5435         "comments": "",\r
5436         "outputs": 1,\r
5437         "x": 5836.951171875,\r
5438         "y": 5723.685394287109,\r
5439         "z": "df66c4ba.dc49d",\r
5440         "wires": [\r
5441             []\r
5442         ]\r
5443     },\r
5444     {\r
5445         "id": "25d11f87.0e38d",\r
5446         "type": "success",\r
5447         "name": "success",\r
5448         "xml": "<outcome value='success'>\n",\r
5449         "comments": "",\r
5450         "outputs": 1,\r
5451         "x": 5638.451171875,\r
5452         "y": 5728.685394287109,\r
5453         "z": "df66c4ba.dc49d",\r
5454         "wires": [\r
5455             [\r
5456                 "36c31917.4e963e"\r
5457             ]\r
5458         ]\r
5459     },\r
5460     {\r
5461         "id": "6bb3bb26.aa81b4",\r
5462         "type": "set",\r
5463         "name": "set pnf-name",\r
5464         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.rootconn.access-provider-id + '-clientId-' +\n                                                   $tmp.rootconn.access-client-id + '-topologyId-' +\n                                                   $tmp.rootconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.rootconn.access-node-id`\" />\n",\r
5465         "comments": "",\r
5466         "x": 5361.450927734375,\r
5467         "y": 5510.085784912109,\r
5468         "z": "df66c4ba.dc49d",\r
5469         "wires": []\r
5470     },\r
5471     {\r
5472         "id": "a95efbd.96c1f88",\r
5473         "type": "switchNode",\r
5474         "name": "switch related-to",\r
5475         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5476         "comments": "",\r
5477         "outputs": 1,\r
5478         "x": 6087.450927734375,\r
5479         "y": 5542.085784912109,\r
5480         "z": "df66c4ba.dc49d",\r
5481         "wires": [\r
5482             [\r
5483                 "5b53283.237bd58"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "32954f05.a0f998",\r
5489         "type": "block",\r
5490         "name": "block : atomic",\r
5491         "xml": "<block atomic=\"true\">",\r
5492         "atomic": "true",\r
5493         "outputs": 1,\r
5494         "x": 6469.450927734375,\r
5495         "y": 5546.085784912109,\r
5496         "z": "df66c4ba.dc49d",\r
5497         "wires": [\r
5498             [\r
5499                 "77ce96c2.5602e8",\r
5500                 "3fe633a6.1c94b4",\r
5501                 "2e5333ff.9beaf4"\r
5502             ]\r
5503         ]\r
5504     },\r
5505     {\r
5506         "id": "5b53283.237bd58",\r
5507         "type": "outcome",\r
5508         "name": "esr-thirdparty-sdnc",\r
5509         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5510         "comments": "",\r
5511         "outputs": 1,\r
5512         "x": 6290.450927734375,\r
5513         "y": 5546.085784912109,\r
5514         "z": "df66c4ba.dc49d",\r
5515         "wires": [\r
5516             [\r
5517                 "32954f05.a0f998"\r
5518             ]\r
5519         ]\r
5520     },\r
5521     {\r
5522         "id": "3fe633a6.1c94b4",\r
5523         "type": "execute",\r
5524         "name": "get esr-thirdparty-sdnc",\r
5525         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5526         "comments": "",\r
5527         "outputs": 1,\r
5528         "x": 6675.450927734375,\r
5529         "y": 5559.085784912109,\r
5530         "z": "df66c4ba.dc49d",\r
5531         "wires": [\r
5532             [\r
5533                 "6653ee89.119c48",\r
5534                 "90d289d3.d64128",\r
5535                 "65b6f2f3.cb40dc"\r
5536             ]\r
5537         ]\r
5538     },\r
5539     {\r
5540         "id": "77ce96c2.5602e8",\r
5541         "type": "set",\r
5542         "name": "set esr-thirdparty-sdnc domain id",\r
5543         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5544         "comments": "",\r
5545         "x": 6705.450927734375,\r
5546         "y": 5507.085784912109,\r
5547         "z": "df66c4ba.dc49d",\r
5548         "wires": []\r
5549     },\r
5550     {\r
5551         "id": "6653ee89.119c48",\r
5552         "type": "success",\r
5553         "name": "success",\r
5554         "xml": "<outcome value='success'>\n",\r
5555         "comments": "",\r
5556         "outputs": 1,\r
5557         "x": 6885.450927734375,\r
5558         "y": 5550.085784912109,\r
5559         "z": "df66c4ba.dc49d",\r
5560         "wires": [\r
5561             [\r
5562                 "e4a1281d.94a088"\r
5563             ]\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "90d289d3.d64128",\r
5568         "type": "not-found",\r
5569         "name": "not-found",\r
5570         "xml": "<outcome value='not-found'>\n",\r
5571         "comments": "",\r
5572         "outputs": 1,\r
5573         "x": 6877.450927734375,\r
5574         "y": 5605.085784912109,\r
5575         "z": "df66c4ba.dc49d",\r
5576         "wires": [\r
5577             [\r
5578                 "c0981577.68ad28"\r
5579             ]\r
5580         ]\r
5581     },\r
5582     {\r
5583         "id": "65b6f2f3.cb40dc",\r
5584         "type": "other",\r
5585         "name": "other",\r
5586         "xml": "<outcome value='Other'>\n",\r
5587         "comments": "",\r
5588         "outputs": 1,\r
5589         "x": 6882.450927734375,\r
5590         "y": 5662.085784912109,\r
5591         "z": "df66c4ba.dc49d",\r
5592         "wires": [\r
5593             [\r
5594                 "9cc01382.31d9c8"\r
5595             ]\r
5596         ]\r
5597     },\r
5598     {\r
5599         "id": "9cc01382.31d9c8",\r
5600         "type": "returnFailure",\r
5601         "name": "return failure",\r
5602         "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
5603         "comments": "",\r
5604         "x": 7034.450927734375,\r
5605         "y": 5663.085784912109,\r
5606         "z": "df66c4ba.dc49d",\r
5607         "wires": []\r
5608     },\r
5609     {\r
5610         "id": "c0981577.68ad28",\r
5611         "type": "returnFailure",\r
5612         "name": "return failure",\r
5613         "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
5614         "comments": "",\r
5615         "x": 7045.450927734375,\r
5616         "y": 5608.085784912109,\r
5617         "z": "df66c4ba.dc49d",\r
5618         "wires": []\r
5619     },\r
5620     {\r
5621         "id": "e4a1281d.94a088",\r
5622         "type": "block",\r
5623         "name": "block",\r
5624         "xml": "<block>\n",\r
5625         "atomic": "false",\r
5626         "comments": "",\r
5627         "outputs": 1,\r
5628         "x": 7029.833251953125,\r
5629         "y": 5547.741455078125,\r
5630         "z": "df66c4ba.dc49d",\r
5631         "wires": [\r
5632             [\r
5633                 "e0ec5a36.3fa468"\r
5634             ]\r
5635         ]\r
5636     },\r
5637     {\r
5638         "id": "e0ec5a36.3fa468",\r
5639         "type": "set",\r
5640         "name": "set controller domain data",\r
5641         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
5642         "comments": "",\r
5643         "x": 7244.450927734375,\r
5644         "y": 5544.085784912109,\r
5645         "z": "df66c4ba.dc49d",\r
5646         "wires": []\r
5647     },\r
5648     {\r
5649         "id": "2e5333ff.9beaf4",\r
5650         "type": "break",\r
5651         "name": "break",\r
5652         "xml": "<break>\n",\r
5653         "comments": "",\r
5654         "x": 6625.450927734375,\r
5655         "y": 5623.085784912109,\r
5656         "z": "df66c4ba.dc49d",\r
5657         "wires": []\r
5658     },\r
5659     {\r
5660         "id": "5a2012d5.a1cef4",\r
5661         "type": "block",\r
5662         "name": "block",\r
5663         "xml": "<block>\n",\r
5664         "atomic": "false",\r
5665         "comments": "",\r
5666         "outputs": 1,\r
5667         "x": 3854.88330078125,\r
5668         "y": 3512.2857360839844,\r
5669         "z": "df66c4ba.dc49d",\r
5670         "wires": [\r
5671             [\r
5672                 "2e4356c1.85e5c2",\r
5673                 "817ee67a.98bbb8"\r
5674             ]\r
5675         ]\r
5676     },\r
5677     {\r
5678         "id": "2e4356c1.85e5c2",\r
5679         "type": "set",\r
5680         "name": "set tmp.mmUNI-id-long",\r
5681         "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5682         "comments": "",\r
5683         "x": 4045.466552734375,\r
5684         "y": 3455.0857849121094,\r
5685         "z": "df66c4ba.dc49d",\r
5686         "wires": []\r
5687     },\r
5688     {\r
5689         "id": "817ee67a.98bbb8",\r
5690         "type": "switchNode",\r
5691         "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
5692         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
5693         "comments": "",\r
5694         "outputs": 1,\r
5695         "x": 4092.466552734375,\r
5696         "y": 3526.0857849121094,\r
5697         "z": "df66c4ba.dc49d",\r
5698         "wires": [\r
5699             [\r
5700                 "eff8b608.f4ac8",\r
5701                 "aeb603b8.1d9588"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "eff8b608.f4ac8",\r
5707         "type": "outcomeFalse",\r
5708         "name": "false",\r
5709         "xml": "<outcome value='false'>\n",\r
5710         "comments": "",\r
5711         "outputs": 1,\r
5712         "x": 4330.884033203125,\r
5713         "y": 3485.2857360839844,\r
5714         "z": "df66c4ba.dc49d",\r
5715         "wires": [\r
5716             [\r
5717                 "bb88d9bc.29cfc"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "aeb603b8.1d9588",\r
5723         "type": "outcomeTrue",\r
5724         "name": "true",\r
5725         "xml": "<outcome value='true'>\n",\r
5726         "comments": "",\r
5727         "outputs": 1,\r
5728         "x": 4337.884246826172,\r
5729         "y": 3542.2857055664062,\r
5730         "z": "df66c4ba.dc49d",\r
5731         "wires": [\r
5732             [\r
5733                 "c59416d6.8ba4c8"\r
5734             ]\r
5735         ]\r
5736     },\r
5737     {\r
5738         "id": "bb88d9bc.29cfc",\r
5739         "type": "block",\r
5740         "name": "block",\r
5741         "xml": "<block>\n",\r
5742         "atomic": "false",\r
5743         "comments": "",\r
5744         "outputs": 1,\r
5745         "x": 4458.884521484375,\r
5746         "y": 3481.2857360839844,\r
5747         "z": "df66c4ba.dc49d",\r
5748         "wires": [\r
5749             []\r
5750         ]\r
5751     },\r
5752     {\r
5753         "id": "3a07e59d.95a52a",\r
5754         "type": "set",\r
5755         "name": "set tmp.MMonlyHasROOT to TRUE",\r
5756         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
5757         "comments": "",\r
5758         "x": 3314.083251953125,\r
5759         "y": 3439.6858825683594,\r
5760         "z": "df66c4ba.dc49d",\r
5761         "wires": []\r
5762     },\r
5763     {\r
5764         "id": "9d62dddf.19f4b",\r
5765         "type": "set",\r
5766         "name": "set tmp.MMonlyHasROOT to FALSE",\r
5767         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
5768         "comments": "",\r
5769         "x": 5295.91748046875,\r
5770         "y": 3441.6859130859375,\r
5771         "z": "df66c4ba.dc49d",\r
5772         "wires": []\r
5773     },\r
5774     {\r
5775         "id": "94bd3415.1f22d8",\r
5776         "type": "block",\r
5777         "name": "block : atomic",\r
5778         "xml": "<block atomic=\"true\">",\r
5779         "atomic": "true",\r
5780         "outputs": 1,\r
5781         "x": 4407.6669921875,\r
5782         "y": 3961.9024353027344,\r
5783         "z": "df66c4ba.dc49d",\r
5784         "wires": [\r
5785             [\r
5786                 "6935663a.9d5408",\r
5787                 "be9be1c2.b73f18"\r
5788             ]\r
5789         ]\r
5790     },\r
5791     {\r
5792         "id": "6935663a.9d5408",\r
5793         "type": "set",\r
5794         "name": "set tmp.uni.id",\r
5795         "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5796         "comments": "",\r
5797         "x": 4580.5498046875,\r
5798         "y": 3957.5621032714844,\r
5799         "z": "df66c4ba.dc49d",\r
5800         "wires": []\r
5801     },\r
5802     {\r
5803         "id": "be9be1c2.b73f18",\r
5804         "type": "save",\r
5805         "name": "get uni from aai",\r
5806         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
5807         "comments": "",\r
5808         "outputs": 1,\r
5809         "x": 4583.5498046875,\r
5810         "y": 4004.5621032714844,\r
5811         "z": "df66c4ba.dc49d",\r
5812         "wires": [\r
5813             [\r
5814                 "c0042631.4f4f28",\r
5815                 "22708d43.de1092",\r
5816                 "4a7fa995.9eae4"\r
5817             ]\r
5818         ]\r
5819     },\r
5820     {\r
5821         "id": "c0042631.4f4f28",\r
5822         "type": "success",\r
5823         "name": "success",\r
5824         "xml": "<outcome value='success'>\n",\r
5825         "comments": "",\r
5826         "outputs": 1,\r
5827         "x": 4755.5498046875,\r
5828         "y": 3988.5621032714844,\r
5829         "z": "df66c4ba.dc49d",\r
5830         "wires": [\r
5831             [\r
5832                 "ca5dd9fd.1cc728"\r
5833             ]\r
5834         ]\r
5835     },\r
5836     {\r
5837         "id": "22708d43.de1092",\r
5838         "type": "not-found",\r
5839         "name": "not-found",\r
5840         "xml": "<outcome value='not-found'>\n",\r
5841         "comments": "",\r
5842         "outputs": 1,\r
5843         "x": 4756.040771484375,\r
5844         "y": 4034.1361389160156,\r
5845         "z": "df66c4ba.dc49d",\r
5846         "wires": [\r
5847             []\r
5848         ]\r
5849     },\r
5850     {\r
5851         "id": "4a7fa995.9eae4",\r
5852         "type": "failure",\r
5853         "name": "failure",\r
5854         "xml": "<outcome value='failure'>\n",\r
5855         "comments": "",\r
5856         "outputs": 1,\r
5857         "x": 4756.5498046875,\r
5858         "y": 4074.5621032714844,\r
5859         "z": "df66c4ba.dc49d",\r
5860         "wires": [\r
5861             []\r
5862         ]\r
5863     },\r
5864     {\r
5865         "id": "ca5dd9fd.1cc728",\r
5866         "type": "block",\r
5867         "name": "block : atomic",\r
5868         "xml": "<block atomic='true'>",\r
5869         "atomic": "true",\r
5870         "comments": "",\r
5871         "outputs": 1,\r
5872         "x": 4916.5498046875,\r
5873         "y": 3984.5621032714844,\r
5874         "z": "df66c4ba.dc49d",\r
5875         "wires": [\r
5876             [\r
5877                 "47c9bf0a.a975f",\r
5878                 "7fbd75a1.7d6984",\r
5879                 "d27053b4.e2d198"\r
5880             ]\r
5881         ]\r
5882     },\r
5883     {\r
5884         "id": "4c40c5cd.79b95c",\r
5885         "type": "comment",\r
5886         "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
5887         "info": "",\r
5888         "comments": "",\r
5889         "x": 5249.5498046875,\r
5890         "y": 3915.5621032714844,\r
5891         "z": "df66c4ba.dc49d",\r
5892         "wires": []\r
5893     },\r
5894     {\r
5895         "id": "7fbd75a1.7d6984",\r
5896         "type": "execute",\r
5897         "name": "execute split id to get pnf-name",\r
5898         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
5899         "comments": "",\r
5900         "outputs": 1,\r
5901         "x": 5184.5498046875,\r
5902         "y": 3972.5621032714844,\r
5903         "z": "df66c4ba.dc49d",\r
5904         "wires": [\r
5905             [\r
5906                 "daa849f8.0ba3e",\r
5907                 "4a912d90.87d7dc"\r
5908             ]\r
5909         ]\r
5910     },\r
5911     {\r
5912         "id": "4a912d90.87d7dc",\r
5913         "type": "failure",\r
5914         "name": "success",\r
5915         "xml": "<outcome value='success'>\n",\r
5916         "comments": "",\r
5917         "outputs": 1,\r
5918         "x": 5407.5498046875,\r
5919         "y": 3958.5621032714844,\r
5920         "z": "df66c4ba.dc49d",\r
5921         "wires": [\r
5922             [\r
5923                 "88c966fa.22614"\r
5924             ]\r
5925         ]\r
5926     },\r
5927     {\r
5928         "id": "daa849f8.0ba3e",\r
5929         "type": "failure",\r
5930         "name": "failure",\r
5931         "xml": "<outcome value='failure'>\n",\r
5932         "comments": "",\r
5933         "outputs": 1,\r
5934         "x": 5409.5498046875,\r
5935         "y": 3991.5621032714844,\r
5936         "z": "df66c4ba.dc49d",\r
5937         "wires": [\r
5938             [\r
5939                 "9f641079.ba835"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "88c966fa.22614",\r
5945         "type": "block",\r
5946         "name": "block : atomic",\r
5947         "xml": "<block atomic=\"true\">",\r
5948         "atomic": "true",\r
5949         "outputs": 1,\r
5950         "x": 5555.5498046875,\r
5951         "y": 3951.5621032714844,\r
5952         "z": "df66c4ba.dc49d",\r
5953         "wires": [\r
5954             [\r
5955                 "9a9d27fb.7b5ae"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "9f641079.ba835",\r
5961         "type": "returnFailure",\r
5962         "name": "return failure",\r
5963         "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
5964         "comments": "",\r
5965         "x": 5552.5498046875,\r
5966         "y": 3988.5621032714844,\r
5967         "z": "df66c4ba.dc49d",\r
5968         "wires": []\r
5969     },\r
5970     {\r
5971         "id": "9a9d27fb.7b5ae",\r
5972         "type": "set",\r
5973         "name": "set pnf-name",\r
5974         "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n                                                   $param-prefix-uni-pnfName[1] + '-' +\n                                                   $param-prefix-uni-pnfName[2] + '-' +\n                                                   $param-prefix-uni-pnfName[3] + '-' +\n                                                   $param-prefix-uni-pnfName[4] + '-' +\n                                                   $param-prefix-uni-pnfName[5] + '-' +\n                                                   $param-prefix-uni-pnfName[6] + '-' +\n                                                   $param-prefix-uni-pnfName[7] + '-' +\n                                                   $param-prefix-uni-pnfName[8]`\" />\n",\r
5975         "comments": "",\r
5976         "x": 5732.5498046875,\r
5977         "y": 3951.5621032714844,\r
5978         "z": "df66c4ba.dc49d",\r
5979         "wires": []\r
5980     },\r
5981     {\r
5982         "id": "47c9bf0a.a975f",\r
5983         "type": "switchNode",\r
5984         "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
5985         "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
5986         "comments": "",\r
5987         "outputs": 1,\r
5988         "x": 5228.5498046875,\r
5989         "y": 4106.562103271484,\r
5990         "z": "df66c4ba.dc49d",\r
5991         "wires": [\r
5992             [\r
5993                 "9f7c3aad.53ed38",\r
5994                 "d508e81a.16c548"\r
5995             ]\r
5996         ]\r
5997     },\r
5998     {\r
5999         "id": "9f7c3aad.53ed38",\r
6000         "type": "outcomeFalse",\r
6001         "name": "false",\r
6002         "xml": "<outcome value='false'>\n",\r
6003         "comments": "",\r
6004         "outputs": 1,\r
6005         "x": 5509.5498046875,\r
6006         "y": 4083.5621032714844,\r
6007         "z": "df66c4ba.dc49d",\r
6008         "wires": [\r
6009             [\r
6010                 "6b5444ec.0e74cc"\r
6011             ]\r
6012         ]\r
6013     },\r
6014     {\r
6015         "id": "d508e81a.16c548",\r
6016         "type": "outcomeTrue",\r
6017         "name": "true",\r
6018         "xml": "<outcome value='true'>\n",\r
6019         "comments": "",\r
6020         "outputs": 1,\r
6021         "x": 5502.5498046875,\r
6022         "y": 4142.562103271484,\r
6023         "z": "df66c4ba.dc49d",\r
6024         "wires": [\r
6025             [\r
6026                 "a57a183a.4f512"\r
6027             ]\r
6028         ]\r
6029     },\r
6030     {\r
6031         "id": "6b5444ec.0e74cc",\r
6032         "type": "block",\r
6033         "name": "block",\r
6034         "xml": "<block>\n",\r
6035         "atomic": "false",\r
6036         "comments": "",\r
6037         "outputs": 1,\r
6038         "x": 5639.5498046875,\r
6039         "y": 4087.5621032714844,\r
6040         "z": "df66c4ba.dc49d",\r
6041         "wires": [\r
6042             []\r
6043         ]\r
6044     },\r
6045     {\r
6046         "id": "a57a183a.4f512",\r
6047         "type": "block",\r
6048         "name": "block : atomic",\r
6049         "xml": "<block atomic='true'>",\r
6050         "atomic": "true",\r
6051         "comments": "",\r
6052         "outputs": 1,\r
6053         "x": 5644.5498046875,\r
6054         "y": 4141.562103271484,\r
6055         "z": "df66c4ba.dc49d",\r
6056         "wires": [\r
6057             [\r
6058                 "b18806a7.b3bfd",\r
6059                 "ccf1cec1.bc032"\r
6060             ]\r
6061         ]\r
6062     },\r
6063     {\r
6064         "id": "b18806a7.b3bfd",\r
6065         "type": "set",\r
6066         "name": "set no-pce-call",\r
6067         "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
6068         "comments": "",\r
6069         "x": 5836.5498046875,\r
6070         "y": 4108.562103271484,\r
6071         "z": "df66c4ba.dc49d",\r
6072         "wires": []\r
6073     },\r
6074     {\r
6075         "id": "2b23daed.de49a6",\r
6076         "type": "set",\r
6077         "name": "set middle-man-conn",\r
6078         "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
6079         "comments": "",\r
6080         "x": 5852.5498046875,\r
6081         "y": 4160.562103271484,\r
6082         "z": "df66c4ba.dc49d",\r
6083         "wires": []\r
6084     },\r
6085     {\r
6086         "id": "ccf1cec1.bc032",\r
6087         "type": "set",\r
6088         "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
6089         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
6090         "comments": "",\r
6091         "x": 5870.83349609375,\r
6092         "y": 4230.152435302734,\r
6093         "z": "df66c4ba.dc49d",\r
6094         "wires": []\r
6095     },\r
6096     {\r
6097         "id": "d27053b4.e2d198",\r
6098         "type": "set",\r
6099         "name": "set tmp.stillHasUni to TRUE",\r
6100         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
6101         "comments": "",\r
6102         "x": 5147.533203125,\r
6103         "y": 4056.0523376464844,\r
6104         "z": "df66c4ba.dc49d",\r
6105         "wires": []\r
6106     },\r
6107     {\r
6108         "id": "2520c605.40a22a",\r
6109         "type": "switchNode",\r
6110         "name": "switch tmp.stillHasUni?",\r
6111         "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
6112         "comments": "",\r
6113         "outputs": 1,\r
6114         "x": 383.7339172363281,\r
6115         "y": 5326.252044677734,\r
6116         "z": "df66c4ba.dc49d",\r
6117         "wires": [\r
6118             [\r
6119                 "c1b9af54.b56a3",\r
6120                 "ab60aff5.ef6de8"\r
6121             ]\r
6122         ]\r
6123     },\r
6124     {\r
6125         "id": "37365b38.b727a4",\r
6126         "type": "save",\r
6127         "name": "get root uni from aai",\r
6128         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
6129         "comments": "",\r
6130         "outputs": 1,\r
6131         "x": 4288.516357421875,\r
6132         "y": 5490.135833740234,\r
6133         "z": "df66c4ba.dc49d",\r
6134         "wires": [\r
6135             [\r
6136                 "81da98d4.afeb3",\r
6137                 "3ec2a5e9.1b8c7a",\r
6138                 "90c2c87a.2ba4f8"\r
6139             ]\r
6140         ]\r
6141     },\r
6142     {\r
6143         "id": "1b110349.17b25d",\r
6144         "type": "comment",\r
6145         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
6146         "info": "",\r
6147         "comments": "",\r
6148         "x": 4286.516845703125,\r
6149         "y": 5442.136077880859,\r
6150         "z": "df66c4ba.dc49d",\r
6151         "wires": []\r
6152     },\r
6153     {\r
6154         "id": "feaf6c5c.b919f",\r
6155         "type": "save",\r
6156         "name": "update ROOT UNI in AAI",\r
6157         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
6158         "comments": "",\r
6159         "outputs": 1,\r
6160         "x": 4903.5166015625,\r
6161         "y": 5560.136077880859,\r
6162         "z": "df66c4ba.dc49d",\r
6163         "wires": [\r
6164             []\r
6165         ]\r
6166     },\r
6167     {\r
6168         "id": "3ec2a5e9.1b8c7a",\r
6169         "type": "not-found",\r
6170         "name": "not-found",\r
6171         "xml": "<outcome value='not-found'>\n",\r
6172         "comments": "",\r
6173         "outputs": 1,\r
6174         "x": 4506.007568359375,\r
6175         "y": 5460.710052490234,\r
6176         "z": "df66c4ba.dc49d",\r
6177         "wires": [\r
6178             [\r
6179                 "3e15c1e0.3f5b3e"\r
6180             ]\r
6181         ]\r
6182     },\r
6183     {\r
6184         "id": "90c2c87a.2ba4f8",\r
6185         "type": "failure",\r
6186         "name": "failure",\r
6187         "xml": "<outcome value='failure'>\n",\r
6188         "comments": "",\r
6189         "outputs": 1,\r
6190         "x": 4501.5166015625,\r
6191         "y": 5505.136016845703,\r
6192         "z": "df66c4ba.dc49d",\r
6193         "wires": [\r
6194             [\r
6195                 "f6e77d5b.d9f6c8"\r
6196             ]\r
6197         ]\r
6198     },\r
6199     {\r
6200         "id": "3e15c1e0.3f5b3e",\r
6201         "type": "returnFailure",\r
6202         "name": "return failure",\r
6203         "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
6204         "comments": "",\r
6205         "x": 4668.5791015625,\r
6206         "y": 5459.995758056641,\r
6207         "z": "df66c4ba.dc49d",\r
6208         "wires": []\r
6209     },\r
6210     {\r
6211         "id": "f6e77d5b.d9f6c8",\r
6212         "type": "returnFailure",\r
6213         "name": "return failure",\r
6214         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6215         "comments": "",\r
6216         "x": 4669.5166015625,\r
6217         "y": 5505.136016845703,\r
6218         "z": "df66c4ba.dc49d",\r
6219         "wires": []\r
6220     },\r
6221     {\r
6222         "id": "ac60929d.a61b6",\r
6223         "type": "block",\r
6224         "name": "block : atomic",\r
6225         "xml": "<block atomic=\"true\">",\r
6226         "atomic": "true",\r
6227         "outputs": 1,\r
6228         "x": 4666.5166015625,\r
6229         "y": 5555.136077880859,\r
6230         "z": "df66c4ba.dc49d",\r
6231         "wires": [\r
6232             [\r
6233                 "86bfdde2.f9d01",\r
6234                 "feaf6c5c.b919f"\r
6235             ]\r
6236         ]\r
6237     },\r
6238     {\r
6239         "id": "81da98d4.afeb3",\r
6240         "type": "success",\r
6241         "name": "success",\r
6242         "xml": "<outcome value='success'>\n",\r
6243         "comments": "",\r
6244         "outputs": 1,\r
6245         "x": 4497.5166015625,\r
6246         "y": 5555.136077880859,\r
6247         "z": "df66c4ba.dc49d",\r
6248         "wires": [\r
6249             [\r
6250                 "ac60929d.a61b6"\r
6251             ]\r
6252         ]\r
6253     },\r
6254     {\r
6255         "id": "86bfdde2.f9d01",\r
6256         "type": "set",\r
6257         "name": "set new bw",\r
6258         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
6259         "comments": "",\r
6260         "x": 4859.517578125,\r
6261         "y": 5480.136077880859,\r
6262         "z": "df66c4ba.dc49d",\r
6263         "wires": []\r
6264     },\r
6265     {\r
6266         "id": "ace6c92e.10b74",\r
6267         "type": "comment",\r
6268         "name": "Update connectivity status to modified",\r
6269         "info": "",\r
6270         "comments": "",\r
6271         "x": 5288.216796875,\r
6272         "y": 5417.902679443359,\r
6273         "z": "df66c4ba.dc49d",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "17e137f7.f9138",\r
6278         "type": "save",\r
6279         "name": "update ROOT connectivity resource in AAI",\r
6280         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
6281         "comments": "",\r
6282         "outputs": 1,\r
6283         "x": 5314,\r
6284         "y": 5460.102874755859,\r
6285         "z": "df66c4ba.dc49d",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "c1b9af54.b56a3",\r
6292         "type": "outcomeFalse",\r
6293         "name": "false",\r
6294         "xml": "<outcome value='false'>\n",\r
6295         "comments": "",\r
6296         "outputs": 1,\r
6297         "x": 567.8836059570312,\r
6298         "y": 5377.285736083984,\r
6299         "z": "df66c4ba.dc49d",\r
6300         "wires": [\r
6301             [\r
6302                 "ee95a91b.c63f6"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "ab60aff5.ef6de8",\r
6308         "type": "outcomeTrue",\r
6309         "name": "true",\r
6310         "xml": "<outcome value='true'>\n",\r
6311         "comments": "",\r
6312         "outputs": 1,\r
6313         "x": 550.883544921875,\r
6314         "y": 5299.285736083984,\r
6315         "z": "df66c4ba.dc49d",\r
6316         "wires": [\r
6317             [\r
6318                 "50a1f630.9e921"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "e3a00d61.16ee98",\r
6324         "type": "block",\r
6325         "name": "block",\r
6326         "xml": "<block>\n",\r
6327         "atomic": "false",\r
6328         "comments": "",\r
6329         "outputs": 1,\r
6330         "x": 679.8833923339844,\r
6331         "y": 4386.285461425781,\r
6332         "z": "df66c4ba.dc49d",\r
6333         "wires": [\r
6334             [\r
6335                 "31d81fe6.59b2e8",\r
6336                 "32e6c64e.1f59ea",\r
6337                 "ec3295c7.2b4e68",\r
6338                 "28934462.eda2dc",\r
6339                 "f47b26f.a890d58",\r
6340                 "787fd0ee.fe0408",\r
6341                 "e0d5d04e.46068"\r
6342             ]\r
6343         ]\r
6344     },\r
6345     {\r
6346         "id": "31d81fe6.59b2e8",\r
6347         "type": "set",\r
6348         "name": "set tmp.leafconn.",\r
6349         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
6350         "comments": "",\r
6351         "x": 931.5667419433594,\r
6352         "y": 4364.335266113281,\r
6353         "z": "df66c4ba.dc49d",\r
6354         "wires": []\r
6355     },\r
6356     {\r
6357         "id": "7f4eb95e.24b05",\r
6358         "type": "comment",\r
6359         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
6360         "info": "",\r
6361         "comments": "",\r
6362         "x": 1033.1338806152344,\r
6363         "y": 4312.418762207031,\r
6364         "z": "df66c4ba.dc49d",\r
6365         "wires": []\r
6366     },\r
6367     {\r
6368         "id": "6288e052.96f2",\r
6369         "type": "set",\r
6370         "name": "set pnf-name",\r
6371         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
6372         "comments": "",\r
6373         "x": 1140.9837341308594,\r
6374         "y": 4393.618957519531,\r
6375         "z": "df66c4ba.dc49d",\r
6376         "wires": []\r
6377     },\r
6378     {\r
6379         "id": "32e6c64e.1f59ea",\r
6380         "type": "block",\r
6381         "name": "block : atomic",\r
6382         "xml": "<block atomic=\"true\">",\r
6383         "atomic": "true",\r
6384         "outputs": 1,\r
6385         "x": 911.9837341308594,\r
6386         "y": 4482.618957519531,\r
6387         "z": "df66c4ba.dc49d",\r
6388         "wires": [\r
6389             [\r
6390                 "6288e052.96f2",\r
6391                 "fe4b92e6.ffdd"\r
6392             ]\r
6393         ]\r
6394     },\r
6395     {\r
6396         "id": "fe4b92e6.ffdd",\r
6397         "type": "get-resource",\r
6398         "name": "get-resource src pnf",\r
6399         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
6400         "comments": "",\r
6401         "outputs": 1,\r
6402         "x": 1147.9837341308594,\r
6403         "y": 4475.618957519531,\r
6404         "z": "df66c4ba.dc49d",\r
6405         "wires": [\r
6406             [\r
6407                 "a543f0e2.a728d8",\r
6408                 "2a0dd5d7.a28cf2",\r
6409                 "7ecf5c91.3a5cec"\r
6410             ]\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "a543f0e2.a728d8",\r
6415         "type": "success",\r
6416         "name": "success",\r
6417         "xml": "<outcome value='success'>\n",\r
6418         "comments": "",\r
6419         "outputs": 1,\r
6420         "x": 1343.4838562011719,\r
6421         "y": 4427.618957519531,\r
6422         "z": "df66c4ba.dc49d",\r
6423         "wires": [\r
6424             [\r
6425                 "ff8dc86e.9ae7d8"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "2a0dd5d7.a28cf2",\r
6431         "type": "not-found",\r
6432         "name": "not-found",\r
6433         "xml": "<outcome value='not-found'>\n",\r
6434         "comments": "",\r
6435         "outputs": 1,\r
6436         "x": 1335.4838562011719,\r
6437         "y": 4482.618957519531,\r
6438         "z": "df66c4ba.dc49d",\r
6439         "wires": [\r
6440             [\r
6441                 "2e71c1c5.bae5ee"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "ff8dc86e.9ae7d8",\r
6447         "type": "block",\r
6448         "name": "block",\r
6449         "xml": "<block>\n",\r
6450         "atomic": "false",\r
6451         "comments": "",\r
6452         "outputs": 1,\r
6453         "x": 1487.8661804199219,\r
6454         "y": 4427.274627685547,\r
6455         "z": "df66c4ba.dc49d",\r
6456         "wires": [\r
6457             [\r
6458                 "ea932b87.e300a"\r
6459             ]\r
6460         ]\r
6461     },\r
6462     {\r
6463         "id": "ea932b87.e300a",\r
6464         "type": "for",\r
6465         "name": "for each relationship",\r
6466         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
6467         "comments": "",\r
6468         "outputs": 1,\r
6469         "x": 1671.9837341308594,\r
6470         "y": 4425.618957519531,\r
6471         "z": "df66c4ba.dc49d",\r
6472         "wires": [\r
6473             [\r
6474                 "a57e88f9.3dbb78"\r
6475             ]\r
6476         ]\r
6477     },\r
6478     {\r
6479         "id": "a57e88f9.3dbb78",\r
6480         "type": "switchNode",\r
6481         "name": "switch related-to",\r
6482         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
6483         "comments": "",\r
6484         "outputs": 1,\r
6485         "x": 1866.9837341308594,\r
6486         "y": 4425.618957519531,\r
6487         "z": "df66c4ba.dc49d",\r
6488         "wires": [\r
6489             [\r
6490                 "bc5f5f85.45dd38"\r
6491             ]\r
6492         ]\r
6493     },\r
6494     {\r
6495         "id": "7ecf5c91.3a5cec",\r
6496         "type": "other",\r
6497         "name": "other",\r
6498         "xml": "<outcome value='Other'>\n",\r
6499         "comments": "",\r
6500         "outputs": 1,\r
6501         "x": 1340.4838562011719,\r
6502         "y": 4539.618957519531,\r
6503         "z": "df66c4ba.dc49d",\r
6504         "wires": [\r
6505             [\r
6506                 "555bfa65.d963d4"\r
6507             ]\r
6508         ]\r
6509     },\r
6510     {\r
6511         "id": "555bfa65.d963d4",\r
6512         "type": "returnFailure",\r
6513         "name": "return failure",\r
6514         "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
6515         "comments": "",\r
6516         "x": 1492.4838562011719,\r
6517         "y": 4540.618957519531,\r
6518         "z": "df66c4ba.dc49d",\r
6519         "wires": []\r
6520     },\r
6521     {\r
6522         "id": "2e71c1c5.bae5ee",\r
6523         "type": "returnFailure",\r
6524         "name": "return failure",\r
6525         "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
6526         "comments": "",\r
6527         "x": 1503.4838562011719,\r
6528         "y": 4483.618957519531,\r
6529         "z": "df66c4ba.dc49d",\r
6530         "wires": []\r
6531     },\r
6532     {\r
6533         "id": "b2af47a.be99538",\r
6534         "type": "block",\r
6535         "name": "block : atomic",\r
6536         "xml": "<block atomic=\"true\">",\r
6537         "atomic": "true",\r
6538         "outputs": 1,\r
6539         "x": 2248.9837341308594,\r
6540         "y": 4429.618957519531,\r
6541         "z": "df66c4ba.dc49d",\r
6542         "wires": [\r
6543             [\r
6544                 "7d049acd.fef104",\r
6545                 "735b2479.3a3c34",\r
6546                 "9afda8fe.94c61"\r
6547             ]\r
6548         ]\r
6549     },\r
6550     {\r
6551         "id": "bc5f5f85.45dd38",\r
6552         "type": "outcome",\r
6553         "name": "esr-thirdparty-sdnc",\r
6554         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
6555         "comments": "",\r
6556         "outputs": 1,\r
6557         "x": 2069.9837341308594,\r
6558         "y": 4429.618957519531,\r
6559         "z": "df66c4ba.dc49d",\r
6560         "wires": [\r
6561             [\r
6562                 "b2af47a.be99538"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "ec3295c7.2b4e68",\r
6568         "type": "execute",\r
6569         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
6570         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
6571         "comments": "",\r
6572         "outputs": 1,\r
6573         "x": 1053.4839782714844,\r
6574         "y": 4587.218566894531,\r
6575         "z": "df66c4ba.dc49d",\r
6576         "wires": [\r
6577             [\r
6578                 "d93fc4e8.d2141",\r
6579                 "e3d87702.3e04a"\r
6580             ]\r
6581         ]\r
6582     },\r
6583     {\r
6584         "id": "e3d87702.3e04a",\r
6585         "type": "success",\r
6586         "name": "success",\r
6587         "xml": "<outcome value='success'>\n",\r
6588         "comments": "",\r
6589         "outputs": 1,\r
6590         "x": 1417.9837341308594,\r
6591         "y": 4635.218566894531,\r
6592         "z": "df66c4ba.dc49d",\r
6593         "wires": [\r
6594             [\r
6595                 "467380a4.6c5ea"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "d93fc4e8.d2141",\r
6601         "type": "failure",\r
6602         "name": "failure",\r
6603         "xml": "<outcome value='failure'>\n",\r
6604         "comments": "",\r
6605         "outputs": 1,\r
6606         "x": 1413.9837341308594,\r
6607         "y": 4595.218566894531,\r
6608         "z": "df66c4ba.dc49d",\r
6609         "wires": [\r
6610             [\r
6611                 "74c8e4d8.aba72c"\r
6612             ]\r
6613         ]\r
6614     },\r
6615     {\r
6616         "id": "74c8e4d8.aba72c",\r
6617         "type": "returnFailure",\r
6618         "name": "return failure",\r
6619         "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 delete ethernet service rest api\" />\n",\r
6620         "comments": "",\r
6621         "x": 1571.9837341308594,\r
6622         "y": 4595.218566894531,\r
6623         "z": "df66c4ba.dc49d",\r
6624         "wires": []\r
6625     },\r
6626     {\r
6627         "id": "467380a4.6c5ea",\r
6628         "type": "block",\r
6629         "name": "block : atomic",\r
6630         "xml": "<block atomic=\"true\">",\r
6631         "atomic": "true",\r
6632         "comments": "",\r
6633         "outputs": 1,\r
6634         "x": 1575.4837341308594,\r
6635         "y": 4635.218566894531,\r
6636         "z": "df66c4ba.dc49d",\r
6637         "wires": [\r
6638             []\r
6639         ]\r
6640     },\r
6641     {\r
6642         "id": "735b2479.3a3c34",\r
6643         "type": "execute",\r
6644         "name": "get esr-thirdparty-sdnc",\r
6645         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
6646         "comments": "",\r
6647         "outputs": 1,\r
6648         "x": 2454.9837341308594,\r
6649         "y": 4442.618957519531,\r
6650         "z": "df66c4ba.dc49d",\r
6651         "wires": [\r
6652             [\r
6653                 "c4e177eb.43ef28",\r
6654                 "2d977136.9bd1f6",\r
6655                 "57e5d5ac.7eac64"\r
6656             ]\r
6657         ]\r
6658     },\r
6659     {\r
6660         "id": "7d049acd.fef104",\r
6661         "type": "set",\r
6662         "name": "set esr-thirdparty-sdnc domain id",\r
6663         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
6664         "comments": "",\r
6665         "x": 2484.9837341308594,\r
6666         "y": 4390.618957519531,\r
6667         "z": "df66c4ba.dc49d",\r
6668         "wires": []\r
6669     },\r
6670     {\r
6671         "id": "c4e177eb.43ef28",\r
6672         "type": "success",\r
6673         "name": "success",\r
6674         "xml": "<outcome value='success'>\n",\r
6675         "comments": "",\r
6676         "outputs": 1,\r
6677         "x": 2664.9837341308594,\r
6678         "y": 4433.618957519531,\r
6679         "z": "df66c4ba.dc49d",\r
6680         "wires": [\r
6681             [\r
6682                 "e1f43f97.38cd18"\r
6683             ]\r
6684         ]\r
6685     },\r
6686     {\r
6687         "id": "2d977136.9bd1f6",\r
6688         "type": "not-found",\r
6689         "name": "not-found",\r
6690         "xml": "<outcome value='not-found'>\n",\r
6691         "comments": "",\r
6692         "outputs": 1,\r
6693         "x": 2656.9837341308594,\r
6694         "y": 4488.618957519531,\r
6695         "z": "df66c4ba.dc49d",\r
6696         "wires": [\r
6697             [\r
6698                 "96a7d4c6.d3f4b"\r
6699             ]\r
6700         ]\r
6701     },\r
6702     {\r
6703         "id": "57e5d5ac.7eac64",\r
6704         "type": "other",\r
6705         "name": "other",\r
6706         "xml": "<outcome value='Other'>\n",\r
6707         "comments": "",\r
6708         "outputs": 1,\r
6709         "x": 2661.9837341308594,\r
6710         "y": 4545.618957519531,\r
6711         "z": "df66c4ba.dc49d",\r
6712         "wires": [\r
6713             [\r
6714                 "c392199a.c19ae8"\r
6715             ]\r
6716         ]\r
6717     },\r
6718     {\r
6719         "id": "c392199a.c19ae8",\r
6720         "type": "returnFailure",\r
6721         "name": "return failure",\r
6722         "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
6723         "comments": "",\r
6724         "x": 2813.9837341308594,\r
6725         "y": 4546.618957519531,\r
6726         "z": "df66c4ba.dc49d",\r
6727         "wires": []\r
6728     },\r
6729     {\r
6730         "id": "96a7d4c6.d3f4b",\r
6731         "type": "returnFailure",\r
6732         "name": "return failure",\r
6733         "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
6734         "comments": "",\r
6735         "x": 2824.9837341308594,\r
6736         "y": 4491.618957519531,\r
6737         "z": "df66c4ba.dc49d",\r
6738         "wires": []\r
6739     },\r
6740     {\r
6741         "id": "e1f43f97.38cd18",\r
6742         "type": "block",\r
6743         "name": "block",\r
6744         "xml": "<block>\n",\r
6745         "atomic": "false",\r
6746         "comments": "",\r
6747         "outputs": 1,\r
6748         "x": 2809.3660583496094,\r
6749         "y": 4431.274627685547,\r
6750         "z": "df66c4ba.dc49d",\r
6751         "wires": [\r
6752             [\r
6753                 "a7aa546c.5009d8"\r
6754             ]\r
6755         ]\r
6756     },\r
6757     {\r
6758         "id": "a7aa546c.5009d8",\r
6759         "type": "set",\r
6760         "name": "set controller domain data",\r
6761         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
6762         "comments": "",\r
6763         "x": 3023.9837341308594,\r
6764         "y": 4427.618957519531,\r
6765         "z": "df66c4ba.dc49d",\r
6766         "wires": []\r
6767     },\r
6768     {\r
6769         "id": "9afda8fe.94c61",\r
6770         "type": "break",\r
6771         "name": "break",\r
6772         "xml": "<break>\n",\r
6773         "comments": "",\r
6774         "x": 2404.9837341308594,\r
6775         "y": 4506.618957519531,\r
6776         "z": "df66c4ba.dc49d",\r
6777         "wires": []\r
6778     },\r
6779     {\r
6780         "id": "28934462.eda2dc",\r
6781         "type": "call",\r
6782         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6783         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6784         "comments": "",\r
6785         "outputs": 1,\r
6786         "x": 1082.5667419433594,\r
6787         "y": 4807.335266113281,\r
6788         "z": "df66c4ba.dc49d",\r
6789         "wires": [\r
6790             []\r
6791         ]\r
6792     },\r
6793     {\r
6794         "id": "f47b26f.a890d58",\r
6795         "type": "switchNode",\r
6796         "name": "switch found-root-connectivity",\r
6797         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6798         "comments": "",\r
6799         "outputs": 1,\r
6800         "x": 897.5667419433594,\r
6801         "y": 4874.335266113281,\r
6802         "z": "df66c4ba.dc49d",\r
6803         "wires": [\r
6804             [\r
6805                 "d8af5065.8b84b8",\r
6806                 "1e55c33.7a66f3d"\r
6807             ]\r
6808         ]\r
6809     },\r
6810     {\r
6811         "id": "d8af5065.8b84b8",\r
6812         "type": "outcomeTrue",\r
6813         "name": "true",\r
6814         "xml": "<outcome value='true'>\n",\r
6815         "comments": "",\r
6816         "outputs": 1,\r
6817         "x": 1162.5667419433594,\r
6818         "y": 4859.335266113281,\r
6819         "z": "df66c4ba.dc49d",\r
6820         "wires": [\r
6821             [\r
6822                 "f3c54a4a.4e3ba8"\r
6823             ]\r
6824         ]\r
6825     },\r
6826     {\r
6827         "id": "1e55c33.7a66f3d",\r
6828         "type": "outcomeFalse",\r
6829         "name": "false",\r
6830         "xml": "<outcome value='false'>\n",\r
6831         "comments": "",\r
6832         "outputs": 1,\r
6833         "x": 1158.5667419433594,\r
6834         "y": 4907.335266113281,\r
6835         "z": "df66c4ba.dc49d",\r
6836         "wires": [\r
6837             [\r
6838                 "ce49485f.e53e78"\r
6839             ]\r
6840         ]\r
6841     },\r
6842     {\r
6843         "id": "f3c54a4a.4e3ba8",\r
6844         "type": "block",\r
6845         "name": "block : atomic",\r
6846         "xml": "<block atomic='true'>",\r
6847         "atomic": "true",\r
6848         "comments": "",\r
6849         "outputs": 1,\r
6850         "x": 1318.5667419433594,\r
6851         "y": 4855.335266113281,\r
6852         "z": "df66c4ba.dc49d",\r
6853         "wires": [\r
6854             [\r
6855                 "f655fe6a.478a2"\r
6856             ]\r
6857         ]\r
6858     },\r
6859     {\r
6860         "id": "ce49485f.e53e78",\r
6861         "type": "returnFailure",\r
6862         "name": "return failure",\r
6863         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
6864         "comments": "",\r
6865         "x": 1306.5667419433594,\r
6866         "y": 4902.335266113281,\r
6867         "z": "df66c4ba.dc49d",\r
6868         "wires": []\r
6869     },\r
6870     {\r
6871         "id": "f3ecfcf6.c34748",\r
6872         "type": "comment",\r
6873         "name": "Update connectivity status to modified",\r
6874         "info": "",\r
6875         "comments": "",\r
6876         "x": 1587.4664001464844,\r
6877         "y": 4806.035461425781,\r
6878         "z": "df66c4ba.dc49d",\r
6879         "wires": []\r
6880     },\r
6881     {\r
6882         "id": "f655fe6a.478a2",\r
6883         "type": "save",\r
6884         "name": "update ROOT connectivity resource in AAI",\r
6885         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
6886         "comments": "",\r
6887         "outputs": 1,\r
6888         "x": 1613.2496032714844,\r
6889         "y": 4848.235656738281,\r
6890         "z": "df66c4ba.dc49d",\r
6891         "wires": [\r
6892             []\r
6893         ]\r
6894     },\r
6895     {\r
6896         "id": "78dea2d4.65caf4",\r
6897         "type": "call",\r
6898         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
6899         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
6900         "comments": "",\r
6901         "outputs": 1,\r
6902         "x": 1026.8833923339844,\r
6903         "y": 4121.602355957031,\r
6904         "z": "df66c4ba.dc49d",\r
6905         "wires": [\r
6906             []\r
6907         ]\r
6908     },\r
6909     {\r
6910         "id": "50a1f630.9e921",\r
6911         "type": "block",\r
6912         "name": "block",\r
6913         "xml": "<block>\n",\r
6914         "atomic": "false",\r
6915         "comments": "",\r
6916         "outputs": 1,\r
6917         "x": 632.8834228515625,\r
6918         "y": 4126.285491943359,\r
6919         "z": "df66c4ba.dc49d",\r
6920         "wires": [\r
6921             [\r
6922                 "78dea2d4.65caf4",\r
6923                 "e3a00d61.16ee98"\r
6924             ]\r
6925         ]\r
6926     },\r
6927     {\r
6928         "id": "ee95a91b.c63f6",\r
6929         "type": "block",\r
6930         "name": "block",\r
6931         "xml": "<block>\n",\r
6932         "atomic": "false",\r
6933         "comments": "",\r
6934         "outputs": 1,\r
6935         "x": 716.3333740234375,\r
6936         "y": 5378.802337646484,\r
6937         "z": "df66c4ba.dc49d",\r
6938         "wires": [\r
6939             [\r
6940                 "a4300755.b44ad8",\r
6941                 "4319a166.6767b",\r
6942                 "c1e6d7e.1a91aa8",\r
6943                 "7dc09fd4.2514c"\r
6944             ]\r
6945         ]\r
6946     },\r
6947     {\r
6948         "id": "a4300755.b44ad8",\r
6949         "type": "call",\r
6950         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
6951         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
6952         "comments": "",\r
6953         "outputs": 1,\r
6954         "x": 1077.7166748046875,\r
6955         "y": 5141.8023681640625,\r
6956         "z": "df66c4ba.dc49d",\r
6957         "wires": [\r
6958             []\r
6959         ]\r
6960     },\r
6961     {\r
6962         "id": "4319a166.6767b",\r
6963         "type": "save",\r
6964         "name": "delete LEAF connectivity resource in AAI",\r
6965         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
6966         "comments": "",\r
6967         "outputs": 1,\r
6968         "x": 988.7166748046875,\r
6969         "y": 5210.8023681640625,\r
6970         "z": "df66c4ba.dc49d",\r
6971         "wires": [\r
6972             []\r
6973         ]\r
6974     },\r
6975     {\r
6976         "id": "c1e6d7e.1a91aa8",\r
6977         "type": "block",\r
6978         "name": "block : atomic",\r
6979         "xml": "<block atomic=\"true\">",\r
6980         "atomic": "true",\r
6981         "outputs": 1,\r
6982         "x": 879.88330078125,\r
6983         "y": 5445.8023681640625,\r
6984         "z": "df66c4ba.dc49d",\r
6985         "wires": [\r
6986             [\r
6987                 "6bef4230.e722e4",\r
6988                 "41351f51.03e8b",\r
6989                 "71820932.ce34a"\r
6990             ]\r
6991         ]\r
6992     },\r
6993     {\r
6994         "id": "2a329201.baab2e",\r
6995         "type": "execute",\r
6996         "name": "get esr-thirdparty-sdnc",\r
6997         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
6998         "comments": "",\r
6999         "outputs": 1,\r
7000         "x": 2588.882568359375,\r
7001         "y": 5370.8023681640625,\r
7002         "z": "df66c4ba.dc49d",\r
7003         "wires": [\r
7004             [\r
7005                 "65fc47.6ca7abb8",\r
7006                 "955b1af3.e7d3b8",\r
7007                 "72151671.442258"\r
7008             ]\r
7009         ]\r
7010     },\r
7011     {\r
7012         "id": "daaffadf.b0d788",\r
7013         "type": "break",\r
7014         "name": "break",\r
7015         "xml": "<break>\n",\r
7016         "comments": "",\r
7017         "x": 2538.882568359375,\r
7018         "y": 5434.8023681640625,\r
7019         "z": "df66c4ba.dc49d",\r
7020         "wires": []\r
7021     },\r
7022     {\r
7023         "id": "ae76296d.4aa7d8",\r
7024         "type": "set",\r
7025         "name": "set esr-thirdparty-sdnc domain id",\r
7026         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
7027         "comments": "",\r
7028         "x": 2618.882568359375,\r
7029         "y": 5318.8023681640625,\r
7030         "z": "df66c4ba.dc49d",\r
7031         "wires": []\r
7032     },\r
7033     {\r
7034         "id": "65fc47.6ca7abb8",\r
7035         "type": "success",\r
7036         "name": "success",\r
7037         "xml": "<outcome value='success'>\n",\r
7038         "comments": "",\r
7039         "outputs": 1,\r
7040         "x": 2906.8826904296875,\r
7041         "y": 5301.8023681640625,\r
7042         "z": "df66c4ba.dc49d",\r
7043         "wires": [\r
7044             [\r
7045                 "6f1e5821.6bfab8"\r
7046             ]\r
7047         ]\r
7048     },\r
7049     {\r
7050         "id": "955b1af3.e7d3b8",\r
7051         "type": "not-found",\r
7052         "name": "not-found",\r
7053         "xml": "<outcome value='not-found'>\n",\r
7054         "comments": "",\r
7055         "outputs": 1,\r
7056         "x": 2898.8826904296875,\r
7057         "y": 5356.8023681640625,\r
7058         "z": "df66c4ba.dc49d",\r
7059         "wires": [\r
7060             [\r
7061                 "5731f70c.9d6e58"\r
7062             ]\r
7063         ]\r
7064     },\r
7065     {\r
7066         "id": "72151671.442258",\r
7067         "type": "other",\r
7068         "name": "other",\r
7069         "xml": "<outcome value='Other'>\n",\r
7070         "comments": "",\r
7071         "outputs": 1,\r
7072         "x": 2903.8826904296875,\r
7073         "y": 5413.8023681640625,\r
7074         "z": "df66c4ba.dc49d",\r
7075         "wires": [\r
7076             [\r
7077                 "531fbc69.7d6ca4"\r
7078             ]\r
7079         ]\r
7080     },\r
7081     {\r
7082         "id": "531fbc69.7d6ca4",\r
7083         "type": "returnFailure",\r
7084         "name": "return failure",\r
7085         "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
7086         "comments": "",\r
7087         "x": 3055.8826904296875,\r
7088         "y": 5414.8023681640625,\r
7089         "z": "df66c4ba.dc49d",\r
7090         "wires": []\r
7091     },\r
7092     {\r
7093         "id": "5731f70c.9d6e58",\r
7094         "type": "returnFailure",\r
7095         "name": "return failure",\r
7096         "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
7097         "comments": "",\r
7098         "x": 3066.8826904296875,\r
7099         "y": 5359.8023681640625,\r
7100         "z": "df66c4ba.dc49d",\r
7101         "wires": []\r
7102     },\r
7103     {\r
7104         "id": "6f1e5821.6bfab8",\r
7105         "type": "block",\r
7106         "name": "block",\r
7107         "xml": "<block>\n",\r
7108         "atomic": "false",\r
7109         "comments": "",\r
7110         "outputs": 1,\r
7111         "x": 3051.2650146484375,\r
7112         "y": 5299.458038330078,\r
7113         "z": "df66c4ba.dc49d",\r
7114         "wires": [\r
7115             [\r
7116                 "af5a0545.43691"\r
7117             ]\r
7118         ]\r
7119     },\r
7120     {\r
7121         "id": "af5a0545.43691",\r
7122         "type": "set",\r
7123         "name": "set controller domain data",\r
7124         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
7125         "comments": "",\r
7126         "x": 3265.8826904296875,\r
7127         "y": 5295.8023681640625,\r
7128         "z": "df66c4ba.dc49d",\r
7129         "wires": []\r
7130     },\r
7131     {\r
7132         "id": "6bef4230.e722e4",\r
7133         "type": "set",\r
7134         "name": "set pnf-name",\r
7135         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.the-connectivity.access-node-id`\" />\n",\r
7136         "comments": "",\r
7137         "x": 1161.88330078125,\r
7138         "y": 5314.8023681640625,\r
7139         "z": "df66c4ba.dc49d",\r
7140         "wires": []\r
7141     },\r
7142     {\r
7143         "id": "80b0094c.3afc",\r
7144         "type": "other",\r
7145         "name": "other",\r
7146         "xml": "<outcome value='Other'>\n",\r
7147         "comments": "",\r
7148         "outputs": 1,\r
7149         "x": 1372.3834228515625,\r
7150         "y": 5453.8023681640625,\r
7151         "z": "df66c4ba.dc49d",\r
7152         "wires": [\r
7153             [\r
7154                 "8b920100.3048e"\r
7155             ]\r
7156         ]\r
7157     },\r
7158     {\r
7159         "id": "fd028bda.dc87c",\r
7160         "type": "success",\r
7161         "name": "success",\r
7162         "xml": "<outcome value='success'>\n",\r
7163         "comments": "",\r
7164         "outputs": 1,\r
7165         "x": 1375.3834228515625,\r
7166         "y": 5341.8023681640625,\r
7167         "z": "df66c4ba.dc49d",\r
7168         "wires": [\r
7169             [\r
7170                 "b6a8539e.9a283"\r
7171             ]\r
7172         ]\r
7173     },\r
7174     {\r
7175         "id": "dfe8b9b5.0780c",\r
7176         "type": "not-found",\r
7177         "name": "not-found",\r
7178         "xml": "<outcome value='not-found'>\n",\r
7179         "comments": "",\r
7180         "outputs": 1,\r
7181         "x": 1367.3834228515625,\r
7182         "y": 5396.8023681640625,\r
7183         "z": "df66c4ba.dc49d",\r
7184         "wires": [\r
7185             [\r
7186                 "a57ef7af.c3223"\r
7187             ]\r
7188         ]\r
7189     },\r
7190     {\r
7191         "id": "b6a8539e.9a283",\r
7192         "type": "block",\r
7193         "name": "block",\r
7194         "xml": "<block>\n",\r
7195         "atomic": "false",\r
7196         "comments": "",\r
7197         "outputs": 1,\r
7198         "x": 1509.765625,\r
7199         "y": 5336.4581298828125,\r
7200         "z": "df66c4ba.dc49d",\r
7201         "wires": [\r
7202             [\r
7203                 "99e24c60.f2ee9"\r
7204             ]\r
7205         ]\r
7206     },\r
7207     {\r
7208         "id": "8b920100.3048e",\r
7209         "type": "returnFailure",\r
7210         "name": "return failure",\r
7211         "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
7212         "comments": "",\r
7213         "x": 1524.3834228515625,\r
7214         "y": 5454.8023681640625,\r
7215         "z": "df66c4ba.dc49d",\r
7216         "wires": []\r
7217     },\r
7218     {\r
7219         "id": "a57ef7af.c3223",\r
7220         "type": "returnFailure",\r
7221         "name": "return failure",\r
7222         "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
7223         "comments": "",\r
7224         "x": 1535.3834228515625,\r
7225         "y": 5397.8023681640625,\r
7226         "z": "df66c4ba.dc49d",\r
7227         "wires": []\r
7228     },\r
7229     {\r
7230         "id": "99e24c60.f2ee9",\r
7231         "type": "for",\r
7232         "name": "for each relationship",\r
7233         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
7234         "comments": "",\r
7235         "outputs": 1,\r
7236         "x": 1696.8828125,\r
7237         "y": 5337.8023681640625,\r
7238         "z": "df66c4ba.dc49d",\r
7239         "wires": [\r
7240             [\r
7241                 "b066cef.3d778b"\r
7242             ]\r
7243         ]\r
7244     },\r
7245     {\r
7246         "id": "b066cef.3d778b",\r
7247         "type": "switchNode",\r
7248         "name": "switch related-to",\r
7249         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
7250         "comments": "",\r
7251         "outputs": 1,\r
7252         "x": 1924.8828125,\r
7253         "y": 5330.8023681640625,\r
7254         "z": "df66c4ba.dc49d",\r
7255         "wires": [\r
7256             [\r
7257                 "bf0363b8.4e697"\r
7258             ]\r
7259         ]\r
7260     },\r
7261     {\r
7262         "id": "41351f51.03e8b",\r
7263         "type": "get-resource",\r
7264         "name": "get-resource src pnf",\r
7265         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
7266         "comments": "",\r
7267         "outputs": 1,\r
7268         "x": 1179.88330078125,\r
7269         "y": 5389.8023681640625,\r
7270         "z": "df66c4ba.dc49d",\r
7271         "wires": [\r
7272             [\r
7273                 "80b0094c.3afc",\r
7274                 "fd028bda.dc87c",\r
7275                 "dfe8b9b5.0780c"\r
7276             ]\r
7277         ]\r
7278     },\r
7279     {\r
7280         "id": "bf0363b8.4e697",\r
7281         "type": "outcome",\r
7282         "name": "esr-thirdparty-sdnc",\r
7283         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
7284         "comments": "",\r
7285         "outputs": 1,\r
7286         "x": 2130.8828125,\r
7287         "y": 5327.8023681640625,\r
7288         "z": "df66c4ba.dc49d",\r
7289         "wires": [\r
7290             [\r
7291                 "d631d833.b0d378"\r
7292             ]\r
7293         ]\r
7294     },\r
7295     {\r
7296         "id": "d631d833.b0d378",\r
7297         "type": "block",\r
7298         "name": "block : atomic",\r
7299         "xml": "<block atomic=\"true\">",\r
7300         "atomic": "true",\r
7301         "outputs": 1,\r
7302         "x": 2345.8822021484375,\r
7303         "y": 5330.8023681640625,\r
7304         "z": "df66c4ba.dc49d",\r
7305         "wires": [\r
7306             [\r
7307                 "ae76296d.4aa7d8",\r
7308                 "2a329201.baab2e",\r
7309                 "daaffadf.b0d788"\r
7310             ]\r
7311         ]\r
7312     },\r
7313     {\r
7314         "id": "71820932.ce34a",\r
7315         "type": "execute",\r
7316         "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
7317         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
7318         "comments": "",\r
7319         "outputs": 1,\r
7320         "x": 1303.6500244140625,\r
7321         "y": 5539.2022705078125,\r
7322         "z": "df66c4ba.dc49d",\r
7323         "wires": [\r
7324             [\r
7325                 "813e179b.713d1",\r
7326                 "76f746e6.c0f1d"\r
7327             ]\r
7328         ]\r
7329     },\r
7330     {\r
7331         "id": "813e179b.713d1",\r
7332         "type": "failure",\r
7333         "name": "failure",\r
7334         "xml": "<outcome value='failure'>\n",\r
7335         "comments": "",\r
7336         "outputs": 1,\r
7337         "x": 1650.1500244140625,\r
7338         "y": 5532.2022705078125,\r
7339         "z": "df66c4ba.dc49d",\r
7340         "wires": [\r
7341             [\r
7342                 "455cd4bd.60fbe4"\r
7343             ]\r
7344         ]\r
7345     },\r
7346     {\r
7347         "id": "76f746e6.c0f1d",\r
7348         "type": "success",\r
7349         "name": "success",\r
7350         "xml": "<outcome value='success'>\n",\r
7351         "comments": "",\r
7352         "outputs": 1,\r
7353         "x": 1654.1500244140625,\r
7354         "y": 5572.2022705078125,\r
7355         "z": "df66c4ba.dc49d",\r
7356         "wires": [\r
7357             [\r
7358                 "627d6bed.c81224"\r
7359             ]\r
7360         ]\r
7361     },\r
7362     {\r
7363         "id": "455cd4bd.60fbe4",\r
7364         "type": "returnFailure",\r
7365         "name": "return failure",\r
7366         "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 delete ethernet service rest api\" />\n",\r
7367         "comments": "",\r
7368         "x": 1808.1500244140625,\r
7369         "y": 5532.2022705078125,\r
7370         "z": "df66c4ba.dc49d",\r
7371         "wires": []\r
7372     },\r
7373     {\r
7374         "id": "627d6bed.c81224",\r
7375         "type": "block",\r
7376         "name": "block : atomic",\r
7377         "xml": "<block atomic=\"true\">",\r
7378         "atomic": "true",\r
7379         "comments": "",\r
7380         "outputs": 1,\r
7381         "x": 1811.6500244140625,\r
7382         "y": 5572.2022705078125,\r
7383         "z": "df66c4ba.dc49d",\r
7384         "wires": [\r
7385             [\r
7386                 "eb743ad2.daea58"\r
7387             ]\r
7388         ]\r
7389     },\r
7390     {\r
7391         "id": "7dc09fd4.2514c",\r
7392         "type": "switchNode",\r
7393         "name": "switch tmp.MMstillHasUni?",\r
7394         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
7395         "comments": "",\r
7396         "outputs": 1,\r
7397         "x": 913.183349609375,\r
7398         "y": 5869.002532958984,\r
7399         "z": "df66c4ba.dc49d",\r
7400         "wires": [\r
7401             [\r
7402                 "22d45a38.9f5796",\r
7403                 "bd1f8261.b1a1b"\r
7404             ]\r
7405         ]\r
7406     },\r
7407     {\r
7408         "id": "22d45a38.9f5796",\r
7409         "type": "outcomeTrue",\r
7410         "name": "true",\r
7411         "xml": "<outcome value='true'>\n",\r
7412         "comments": "",\r
7413         "outputs": 1,\r
7414         "x": 1107.183349609375,\r
7415         "y": 5696.0025634765625,\r
7416         "z": "df66c4ba.dc49d",\r
7417         "wires": [\r
7418             [\r
7419                 "b4f2b377.ab70a8"\r
7420             ]\r
7421         ]\r
7422     },\r
7423     {\r
7424         "id": "bd1f8261.b1a1b",\r
7425         "type": "outcomeFalse",\r
7426         "name": "false",\r
7427         "xml": "<outcome value='false'>\n",\r
7428         "comments": "",\r
7429         "outputs": 1,\r
7430         "x": 1093.3500366210938,\r
7431         "y": 6018.602630615234,\r
7432         "z": "df66c4ba.dc49d",\r
7433         "wires": [\r
7434             [\r
7435                 "f125dad1.1ae098"\r
7436             ]\r
7437         ]\r
7438     },\r
7439     {\r
7440         "id": "b4f2b377.ab70a8",\r
7441         "type": "block",\r
7442         "name": "block",\r
7443         "xml": "<block>\n",\r
7444         "atomic": "false",\r
7445         "comments": "",\r
7446         "outputs": 1,\r
7447         "x": 1255.35009765625,\r
7448         "y": 5695.6026611328125,\r
7449         "z": "df66c4ba.dc49d",\r
7450         "wires": [\r
7451             [\r
7452                 "2ce9ebc5.9980ac",\r
7453                 "33e7432a.ad365c",\r
7454                 "1ed03004.8d6e4"\r
7455             ]\r
7456         ]\r
7457     },\r
7458     {\r
7459         "id": "2ce9ebc5.9980ac",\r
7460         "type": "call",\r
7461         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7462         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7463         "comments": "",\r
7464         "outputs": 1,\r
7465         "x": 1677.199951171875,\r
7466         "y": 5667.0025634765625,\r
7467         "z": "df66c4ba.dc49d",\r
7468         "wires": [\r
7469             []\r
7470         ]\r
7471     },\r
7472     {\r
7473         "id": "33e7432a.ad365c",\r
7474         "type": "switchNode",\r
7475         "name": "switch found-root-connectivity",\r
7476         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7477         "comments": "",\r
7478         "outputs": 1,\r
7479         "x": 1492.199951171875,\r
7480         "y": 5734.0025634765625,\r
7481         "z": "df66c4ba.dc49d",\r
7482         "wires": [\r
7483             [\r
7484                 "e7aa98fb.d5331",\r
7485                 "d055e12e.7731d8"\r
7486             ]\r
7487         ]\r
7488     },\r
7489     {\r
7490         "id": "e7aa98fb.d5331",\r
7491         "type": "outcomeTrue",\r
7492         "name": "true",\r
7493         "xml": "<outcome value='true'>\n",\r
7494         "comments": "",\r
7495         "outputs": 1,\r
7496         "x": 1757.199951171875,\r
7497         "y": 5719.0025634765625,\r
7498         "z": "df66c4ba.dc49d",\r
7499         "wires": [\r
7500             [\r
7501                 "68adf16f.2488d8"\r
7502             ]\r
7503         ]\r
7504     },\r
7505     {\r
7506         "id": "d055e12e.7731d8",\r
7507         "type": "outcomeFalse",\r
7508         "name": "false",\r
7509         "xml": "<outcome value='false'>\n",\r
7510         "comments": "",\r
7511         "outputs": 1,\r
7512         "x": 1756.199951171875,\r
7513         "y": 5767.0025634765625,\r
7514         "z": "df66c4ba.dc49d",\r
7515         "wires": [\r
7516             [\r
7517                 "f1e6e2bf.7ae47"\r
7518             ]\r
7519         ]\r
7520     },\r
7521     {\r
7522         "id": "68adf16f.2488d8",\r
7523         "type": "block",\r
7524         "name": "block : atomic",\r
7525         "xml": "<block atomic='true'>",\r
7526         "atomic": "true",\r
7527         "comments": "",\r
7528         "outputs": 1,\r
7529         "x": 1913.199951171875,\r
7530         "y": 5715.0025634765625,\r
7531         "z": "df66c4ba.dc49d",\r
7532         "wires": [\r
7533             [\r
7534                 "b0a90683.d1b168"\r
7535             ]\r
7536         ]\r
7537     },\r
7538     {\r
7539         "id": "f1e6e2bf.7ae47",\r
7540         "type": "returnFailure",\r
7541         "name": "return failure",\r
7542         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7543         "comments": "",\r
7544         "x": 1904.199951171875,\r
7545         "y": 5762.0025634765625,\r
7546         "z": "df66c4ba.dc49d",\r
7547         "wires": []\r
7548     },\r
7549     {\r
7550         "id": "b0a90683.d1b168",\r
7551         "type": "save",\r
7552         "name": "update ROOT connectivity resource in AAI",\r
7553         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7554         "comments": "",\r
7555         "outputs": 1,\r
7556         "x": 2221.8826904296875,\r
7557         "y": 5708.9029541015625,\r
7558         "z": "df66c4ba.dc49d",\r
7559         "wires": [\r
7560             []\r
7561         ]\r
7562     },\r
7563     {\r
7564         "id": "609277ca.345368",\r
7565         "type": "comment",\r
7566         "name": "Update connectivity status to modified",\r
7567         "info": "",\r
7568         "comments": "",\r
7569         "x": 2196.0994873046875,\r
7570         "y": 5666.7027587890625,\r
7571         "z": "df66c4ba.dc49d",\r
7572         "wires": []\r
7573     },\r
7574     {\r
7575         "id": "f125dad1.1ae098",\r
7576         "type": "block",\r
7577         "name": "block",\r
7578         "xml": "<block>\n",\r
7579         "atomic": "false",\r
7580         "comments": "",\r
7581         "outputs": 1,\r
7582         "x": 1230.916748046875,\r
7583         "y": 6017.902435302734,\r
7584         "z": "df66c4ba.dc49d",\r
7585         "wires": [\r
7586             [\r
7587                 "6a84ca09.c3f86c",\r
7588                 "32b2c890.ef7958"\r
7589             ]\r
7590         ]\r
7591     },\r
7592     {\r
7593         "id": "6a84ca09.c3f86c",\r
7594         "type": "for",\r
7595         "name": "for each relationship of middle-man-conn",\r
7596         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7597         "comments": "",\r
7598         "outputs": 1,\r
7599         "x": 1536.2328491210938,\r
7600         "y": 5951.1025390625,\r
7601         "z": "df66c4ba.dc49d",\r
7602         "wires": [\r
7603             [\r
7604                 "f1408389.66d578"\r
7605             ]\r
7606         ]\r
7607     },\r
7608     {\r
7609         "id": "f1408389.66d578",\r
7610         "type": "switchNode",\r
7611         "name": "switch related-to",\r
7612         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7613         "comments": "",\r
7614         "outputs": 1,\r
7615         "x": 1844.566650390625,\r
7616         "y": 6007.102569580078,\r
7617         "z": "df66c4ba.dc49d",\r
7618         "wires": [\r
7619             [\r
7620                 "89925b7f.d67008"\r
7621             ]\r
7622         ]\r
7623     },\r
7624     {\r
7625         "id": "89925b7f.d67008",\r
7626         "type": "outcome",\r
7627         "name": "connectivity",\r
7628         "xml": "<outcome value='connectivity'>\n",\r
7629         "comments": "",\r
7630         "outputs": 1,\r
7631         "x": 2024.2332763671875,\r
7632         "y": 6007.1026611328125,\r
7633         "z": "df66c4ba.dc49d",\r
7634         "wires": [\r
7635             [\r
7636                 "ea5801a3.bdc318"\r
7637             ]\r
7638         ]\r
7639     },\r
7640     {\r
7641         "id": "ea5801a3.bdc318",\r
7642         "type": "save",\r
7643         "name": "get connectivity from aai",\r
7644         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
7645         "comments": "",\r
7646         "outputs": 1,\r
7647         "x": 2224.233154296875,\r
7648         "y": 6007.102630615234,\r
7649         "z": "df66c4ba.dc49d",\r
7650         "wires": [\r
7651             [\r
7652                 "a1e89c64.ee08",\r
7653                 "8d6c0f91.a49cb8",\r
7654                 "4e2495e6.04e044"\r
7655             ]\r
7656         ]\r
7657     },\r
7658     {\r
7659         "id": "a1e89c64.ee08",\r
7660         "type": "success",\r
7661         "name": "success",\r
7662         "xml": "<outcome value='success'>\n",\r
7663         "comments": "",\r
7664         "outputs": 1,\r
7665         "x": 2431.23291015625,\r
7666         "y": 6057.102630615234,\r
7667         "z": "df66c4ba.dc49d",\r
7668         "wires": [\r
7669             [\r
7670                 "b790569e.977af8"\r
7671             ]\r
7672         ]\r
7673     },\r
7674     {\r
7675         "id": "a110091a.c88bd8",\r
7676         "type": "save",\r
7677         "name": "get vpn-binding from aai",\r
7678         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
7679         "comments": "",\r
7680         "outputs": 1,\r
7681         "x": 2408.466552734375,\r
7682         "y": 6241.302337646484,\r
7683         "z": "df66c4ba.dc49d",\r
7684         "wires": [\r
7685             [\r
7686                 "2d065eb8.336f2a",\r
7687                 "87ee966c.316df8",\r
7688                 "aec85de6.45d0c"\r
7689             ]\r
7690         ]\r
7691     },\r
7692     {\r
7693         "id": "4adb06fe.906c3",\r
7694         "type": "for",\r
7695         "name": "for each relationship",\r
7696         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7697         "comments": "",\r
7698         "outputs": 1,\r
7699         "x": 1577.4664916992188,\r
7700         "y": 6284.30224609375,\r
7701         "z": "df66c4ba.dc49d",\r
7702         "wires": [\r
7703             [\r
7704                 "275bed8a.2109fa"\r
7705             ]\r
7706         ]\r
7707     },\r
7708     {\r
7709         "id": "275bed8a.2109fa",\r
7710         "type": "switchNode",\r
7711         "name": "switch related-to",\r
7712         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7713         "comments": "",\r
7714         "outputs": 1,\r
7715         "x": 1774.4664916992188,\r
7716         "y": 6298.30224609375,\r
7717         "z": "df66c4ba.dc49d",\r
7718         "wires": [\r
7719             [\r
7720                 "4f9c6be0.2a3c14",\r
7721                 "a2e8db17.e0dad8"\r
7722             ]\r
7723         ]\r
7724     },\r
7725     {\r
7726         "id": "4f9c6be0.2a3c14",\r
7727         "type": "outcome",\r
7728         "name": "vpn-binding",\r
7729         "xml": "<outcome value='vpn-binding'>\n",\r
7730         "comments": "",\r
7731         "outputs": 1,\r
7732         "x": 1978.466552734375,\r
7733         "y": 6201.30224609375,\r
7734         "z": "df66c4ba.dc49d",\r
7735         "wires": [\r
7736             [\r
7737                 "e20e285e.547a2"\r
7738             ]\r
7739         ]\r
7740     },\r
7741     {\r
7742         "id": "e20e285e.547a2",\r
7743         "type": "block",\r
7744         "name": "block : atomic",\r
7745         "xml": "<block atomic=\"true\">",\r
7746         "atomic": "true",\r
7747         "outputs": 1,\r
7748         "x": 2159.466552734375,\r
7749         "y": 6217.30224609375,\r
7750         "z": "df66c4ba.dc49d",\r
7751         "wires": [\r
7752             [\r
7753                 "a110091a.c88bd8"\r
7754             ]\r
7755         ]\r
7756     },\r
7757     {\r
7758         "id": "a2e8db17.e0dad8",\r
7759         "type": "outcome",\r
7760         "name": "uni",\r
7761         "xml": "<outcome value='uni'>\n",\r
7762         "comments": "",\r
7763         "outputs": 1,\r
7764         "x": 1988.466552734375,\r
7765         "y": 6459.302337646484,\r
7766         "z": "df66c4ba.dc49d",\r
7767         "wires": [\r
7768             [\r
7769                 "f74bc39.65f35c"\r
7770             ]\r
7771         ]\r
7772     },\r
7773     {\r
7774         "id": "f74bc39.65f35c",\r
7775         "type": "block",\r
7776         "name": "block : atomic",\r
7777         "xml": "<block atomic=\"true\">",\r
7778         "atomic": "true",\r
7779         "outputs": 1,\r
7780         "x": 2151.466552734375,\r
7781         "y": 6459.302337646484,\r
7782         "z": "df66c4ba.dc49d",\r
7783         "wires": [\r
7784             [\r
7785                 "c00c0bc0.55fe4"\r
7786             ]\r
7787         ]\r
7788     },\r
7789     {\r
7790         "id": "c00c0bc0.55fe4",\r
7791         "type": "save",\r
7792         "name": "delete uni resource in AAI",\r
7793         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
7794         "comments": "",\r
7795         "outputs": 1,\r
7796         "x": 2394.466552734375,\r
7797         "y": 6459.302337646484,\r
7798         "z": "df66c4ba.dc49d",\r
7799         "wires": [\r
7800             []\r
7801         ]\r
7802     },\r
7803     {\r
7804         "id": "97487c98.0e417",\r
7805         "type": "save",\r
7806         "name": "delete connectivity resource in AAI",\r
7807         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7808         "comments": "",\r
7809         "outputs": 1,\r
7810         "x": 1362.466552734375,\r
7811         "y": 7225.302337646484,\r
7812         "z": "df66c4ba.dc49d",\r
7813         "wires": [\r
7814             []\r
7815         ]\r
7816     },\r
7817     {\r
7818         "id": "b790569e.977af8",\r
7819         "type": "block",\r
7820         "name": "block",\r
7821         "xml": "<block>\n",\r
7822         "atomic": "false",\r
7823         "comments": "",\r
7824         "outputs": 1,\r
7825         "x": 1403.4664916992188,\r
7826         "y": 6282.30224609375,\r
7827         "z": "df66c4ba.dc49d",\r
7828         "wires": [\r
7829             [\r
7830                 "4adb06fe.906c3",\r
7831                 "97487c98.0e417",\r
7832                 "d04fa9dd.0ea93"\r
7833             ]\r
7834         ]\r
7835     },\r
7836     {\r
7837         "id": "2d065eb8.336f2a",\r
7838         "type": "success",\r
7839         "name": "success",\r
7840         "xml": "<outcome value='success'>\n",\r
7841         "comments": "",\r
7842         "outputs": 1,\r
7843         "x": 2619.466552734375,\r
7844         "y": 6243.302337646484,\r
7845         "z": "df66c4ba.dc49d",\r
7846         "wires": [\r
7847             [\r
7848                 "b92767c5.7007a"\r
7849             ]\r
7850         ]\r
7851     },\r
7852     {\r
7853         "id": "87ee966c.316df8",\r
7854         "type": "not-found",\r
7855         "name": "not-found",\r
7856         "xml": "<outcome value='not-found'>\n",\r
7857         "comments": "",\r
7858         "outputs": 1,\r
7859         "x": 2619.95751953125,\r
7860         "y": 6288.876373291016,\r
7861         "z": "df66c4ba.dc49d",\r
7862         "wires": [\r
7863             [\r
7864                 "39698a7e.793e46"\r
7865             ]\r
7866         ]\r
7867     },\r
7868     {\r
7869         "id": "aec85de6.45d0c",\r
7870         "type": "failure",\r
7871         "name": "failure",\r
7872         "xml": "<outcome value='failure'>\n",\r
7873         "comments": "",\r
7874         "outputs": 1,\r
7875         "x": 2617.466552734375,\r
7876         "y": 6332.302337646484,\r
7877         "z": "df66c4ba.dc49d",\r
7878         "wires": [\r
7879             [\r
7880                 "11419a70.f242ee"\r
7881             ]\r
7882         ]\r
7883     },\r
7884     {\r
7885         "id": "4e2495e6.04e044",\r
7886         "type": "not-found",\r
7887         "name": "not-found",\r
7888         "xml": "<outcome value='not-found'>\n",\r
7889         "comments": "",\r
7890         "outputs": 1,\r
7891         "x": 2455.282958984375,\r
7892         "y": 5957.902435302734,\r
7893         "z": "df66c4ba.dc49d",\r
7894         "wires": [\r
7895             []\r
7896         ]\r
7897     },\r
7898     {\r
7899         "id": "8d6c0f91.a49cb8",\r
7900         "type": "failure",\r
7901         "name": "failure",\r
7902         "xml": "<outcome value='failure'>\n",\r
7903         "comments": "",\r
7904         "outputs": 1,\r
7905         "x": 2452.7919921875,\r
7906         "y": 6001.328399658203,\r
7907         "z": "df66c4ba.dc49d",\r
7908         "wires": [\r
7909             []\r
7910         ]\r
7911     },\r
7912     {\r
7913         "id": "32b2c890.ef7958",\r
7914         "type": "save",\r
7915         "name": "delete middle-man-conn resource in AAI",\r
7916         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
7917         "comments": "",\r
7918         "outputs": 1,\r
7919         "x": 1533.4000854492188,\r
7920         "y": 6012.7021484375,\r
7921         "z": "df66c4ba.dc49d",\r
7922         "wires": [\r
7923             []\r
7924         ]\r
7925     },\r
7926     {\r
7927         "id": "b92767c5.7007a",\r
7928         "type": "block",\r
7929         "name": "block : atomic",\r
7930         "xml": "<block atomic=\"true\">",\r
7931         "atomic": "true",\r
7932         "outputs": 1,\r
7933         "x": 2785.466552734375,\r
7934         "y": 6233.302337646484,\r
7935         "z": "df66c4ba.dc49d",\r
7936         "wires": [\r
7937             [\r
7938                 "8147cbd5.b42498",\r
7939                 "7f8cdbe.2608ca4",\r
7940                 "991bc3e4.d8b4a8",\r
7941                 "b286c779.61d138",\r
7942                 "b9b93ea.866444"\r
7943             ]\r
7944         ]\r
7945     },\r
7946     {\r
7947         "id": "11419a70.f242ee",\r
7948         "type": "returnFailure",\r
7949         "name": "return failure",\r
7950         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7951         "comments": "",\r
7952         "x": 2784.466552734375,\r
7953         "y": 6331.302337646484,\r
7954         "z": "df66c4ba.dc49d",\r
7955         "wires": []\r
7956     },\r
7957     {\r
7958         "id": "39698a7e.793e46",\r
7959         "type": "returnFailure",\r
7960         "name": "return failure",\r
7961         "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
7962         "comments": "",\r
7963         "x": 2782.5289306640625,\r
7964         "y": 6289.162109375,\r
7965         "z": "df66c4ba.dc49d",\r
7966         "wires": []\r
7967     },\r
7968     {\r
7969         "id": "8147cbd5.b42498",\r
7970         "type": "set",\r
7971         "name": "set pnf-name",\r
7972         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
7973         "comments": "",\r
7974         "x": 3007.466552734375,\r
7975         "y": 5951.302337646484,\r
7976         "z": "df66c4ba.dc49d",\r
7977         "wires": []\r
7978     },\r
7979     {\r
7980         "id": "7f8cdbe.2608ca4",\r
7981         "type": "get-resource",\r
7982         "name": "get-resource src pnf",\r
7983         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
7984         "comments": "",\r
7985         "outputs": 1,\r
7986         "x": 3033.466552734375,\r
7987         "y": 6068.302337646484,\r
7988         "z": "df66c4ba.dc49d",\r
7989         "wires": [\r
7990             [\r
7991                 "d327bb6b.4f842",\r
7992                 "fcec59b5.0b9b4",\r
7993                 "c483fb97.0216f8"\r
7994             ]\r
7995         ]\r
7996     },\r
7997     {\r
7998         "id": "991bc3e4.d8b4a8",\r
7999         "type": "execute",\r
8000         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
8001         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\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
8002         "comments": "",\r
8003         "outputs": 1,\r
8004         "x": 3136.466552734375,\r
8005         "y": 6335.302337646484,\r
8006         "z": "df66c4ba.dc49d",\r
8007         "wires": [\r
8008             [\r
8009                 "de0f39f6.8546f",\r
8010                 "d42c9248.43e218"\r
8011             ]\r
8012         ]\r
8013     },\r
8014     {\r
8015         "id": "b286c779.61d138",\r
8016         "type": "switchNode",\r
8017         "name": "switch connectivity has ethernet service",\r
8018         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8019         "comments": "",\r
8020         "outputs": 1,\r
8021         "x": 3074.466552734375,\r
8022         "y": 6470.302337646484,\r
8023         "z": "df66c4ba.dc49d",\r
8024         "wires": [\r
8025             [\r
8026                 "f81c3e8c.ae8e4",\r
8027                 "1d01e37a.e82265"\r
8028             ]\r
8029         ]\r
8030     },\r
8031     {\r
8032         "id": "b9b93ea.866444",\r
8033         "type": "save",\r
8034         "name": "delete vpn-binding resource in AAI",\r
8035         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
8036         "comments": "",\r
8037         "outputs": 1,\r
8038         "x": 3055.466552734375,\r
8039         "y": 6586.302337646484,\r
8040         "z": "df66c4ba.dc49d",\r
8041         "wires": [\r
8042             []\r
8043         ]\r
8044     },\r
8045     {\r
8046         "id": "d327bb6b.4f842",\r
8047         "type": "success",\r
8048         "name": "success",\r
8049         "xml": "<outcome value='success'>\n",\r
8050         "comments": "",\r
8051         "outputs": 1,\r
8052         "x": 3228.9666748046875,\r
8053         "y": 6020.302337646484,\r
8054         "z": "df66c4ba.dc49d",\r
8055         "wires": [\r
8056             [\r
8057                 "df7e30e7.7c136"\r
8058             ]\r
8059         ]\r
8060     },\r
8061     {\r
8062         "id": "fcec59b5.0b9b4",\r
8063         "type": "not-found",\r
8064         "name": "not-found",\r
8065         "xml": "<outcome value='not-found'>\n",\r
8066         "comments": "",\r
8067         "outputs": 1,\r
8068         "x": 3220.9666748046875,\r
8069         "y": 6075.302337646484,\r
8070         "z": "df66c4ba.dc49d",\r
8071         "wires": [\r
8072             [\r
8073                 "49204a47.5b32c4"\r
8074             ]\r
8075         ]\r
8076     },\r
8077     {\r
8078         "id": "df7e30e7.7c136",\r
8079         "type": "block",\r
8080         "name": "block",\r
8081         "xml": "<block>\n",\r
8082         "atomic": "false",\r
8083         "comments": "",\r
8084         "outputs": 1,\r
8085         "x": 3363.348876953125,\r
8086         "y": 6014.958099365234,\r
8087         "z": "df66c4ba.dc49d",\r
8088         "wires": [\r
8089             [\r
8090                 "2df8196b.742ffe"\r
8091             ]\r
8092         ]\r
8093     },\r
8094     {\r
8095         "id": "c483fb97.0216f8",\r
8096         "type": "other",\r
8097         "name": "other",\r
8098         "xml": "<outcome value='Other'>\n",\r
8099         "comments": "",\r
8100         "outputs": 1,\r
8101         "x": 3225.9666748046875,\r
8102         "y": 6132.302337646484,\r
8103         "z": "df66c4ba.dc49d",\r
8104         "wires": [\r
8105             [\r
8106                 "6350206c.c1b658"\r
8107             ]\r
8108         ]\r
8109     },\r
8110     {\r
8111         "id": "6350206c.c1b658",\r
8112         "type": "returnFailure",\r
8113         "name": "return failure",\r
8114         "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
8115         "comments": "",\r
8116         "x": 3377.9666748046875,\r
8117         "y": 6133.302337646484,\r
8118         "z": "df66c4ba.dc49d",\r
8119         "wires": []\r
8120     },\r
8121     {\r
8122         "id": "49204a47.5b32c4",\r
8123         "type": "returnFailure",\r
8124         "name": "return failure",\r
8125         "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
8126         "comments": "",\r
8127         "x": 3388.9666748046875,\r
8128         "y": 6076.302337646484,\r
8129         "z": "df66c4ba.dc49d",\r
8130         "wires": []\r
8131     },\r
8132     {\r
8133         "id": "1d01e37a.e82265",\r
8134         "type": "other",\r
8135         "name": "other",\r
8136         "xml": "<outcome value='Other'>\n",\r
8137         "comments": "",\r
8138         "outputs": 1,\r
8139         "x": 3327.466552734375,\r
8140         "y": 6448.302337646484,\r
8141         "z": "df66c4ba.dc49d",\r
8142         "wires": [\r
8143             [\r
8144                 "6635b3c9.2401f4"\r
8145             ]\r
8146         ]\r
8147     },\r
8148     {\r
8149         "id": "f81c3e8c.ae8e4",\r
8150         "type": "outcome",\r
8151         "name": "Null",\r
8152         "xml": "<outcome value=''>\n",\r
8153         "comments": "",\r
8154         "outputs": 1,\r
8155         "x": 3327.466552734375,\r
8156         "y": 6504.302337646484,\r
8157         "z": "df66c4ba.dc49d",\r
8158         "wires": [\r
8159             []\r
8160         ]\r
8161     },\r
8162     {\r
8163         "id": "2df8196b.742ffe",\r
8164         "type": "for",\r
8165         "name": "for each relationship",\r
8166         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8167         "comments": "",\r
8168         "outputs": 1,\r
8169         "x": 3550.466064453125,\r
8170         "y": 6016.302337646484,\r
8171         "z": "df66c4ba.dc49d",\r
8172         "wires": [\r
8173             [\r
8174                 "6df12a4f.4f5be4"\r
8175             ]\r
8176         ]\r
8177     },\r
8178     {\r
8179         "id": "6df12a4f.4f5be4",\r
8180         "type": "switchNode",\r
8181         "name": "switch related-to",\r
8182         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8183         "comments": "",\r
8184         "outputs": 1,\r
8185         "x": 3791.466064453125,\r
8186         "y": 6007.302337646484,\r
8187         "z": "df66c4ba.dc49d",\r
8188         "wires": [\r
8189             [\r
8190                 "345bdac9.d7580e"\r
8191             ]\r
8192         ]\r
8193     },\r
8194     {\r
8195         "id": "6635b3c9.2401f4",\r
8196         "type": "execute",\r
8197         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8198         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
8199         "comments": "",\r
8200         "outputs": 1,\r
8201         "x": 3677.466064453125,\r
8202         "y": 6438.302337646484,\r
8203         "z": "df66c4ba.dc49d",\r
8204         "wires": [\r
8205             [\r
8206                 "62245fed.88f7b8",\r
8207                 "93d26392.9844b"\r
8208             ]\r
8209         ]\r
8210     },\r
8211     {\r
8212         "id": "de0f39f6.8546f",\r
8213         "type": "failure",\r
8214         "name": "failure",\r
8215         "xml": "<outcome value='failure'>\n",\r
8216         "comments": "",\r
8217         "outputs": 1,\r
8218         "x": 3443.966064453125,\r
8219         "y": 6360.302337646484,\r
8220         "z": "df66c4ba.dc49d",\r
8221         "wires": [\r
8222             [\r
8223                 "efef7a04.122ab"\r
8224             ]\r
8225         ]\r
8226     },\r
8227     {\r
8228         "id": "d42c9248.43e218",\r
8229         "type": "success",\r
8230         "name": "success",\r
8231         "xml": "<outcome value='success'>\n",\r
8232         "comments": "",\r
8233         "outputs": 1,\r
8234         "x": 3444.966064453125,\r
8235         "y": 6305.302337646484,\r
8236         "z": "df66c4ba.dc49d",\r
8237         "wires": [\r
8238             [\r
8239                 "5547b05c.5a7128"\r
8240             ]\r
8241         ]\r
8242     },\r
8243     {\r
8244         "id": "efef7a04.122ab",\r
8245         "type": "returnFailure",\r
8246         "name": "return failure",\r
8247         "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 delete OTN tunnel rest api\" />\n",\r
8248         "comments": "",\r
8249         "x": 3615.966064453125,\r
8250         "y": 6358.302337646484,\r
8251         "z": "df66c4ba.dc49d",\r
8252         "wires": []\r
8253     },\r
8254     {\r
8255         "id": "5547b05c.5a7128",\r
8256         "type": "block",\r
8257         "name": "block : atomic",\r
8258         "xml": "<block atomic=\"true\">",\r
8259         "atomic": "true",\r
8260         "comments": "",\r
8261         "outputs": 1,\r
8262         "x": 3612.466064453125,\r
8263         "y": 6307.302337646484,\r
8264         "z": "df66c4ba.dc49d",\r
8265         "wires": [\r
8266             []\r
8267         ]\r
8268     },\r
8269     {\r
8270         "id": "67e0872f.595688",\r
8271         "type": "block",\r
8272         "name": "block : atomic",\r
8273         "xml": "<block atomic=\"true\">",\r
8274         "atomic": "true",\r
8275         "outputs": 1,\r
8276         "x": 4148.4658203125,\r
8277         "y": 5956.302337646484,\r
8278         "z": "df66c4ba.dc49d",\r
8279         "wires": [\r
8280             [\r
8281                 "5fd99c9d.a6e514",\r
8282                 "c5566cea.30bd7",\r
8283                 "ac42532d.c50238"\r
8284             ]\r
8285         ]\r
8286     },\r
8287     {\r
8288         "id": "345bdac9.d7580e",\r
8289         "type": "outcome",\r
8290         "name": "esr-thirdparty-sdnc",\r
8291         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8292         "comments": "",\r
8293         "outputs": 1,\r
8294         "x": 3997.466064453125,\r
8295         "y": 6004.302337646484,\r
8296         "z": "df66c4ba.dc49d",\r
8297         "wires": [\r
8298             [\r
8299                 "67e0872f.595688"\r
8300             ]\r
8301         ]\r
8302     },\r
8303     {\r
8304         "id": "62245fed.88f7b8",\r
8305         "type": "failure",\r
8306         "name": "failure",\r
8307         "xml": "<outcome value='failure'>\n",\r
8308         "comments": "",\r
8309         "outputs": 1,\r
8310         "x": 4009.966064453125,\r
8311         "y": 6412.302337646484,\r
8312         "z": "df66c4ba.dc49d",\r
8313         "wires": [\r
8314             [\r
8315                 "5832ca1b.e5ff14"\r
8316             ]\r
8317         ]\r
8318     },\r
8319     {\r
8320         "id": "93d26392.9844b",\r
8321         "type": "success",\r
8322         "name": "success",\r
8323         "xml": "<outcome value='success'>\n",\r
8324         "comments": "",\r
8325         "outputs": 1,\r
8326         "x": 4013.966064453125,\r
8327         "y": 6452.302337646484,\r
8328         "z": "df66c4ba.dc49d",\r
8329         "wires": [\r
8330             [\r
8331                 "263d2537.eb493a"\r
8332             ]\r
8333         ]\r
8334     },\r
8335     {\r
8336         "id": "263d2537.eb493a",\r
8337         "type": "block",\r
8338         "name": "block : atomic",\r
8339         "xml": "<block atomic=\"true\">",\r
8340         "atomic": "true",\r
8341         "comments": "",\r
8342         "outputs": 1,\r
8343         "x": 4201.466064453125,\r
8344         "y": 6456.302337646484,\r
8345         "z": "df66c4ba.dc49d",\r
8346         "wires": [\r
8347             [\r
8348                 "4ed6624e.3d3df4"\r
8349             ]\r
8350         ]\r
8351     },\r
8352     {\r
8353         "id": "5832ca1b.e5ff14",\r
8354         "type": "returnFailure",\r
8355         "name": "return failure",\r
8356         "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 delete ethernet service rest api\" />\n",\r
8357         "comments": "",\r
8358         "x": 4197.966064453125,\r
8359         "y": 6416.302337646484,\r
8360         "z": "df66c4ba.dc49d",\r
8361         "wires": []\r
8362     },\r
8363     {\r
8364         "id": "c5566cea.30bd7",\r
8365         "type": "execute",\r
8366         "name": "get esr-thirdparty-sdnc",\r
8367         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
8368         "comments": "",\r
8369         "outputs": 1,\r
8370         "x": 4354.4658203125,\r
8371         "y": 5969.302337646484,\r
8372         "z": "df66c4ba.dc49d",\r
8373         "wires": [\r
8374             [\r
8375                 "1f8f123b.3b43b6",\r
8376                 "ad361732.c4c148",\r
8377                 "b36b591c.d0d57"\r
8378             ]\r
8379         ]\r
8380     },\r
8381     {\r
8382         "id": "5fd99c9d.a6e514",\r
8383         "type": "set",\r
8384         "name": "set esr-thirdparty-sdnc domain id",\r
8385         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
8386         "comments": "",\r
8387         "x": 4384.4658203125,\r
8388         "y": 5917.302337646484,\r
8389         "z": "df66c4ba.dc49d",\r
8390         "wires": []\r
8391     },\r
8392     {\r
8393         "id": "1f8f123b.3b43b6",\r
8394         "type": "success",\r
8395         "name": "success",\r
8396         "xml": "<outcome value='success'>\n",\r
8397         "comments": "",\r
8398         "outputs": 1,\r
8399         "x": 4564.4658203125,\r
8400         "y": 5960.302337646484,\r
8401         "z": "df66c4ba.dc49d",\r
8402         "wires": [\r
8403             [\r
8404                 "55972070.a10d1"\r
8405             ]\r
8406         ]\r
8407     },\r
8408     {\r
8409         "id": "ad361732.c4c148",\r
8410         "type": "not-found",\r
8411         "name": "not-found",\r
8412         "xml": "<outcome value='not-found'>\n",\r
8413         "comments": "",\r
8414         "outputs": 1,\r
8415         "x": 4556.4658203125,\r
8416         "y": 6015.302337646484,\r
8417         "z": "df66c4ba.dc49d",\r
8418         "wires": [\r
8419             [\r
8420                 "b3ebf2d9.9fcd08"\r
8421             ]\r
8422         ]\r
8423     },\r
8424     {\r
8425         "id": "b36b591c.d0d57",\r
8426         "type": "other",\r
8427         "name": "other",\r
8428         "xml": "<outcome value='Other'>\n",\r
8429         "comments": "",\r
8430         "outputs": 1,\r
8431         "x": 4561.4658203125,\r
8432         "y": 6072.302337646484,\r
8433         "z": "df66c4ba.dc49d",\r
8434         "wires": [\r
8435             [\r
8436                 "a70cb792.ca4f6"\r
8437             ]\r
8438         ]\r
8439     },\r
8440     {\r
8441         "id": "ac42532d.c50238",\r
8442         "type": "break",\r
8443         "name": "break",\r
8444         "xml": "<break>\n",\r
8445         "comments": "",\r
8446         "x": 4304.4658203125,\r
8447         "y": 6033.302337646484,\r
8448         "z": "df66c4ba.dc49d",\r
8449         "wires": []\r
8450     },\r
8451     {\r
8452         "id": "a70cb792.ca4f6",\r
8453         "type": "returnFailure",\r
8454         "name": "return failure",\r
8455         "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
8456         "comments": "",\r
8457         "x": 4713.4658203125,\r
8458         "y": 6073.302337646484,\r
8459         "z": "df66c4ba.dc49d",\r
8460         "wires": []\r
8461     },\r
8462     {\r
8463         "id": "b3ebf2d9.9fcd08",\r
8464         "type": "returnFailure",\r
8465         "name": "return failure",\r
8466         "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
8467         "comments": "",\r
8468         "x": 4724.4658203125,\r
8469         "y": 6018.302337646484,\r
8470         "z": "df66c4ba.dc49d",\r
8471         "wires": []\r
8472     },\r
8473     {\r
8474         "id": "55972070.a10d1",\r
8475         "type": "block",\r
8476         "name": "block",\r
8477         "xml": "<block>\n",\r
8478         "atomic": "false",\r
8479         "comments": "",\r
8480         "outputs": 1,\r
8481         "x": 4708.84814453125,\r
8482         "y": 5957.9580078125,\r
8483         "z": "df66c4ba.dc49d",\r
8484         "wires": [\r
8485             [\r
8486                 "4ce9545d.714c5c"\r
8487             ]\r
8488         ]\r
8489     },\r
8490     {\r
8491         "id": "4ce9545d.714c5c",\r
8492         "type": "set",\r
8493         "name": "set controller domain data",\r
8494         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
8495         "comments": "",\r
8496         "x": 4923.4658203125,\r
8497         "y": 5954.302337646484,\r
8498         "z": "df66c4ba.dc49d",\r
8499         "wires": []\r
8500     },\r
8501     {\r
8502         "id": "40aef7f6.0b7228",\r
8503         "type": "set",\r
8504         "name": "set pnf-name",\r
8505         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
8506         "comments": "",\r
8507         "x": 1659.2332763671875,\r
8508         "y": 6751.902435302734,\r
8509         "z": "df66c4ba.dc49d",\r
8510         "wires": []\r
8511     },\r
8512     {\r
8513         "id": "4576702d.22188",\r
8514         "type": "get-resource",\r
8515         "name": "get-resource src pnf",\r
8516         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
8517         "comments": "",\r
8518         "outputs": 1,\r
8519         "x": 1685.2332763671875,\r
8520         "y": 6868.902435302734,\r
8521         "z": "df66c4ba.dc49d",\r
8522         "wires": [\r
8523             [\r
8524                 "b905b.3d0c77a6",\r
8525                 "a913e20f.2cee1",\r
8526                 "5b499033.3c7be8"\r
8527             ]\r
8528         ]\r
8529     },\r
8530     {\r
8531         "id": "b905b.3d0c77a6",\r
8532         "type": "success",\r
8533         "name": "success",\r
8534         "xml": "<outcome value='success'>\n",\r
8535         "comments": "",\r
8536         "outputs": 1,\r
8537         "x": 1880.7333984375,\r
8538         "y": 6820.902435302734,\r
8539         "z": "df66c4ba.dc49d",\r
8540         "wires": [\r
8541             [\r
8542                 "fda08d88.ca8218"\r
8543             ]\r
8544         ]\r
8545     },\r
8546     {\r
8547         "id": "a913e20f.2cee1",\r
8548         "type": "not-found",\r
8549         "name": "not-found",\r
8550         "xml": "<outcome value='not-found'>\n",\r
8551         "comments": "",\r
8552         "outputs": 1,\r
8553         "x": 1872.7333984375,\r
8554         "y": 6875.902435302734,\r
8555         "z": "df66c4ba.dc49d",\r
8556         "wires": [\r
8557             [\r
8558                 "6f461b70.2ad3ec"\r
8559             ]\r
8560         ]\r
8561     },\r
8562     {\r
8563         "id": "fda08d88.ca8218",\r
8564         "type": "block",\r
8565         "name": "block",\r
8566         "xml": "<block>\n",\r
8567         "atomic": "false",\r
8568         "comments": "",\r
8569         "outputs": 1,\r
8570         "x": 2015.1156005859375,\r
8571         "y": 6815.558197021484,\r
8572         "z": "df66c4ba.dc49d",\r
8573         "wires": [\r
8574             [\r
8575                 "c0fafd9c.883f28"\r
8576             ]\r
8577         ]\r
8578     },\r
8579     {\r
8580         "id": "5b499033.3c7be8",\r
8581         "type": "other",\r
8582         "name": "other",\r
8583         "xml": "<outcome value='Other'>\n",\r
8584         "comments": "",\r
8585         "outputs": 1,\r
8586         "x": 1877.7333984375,\r
8587         "y": 6932.902435302734,\r
8588         "z": "df66c4ba.dc49d",\r
8589         "wires": [\r
8590             [\r
8591                 "23b6f155.461de6"\r
8592             ]\r
8593         ]\r
8594     },\r
8595     {\r
8596         "id": "23b6f155.461de6",\r
8597         "type": "returnFailure",\r
8598         "name": "return failure",\r
8599         "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
8600         "comments": "",\r
8601         "x": 2029.7333984375,\r
8602         "y": 6933.902435302734,\r
8603         "z": "df66c4ba.dc49d",\r
8604         "wires": []\r
8605     },\r
8606     {\r
8607         "id": "6f461b70.2ad3ec",\r
8608         "type": "returnFailure",\r
8609         "name": "return failure",\r
8610         "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
8611         "comments": "",\r
8612         "x": 2040.7333984375,\r
8613         "y": 6876.902435302734,\r
8614         "z": "df66c4ba.dc49d",\r
8615         "wires": []\r
8616     },\r
8617     {\r
8618         "id": "c0fafd9c.883f28",\r
8619         "type": "for",\r
8620         "name": "for each relationship",\r
8621         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8622         "comments": "",\r
8623         "outputs": 1,\r
8624         "x": 2202.2327880859375,\r
8625         "y": 6816.902435302734,\r
8626         "z": "df66c4ba.dc49d",\r
8627         "wires": [\r
8628             [\r
8629                 "810f1bc.7b19d68"\r
8630             ]\r
8631         ]\r
8632     },\r
8633     {\r
8634         "id": "810f1bc.7b19d68",\r
8635         "type": "switchNode",\r
8636         "name": "switch related-to",\r
8637         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8638         "comments": "",\r
8639         "outputs": 1,\r
8640         "x": 2443.2327880859375,\r
8641         "y": 6807.902435302734,\r
8642         "z": "df66c4ba.dc49d",\r
8643         "wires": [\r
8644             [\r
8645                 "ad7d1fb5.cc1a18"\r
8646             ]\r
8647         ]\r
8648     },\r
8649     {\r
8650         "id": "56d2a753.e194",\r
8651         "type": "block",\r
8652         "name": "block : atomic",\r
8653         "xml": "<block atomic=\"true\">",\r
8654         "atomic": "true",\r
8655         "outputs": 1,\r
8656         "x": 2800.2325439453125,\r
8657         "y": 6756.902435302734,\r
8658         "z": "df66c4ba.dc49d",\r
8659         "wires": [\r
8660             [\r
8661                 "1805810f.473127",\r
8662                 "c086be3e.9f0a58",\r
8663                 "b6b8383e.7e7b78"\r
8664             ]\r
8665         ]\r
8666     },\r
8667     {\r
8668         "id": "ad7d1fb5.cc1a18",\r
8669         "type": "outcome",\r
8670         "name": "esr-thirdparty-sdnc",\r
8671         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8672         "comments": "",\r
8673         "outputs": 1,\r
8674         "x": 2649.2327880859375,\r
8675         "y": 6804.902435302734,\r
8676         "z": "df66c4ba.dc49d",\r
8677         "wires": [\r
8678             [\r
8679                 "56d2a753.e194"\r
8680             ]\r
8681         ]\r
8682     },\r
8683     {\r
8684         "id": "c086be3e.9f0a58",\r
8685         "type": "execute",\r
8686         "name": "get esr-thirdparty-sdnc",\r
8687         "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.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
8688         "comments": "",\r
8689         "outputs": 1,\r
8690         "x": 3006.2325439453125,\r
8691         "y": 6769.902435302734,\r
8692         "z": "df66c4ba.dc49d",\r
8693         "wires": [\r
8694             [\r
8695                 "41ba51ef.c8b828",\r
8696                 "a2407b12.88a828",\r
8697                 "6a27d837.9d059"\r
8698             ]\r
8699         ]\r
8700     },\r
8701     {\r
8702         "id": "b6b8383e.7e7b78",\r
8703         "type": "break",\r
8704         "name": "break",\r
8705         "xml": "<break>\n",\r
8706         "comments": "",\r
8707         "x": 2956.2325439453125,\r
8708         "y": 6833.902435302734,\r
8709         "z": "df66c4ba.dc49d",\r
8710         "wires": []\r
8711     },\r
8712     {\r
8713         "id": "1805810f.473127",\r
8714         "type": "set",\r
8715         "name": "set esr-thirdparty-sdnc domain id",\r
8716         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
8717         "comments": "",\r
8718         "x": 3036.2325439453125,\r
8719         "y": 6717.902435302734,\r
8720         "z": "df66c4ba.dc49d",\r
8721         "wires": []\r
8722     },\r
8723     {\r
8724         "id": "41ba51ef.c8b828",\r
8725         "type": "success",\r
8726         "name": "success",\r
8727         "xml": "<outcome value='success'>\n",\r
8728         "comments": "",\r
8729         "outputs": 1,\r
8730         "x": 3216.2325439453125,\r
8731         "y": 6760.902435302734,\r
8732         "z": "df66c4ba.dc49d",\r
8733         "wires": [\r
8734             [\r
8735                 "67360da7.aafffc"\r
8736             ]\r
8737         ]\r
8738     },\r
8739     {\r
8740         "id": "a2407b12.88a828",\r
8741         "type": "not-found",\r
8742         "name": "not-found",\r
8743         "xml": "<outcome value='not-found'>\n",\r
8744         "comments": "",\r
8745         "outputs": 1,\r
8746         "x": 3208.2325439453125,\r
8747         "y": 6815.902435302734,\r
8748         "z": "df66c4ba.dc49d",\r
8749         "wires": [\r
8750             [\r
8751                 "aba785db.cff2e"\r
8752             ]\r
8753         ]\r
8754     },\r
8755     {\r
8756         "id": "6a27d837.9d059",\r
8757         "type": "other",\r
8758         "name": "other",\r
8759         "xml": "<outcome value='Other'>\n",\r
8760         "comments": "",\r
8761         "outputs": 1,\r
8762         "x": 3213.2325439453125,\r
8763         "y": 6872.902435302734,\r
8764         "z": "df66c4ba.dc49d",\r
8765         "wires": [\r
8766             [\r
8767                 "2e83f42c.ac084c"\r
8768             ]\r
8769         ]\r
8770     },\r
8771     {\r
8772         "id": "2e83f42c.ac084c",\r
8773         "type": "returnFailure",\r
8774         "name": "return failure",\r
8775         "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
8776         "comments": "",\r
8777         "x": 3365.2325439453125,\r
8778         "y": 6873.902435302734,\r
8779         "z": "df66c4ba.dc49d",\r
8780         "wires": []\r
8781     },\r
8782     {\r
8783         "id": "aba785db.cff2e",\r
8784         "type": "returnFailure",\r
8785         "name": "return failure",\r
8786         "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
8787         "comments": "",\r
8788         "x": 3376.2325439453125,\r
8789         "y": 6818.902435302734,\r
8790         "z": "df66c4ba.dc49d",\r
8791         "wires": []\r
8792     },\r
8793     {\r
8794         "id": "67360da7.aafffc",\r
8795         "type": "block",\r
8796         "name": "block",\r
8797         "xml": "<block>\n",\r
8798         "atomic": "false",\r
8799         "comments": "",\r
8800         "outputs": 1,\r
8801         "x": 3360.6148681640625,\r
8802         "y": 6758.55810546875,\r
8803         "z": "df66c4ba.dc49d",\r
8804         "wires": [\r
8805             [\r
8806                 "5bfcca0.e84cb38"\r
8807             ]\r
8808         ]\r
8809     },\r
8810     {\r
8811         "id": "5bfcca0.e84cb38",\r
8812         "type": "set",\r
8813         "name": "set controller domain data",\r
8814         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.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
8815         "comments": "",\r
8816         "x": 3575.2325439453125,\r
8817         "y": 6754.902435302734,\r
8818         "z": "df66c4ba.dc49d",\r
8819         "wires": []\r
8820     },\r
8821     {\r
8822         "id": "d04fa9dd.0ea93",\r
8823         "type": "block",\r
8824         "name": "block : atomic",\r
8825         "xml": "<block atomic=\"true\">",\r
8826         "atomic": "true",\r
8827         "outputs": 1,\r
8828         "x": 1451.2332763671875,\r
8829         "y": 6879.902435302734,\r
8830         "z": "df66c4ba.dc49d",\r
8831         "wires": [\r
8832             [\r
8833                 "40aef7f6.0b7228",\r
8834                 "4576702d.22188",\r
8835                 "1c9c9766.902671"\r
8836             ]\r
8837         ]\r
8838     },\r
8839     {\r
8840         "id": "1c9c9766.902671",\r
8841         "type": "switchNode",\r
8842         "name": "switch connectivity has ethernet service",\r
8843         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8844         "comments": "",\r
8845         "outputs": 1,\r
8846         "x": 1733.433349609375,\r
8847         "y": 7021.102630615234,\r
8848         "z": "df66c4ba.dc49d",\r
8849         "wires": [\r
8850             [\r
8851                 "14008b93.c61004",\r
8852                 "9e2bb4b2.c6532"\r
8853             ]\r
8854         ]\r
8855     },\r
8856     {\r
8857         "id": "9e2bb4b2.c6532",\r
8858         "type": "other",\r
8859         "name": "other",\r
8860         "xml": "<outcome value='Other'>\n",\r
8861         "comments": "",\r
8862         "outputs": 1,\r
8863         "x": 1986.433349609375,\r
8864         "y": 6999.102630615234,\r
8865         "z": "df66c4ba.dc49d",\r
8866         "wires": [\r
8867             [\r
8868                 "4241c741.35655"\r
8869             ]\r
8870         ]\r
8871     },\r
8872     {\r
8873         "id": "14008b93.c61004",\r
8874         "type": "outcome",\r
8875         "name": "Null",\r
8876         "xml": "<outcome value=''>\n",\r
8877         "comments": "",\r
8878         "outputs": 1,\r
8879         "x": 1986.433349609375,\r
8880         "y": 7055.102630615234,\r
8881         "z": "df66c4ba.dc49d",\r
8882         "wires": [\r
8883             []\r
8884         ]\r
8885     },\r
8886     {\r
8887         "id": "4241c741.35655",\r
8888         "type": "execute",\r
8889         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8890         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
8891         "comments": "",\r
8892         "outputs": 1,\r
8893         "x": 2336.432861328125,\r
8894         "y": 6989.102630615234,\r
8895         "z": "df66c4ba.dc49d",\r
8896         "wires": [\r
8897             [\r
8898                 "ea96feaf.f1788",\r
8899                 "4822a513.5b5dec"\r
8900             ]\r
8901         ]\r
8902     },\r
8903     {\r
8904         "id": "ea96feaf.f1788",\r
8905         "type": "failure",\r
8906         "name": "failure",\r
8907         "xml": "<outcome value='failure'>\n",\r
8908         "comments": "",\r
8909         "outputs": 1,\r
8910         "x": 2668.932861328125,\r
8911         "y": 6963.102630615234,\r
8912         "z": "df66c4ba.dc49d",\r
8913         "wires": [\r
8914             [\r
8915                 "99064a7c.800f78"\r
8916             ]\r
8917         ]\r
8918     },\r
8919     {\r
8920         "id": "4822a513.5b5dec",\r
8921         "type": "success",\r
8922         "name": "success",\r
8923         "xml": "<outcome value='success'>\n",\r
8924         "comments": "",\r
8925         "outputs": 1,\r
8926         "x": 2672.932861328125,\r
8927         "y": 7003.102630615234,\r
8928         "z": "df66c4ba.dc49d",\r
8929         "wires": [\r
8930             [\r
8931                 "75af94b2.bd71a4"\r
8932             ]\r
8933         ]\r
8934     },\r
8935     {\r
8936         "id": "75af94b2.bd71a4",\r
8937         "type": "block",\r
8938         "name": "block : atomic",\r
8939         "xml": "<block atomic=\"true\">",\r
8940         "atomic": "true",\r
8941         "comments": "",\r
8942         "outputs": 1,\r
8943         "x": 2860.432861328125,\r
8944         "y": 7007.102630615234,\r
8945         "z": "df66c4ba.dc49d",\r
8946         "wires": [\r
8947             [\r
8948                 "383276dd.aedfd2"\r
8949             ]\r
8950         ]\r
8951     },\r
8952     {\r
8953         "id": "99064a7c.800f78",\r
8954         "type": "returnFailure",\r
8955         "name": "return failure",\r
8956         "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 delete ethernet service rest api\" />\n",\r
8957         "comments": "",\r
8958         "x": 2856.932861328125,\r
8959         "y": 6967.102630615234,\r
8960         "z": "df66c4ba.dc49d",\r
8961         "wires": []\r
8962     },\r
8963     {\r
8964         "id": "787fd0ee.fe0408",\r
8965         "type": "execute",\r
8966         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
8967         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\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
8968         "comments": "",\r
8969         "outputs": 1,\r
8970         "x": 1089.25,\r
8971         "y": 4706.6856689453125,\r
8972         "z": "df66c4ba.dc49d",\r
8973         "wires": [\r
8974             [\r
8975                 "9f0cae6f.29b72",\r
8976                 "ae365d21.2b4fd8"\r
8977             ]\r
8978         ]\r
8979     },\r
8980     {\r
8981         "id": "9f0cae6f.29b72",\r
8982         "type": "failure",\r
8983         "name": "failure",\r
8984         "xml": "<outcome value='failure'>\n",\r
8985         "comments": "",\r
8986         "outputs": 1,\r
8987         "x": 1517.749755859375,\r
8988         "y": 4694.6856689453125,\r
8989         "z": "df66c4ba.dc49d",\r
8990         "wires": [\r
8991             [\r
8992                 "b4e1628f.b3806"\r
8993             ]\r
8994         ]\r
8995     },\r
8996     {\r
8997         "id": "ae365d21.2b4fd8",\r
8998         "type": "success",\r
8999         "name": "success",\r
9000         "xml": "<outcome value='success'>\n",\r
9001         "comments": "",\r
9002         "outputs": 1,\r
9003         "x": 1521.749755859375,\r
9004         "y": 4734.6856689453125,\r
9005         "z": "df66c4ba.dc49d",\r
9006         "wires": [\r
9007             [\r
9008                 "f7f8736e.92596"\r
9009             ]\r
9010         ]\r
9011     },\r
9012     {\r
9013         "id": "b4e1628f.b3806",\r
9014         "type": "returnFailure",\r
9015         "name": "return failure",\r
9016         "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 delete ethernet service rest api\" />\n",\r
9017         "comments": "",\r
9018         "x": 1675.749755859375,\r
9019         "y": 4694.6856689453125,\r
9020         "z": "df66c4ba.dc49d",\r
9021         "wires": []\r
9022     },\r
9023     {\r
9024         "id": "f7f8736e.92596",\r
9025         "type": "block",\r
9026         "name": "block : atomic",\r
9027         "xml": "<block atomic=\"true\">",\r
9028         "atomic": "true",\r
9029         "comments": "",\r
9030         "outputs": 1,\r
9031         "x": 1679.249755859375,\r
9032         "y": 4734.6856689453125,\r
9033         "z": "df66c4ba.dc49d",\r
9034         "wires": [\r
9035             []\r
9036         ]\r
9037     },\r
9038     {\r
9039         "id": "e95ba342.193f38",\r
9040         "type": "block",\r
9041         "name": "block : atomic",\r
9042         "xml": "<block atomic='true'>",\r
9043         "atomic": "true",\r
9044         "comments": "",\r
9045         "outputs": 1,\r
9046         "x": 5113,\r
9047         "y": 5027.2857666015625,\r
9048         "z": "df66c4ba.dc49d",\r
9049         "wires": [\r
9050             [\r
9051                 "6274dc16.d97334",\r
9052                 "78a742b8.f3e49c",\r
9053                 "a7f7a97f.231788"\r
9054             ]\r
9055         ]\r
9056     },\r
9057     {\r
9058         "id": "a7f7a97f.231788",\r
9059         "type": "set",\r
9060         "name": "set vpnNameToSearch",\r
9061         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
9062         "comments": "",\r
9063         "x": 5340,\r
9064         "y": 4972.2857666015625,\r
9065         "z": "df66c4ba.dc49d",\r
9066         "wires": []\r
9067     },\r
9068     {\r
9069         "id": "6274dc16.d97334",\r
9070         "type": "call",\r
9071         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
9072         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
9073         "comments": "",\r
9074         "outputs": 1,\r
9075         "x": 5494,\r
9076         "y": 5024.2857666015625,\r
9077         "z": "df66c4ba.dc49d",\r
9078         "wires": [\r
9079             []\r
9080         ]\r
9081     },\r
9082     {\r
9083         "id": "78a742b8.f3e49c",\r
9084         "type": "switchNode",\r
9085         "name": "switch $foundVpnName",\r
9086         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
9087         "comments": "",\r
9088         "outputs": 1,\r
9089         "x": 5339,\r
9090         "y": 5079.2857666015625,\r
9091         "z": "df66c4ba.dc49d",\r
9092         "wires": [\r
9093             [\r
9094                 "198065a6.b0f88a"\r
9095             ]\r
9096         ]\r
9097     },\r
9098     {\r
9099         "id": "198065a6.b0f88a",\r
9100         "type": "outcomeTrue",\r
9101         "name": "true",\r
9102         "xml": "<outcome value='true'>\n",\r
9103         "comments": "",\r
9104         "outputs": 1,\r
9105         "x": 5518,\r
9106         "y": 5078.2857666015625,\r
9107         "z": "df66c4ba.dc49d",\r
9108         "wires": [\r
9109             [\r
9110                 "9b07993f.50303"\r
9111             ]\r
9112         ]\r
9113     },\r
9114     {\r
9115         "id": "da74bb6.e442948",\r
9116         "type": "set",\r
9117         "name": "unset secondary related variables",\r
9118         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
9119         "comments": "",\r
9120         "x": 3380.249969482422,\r
9121         "y": 433.2857666015625,\r
9122         "z": "df66c4ba.dc49d",\r
9123         "wires": []\r
9124     },\r
9125     {\r
9126         "id": "feffc86e.486bc",\r
9127         "type": "set",\r
9128         "name": "set network-route-three",\r
9129         "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
9130         "comments": "",\r
9131         "x": 3344.249969482422,\r
9132         "y": 683.2857666015625,\r
9133         "z": "df66c4ba.dc49d",\r
9134         "wires": []\r
9135     },\r
9136     {\r
9137         "id": "12bfceb8.d75889",\r
9138         "type": "switchNode",\r
9139         "name": "switch secondary empty?",\r
9140         "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
9141         "comments": "",\r
9142         "outputs": 1,\r
9143         "x": 3347.666473388672,\r
9144         "y": 725.5357360839844,\r
9145         "z": "df66c4ba.dc49d",\r
9146         "wires": [\r
9147             [\r
9148                 "692e1a2b.3a9c5c",\r
9149                 "b2412330.9864f8"\r
9150             ]\r
9151         ]\r
9152     },\r
9153     {\r
9154         "id": "692e1a2b.3a9c5c",\r
9155         "type": "outcomeTrue",\r
9156         "name": "true",\r
9157         "xml": "<outcome value='true'>\n",\r
9158         "comments": "",\r
9159         "outputs": 1,\r
9160         "x": 3586.6663513183594,\r
9161         "y": 561.5357666015625,\r
9162         "z": "df66c4ba.dc49d",\r
9163         "wires": [\r
9164             [\r
9165                 "cf959ce5.f99248"\r
9166             ]\r
9167         ]\r
9168     },\r
9169     {\r
9170         "id": "b2412330.9864f8",\r
9171         "type": "outcomeFalse",\r
9172         "name": "false",\r
9173         "xml": "<outcome value='false'>\n",\r
9174         "comments": "",\r
9175         "outputs": 1,\r
9176         "x": 3595.6663513183594,\r
9177         "y": 608.5357666015625,\r
9178         "z": "df66c4ba.dc49d",\r
9179         "wires": [\r
9180             [\r
9181                 "5a3f29c4.e69d68"\r
9182             ]\r
9183         ]\r
9184     },\r
9185     {\r
9186         "id": "5a3f29c4.e69d68",\r
9187         "type": "set",\r
9188         "name": "set hasSecondary true",\r
9189         "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
9190         "comments": "",\r
9191         "x": 3809.6663513183594,\r
9192         "y": 602.5357666015625,\r
9193         "z": "df66c4ba.dc49d",\r
9194         "wires": []\r
9195     },\r
9196     {\r
9197         "id": "cf959ce5.f99248",\r
9198         "type": "set",\r
9199         "name": "set hasSecondary false",\r
9200         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
9201         "comments": "",\r
9202         "x": 3813.6663513183594,\r
9203         "y": 558.5357666015625,\r
9204         "z": "df66c4ba.dc49d",\r
9205         "wires": []\r
9206     },\r
9207     {\r
9208         "id": "50bdde17.ca9b2",\r
9209         "type": "outcome",\r
9210         "name": "SECONDARY-ROOT",\r
9211         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9212         "comments": "",\r
9213         "outputs": 1,\r
9214         "x": 4175.700408935547,\r
9215         "y": 511.9857177734375,\r
9216         "z": "df66c4ba.dc49d",\r
9217         "wires": [\r
9218             [\r
9219                 "eb2d50e2.230b88"\r
9220             ]\r
9221         ]\r
9222     },\r
9223     {\r
9224         "id": "eb2d50e2.230b88",\r
9225         "type": "block",\r
9226         "name": "block",\r
9227         "xml": "<block>\n",\r
9228         "atomic": "false",\r
9229         "comments": "",\r
9230         "outputs": 1,\r
9231         "x": 4349.700408935547,\r
9232         "y": 506.9857177734375,\r
9233         "z": "df66c4ba.dc49d",\r
9234         "wires": [\r
9235             [\r
9236                 "7743c0e4.ff58d",\r
9237                 "fbbd6ec6.676af8"\r
9238             ]\r
9239         ]\r
9240     },\r
9241     {\r
9242         "id": "7743c0e4.ff58d",\r
9243         "type": "set",\r
9244         "name": "set network-route-SECONDARY-ROOT",\r
9245         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9246         "comments": "",\r
9247         "x": 4593.700653076172,\r
9248         "y": 498.9857177734375,\r
9249         "z": "df66c4ba.dc49d",\r
9250         "wires": []\r
9251     },\r
9252     {\r
9253         "id": "fbbd6ec6.676af8",\r
9254         "type": "set",\r
9255         "name": "set network-route-C",\r
9256         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9257         "comments": "",\r
9258         "x": 4539.700653076172,\r
9259         "y": 538.9857177734375,\r
9260         "z": "df66c4ba.dc49d",\r
9261         "wires": []\r
9262     },\r
9263     {\r
9264         "id": "f2575655.f8e378",\r
9265         "type": "outcome",\r
9266         "name": "SECONDARY-ROOT",\r
9267         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9268         "comments": "",\r
9269         "outputs": 1,\r
9270         "x": 4144.700408935547,\r
9271         "y": 741.3857421875,\r
9272         "z": "df66c4ba.dc49d",\r
9273         "wires": [\r
9274             [\r
9275                 "9c041385.58f0a8"\r
9276             ]\r
9277         ]\r
9278     },\r
9279     {\r
9280         "id": "9c041385.58f0a8",\r
9281         "type": "block",\r
9282         "name": "block",\r
9283         "xml": "<block>\n",\r
9284         "atomic": "false",\r
9285         "comments": "",\r
9286         "outputs": 1,\r
9287         "x": 4302.700164794922,\r
9288         "y": 784.3855590820312,\r
9289         "z": "df66c4ba.dc49d",\r
9290         "wires": [\r
9291             [\r
9292                 "d46c9c27.1618a",\r
9293                 "fae38fd4.0207e8"\r
9294             ]\r
9295         ]\r
9296     },\r
9297     {\r
9298         "id": "d46c9c27.1618a",\r
9299         "type": "set",\r
9300         "name": "set network-route-SECONDARY-ROOT",\r
9301         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9302         "comments": "",\r
9303         "x": 4524.700164794922,\r
9304         "y": 770.3856811523438,\r
9305         "z": "df66c4ba.dc49d",\r
9306         "wires": []\r
9307     },\r
9308     {\r
9309         "id": "fae38fd4.0207e8",\r
9310         "type": "set",\r
9311         "name": "set network-route-C",\r
9312         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9313         "comments": "",\r
9314         "x": 4470.700164794922,\r
9315         "y": 810.3856811523438,\r
9316         "z": "df66c4ba.dc49d",\r
9317         "wires": []\r
9318     },\r
9319     {\r
9320         "id": "3b541994.2db38e",\r
9321         "type": "save",\r
9322         "name": "get network-route-three from aai",\r
9323         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
9324         "comments": "",\r
9325         "outputs": 1,\r
9326         "x": 3356.133270263672,\r
9327         "y": 977.6190185546875,\r
9328         "z": "df66c4ba.dc49d",\r
9329         "wires": [\r
9330             [\r
9331                 "a7d11d5e.62ca",\r
9332                 "b2aac144.2741f8",\r
9333                 "fb257074.006628"\r
9334             ]\r
9335         ]\r
9336     },\r
9337     {\r
9338         "id": "a7d11d5e.62ca",\r
9339         "type": "not-found",\r
9340         "name": "not-found",\r
9341         "xml": "<outcome value='not-found'>\n",\r
9342         "comments": "",\r
9343         "outputs": 1,\r
9344         "x": 3596.133270263672,\r
9345         "y": 960.6190185546875,\r
9346         "z": "df66c4ba.dc49d",\r
9347         "wires": [\r
9348             []\r
9349         ]\r
9350     },\r
9351     {\r
9352         "id": "b2aac144.2741f8",\r
9353         "type": "failure",\r
9354         "name": "failure",\r
9355         "xml": "<outcome value='failure'>\n",\r
9356         "comments": "",\r
9357         "outputs": 1,\r
9358         "x": 3591.642333984375,\r
9359         "y": 1003.0450744628906,\r
9360         "z": "df66c4ba.dc49d",\r
9361         "wires": [\r
9362             []\r
9363         ]\r
9364     },\r
9365     {\r
9366         "id": "fb257074.006628",\r
9367         "type": "success",\r
9368         "name": "success",\r
9369         "xml": "<outcome value='success'>\n",\r
9370         "comments": "",\r
9371         "outputs": 1,\r
9372         "x": 3595.642303466797,\r
9373         "y": 1051.0450439453125,\r
9374         "z": "df66c4ba.dc49d",\r
9375         "wires": [\r
9376             [\r
9377                 "9e133df7.481"\r
9378             ]\r
9379         ]\r
9380     },\r
9381     {\r
9382         "id": "9e133df7.481",\r
9383         "type": "block",\r
9384         "name": "block : atomic",\r
9385         "xml": "<block atomic=\"true\">",\r
9386         "atomic": "true",\r
9387         "outputs": 1,\r
9388         "x": 3751.133270263672,\r
9389         "y": 1020.6189575195312,\r
9390         "z": "df66c4ba.dc49d",\r
9391         "wires": [\r
9392             [\r
9393                 "5d283673.03481"\r
9394             ]\r
9395         ]\r
9396     },\r
9397     {\r
9398         "id": "5d283673.03481",\r
9399         "type": "switchNode",\r
9400         "name": "switch nr type",\r
9401         "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
9402         "comments": "",\r
9403         "outputs": 1,\r
9404         "x": 3873.133270263672,\r
9405         "y": 967.6189575195312,\r
9406         "z": "df66c4ba.dc49d",\r
9407         "wires": [\r
9408             [\r
9409                 "bd8b3788.0306c8",\r
9410                 "a98e1a14.629d2",\r
9411                 "64a49d41.8a256c"\r
9412             ]\r
9413         ]\r
9414     },\r
9415     {\r
9416         "id": "bd8b3788.0306c8",\r
9417         "type": "outcome",\r
9418         "name": "ROOT",\r
9419         "xml": "<outcome value='ROOT'>\n",\r
9420         "comments": "",\r
9421         "outputs": 1,\r
9422         "x": 4109.133270263672,\r
9423         "y": 817.6189575195312,\r
9424         "z": "df66c4ba.dc49d",\r
9425         "wires": [\r
9426             [\r
9427                 "a81c580d.51216"\r
9428             ]\r
9429         ]\r
9430     },\r
9431     {\r
9432         "id": "a98e1a14.629d2",\r
9433         "type": "outcome",\r
9434         "name": "LEAF",\r
9435         "xml": "<outcome value='LEAF'>\n",\r
9436         "comments": "",\r
9437         "outputs": 1,\r
9438         "x": 4105.133270263672,\r
9439         "y": 873.6189575195312,\r
9440         "z": "df66c4ba.dc49d",\r
9441         "wires": [\r
9442             [\r
9443                 "589a315.c47ec5"\r
9444             ]\r
9445         ]\r
9446     },\r
9447     {\r
9448         "id": "a81c580d.51216",\r
9449         "type": "block",\r
9450         "name": "block",\r
9451         "xml": "<block>\n",\r
9452         "atomic": "false",\r
9453         "comments": "",\r
9454         "outputs": 1,\r
9455         "x": 4235.133270263672,\r
9456         "y": 825.6189575195312,\r
9457         "z": "df66c4ba.dc49d",\r
9458         "wires": [\r
9459             [\r
9460                 "22e46140.c55d46",\r
9461                 "52abbdbb.d37324"\r
9462             ]\r
9463         ]\r
9464     },\r
9465     {\r
9466         "id": "589a315.c47ec5",\r
9467         "type": "block",\r
9468         "name": "block",\r
9469         "xml": "<block>\n",\r
9470         "atomic": "false",\r
9471         "comments": "",\r
9472         "outputs": 1,\r
9473         "x": 4238.133270263672,\r
9474         "y": 878.6189575195312,\r
9475         "z": "df66c4ba.dc49d",\r
9476         "wires": [\r
9477             [\r
9478                 "cf0c55ac.b4f5",\r
9479                 "5defc5f6.f6a484"\r
9480             ]\r
9481         ]\r
9482     },\r
9483     {\r
9484         "id": "64a49d41.8a256c",\r
9485         "type": "outcome",\r
9486         "name": "SECONDARY-ROOT",\r
9487         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9488         "comments": "",\r
9489         "outputs": 1,\r
9490         "x": 4098.133270263672,\r
9491         "y": 951.6189575195312,\r
9492         "z": "df66c4ba.dc49d",\r
9493         "wires": [\r
9494             [\r
9495                 "e6763c4c.a7231"\r
9496             ]\r
9497         ]\r
9498     },\r
9499     {\r
9500         "id": "e6763c4c.a7231",\r
9501         "type": "block",\r
9502         "name": "block",\r
9503         "xml": "<block>\n",\r
9504         "atomic": "false",\r
9505         "comments": "",\r
9506         "outputs": 1,\r
9507         "x": 4254.133270263672,\r
9508         "y": 972.6189575195312,\r
9509         "z": "df66c4ba.dc49d",\r
9510         "wires": [\r
9511             [\r
9512                 "1756c413.4839cc",\r
9513                 "782ca4c6.82ca7c"\r
9514             ]\r
9515         ]\r
9516     },\r
9517     {\r
9518         "id": "22e46140.c55d46",\r
9519         "type": "set",\r
9520         "name": "set network-route-ROOT",\r
9521         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9522         "comments": "",\r
9523         "x": 4482.133270263672,\r
9524         "y": 855.6189575195312,\r
9525         "z": "df66c4ba.dc49d",\r
9526         "wires": []\r
9527     },\r
9528     {\r
9529         "id": "52abbdbb.d37324",\r
9530         "type": "set",\r
9531         "name": "set network-route-B",\r
9532         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9533         "comments": "",\r
9534         "x": 4474.133270263672,\r
9535         "y": 897.6189575195312,\r
9536         "z": "df66c4ba.dc49d",\r
9537         "wires": []\r
9538     },\r
9539     {\r
9540         "id": "cf0c55ac.b4f5",\r
9541         "type": "set",\r
9542         "name": "set network-route-LEAF",\r
9543         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9544         "comments": "",\r
9545         "x": 4475.133270263672,\r
9546         "y": 949.6189575195312,\r
9547         "z": "df66c4ba.dc49d",\r
9548         "wires": []\r
9549     },\r
9550     {\r
9551         "id": "5defc5f6.f6a484",\r
9552         "type": "set",\r
9553         "name": "set network-route-A",\r
9554         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9555         "comments": "",\r
9556         "x": 4462.133270263672,\r
9557         "y": 989.6189575195312,\r
9558         "z": "df66c4ba.dc49d",\r
9559         "wires": []\r
9560     },\r
9561     {\r
9562         "id": "782ca4c6.82ca7c",\r
9563         "type": "set",\r
9564         "name": "set network-route-C",\r
9565         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9566         "comments": "",\r
9567         "x": 4436.133270263672,\r
9568         "y": 1083.6189575195312,\r
9569         "z": "df66c4ba.dc49d",\r
9570         "wires": []\r
9571     },\r
9572     {\r
9573         "id": "1756c413.4839cc",\r
9574         "type": "set",\r
9575         "name": "set network-route-SECONDARY-ROOT",\r
9576         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9577         "comments": "",\r
9578         "x": 4498.133270263672,\r
9579         "y": 1039.6189575195312,\r
9580         "z": "df66c4ba.dc49d",\r
9581         "wires": []\r
9582     },\r
9583     {\r
9584         "id": "484721d3.79272",\r
9585         "type": "block",\r
9586         "name": "block : atomic",\r
9587         "xml": "<block atomic=\"true\">",\r
9588         "atomic": "true",\r
9589         "outputs": 1,\r
9590         "x": 3700.13330078125,\r
9591         "y": 2223.2857666015625,\r
9592         "z": "df66c4ba.dc49d",\r
9593         "wires": [\r
9594             [\r
9595                 "b5f1ffe9.23b0f8",\r
9596                 "1ac2c659.fd2752"\r
9597             ]\r
9598         ]\r
9599     },\r
9600     {\r
9601         "id": "3809e292.fa07fe",\r
9602         "type": "success",\r
9603         "name": "success",\r
9604         "xml": "<outcome value='success'>\n",\r
9605         "comments": "",\r
9606         "outputs": 1,\r
9607         "x": 3527.466796875,\r
9608         "y": 2224.2857666015625,\r
9609         "z": "df66c4ba.dc49d",\r
9610         "wires": [\r
9611             [\r
9612                 "484721d3.79272"\r
9613             ]\r
9614         ]\r
9615     },\r
9616     {\r
9617         "id": "9915b355.be7de",\r
9618         "type": "not-found",\r
9619         "name": "not-found",\r
9620         "xml": "<outcome value='not-found'>\n",\r
9621         "comments": "",\r
9622         "outputs": 1,\r
9623         "x": 3536.957763671875,\r
9624         "y": 2266.8598022460938,\r
9625         "z": "df66c4ba.dc49d",\r
9626         "wires": [\r
9627             []\r
9628         ]\r
9629     },\r
9630     {\r
9631         "id": "a933d5e7.aab9f",\r
9632         "type": "failure",\r
9633         "name": "failure",\r
9634         "xml": "<outcome value='failure'>\n",\r
9635         "comments": "",\r
9636         "outputs": 1,\r
9637         "x": 3525.466796875,\r
9638         "y": 2313.2857666015625,\r
9639         "z": "df66c4ba.dc49d",\r
9640         "wires": [\r
9641             []\r
9642         ]\r
9643     },\r
9644     {\r
9645         "id": "b5f1ffe9.23b0f8",\r
9646         "type": "execute",\r
9647         "name": "execute split tp-id to get pnf-name",\r
9648         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.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-domainC\"/>\n\n\n",\r
9649         "comments": "",\r
9650         "outputs": 1,\r
9651         "x": 3990.466796875,\r
9652         "y": 2239.2857666015625,\r
9653         "z": "df66c4ba.dc49d",\r
9654         "wires": [\r
9655             [\r
9656                 "5643d89b.9da4c",\r
9657                 "ff517248.3a648"\r
9658             ]\r
9659         ]\r
9660     },\r
9661     {\r
9662         "id": "ff517248.3a648",\r
9663         "type": "failure",\r
9664         "name": "success",\r
9665         "xml": "<outcome value='success'>\n",\r
9666         "comments": "",\r
9667         "outputs": 1,\r
9668         "x": 4213.466796875,\r
9669         "y": 2194.2857666015625,\r
9670         "z": "df66c4ba.dc49d",\r
9671         "wires": [\r
9672             [\r
9673                 "55ae5854.3eda38"\r
9674             ]\r
9675         ]\r
9676     },\r
9677     {\r
9678         "id": "5643d89b.9da4c",\r
9679         "type": "failure",\r
9680         "name": "failure",\r
9681         "xml": "<outcome value='failure'>\n",\r
9682         "comments": "",\r
9683         "outputs": 1,\r
9684         "x": 4215.466796875,\r
9685         "y": 2258.2857666015625,\r
9686         "z": "df66c4ba.dc49d",\r
9687         "wires": [\r
9688             [\r
9689                 "b94af8ff.6b0728"\r
9690             ]\r
9691         ]\r
9692     },\r
9693     {\r
9694         "id": "729e2fc5.81fb",\r
9695         "type": "save",\r
9696         "name": "get p-interface-dst from aai",\r
9697         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.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
9698         "comments": "",\r
9699         "outputs": 1,\r
9700         "x": 3321.466796875,\r
9701         "y": 2245.2857666015625,\r
9702         "z": "df66c4ba.dc49d",\r
9703         "wires": [\r
9704             [\r
9705                 "3809e292.fa07fe",\r
9706                 "9915b355.be7de",\r
9707                 "a933d5e7.aab9f"\r
9708             ]\r
9709         ]\r
9710     },\r
9711     {\r
9712         "id": "c78860d4.be69b",\r
9713         "type": "comment",\r
9714         "name": "Question?",\r
9715         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
9716         "comments": "",\r
9717         "x": 3260.466796875,\r
9718         "y": 2203.2857666015625,\r
9719         "z": "df66c4ba.dc49d",\r
9720         "wires": []\r
9721     },\r
9722     {\r
9723         "id": "b3267f6f.ff1998",\r
9724         "type": "execute",\r
9725         "name": "execute split tp-id to get pnf-name",\r
9726         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
9727         "comments": "",\r
9728         "outputs": 1,\r
9729         "x": 3341.466796875,\r
9730         "y": 2093.2857666015625,\r
9731         "z": "df66c4ba.dc49d",\r
9732         "wires": [\r
9733             [\r
9734                 "95bacf59.0ff4f",\r
9735                 "1f5368f.a927697"\r
9736             ]\r
9737         ]\r
9738     },\r
9739     {\r
9740         "id": "1f5368f.a927697",\r
9741         "type": "failure",\r
9742         "name": "success",\r
9743         "xml": "<outcome value='success'>\n",\r
9744         "comments": "",\r
9745         "outputs": 1,\r
9746         "x": 3564.466796875,\r
9747         "y": 2079.2857666015625,\r
9748         "z": "df66c4ba.dc49d",\r
9749         "wires": [\r
9750             [\r
9751                 "d9fb5654.5b333"\r
9752             ]\r
9753         ]\r
9754     },\r
9755     {\r
9756         "id": "95bacf59.0ff4f",\r
9757         "type": "failure",\r
9758         "name": "failure",\r
9759         "xml": "<outcome value='failure'>\n",\r
9760         "comments": "",\r
9761         "outputs": 1,\r
9762         "x": 3566.466796875,\r
9763         "y": 2112.2857666015625,\r
9764         "z": "df66c4ba.dc49d",\r
9765         "wires": [\r
9766             []\r
9767         ]\r
9768     },\r
9769     {\r
9770         "id": "d9fb5654.5b333",\r
9771         "type": "block",\r
9772         "name": "block : atomic",\r
9773         "xml": "<block atomic=\"true\">",\r
9774         "atomic": "true",\r
9775         "outputs": 1,\r
9776         "x": 3712.466796875,\r
9777         "y": 2072.2857666015625,\r
9778         "z": "df66c4ba.dc49d",\r
9779         "wires": [\r
9780             [\r
9781                 "5dfbdc91.e62934",\r
9782                 "c6faa1d4.308aa"\r
9783             ]\r
9784         ]\r
9785     },\r
9786     {\r
9787         "id": "5dfbdc91.e62934",\r
9788         "type": "set",\r
9789         "name": "set pnf-name",\r
9790         "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
9791         "comments": "",\r
9792         "x": 3904.4666748046875,\r
9793         "y": 2009.2857666015625,\r
9794         "z": "df66c4ba.dc49d",\r
9795         "wires": []\r
9796     },\r
9797     {\r
9798         "id": "1ac2c659.fd2752",\r
9799         "type": "for",\r
9800         "name": "for each relationship",\r
9801         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
9802         "comments": "",\r
9803         "outputs": 1,\r
9804         "x": 3971.466796875,\r
9805         "y": 2370.2857666015625,\r
9806         "z": "df66c4ba.dc49d",\r
9807         "wires": [\r
9808             [\r
9809                 "65bc2e8.d7ad75"\r
9810             ]\r
9811         ]\r
9812     },\r
9813     {\r
9814         "id": "65bc2e8.d7ad75",\r
9815         "type": "switchNode",\r
9816         "name": "switch related-to",\r
9817         "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
9818         "comments": "",\r
9819         "outputs": 1,\r
9820         "x": 4177.466796875,\r
9821         "y": 2370.2857666015625,\r
9822         "z": "df66c4ba.dc49d",\r
9823         "wires": [\r
9824             [\r
9825                 "1afa33da.5ab90c"\r
9826             ]\r
9827         ]\r
9828     },\r
9829     {\r
9830         "id": "c6faa1d4.308aa",\r
9831         "type": "get-resource",\r
9832         "name": "get-resource src pnf",\r
9833         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
9834         "comments": "",\r
9835         "outputs": 1,\r
9836         "x": 3926.4666748046875,\r
9837         "y": 2077.2857666015625,\r
9838         "z": "df66c4ba.dc49d",\r
9839         "wires": [\r
9840             [\r
9841                 "5532b203.91ac2c",\r
9842                 "8b9d700b.47a8d",\r
9843                 "394e6c3a.4b06ac"\r
9844             ]\r
9845         ]\r
9846     },\r
9847     {\r
9848         "id": "5532b203.91ac2c",\r
9849         "type": "success",\r
9850         "name": "success",\r
9851         "xml": "<outcome value='success'>\n",\r
9852         "comments": "",\r
9853         "outputs": 1,\r
9854         "x": 4121.966796875,\r
9855         "y": 2029.2857666015625,\r
9856         "z": "df66c4ba.dc49d",\r
9857         "wires": [\r
9858             [\r
9859                 "6665fa87.172574"\r
9860             ]\r
9861         ]\r
9862     },\r
9863     {\r
9864         "id": "8b9d700b.47a8d",\r
9865         "type": "not-found",\r
9866         "name": "not-found",\r
9867         "xml": "<outcome value='not-found'>\n",\r
9868         "comments": "",\r
9869         "outputs": 1,\r
9870         "x": 4113.966796875,\r
9871         "y": 2084.2857666015625,\r
9872         "z": "df66c4ba.dc49d",\r
9873         "wires": [\r
9874             [\r
9875                 "de859847.0ba4f"\r
9876             ]\r
9877         ]\r
9878     },\r
9879     {\r
9880         "id": "394e6c3a.4b06ac",\r
9881         "type": "other",\r
9882         "name": "other",\r
9883         "xml": "<outcome value='Other'>\n",\r
9884         "comments": "",\r
9885         "outputs": 1,\r
9886         "x": 4118.966796875,\r
9887         "y": 2141.2857666015625,\r
9888         "z": "df66c4ba.dc49d",\r
9889         "wires": [\r
9890             [\r
9891                 "bb9f9dd0.735df"\r
9892             ]\r
9893         ]\r
9894     },\r
9895     {\r
9896         "id": "bb9f9dd0.735df",\r
9897         "type": "returnFailure",\r
9898         "name": "return failure",\r
9899         "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
9900         "comments": "",\r
9901         "x": 4270.966796875,\r
9902         "y": 2142.2857666015625,\r
9903         "z": "df66c4ba.dc49d",\r
9904         "wires": []\r
9905     },\r
9906     {\r
9907         "id": "6665fa87.172574",\r
9908         "type": "block",\r
9909         "name": "block",\r
9910         "xml": "<block>\n",\r
9911         "atomic": "false",\r
9912         "comments": "",\r
9913         "outputs": 1,\r
9914         "x": 4266.34912109375,\r
9915         "y": 2026.9414367675781,\r
9916         "z": "df66c4ba.dc49d",\r
9917         "wires": [\r
9918             [\r
9919                 "5de1cc8d.104a64"\r
9920             ]\r
9921         ]\r
9922     },\r
9923     {\r
9924         "id": "62f42d2.2eff654",\r
9925         "type": "set",\r
9926         "name": "set SECONDARY-ROOT stuff",\r
9927         "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
9928         "comments": "",\r
9929         "x": 3322.13330078125,\r
9930         "y": 2338.2857666015625,\r
9931         "z": "df66c4ba.dc49d",\r
9932         "wires": []\r
9933     },\r
9934     {\r
9935         "id": "657d67ff.88d37",\r
9936         "type": "comment",\r
9937         "name": "NOT NEEDED ANYMORE?",\r
9938         "info": "",\r
9939         "comments": "",\r
9940         "x": 4001.133270263672,\r
9941         "y": 2314.285614013672,\r
9942         "z": "df66c4ba.dc49d",\r
9943         "wires": []\r
9944     },\r
9945     {\r
9946         "id": "b94af8ff.6b0728",\r
9947         "type": "returnFailure",\r
9948         "name": "return failure",\r
9949         "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
9950         "comments": "",\r
9951         "x": 4374.466796875,\r
9952         "y": 2277.2857666015625,\r
9953         "z": "df66c4ba.dc49d",\r
9954         "wires": []\r
9955     },\r
9956     {\r
9957         "id": "55ae5854.3eda38",\r
9958         "type": "block",\r
9959         "name": "block : atomic",\r
9960         "xml": "<block atomic=\"true\">",\r
9961         "atomic": "true",\r
9962         "outputs": 1,\r
9963         "x": 4378.466796875,\r
9964         "y": 2191.2857666015625,\r
9965         "z": "df66c4ba.dc49d",\r
9966         "wires": [\r
9967             [\r
9968                 "98470c66.40aa6",\r
9969                 "d46d48e0.99162"\r
9970             ]\r
9971         ]\r
9972     },\r
9973     {\r
9974         "id": "1afa33da.5ab90c",\r
9975         "type": "outcome",\r
9976         "name": "tunnel-termination-point",\r
9977         "xml": "<outcome value='tunnel-termination-point'>\n",\r
9978         "comments": "",\r
9979         "outputs": 1,\r
9980         "x": 4394.75244140625,\r
9981         "y": 2369.1075439453125,\r
9982         "z": "df66c4ba.dc49d",\r
9983         "wires": [\r
9984             [\r
9985                 "ab3c9c27.f71ab"\r
9986             ]\r
9987         ]\r
9988     },\r
9989     {\r
9990         "id": "de859847.0ba4f",\r
9991         "type": "returnFailure",\r
9992         "name": "return failure",\r
9993         "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
9994         "comments": "",\r
9995         "x": 4281.966796875,\r
9996         "y": 2087.2857666015625,\r
9997         "z": "df66c4ba.dc49d",\r
9998         "wires": []\r
9999     },\r
10000     {\r
10001         "id": "98470c66.40aa6",\r
10002         "type": "set",\r
10003         "name": "set ltpId",\r
10004         "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
10005         "comments": "",\r
10006         "x": 4548.466796875,\r
10007         "y": 2152.2857666015625,\r
10008         "z": "df66c4ba.dc49d",\r
10009         "wires": []\r
10010     },\r
10011     {\r
10012         "id": "d46d48e0.99162",\r
10013         "type": "set",\r
10014         "name": "set pnf-name",\r
10015         "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
10016         "comments": "",\r
10017         "x": 4549.466796875,\r
10018         "y": 2257.2857666015625,\r
10019         "z": "df66c4ba.dc49d",\r
10020         "wires": []\r
10021     },\r
10022     {\r
10023         "id": "e385276.9cfc7d8",\r
10024         "type": "comment",\r
10025         "name": "TODO: FIXME",\r
10026         "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
10027         "comments": "",\r
10028         "x": 4544.466796875,\r
10029         "y": 2206.2857666015625,\r
10030         "z": "df66c4ba.dc49d",\r
10031         "wires": []\r
10032     },\r
10033     {\r
10034         "id": "ab3c9c27.f71ab",\r
10035         "type": "block",\r
10036         "name": "block : atomic",\r
10037         "xml": "<block atomic=\"true\">",\r
10038         "atomic": "true",\r
10039         "outputs": 1,\r
10040         "x": 4601.583984375,\r
10041         "y": 2358.626220703125,\r
10042         "z": "df66c4ba.dc49d",\r
10043         "wires": [\r
10044             [\r
10045                 "55038a5c.3543e4",\r
10046                 "ba6f27b7.23068",\r
10047                 "b4e2b396.74f668"\r
10048             ]\r
10049         ]\r
10050     },\r
10051     {\r
10052         "id": "55038a5c.3543e4",\r
10053         "type": "set",\r
10054         "name": "set destination ttp-id",\r
10055         "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
10056         "comments": "",\r
10057         "x": 4816.583984375,\r
10058         "y": 2320.626220703125,\r
10059         "z": "df66c4ba.dc49d",\r
10060         "wires": []\r
10061     },\r
10062     {\r
10063         "id": "ba6f27b7.23068",\r
10064         "type": "get-resource",\r
10065         "name": "get-resource src TTP",\r
10066         "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-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
10067         "comments": "",\r
10068         "outputs": 1,\r
10069         "x": 4813.583984375,\r
10070         "y": 2359.626220703125,\r
10071         "z": "df66c4ba.dc49d",\r
10072         "wires": [\r
10073             [\r
10074                 "1dac26ff.18cf11"\r
10075             ]\r
10076         ]\r
10077     },\r
10078     {\r
10079         "id": "b4e2b396.74f668",\r
10080         "type": "break",\r
10081         "name": "break",\r
10082         "xml": "<break>\n",\r
10083         "comments": "",\r
10084         "x": 4769.083984375,\r
10085         "y": 2401.626220703125,\r
10086         "z": "df66c4ba.dc49d",\r
10087         "wires": []\r
10088     },\r
10089     {\r
10090         "id": "1ebc335e.7ecae5",\r
10091         "type": "outcome",\r
10092         "name": "esr-thirdparty-sdnc",\r
10093         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
10094         "comments": "",\r
10095         "outputs": 1,\r
10096         "x": 4850.466796875,\r
10097         "y": 2111.285888671875,\r
10098         "z": "df66c4ba.dc49d",\r
10099         "wires": [\r
10100             [\r
10101                 "fdce260a.3abd28"\r
10102             ]\r
10103         ]\r
10104     },\r
10105     {\r
10106         "id": "5de1cc8d.104a64",\r
10107         "type": "for",\r
10108         "name": "for each relationship",\r
10109         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
10110         "comments": "",\r
10111         "outputs": 1,\r
10112         "x": 4450.4666748046875,\r
10113         "y": 2041.2857666015625,\r
10114         "z": "df66c4ba.dc49d",\r
10115         "wires": [\r
10116             [\r
10117                 "ed710853.f63fd"\r
10118             ]\r
10119         ]\r
10120     },\r
10121     {\r
10122         "id": "ed710853.f63fd",\r
10123         "type": "switchNode",\r
10124         "name": "switch related-to",\r
10125         "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
10126         "comments": "",\r
10127         "outputs": 1,\r
10128         "x": 4647.466796875,\r
10129         "y": 2107.285888671875,\r
10130         "z": "df66c4ba.dc49d",\r
10131         "wires": [\r
10132             [\r
10133                 "1ebc335e.7ecae5",\r
10134                 "55d60384.c1aed4"\r
10135             ]\r
10136         ]\r
10137     },\r
10138     {\r
10139         "id": "55d60384.c1aed4",\r
10140         "type": "outcome",\r
10141         "name": "network-resource",\r
10142         "xml": "<outcome value='network-resource'>",\r
10143         "comments": "",\r
10144         "outputs": 1,\r
10145         "x": 4852.466796875,\r
10146         "y": 2184.285888671875,\r
10147         "z": "df66c4ba.dc49d",\r
10148         "wires": [\r
10149             [\r
10150                 "dc3c174a.64011"\r
10151             ]\r
10152         ]\r
10153     },\r
10154     {\r
10155         "id": "1dac26ff.18cf11",\r
10156         "type": "success",\r
10157         "name": "success",\r
10158         "xml": "<outcome value='success'>\n",\r
10159         "comments": "",\r
10160         "outputs": 1,\r
10161         "x": 4994.083984375,\r
10162         "y": 2358.626220703125,\r
10163         "z": "df66c4ba.dc49d",\r
10164         "wires": [\r
10165             [\r
10166                 "84d63541.1d27b"\r
10167             ]\r
10168         ]\r
10169     },\r
10170     {\r
10171         "id": "84d63541.1d27b",\r
10172         "type": "block",\r
10173         "name": "block : atomic",\r
10174         "xml": "<block atomic=\"true\">",\r
10175         "atomic": "true",\r
10176         "outputs": 1,\r
10177         "x": 5152.083984375,\r
10178         "y": 2358.626220703125,\r
10179         "z": "df66c4ba.dc49d",\r
10180         "wires": [\r
10181             [\r
10182                 "e5032679.d8329"\r
10183             ]\r
10184         ]\r
10185     },\r
10186     {\r
10187         "id": "e5032679.d8329",\r
10188         "type": "set",\r
10189         "name": "set destination tunnel tp ip",\r
10190         "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
10191         "comments": "",\r
10192         "x": 5359.083984375,\r
10193         "y": 2358.626220703125,\r
10194         "z": "df66c4ba.dc49d",\r
10195         "wires": []\r
10196     },\r
10197     {\r
10198         "id": "fdce260a.3abd28",\r
10199         "type": "block",\r
10200         "name": "block : atomic",\r
10201         "xml": "<block atomic=\"true\">",\r
10202         "atomic": "true",\r
10203         "outputs": 1,\r
10204         "x": 5027.466796875,\r
10205         "y": 2103.285888671875,\r
10206         "z": "df66c4ba.dc49d",\r
10207         "wires": [\r
10208             [\r
10209                 "5e499a66.459cd4",\r
10210                 "dca5a8c2.a2e2d"\r
10211             ]\r
10212         ]\r
10213     },\r
10214     {\r
10215         "id": "dca5a8c2.a2e2d",\r
10216         "type": "execute",\r
10217         "name": "get esr-thirdparty-sdnc",\r
10218         "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.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
10219         "comments": "",\r
10220         "outputs": 1,\r
10221         "x": 5235.466796875,\r
10222         "y": 2110.285888671875,\r
10223         "z": "df66c4ba.dc49d",\r
10224         "wires": [\r
10225             [\r
10226                 "5837fed4.78811",\r
10227                 "3b1607b7.8add2",\r
10228                 "d23ccac.f36ffb8"\r
10229             ]\r
10230         ]\r
10231     },\r
10232     {\r
10233         "id": "dc3c174a.64011",\r
10234         "type": "block",\r
10235         "name": "block : atomic",\r
10236         "xml": "<block atomic=\"true\">",\r
10237         "atomic": "true",\r
10238         "outputs": 1,\r
10239         "x": 5029.466796875,\r
10240         "y": 2176.285888671875,\r
10241         "z": "df66c4ba.dc49d",\r
10242         "wires": [\r
10243             [\r
10244                 "a2aaab02.f42f78"\r
10245             ]\r
10246         ]\r
10247     },\r
10248     {\r
10249         "id": "5e499a66.459cd4",\r
10250         "type": "set",\r
10251         "name": "set esr-thirdparty-sdnc domainC id",\r
10252         "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10253         "comments": "",\r
10254         "x": 5265.466796875,\r
10255         "y": 2058.285888671875,\r
10256         "z": "df66c4ba.dc49d",\r
10257         "wires": []\r
10258     },\r
10259     {\r
10260         "id": "a2aaab02.f42f78",\r
10261         "type": "set",\r
10262         "name": "set domainC ethernet layer network-id",\r
10263         "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10264         "comments": "",\r
10265         "x": 5264.466796875,\r
10266         "y": 2300.285888671875,\r
10267         "z": "df66c4ba.dc49d",\r
10268         "wires": []\r
10269     },\r
10270     {\r
10271         "id": "5837fed4.78811",\r
10272         "type": "success",\r
10273         "name": "success",\r
10274         "xml": "<outcome value='success'>\n",\r
10275         "comments": "",\r
10276         "outputs": 1,\r
10277         "x": 5445.466796875,\r
10278         "y": 2101.285888671875,\r
10279         "z": "df66c4ba.dc49d",\r
10280         "wires": [\r
10281             [\r
10282                 "82649274.8d841"\r
10283             ]\r
10284         ]\r
10285     },\r
10286     {\r
10287         "id": "3b1607b7.8add2",\r
10288         "type": "not-found",\r
10289         "name": "not-found",\r
10290         "xml": "<outcome value='not-found'>\n",\r
10291         "comments": "",\r
10292         "outputs": 1,\r
10293         "x": 5437.466796875,\r
10294         "y": 2156.285888671875,\r
10295         "z": "df66c4ba.dc49d",\r
10296         "wires": [\r
10297             [\r
10298                 "b977b3e4.7f0818"\r
10299             ]\r
10300         ]\r
10301     },\r
10302     {\r
10303         "id": "d23ccac.f36ffb8",\r
10304         "type": "other",\r
10305         "name": "other",\r
10306         "xml": "<outcome value='Other'>\n",\r
10307         "comments": "",\r
10308         "outputs": 1,\r
10309         "x": 5442.466796875,\r
10310         "y": 2213.285888671875,\r
10311         "z": "df66c4ba.dc49d",\r
10312         "wires": [\r
10313             [\r
10314                 "cc6cd97.f9dc7a8"\r
10315             ]\r
10316         ]\r
10317     },\r
10318     {\r
10319         "id": "cc6cd97.f9dc7a8",\r
10320         "type": "returnFailure",\r
10321         "name": "return failure",\r
10322         "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
10323         "comments": "",\r
10324         "x": 5594.466796875,\r
10325         "y": 2214.285888671875,\r
10326         "z": "df66c4ba.dc49d",\r
10327         "wires": []\r
10328     },\r
10329     {\r
10330         "id": "b977b3e4.7f0818",\r
10331         "type": "returnFailure",\r
10332         "name": "return failure",\r
10333         "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
10334         "comments": "",\r
10335         "x": 5605.466796875,\r
10336         "y": 2159.285888671875,\r
10337         "z": "df66c4ba.dc49d",\r
10338         "wires": []\r
10339     },\r
10340     {\r
10341         "id": "82649274.8d841",\r
10342         "type": "block",\r
10343         "name": "block",\r
10344         "xml": "<block>\n",\r
10345         "atomic": "false",\r
10346         "comments": "",\r
10347         "outputs": 1,\r
10348         "x": 5589.84912109375,\r
10349         "y": 2098.9415588378906,\r
10350         "z": "df66c4ba.dc49d",\r
10351         "wires": [\r
10352             [\r
10353                 "d86ccfd2.8a362"\r
10354             ]\r
10355         ]\r
10356     },\r
10357     {\r
10358         "id": "d86ccfd2.8a362",\r
10359         "type": "set",\r
10360         "name": "set controller domainC data",\r
10361         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.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
10362         "comments": "",\r
10363         "x": 5804.466796875,\r
10364         "y": 2095.285888671875,\r
10365         "z": "df66c4ba.dc49d",\r
10366         "wires": []\r
10367     },\r
10368     {\r
10369         "id": "70f331ff.6983c8",\r
10370         "type": "switchNode",\r
10371         "name": "switch $hasSecondary",\r
10372         "xml": "<switch test='`$hasSecondary`'>\n",\r
10373         "comments": "",\r
10374         "outputs": 1,\r
10375         "x": 3836.13330078125,\r
10376         "y": 2707.2857666015625,\r
10377         "z": "df66c4ba.dc49d",\r
10378         "wires": [\r
10379             [\r
10380                 "b09a105f.8c6438"\r
10381             ]\r
10382         ]\r
10383     },\r
10384     {\r
10385         "id": "b09a105f.8c6438",\r
10386         "type": "outcomeTrue",\r
10387         "name": "true",\r
10388         "xml": "<outcome value='true'>\n",\r
10389         "comments": "",\r
10390         "outputs": 1,\r
10391         "x": 4027.13330078125,\r
10392         "y": 2711.2857666015625,\r
10393         "z": "df66c4ba.dc49d",\r
10394         "wires": [\r
10395             [\r
10396                 "3fb841a7.fe1d76"\r
10397             ]\r
10398         ]\r
10399     },\r
10400     {\r
10401         "id": "3fb841a7.fe1d76",\r
10402         "type": "block",\r
10403         "name": "block",\r
10404         "xml": "<block>\n",\r
10405         "atomic": "false",\r
10406         "comments": "",\r
10407         "outputs": 1,\r
10408         "x": 4154.13330078125,\r
10409         "y": 2710.2857666015625,\r
10410         "z": "df66c4ba.dc49d",\r
10411         "wires": [\r
10412             [\r
10413                 "5fa41047.5ae908"\r
10414             ]\r
10415         ]\r
10416     },\r
10417     {\r
10418         "id": "5fa41047.5ae908",\r
10419         "type": "save",\r
10420         "name": "get secondary root uni from aai",\r
10421         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
10422         "comments": "",\r
10423         "outputs": 1,\r
10424         "x": 4380.467041015625,\r
10425         "y": 2703.619384765625,\r
10426         "z": "df66c4ba.dc49d",\r
10427         "wires": [\r
10428             [\r
10429                 "494cb062.3b09d",\r
10430                 "8f274cf6.78b4a",\r
10431                 "75ad380b.fe1e68"\r
10432             ]\r
10433         ]\r
10434     },\r
10435     {\r
10436         "id": "494cb062.3b09d",\r
10437         "type": "not-found",\r
10438         "name": "not-found",\r
10439         "xml": "<outcome value='not-found'>\n",\r
10440         "comments": "",\r
10441         "outputs": 1,\r
10442         "x": 4747.466796875,\r
10443         "y": 2597.6192626953125,\r
10444         "z": "df66c4ba.dc49d",\r
10445         "wires": [\r
10446             [\r
10447                 "e1748800.9b50a8"\r
10448             ]\r
10449         ]\r
10450     },\r
10451     {\r
10452         "id": "8f274cf6.78b4a",\r
10453         "type": "failure",\r
10454         "name": "failure",\r
10455         "xml": "<outcome value='failure'>\n",\r
10456         "comments": "",\r
10457         "outputs": 1,\r
10458         "x": 4742.975830078125,\r
10459         "y": 2642.0452270507812,\r
10460         "z": "df66c4ba.dc49d",\r
10461         "wires": [\r
10462             [\r
10463                 "94646798.3ff8c"\r
10464             ]\r
10465         ]\r
10466     },\r
10467     {\r
10468         "id": "75ad380b.fe1e68",\r
10469         "type": "success",\r
10470         "name": "success",\r
10471         "xml": "<outcome value='success'>\n",\r
10472         "comments": "",\r
10473         "outputs": 1,\r
10474         "x": 4738.975830078125,\r
10475         "y": 2692.0452880859375,\r
10476         "z": "df66c4ba.dc49d",\r
10477         "wires": [\r
10478             [\r
10479                 "b33dba75.a7d33"\r
10480             ]\r
10481         ]\r
10482     },\r
10483     {\r
10484         "id": "5fbe7a1c.d00084",\r
10485         "type": "save",\r
10486         "name": "update SECONDARY-ROOT UNI in AAI",\r
10487         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
10488         "comments": "",\r
10489         "outputs": 1,\r
10490         "x": 5186.976318359375,\r
10491         "y": 2687.04541015625,\r
10492         "z": "df66c4ba.dc49d",\r
10493         "wires": [\r
10494             []\r
10495         ]\r
10496     },\r
10497     {\r
10498         "id": "e1748800.9b50a8",\r
10499         "type": "returnFailure",\r
10500         "name": "return failure",\r
10501         "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
10502         "comments": "",\r
10503         "x": 4910.038330078125,\r
10504         "y": 2596.9049682617188,\r
10505         "z": "df66c4ba.dc49d",\r
10506         "wires": []\r
10507     },\r
10508     {\r
10509         "id": "94646798.3ff8c",\r
10510         "type": "returnFailure",\r
10511         "name": "return failure",\r
10512         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
10513         "comments": "",\r
10514         "x": 4910.975830078125,\r
10515         "y": 2642.0452270507812,\r
10516         "z": "df66c4ba.dc49d",\r
10517         "wires": []\r
10518     },\r
10519     {\r
10520         "id": "b33dba75.a7d33",\r
10521         "type": "block",\r
10522         "name": "block : atomic",\r
10523         "xml": "<block atomic=\"true\">",\r
10524         "atomic": "true",\r
10525         "outputs": 1,\r
10526         "x": 4907.975830078125,\r
10527         "y": 2692.0452880859375,\r
10528         "z": "df66c4ba.dc49d",\r
10529         "wires": [\r
10530             [\r
10531                 "d2b432cc.1ba93",\r
10532                 "5fbe7a1c.d00084"\r
10533             ]\r
10534         ]\r
10535     },\r
10536     {\r
10537         "id": "d2b432cc.1ba93",\r
10538         "type": "set",\r
10539         "name": "set new bw",\r
10540         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
10541         "comments": "",\r
10542         "x": 5089.9765625,\r
10543         "y": 2634.0452880859375,\r
10544         "z": "df66c4ba.dc49d",\r
10545         "wires": []\r
10546     },\r
10547     {\r
10548         "id": "c59416d6.8ba4c8",\r
10549         "type": "switchNode",\r
10550         "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
10551         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
10552         "comments": "",\r
10553         "outputs": 1,\r
10554         "x": 4624.467041015625,\r
10555         "y": 3547.6190185546875,\r
10556         "z": "df66c4ba.dc49d",\r
10557         "wires": [\r
10558             [\r
10559                 "5928f063.6a717"\r
10560             ]\r
10561         ]\r
10562     },\r
10563     {\r
10564         "id": "5928f063.6a717",\r
10565         "type": "outcomeTrue",\r
10566         "name": "true",\r
10567         "xml": "<outcome value='true'>\n",\r
10568         "comments": "",\r
10569         "outputs": 1,\r
10570         "x": 4914.467041015625,\r
10571         "y": 3549.6190185546875,\r
10572         "z": "df66c4ba.dc49d",\r
10573         "wires": [\r
10574             [\r
10575                 "3416f94d.d55766"\r
10576             ]\r
10577         ]\r
10578     },\r
10579     {\r
10580         "id": "dc36b830.307698",\r
10581         "type": "switchNode",\r
10582         "name": "switch $hasSecondary",\r
10583         "xml": "<switch test='`$hasSecondary`'>\n",\r
10584         "comments": "",\r
10585         "outputs": 1,\r
10586         "x": 4277,\r
10587         "y": 5777.6192626953125,\r
10588         "z": "df66c4ba.dc49d",\r
10589         "wires": [\r
10590             [\r
10591                 "124e668b.8a0c71"\r
10592             ]\r
10593         ]\r
10594     },\r
10595     {\r
10596         "id": "124e668b.8a0c71",\r
10597         "type": "outcomeTrue",\r
10598         "name": "true",\r
10599         "xml": "<outcome value='true'>\n",\r
10600         "comments": "",\r
10601         "outputs": 1,\r
10602         "x": 4468,\r
10603         "y": 5781.6192626953125,\r
10604         "z": "df66c4ba.dc49d",\r
10605         "wires": [\r
10606             [\r
10607                 "3f950141.3b094e"\r
10608             ]\r
10609         ]\r
10610     },\r
10611     {\r
10612         "id": "3f950141.3b094e",\r
10613         "type": "block",\r
10614         "name": "block",\r
10615         "xml": "<block>\n",\r
10616         "atomic": "false",\r
10617         "comments": "",\r
10618         "outputs": 1,\r
10619         "x": 4595,\r
10620         "y": 5780.6192626953125,\r
10621         "z": "df66c4ba.dc49d",\r
10622         "wires": [\r
10623             [\r
10624                 "6756d23f.fb95d4"\r
10625             ]\r
10626         ]\r
10627     },\r
10628     {\r
10629         "id": "6756d23f.fb95d4",\r
10630         "type": "switchNode",\r
10631         "name": "switch 2-ROOTS in same domain?",\r
10632         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10633         "comments": "",\r
10634         "outputs": 1,\r
10635         "x": 4820.3330078125,\r
10636         "y": 5782.6192626953125,\r
10637         "z": "df66c4ba.dc49d",\r
10638         "wires": [\r
10639             [\r
10640                 "c6ced4f8.328df",\r
10641                 "bfbd9ba5.66b2f8"\r
10642             ]\r
10643         ]\r
10644     },\r
10645     {\r
10646         "id": "c6ced4f8.328df",\r
10647         "type": "outcomeTrue",\r
10648         "name": "true",\r
10649         "xml": "<outcome value='true'>\n",\r
10650         "comments": "",\r
10651         "outputs": 1,\r
10652         "x": 5030.3330078125,\r
10653         "y": 5759.6192626953125,\r
10654         "z": "df66c4ba.dc49d",\r
10655         "wires": [\r
10656             [\r
10657                 "7a2bf212.dfea8c"\r
10658             ]\r
10659         ]\r
10660     },\r
10661     {\r
10662         "id": "bfbd9ba5.66b2f8",\r
10663         "type": "outcomeTrue",\r
10664         "name": "false",\r
10665         "xml": "<outcome value='false'>\n",\r
10666         "comments": "",\r
10667         "outputs": 1,\r
10668         "x": 5035.3330078125,\r
10669         "y": 5808.6192626953125,\r
10670         "z": "df66c4ba.dc49d",\r
10671         "wires": [\r
10672             [\r
10673                 "cebc5e3b.0e3a98"\r
10674             ]\r
10675         ]\r
10676     },\r
10677     {\r
10678         "id": "7a2bf212.dfea8c",\r
10679         "type": "block",\r
10680         "name": "block",\r
10681         "xml": "<block>\n",\r
10682         "atomic": "false",\r
10683         "comments": "",\r
10684         "outputs": 1,\r
10685         "x": 5156.3330078125,\r
10686         "y": 5759.6192626953125,\r
10687         "z": "df66c4ba.dc49d",\r
10688         "wires": [\r
10689             []\r
10690         ]\r
10691     },\r
10692     {\r
10693         "id": "cebc5e3b.0e3a98",\r
10694         "type": "block",\r
10695         "name": "block",\r
10696         "xml": "<block>\n",\r
10697         "atomic": "false",\r
10698         "comments": "",\r
10699         "outputs": 1,\r
10700         "x": 5153.3330078125,\r
10701         "y": 5815.6192626953125,\r
10702         "z": "df66c4ba.dc49d",\r
10703         "wires": [\r
10704             [\r
10705                 "65ef26ee.10a09",\r
10706                 "893a526e.ec5e18"\r
10707             ]\r
10708         ]\r
10709     },\r
10710     {\r
10711         "id": "65ef26ee.10a09",\r
10712         "type": "save",\r
10713         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10714         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10715         "comments": "",\r
10716         "outputs": 1,\r
10717         "x": 5467.3330078125,\r
10718         "y": 5874.6192626953125,\r
10719         "z": "df66c4ba.dc49d",\r
10720         "wires": [\r
10721             []\r
10722         ]\r
10723     },\r
10724     {\r
10725         "id": "7678c022.e9095",\r
10726         "type": "comment",\r
10727         "name": "Update connectivity status to modified",\r
10728         "info": "",\r
10729         "comments": "",\r
10730         "x": 5399.550048828125,\r
10731         "y": 5826.4190673828125,\r
10732         "z": "df66c4ba.dc49d",\r
10733         "wires": []\r
10734     },\r
10735     {\r
10736         "id": "893a526e.ec5e18",\r
10737         "type": "call",\r
10738         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10739         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10740         "comments": "",\r
10741         "outputs": 1,\r
10742         "x": 5598,\r
10743         "y": 5784.6192626953125,\r
10744         "z": "df66c4ba.dc49d",\r
10745         "wires": [\r
10746             []\r
10747         ]\r
10748     },\r
10749     {\r
10750         "id": "e0d5d04e.46068",\r
10751         "type": "switchNode",\r
10752         "name": "switch $hasSecondary",\r
10753         "xml": "<switch test='`$hasSecondary`'>\n",\r
10754         "comments": "",\r
10755         "outputs": 1,\r
10756         "x": 868,\r
10757         "y": 4974.6187744140625,\r
10758         "z": "df66c4ba.dc49d",\r
10759         "wires": [\r
10760             [\r
10761                 "a56cc6d9.68657"\r
10762             ]\r
10763         ]\r
10764     },\r
10765     {\r
10766         "id": "a56cc6d9.68657",\r
10767         "type": "outcomeTrue",\r
10768         "name": "true",\r
10769         "xml": "<outcome value='true'>\n",\r
10770         "comments": "",\r
10771         "outputs": 1,\r
10772         "x": 1059,\r
10773         "y": 4978.6187744140625,\r
10774         "z": "df66c4ba.dc49d",\r
10775         "wires": [\r
10776             [\r
10777                 "e90b308b.e1e54"\r
10778             ]\r
10779         ]\r
10780     },\r
10781     {\r
10782         "id": "e90b308b.e1e54",\r
10783         "type": "block",\r
10784         "name": "block",\r
10785         "xml": "<block>\n",\r
10786         "atomic": "false",\r
10787         "comments": "",\r
10788         "outputs": 1,\r
10789         "x": 1186,\r
10790         "y": 4977.6187744140625,\r
10791         "z": "df66c4ba.dc49d",\r
10792         "wires": [\r
10793             [\r
10794                 "a8eda34d.bea12"\r
10795             ]\r
10796         ]\r
10797     },\r
10798     {\r
10799         "id": "a8eda34d.bea12",\r
10800         "type": "switchNode",\r
10801         "name": "switch 2-ROOTS in same domain?",\r
10802         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10803         "comments": "",\r
10804         "outputs": 1,\r
10805         "x": 1411.3330078125,\r
10806         "y": 4979.6187744140625,\r
10807         "z": "df66c4ba.dc49d",\r
10808         "wires": [\r
10809             [\r
10810                 "8a22e9e3.103c4",\r
10811                 "489f9bfc.0598fc"\r
10812             ]\r
10813         ]\r
10814     },\r
10815     {\r
10816         "id": "8a22e9e3.103c4",\r
10817         "type": "outcomeTrue",\r
10818         "name": "true",\r
10819         "xml": "<outcome value='true'>\n",\r
10820         "comments": "",\r
10821         "outputs": 1,\r
10822         "x": 1621.3330078125,\r
10823         "y": 4956.6187744140625,\r
10824         "z": "df66c4ba.dc49d",\r
10825         "wires": [\r
10826             [\r
10827                 "d0fe931e.edcfb"\r
10828             ]\r
10829         ]\r
10830     },\r
10831     {\r
10832         "id": "489f9bfc.0598fc",\r
10833         "type": "outcomeTrue",\r
10834         "name": "false",\r
10835         "xml": "<outcome value='false'>\n",\r
10836         "comments": "",\r
10837         "outputs": 1,\r
10838         "x": 1626.3330078125,\r
10839         "y": 5005.6187744140625,\r
10840         "z": "df66c4ba.dc49d",\r
10841         "wires": [\r
10842             [\r
10843                 "8c7de2ba.22e088"\r
10844             ]\r
10845         ]\r
10846     },\r
10847     {\r
10848         "id": "d0fe931e.edcfb",\r
10849         "type": "block",\r
10850         "name": "block",\r
10851         "xml": "<block>\n",\r
10852         "atomic": "false",\r
10853         "comments": "",\r
10854         "outputs": 1,\r
10855         "x": 1747.3330078125,\r
10856         "y": 4956.6187744140625,\r
10857         "z": "df66c4ba.dc49d",\r
10858         "wires": [\r
10859             []\r
10860         ]\r
10861     },\r
10862     {\r
10863         "id": "8c7de2ba.22e088",\r
10864         "type": "block",\r
10865         "name": "block",\r
10866         "xml": "<block>\n",\r
10867         "atomic": "false",\r
10868         "comments": "",\r
10869         "outputs": 1,\r
10870         "x": 1744.3330078125,\r
10871         "y": 5012.6187744140625,\r
10872         "z": "df66c4ba.dc49d",\r
10873         "wires": [\r
10874             [\r
10875                 "65c8b788.d0e558",\r
10876                 "4c911e6c.738418"\r
10877             ]\r
10878         ]\r
10879     },\r
10880     {\r
10881         "id": "4c911e6c.738418",\r
10882         "type": "call",\r
10883         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10884         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10885         "comments": "",\r
10886         "outputs": 1,\r
10887         "x": 2189,\r
10888         "y": 4981.6187744140625,\r
10889         "z": "df66c4ba.dc49d",\r
10890         "wires": [\r
10891             []\r
10892         ]\r
10893     },\r
10894     {\r
10895         "id": "dd48d8e6.216f08",\r
10896         "type": "comment",\r
10897         "name": "Update connectivity status to modified",\r
10898         "info": "",\r
10899         "comments": "",\r
10900         "x": 1990.550048828125,\r
10901         "y": 5023.4185791015625,\r
10902         "z": "df66c4ba.dc49d",\r
10903         "wires": []\r
10904     },\r
10905     {\r
10906         "id": "65c8b788.d0e558",\r
10907         "type": "save",\r
10908         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10909         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10910         "comments": "",\r
10911         "outputs": 1,\r
10912         "x": 2058.3330078125,\r
10913         "y": 5071.6187744140625,\r
10914         "z": "df66c4ba.dc49d",\r
10915         "wires": [\r
10916             []\r
10917         ]\r
10918     },\r
10919     {\r
10920         "id": "1ed03004.8d6e4",\r
10921         "type": "switchNode",\r
10922         "name": "switch $hasSecondary",\r
10923         "xml": "<switch test='`$hasSecondary`'>\n",\r
10924         "comments": "",\r
10925         "outputs": 1,\r
10926         "x": 1470.3333740234375,\r
10927         "y": 5815.6192626953125,\r
10928         "z": "df66c4ba.dc49d",\r
10929         "wires": [\r
10930             [\r
10931                 "fb5466ce.3f1ab"\r
10932             ]\r
10933         ]\r
10934     },\r
10935     {\r
10936         "id": "fb5466ce.3f1ab",\r
10937         "type": "outcomeTrue",\r
10938         "name": "true",\r
10939         "xml": "<outcome value='true'>\n",\r
10940         "comments": "",\r
10941         "outputs": 1,\r
10942         "x": 1661.3333740234375,\r
10943         "y": 5819.6192626953125,\r
10944         "z": "df66c4ba.dc49d",\r
10945         "wires": [\r
10946             [\r
10947                 "dfa5085f.0e0158"\r
10948             ]\r
10949         ]\r
10950     },\r
10951     {\r
10952         "id": "dfa5085f.0e0158",\r
10953         "type": "block",\r
10954         "name": "block",\r
10955         "xml": "<block>\n",\r
10956         "atomic": "false",\r
10957         "comments": "",\r
10958         "outputs": 1,\r
10959         "x": 1788.3333740234375,\r
10960         "y": 5818.6192626953125,\r
10961         "z": "df66c4ba.dc49d",\r
10962         "wires": [\r
10963             [\r
10964                 "7e51bd6c.d2742c"\r
10965             ]\r
10966         ]\r
10967     },\r
10968     {\r
10969         "id": "7e51bd6c.d2742c",\r
10970         "type": "switchNode",\r
10971         "name": "switch 2-ROOTS in same domain?",\r
10972         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10973         "comments": "",\r
10974         "outputs": 1,\r
10975         "x": 2013.6663818359375,\r
10976         "y": 5820.6192626953125,\r
10977         "z": "df66c4ba.dc49d",\r
10978         "wires": [\r
10979             [\r
10980                 "6b07f1cb.4afc3",\r
10981                 "110d7be3.9bb1f4"\r
10982             ]\r
10983         ]\r
10984     },\r
10985     {\r
10986         "id": "6b07f1cb.4afc3",\r
10987         "type": "outcomeTrue",\r
10988         "name": "true",\r
10989         "xml": "<outcome value='true'>\n",\r
10990         "comments": "",\r
10991         "outputs": 1,\r
10992         "x": 2223.6663818359375,\r
10993         "y": 5797.6192626953125,\r
10994         "z": "df66c4ba.dc49d",\r
10995         "wires": [\r
10996             [\r
10997                 "8b99f6ab.569ed"\r
10998             ]\r
10999         ]\r
11000     },\r
11001     {\r
11002         "id": "110d7be3.9bb1f4",\r
11003         "type": "outcomeTrue",\r
11004         "name": "false",\r
11005         "xml": "<outcome value='false'>\n",\r
11006         "comments": "",\r
11007         "outputs": 1,\r
11008         "x": 2228.6663818359375,\r
11009         "y": 5846.6192626953125,\r
11010         "z": "df66c4ba.dc49d",\r
11011         "wires": [\r
11012             [\r
11013                 "675a78e3.b9924"\r
11014             ]\r
11015         ]\r
11016     },\r
11017     {\r
11018         "id": "8b99f6ab.569ed",\r
11019         "type": "block",\r
11020         "name": "block",\r
11021         "xml": "<block>\n",\r
11022         "atomic": "false",\r
11023         "comments": "",\r
11024         "outputs": 1,\r
11025         "x": 2349.6663818359375,\r
11026         "y": 5797.6192626953125,\r
11027         "z": "df66c4ba.dc49d",\r
11028         "wires": [\r
11029             []\r
11030         ]\r
11031     },\r
11032     {\r
11033         "id": "675a78e3.b9924",\r
11034         "type": "block",\r
11035         "name": "block",\r
11036         "xml": "<block>\n",\r
11037         "atomic": "false",\r
11038         "comments": "",\r
11039         "outputs": 1,\r
11040         "x": 2346.6663818359375,\r
11041         "y": 5853.6192626953125,\r
11042         "z": "df66c4ba.dc49d",\r
11043         "wires": [\r
11044             [\r
11045                 "4f39f0f0.b363c8",\r
11046                 "87158cb0.5a00c8"\r
11047             ]\r
11048         ]\r
11049     },\r
11050     {\r
11051         "id": "87158cb0.5a00c8",\r
11052         "type": "call",\r
11053         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
11054         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
11055         "comments": "",\r
11056         "outputs": 1,\r
11057         "x": 2791.3333740234375,\r
11058         "y": 5822.6192626953125,\r
11059         "z": "df66c4ba.dc49d",\r
11060         "wires": [\r
11061             []\r
11062         ]\r
11063     },\r
11064     {\r
11065         "id": "b15d8a43.4b5da8",\r
11066         "type": "comment",\r
11067         "name": "Update connectivity status to modified",\r
11068         "info": "",\r
11069         "comments": "",\r
11070         "x": 2592.8834228515625,\r
11071         "y": 5864.4190673828125,\r
11072         "z": "df66c4ba.dc49d",\r
11073         "wires": []\r
11074     },\r
11075     {\r
11076         "id": "4f39f0f0.b363c8",\r
11077         "type": "save",\r
11078         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
11079         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
11080         "comments": "",\r
11081         "outputs": 1,\r
11082         "x": 2660.6663818359375,\r
11083         "y": 5912.6192626953125,\r
11084         "z": "df66c4ba.dc49d",\r
11085         "wires": [\r
11086             []\r
11087         ]\r
11088     },\r
11089     {\r
11090         "id": "bc0be831.bf6158",\r
11091         "type": "execute",\r
11092         "name": "execute Terminate SSE Connection",\r
11093         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
11094         "comments": "",\r
11095         "outputs": 1,\r
11096         "x": 1520.7666625976562,\r
11097         "y": 6121,\r
11098         "z": "df66c4ba.dc49d",\r
11099         "wires": [\r
11100             []\r
11101         ]\r
11102     },\r
11103     {\r
11104         "id": "75a2fd5c.c75aac",\r
11105         "type": "set",\r
11106         "name": "set parameters",\r
11107         "xml": "<set>\n<parameter name='subscriptionId' value='`$rcvd-bandwidth-value`' />\n",\r
11108         "comments": "",\r
11109         "x": 1452.800048828125,\r
11110         "y": 6062.39990234375,\r
11111         "z": "df66c4ba.dc49d",\r
11112         "wires": []\r
11113     },\r
11114     {\r
11115         "id": "b1b75307.3fe99",\r
11116         "type": "execute",\r
11117         "name": "execute Terminate SSE Connection",\r
11118         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\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=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
11119         "comments": "",\r
11120         "outputs": 1,\r
11121         "x": 2081.433349609375,\r
11122         "y": 5541.2333984375,\r
11123         "z": "df66c4ba.dc49d",\r
11124         "wires": [\r
11125             []\r
11126         ]\r
11127     },\r
11128     {\r
11129         "id": "eb743ad2.daea58",\r
11130         "type": "execute",\r
11131         "name": "execute delete service-pm",\r
11132         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $tmp.the-connectivity.etht-svc-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"delete\" />\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=\"responsePrefix\" value=\"ethdelete-result\"/>\n\n",\r
11133         "comments": "",\r
11134         "outputs": 1,\r
11135         "x": 2045.333251953125,\r
11136         "y": 5586.33349609375,\r
11137         "z": "df66c4ba.dc49d",\r
11138         "wires": [\r
11139             []\r
11140         ]\r
11141     },\r
11142     {\r
11143         "id": "4ed6624e.3d3df4",\r
11144         "type": "execute",\r
11145         "name": "execute delete service-pm",\r
11146         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"delete\" />\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=\"responsePrefix\" value=\"ethdelete-result\"/>\n\n",\r
11147         "comments": "",\r
11148         "outputs": 1,\r
11149         "x": 4443.6669921875,\r
11150         "y": 6460.33349609375,\r
11151         "z": "df66c4ba.dc49d",\r
11152         "wires": [\r
11153             []\r
11154         ]\r
11155     },\r
11156     {\r
11157         "id": "383276dd.aedfd2",\r
11158         "type": "execute",\r
11159         "name": "execute delete service-pm",\r
11160         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-service-pm:performance-monitoring/service-pm=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"delete\" />\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=\"responsePrefix\" value=\"ethdelete-result\"/>\n\n",\r
11161         "comments": "",\r
11162         "outputs": 1,\r
11163         "x": 3103.666748046875,\r
11164         "y": 7008.33349609375,\r
11165         "z": "df66c4ba.dc49d",\r
11166         "wires": [\r
11167             []\r
11168         ]\r
11169     }\r
11170 ]