Sending "subscribe" command to a restconf server to receive event notifications.
[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": "d6c73c0b.0d5f48",\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": "1806503a.76a7a",\r
10         "wires": [\r
11             [\r
12                 "d49f5b5f.8b9338"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "d49f5b5f.8b9338",\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": "1806503a.76a7a",\r
28         "wires": [\r
29             [\r
30                 "3720330.25593ce"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "3720330.25593ce",\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": "1806503a.76a7a",\r
44         "wires": [\r
45             [\r
46                 "7f694928.267bb8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "7f694928.267bb8",\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": "1806503a.76a7a",\r
60         "wires": [\r
61             [\r
62                 "14360151.1c2e2f",\r
63                 "2b05d42f.ff48b4",\r
64                 "b833ca08.643e2"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "14360151.1c2e2f",\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": "1806503a.76a7a",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "2b05d42f.ff48b4",\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": "1806503a.76a7a",\r
89         "wires": [\r
90             [\r
91                 "41fb5683.e713a",\r
92                 "80e71c24.60d2d",\r
93                 "fe4111b5.f2228"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "41fb5683.e713a",\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": "1806503a.76a7a",\r
107         "wires": [\r
108             [\r
109                 "41abc238.ea1884"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "80e71c24.60d2d",\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": "1806503a.76a7a",\r
123         "wires": [\r
124             [\r
125                 "844c0ad5.c095b"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "fe4111b5.f2228",\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": "1806503a.76a7a",\r
139         "wires": [\r
140             [\r
141                 "1e9cd9f4.55835e"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "692bc437.51a034",\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": "1806503a.76a7a",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "b833ca08.643e2",\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": "1806503a.76a7a",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "41abc238.ea1884",\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": "1806503a.76a7a",\r
180         "wires": [\r
181             [\r
182                 "edbcfce1.4d552",\r
183                 "d741e3bd.0b6788"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "844c0ad5.c095b",\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": "1806503a.76a7a",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "1e9cd9f4.55835e",\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": "1806503a.76a7a",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "edbcfce1.4d552",\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": "1806503a.76a7a",\r
219         "wires": [\r
220             [\r
221                 "589ae77f.807888"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "d741e3bd.0b6788",\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": "1806503a.76a7a",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "589ae77f.807888",\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": "1806503a.76a7a",\r
250         "wires": [\r
251             [\r
252                 "10bd96f7.8fa059",\r
253                 "cb92da4c.da1bb",\r
254                 "cbe49015.ae0dd",\r
255                 "6c495f2.f763aa",\r
256                 "4304e2aa.cc073c"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "5f06cb70.adae8c",\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": "1806503a.76a7a",\r
270         "wires": [\r
271             [\r
272                 "c68fbf4e.5d82c",\r
273                 "2146d17e.d0a56e",\r
274                 "f04a7ec7.eb68d"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "c68fbf4e.5d82c",\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": "1806503a.76a7a",\r
288         "wires": [\r
289             [\r
290                 "cbd25b41.5a644"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "2146d17e.d0a56e",\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": "1806503a.76a7a",\r
304         "wires": [\r
305             [\r
306                 "d020f647.b48948"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "f04a7ec7.eb68d",\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": "1806503a.76a7a",\r
320         "wires": [\r
321             [\r
322                 "bf60182e.46d6e"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "10bd96f7.8fa059",\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": "1806503a.76a7a",\r
336         "wires": [\r
337             [\r
338                 "9d7e7b42.ef2a18",\r
339                 "5f06cb70.adae8c",\r
340                 "b4f5dada.48378",\r
341                 "5db562b1.71111c"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "9d7e7b42.ef2a18",\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": "1806503a.76a7a",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "6c495f2.f763aa",\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": "1806503a.76a7a",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "cb92da4c.da1bb",\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": "1806503a.76a7a",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "cbe49015.ae0dd",\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": "1806503a.76a7a",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "f6d3e50c.b329e8",\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": "1806503a.76a7a",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "300ce0be.29882",\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": "1806503a.76a7a",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "d020f647.b48948",\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": "1806503a.76a7a",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "bf60182e.46d6e",\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": "1806503a.76a7a",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "cbd25b41.5a644",\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": "1806503a.76a7a",\r
449         "wires": [\r
450             [\r
451                 "365e9f97.d4a028"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "365e9f97.d4a028",\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": "1806503a.76a7a",\r
465         "wires": [\r
466             [\r
467                 "6e92372c.3a07f8",\r
468                 "c96fb012.9bb888",\r
469                 "95b7cbb5.ac06c8"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "c96fb012.9bb888",\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": "1806503a.76a7a",\r
483         "wires": [\r
484             [\r
485                 "58ab1443.358994"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "58ab1443.358994",\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": "1806503a.76a7a",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "95b7cbb5.ac06c8",\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": "1806503a.76a7a",\r
510         "wires": [\r
511             [\r
512                 "1f97dde6.30f20a"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "1f97dde6.30f20a",\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": "1806503a.76a7a",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "6e92372c.3a07f8",\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": "1806503a.76a7a",\r
537         "wires": [\r
538             [\r
539                 "7a25dc67.63046c"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "7a25dc67.63046c",\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": "1806503a.76a7a",\r
553         "wires": [\r
554             [\r
555                 "742cdaa9.4808c4"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "742cdaa9.4808c4",\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": "1806503a.76a7a",\r
569         "wires": [\r
570             [\r
571                 "9afa3e4f.f2f2c8",\r
572                 "ce58b166.b2448"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "ce58b166.b2448",\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": "1806503a.76a7a",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "9afa3e4f.f2f2c8",\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": "1806503a.76a7a",\r
600         "wires": [\r
601             [\r
602                 "aba0f7b5.b64ec8"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "50f7604e.0c4dc8",\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": "1806503a.76a7a",\r
616         "wires": [\r
617             [\r
618                 "e079a6c2.9c941"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "e079a6c2.9c941",\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": "1806503a.76a7a",\r
632         "wires": [\r
633             [\r
634                 "83280d27.4bae7",\r
635                 "92c6fb1f.05a328"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "aba0f7b5.b64ec8",\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": "1806503a.76a7a",\r
649         "wires": [\r
650             [\r
651                 "a8c08369.0aef78",\r
652                 "98755b5f.40e4a"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "a8c08369.0aef78",\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": "1806503a.76a7a",\r
666         "wires": [\r
667             [\r
668                 "64ebbb1e.14821c"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "64ebbb1e.14821c",\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": "1806503a.76a7a",\r
682         "wires": [\r
683             [\r
684                 "50f7604e.0c4dc8"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "83280d27.4bae7",\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": "1806503a.76a7a",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "92c6fb1f.05a328",\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": "1806503a.76a7a",\r
709         "wires": [\r
710             [\r
711                 "26a63936.d2dcb6",\r
712                 "935c2a76.01522",\r
713                 "61809f6c.f102a"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "61809f6c.f102a",\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": "1806503a.76a7a",\r
727         "wires": [\r
728             [\r
729                 "8483d549.4ff1d8"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "8483d549.4ff1d8",\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": "1806503a.76a7a",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "79f73429.37a0f4",\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": "1806503a.76a7a",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "935c2a76.01522",\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": "1806503a.76a7a",\r
765         "wires": [\r
766             [\r
767                 "79f73429.37a0f4"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "26a63936.d2dcb6",\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": "1806503a.76a7a",\r
781         "wires": [\r
782             [\r
783                 "4efa868e.4aaf8"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "4efa868e.4aaf8",\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": "1806503a.76a7a",\r
798         "wires": [\r
799             [\r
800                 "ac693539.f50e98",\r
801                 "9a31854c.efaef8"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "ac693539.f50e98",\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": "1806503a.76a7a",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "9a31854c.efaef8",\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": "1806503a.76a7a",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "98755b5f.40e4a",\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": "1806503a.76a7a",\r
837         "wires": [\r
838             [\r
839                 "a599949c.47c2"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "a599949c.47c2",\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": "1806503a.76a7a",\r
853         "wires": [\r
854             [\r
855                 "9f30fb79.9864f8"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "9f30fb79.9864f8",\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": "1806503a.76a7a",\r
869         "wires": [\r
870             [\r
871                 "4497a7be.db159"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "4497a7be.db159",\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": "1806503a.76a7a",\r
885         "wires": [\r
886             [\r
887                 "748da704.3dc228",\r
888                 "132fdd9a.6a584a"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "748da704.3dc228",\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": "1806503a.76a7a",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "132fdd9a.6a584a",\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": "1806503a.76a7a",\r
913         "wires": [\r
914             [\r
915                 "1d5c52ad.8a4fcd",\r
916                 "c6fd8eb5.369a58",\r
917                 "b0ba9e98.5ef29"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "1d5c52ad.8a4fcd",\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": "1806503a.76a7a",\r
931         "wires": [\r
932             [\r
933                 "81786826.f1adc"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "c6fd8eb5.369a58",\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": "1806503a.76a7a",\r
947         "wires": [\r
948             [\r
949                 "568abbfd.c78f14"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "81786826.f1adc",\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": "1806503a.76a7a",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "568abbfd.c78f14",\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": "1806503a.76a7a",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "b0ba9e98.5ef29",\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": "1806503a.76a7a",\r
985         "wires": [\r
986             [\r
987                 "56d4032d.446f0c"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "56d4032d.446f0c",\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": "1806503a.76a7a",\r
1002         "wires": [\r
1003             [\r
1004                 "a588efb1.b17fd",\r
1005                 "9c7e31dc.43bc2",\r
1006                 "64cc49aa.338118",\r
1007                 "a266d487.c02dd",\r
1008                 "f1099f4d.7efe5",\r
1009                 "6aa3951e.157a4c",\r
1010                 "4618e1c0.461d88",\r
1011                 "d38e0865.514348",\r
1012                 "eef6ad07.9c7d5",\r
1013                 "78d4922e.8ebe04",\r
1014                 "c220ecdf.76a978",\r
1015                 "940f9aa.5464fe8",\r
1016                 "14f1d608.fff342",\r
1017                 "5e5dd175.2ee1b",\r
1018                 "95f11825.f517d8",\r
1019                 "79dba259.2612cc",\r
1020                 "11c024cf.1cb7db",\r
1021                 "8bfce836.dcd148",\r
1022                 "ec6aad53.7d628",\r
1023                 "c02bc34.16c814",\r
1024                 "ad2e0fde.b44de8",\r
1025                 "d87e7a94.9bda08"\r
1026             ]\r
1027         ]\r
1028     },\r
1029     {\r
1030         "id": "6986f9e3.b25bc8",\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": "1806503a.76a7a",\r
1039         "wires": [\r
1040             []\r
1041         ]\r
1042     },\r
1043     {\r
1044         "id": "a588efb1.b17fd",\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": "1806503a.76a7a",\r
1053         "wires": [\r
1054             []\r
1055         ]\r
1056     },\r
1057     {\r
1058         "id": "940f9aa.5464fe8",\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": "1806503a.76a7a",\r
1066         "wires": []\r
1067     },\r
1068     {\r
1069         "id": "9c7e31dc.43bc2",\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": "1806503a.76a7a",\r
1077         "wires": []\r
1078     },\r
1079     {\r
1080         "id": "64cc49aa.338118",\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": "1806503a.76a7a",\r
1088         "wires": []\r
1089     },\r
1090     {\r
1091         "id": "a266d487.c02dd",\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": "1806503a.76a7a",\r
1100         "wires": [\r
1101             [\r
1102                 "1276721a.95abce",\r
1103                 "59c480c0.a5bb2",\r
1104                 "56433b78.3dde04"\r
1105             ]\r
1106         ]\r
1107     },\r
1108     {\r
1109         "id": "f1099f4d.7efe5",\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": "1806503a.76a7a",\r
1118         "wires": [\r
1119             [\r
1120                 "194bfca3.59d3d3",\r
1121                 "f16b27ad.e4a0d",\r
1122                 "a3a5e961.07f0a"\r
1123             ]\r
1124         ]\r
1125     },\r
1126     {\r
1127         "id": "1276721a.95abce",\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": "1806503a.76a7a",\r
1136         "wires": [\r
1137             [\r
1138                 "5d3d475c.e8e038"\r
1139             ]\r
1140         ]\r
1141     },\r
1142     {\r
1143         "id": "59c480c0.a5bb2",\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": "1806503a.76a7a",\r
1152         "wires": [\r
1153             [\r
1154                 "c3e2bb46.01e6a"\r
1155             ]\r
1156         ]\r
1157     },\r
1158     {\r
1159         "id": "56433b78.3dde04",\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": "1806503a.76a7a",\r
1168         "wires": [\r
1169             [\r
1170                 "1b66d741.6f4631"\r
1171             ]\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "5d3d475c.e8e038",\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": "1806503a.76a7a",\r
1183         "wires": []\r
1184     },\r
1185     {\r
1186         "id": "c3e2bb46.01e6a",\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": "1806503a.76a7a",\r
1194         "wires": []\r
1195     },\r
1196     {\r
1197         "id": "194bfca3.59d3d3",\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": "1806503a.76a7a",\r
1206         "wires": [\r
1207             [\r
1208                 "8a4c46dd.2c996"\r
1209             ]\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "f16b27ad.e4a0d",\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": "1806503a.76a7a",\r
1222         "wires": [\r
1223             [\r
1224                 "171f1743.fcb899"\r
1225             ]\r
1226         ]\r
1227     },\r
1228     {\r
1229         "id": "a3a5e961.07f0a",\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": "1806503a.76a7a",\r
1238         "wires": [\r
1239             [\r
1240                 "c731b8e7.238d38"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "8a4c46dd.2c996",\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": "1806503a.76a7a",\r
1253         "wires": []\r
1254     },\r
1255     {\r
1256         "id": "171f1743.fcb899",\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": "1806503a.76a7a",\r
1264         "wires": []\r
1265     },\r
1266     {\r
1267         "id": "1b66d741.6f4631",\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": "1806503a.76a7a",\r
1276         "wires": [\r
1277             [\r
1278                 "cecd018.605a88"\r
1279             ]\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "c731b8e7.238d38",\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": "1806503a.76a7a",\r
1292         "wires": [\r
1293             [\r
1294                 "f9f52da3.b95878"\r
1295             ]\r
1296         ]\r
1297     },\r
1298     {\r
1299         "id": "cecd018.605a88",\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": "1806503a.76a7a",\r
1308         "wires": [\r
1309             [\r
1310                 "f0539c95.2ea1d",\r
1311                 "44b1b904.08834",\r
1312                 "41d8ce05.5caae"\r
1313             ]\r
1314         ]\r
1315     },\r
1316     {\r
1317         "id": "f9f52da3.b95878",\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": "1806503a.76a7a",\r
1326         "wires": [\r
1327             [\r
1328                 "abd0f375.c30ff",\r
1329                 "eba9832a.ffee4",\r
1330                 "4bc67983.47c6f"\r
1331             ]\r
1332         ]\r
1333     },\r
1334     {\r
1335         "id": "f0539c95.2ea1d",\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": "1806503a.76a7a",\r
1344         "wires": [\r
1345             [\r
1346                 "653aef18.035f68"\r
1347             ]\r
1348         ]\r
1349     },\r
1350     {\r
1351         "id": "44b1b904.08834",\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": "1806503a.76a7a",\r
1360         "wires": [\r
1361             [\r
1362                 "4456e14a.c61538"\r
1363             ]\r
1364         ]\r
1365     },\r
1366     {\r
1367         "id": "abd0f375.c30ff",\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": "1806503a.76a7a",\r
1376         "wires": [\r
1377             [\r
1378                 "dc25cb2f.e0da48"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "eba9832a.ffee4",\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": "1806503a.76a7a",\r
1392         "wires": [\r
1393             [\r
1394                 "7b200b08.d1724c"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "a11ab8.c3c2f548",\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": "1806503a.76a7a",\r
1407         "wires": []\r
1408     },\r
1409     {\r
1410         "id": "7e53eaf1.53c434",\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": "1806503a.76a7a",\r
1418         "wires": []\r
1419     },\r
1420     {\r
1421         "id": "231b0ffb.372688",\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": "1806503a.76a7a",\r
1429         "wires": []\r
1430     },\r
1431     {\r
1432         "id": "1b4ef1ae.221bae",\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": "1806503a.76a7a",\r
1440         "wires": []\r
1441     },\r
1442     {\r
1443         "id": "f61c43e6.4dbe28",\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": "1806503a.76a7a",\r
1452         "wires": [\r
1453             [\r
1454                 "58e01c76.2a233c"\r
1455             ]\r
1456         ]\r
1457     },\r
1458     {\r
1459         "id": "f239d755.e3888",\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": "1806503a.76a7a",\r
1468         "wires": [\r
1469             [\r
1470                 "ffe24b12.95af4"\r
1471             ]\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "7fecb9.d188bb48",\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": "1806503a.76a7a",\r
1484         "wires": [\r
1485             [\r
1486                 "6af9609c.4c1ea"\r
1487             ]\r
1488         ]\r
1489     },\r
1490     {\r
1491         "id": "6132f0e6.1cd1a8",\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": "1806503a.76a7a",\r
1499         "wires": []\r
1500     },\r
1501     {\r
1502         "id": "4618e1c0.461d88",\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": "1806503a.76a7a",\r
1511         "wires": [\r
1512             [\r
1513                 "f61c43e6.4dbe28",\r
1514                 "f239d755.e3888",\r
1515                 "7fecb9.d188bb48"\r
1516             ]\r
1517         ]\r
1518     },\r
1519     {\r
1520         "id": "6aa3951e.157a4c",\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": "1806503a.76a7a",\r
1529         "wires": [\r
1530             [\r
1531                 "273ca4a1.1ba064",\r
1532                 "4a30eba.076bb14"\r
1533             ]\r
1534         ]\r
1535     },\r
1536     {\r
1537         "id": "4a30eba.076bb14",\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": "1806503a.76a7a",\r
1546         "wires": [\r
1547             [\r
1548                 "3b0c1a6c.5d807e"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "273ca4a1.1ba064",\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": "1806503a.76a7a",\r
1562         "wires": [\r
1563             [\r
1564                 "1277d9f.69171a6"\r
1565             ]\r
1566         ]\r
1567     },\r
1568     {\r
1569         "id": "58e01c76.2a233c",\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": "1806503a.76a7a",\r
1578         "wires": [\r
1579             [\r
1580                 "f718a065.a6f86",\r
1581                 "66055190.fb6538"\r
1582             ]\r
1583         ]\r
1584     },\r
1585     {\r
1586         "id": "ffe24b12.95af4",\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": "1806503a.76a7a",\r
1594         "wires": []\r
1595     },\r
1596     {\r
1597         "id": "6af9609c.4c1ea",\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": "1806503a.76a7a",\r
1605         "wires": []\r
1606     },\r
1607     {\r
1608         "id": "f718a065.a6f86",\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": "1806503a.76a7a",\r
1617         "wires": [\r
1618             [\r
1619                 "97c35025.9a9a9",\r
1620                 "3a478d5e.f8179a"\r
1621             ]\r
1622         ]\r
1623     },\r
1624     {\r
1625         "id": "3a478d5e.f8179a",\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": "1806503a.76a7a",\r
1634         "wires": [\r
1635             [\r
1636                 "e66b8dbe.739f2"\r
1637             ]\r
1638         ]\r
1639     },\r
1640     {\r
1641         "id": "97c35025.9a9a9",\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": "1806503a.76a7a",\r
1650         "wires": [\r
1651             [\r
1652                 "8b5a4d36.3a2bb8"\r
1653             ]\r
1654         ]\r
1655     },\r
1656     {\r
1657         "id": "8b5a4d36.3a2bb8",\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": "1806503a.76a7a",\r
1665         "wires": []\r
1666     },\r
1667     {\r
1668         "id": "e66b8dbe.739f2",\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": "1806503a.76a7a",\r
1677         "wires": [\r
1678             [\r
1679                 "9ab6076f.b64fb",\r
1680                 "39801818.ba2ad"\r
1681             ]\r
1682         ]\r
1683     },\r
1684     {\r
1685         "id": "1277d9f.69171a6",\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": "1806503a.76a7a",\r
1693         "wires": []\r
1694     },\r
1695     {\r
1696         "id": "3b0c1a6c.5d807e",\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": "1806503a.76a7a",\r
1705         "wires": [\r
1706             [\r
1707                 "67f68b93.dc06f4",\r
1708                 "41f439c7.6c07f8"\r
1709             ]\r
1710         ]\r
1711     },\r
1712     {\r
1713         "id": "67f68b93.dc06f4",\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": "1806503a.76a7a",\r
1721         "wires": []\r
1722     },\r
1723     {\r
1724         "id": "66055190.fb6538",\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": "1806503a.76a7a",\r
1733         "wires": [\r
1734             [\r
1735                 "c328fdc0.a05af"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "c328fdc0.a05af",\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": "1806503a.76a7a",\r
1749         "wires": [\r
1750             [\r
1751                 "23ec2727.c8e7f"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "23ec2727.c8e7f",\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": "1806503a.76a7a",\r
1765         "wires": [\r
1766             [\r
1767                 "e1b77e00.282c4"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "41f439c7.6c07f8",\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": "1806503a.76a7a",\r
1781         "wires": [\r
1782             [\r
1783                 "89a8d2d0.88f3",\r
1784                 "6334a351.696854",\r
1785                 "c542e0e0.bf42b"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "89a8d2d0.88f3",\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": "1806503a.76a7a",\r
1799         "wires": [\r
1800             [\r
1801                 "c62cbf2d.6fa458"\r
1802             ]\r
1803         ]\r
1804     },\r
1805     {\r
1806         "id": "6334a351.696854",\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": "1806503a.76a7a",\r
1815         "wires": [\r
1816             [\r
1817                 "143c4bf3.014b4c"\r
1818             ]\r
1819         ]\r
1820     },\r
1821     {\r
1822         "id": "c542e0e0.bf42b",\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": "1806503a.76a7a",\r
1831         "wires": [\r
1832             [\r
1833                 "ca788cf9.3c8038"\r
1834             ]\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "ca788cf9.3c8038",\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": "1806503a.76a7a",\r
1846         "wires": []\r
1847     },\r
1848     {\r
1849         "id": "143c4bf3.014b4c",\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": "1806503a.76a7a",\r
1857         "wires": []\r
1858     },\r
1859     {\r
1860         "id": "c62cbf2d.6fa458",\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": "1806503a.76a7a",\r
1870         "wires": [\r
1871             [\r
1872                 "aab3feab.bcb5b"\r
1873             ]\r
1874         ]\r
1875     },\r
1876     {\r
1877         "id": "aab3feab.bcb5b",\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": "1806503a.76a7a",\r
1886         "wires": [\r
1887             [\r
1888                 "ac9dba33.9ee3a8"\r
1889             ]\r
1890         ]\r
1891     },\r
1892     {\r
1893         "id": "39801818.ba2ad",\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": "1806503a.76a7a",\r
1901         "wires": []\r
1902     },\r
1903     {\r
1904         "id": "9ab6076f.b64fb",\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": "1806503a.76a7a",\r
1912         "wires": []\r
1913     },\r
1914     {\r
1915         "id": "6381354a.11146c",\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": "1806503a.76a7a",\r
1923         "wires": []\r
1924     },\r
1925     {\r
1926         "id": "e1b77e00.282c4",\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": "1806503a.76a7a",\r
1935         "wires": [\r
1936             [\r
1937                 "a1ad6a91.cdad1",\r
1938                 "bef51671.772a1",\r
1939                 "55e08f7a.b87978"\r
1940             ]\r
1941         ]\r
1942     },\r
1943     {\r
1944         "id": "a1ad6a91.cdad1",\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": "1806503a.76a7a",\r
1952         "wires": []\r
1953     },\r
1954     {\r
1955         "id": "bef51671.772a1",\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": "1806503a.76a7a",\r
1964         "wires": [\r
1965             [\r
1966                 "db81e8e0.68e13"\r
1967             ]\r
1968         ]\r
1969     },\r
1970     {\r
1971         "id": "55e08f7a.b87978",\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": "1806503a.76a7a",\r
1979         "wires": []\r
1980     },\r
1981     {\r
1982         "id": "db81e8e0.68e13",\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": "1806503a.76a7a",\r
1991         "wires": [\r
1992             [\r
1993                 "52661a57.fe0a3c"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "409a042d.2fadac",\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": "1806503a.76a7a",\r
2007         "wires": [\r
2008             [\r
2009                 "f76f51b8.a98b3"\r
2010             ]\r
2011         ]\r
2012     },\r
2013     {\r
2014         "id": "f76f51b8.a98b3",\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": "1806503a.76a7a",\r
2023         "wires": [\r
2024             [\r
2025                 "f1cd5bd3.ddbdb8",\r
2026                 "b8b89faf.7ac19"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "ac9dba33.9ee3a8",\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": "1806503a.76a7a",\r
2040         "wires": [\r
2041             [\r
2042                 "409a042d.2fadac",\r
2043                 "80f5aaec.b0ffc8"\r
2044             ]\r
2045         ]\r
2046     },\r
2047     {\r
2048         "id": "80f5aaec.b0ffc8",\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": "1806503a.76a7a",\r
2057         "wires": [\r
2058             [\r
2059                 "bf72647d.49f538"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "bf72647d.49f538",\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": "1806503a.76a7a",\r
2073         "wires": [\r
2074             [\r
2075                 "97239b14.6f12c8"\r
2076             ]\r
2077         ]\r
2078     },\r
2079     {\r
2080         "id": "52661a57.fe0a3c",\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": "1806503a.76a7a",\r
2089         "wires": [\r
2090             [\r
2091                 "5700a19e.1dbeb8"\r
2092             ]\r
2093         ]\r
2094     },\r
2095     {\r
2096         "id": "5700a19e.1dbeb8",\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": "1806503a.76a7a",\r
2104         "wires": []\r
2105     },\r
2106     {\r
2107         "id": "b8b89faf.7ac19",\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": "1806503a.76a7a",\r
2116         "wires": [\r
2117             [\r
2118                 "5d74c4c9.fd207c",\r
2119                 "bdb7d238.f96a08",\r
2120                 "7cf71a83.19030c"\r
2121             ]\r
2122         ]\r
2123     },\r
2124     {\r
2125         "id": "f1cd5bd3.ddbdb8",\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": "1806503a.76a7a",\r
2133         "wires": []\r
2134     },\r
2135     {\r
2136         "id": "5d74c4c9.fd207c",\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": "1806503a.76a7a",\r
2145         "wires": [\r
2146             [\r
2147                 "e430f4b5.90b5d"\r
2148             ]\r
2149         ]\r
2150     },\r
2151     {\r
2152         "id": "bdb7d238.f96a08",\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": "1806503a.76a7a",\r
2161         "wires": [\r
2162             [\r
2163                 "46b0e213.0f69d4"\r
2164             ]\r
2165         ]\r
2166     },\r
2167     {\r
2168         "id": "7cf71a83.19030c",\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": "1806503a.76a7a",\r
2177         "wires": [\r
2178             [\r
2179                 "99bfc958.cc2928"\r
2180             ]\r
2181         ]\r
2182     },\r
2183     {\r
2184         "id": "99bfc958.cc2928",\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": "1806503a.76a7a",\r
2192         "wires": []\r
2193     },\r
2194     {\r
2195         "id": "46b0e213.0f69d4",\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": "1806503a.76a7a",\r
2203         "wires": []\r
2204     },\r
2205     {\r
2206         "id": "e430f4b5.90b5d",\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": "1806503a.76a7a",\r
2216         "wires": [\r
2217             [\r
2218                 "3d0751e6.cf382e"\r
2219             ]\r
2220         ]\r
2221     },\r
2222     {\r
2223         "id": "97239b14.6f12c8",\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": "1806503a.76a7a",\r
2231         "wires": []\r
2232     },\r
2233     {\r
2234         "id": "3d0751e6.cf382e",\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": "1806503a.76a7a",\r
2242         "wires": []\r
2243     },\r
2244     {\r
2245         "id": "33b11d1b.98a69a",\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": "1806503a.76a7a",\r
2253         "wires": []\r
2254     },\r
2255     {\r
2256         "id": "2dc9cffb.3878b8",\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": "1806503a.76a7a",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "653aef18.035f68",\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": "1806503a.76a7a",\r
2277         "wires": [\r
2278             [\r
2279                 "a11ab8.c3c2f548",\r
2280                 "33b11d1b.98a69a"\r
2281             ]\r
2282         ]\r
2283     },\r
2284     {\r
2285         "id": "4456e14a.c61538",\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": "1806503a.76a7a",\r
2295         "wires": [\r
2296             [\r
2297                 "7e53eaf1.53c434",\r
2298                 "2dc9cffb.3878b8"\r
2299             ]\r
2300         ]\r
2301     },\r
2302     {\r
2303         "id": "dc25cb2f.e0da48",\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": "1806503a.76a7a",\r
2313         "wires": [\r
2314             [\r
2315                 "231b0ffb.372688",\r
2316                 "3979d153.538ee6"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "7b200b08.d1724c",\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": "1806503a.76a7a",\r
2331         "wires": [\r
2332             [\r
2333                 "1b4ef1ae.221bae",\r
2334                 "49dc9fac.676fe"\r
2335             ]\r
2336         ]\r
2337     },\r
2338     {\r
2339         "id": "3979d153.538ee6",\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": "1806503a.76a7a",\r
2347         "wires": []\r
2348     },\r
2349     {\r
2350         "id": "49dc9fac.676fe",\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": "1806503a.76a7a",\r
2358         "wires": []\r
2359     },\r
2360     {\r
2361         "id": "f7cb7391.6f67a",\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": "1806503a.76a7a",\r
2370         "wires": [\r
2371             [\r
2372                 "9a5ca37c.910178",\r
2373                 "2a8d98c8.2c78a"\r
2374             ]\r
2375         ]\r
2376     },\r
2377     {\r
2378         "id": "fd44019f.688f6",\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": "1806503a.76a7a",\r
2387         "wires": [\r
2388             [\r
2389                 "f7cb7391.6f67a"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "3eb019bb.1ee706",\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": "1806503a.76a7a",\r
2403         "wires": [\r
2404             [\r
2405                 "f4d10bee.1b32c"\r
2406             ]\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "ef74e13b.116b3",\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": "1806503a.76a7a",\r
2419         "wires": [\r
2420             [\r
2421                 "7a977b6c.124a74"\r
2422             ]\r
2423         ]\r
2424     },\r
2425     {\r
2426         "id": "f4d10bee.1b32c",\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": "1806503a.76a7a",\r
2434         "wires": []\r
2435     },\r
2436     {\r
2437         "id": "7a977b6c.124a74",\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": "1806503a.76a7a",\r
2445         "wires": []\r
2446     },\r
2447     {\r
2448         "id": "9a5ca37c.910178",\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": "1806503a.76a7a",\r
2457         "wires": [\r
2458             [\r
2459                 "efd0a9b7.e547a8",\r
2460                 "caaf5e66.b1cb"\r
2461             ]\r
2462         ]\r
2463     },\r
2464     {\r
2465         "id": "caaf5e66.b1cb",\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": "1806503a.76a7a",\r
2474         "wires": [\r
2475             [\r
2476                 "5ec876cd.f1dea8"\r
2477             ]\r
2478         ]\r
2479     },\r
2480     {\r
2481         "id": "efd0a9b7.e547a8",\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": "1806503a.76a7a",\r
2490         "wires": [\r
2491             [\r
2492                 "72d34df6.13ce64"\r
2493             ]\r
2494         ]\r
2495     },\r
2496     {\r
2497         "id": "72d34df6.13ce64",\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": "1806503a.76a7a",\r
2505         "wires": []\r
2506     },\r
2507     {\r
2508         "id": "5ec876cd.f1dea8",\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": "1806503a.76a7a",\r
2517         "wires": [\r
2518             [\r
2519                 "2854b6e2.b50402",\r
2520                 "1fbd987b.e2c578"\r
2521             ]\r
2522         ]\r
2523     },\r
2524     {\r
2525         "id": "eef6ad07.9c7d5",\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": "1806503a.76a7a",\r
2534         "wires": [\r
2535             [\r
2536                 "fd44019f.688f6",\r
2537                 "3eb019bb.1ee706",\r
2538                 "ef74e13b.116b3"\r
2539             ]\r
2540         ]\r
2541     },\r
2542     {\r
2543         "id": "46101f8f.1fb8b8",\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": "1806503a.76a7a",\r
2551         "wires": []\r
2552     },\r
2553     {\r
2554         "id": "d38e0865.514348",\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": "1806503a.76a7a",\r
2563         "wires": [\r
2564             [\r
2565                 "f536d783.2e1028",\r
2566                 "54ea75a9.fca1c4"\r
2567             ]\r
2568         ]\r
2569     },\r
2570     {\r
2571         "id": "54ea75a9.fca1c4",\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": "1806503a.76a7a",\r
2580         "wires": [\r
2581             [\r
2582                 "3ffa66c6.048e62"\r
2583             ]\r
2584         ]\r
2585     },\r
2586     {\r
2587         "id": "f536d783.2e1028",\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": "1806503a.76a7a",\r
2596         "wires": [\r
2597             [\r
2598                 "73c7be78.48771"\r
2599             ]\r
2600         ]\r
2601     },\r
2602     {\r
2603         "id": "73c7be78.48771",\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": "1806503a.76a7a",\r
2611         "wires": []\r
2612     },\r
2613     {\r
2614         "id": "3ffa66c6.048e62",\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": "1806503a.76a7a",\r
2623         "wires": [\r
2624             [\r
2625                 "116bcef1.41b689",\r
2626                 "bd9fbc09.ccb15"\r
2627             ]\r
2628         ]\r
2629     },\r
2630     {\r
2631         "id": "116bcef1.41b689",\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": "1806503a.76a7a",\r
2639         "wires": []\r
2640     },\r
2641     {\r
2642         "id": "2a8d98c8.2c78a",\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": "1806503a.76a7a",\r
2651         "wires": [\r
2652             [\r
2653                 "821e2eef.7d9ce8"\r
2654             ]\r
2655         ]\r
2656     },\r
2657     {\r
2658         "id": "821e2eef.7d9ce8",\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": "1806503a.76a7a",\r
2667         "wires": [\r
2668             [\r
2669                 "b9228d23.f35b1"\r
2670             ]\r
2671         ]\r
2672     },\r
2673     {\r
2674         "id": "b9228d23.f35b1",\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": "1806503a.76a7a",\r
2683         "wires": [\r
2684             [\r
2685                 "1db12922.ce9147"\r
2686             ]\r
2687         ]\r
2688     },\r
2689     {\r
2690         "id": "bd9fbc09.ccb15",\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": "1806503a.76a7a",\r
2699         "wires": [\r
2700             [\r
2701                 "71a75cfd.cb2324",\r
2702                 "c5a92d1c.748898",\r
2703                 "d4c41231.0d38f"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "71a75cfd.cb2324",\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": "1806503a.76a7a",\r
2717         "wires": [\r
2718             [\r
2719                 "55c143a3.bf5e9c"\r
2720             ]\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "c5a92d1c.748898",\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": "1806503a.76a7a",\r
2733         "wires": [\r
2734             [\r
2735                 "a19a5afd.bfc2c"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "d4c41231.0d38f",\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": "1806503a.76a7a",\r
2749         "wires": [\r
2750             [\r
2751                 "5c56b620.c82d88"\r
2752             ]\r
2753         ]\r
2754     },\r
2755     {\r
2756         "id": "5c56b620.c82d88",\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": "1806503a.76a7a",\r
2764         "wires": []\r
2765     },\r
2766     {\r
2767         "id": "a19a5afd.bfc2c",\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": "1806503a.76a7a",\r
2775         "wires": []\r
2776     },\r
2777     {\r
2778         "id": "55c143a3.bf5e9c",\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": "1806503a.76a7a",\r
2788         "wires": [\r
2789             [\r
2790                 "79a34acd.c9a0bc"\r
2791             ]\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "2854b6e2.b50402",\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": "1806503a.76a7a",\r
2803         "wires": []\r
2804     },\r
2805     {\r
2806         "id": "1fbd987b.e2c578",\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": "1806503a.76a7a",\r
2814         "wires": []\r
2815     },\r
2816     {\r
2817         "id": "8823cb9b.b21f5",\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": "1806503a.76a7a",\r
2825         "wires": []\r
2826     },\r
2827     {\r
2828         "id": "1db12922.ce9147",\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": "1806503a.76a7a",\r
2837         "wires": [\r
2838             [\r
2839                 "4fe8713d.4f503",\r
2840                 "c4b73dd8.f86748",\r
2841                 "cf5e37a1.834b48"\r
2842             ]\r
2843         ]\r
2844     },\r
2845     {\r
2846         "id": "4fe8713d.4f503",\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": "1806503a.76a7a",\r
2854         "wires": []\r
2855     },\r
2856     {\r
2857         "id": "c4b73dd8.f86748",\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": "1806503a.76a7a",\r
2866         "wires": [\r
2867             [\r
2868                 "fd454717.5864e8"\r
2869             ]\r
2870         ]\r
2871     },\r
2872     {\r
2873         "id": "cf5e37a1.834b48",\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": "1806503a.76a7a",\r
2881         "wires": []\r
2882     },\r
2883     {\r
2884         "id": "fd454717.5864e8",\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": "1806503a.76a7a",\r
2893         "wires": [\r
2894             [\r
2895                 "6021f32a.54d8fc"\r
2896             ]\r
2897         ]\r
2898     },\r
2899     {\r
2900         "id": "6021f32a.54d8fc",\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": "1806503a.76a7a",\r
2909         "wires": [\r
2910             [\r
2911                 "1a613df3.ff444a"\r
2912             ]\r
2913         ]\r
2914     },\r
2915     {\r
2916         "id": "1a613df3.ff444a",\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": "1806503a.76a7a",\r
2924         "wires": []\r
2925     },\r
2926     {\r
2927         "id": "1465bad2.a0d805",\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": "1806503a.76a7a",\r
2936         "wires": [\r
2937             [\r
2938                 "f75a0195.2a4c5"\r
2939             ]\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "f75a0195.2a4c5",\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": "1806503a.76a7a",\r
2952         "wires": [\r
2953             [\r
2954                 "1de23279.e8bad6",\r
2955                 "95237093.1f1c18"\r
2956             ]\r
2957         ]\r
2958     },\r
2959     {\r
2960         "id": "79a34acd.c9a0bc",\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": "1806503a.76a7a",\r
2969         "wires": [\r
2970             [\r
2971                 "b5cddb2a.47fb5"\r
2972             ]\r
2973         ]\r
2974     },\r
2975     {\r
2976         "id": "b5cddb2a.47fb5",\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": "1806503a.76a7a",\r
2985         "wires": [\r
2986             [\r
2987                 "1465bad2.a0d805",\r
2988                 "a6e303e4.3eb668"\r
2989             ]\r
2990         ]\r
2991     },\r
2992     {\r
2993         "id": "95237093.1f1c18",\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": "1806503a.76a7a",\r
3002         "wires": [\r
3003             [\r
3004                 "2d3d2acb.c107b6",\r
3005                 "fb5337e0.94ced8",\r
3006                 "752448e6.ec72a8"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "6879e9be.d7aee",\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": "1806503a.76a7a",\r
3020         "wires": [\r
3021             [\r
3022                 "8691b2ec.22b9d8"\r
3023             ]\r
3024         ]\r
3025     },\r
3026     {\r
3027         "id": "a6e303e4.3eb668",\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": "1806503a.76a7a",\r
3036         "wires": [\r
3037             [\r
3038                 "6879e9be.d7aee"\r
3039             ]\r
3040         ]\r
3041     },\r
3042     {\r
3043         "id": "1de23279.e8bad6",\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": "1806503a.76a7a",\r
3051         "wires": []\r
3052     },\r
3053     {\r
3054         "id": "8691b2ec.22b9d8",\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": "1806503a.76a7a",\r
3062         "wires": []\r
3063     },\r
3064     {\r
3065         "id": "2d3d2acb.c107b6",\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": "1806503a.76a7a",\r
3074         "wires": [\r
3075             [\r
3076                 "a3e7410.2b3c44"\r
3077             ]\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "fb5337e0.94ced8",\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": "1806503a.76a7a",\r
3090         "wires": [\r
3091             [\r
3092                 "656cbbf6.41438c"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "752448e6.ec72a8",\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": "1806503a.76a7a",\r
3106         "wires": [\r
3107             [\r
3108                 "6bb525a1.9cb52c"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "6bb525a1.9cb52c",\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": "1806503a.76a7a",\r
3121         "wires": []\r
3122     },\r
3123     {\r
3124         "id": "656cbbf6.41438c",\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": "1806503a.76a7a",\r
3132         "wires": []\r
3133     },\r
3134     {\r
3135         "id": "a3e7410.2b3c44",\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": "1806503a.76a7a",\r
3145         "wires": [\r
3146             [\r
3147                 "99742e42.2fdbd8"\r
3148             ]\r
3149         ]\r
3150     },\r
3151     {\r
3152         "id": "99742e42.2fdbd8",\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": "1806503a.76a7a",\r
3160         "wires": []\r
3161     },\r
3162     {\r
3163         "id": "78d4922e.8ebe04",\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": "1806503a.76a7a",\r
3171         "wires": []\r
3172     },\r
3173     {\r
3174         "id": "c220ecdf.76a978",\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": "1806503a.76a7a",\r
3182         "wires": []\r
3183     },\r
3184     {\r
3185         "id": "b4f5dada.48378",\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": "1806503a.76a7a",\r
3194         "wires": [\r
3195             []\r
3196         ]\r
3197     },\r
3198     {\r
3199         "id": "5db562b1.71111c",\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": "1806503a.76a7a",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "3f2dec8d.5c3844",\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": "1806503a.76a7a",\r
3218         "wires": []\r
3219     },\r
3220     {\r
3221         "id": "8ae1ae92.9d4708",\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": "1806503a.76a7a",\r
3229         "wires": []\r
3230     },\r
3231     {\r
3232         "id": "f4b4f4b0.73db2",\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": "1806503a.76a7a",\r
3240         "wires": []\r
3241     },\r
3242     {\r
3243         "id": "4304e2aa.cc073c",\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": "1806503a.76a7a",\r
3252         "wires": [\r
3253             []\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "f849984b.dddac",\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": "1806503a.76a7a",\r
3265         "wires": []\r
3266     },\r
3267     {\r
3268         "id": "ff6310d.2048a7",\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": "1806503a.76a7a",\r
3277         "wires": [\r
3278             []\r
3279         ]\r
3280     },\r
3281     {\r
3282         "id": "14f1d608.fff342",\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": "1806503a.76a7a",\r
3291         "wires": [\r
3292             [\r
3293                 "30a4f59e.3fde12",\r
3294                 "98adc704.004778",\r
3295                 "91611e7f.d3eaa8"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "98adc704.004778",\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": "1806503a.76a7a",\r
3309         "wires": [\r
3310             [\r
3311                 "94257401.34831"\r
3312             ]\r
3313         ]\r
3314     },\r
3315     {\r
3316         "id": "91611e7f.d3eaa8",\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": "1806503a.76a7a",\r
3325         "wires": [\r
3326             [\r
3327                 "c2c26a41.57e9c"\r
3328             ]\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "94257401.34831",\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": "1806503a.76a7a",\r
3340         "wires": []\r
3341     },\r
3342     {\r
3343         "id": "c2c26a41.57e9c",\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": "1806503a.76a7a",\r
3351         "wires": []\r
3352     },\r
3353     {\r
3354         "id": "30a4f59e.3fde12",\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": "1806503a.76a7a",\r
3363         "wires": [\r
3364             [\r
3365                 "4d0f2575.137edc"\r
3366             ]\r
3367         ]\r
3368     },\r
3369     {\r
3370         "id": "4d0f2575.137edc",\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": "1806503a.76a7a",\r
3380         "wires": [\r
3381             [\r
3382                 "589d867c.eeacb",\r
3383                 "ff6310d.2048a7",\r
3384                 "84152b78.a442c8",\r
3385                 "1e88543b.84a814"\r
3386             ]\r
3387         ]\r
3388     },\r
3389     {\r
3390         "id": "589d867c.eeacb",\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": "1806503a.76a7a",\r
3398         "wires": []\r
3399     },\r
3400     {\r
3401         "id": "243640c4.1190f8",\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": "1806503a.76a7a",\r
3409         "wires": []\r
3410     },\r
3411     {\r
3412         "id": "83d2a0c.fbf83e",\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": "1806503a.76a7a",\r
3421         "wires": [\r
3422             []\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "84152b78.a442c8",\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": "1806503a.76a7a",\r
3435         "wires": [\r
3436             [\r
3437                 "ee63dcff.30bad",\r
3438                 "80208a9d.4e9bb",\r
3439                 "3e7ba9dc.c77e76"\r
3440             ]\r
3441         ]\r
3442     },\r
3443     {\r
3444         "id": "80208a9d.4e9bb",\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": "1806503a.76a7a",\r
3453         "wires": [\r
3454             [\r
3455                 "ee49c3d8.4041d8"\r
3456             ]\r
3457         ]\r
3458     },\r
3459     {\r
3460         "id": "3e7ba9dc.c77e76",\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": "1806503a.76a7a",\r
3469         "wires": [\r
3470             [\r
3471                 "e34757d5.3f1ff8"\r
3472             ]\r
3473         ]\r
3474     },\r
3475     {\r
3476         "id": "ee49c3d8.4041d8",\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": "1806503a.76a7a",\r
3484         "wires": []\r
3485     },\r
3486     {\r
3487         "id": "e34757d5.3f1ff8",\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": "1806503a.76a7a",\r
3495         "wires": []\r
3496     },\r
3497     {\r
3498         "id": "be9d3338.5121d",\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": "1806503a.76a7a",\r
3507         "wires": [\r
3508             [\r
3509                 "933a8e8f.7ef918",\r
3510                 "83d2a0c.fbf83e"\r
3511             ]\r
3512         ]\r
3513     },\r
3514     {\r
3515         "id": "ee63dcff.30bad",\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": "1806503a.76a7a",\r
3524         "wires": [\r
3525             [\r
3526                 "be9d3338.5121d"\r
3527             ]\r
3528         ]\r
3529     },\r
3530     {\r
3531         "id": "933a8e8f.7ef918",\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": "1806503a.76a7a",\r
3539         "wires": []\r
3540     },\r
3541     {\r
3542         "id": "21e69316.d31a3c",\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": "1806503a.76a7a",\r
3550         "wires": []\r
3551     },\r
3552     {\r
3553         "id": "45cb1d93.9cef0c",\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": "1806503a.76a7a",\r
3561         "wires": []\r
3562     },\r
3563     {\r
3564         "id": "95cc6144.fb6bd8",\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": "1806503a.76a7a",\r
3573         "wires": [\r
3574             []\r
3575         ]\r
3576     },\r
3577     {\r
3578         "id": "21aeddc1.06f77a",\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": "1806503a.76a7a",\r
3587         "wires": [\r
3588             [\r
3589                 "218077ad.f30d3",\r
3590                 "a4239ce5.8829c"\r
3591             ]\r
3592         ]\r
3593     },\r
3594     {\r
3595         "id": "218077ad.f30d3",\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": "1806503a.76a7a",\r
3604         "wires": [\r
3605             [\r
3606                 "dcbbe6d2.fa9028"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "dcbbe6d2.fa9028",\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": "1806503a.76a7a",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "a4239ce5.8829c",\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": "1806503a.76a7a",\r
3631         "wires": [\r
3632             [\r
3633                 "338c28da.4908c8"\r
3634             ]\r
3635         ]\r
3636     },\r
3637     {\r
3638         "id": "338c28da.4908c8",\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": "1806503a.76a7a",\r
3648         "wires": [\r
3649             [\r
3650                 "40a81b6.e879ce4",\r
3651                 "fe7c3ff6.ce34b8",\r
3652                 "af03ee84.d16068"\r
3653             ]\r
3654         ]\r
3655     },\r
3656     {\r
3657         "id": "40a81b6.e879ce4",\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": "1806503a.76a7a",\r
3666         "wires": [\r
3667             [\r
3668                 "3fc00cbe.f344f4"\r
3669             ]\r
3670         ]\r
3671     },\r
3672     {\r
3673         "id": "3fc00cbe.f344f4",\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": "1806503a.76a7a",\r
3682         "wires": [\r
3683             [\r
3684                 "57d9d04a.beb888"\r
3685             ]\r
3686         ]\r
3687     },\r
3688     {\r
3689         "id": "57d9d04a.beb888",\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": "1806503a.76a7a",\r
3698         "wires": [\r
3699             [\r
3700                 "5fa67fdd.e511b8"\r
3701             ]\r
3702         ]\r
3703     },\r
3704     {\r
3705         "id": "b9bbd69a.136aa8",\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": "1806503a.76a7a",\r
3714         "wires": [\r
3715             [\r
3716                 "17e2ea6.f8df196",\r
3717                 "947c4850.aa8df"\r
3718             ]\r
3719         ]\r
3720     },\r
3721     {\r
3722         "id": "17e2ea6.f8df196",\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": "1806503a.76a7a",\r
3730         "wires": []\r
3731     },\r
3732     {\r
3733         "id": "fe7c3ff6.ce34b8",\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": "1806503a.76a7a",\r
3741         "wires": []\r
3742     },\r
3743     {\r
3744         "id": "af03ee84.d16068",\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": "1806503a.76a7a",\r
3753         "wires": [\r
3754             [\r
3755                 "77a80484.fb13cc",\r
3756                 "a722846c.585ad"\r
3757             ]\r
3758         ]\r
3759     },\r
3760     {\r
3761         "id": "947c4850.aa8df",\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": "1806503a.76a7a",\r
3769         "wires": []\r
3770     },\r
3771     {\r
3772         "id": "a722846c.585ad",\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": "1806503a.76a7a",\r
3781         "wires": [\r
3782             [\r
3783                 "c0a1014a.3ea75"\r
3784             ]\r
3785         ]\r
3786     },\r
3787     {\r
3788         "id": "77a80484.fb13cc",\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": "1806503a.76a7a",\r
3797         "wires": [\r
3798             [\r
3799                 "8774c38d.ee5b7"\r
3800             ]\r
3801         ]\r
3802     },\r
3803     {\r
3804         "id": "8774c38d.ee5b7",\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": "1806503a.76a7a",\r
3814         "wires": [\r
3815             [\r
3816                 "f67d6e8d.c4ab",\r
3817                 "1d885097.bf6b2f",\r
3818                 "bd8e5c03.dfc108",\r
3819                 "19328269.e896be",\r
3820                 "93e60704.65dbd",\r
3821                 "8b3d1eff.18e008",\r
3822                 "ffd8a757.b8a3f",\r
3823                 "b33560b0.1278c",\r
3824                 "fc616200.2baf58"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "9c91ac5e.705b8",\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": "1806503a.76a7a",\r
3837         "wires": []\r
3838     },\r
3839     {\r
3840         "id": "fa1b93d9.936e7",\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": "1806503a.76a7a",\r
3848         "wires": []\r
3849     },\r
3850     {\r
3851         "id": "30095233.787426",\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": "1806503a.76a7a",\r
3859         "wires": []\r
3860     },\r
3861     {\r
3862         "id": "298f2b5b.0aab2c",\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": "1806503a.76a7a",\r
3871         "wires": [\r
3872             [\r
3873                 "1597a82b.d6bf2"\r
3874             ]\r
3875         ]\r
3876     },\r
3877     {\r
3878         "id": "1126bc47.b4d98c",\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": "1806503a.76a7a",\r
3887         "wires": [\r
3888             [\r
3889                 "298f2b5b.0aab2c"\r
3890             ]\r
3891         ]\r
3892     },\r
3893     {\r
3894         "id": "9ba49429.2785d",\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": "1806503a.76a7a",\r
3903         "wires": [\r
3904             []\r
3905         ]\r
3906     },\r
3907     {\r
3908         "id": "ace3cbea.15731",\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": "1806503a.76a7a",\r
3916         "wires": []\r
3917     },\r
3918     {\r
3919         "id": "1d3af694.aab3a1",\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": "1806503a.76a7a",\r
3927         "wires": []\r
3928     },\r
3929     {\r
3930         "id": "7a0d3acc.4e0354",\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": "1806503a.76a7a",\r
3938         "wires": []\r
3939     },\r
3940     {\r
3941         "id": "1597a82b.d6bf2",\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": "1806503a.76a7a",\r
3950         "wires": [\r
3951             [\r
3952                 "247fb61.2b27f4a"\r
3953             ]\r
3954         ]\r
3955     },\r
3956     {\r
3957         "id": "247fb61.2b27f4a",\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": "1806503a.76a7a",\r
3966         "wires": [\r
3967             [\r
3968                 "d2d679f0.fa9e7"\r
3969             ]\r
3970         ]\r
3971     },\r
3972     {\r
3973         "id": "d2d679f0.fa9e7",\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": "1806503a.76a7a",\r
3982         "wires": [\r
3983             [\r
3984                 "7d11177c.7fa498"\r
3985             ]\r
3986         ]\r
3987     },\r
3988     {\r
3989         "id": "7d11177c.7fa498",\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": "1806503a.76a7a",\r
3997         "wires": []\r
3998     },\r
3999     {\r
4000         "id": "b338f208.2e8e8",\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": "1806503a.76a7a",\r
4009         "wires": [\r
4010             []\r
4011         ]\r
4012     },\r
4013     {\r
4014         "id": "f67d6e8d.c4ab",\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": "1806503a.76a7a",\r
4024         "wires": [\r
4025             [\r
4026                 "6c238e2f.cfa52",\r
4027                 "97e28bb1.9f6bb8",\r
4028                 "ace3cbea.15731",\r
4029                 "1d3af694.aab3a1",\r
4030                 "30095233.787426",\r
4031                 "1126bc47.b4d98c",\r
4032                 "b338f208.2e8e8"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "44415c7f.4f5f24",\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": "1806503a.76a7a",\r
4045         "wires": []\r
4046     },\r
4047     {\r
4048         "id": "97e28bb1.9f6bb8",\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": "1806503a.76a7a",\r
4057         "wires": [\r
4058             [\r
4059                 "153999c3.0eb42e",\r
4060                 "a208bb99.66b2e8",\r
4061                 "9ba49429.2785d"\r
4062             ]\r
4063         ]\r
4064     },\r
4065     {\r
4066         "id": "153999c3.0eb42e",\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": "1806503a.76a7a",\r
4075         "wires": [\r
4076             []\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "a208bb99.66b2e8",\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": "1806503a.76a7a",\r
4089         "wires": [\r
4090             []\r
4091         ]\r
4092     },\r
4093     {\r
4094         "id": "6c238e2f.cfa52",\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": "1806503a.76a7a",\r
4102         "wires": []\r
4103     },\r
4104     {\r
4105         "id": "1d885097.bf6b2f",\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": "1806503a.76a7a",\r
4113         "wires": []\r
4114     },\r
4115     {\r
4116         "id": "582ea235.e6de1c",\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": "1806503a.76a7a",\r
4124         "wires": []\r
4125     },\r
4126     {\r
4127         "id": "bd8e5c03.dfc108",\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": "1806503a.76a7a",\r
4136         "wires": [\r
4137             [\r
4138                 "d0e71616.8c817",\r
4139                 "148e0bed.377164",\r
4140                 "3b175283.95d6be"\r
4141             ]\r
4142         ]\r
4143     },\r
4144     {\r
4145         "id": "d0e71616.8c817",\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": "1806503a.76a7a",\r
4154         "wires": [\r
4155             [\r
4156                 "39c739fc.a6fe6e"\r
4157             ]\r
4158         ]\r
4159     },\r
4160     {\r
4161         "id": "148e0bed.377164",\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": "1806503a.76a7a",\r
4170         "wires": [\r
4171             [\r
4172                 "3e1fb649.3101ea"\r
4173             ]\r
4174         ]\r
4175     },\r
4176     {\r
4177         "id": "3b175283.95d6be",\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": "1806503a.76a7a",\r
4186         "wires": [\r
4187             [\r
4188                 "681b836.365687c"\r
4189             ]\r
4190         ]\r
4191     },\r
4192     {\r
4193         "id": "39c739fc.a6fe6e",\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": "1806503a.76a7a",\r
4202         "wires": [\r
4203             [\r
4204                 "93e92e1a.778be8"\r
4205             ]\r
4206         ]\r
4207     },\r
4208     {\r
4209         "id": "3e1fb649.3101ea",\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": "1806503a.76a7a",\r
4217         "wires": []\r
4218     },\r
4219     {\r
4220         "id": "681b836.365687c",\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": "1806503a.76a7a",\r
4228         "wires": []\r
4229     },\r
4230     {\r
4231         "id": "93e92e1a.778be8",\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": "1806503a.76a7a",\r
4240         "wires": [\r
4241             [\r
4242                 "27f30922.4e6a66"\r
4243             ]\r
4244         ]\r
4245     },\r
4246     {\r
4247         "id": "27f30922.4e6a66",\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": "1806503a.76a7a",\r
4257         "wires": [\r
4258             [\r
4259                 "e449a33.b8b696"\r
4260             ]\r
4261         ]\r
4262     },\r
4263     {\r
4264         "id": "e77a7161.49d068",\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": "1806503a.76a7a",\r
4272         "wires": []\r
4273     },\r
4274     {\r
4275         "id": "e449a33.b8b696",\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": "1806503a.76a7a",\r
4284         "wires": [\r
4285             [\r
4286                 "62a1336b.ab309c",\r
4287                 "57ed2482.36942c"\r
4288             ]\r
4289         ]\r
4290     },\r
4291     {\r
4292         "id": "57ed2482.36942c",\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": "1806503a.76a7a",\r
4301         "wires": [\r
4302             []\r
4303         ]\r
4304     },\r
4305     {\r
4306         "id": "62a1336b.ab309c",\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": "1806503a.76a7a",\r
4315         "wires": [\r
4316             [\r
4317                 "6f96293b.020fc"\r
4318             ]\r
4319         ]\r
4320     },\r
4321     {\r
4322         "id": "48fa24ff.a12f6c",\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": "1806503a.76a7a",\r
4332         "wires": [\r
4333             [\r
4334                 "d949e407.7d96c8",\r
4335                 "ba00ef86.599998",\r
4336                 "e04480f3.8af1b"\r
4337             ]\r
4338         ]\r
4339     },\r
4340     {\r
4341         "id": "a4fcb041.b0aaf8",\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": "1806503a.76a7a",\r
4350         "wires": [\r
4351             [\r
4352                 "dc33bc78.b33dc"\r
4353             ]\r
4354         ]\r
4355     },\r
4356     {\r
4357         "id": "dc33bc78.b33dc",\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": "1806503a.76a7a",\r
4366         "wires": [\r
4367             [\r
4368                 "88251130.694fa8"\r
4369             ]\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "d949e407.7d96c8",\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": "1806503a.76a7a",\r
4381         "wires": []\r
4382     },\r
4383     {\r
4384         "id": "ba00ef86.599998",\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": "1806503a.76a7a",\r
4392         "wires": []\r
4393     },\r
4394     {\r
4395         "id": "e04480f3.8af1b",\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": "1806503a.76a7a",\r
4404         "wires": [\r
4405             []\r
4406         ]\r
4407     },\r
4408     {\r
4409         "id": "e369ae1d.045348",\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": "1806503a.76a7a",\r
4418         "wires": [\r
4419             []\r
4420         ]\r
4421     },\r
4422     {\r
4423         "id": "7bcaed73.c4335c",\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": "1806503a.76a7a",\r
4431         "wires": []\r
4432     },\r
4433     {\r
4434         "id": "88251130.694fa8",\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": "1806503a.76a7a",\r
4443         "wires": [\r
4444             [\r
4445                 "3faa0ed9.e49512"\r
4446             ]\r
4447         ]\r
4448     },\r
4449     {\r
4450         "id": "3faa0ed9.e49512",\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": "1806503a.76a7a",\r
4459         "wires": [\r
4460             [\r
4461                 "1f4e4f1d.0faeb9",\r
4462                 "71f57a2d.ed1434"\r
4463             ]\r
4464         ]\r
4465     },\r
4466     {\r
4467         "id": "1f4e4f1d.0faeb9",\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": "1806503a.76a7a",\r
4475         "wires": []\r
4476     },\r
4477     {\r
4478         "id": "71f57a2d.ed1434",\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": "1806503a.76a7a",\r
4486         "wires": []\r
4487     },\r
4488     {\r
4489         "id": "5e5dd175.2ee1b",\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": "1806503a.76a7a",\r
4498         "wires": [\r
4499             []\r
4500         ]\r
4501     },\r
4502     {\r
4503         "id": "95f11825.f517d8",\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": "1806503a.76a7a",\r
4512         "wires": [\r
4513             [\r
4514                 "eda02ee3.547818",\r
4515                 "24ae5a23.6efcde"\r
4516             ]\r
4517         ]\r
4518     },\r
4519     {\r
4520         "id": "eda02ee3.547818",\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": "1806503a.76a7a",\r
4529         "wires": [\r
4530             [\r
4531                 "25d89b5b.fea624"\r
4532             ]\r
4533         ]\r
4534     },\r
4535     {\r
4536         "id": "25d89b5b.fea624",\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": "1806503a.76a7a",\r
4546         "wires": [\r
4547             [\r
4548                 "a5e21959.30c488"\r
4549             ]\r
4550         ]\r
4551     },\r
4552     {\r
4553         "id": "a5e21959.30c488",\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": "1806503a.76a7a",\r
4561         "wires": []\r
4562     },\r
4563     {\r
4564         "id": "24ae5a23.6efcde",\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": "1806503a.76a7a",\r
4573         "wires": [\r
4574             [\r
4575                 "2aa846fb.1fdfe2"\r
4576             ]\r
4577         ]\r
4578     },\r
4579     {\r
4580         "id": "2aa846fb.1fdfe2",\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": "1806503a.76a7a",\r
4590         "wires": [\r
4591             [\r
4592                 "45cb1d93.9cef0c",\r
4593                 "95cc6144.fb6bd8",\r
4594                 "21aeddc1.06f77a",\r
4595                 "ab0940a1.911a68",\r
4596                 "6d6cc518.e0ec9c",\r
4597                 "3c679d7f.fbbb22"\r
4598             ]\r
4599         ]\r
4600     },\r
4601     {\r
4602         "id": "522b1854.031bc",\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": "1806503a.76a7a",\r
4610         "wires": []\r
4611     },\r
4612     {\r
4613         "id": "ab0940a1.911a68",\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": "1806503a.76a7a",\r
4621         "wires": []\r
4622     },\r
4623     {\r
4624         "id": "6d6cc518.e0ec9c",\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": "1806503a.76a7a",\r
4633         "wires": [\r
4634             [\r
4635                 "f5f202e7.9ae08"\r
4636             ]\r
4637         ]\r
4638     },\r
4639     {\r
4640         "id": "f5f202e7.9ae08",\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": "1806503a.76a7a",\r
4649         "wires": [\r
4650             [\r
4651                 "186eedb6.79ae82"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "186eedb6.79ae82",\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": "1806503a.76a7a",\r
4665         "wires": [\r
4666             [\r
4667                 "e8fee7bd.fc2ef8"\r
4668             ]\r
4669         ]\r
4670     },\r
4671     {\r
4672         "id": "774ecc4a.3ad124",\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": "1806503a.76a7a",\r
4681         "wires": [\r
4682             [\r
4683                 "9464a805.69d21",\r
4684                 "af3bd9a1.948688",\r
4685                 "da386631.67d8c8"\r
4686             ]\r
4687         ]\r
4688     },\r
4689     {\r
4690         "id": "9464a805.69d21",\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": "1806503a.76a7a",\r
4698         "wires": []\r
4699     },\r
4700     {\r
4701         "id": "af3bd9a1.948688",\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": "1806503a.76a7a",\r
4709         "wires": []\r
4710     },\r
4711     {\r
4712         "id": "17da0805.f3e8a8",\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": "1806503a.76a7a",\r
4720         "wires": []\r
4721     },\r
4722     {\r
4723         "id": "19328269.e896be",\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": "1806503a.76a7a",\r
4731         "wires": []\r
4732     },\r
4733     {\r
4734         "id": "ffd8a757.b8a3f",\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": "1806503a.76a7a",\r
4743         "wires": [\r
4744             []\r
4745         ]\r
4746     },\r
4747     {\r
4748         "id": "b33560b0.1278c",\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": "1806503a.76a7a",\r
4757         "wires": [\r
4758             [\r
4759                 "e0079417.8b765",\r
4760                 "94134a14.38a09"\r
4761             ]\r
4762         ]\r
4763     },\r
4764     {\r
4765         "id": "e0079417.8b765",\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": "1806503a.76a7a",\r
4774         "wires": [\r
4775             [\r
4776                 "c191059e.ace948"\r
4777             ]\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "94134a14.38a09",\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": "1806503a.76a7a",\r
4790         "wires": [\r
4791             [\r
4792                 "21c0ccb3.89b3cc"\r
4793             ]\r
4794         ]\r
4795     },\r
4796     {\r
4797         "id": "c191059e.ace948",\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": "1806503a.76a7a",\r
4807         "wires": [\r
4808             [\r
4809                 "ea983e85.321ce"\r
4810             ]\r
4811         ]\r
4812     },\r
4813     {\r
4814         "id": "21c0ccb3.89b3cc",\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": "1806503a.76a7a",\r
4822         "wires": []\r
4823     },\r
4824     {\r
4825         "id": "11ee9928.b9a3cf",\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": "1806503a.76a7a",\r
4833         "wires": []\r
4834     },\r
4835     {\r
4836         "id": "3a447acf.2b1f0e",\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": "1806503a.76a7a",\r
4844         "wires": []\r
4845     },\r
4846     {\r
4847         "id": "93e60704.65dbd",\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": "1806503a.76a7a",\r
4856         "wires": [\r
4857             [\r
4858                 "3a447acf.2b1f0e",\r
4859                 "a0d0d144.703df8"\r
4860             ]\r
4861         ]\r
4862     },\r
4863     {\r
4864         "id": "a0d0d144.703df8",\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": "1806503a.76a7a",\r
4873         "wires": [\r
4874             [\r
4875                 "93bdcc8d.eca238",\r
4876                 "76b31045.74e9",\r
4877                 "e9dc2865.72e928"\r
4878             ]\r
4879         ]\r
4880     },\r
4881     {\r
4882         "id": "93bdcc8d.eca238",\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": "1806503a.76a7a",\r
4891         "wires": [\r
4892             [\r
4893                 "87ddaf65.395498"\r
4894             ]\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "76b31045.74e9",\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": "1806503a.76a7a",\r
4907         "wires": [\r
4908             [\r
4909                 "fe3d7591.8ed12"\r
4910             ]\r
4911         ]\r
4912     },\r
4913     {\r
4914         "id": "87ddaf65.395498",\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": "1806503a.76a7a",\r
4924         "wires": [\r
4925             [\r
4926                 "ad455c8f.ae00e8"\r
4927             ]\r
4928         ]\r
4929     },\r
4930     {\r
4931         "id": "ad455c8f.ae00e8",\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": "1806503a.76a7a",\r
4940         "wires": [\r
4941             [\r
4942                 "d25e267a.3e533"\r
4943             ]\r
4944         ]\r
4945     },\r
4946     {\r
4947         "id": "d25e267a.3e533",\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": "1806503a.76a7a",\r
4956         "wires": [\r
4957             [\r
4958                 "93445f98.6a2b88"\r
4959             ]\r
4960         ]\r
4961     },\r
4962     {\r
4963         "id": "e9dc2865.72e928",\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": "1806503a.76a7a",\r
4972         "wires": [\r
4973             [\r
4974                 "d3c476f6.a94bf"\r
4975             ]\r
4976         ]\r
4977     },\r
4978     {\r
4979         "id": "d3c476f6.a94bf",\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": "1806503a.76a7a",\r
4987         "wires": []\r
4988     },\r
4989     {\r
4990         "id": "fe3d7591.8ed12",\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": "1806503a.76a7a",\r
4998         "wires": []\r
4999     },\r
5000     {\r
5001         "id": "a6955939.7a731",\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": "1806503a.76a7a",\r
5010         "wires": [\r
5011             [\r
5012                 "9484e895.44a448",\r
5013                 "50aee0a4.445958",\r
5014                 "f7a12344.c8bde8"\r
5015             ]\r
5016         ]\r
5017     },\r
5018     {\r
5019         "id": "93445f98.6a2b88",\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": "1806503a.76a7a",\r
5028         "wires": [\r
5029             [\r
5030                 "a6955939.7a731"\r
5031             ]\r
5032         ]\r
5033     },\r
5034     {\r
5035         "id": "50aee0a4.445958",\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": "1806503a.76a7a",\r
5044         "wires": [\r
5045             [\r
5046                 "1af8bb44.7d7ad5",\r
5047                 "48532c3d.63b2f4",\r
5048                 "af6d67e.1e33f98"\r
5049             ]\r
5050         ]\r
5051     },\r
5052     {\r
5053         "id": "9484e895.44a448",\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": "1806503a.76a7a",\r
5061         "wires": []\r
5062     },\r
5063     {\r
5064         "id": "1af8bb44.7d7ad5",\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": "1806503a.76a7a",\r
5073         "wires": [\r
5074             [\r
5075                 "751438ac.f3ea9"\r
5076             ]\r
5077         ]\r
5078     },\r
5079     {\r
5080         "id": "48532c3d.63b2f4",\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": "1806503a.76a7a",\r
5089         "wires": [\r
5090             [\r
5091                 "1ab525ea.2aee0a"\r
5092             ]\r
5093         ]\r
5094     },\r
5095     {\r
5096         "id": "af6d67e.1e33f98",\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": "1806503a.76a7a",\r
5105         "wires": [\r
5106             [\r
5107                 "658bf37d.2cc724"\r
5108             ]\r
5109         ]\r
5110     },\r
5111     {\r
5112         "id": "658bf37d.2cc724",\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": "1806503a.76a7a",\r
5120         "wires": []\r
5121     },\r
5122     {\r
5123         "id": "1ab525ea.2aee0a",\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": "1806503a.76a7a",\r
5131         "wires": []\r
5132     },\r
5133     {\r
5134         "id": "751438ac.f3ea9",\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": "1806503a.76a7a",\r
5144         "wires": [\r
5145             [\r
5146                 "3d7e0062.7d2af"\r
5147             ]\r
5148         ]\r
5149     },\r
5150     {\r
5151         "id": "3d7e0062.7d2af",\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": "1806503a.76a7a",\r
5159         "wires": []\r
5160     },\r
5161     {\r
5162         "id": "f7a12344.c8bde8",\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": "1806503a.76a7a",\r
5170         "wires": []\r
5171     },\r
5172     {\r
5173         "id": "8b3d1eff.18e008",\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": "1806503a.76a7a",\r
5182         "wires": [\r
5183             [\r
5184                 "ee0f617b.5bd02",\r
5185                 "8e2d6022.079658"\r
5186             ]\r
5187         ]\r
5188     },\r
5189     {\r
5190         "id": "ee0f617b.5bd02",\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": "1806503a.76a7a",\r
5199         "wires": [\r
5200             [\r
5201                 "e5f9197d.04b6c"\r
5202             ]\r
5203         ]\r
5204     },\r
5205     {\r
5206         "id": "e5f9197d.04b6c",\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": "1806503a.76a7a",\r
5214         "wires": []\r
5215     },\r
5216     {\r
5217         "id": "b5f90852.29b69",\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": "1806503a.76a7a",\r
5227         "wires": [\r
5228             []\r
5229         ]\r
5230     },\r
5231     {\r
5232         "id": "8e2d6022.079658",\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": "1806503a.76a7a",\r
5241         "wires": [\r
5242             [\r
5243                 "b5f90852.29b69"\r
5244             ]\r
5245         ]\r
5246     },\r
5247     {\r
5248         "id": "ffe0ea3.8a4d998",\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": "1806503a.76a7a",\r
5257         "wires": [\r
5258             [\r
5259                 "6146efb2.cf13d",\r
5260                 "9351cf54.365048"\r
5261             ]\r
5262         ]\r
5263     },\r
5264     {\r
5265         "id": "9351cf54.365048",\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": "1806503a.76a7a",\r
5274         "wires": [\r
5275             [\r
5276                 "d35be3cf.cc2028",\r
5277                 "74f2b735.4a4b38",\r
5278                 "4e1edc90.74b29c"\r
5279             ]\r
5280         ]\r
5281     },\r
5282     {\r
5283         "id": "d35be3cf.cc2028",\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": "1806503a.76a7a",\r
5292         "wires": [\r
5293             [\r
5294                 "8c6be2ce.3abef8"\r
5295             ]\r
5296         ]\r
5297     },\r
5298     {\r
5299         "id": "74f2b735.4a4b38",\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": "1806503a.76a7a",\r
5308         "wires": [\r
5309             [\r
5310                 "17a91916.50ea6f"\r
5311             ]\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "8c6be2ce.3abef8",\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": "1806503a.76a7a",\r
5325         "wires": [\r
5326             [\r
5327                 "41f50adf.154854"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "41f50adf.154854",\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": "1806503a.76a7a",\r
5341         "wires": [\r
5342             [\r
5343                 "92f6a716.223fa8"\r
5344             ]\r
5345         ]\r
5346     },\r
5347     {\r
5348         "id": "4e1edc90.74b29c",\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": "1806503a.76a7a",\r
5357         "wires": [\r
5358             [\r
5359                 "9e924b4c.b75db"\r
5360             ]\r
5361         ]\r
5362     },\r
5363     {\r
5364         "id": "9e924b4c.b75db",\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": "1806503a.76a7a",\r
5372         "wires": []\r
5373     },\r
5374     {\r
5375         "id": "17a91916.50ea6f",\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": "1806503a.76a7a",\r
5383         "wires": []\r
5384     },\r
5385     {\r
5386         "id": "21c4fa1a.b93b46",\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": "1806503a.76a7a",\r
5395         "wires": [\r
5396             [\r
5397                 "95033c2a.09c67",\r
5398                 "f1a877c4.a203d8"\r
5399             ]\r
5400         ]\r
5401     },\r
5402     {\r
5403         "id": "95033c2a.09c67",\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": "1806503a.76a7a",\r
5412         "wires": [\r
5413             [\r
5414                 "76c41eff.4cfe88"\r
5415             ]\r
5416         ]\r
5417     },\r
5418     {\r
5419         "id": "76c41eff.4cfe88",\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": "1806503a.76a7a",\r
5427         "wires": []\r
5428     },\r
5429     {\r
5430         "id": "eb3b6335.123de8",\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": "1806503a.76a7a",\r
5440         "wires": [\r
5441             []\r
5442         ]\r
5443     },\r
5444     {\r
5445         "id": "f1a877c4.a203d8",\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": "1806503a.76a7a",\r
5454         "wires": [\r
5455             [\r
5456                 "eb3b6335.123de8"\r
5457             ]\r
5458         ]\r
5459     },\r
5460     {\r
5461         "id": "6146efb2.cf13d",\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": "1806503a.76a7a",\r
5469         "wires": []\r
5470     },\r
5471     {\r
5472         "id": "92f6a716.223fa8",\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": "1806503a.76a7a",\r
5481         "wires": [\r
5482             [\r
5483                 "bd55517c.f87f1"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "8bf8b16.3c18f5",\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": "1806503a.76a7a",\r
5497         "wires": [\r
5498             [\r
5499                 "1bd48f8a.cba628",\r
5500                 "1ea10909.ec8b57",\r
5501                 "ecac1508.b763"\r
5502             ]\r
5503         ]\r
5504     },\r
5505     {\r
5506         "id": "bd55517c.f87f1",\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": "1806503a.76a7a",\r
5515         "wires": [\r
5516             [\r
5517                 "8bf8b16.3c18f5"\r
5518             ]\r
5519         ]\r
5520     },\r
5521     {\r
5522         "id": "1ea10909.ec8b57",\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": "1806503a.76a7a",\r
5531         "wires": [\r
5532             [\r
5533                 "830127bc.8c4c18",\r
5534                 "adc00906.538428",\r
5535                 "5c009e0.e4c98e4"\r
5536             ]\r
5537         ]\r
5538     },\r
5539     {\r
5540         "id": "1bd48f8a.cba628",\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": "1806503a.76a7a",\r
5548         "wires": []\r
5549     },\r
5550     {\r
5551         "id": "830127bc.8c4c18",\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": "1806503a.76a7a",\r
5560         "wires": [\r
5561             [\r
5562                 "ea1d97d5.52d0a"\r
5563             ]\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "adc00906.538428",\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": "1806503a.76a7a",\r
5576         "wires": [\r
5577             [\r
5578                 "283c974a.c2fc28"\r
5579             ]\r
5580         ]\r
5581     },\r
5582     {\r
5583         "id": "5c009e0.e4c98e4",\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": "1806503a.76a7a",\r
5592         "wires": [\r
5593             [\r
5594                 "dbf169ab.c4c478"\r
5595             ]\r
5596         ]\r
5597     },\r
5598     {\r
5599         "id": "dbf169ab.c4c478",\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": "1806503a.76a7a",\r
5607         "wires": []\r
5608     },\r
5609     {\r
5610         "id": "283c974a.c2fc28",\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": "1806503a.76a7a",\r
5618         "wires": []\r
5619     },\r
5620     {\r
5621         "id": "ea1d97d5.52d0a",\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": "1806503a.76a7a",\r
5631         "wires": [\r
5632             [\r
5633                 "eea057d1.d2c178"\r
5634             ]\r
5635         ]\r
5636     },\r
5637     {\r
5638         "id": "eea057d1.d2c178",\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": "1806503a.76a7a",\r
5646         "wires": []\r
5647     },\r
5648     {\r
5649         "id": "ecac1508.b763",\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": "1806503a.76a7a",\r
5657         "wires": []\r
5658     },\r
5659     {\r
5660         "id": "e8fee7bd.fc2ef8",\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": "1806503a.76a7a",\r
5670         "wires": [\r
5671             [\r
5672                 "4b07eb9e.ad1084",\r
5673                 "449a6f75.ecc4d"\r
5674             ]\r
5675         ]\r
5676     },\r
5677     {\r
5678         "id": "4b07eb9e.ad1084",\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": "1806503a.76a7a",\r
5686         "wires": []\r
5687     },\r
5688     {\r
5689         "id": "449a6f75.ecc4d",\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": "1806503a.76a7a",\r
5698         "wires": [\r
5699             [\r
5700                 "a5622a5e.b03c68",\r
5701                 "1b2b72f4.a20bdd"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "a5622a5e.b03c68",\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": "1806503a.76a7a",\r
5715         "wires": [\r
5716             [\r
5717                 "d22a60e2.fd2778"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "1b2b72f4.a20bdd",\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": "1806503a.76a7a",\r
5731         "wires": [\r
5732             [\r
5733                 "b7814ecb.1580d"\r
5734             ]\r
5735         ]\r
5736     },\r
5737     {\r
5738         "id": "d22a60e2.fd2778",\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": "1806503a.76a7a",\r
5748         "wires": [\r
5749             []\r
5750         ]\r
5751     },\r
5752     {\r
5753         "id": "3c679d7f.fbbb22",\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": "1806503a.76a7a",\r
5761         "wires": []\r
5762     },\r
5763     {\r
5764         "id": "da386631.67d8c8",\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": "1806503a.76a7a",\r
5772         "wires": []\r
5773     },\r
5774     {\r
5775         "id": "5fa67fdd.e511b8",\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": "1806503a.76a7a",\r
5784         "wires": [\r
5785             [\r
5786                 "a814439f.bac2e",\r
5787                 "f8d770ba.37d44"\r
5788             ]\r
5789         ]\r
5790     },\r
5791     {\r
5792         "id": "a814439f.bac2e",\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": "1806503a.76a7a",\r
5800         "wires": []\r
5801     },\r
5802     {\r
5803         "id": "f8d770ba.37d44",\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": "1806503a.76a7a",\r
5812         "wires": [\r
5813             [\r
5814                 "7fc95f5b.ec381",\r
5815                 "28603ae9.d6e726",\r
5816                 "f736ad43.136778"\r
5817             ]\r
5818         ]\r
5819     },\r
5820     {\r
5821         "id": "7fc95f5b.ec381",\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": "1806503a.76a7a",\r
5830         "wires": [\r
5831             [\r
5832                 "47e06d70.96544c"\r
5833             ]\r
5834         ]\r
5835     },\r
5836     {\r
5837         "id": "28603ae9.d6e726",\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": "1806503a.76a7a",\r
5846         "wires": [\r
5847             []\r
5848         ]\r
5849     },\r
5850     {\r
5851         "id": "f736ad43.136778",\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": "1806503a.76a7a",\r
5860         "wires": [\r
5861             []\r
5862         ]\r
5863     },\r
5864     {\r
5865         "id": "47e06d70.96544c",\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": "1806503a.76a7a",\r
5875         "wires": [\r
5876             [\r
5877                 "db3d2916.05167",\r
5878                 "b1e93bbf.154be8",\r
5879                 "2727d594.264d9a"\r
5880             ]\r
5881         ]\r
5882     },\r
5883     {\r
5884         "id": "3055c73f.990de",\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": "1806503a.76a7a",\r
5892         "wires": []\r
5893     },\r
5894     {\r
5895         "id": "b1e93bbf.154be8",\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": "1806503a.76a7a",\r
5904         "wires": [\r
5905             [\r
5906                 "8ed99d07.46ccf",\r
5907                 "dfad78a0.2e2798"\r
5908             ]\r
5909         ]\r
5910     },\r
5911     {\r
5912         "id": "dfad78a0.2e2798",\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": "1806503a.76a7a",\r
5921         "wires": [\r
5922             [\r
5923                 "40b7643c.aa9b44"\r
5924             ]\r
5925         ]\r
5926     },\r
5927     {\r
5928         "id": "8ed99d07.46ccf",\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": "1806503a.76a7a",\r
5937         "wires": [\r
5938             [\r
5939                 "2c3f5774.427218"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "40b7643c.aa9b44",\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": "1806503a.76a7a",\r
5953         "wires": [\r
5954             [\r
5955                 "49b755b0.ff456c"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "2c3f5774.427218",\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": "1806503a.76a7a",\r
5968         "wires": []\r
5969     },\r
5970     {\r
5971         "id": "49b755b0.ff456c",\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": "1806503a.76a7a",\r
5979         "wires": []\r
5980     },\r
5981     {\r
5982         "id": "db3d2916.05167",\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": "1806503a.76a7a",\r
5991         "wires": [\r
5992             [\r
5993                 "76a8963f.4621b8",\r
5994                 "22179ab4.cea27e"\r
5995             ]\r
5996         ]\r
5997     },\r
5998     {\r
5999         "id": "76a8963f.4621b8",\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": "1806503a.76a7a",\r
6008         "wires": [\r
6009             [\r
6010                 "cdc60b24.0ad9a8"\r
6011             ]\r
6012         ]\r
6013     },\r
6014     {\r
6015         "id": "22179ab4.cea27e",\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": "1806503a.76a7a",\r
6024         "wires": [\r
6025             [\r
6026                 "5846229.a88c65c"\r
6027             ]\r
6028         ]\r
6029     },\r
6030     {\r
6031         "id": "cdc60b24.0ad9a8",\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": "1806503a.76a7a",\r
6041         "wires": [\r
6042             []\r
6043         ]\r
6044     },\r
6045     {\r
6046         "id": "5846229.a88c65c",\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": "1806503a.76a7a",\r
6056         "wires": [\r
6057             [\r
6058                 "a9c7c427.af4688",\r
6059                 "fe9fa034.5cb01"\r
6060             ]\r
6061         ]\r
6062     },\r
6063     {\r
6064         "id": "a9c7c427.af4688",\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": "1806503a.76a7a",\r
6072         "wires": []\r
6073     },\r
6074     {\r
6075         "id": "98a16c7e.29ab68",\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": "1806503a.76a7a",\r
6083         "wires": []\r
6084     },\r
6085     {\r
6086         "id": "fe9fa034.5cb01",\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": "1806503a.76a7a",\r
6094         "wires": []\r
6095     },\r
6096     {\r
6097         "id": "2727d594.264d9a",\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": "1806503a.76a7a",\r
6105         "wires": []\r
6106     },\r
6107     {\r
6108         "id": "c0a1014a.3ea75",\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": "1806503a.76a7a",\r
6117         "wires": [\r
6118             [\r
6119                 "5bc4629f.a764e4",\r
6120                 "36ea940e.f6b704"\r
6121             ]\r
6122         ]\r
6123     },\r
6124     {\r
6125         "id": "529ae160.378f78",\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": "1806503a.76a7a",\r
6134         "wires": [\r
6135             [\r
6136                 "e3e4b7ad.cfce5",\r
6137                 "2311d61f.89de52",\r
6138                 "cab68c6b.abd21"\r
6139             ]\r
6140         ]\r
6141     },\r
6142     {\r
6143         "id": "2b4c8a8a.8bc066",\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": "1806503a.76a7a",\r
6151         "wires": []\r
6152     },\r
6153     {\r
6154         "id": "89e149ab.f2e7c8",\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": "1806503a.76a7a",\r
6163         "wires": [\r
6164             []\r
6165         ]\r
6166     },\r
6167     {\r
6168         "id": "2311d61f.89de52",\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": "1806503a.76a7a",\r
6177         "wires": [\r
6178             [\r
6179                 "983c2552.f1f49"\r
6180             ]\r
6181         ]\r
6182     },\r
6183     {\r
6184         "id": "cab68c6b.abd21",\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": "1806503a.76a7a",\r
6193         "wires": [\r
6194             [\r
6195                 "62a8aa1.663f1d4"\r
6196             ]\r
6197         ]\r
6198     },\r
6199     {\r
6200         "id": "983c2552.f1f49",\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": "1806503a.76a7a",\r
6208         "wires": []\r
6209     },\r
6210     {\r
6211         "id": "62a8aa1.663f1d4",\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": "1806503a.76a7a",\r
6219         "wires": []\r
6220     },\r
6221     {\r
6222         "id": "d78e13a5.01de9",\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": "1806503a.76a7a",\r
6231         "wires": [\r
6232             [\r
6233                 "7bde7792.d9b138",\r
6234                 "89e149ab.f2e7c8"\r
6235             ]\r
6236         ]\r
6237     },\r
6238     {\r
6239         "id": "e3e4b7ad.cfce5",\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": "1806503a.76a7a",\r
6248         "wires": [\r
6249             [\r
6250                 "d78e13a5.01de9"\r
6251             ]\r
6252         ]\r
6253     },\r
6254     {\r
6255         "id": "7bde7792.d9b138",\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": "1806503a.76a7a",\r
6263         "wires": []\r
6264     },\r
6265     {\r
6266         "id": "cf4ce975.93215",\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": "1806503a.76a7a",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "ea983e85.321ce",\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": "1806503a.76a7a",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "5bc4629f.a764e4",\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": "1806503a.76a7a",\r
6300         "wires": [\r
6301             [\r
6302                 "867bdfac.94705"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "36ea940e.f6b704",\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": "1806503a.76a7a",\r
6316         "wires": [\r
6317             [\r
6318                 "ab9e57cf.8ef448"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "eb7859d4.8fd35",\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": "1806503a.76a7a",\r
6333         "wires": [\r
6334             [\r
6335                 "8a11a728.e1b1d8",\r
6336                 "7438f980.400318",\r
6337                 "6c2db8ea.27724",\r
6338                 "a48617f3.9f6e4",\r
6339                 "5ff63bef.c5afdc",\r
6340                 "78f62ea.0af84d",\r
6341                 "d07ac0db.fa9818"\r
6342             ]\r
6343         ]\r
6344     },\r
6345     {\r
6346         "id": "8a11a728.e1b1d8",\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": "1806503a.76a7a",\r
6354         "wires": []\r
6355     },\r
6356     {\r
6357         "id": "8aa064fb.543668",\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": "1806503a.76a7a",\r
6365         "wires": []\r
6366     },\r
6367     {\r
6368         "id": "821af189.946d58",\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": "1806503a.76a7a",\r
6376         "wires": []\r
6377     },\r
6378     {\r
6379         "id": "7438f980.400318",\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": "1806503a.76a7a",\r
6388         "wires": [\r
6389             [\r
6390                 "821af189.946d58",\r
6391                 "139cfd47.53e94b"\r
6392             ]\r
6393         ]\r
6394     },\r
6395     {\r
6396         "id": "139cfd47.53e94b",\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": "1806503a.76a7a",\r
6405         "wires": [\r
6406             [\r
6407                 "df64900d.741c98",\r
6408                 "681e1ffc.26592",\r
6409                 "ab39d1b3.416b58"\r
6410             ]\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "df64900d.741c98",\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": "1806503a.76a7a",\r
6423         "wires": [\r
6424             [\r
6425                 "6f395e40.dc6b7"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "681e1ffc.26592",\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": "1806503a.76a7a",\r
6439         "wires": [\r
6440             [\r
6441                 "b25568a6.369d78"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "6f395e40.dc6b7",\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": "1806503a.76a7a",\r
6456         "wires": [\r
6457             [\r
6458                 "94a27fe.8c889"\r
6459             ]\r
6460         ]\r
6461     },\r
6462     {\r
6463         "id": "94a27fe.8c889",\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": "1806503a.76a7a",\r
6472         "wires": [\r
6473             [\r
6474                 "b448ea96.4c3af8"\r
6475             ]\r
6476         ]\r
6477     },\r
6478     {\r
6479         "id": "b448ea96.4c3af8",\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": "1806503a.76a7a",\r
6488         "wires": [\r
6489             [\r
6490                 "77dc6e4f.3fb428"\r
6491             ]\r
6492         ]\r
6493     },\r
6494     {\r
6495         "id": "ab39d1b3.416b58",\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": "1806503a.76a7a",\r
6504         "wires": [\r
6505             [\r
6506                 "42bc5c1d.fe55cc"\r
6507             ]\r
6508         ]\r
6509     },\r
6510     {\r
6511         "id": "42bc5c1d.fe55cc",\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": "1806503a.76a7a",\r
6519         "wires": []\r
6520     },\r
6521     {\r
6522         "id": "b25568a6.369d78",\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": "1806503a.76a7a",\r
6530         "wires": []\r
6531     },\r
6532     {\r
6533         "id": "80f1bf38.0bc68",\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": "1806503a.76a7a",\r
6542         "wires": [\r
6543             [\r
6544                 "cad7009f.f83538",\r
6545                 "d1a2dd14.715a78",\r
6546                 "689fc80.c15b238"\r
6547             ]\r
6548         ]\r
6549     },\r
6550     {\r
6551         "id": "77dc6e4f.3fb428",\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": "1806503a.76a7a",\r
6560         "wires": [\r
6561             [\r
6562                 "80f1bf38.0bc68"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "6c2db8ea.27724",\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": "1806503a.76a7a",\r
6576         "wires": [\r
6577             [\r
6578                 "c3b5c5e7.57693",\r
6579                 "cf1b7699.e71658"\r
6580             ]\r
6581         ]\r
6582     },\r
6583     {\r
6584         "id": "cf1b7699.e71658",\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": "1806503a.76a7a",\r
6593         "wires": [\r
6594             [\r
6595                 "723bcced.729e54"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "c3b5c5e7.57693",\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": "1806503a.76a7a",\r
6609         "wires": [\r
6610             [\r
6611                 "408278c5.7e5798"\r
6612             ]\r
6613         ]\r
6614     },\r
6615     {\r
6616         "id": "408278c5.7e5798",\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": "1806503a.76a7a",\r
6624         "wires": []\r
6625     },\r
6626     {\r
6627         "id": "723bcced.729e54",\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": "1806503a.76a7a",\r
6637         "wires": [\r
6638             []\r
6639         ]\r
6640     },\r
6641     {\r
6642         "id": "d1a2dd14.715a78",\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": "1806503a.76a7a",\r
6651         "wires": [\r
6652             [\r
6653                 "e07edffa.c89278",\r
6654                 "8645511b.c4b66",\r
6655                 "a8a5443b.9b8a2"\r
6656             ]\r
6657         ]\r
6658     },\r
6659     {\r
6660         "id": "cad7009f.f83538",\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": "1806503a.76a7a",\r
6668         "wires": []\r
6669     },\r
6670     {\r
6671         "id": "e07edffa.c89278",\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": "1806503a.76a7a",\r
6680         "wires": [\r
6681             [\r
6682                 "cb5c9c8e.bb8ed8"\r
6683             ]\r
6684         ]\r
6685     },\r
6686     {\r
6687         "id": "8645511b.c4b66",\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": "1806503a.76a7a",\r
6696         "wires": [\r
6697             [\r
6698                 "29fe474c.df75c8"\r
6699             ]\r
6700         ]\r
6701     },\r
6702     {\r
6703         "id": "a8a5443b.9b8a2",\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": "1806503a.76a7a",\r
6712         "wires": [\r
6713             [\r
6714                 "b28b1e53.869fb"\r
6715             ]\r
6716         ]\r
6717     },\r
6718     {\r
6719         "id": "b28b1e53.869fb",\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": "1806503a.76a7a",\r
6727         "wires": []\r
6728     },\r
6729     {\r
6730         "id": "29fe474c.df75c8",\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": "1806503a.76a7a",\r
6738         "wires": []\r
6739     },\r
6740     {\r
6741         "id": "cb5c9c8e.bb8ed8",\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": "1806503a.76a7a",\r
6751         "wires": [\r
6752             [\r
6753                 "a908cc9.5d7f7b"\r
6754             ]\r
6755         ]\r
6756     },\r
6757     {\r
6758         "id": "a908cc9.5d7f7b",\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": "1806503a.76a7a",\r
6766         "wires": []\r
6767     },\r
6768     {\r
6769         "id": "689fc80.c15b238",\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": "1806503a.76a7a",\r
6777         "wires": []\r
6778     },\r
6779     {\r
6780         "id": "a48617f3.9f6e4",\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": "1806503a.76a7a",\r
6789         "wires": [\r
6790             []\r
6791         ]\r
6792     },\r
6793     {\r
6794         "id": "5ff63bef.c5afdc",\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": "1806503a.76a7a",\r
6803         "wires": [\r
6804             [\r
6805                 "bcfca35c.21654",\r
6806                 "62c7d864.119b88"\r
6807             ]\r
6808         ]\r
6809     },\r
6810     {\r
6811         "id": "bcfca35c.21654",\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": "1806503a.76a7a",\r
6820         "wires": [\r
6821             [\r
6822                 "f4258877.5e35f"\r
6823             ]\r
6824         ]\r
6825     },\r
6826     {\r
6827         "id": "62c7d864.119b88",\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": "1806503a.76a7a",\r
6836         "wires": [\r
6837             [\r
6838                 "3fb79094.abfaa8"\r
6839             ]\r
6840         ]\r
6841     },\r
6842     {\r
6843         "id": "f4258877.5e35f",\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": "1806503a.76a7a",\r
6853         "wires": [\r
6854             [\r
6855                 "2140ac57.1e83f4"\r
6856             ]\r
6857         ]\r
6858     },\r
6859     {\r
6860         "id": "3fb79094.abfaa8",\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": "1806503a.76a7a",\r
6868         "wires": []\r
6869     },\r
6870     {\r
6871         "id": "8db3fd20.37f318",\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": "1806503a.76a7a",\r
6879         "wires": []\r
6880     },\r
6881     {\r
6882         "id": "2140ac57.1e83f4",\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": "1806503a.76a7a",\r
6891         "wires": [\r
6892             []\r
6893         ]\r
6894     },\r
6895     {\r
6896         "id": "440b33d.dbb8acc",\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": "1806503a.76a7a",\r
6905         "wires": [\r
6906             []\r
6907         ]\r
6908     },\r
6909     {\r
6910         "id": "ab9e57cf.8ef448",\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": "1806503a.76a7a",\r
6920         "wires": [\r
6921             [\r
6922                 "440b33d.dbb8acc",\r
6923                 "eb7859d4.8fd35"\r
6924             ]\r
6925         ]\r
6926     },\r
6927     {\r
6928         "id": "867bdfac.94705",\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": "1806503a.76a7a",\r
6938         "wires": [\r
6939             [\r
6940                 "c644609d.44bce",\r
6941                 "e7413115.aec04",\r
6942                 "d006cbe4.5a677",\r
6943                 "c786893c.7012b"\r
6944             ]\r
6945         ]\r
6946     },\r
6947     {\r
6948         "id": "c644609d.44bce",\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": "1806503a.76a7a",\r
6957         "wires": [\r
6958             []\r
6959         ]\r
6960     },\r
6961     {\r
6962         "id": "e7413115.aec04",\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": "1806503a.76a7a",\r
6971         "wires": [\r
6972             []\r
6973         ]\r
6974     },\r
6975     {\r
6976         "id": "d006cbe4.5a677",\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": "1806503a.76a7a",\r
6985         "wires": [\r
6986             [\r
6987                 "614e61f8.50b5f",\r
6988                 "96d6a1ec.c795b",\r
6989                 "90aff610.9959f8"\r
6990             ]\r
6991         ]\r
6992     },\r
6993     {\r
6994         "id": "7ca77be7.05ec8c",\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": "1806503a.76a7a",\r
7003         "wires": [\r
7004             [\r
7005                 "a9496568.146b9",\r
7006                 "c5f96edd.835cb8",\r
7007                 "e018fe0a.acb8a"\r
7008             ]\r
7009         ]\r
7010     },\r
7011     {\r
7012         "id": "b9815115.2c557",\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": "1806503a.76a7a",\r
7020         "wires": []\r
7021     },\r
7022     {\r
7023         "id": "d05f3809.7521c8",\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": "1806503a.76a7a",\r
7031         "wires": []\r
7032     },\r
7033     {\r
7034         "id": "a9496568.146b9",\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": "1806503a.76a7a",\r
7043         "wires": [\r
7044             [\r
7045                 "b7511521.12ea3"\r
7046             ]\r
7047         ]\r
7048     },\r
7049     {\r
7050         "id": "c5f96edd.835cb8",\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": "1806503a.76a7a",\r
7059         "wires": [\r
7060             [\r
7061                 "d009936c.baaf78"\r
7062             ]\r
7063         ]\r
7064     },\r
7065     {\r
7066         "id": "e018fe0a.acb8a",\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": "1806503a.76a7a",\r
7075         "wires": [\r
7076             [\r
7077                 "a8c24324.12cd38"\r
7078             ]\r
7079         ]\r
7080     },\r
7081     {\r
7082         "id": "a8c24324.12cd38",\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": "1806503a.76a7a",\r
7090         "wires": []\r
7091     },\r
7092     {\r
7093         "id": "d009936c.baaf78",\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": "1806503a.76a7a",\r
7101         "wires": []\r
7102     },\r
7103     {\r
7104         "id": "b7511521.12ea3",\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": "1806503a.76a7a",\r
7114         "wires": [\r
7115             [\r
7116                 "87c431c3.fca34"\r
7117             ]\r
7118         ]\r
7119     },\r
7120     {\r
7121         "id": "87c431c3.fca34",\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": "1806503a.76a7a",\r
7129         "wires": []\r
7130     },\r
7131     {\r
7132         "id": "614e61f8.50b5f",\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": "1806503a.76a7a",\r
7140         "wires": []\r
7141     },\r
7142     {\r
7143         "id": "c0a00c52.f1e878",\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": "1806503a.76a7a",\r
7152         "wires": [\r
7153             [\r
7154                 "a9f88f76.4444c"\r
7155             ]\r
7156         ]\r
7157     },\r
7158     {\r
7159         "id": "62d1e19f.b39a2",\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": "1806503a.76a7a",\r
7168         "wires": [\r
7169             [\r
7170                 "957f349.e76e4c8"\r
7171             ]\r
7172         ]\r
7173     },\r
7174     {\r
7175         "id": "b9cbc6ac.26846",\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": "1806503a.76a7a",\r
7184         "wires": [\r
7185             [\r
7186                 "48a6f350.0417c4"\r
7187             ]\r
7188         ]\r
7189     },\r
7190     {\r
7191         "id": "957f349.e76e4c8",\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": "1806503a.76a7a",\r
7201         "wires": [\r
7202             [\r
7203                 "d4741dab.7b5f78"\r
7204             ]\r
7205         ]\r
7206     },\r
7207     {\r
7208         "id": "a9f88f76.4444c",\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": "1806503a.76a7a",\r
7216         "wires": []\r
7217     },\r
7218     {\r
7219         "id": "48a6f350.0417c4",\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": "1806503a.76a7a",\r
7227         "wires": []\r
7228     },\r
7229     {\r
7230         "id": "d4741dab.7b5f78",\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": "1806503a.76a7a",\r
7239         "wires": [\r
7240             [\r
7241                 "93c0e1e7.1663a8"\r
7242             ]\r
7243         ]\r
7244     },\r
7245     {\r
7246         "id": "93c0e1e7.1663a8",\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": "1806503a.76a7a",\r
7255         "wires": [\r
7256             [\r
7257                 "eb0c27f.1616058"\r
7258             ]\r
7259         ]\r
7260     },\r
7261     {\r
7262         "id": "96d6a1ec.c795b",\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": "1806503a.76a7a",\r
7271         "wires": [\r
7272             [\r
7273                 "c0a00c52.f1e878",\r
7274                 "62d1e19f.b39a2",\r
7275                 "b9cbc6ac.26846"\r
7276             ]\r
7277         ]\r
7278     },\r
7279     {\r
7280         "id": "eb0c27f.1616058",\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": "1806503a.76a7a",\r
7289         "wires": [\r
7290             [\r
7291                 "63e7e6f3.2a24f"\r
7292             ]\r
7293         ]\r
7294     },\r
7295     {\r
7296         "id": "63e7e6f3.2a24f",\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": "1806503a.76a7a",\r
7305         "wires": [\r
7306             [\r
7307                 "d05f3809.7521c8",\r
7308                 "7ca77be7.05ec8c",\r
7309                 "b9815115.2c557"\r
7310             ]\r
7311         ]\r
7312     },\r
7313     {\r
7314         "id": "90aff610.9959f8",\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": "1806503a.76a7a",\r
7323         "wires": [\r
7324             [\r
7325                 "b38f67ee.531ff",\r
7326                 "7cc55d59.0067b4"\r
7327             ]\r
7328         ]\r
7329     },\r
7330     {\r
7331         "id": "b38f67ee.531ff",\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": "1806503a.76a7a",\r
7340         "wires": [\r
7341             [\r
7342                 "bec12c24.0b2378"\r
7343             ]\r
7344         ]\r
7345     },\r
7346     {\r
7347         "id": "7cc55d59.0067b4",\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": "1806503a.76a7a",\r
7356         "wires": [\r
7357             [\r
7358                 "9701e6f5.8bd518"\r
7359             ]\r
7360         ]\r
7361     },\r
7362     {\r
7363         "id": "bec12c24.0b2378",\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": "1806503a.76a7a",\r
7371         "wires": []\r
7372     },\r
7373     {\r
7374         "id": "9701e6f5.8bd518",\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": "1806503a.76a7a",\r
7384         "wires": [\r
7385             [\r
7386                 "29311664.f24592"\r
7387             ]\r
7388         ]\r
7389     },\r
7390     {\r
7391         "id": "c786893c.7012b",\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": "1806503a.76a7a",\r
7400         "wires": [\r
7401             [\r
7402                 "a3861250.d254d8",\r
7403                 "3c90d5bf.82245a"\r
7404             ]\r
7405         ]\r
7406     },\r
7407     {\r
7408         "id": "a3861250.d254d8",\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": "1806503a.76a7a",\r
7417         "wires": [\r
7418             [\r
7419                 "6ee92ba3.68178c"\r
7420             ]\r
7421         ]\r
7422     },\r
7423     {\r
7424         "id": "3c90d5bf.82245a",\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": "1806503a.76a7a",\r
7433         "wires": [\r
7434             [\r
7435                 "31cd7353.b764a4"\r
7436             ]\r
7437         ]\r
7438     },\r
7439     {\r
7440         "id": "6ee92ba3.68178c",\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": "1806503a.76a7a",\r
7450         "wires": [\r
7451             [\r
7452                 "94f88b26.f34ce",\r
7453                 "497fa775.3b5f3",\r
7454                 "e88fc760.9f3988"\r
7455             ]\r
7456         ]\r
7457     },\r
7458     {\r
7459         "id": "94f88b26.f34ce",\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": "1806503a.76a7a",\r
7468         "wires": [\r
7469             []\r
7470         ]\r
7471     },\r
7472     {\r
7473         "id": "497fa775.3b5f3",\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": "1806503a.76a7a",\r
7482         "wires": [\r
7483             [\r
7484                 "ef60935.82bca7",\r
7485                 "9065d9f2.54ee4"\r
7486             ]\r
7487         ]\r
7488     },\r
7489     {\r
7490         "id": "ef60935.82bca7",\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": "1806503a.76a7a",\r
7499         "wires": [\r
7500             [\r
7501                 "2819744b.f6ef4c"\r
7502             ]\r
7503         ]\r
7504     },\r
7505     {\r
7506         "id": "9065d9f2.54ee4",\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": "1806503a.76a7a",\r
7515         "wires": [\r
7516             [\r
7517                 "8f406878.70a"\r
7518             ]\r
7519         ]\r
7520     },\r
7521     {\r
7522         "id": "2819744b.f6ef4c",\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": "1806503a.76a7a",\r
7532         "wires": [\r
7533             [\r
7534                 "450da1ad.43b1d"\r
7535             ]\r
7536         ]\r
7537     },\r
7538     {\r
7539         "id": "8f406878.70a",\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": "1806503a.76a7a",\r
7547         "wires": []\r
7548     },\r
7549     {\r
7550         "id": "450da1ad.43b1d",\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": "1806503a.76a7a",\r
7559         "wires": [\r
7560             []\r
7561         ]\r
7562     },\r
7563     {\r
7564         "id": "af8bca67.a28908",\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": "1806503a.76a7a",\r
7572         "wires": []\r
7573     },\r
7574     {\r
7575         "id": "31cd7353.b764a4",\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": "1806503a.76a7a",\r
7585         "wires": [\r
7586             [\r
7587                 "a74b089b.225b08",\r
7588                 "ce915ff5.c8d31",\r
7589                 "73f93f1a.1715d8"\r
7590             ]\r
7591         ]\r
7592     },\r
7593     {\r
7594         "id": "a74b089b.225b08",\r
7595         "type": "for",\r
7596         "name": "for each relationship of middle-man-conn",\r
7597         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7598         "comments": "",\r
7599         "outputs": 1,\r
7600         "x": 1536.2328491210938,\r
7601         "y": 5951.1025390625,\r
7602         "z": "1806503a.76a7a",\r
7603         "wires": [\r
7604             [\r
7605                 "1bf92ac3.705cd5"\r
7606             ]\r
7607         ]\r
7608     },\r
7609     {\r
7610         "id": "1bf92ac3.705cd5",\r
7611         "type": "switchNode",\r
7612         "name": "switch related-to",\r
7613         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7614         "comments": "",\r
7615         "outputs": 1,\r
7616         "x": 1844.566650390625,\r
7617         "y": 6007.102569580078,\r
7618         "z": "1806503a.76a7a",\r
7619         "wires": [\r
7620             [\r
7621                 "adff6291.99a8f8"\r
7622             ]\r
7623         ]\r
7624     },\r
7625     {\r
7626         "id": "adff6291.99a8f8",\r
7627         "type": "outcome",\r
7628         "name": "connectivity",\r
7629         "xml": "<outcome value='connectivity'>\n",\r
7630         "comments": "",\r
7631         "outputs": 1,\r
7632         "x": 2024.2332763671875,\r
7633         "y": 6007.1026611328125,\r
7634         "z": "1806503a.76a7a",\r
7635         "wires": [\r
7636             [\r
7637                 "b1717f1d.d23a28"\r
7638             ]\r
7639         ]\r
7640     },\r
7641     {\r
7642         "id": "b1717f1d.d23a28",\r
7643         "type": "save",\r
7644         "name": "get connectivity from aai",\r
7645         "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
7646         "comments": "",\r
7647         "outputs": 1,\r
7648         "x": 2224.233154296875,\r
7649         "y": 6007.102630615234,\r
7650         "z": "1806503a.76a7a",\r
7651         "wires": [\r
7652             [\r
7653                 "1b34e983.202196",\r
7654                 "d97ea61c.b38298",\r
7655                 "b46e47b0.7a7bf"\r
7656             ]\r
7657         ]\r
7658     },\r
7659     {\r
7660         "id": "1b34e983.202196",\r
7661         "type": "success",\r
7662         "name": "success",\r
7663         "xml": "<outcome value='success'>\n",\r
7664         "comments": "",\r
7665         "outputs": 1,\r
7666         "x": 2431.23291015625,\r
7667         "y": 6057.102630615234,\r
7668         "z": "1806503a.76a7a",\r
7669         "wires": [\r
7670             [\r
7671                 "10e803bb.23c354"\r
7672             ]\r
7673         ]\r
7674     },\r
7675     {\r
7676         "id": "f69a3337.dd69",\r
7677         "type": "save",\r
7678         "name": "get vpn-binding from aai",\r
7679         "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
7680         "comments": "",\r
7681         "outputs": 1,\r
7682         "x": 2408.466552734375,\r
7683         "y": 6241.302337646484,\r
7684         "z": "1806503a.76a7a",\r
7685         "wires": [\r
7686             [\r
7687                 "8e127971.6de7c",\r
7688                 "9a64470f.e555c",\r
7689                 "c5ecce15.749748"\r
7690             ]\r
7691         ]\r
7692     },\r
7693     {\r
7694         "id": "1bd5cb93.6127c4",\r
7695         "type": "for",\r
7696         "name": "for each relationship",\r
7697         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7698         "comments": "",\r
7699         "outputs": 1,\r
7700         "x": 1577.4664916992188,\r
7701         "y": 6284.30224609375,\r
7702         "z": "1806503a.76a7a",\r
7703         "wires": [\r
7704             [\r
7705                 "5280d91a.703f48"\r
7706             ]\r
7707         ]\r
7708     },\r
7709     {\r
7710         "id": "5280d91a.703f48",\r
7711         "type": "switchNode",\r
7712         "name": "switch related-to",\r
7713         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7714         "comments": "",\r
7715         "outputs": 1,\r
7716         "x": 1774.4664916992188,\r
7717         "y": 6298.30224609375,\r
7718         "z": "1806503a.76a7a",\r
7719         "wires": [\r
7720             [\r
7721                 "4a3e493f.526ac",\r
7722                 "404c9cef.17796c"\r
7723             ]\r
7724         ]\r
7725     },\r
7726     {\r
7727         "id": "4a3e493f.526ac",\r
7728         "type": "outcome",\r
7729         "name": "vpn-binding",\r
7730         "xml": "<outcome value='vpn-binding'>\n",\r
7731         "comments": "",\r
7732         "outputs": 1,\r
7733         "x": 1978.466552734375,\r
7734         "y": 6201.30224609375,\r
7735         "z": "1806503a.76a7a",\r
7736         "wires": [\r
7737             [\r
7738                 "e7cf2c0a.f8afd8"\r
7739             ]\r
7740         ]\r
7741     },\r
7742     {\r
7743         "id": "e7cf2c0a.f8afd8",\r
7744         "type": "block",\r
7745         "name": "block : atomic",\r
7746         "xml": "<block atomic=\"true\">",\r
7747         "atomic": "true",\r
7748         "outputs": 1,\r
7749         "x": 2159.466552734375,\r
7750         "y": 6217.30224609375,\r
7751         "z": "1806503a.76a7a",\r
7752         "wires": [\r
7753             [\r
7754                 "f69a3337.dd69"\r
7755             ]\r
7756         ]\r
7757     },\r
7758     {\r
7759         "id": "404c9cef.17796c",\r
7760         "type": "outcome",\r
7761         "name": "uni",\r
7762         "xml": "<outcome value='uni'>\n",\r
7763         "comments": "",\r
7764         "outputs": 1,\r
7765         "x": 1988.466552734375,\r
7766         "y": 6459.302337646484,\r
7767         "z": "1806503a.76a7a",\r
7768         "wires": [\r
7769             [\r
7770                 "55211637.c2f7e"\r
7771             ]\r
7772         ]\r
7773     },\r
7774     {\r
7775         "id": "55211637.c2f7e",\r
7776         "type": "block",\r
7777         "name": "block : atomic",\r
7778         "xml": "<block atomic=\"true\">",\r
7779         "atomic": "true",\r
7780         "outputs": 1,\r
7781         "x": 2151.466552734375,\r
7782         "y": 6459.302337646484,\r
7783         "z": "1806503a.76a7a",\r
7784         "wires": [\r
7785             [\r
7786                 "ad51c793.473678"\r
7787             ]\r
7788         ]\r
7789     },\r
7790     {\r
7791         "id": "ad51c793.473678",\r
7792         "type": "save",\r
7793         "name": "delete uni resource in AAI",\r
7794         "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
7795         "comments": "",\r
7796         "outputs": 1,\r
7797         "x": 2394.466552734375,\r
7798         "y": 6459.302337646484,\r
7799         "z": "1806503a.76a7a",\r
7800         "wires": [\r
7801             []\r
7802         ]\r
7803     },\r
7804     {\r
7805         "id": "76246a63.c65c94",\r
7806         "type": "save",\r
7807         "name": "delete connectivity resource in AAI",\r
7808         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7809         "comments": "",\r
7810         "outputs": 1,\r
7811         "x": 1362.466552734375,\r
7812         "y": 7225.302337646484,\r
7813         "z": "1806503a.76a7a",\r
7814         "wires": [\r
7815             []\r
7816         ]\r
7817     },\r
7818     {\r
7819         "id": "10e803bb.23c354",\r
7820         "type": "block",\r
7821         "name": "block",\r
7822         "xml": "<block>\n",\r
7823         "atomic": "false",\r
7824         "comments": "",\r
7825         "outputs": 1,\r
7826         "x": 1403.4664916992188,\r
7827         "y": 6282.30224609375,\r
7828         "z": "1806503a.76a7a",\r
7829         "wires": [\r
7830             [\r
7831                 "1bd5cb93.6127c4",\r
7832                 "76246a63.c65c94",\r
7833                 "99412df0.04b4f8"\r
7834             ]\r
7835         ]\r
7836     },\r
7837     {\r
7838         "id": "8e127971.6de7c",\r
7839         "type": "success",\r
7840         "name": "success",\r
7841         "xml": "<outcome value='success'>\n",\r
7842         "comments": "",\r
7843         "outputs": 1,\r
7844         "x": 2619.466552734375,\r
7845         "y": 6243.302337646484,\r
7846         "z": "1806503a.76a7a",\r
7847         "wires": [\r
7848             [\r
7849                 "e6c2ee89.d3aff"\r
7850             ]\r
7851         ]\r
7852     },\r
7853     {\r
7854         "id": "9a64470f.e555c",\r
7855         "type": "not-found",\r
7856         "name": "not-found",\r
7857         "xml": "<outcome value='not-found'>\n",\r
7858         "comments": "",\r
7859         "outputs": 1,\r
7860         "x": 2619.95751953125,\r
7861         "y": 6288.876373291016,\r
7862         "z": "1806503a.76a7a",\r
7863         "wires": [\r
7864             [\r
7865                 "66f32499.9b808c"\r
7866             ]\r
7867         ]\r
7868     },\r
7869     {\r
7870         "id": "c5ecce15.749748",\r
7871         "type": "failure",\r
7872         "name": "failure",\r
7873         "xml": "<outcome value='failure'>\n",\r
7874         "comments": "",\r
7875         "outputs": 1,\r
7876         "x": 2617.466552734375,\r
7877         "y": 6332.302337646484,\r
7878         "z": "1806503a.76a7a",\r
7879         "wires": [\r
7880             [\r
7881                 "fc5f97c.17990e8"\r
7882             ]\r
7883         ]\r
7884     },\r
7885     {\r
7886         "id": "b46e47b0.7a7bf",\r
7887         "type": "not-found",\r
7888         "name": "not-found",\r
7889         "xml": "<outcome value='not-found'>\n",\r
7890         "comments": "",\r
7891         "outputs": 1,\r
7892         "x": 2455.282958984375,\r
7893         "y": 5957.902435302734,\r
7894         "z": "1806503a.76a7a",\r
7895         "wires": [\r
7896             []\r
7897         ]\r
7898     },\r
7899     {\r
7900         "id": "d97ea61c.b38298",\r
7901         "type": "failure",\r
7902         "name": "failure",\r
7903         "xml": "<outcome value='failure'>\n",\r
7904         "comments": "",\r
7905         "outputs": 1,\r
7906         "x": 2452.7919921875,\r
7907         "y": 6001.328399658203,\r
7908         "z": "1806503a.76a7a",\r
7909         "wires": [\r
7910             []\r
7911         ]\r
7912     },\r
7913     {\r
7914         "id": "ce915ff5.c8d31",\r
7915         "type": "save",\r
7916         "name": "delete middle-man-conn resource in AAI",\r
7917         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
7918         "comments": "",\r
7919         "outputs": 1,\r
7920         "x": 1533.4000854492188,\r
7921         "y": 6012.7021484375,\r
7922         "z": "1806503a.76a7a",\r
7923         "wires": [\r
7924             []\r
7925         ]\r
7926     },\r
7927     {\r
7928         "id": "e6c2ee89.d3aff",\r
7929         "type": "block",\r
7930         "name": "block : atomic",\r
7931         "xml": "<block atomic=\"true\">",\r
7932         "atomic": "true",\r
7933         "outputs": 1,\r
7934         "x": 2785.466552734375,\r
7935         "y": 6233.302337646484,\r
7936         "z": "1806503a.76a7a",\r
7937         "wires": [\r
7938             [\r
7939                 "95de1448.b3be38",\r
7940                 "c13cc07f.32d48",\r
7941                 "89fea46.2857558",\r
7942                 "8c5b9c51.4573e8",\r
7943                 "a58a3e55.44161"\r
7944             ]\r
7945         ]\r
7946     },\r
7947     {\r
7948         "id": "fc5f97c.17990e8",\r
7949         "type": "returnFailure",\r
7950         "name": "return failure",\r
7951         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7952         "comments": "",\r
7953         "x": 2784.466552734375,\r
7954         "y": 6331.302337646484,\r
7955         "z": "1806503a.76a7a",\r
7956         "wires": []\r
7957     },\r
7958     {\r
7959         "id": "66f32499.9b808c",\r
7960         "type": "returnFailure",\r
7961         "name": "return failure",\r
7962         "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
7963         "comments": "",\r
7964         "x": 2782.5289306640625,\r
7965         "y": 6289.162109375,\r
7966         "z": "1806503a.76a7a",\r
7967         "wires": []\r
7968     },\r
7969     {\r
7970         "id": "95de1448.b3be38",\r
7971         "type": "set",\r
7972         "name": "set pnf-name",\r
7973         "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
7974         "comments": "",\r
7975         "x": 3007.466552734375,\r
7976         "y": 5951.302337646484,\r
7977         "z": "1806503a.76a7a",\r
7978         "wires": []\r
7979     },\r
7980     {\r
7981         "id": "c13cc07f.32d48",\r
7982         "type": "get-resource",\r
7983         "name": "get-resource src pnf",\r
7984         "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
7985         "comments": "",\r
7986         "outputs": 1,\r
7987         "x": 3033.466552734375,\r
7988         "y": 6068.302337646484,\r
7989         "z": "1806503a.76a7a",\r
7990         "wires": [\r
7991             [\r
7992                 "2f82e357.0b1ab4",\r
7993                 "be465fa4.6aba18",\r
7994                 "877ec4f6.c7b7a"\r
7995             ]\r
7996         ]\r
7997     },\r
7998     {\r
7999         "id": "89fea46.2857558",\r
8000         "type": "execute",\r
8001         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
8002         "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
8003         "comments": "",\r
8004         "outputs": 1,\r
8005         "x": 3136.466552734375,\r
8006         "y": 6335.302337646484,\r
8007         "z": "1806503a.76a7a",\r
8008         "wires": [\r
8009             [\r
8010                 "2931cfbe.d3d97",\r
8011                 "162b2290.6fc605"\r
8012             ]\r
8013         ]\r
8014     },\r
8015     {\r
8016         "id": "8c5b9c51.4573e8",\r
8017         "type": "switchNode",\r
8018         "name": "switch connectivity has ethernet service",\r
8019         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8020         "comments": "",\r
8021         "outputs": 1,\r
8022         "x": 3074.466552734375,\r
8023         "y": 6470.302337646484,\r
8024         "z": "1806503a.76a7a",\r
8025         "wires": [\r
8026             [\r
8027                 "df16efa0.bafe28",\r
8028                 "bc60ff9d.7739e8"\r
8029             ]\r
8030         ]\r
8031     },\r
8032     {\r
8033         "id": "a58a3e55.44161",\r
8034         "type": "save",\r
8035         "name": "delete vpn-binding resource in AAI",\r
8036         "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
8037         "comments": "",\r
8038         "outputs": 1,\r
8039         "x": 3055.466552734375,\r
8040         "y": 6586.302337646484,\r
8041         "z": "1806503a.76a7a",\r
8042         "wires": [\r
8043             []\r
8044         ]\r
8045     },\r
8046     {\r
8047         "id": "2f82e357.0b1ab4",\r
8048         "type": "success",\r
8049         "name": "success",\r
8050         "xml": "<outcome value='success'>\n",\r
8051         "comments": "",\r
8052         "outputs": 1,\r
8053         "x": 3228.9666748046875,\r
8054         "y": 6020.302337646484,\r
8055         "z": "1806503a.76a7a",\r
8056         "wires": [\r
8057             [\r
8058                 "640fd481.180004"\r
8059             ]\r
8060         ]\r
8061     },\r
8062     {\r
8063         "id": "be465fa4.6aba18",\r
8064         "type": "not-found",\r
8065         "name": "not-found",\r
8066         "xml": "<outcome value='not-found'>\n",\r
8067         "comments": "",\r
8068         "outputs": 1,\r
8069         "x": 3220.9666748046875,\r
8070         "y": 6075.302337646484,\r
8071         "z": "1806503a.76a7a",\r
8072         "wires": [\r
8073             [\r
8074                 "ecd8a620.92b268"\r
8075             ]\r
8076         ]\r
8077     },\r
8078     {\r
8079         "id": "640fd481.180004",\r
8080         "type": "block",\r
8081         "name": "block",\r
8082         "xml": "<block>\n",\r
8083         "atomic": "false",\r
8084         "comments": "",\r
8085         "outputs": 1,\r
8086         "x": 3363.348876953125,\r
8087         "y": 6014.958099365234,\r
8088         "z": "1806503a.76a7a",\r
8089         "wires": [\r
8090             [\r
8091                 "d1896cdb.8141"\r
8092             ]\r
8093         ]\r
8094     },\r
8095     {\r
8096         "id": "877ec4f6.c7b7a",\r
8097         "type": "other",\r
8098         "name": "other",\r
8099         "xml": "<outcome value='Other'>\n",\r
8100         "comments": "",\r
8101         "outputs": 1,\r
8102         "x": 3225.9666748046875,\r
8103         "y": 6132.302337646484,\r
8104         "z": "1806503a.76a7a",\r
8105         "wires": [\r
8106             [\r
8107                 "f05d5e82.949cd"\r
8108             ]\r
8109         ]\r
8110     },\r
8111     {\r
8112         "id": "f05d5e82.949cd",\r
8113         "type": "returnFailure",\r
8114         "name": "return failure",\r
8115         "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
8116         "comments": "",\r
8117         "x": 3377.9666748046875,\r
8118         "y": 6133.302337646484,\r
8119         "z": "1806503a.76a7a",\r
8120         "wires": []\r
8121     },\r
8122     {\r
8123         "id": "ecd8a620.92b268",\r
8124         "type": "returnFailure",\r
8125         "name": "return failure",\r
8126         "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
8127         "comments": "",\r
8128         "x": 3388.9666748046875,\r
8129         "y": 6076.302337646484,\r
8130         "z": "1806503a.76a7a",\r
8131         "wires": []\r
8132     },\r
8133     {\r
8134         "id": "bc60ff9d.7739e8",\r
8135         "type": "other",\r
8136         "name": "other",\r
8137         "xml": "<outcome value='Other'>\n",\r
8138         "comments": "",\r
8139         "outputs": 1,\r
8140         "x": 3327.466552734375,\r
8141         "y": 6448.302337646484,\r
8142         "z": "1806503a.76a7a",\r
8143         "wires": [\r
8144             [\r
8145                 "7d696f2d.0f345"\r
8146             ]\r
8147         ]\r
8148     },\r
8149     {\r
8150         "id": "df16efa0.bafe28",\r
8151         "type": "outcome",\r
8152         "name": "Null",\r
8153         "xml": "<outcome value=''>\n",\r
8154         "comments": "",\r
8155         "outputs": 1,\r
8156         "x": 3327.466552734375,\r
8157         "y": 6504.302337646484,\r
8158         "z": "1806503a.76a7a",\r
8159         "wires": [\r
8160             []\r
8161         ]\r
8162     },\r
8163     {\r
8164         "id": "d1896cdb.8141",\r
8165         "type": "for",\r
8166         "name": "for each relationship",\r
8167         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8168         "comments": "",\r
8169         "outputs": 1,\r
8170         "x": 3550.466064453125,\r
8171         "y": 6016.302337646484,\r
8172         "z": "1806503a.76a7a",\r
8173         "wires": [\r
8174             [\r
8175                 "a3649162.b60c9"\r
8176             ]\r
8177         ]\r
8178     },\r
8179     {\r
8180         "id": "a3649162.b60c9",\r
8181         "type": "switchNode",\r
8182         "name": "switch related-to",\r
8183         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8184         "comments": "",\r
8185         "outputs": 1,\r
8186         "x": 3791.466064453125,\r
8187         "y": 6007.302337646484,\r
8188         "z": "1806503a.76a7a",\r
8189         "wires": [\r
8190             [\r
8191                 "fd0af8f3.25299"\r
8192             ]\r
8193         ]\r
8194     },\r
8195     {\r
8196         "id": "7d696f2d.0f345",\r
8197         "type": "execute",\r
8198         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8199         "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
8200         "comments": "",\r
8201         "outputs": 1,\r
8202         "x": 3677.466064453125,\r
8203         "y": 6438.302337646484,\r
8204         "z": "1806503a.76a7a",\r
8205         "wires": [\r
8206             [\r
8207                 "82ac773c.5adbc",\r
8208                 "f41b429.87576c"\r
8209             ]\r
8210         ]\r
8211     },\r
8212     {\r
8213         "id": "2931cfbe.d3d97",\r
8214         "type": "failure",\r
8215         "name": "failure",\r
8216         "xml": "<outcome value='failure'>\n",\r
8217         "comments": "",\r
8218         "outputs": 1,\r
8219         "x": 3443.966064453125,\r
8220         "y": 6360.302337646484,\r
8221         "z": "1806503a.76a7a",\r
8222         "wires": [\r
8223             [\r
8224                 "41ca7b34.32b314"\r
8225             ]\r
8226         ]\r
8227     },\r
8228     {\r
8229         "id": "162b2290.6fc605",\r
8230         "type": "success",\r
8231         "name": "success",\r
8232         "xml": "<outcome value='success'>\n",\r
8233         "comments": "",\r
8234         "outputs": 1,\r
8235         "x": 3444.966064453125,\r
8236         "y": 6305.302337646484,\r
8237         "z": "1806503a.76a7a",\r
8238         "wires": [\r
8239             [\r
8240                 "6e74c50f.6753f4"\r
8241             ]\r
8242         ]\r
8243     },\r
8244     {\r
8245         "id": "41ca7b34.32b314",\r
8246         "type": "returnFailure",\r
8247         "name": "return failure",\r
8248         "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
8249         "comments": "",\r
8250         "x": 3615.966064453125,\r
8251         "y": 6358.302337646484,\r
8252         "z": "1806503a.76a7a",\r
8253         "wires": []\r
8254     },\r
8255     {\r
8256         "id": "6e74c50f.6753f4",\r
8257         "type": "block",\r
8258         "name": "block : atomic",\r
8259         "xml": "<block atomic=\"true\">",\r
8260         "atomic": "true",\r
8261         "comments": "",\r
8262         "outputs": 1,\r
8263         "x": 3612.466064453125,\r
8264         "y": 6307.302337646484,\r
8265         "z": "1806503a.76a7a",\r
8266         "wires": [\r
8267             []\r
8268         ]\r
8269     },\r
8270     {\r
8271         "id": "d394aeb8.1e7718",\r
8272         "type": "block",\r
8273         "name": "block : atomic",\r
8274         "xml": "<block atomic=\"true\">",\r
8275         "atomic": "true",\r
8276         "outputs": 1,\r
8277         "x": 4148.4658203125,\r
8278         "y": 5956.302337646484,\r
8279         "z": "1806503a.76a7a",\r
8280         "wires": [\r
8281             [\r
8282                 "5381b334.945d34",\r
8283                 "5cfd9c1e.9cd7fc",\r
8284                 "293f88.0669c878"\r
8285             ]\r
8286         ]\r
8287     },\r
8288     {\r
8289         "id": "fd0af8f3.25299",\r
8290         "type": "outcome",\r
8291         "name": "esr-thirdparty-sdnc",\r
8292         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8293         "comments": "",\r
8294         "outputs": 1,\r
8295         "x": 3997.466064453125,\r
8296         "y": 6004.302337646484,\r
8297         "z": "1806503a.76a7a",\r
8298         "wires": [\r
8299             [\r
8300                 "d394aeb8.1e7718"\r
8301             ]\r
8302         ]\r
8303     },\r
8304     {\r
8305         "id": "82ac773c.5adbc",\r
8306         "type": "failure",\r
8307         "name": "failure",\r
8308         "xml": "<outcome value='failure'>\n",\r
8309         "comments": "",\r
8310         "outputs": 1,\r
8311         "x": 4009.966064453125,\r
8312         "y": 6412.302337646484,\r
8313         "z": "1806503a.76a7a",\r
8314         "wires": [\r
8315             [\r
8316                 "ecb5b8cc.eeda88"\r
8317             ]\r
8318         ]\r
8319     },\r
8320     {\r
8321         "id": "f41b429.87576c",\r
8322         "type": "success",\r
8323         "name": "success",\r
8324         "xml": "<outcome value='success'>\n",\r
8325         "comments": "",\r
8326         "outputs": 1,\r
8327         "x": 4013.966064453125,\r
8328         "y": 6452.302337646484,\r
8329         "z": "1806503a.76a7a",\r
8330         "wires": [\r
8331             [\r
8332                 "308650c2.e2482"\r
8333             ]\r
8334         ]\r
8335     },\r
8336     {\r
8337         "id": "308650c2.e2482",\r
8338         "type": "block",\r
8339         "name": "block : atomic",\r
8340         "xml": "<block atomic=\"true\">",\r
8341         "atomic": "true",\r
8342         "comments": "",\r
8343         "outputs": 1,\r
8344         "x": 4201.466064453125,\r
8345         "y": 6456.302337646484,\r
8346         "z": "1806503a.76a7a",\r
8347         "wires": [\r
8348             []\r
8349         ]\r
8350     },\r
8351     {\r
8352         "id": "ecb5b8cc.eeda88",\r
8353         "type": "returnFailure",\r
8354         "name": "return failure",\r
8355         "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
8356         "comments": "",\r
8357         "x": 4197.966064453125,\r
8358         "y": 6416.302337646484,\r
8359         "z": "1806503a.76a7a",\r
8360         "wires": []\r
8361     },\r
8362     {\r
8363         "id": "5cfd9c1e.9cd7fc",\r
8364         "type": "execute",\r
8365         "name": "get esr-thirdparty-sdnc",\r
8366         "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
8367         "comments": "",\r
8368         "outputs": 1,\r
8369         "x": 4354.4658203125,\r
8370         "y": 5969.302337646484,\r
8371         "z": "1806503a.76a7a",\r
8372         "wires": [\r
8373             [\r
8374                 "c9280772.2e056",\r
8375                 "da69dce1.3d1cc8",\r
8376                 "c843a21f.72703"\r
8377             ]\r
8378         ]\r
8379     },\r
8380     {\r
8381         "id": "5381b334.945d34",\r
8382         "type": "set",\r
8383         "name": "set esr-thirdparty-sdnc domain id",\r
8384         "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
8385         "comments": "",\r
8386         "x": 4384.4658203125,\r
8387         "y": 5917.302337646484,\r
8388         "z": "1806503a.76a7a",\r
8389         "wires": []\r
8390     },\r
8391     {\r
8392         "id": "c9280772.2e056",\r
8393         "type": "success",\r
8394         "name": "success",\r
8395         "xml": "<outcome value='success'>\n",\r
8396         "comments": "",\r
8397         "outputs": 1,\r
8398         "x": 4564.4658203125,\r
8399         "y": 5960.302337646484,\r
8400         "z": "1806503a.76a7a",\r
8401         "wires": [\r
8402             [\r
8403                 "1c355cab.e00983"\r
8404             ]\r
8405         ]\r
8406     },\r
8407     {\r
8408         "id": "da69dce1.3d1cc8",\r
8409         "type": "not-found",\r
8410         "name": "not-found",\r
8411         "xml": "<outcome value='not-found'>\n",\r
8412         "comments": "",\r
8413         "outputs": 1,\r
8414         "x": 4556.4658203125,\r
8415         "y": 6015.302337646484,\r
8416         "z": "1806503a.76a7a",\r
8417         "wires": [\r
8418             [\r
8419                 "e5e939f4.c8003"\r
8420             ]\r
8421         ]\r
8422     },\r
8423     {\r
8424         "id": "c843a21f.72703",\r
8425         "type": "other",\r
8426         "name": "other",\r
8427         "xml": "<outcome value='Other'>\n",\r
8428         "comments": "",\r
8429         "outputs": 1,\r
8430         "x": 4561.4658203125,\r
8431         "y": 6072.302337646484,\r
8432         "z": "1806503a.76a7a",\r
8433         "wires": [\r
8434             [\r
8435                 "29282b3d.cdea3c"\r
8436             ]\r
8437         ]\r
8438     },\r
8439     {\r
8440         "id": "293f88.0669c878",\r
8441         "type": "break",\r
8442         "name": "break",\r
8443         "xml": "<break>\n",\r
8444         "comments": "",\r
8445         "x": 4304.4658203125,\r
8446         "y": 6033.302337646484,\r
8447         "z": "1806503a.76a7a",\r
8448         "wires": []\r
8449     },\r
8450     {\r
8451         "id": "29282b3d.cdea3c",\r
8452         "type": "returnFailure",\r
8453         "name": "return failure",\r
8454         "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
8455         "comments": "",\r
8456         "x": 4713.4658203125,\r
8457         "y": 6073.302337646484,\r
8458         "z": "1806503a.76a7a",\r
8459         "wires": []\r
8460     },\r
8461     {\r
8462         "id": "e5e939f4.c8003",\r
8463         "type": "returnFailure",\r
8464         "name": "return failure",\r
8465         "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
8466         "comments": "",\r
8467         "x": 4724.4658203125,\r
8468         "y": 6018.302337646484,\r
8469         "z": "1806503a.76a7a",\r
8470         "wires": []\r
8471     },\r
8472     {\r
8473         "id": "1c355cab.e00983",\r
8474         "type": "block",\r
8475         "name": "block",\r
8476         "xml": "<block>\n",\r
8477         "atomic": "false",\r
8478         "comments": "",\r
8479         "outputs": 1,\r
8480         "x": 4708.84814453125,\r
8481         "y": 5957.9580078125,\r
8482         "z": "1806503a.76a7a",\r
8483         "wires": [\r
8484             [\r
8485                 "31ead1aa.38700e"\r
8486             ]\r
8487         ]\r
8488     },\r
8489     {\r
8490         "id": "31ead1aa.38700e",\r
8491         "type": "set",\r
8492         "name": "set controller domain data",\r
8493         "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
8494         "comments": "",\r
8495         "x": 4923.4658203125,\r
8496         "y": 5954.302337646484,\r
8497         "z": "1806503a.76a7a",\r
8498         "wires": []\r
8499     },\r
8500     {\r
8501         "id": "6da29c89.3512ec",\r
8502         "type": "set",\r
8503         "name": "set pnf-name",\r
8504         "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
8505         "comments": "",\r
8506         "x": 1659.2332763671875,\r
8507         "y": 6751.902435302734,\r
8508         "z": "1806503a.76a7a",\r
8509         "wires": []\r
8510     },\r
8511     {\r
8512         "id": "23a2345e.db2bfc",\r
8513         "type": "get-resource",\r
8514         "name": "get-resource src pnf",\r
8515         "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
8516         "comments": "",\r
8517         "outputs": 1,\r
8518         "x": 1685.2332763671875,\r
8519         "y": 6868.902435302734,\r
8520         "z": "1806503a.76a7a",\r
8521         "wires": [\r
8522             [\r
8523                 "287bda60.70f306",\r
8524                 "564bb39c.806684",\r
8525                 "f782c941.aa2bd8"\r
8526             ]\r
8527         ]\r
8528     },\r
8529     {\r
8530         "id": "287bda60.70f306",\r
8531         "type": "success",\r
8532         "name": "success",\r
8533         "xml": "<outcome value='success'>\n",\r
8534         "comments": "",\r
8535         "outputs": 1,\r
8536         "x": 1880.7333984375,\r
8537         "y": 6820.902435302734,\r
8538         "z": "1806503a.76a7a",\r
8539         "wires": [\r
8540             [\r
8541                 "5eea5356.2a418c"\r
8542             ]\r
8543         ]\r
8544     },\r
8545     {\r
8546         "id": "564bb39c.806684",\r
8547         "type": "not-found",\r
8548         "name": "not-found",\r
8549         "xml": "<outcome value='not-found'>\n",\r
8550         "comments": "",\r
8551         "outputs": 1,\r
8552         "x": 1872.7333984375,\r
8553         "y": 6875.902435302734,\r
8554         "z": "1806503a.76a7a",\r
8555         "wires": [\r
8556             [\r
8557                 "918bf051.2e35e8"\r
8558             ]\r
8559         ]\r
8560     },\r
8561     {\r
8562         "id": "5eea5356.2a418c",\r
8563         "type": "block",\r
8564         "name": "block",\r
8565         "xml": "<block>\n",\r
8566         "atomic": "false",\r
8567         "comments": "",\r
8568         "outputs": 1,\r
8569         "x": 2015.1156005859375,\r
8570         "y": 6815.558197021484,\r
8571         "z": "1806503a.76a7a",\r
8572         "wires": [\r
8573             [\r
8574                 "a66aff1d.02ebd"\r
8575             ]\r
8576         ]\r
8577     },\r
8578     {\r
8579         "id": "f782c941.aa2bd8",\r
8580         "type": "other",\r
8581         "name": "other",\r
8582         "xml": "<outcome value='Other'>\n",\r
8583         "comments": "",\r
8584         "outputs": 1,\r
8585         "x": 1877.7333984375,\r
8586         "y": 6932.902435302734,\r
8587         "z": "1806503a.76a7a",\r
8588         "wires": [\r
8589             [\r
8590                 "ea358a06.2ba7c"\r
8591             ]\r
8592         ]\r
8593     },\r
8594     {\r
8595         "id": "ea358a06.2ba7c",\r
8596         "type": "returnFailure",\r
8597         "name": "return failure",\r
8598         "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
8599         "comments": "",\r
8600         "x": 2029.7333984375,\r
8601         "y": 6933.902435302734,\r
8602         "z": "1806503a.76a7a",\r
8603         "wires": []\r
8604     },\r
8605     {\r
8606         "id": "918bf051.2e35e8",\r
8607         "type": "returnFailure",\r
8608         "name": "return failure",\r
8609         "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
8610         "comments": "",\r
8611         "x": 2040.7333984375,\r
8612         "y": 6876.902435302734,\r
8613         "z": "1806503a.76a7a",\r
8614         "wires": []\r
8615     },\r
8616     {\r
8617         "id": "a66aff1d.02ebd",\r
8618         "type": "for",\r
8619         "name": "for each relationship",\r
8620         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8621         "comments": "",\r
8622         "outputs": 1,\r
8623         "x": 2202.2327880859375,\r
8624         "y": 6816.902435302734,\r
8625         "z": "1806503a.76a7a",\r
8626         "wires": [\r
8627             [\r
8628                 "dd540d27.8a572"\r
8629             ]\r
8630         ]\r
8631     },\r
8632     {\r
8633         "id": "dd540d27.8a572",\r
8634         "type": "switchNode",\r
8635         "name": "switch related-to",\r
8636         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8637         "comments": "",\r
8638         "outputs": 1,\r
8639         "x": 2443.2327880859375,\r
8640         "y": 6807.902435302734,\r
8641         "z": "1806503a.76a7a",\r
8642         "wires": [\r
8643             [\r
8644                 "9d1b03ac.68f1d"\r
8645             ]\r
8646         ]\r
8647     },\r
8648     {\r
8649         "id": "e61d9898.b700f8",\r
8650         "type": "block",\r
8651         "name": "block : atomic",\r
8652         "xml": "<block atomic=\"true\">",\r
8653         "atomic": "true",\r
8654         "outputs": 1,\r
8655         "x": 2800.2325439453125,\r
8656         "y": 6756.902435302734,\r
8657         "z": "1806503a.76a7a",\r
8658         "wires": [\r
8659             [\r
8660                 "1b4a271c.3007c1",\r
8661                 "a4a420aa.eed92",\r
8662                 "5a15942c.1c868c"\r
8663             ]\r
8664         ]\r
8665     },\r
8666     {\r
8667         "id": "9d1b03ac.68f1d",\r
8668         "type": "outcome",\r
8669         "name": "esr-thirdparty-sdnc",\r
8670         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8671         "comments": "",\r
8672         "outputs": 1,\r
8673         "x": 2649.2327880859375,\r
8674         "y": 6804.902435302734,\r
8675         "z": "1806503a.76a7a",\r
8676         "wires": [\r
8677             [\r
8678                 "e61d9898.b700f8"\r
8679             ]\r
8680         ]\r
8681     },\r
8682     {\r
8683         "id": "a4a420aa.eed92",\r
8684         "type": "execute",\r
8685         "name": "get esr-thirdparty-sdnc",\r
8686         "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
8687         "comments": "",\r
8688         "outputs": 1,\r
8689         "x": 3006.2325439453125,\r
8690         "y": 6769.902435302734,\r
8691         "z": "1806503a.76a7a",\r
8692         "wires": [\r
8693             [\r
8694                 "e70e66a4.f92e28",\r
8695                 "3b5db284.72d976",\r
8696                 "a90d6b8f.8e3a5"\r
8697             ]\r
8698         ]\r
8699     },\r
8700     {\r
8701         "id": "5a15942c.1c868c",\r
8702         "type": "break",\r
8703         "name": "break",\r
8704         "xml": "<break>\n",\r
8705         "comments": "",\r
8706         "x": 2956.2325439453125,\r
8707         "y": 6833.902435302734,\r
8708         "z": "1806503a.76a7a",\r
8709         "wires": []\r
8710     },\r
8711     {\r
8712         "id": "1b4a271c.3007c1",\r
8713         "type": "set",\r
8714         "name": "set esr-thirdparty-sdnc domain id",\r
8715         "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
8716         "comments": "",\r
8717         "x": 3036.2325439453125,\r
8718         "y": 6717.902435302734,\r
8719         "z": "1806503a.76a7a",\r
8720         "wires": []\r
8721     },\r
8722     {\r
8723         "id": "e70e66a4.f92e28",\r
8724         "type": "success",\r
8725         "name": "success",\r
8726         "xml": "<outcome value='success'>\n",\r
8727         "comments": "",\r
8728         "outputs": 1,\r
8729         "x": 3216.2325439453125,\r
8730         "y": 6760.902435302734,\r
8731         "z": "1806503a.76a7a",\r
8732         "wires": [\r
8733             [\r
8734                 "2205be3e.8c882a"\r
8735             ]\r
8736         ]\r
8737     },\r
8738     {\r
8739         "id": "3b5db284.72d976",\r
8740         "type": "not-found",\r
8741         "name": "not-found",\r
8742         "xml": "<outcome value='not-found'>\n",\r
8743         "comments": "",\r
8744         "outputs": 1,\r
8745         "x": 3208.2325439453125,\r
8746         "y": 6815.902435302734,\r
8747         "z": "1806503a.76a7a",\r
8748         "wires": [\r
8749             [\r
8750                 "d93cd156.9d02f8"\r
8751             ]\r
8752         ]\r
8753     },\r
8754     {\r
8755         "id": "a90d6b8f.8e3a5",\r
8756         "type": "other",\r
8757         "name": "other",\r
8758         "xml": "<outcome value='Other'>\n",\r
8759         "comments": "",\r
8760         "outputs": 1,\r
8761         "x": 3213.2325439453125,\r
8762         "y": 6872.902435302734,\r
8763         "z": "1806503a.76a7a",\r
8764         "wires": [\r
8765             [\r
8766                 "b772a1ff.e97338"\r
8767             ]\r
8768         ]\r
8769     },\r
8770     {\r
8771         "id": "b772a1ff.e97338",\r
8772         "type": "returnFailure",\r
8773         "name": "return failure",\r
8774         "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
8775         "comments": "",\r
8776         "x": 3365.2325439453125,\r
8777         "y": 6873.902435302734,\r
8778         "z": "1806503a.76a7a",\r
8779         "wires": []\r
8780     },\r
8781     {\r
8782         "id": "d93cd156.9d02f8",\r
8783         "type": "returnFailure",\r
8784         "name": "return failure",\r
8785         "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
8786         "comments": "",\r
8787         "x": 3376.2325439453125,\r
8788         "y": 6818.902435302734,\r
8789         "z": "1806503a.76a7a",\r
8790         "wires": []\r
8791     },\r
8792     {\r
8793         "id": "2205be3e.8c882a",\r
8794         "type": "block",\r
8795         "name": "block",\r
8796         "xml": "<block>\n",\r
8797         "atomic": "false",\r
8798         "comments": "",\r
8799         "outputs": 1,\r
8800         "x": 3360.6148681640625,\r
8801         "y": 6758.55810546875,\r
8802         "z": "1806503a.76a7a",\r
8803         "wires": [\r
8804             [\r
8805                 "9b8cbfdb.496af"\r
8806             ]\r
8807         ]\r
8808     },\r
8809     {\r
8810         "id": "9b8cbfdb.496af",\r
8811         "type": "set",\r
8812         "name": "set controller domain data",\r
8813         "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
8814         "comments": "",\r
8815         "x": 3575.2325439453125,\r
8816         "y": 6754.902435302734,\r
8817         "z": "1806503a.76a7a",\r
8818         "wires": []\r
8819     },\r
8820     {\r
8821         "id": "99412df0.04b4f8",\r
8822         "type": "block",\r
8823         "name": "block : atomic",\r
8824         "xml": "<block atomic=\"true\">",\r
8825         "atomic": "true",\r
8826         "outputs": 1,\r
8827         "x": 1451.2332763671875,\r
8828         "y": 6879.902435302734,\r
8829         "z": "1806503a.76a7a",\r
8830         "wires": [\r
8831             [\r
8832                 "6da29c89.3512ec",\r
8833                 "23a2345e.db2bfc",\r
8834                 "4ea496a3.5a8a68"\r
8835             ]\r
8836         ]\r
8837     },\r
8838     {\r
8839         "id": "4ea496a3.5a8a68",\r
8840         "type": "switchNode",\r
8841         "name": "switch connectivity has ethernet service",\r
8842         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8843         "comments": "",\r
8844         "outputs": 1,\r
8845         "x": 1733.433349609375,\r
8846         "y": 7021.102630615234,\r
8847         "z": "1806503a.76a7a",\r
8848         "wires": [\r
8849             [\r
8850                 "fd259c6c.134fa8",\r
8851                 "9bf814bd.aca8b8"\r
8852             ]\r
8853         ]\r
8854     },\r
8855     {\r
8856         "id": "9bf814bd.aca8b8",\r
8857         "type": "other",\r
8858         "name": "other",\r
8859         "xml": "<outcome value='Other'>\n",\r
8860         "comments": "",\r
8861         "outputs": 1,\r
8862         "x": 1986.433349609375,\r
8863         "y": 6999.102630615234,\r
8864         "z": "1806503a.76a7a",\r
8865         "wires": [\r
8866             [\r
8867                 "10bd46c.7fcbe39"\r
8868             ]\r
8869         ]\r
8870     },\r
8871     {\r
8872         "id": "fd259c6c.134fa8",\r
8873         "type": "outcome",\r
8874         "name": "Null",\r
8875         "xml": "<outcome value=''>\n",\r
8876         "comments": "",\r
8877         "outputs": 1,\r
8878         "x": 1986.433349609375,\r
8879         "y": 7055.102630615234,\r
8880         "z": "1806503a.76a7a",\r
8881         "wires": [\r
8882             []\r
8883         ]\r
8884     },\r
8885     {\r
8886         "id": "10bd46c.7fcbe39",\r
8887         "type": "execute",\r
8888         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8889         "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
8890         "comments": "",\r
8891         "outputs": 1,\r
8892         "x": 2336.432861328125,\r
8893         "y": 6989.102630615234,\r
8894         "z": "1806503a.76a7a",\r
8895         "wires": [\r
8896             [\r
8897                 "cc57d141.f3e88",\r
8898                 "6b29798.5078f08"\r
8899             ]\r
8900         ]\r
8901     },\r
8902     {\r
8903         "id": "cc57d141.f3e88",\r
8904         "type": "failure",\r
8905         "name": "failure",\r
8906         "xml": "<outcome value='failure'>\n",\r
8907         "comments": "",\r
8908         "outputs": 1,\r
8909         "x": 2668.932861328125,\r
8910         "y": 6963.102630615234,\r
8911         "z": "1806503a.76a7a",\r
8912         "wires": [\r
8913             [\r
8914                 "e4bf775a.d74c18"\r
8915             ]\r
8916         ]\r
8917     },\r
8918     {\r
8919         "id": "6b29798.5078f08",\r
8920         "type": "success",\r
8921         "name": "success",\r
8922         "xml": "<outcome value='success'>\n",\r
8923         "comments": "",\r
8924         "outputs": 1,\r
8925         "x": 2672.932861328125,\r
8926         "y": 7003.102630615234,\r
8927         "z": "1806503a.76a7a",\r
8928         "wires": [\r
8929             [\r
8930                 "9dbbe180.4c39c"\r
8931             ]\r
8932         ]\r
8933     },\r
8934     {\r
8935         "id": "9dbbe180.4c39c",\r
8936         "type": "block",\r
8937         "name": "block : atomic",\r
8938         "xml": "<block atomic=\"true\">",\r
8939         "atomic": "true",\r
8940         "comments": "",\r
8941         "outputs": 1,\r
8942         "x": 2860.432861328125,\r
8943         "y": 7007.102630615234,\r
8944         "z": "1806503a.76a7a",\r
8945         "wires": [\r
8946             []\r
8947         ]\r
8948     },\r
8949     {\r
8950         "id": "e4bf775a.d74c18",\r
8951         "type": "returnFailure",\r
8952         "name": "return failure",\r
8953         "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
8954         "comments": "",\r
8955         "x": 2856.932861328125,\r
8956         "y": 6967.102630615234,\r
8957         "z": "1806503a.76a7a",\r
8958         "wires": []\r
8959     },\r
8960     {\r
8961         "id": "78f62ea.0af84d",\r
8962         "type": "execute",\r
8963         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
8964         "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
8965         "comments": "",\r
8966         "outputs": 1,\r
8967         "x": 1089.25,\r
8968         "y": 4706.6856689453125,\r
8969         "z": "1806503a.76a7a",\r
8970         "wires": [\r
8971             [\r
8972                 "51c55595.1dd8cc",\r
8973                 "c498093d.59e4c8"\r
8974             ]\r
8975         ]\r
8976     },\r
8977     {\r
8978         "id": "51c55595.1dd8cc",\r
8979         "type": "failure",\r
8980         "name": "failure",\r
8981         "xml": "<outcome value='failure'>\n",\r
8982         "comments": "",\r
8983         "outputs": 1,\r
8984         "x": 1517.749755859375,\r
8985         "y": 4694.6856689453125,\r
8986         "z": "1806503a.76a7a",\r
8987         "wires": [\r
8988             [\r
8989                 "bc110a38.b317b"\r
8990             ]\r
8991         ]\r
8992     },\r
8993     {\r
8994         "id": "c498093d.59e4c8",\r
8995         "type": "success",\r
8996         "name": "success",\r
8997         "xml": "<outcome value='success'>\n",\r
8998         "comments": "",\r
8999         "outputs": 1,\r
9000         "x": 1521.749755859375,\r
9001         "y": 4734.6856689453125,\r
9002         "z": "1806503a.76a7a",\r
9003         "wires": [\r
9004             [\r
9005                 "5805f739.dc8f9"\r
9006             ]\r
9007         ]\r
9008     },\r
9009     {\r
9010         "id": "bc110a38.b317b",\r
9011         "type": "returnFailure",\r
9012         "name": "return failure",\r
9013         "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
9014         "comments": "",\r
9015         "x": 1675.749755859375,\r
9016         "y": 4694.6856689453125,\r
9017         "z": "1806503a.76a7a",\r
9018         "wires": []\r
9019     },\r
9020     {\r
9021         "id": "5805f739.dc8f9",\r
9022         "type": "block",\r
9023         "name": "block : atomic",\r
9024         "xml": "<block atomic=\"true\">",\r
9025         "atomic": "true",\r
9026         "comments": "",\r
9027         "outputs": 1,\r
9028         "x": 1679.249755859375,\r
9029         "y": 4734.6856689453125,\r
9030         "z": "1806503a.76a7a",\r
9031         "wires": [\r
9032             []\r
9033         ]\r
9034     },\r
9035     {\r
9036         "id": "6f96293b.020fc",\r
9037         "type": "block",\r
9038         "name": "block : atomic",\r
9039         "xml": "<block atomic='true'>",\r
9040         "atomic": "true",\r
9041         "comments": "",\r
9042         "outputs": 1,\r
9043         "x": 5113,\r
9044         "y": 5027.2857666015625,\r
9045         "z": "1806503a.76a7a",\r
9046         "wires": [\r
9047             [\r
9048                 "aad45f58.fbf018",\r
9049                 "2530767d.abaa5a",\r
9050                 "b9bc9e8d.66a4b8"\r
9051             ]\r
9052         ]\r
9053     },\r
9054     {\r
9055         "id": "b9bc9e8d.66a4b8",\r
9056         "type": "set",\r
9057         "name": "set vpnNameToSearch",\r
9058         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
9059         "comments": "",\r
9060         "x": 5340,\r
9061         "y": 4972.2857666015625,\r
9062         "z": "1806503a.76a7a",\r
9063         "wires": []\r
9064     },\r
9065     {\r
9066         "id": "aad45f58.fbf018",\r
9067         "type": "call",\r
9068         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
9069         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
9070         "comments": "",\r
9071         "outputs": 1,\r
9072         "x": 5494,\r
9073         "y": 5024.2857666015625,\r
9074         "z": "1806503a.76a7a",\r
9075         "wires": [\r
9076             []\r
9077         ]\r
9078     },\r
9079     {\r
9080         "id": "2530767d.abaa5a",\r
9081         "type": "switchNode",\r
9082         "name": "switch $foundVpnName",\r
9083         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
9084         "comments": "",\r
9085         "outputs": 1,\r
9086         "x": 5339,\r
9087         "y": 5079.2857666015625,\r
9088         "z": "1806503a.76a7a",\r
9089         "wires": [\r
9090             [\r
9091                 "5fd0edea.97a1fc"\r
9092             ]\r
9093         ]\r
9094     },\r
9095     {\r
9096         "id": "5fd0edea.97a1fc",\r
9097         "type": "outcomeTrue",\r
9098         "name": "true",\r
9099         "xml": "<outcome value='true'>\n",\r
9100         "comments": "",\r
9101         "outputs": 1,\r
9102         "x": 5518,\r
9103         "y": 5078.2857666015625,\r
9104         "z": "1806503a.76a7a",\r
9105         "wires": [\r
9106             [\r
9107                 "48fa24ff.a12f6c"\r
9108             ]\r
9109         ]\r
9110     },\r
9111     {\r
9112         "id": "79dba259.2612cc",\r
9113         "type": "set",\r
9114         "name": "unset secondary related variables",\r
9115         "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
9116         "comments": "",\r
9117         "x": 3380.249969482422,\r
9118         "y": 433.2857666015625,\r
9119         "z": "1806503a.76a7a",\r
9120         "wires": []\r
9121     },\r
9122     {\r
9123         "id": "11c024cf.1cb7db",\r
9124         "type": "set",\r
9125         "name": "set network-route-three",\r
9126         "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
9127         "comments": "",\r
9128         "x": 3344.249969482422,\r
9129         "y": 683.2857666015625,\r
9130         "z": "1806503a.76a7a",\r
9131         "wires": []\r
9132     },\r
9133     {\r
9134         "id": "8bfce836.dcd148",\r
9135         "type": "switchNode",\r
9136         "name": "switch secondary empty?",\r
9137         "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
9138         "comments": "",\r
9139         "outputs": 1,\r
9140         "x": 3347.666473388672,\r
9141         "y": 725.5357360839844,\r
9142         "z": "1806503a.76a7a",\r
9143         "wires": [\r
9144             [\r
9145                 "2011ad7a.50e2d2",\r
9146                 "3e343af8.ce24be"\r
9147             ]\r
9148         ]\r
9149     },\r
9150     {\r
9151         "id": "2011ad7a.50e2d2",\r
9152         "type": "outcomeTrue",\r
9153         "name": "true",\r
9154         "xml": "<outcome value='true'>\n",\r
9155         "comments": "",\r
9156         "outputs": 1,\r
9157         "x": 3586.6663513183594,\r
9158         "y": 561.5357666015625,\r
9159         "z": "1806503a.76a7a",\r
9160         "wires": [\r
9161             [\r
9162                 "1f12a88c.b01c37"\r
9163             ]\r
9164         ]\r
9165     },\r
9166     {\r
9167         "id": "3e343af8.ce24be",\r
9168         "type": "outcomeFalse",\r
9169         "name": "false",\r
9170         "xml": "<outcome value='false'>\n",\r
9171         "comments": "",\r
9172         "outputs": 1,\r
9173         "x": 3595.6663513183594,\r
9174         "y": 608.5357666015625,\r
9175         "z": "1806503a.76a7a",\r
9176         "wires": [\r
9177             [\r
9178                 "d6d1ae0e.a40e7"\r
9179             ]\r
9180         ]\r
9181     },\r
9182     {\r
9183         "id": "d6d1ae0e.a40e7",\r
9184         "type": "set",\r
9185         "name": "set hasSecondary true",\r
9186         "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
9187         "comments": "",\r
9188         "x": 3809.6663513183594,\r
9189         "y": 602.5357666015625,\r
9190         "z": "1806503a.76a7a",\r
9191         "wires": []\r
9192     },\r
9193     {\r
9194         "id": "1f12a88c.b01c37",\r
9195         "type": "set",\r
9196         "name": "set hasSecondary false",\r
9197         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
9198         "comments": "",\r
9199         "x": 3813.6663513183594,\r
9200         "y": 558.5357666015625,\r
9201         "z": "1806503a.76a7a",\r
9202         "wires": []\r
9203     },\r
9204     {\r
9205         "id": "41d8ce05.5caae",\r
9206         "type": "outcome",\r
9207         "name": "SECONDARY-ROOT",\r
9208         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9209         "comments": "",\r
9210         "outputs": 1,\r
9211         "x": 4175.700408935547,\r
9212         "y": 511.9857177734375,\r
9213         "z": "1806503a.76a7a",\r
9214         "wires": [\r
9215             [\r
9216                 "57b53193.85d2e8"\r
9217             ]\r
9218         ]\r
9219     },\r
9220     {\r
9221         "id": "57b53193.85d2e8",\r
9222         "type": "block",\r
9223         "name": "block",\r
9224         "xml": "<block>\n",\r
9225         "atomic": "false",\r
9226         "comments": "",\r
9227         "outputs": 1,\r
9228         "x": 4349.700408935547,\r
9229         "y": 506.9857177734375,\r
9230         "z": "1806503a.76a7a",\r
9231         "wires": [\r
9232             [\r
9233                 "2292f0ec.6f9e9",\r
9234                 "f8b394d0.6213f"\r
9235             ]\r
9236         ]\r
9237     },\r
9238     {\r
9239         "id": "2292f0ec.6f9e9",\r
9240         "type": "set",\r
9241         "name": "set network-route-SECONDARY-ROOT",\r
9242         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9243         "comments": "",\r
9244         "x": 4593.700653076172,\r
9245         "y": 498.9857177734375,\r
9246         "z": "1806503a.76a7a",\r
9247         "wires": []\r
9248     },\r
9249     {\r
9250         "id": "f8b394d0.6213f",\r
9251         "type": "set",\r
9252         "name": "set network-route-C",\r
9253         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9254         "comments": "",\r
9255         "x": 4539.700653076172,\r
9256         "y": 538.9857177734375,\r
9257         "z": "1806503a.76a7a",\r
9258         "wires": []\r
9259     },\r
9260     {\r
9261         "id": "4bc67983.47c6f",\r
9262         "type": "outcome",\r
9263         "name": "SECONDARY-ROOT",\r
9264         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9265         "comments": "",\r
9266         "outputs": 1,\r
9267         "x": 4144.700408935547,\r
9268         "y": 741.3857421875,\r
9269         "z": "1806503a.76a7a",\r
9270         "wires": [\r
9271             [\r
9272                 "ca96ae7a.f7e118"\r
9273             ]\r
9274         ]\r
9275     },\r
9276     {\r
9277         "id": "ca96ae7a.f7e118",\r
9278         "type": "block",\r
9279         "name": "block",\r
9280         "xml": "<block>\n",\r
9281         "atomic": "false",\r
9282         "comments": "",\r
9283         "outputs": 1,\r
9284         "x": 4302.700164794922,\r
9285         "y": 784.3855590820312,\r
9286         "z": "1806503a.76a7a",\r
9287         "wires": [\r
9288             [\r
9289                 "bdef3637.91db48",\r
9290                 "b84fc7dd.a088f8"\r
9291             ]\r
9292         ]\r
9293     },\r
9294     {\r
9295         "id": "bdef3637.91db48",\r
9296         "type": "set",\r
9297         "name": "set network-route-SECONDARY-ROOT",\r
9298         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9299         "comments": "",\r
9300         "x": 4524.700164794922,\r
9301         "y": 770.3856811523438,\r
9302         "z": "1806503a.76a7a",\r
9303         "wires": []\r
9304     },\r
9305     {\r
9306         "id": "b84fc7dd.a088f8",\r
9307         "type": "set",\r
9308         "name": "set network-route-C",\r
9309         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9310         "comments": "",\r
9311         "x": 4470.700164794922,\r
9312         "y": 810.3856811523438,\r
9313         "z": "1806503a.76a7a",\r
9314         "wires": []\r
9315     },\r
9316     {\r
9317         "id": "ec6aad53.7d628",\r
9318         "type": "save",\r
9319         "name": "get network-route-three from aai",\r
9320         "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
9321         "comments": "",\r
9322         "outputs": 1,\r
9323         "x": 3356.133270263672,\r
9324         "y": 977.6190185546875,\r
9325         "z": "1806503a.76a7a",\r
9326         "wires": [\r
9327             [\r
9328                 "60b6baf9.326c5c",\r
9329                 "fffcc6ce.01cc38",\r
9330                 "232b371a.13f76"\r
9331             ]\r
9332         ]\r
9333     },\r
9334     {\r
9335         "id": "60b6baf9.326c5c",\r
9336         "type": "not-found",\r
9337         "name": "not-found",\r
9338         "xml": "<outcome value='not-found'>\n",\r
9339         "comments": "",\r
9340         "outputs": 1,\r
9341         "x": 3596.133270263672,\r
9342         "y": 960.6190185546875,\r
9343         "z": "1806503a.76a7a",\r
9344         "wires": [\r
9345             []\r
9346         ]\r
9347     },\r
9348     {\r
9349         "id": "fffcc6ce.01cc38",\r
9350         "type": "failure",\r
9351         "name": "failure",\r
9352         "xml": "<outcome value='failure'>\n",\r
9353         "comments": "",\r
9354         "outputs": 1,\r
9355         "x": 3591.642333984375,\r
9356         "y": 1003.0450744628906,\r
9357         "z": "1806503a.76a7a",\r
9358         "wires": [\r
9359             []\r
9360         ]\r
9361     },\r
9362     {\r
9363         "id": "232b371a.13f76",\r
9364         "type": "success",\r
9365         "name": "success",\r
9366         "xml": "<outcome value='success'>\n",\r
9367         "comments": "",\r
9368         "outputs": 1,\r
9369         "x": 3595.642303466797,\r
9370         "y": 1051.0450439453125,\r
9371         "z": "1806503a.76a7a",\r
9372         "wires": [\r
9373             [\r
9374                 "b996a975.9f4ee8"\r
9375             ]\r
9376         ]\r
9377     },\r
9378     {\r
9379         "id": "b996a975.9f4ee8",\r
9380         "type": "block",\r
9381         "name": "block : atomic",\r
9382         "xml": "<block atomic=\"true\">",\r
9383         "atomic": "true",\r
9384         "outputs": 1,\r
9385         "x": 3751.133270263672,\r
9386         "y": 1020.6189575195312,\r
9387         "z": "1806503a.76a7a",\r
9388         "wires": [\r
9389             [\r
9390                 "2df3eeae.ae260a"\r
9391             ]\r
9392         ]\r
9393     },\r
9394     {\r
9395         "id": "2df3eeae.ae260a",\r
9396         "type": "switchNode",\r
9397         "name": "switch nr type",\r
9398         "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
9399         "comments": "",\r
9400         "outputs": 1,\r
9401         "x": 3873.133270263672,\r
9402         "y": 967.6189575195312,\r
9403         "z": "1806503a.76a7a",\r
9404         "wires": [\r
9405             [\r
9406                 "30af5545.05a802",\r
9407                 "294528ca.16e348",\r
9408                 "fdf4c0e0.5eff08"\r
9409             ]\r
9410         ]\r
9411     },\r
9412     {\r
9413         "id": "30af5545.05a802",\r
9414         "type": "outcome",\r
9415         "name": "ROOT",\r
9416         "xml": "<outcome value='ROOT'>\n",\r
9417         "comments": "",\r
9418         "outputs": 1,\r
9419         "x": 4109.133270263672,\r
9420         "y": 817.6189575195312,\r
9421         "z": "1806503a.76a7a",\r
9422         "wires": [\r
9423             [\r
9424                 "58899b33.3d8864"\r
9425             ]\r
9426         ]\r
9427     },\r
9428     {\r
9429         "id": "294528ca.16e348",\r
9430         "type": "outcome",\r
9431         "name": "LEAF",\r
9432         "xml": "<outcome value='LEAF'>\n",\r
9433         "comments": "",\r
9434         "outputs": 1,\r
9435         "x": 4105.133270263672,\r
9436         "y": 873.6189575195312,\r
9437         "z": "1806503a.76a7a",\r
9438         "wires": [\r
9439             [\r
9440                 "2016713.cf9120e"\r
9441             ]\r
9442         ]\r
9443     },\r
9444     {\r
9445         "id": "58899b33.3d8864",\r
9446         "type": "block",\r
9447         "name": "block",\r
9448         "xml": "<block>\n",\r
9449         "atomic": "false",\r
9450         "comments": "",\r
9451         "outputs": 1,\r
9452         "x": 4235.133270263672,\r
9453         "y": 825.6189575195312,\r
9454         "z": "1806503a.76a7a",\r
9455         "wires": [\r
9456             [\r
9457                 "23e1076f.823948",\r
9458                 "e01e107b.4a322"\r
9459             ]\r
9460         ]\r
9461     },\r
9462     {\r
9463         "id": "2016713.cf9120e",\r
9464         "type": "block",\r
9465         "name": "block",\r
9466         "xml": "<block>\n",\r
9467         "atomic": "false",\r
9468         "comments": "",\r
9469         "outputs": 1,\r
9470         "x": 4238.133270263672,\r
9471         "y": 878.6189575195312,\r
9472         "z": "1806503a.76a7a",\r
9473         "wires": [\r
9474             [\r
9475                 "42b53bab.59e5ec",\r
9476                 "9f9141a1.5b5a98"\r
9477             ]\r
9478         ]\r
9479     },\r
9480     {\r
9481         "id": "fdf4c0e0.5eff08",\r
9482         "type": "outcome",\r
9483         "name": "SECONDARY-ROOT",\r
9484         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9485         "comments": "",\r
9486         "outputs": 1,\r
9487         "x": 4098.133270263672,\r
9488         "y": 951.6189575195312,\r
9489         "z": "1806503a.76a7a",\r
9490         "wires": [\r
9491             [\r
9492                 "7151cb9d.fcc3b4"\r
9493             ]\r
9494         ]\r
9495     },\r
9496     {\r
9497         "id": "7151cb9d.fcc3b4",\r
9498         "type": "block",\r
9499         "name": "block",\r
9500         "xml": "<block>\n",\r
9501         "atomic": "false",\r
9502         "comments": "",\r
9503         "outputs": 1,\r
9504         "x": 4254.133270263672,\r
9505         "y": 972.6189575195312,\r
9506         "z": "1806503a.76a7a",\r
9507         "wires": [\r
9508             [\r
9509                 "16090c67.366d8c",\r
9510                 "877ec323.7c8b08"\r
9511             ]\r
9512         ]\r
9513     },\r
9514     {\r
9515         "id": "23e1076f.823948",\r
9516         "type": "set",\r
9517         "name": "set network-route-ROOT",\r
9518         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9519         "comments": "",\r
9520         "x": 4482.133270263672,\r
9521         "y": 855.6189575195312,\r
9522         "z": "1806503a.76a7a",\r
9523         "wires": []\r
9524     },\r
9525     {\r
9526         "id": "e01e107b.4a322",\r
9527         "type": "set",\r
9528         "name": "set network-route-B",\r
9529         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9530         "comments": "",\r
9531         "x": 4474.133270263672,\r
9532         "y": 897.6189575195312,\r
9533         "z": "1806503a.76a7a",\r
9534         "wires": []\r
9535     },\r
9536     {\r
9537         "id": "42b53bab.59e5ec",\r
9538         "type": "set",\r
9539         "name": "set network-route-LEAF",\r
9540         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9541         "comments": "",\r
9542         "x": 4475.133270263672,\r
9543         "y": 949.6189575195312,\r
9544         "z": "1806503a.76a7a",\r
9545         "wires": []\r
9546     },\r
9547     {\r
9548         "id": "9f9141a1.5b5a98",\r
9549         "type": "set",\r
9550         "name": "set network-route-A",\r
9551         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9552         "comments": "",\r
9553         "x": 4462.133270263672,\r
9554         "y": 989.6189575195312,\r
9555         "z": "1806503a.76a7a",\r
9556         "wires": []\r
9557     },\r
9558     {\r
9559         "id": "877ec323.7c8b08",\r
9560         "type": "set",\r
9561         "name": "set network-route-C",\r
9562         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9563         "comments": "",\r
9564         "x": 4436.133270263672,\r
9565         "y": 1083.6189575195312,\r
9566         "z": "1806503a.76a7a",\r
9567         "wires": []\r
9568     },\r
9569     {\r
9570         "id": "16090c67.366d8c",\r
9571         "type": "set",\r
9572         "name": "set network-route-SECONDARY-ROOT",\r
9573         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9574         "comments": "",\r
9575         "x": 4498.133270263672,\r
9576         "y": 1039.6189575195312,\r
9577         "z": "1806503a.76a7a",\r
9578         "wires": []\r
9579     },\r
9580     {\r
9581         "id": "2a307068.85126",\r
9582         "type": "block",\r
9583         "name": "block : atomic",\r
9584         "xml": "<block atomic=\"true\">",\r
9585         "atomic": "true",\r
9586         "outputs": 1,\r
9587         "x": 3700.13330078125,\r
9588         "y": 2223.2857666015625,\r
9589         "z": "1806503a.76a7a",\r
9590         "wires": [\r
9591             [\r
9592                 "5e91bdef.ec251c",\r
9593                 "edfa6b23.11ec28"\r
9594             ]\r
9595         ]\r
9596     },\r
9597     {\r
9598         "id": "268e9ec4.4facea",\r
9599         "type": "success",\r
9600         "name": "success",\r
9601         "xml": "<outcome value='success'>\n",\r
9602         "comments": "",\r
9603         "outputs": 1,\r
9604         "x": 3527.466796875,\r
9605         "y": 2224.2857666015625,\r
9606         "z": "1806503a.76a7a",\r
9607         "wires": [\r
9608             [\r
9609                 "2a307068.85126"\r
9610             ]\r
9611         ]\r
9612     },\r
9613     {\r
9614         "id": "15820d3a.1e0693",\r
9615         "type": "not-found",\r
9616         "name": "not-found",\r
9617         "xml": "<outcome value='not-found'>\n",\r
9618         "comments": "",\r
9619         "outputs": 1,\r
9620         "x": 3536.957763671875,\r
9621         "y": 2266.8598022460938,\r
9622         "z": "1806503a.76a7a",\r
9623         "wires": [\r
9624             []\r
9625         ]\r
9626     },\r
9627     {\r
9628         "id": "5a5c2368.a7e5dc",\r
9629         "type": "failure",\r
9630         "name": "failure",\r
9631         "xml": "<outcome value='failure'>\n",\r
9632         "comments": "",\r
9633         "outputs": 1,\r
9634         "x": 3525.466796875,\r
9635         "y": 2313.2857666015625,\r
9636         "z": "1806503a.76a7a",\r
9637         "wires": [\r
9638             []\r
9639         ]\r
9640     },\r
9641     {\r
9642         "id": "5e91bdef.ec251c",\r
9643         "type": "execute",\r
9644         "name": "execute split tp-id to get pnf-name",\r
9645         "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
9646         "comments": "",\r
9647         "outputs": 1,\r
9648         "x": 3990.466796875,\r
9649         "y": 2239.2857666015625,\r
9650         "z": "1806503a.76a7a",\r
9651         "wires": [\r
9652             [\r
9653                 "fab0baab.63daf",\r
9654                 "4fbe9a1d.f89b1c"\r
9655             ]\r
9656         ]\r
9657     },\r
9658     {\r
9659         "id": "4fbe9a1d.f89b1c",\r
9660         "type": "failure",\r
9661         "name": "success",\r
9662         "xml": "<outcome value='success'>\n",\r
9663         "comments": "",\r
9664         "outputs": 1,\r
9665         "x": 4213.466796875,\r
9666         "y": 2194.2857666015625,\r
9667         "z": "1806503a.76a7a",\r
9668         "wires": [\r
9669             [\r
9670                 "e7a6f67c.223ba8"\r
9671             ]\r
9672         ]\r
9673     },\r
9674     {\r
9675         "id": "fab0baab.63daf",\r
9676         "type": "failure",\r
9677         "name": "failure",\r
9678         "xml": "<outcome value='failure'>\n",\r
9679         "comments": "",\r
9680         "outputs": 1,\r
9681         "x": 4215.466796875,\r
9682         "y": 2258.2857666015625,\r
9683         "z": "1806503a.76a7a",\r
9684         "wires": [\r
9685             [\r
9686                 "e4fc9765.fde21"\r
9687             ]\r
9688         ]\r
9689     },\r
9690     {\r
9691         "id": "ad2e0fde.b44de8",\r
9692         "type": "save",\r
9693         "name": "get p-interface-dst from aai",\r
9694         "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
9695         "comments": "",\r
9696         "outputs": 1,\r
9697         "x": 3321.466796875,\r
9698         "y": 2245.2857666015625,\r
9699         "z": "1806503a.76a7a",\r
9700         "wires": [\r
9701             [\r
9702                 "268e9ec4.4facea",\r
9703                 "15820d3a.1e0693",\r
9704                 "5a5c2368.a7e5dc"\r
9705             ]\r
9706         ]\r
9707     },\r
9708     {\r
9709         "id": "8876fe3a.88e278",\r
9710         "type": "comment",\r
9711         "name": "Question?",\r
9712         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
9713         "comments": "",\r
9714         "x": 3260.466796875,\r
9715         "y": 2203.2857666015625,\r
9716         "z": "1806503a.76a7a",\r
9717         "wires": []\r
9718     },\r
9719     {\r
9720         "id": "c02bc34.16c814",\r
9721         "type": "execute",\r
9722         "name": "execute split tp-id to get pnf-name",\r
9723         "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
9724         "comments": "",\r
9725         "outputs": 1,\r
9726         "x": 3341.466796875,\r
9727         "y": 2093.2857666015625,\r
9728         "z": "1806503a.76a7a",\r
9729         "wires": [\r
9730             [\r
9731                 "85d9fc70.3a0b8",\r
9732                 "63a7add0.8255ec"\r
9733             ]\r
9734         ]\r
9735     },\r
9736     {\r
9737         "id": "63a7add0.8255ec",\r
9738         "type": "failure",\r
9739         "name": "success",\r
9740         "xml": "<outcome value='success'>\n",\r
9741         "comments": "",\r
9742         "outputs": 1,\r
9743         "x": 3564.466796875,\r
9744         "y": 2079.2857666015625,\r
9745         "z": "1806503a.76a7a",\r
9746         "wires": [\r
9747             [\r
9748                 "39d5594f.5d224e"\r
9749             ]\r
9750         ]\r
9751     },\r
9752     {\r
9753         "id": "85d9fc70.3a0b8",\r
9754         "type": "failure",\r
9755         "name": "failure",\r
9756         "xml": "<outcome value='failure'>\n",\r
9757         "comments": "",\r
9758         "outputs": 1,\r
9759         "x": 3566.466796875,\r
9760         "y": 2112.2857666015625,\r
9761         "z": "1806503a.76a7a",\r
9762         "wires": [\r
9763             []\r
9764         ]\r
9765     },\r
9766     {\r
9767         "id": "39d5594f.5d224e",\r
9768         "type": "block",\r
9769         "name": "block : atomic",\r
9770         "xml": "<block atomic=\"true\">",\r
9771         "atomic": "true",\r
9772         "outputs": 1,\r
9773         "x": 3712.466796875,\r
9774         "y": 2072.2857666015625,\r
9775         "z": "1806503a.76a7a",\r
9776         "wires": [\r
9777             [\r
9778                 "cf9e5f0.1f2092",\r
9779                 "6b6736af.eb70a"\r
9780             ]\r
9781         ]\r
9782     },\r
9783     {\r
9784         "id": "cf9e5f0.1f2092",\r
9785         "type": "set",\r
9786         "name": "set pnf-name",\r
9787         "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
9788         "comments": "",\r
9789         "x": 3904.4666748046875,\r
9790         "y": 2009.2857666015625,\r
9791         "z": "1806503a.76a7a",\r
9792         "wires": []\r
9793     },\r
9794     {\r
9795         "id": "edfa6b23.11ec28",\r
9796         "type": "for",\r
9797         "name": "for each relationship",\r
9798         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
9799         "comments": "",\r
9800         "outputs": 1,\r
9801         "x": 3971.466796875,\r
9802         "y": 2370.2857666015625,\r
9803         "z": "1806503a.76a7a",\r
9804         "wires": [\r
9805             [\r
9806                 "c80278c9.710488"\r
9807             ]\r
9808         ]\r
9809     },\r
9810     {\r
9811         "id": "c80278c9.710488",\r
9812         "type": "switchNode",\r
9813         "name": "switch related-to",\r
9814         "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
9815         "comments": "",\r
9816         "outputs": 1,\r
9817         "x": 4177.466796875,\r
9818         "y": 2370.2857666015625,\r
9819         "z": "1806503a.76a7a",\r
9820         "wires": [\r
9821             [\r
9822                 "7e2cf131.a58a08"\r
9823             ]\r
9824         ]\r
9825     },\r
9826     {\r
9827         "id": "6b6736af.eb70a",\r
9828         "type": "get-resource",\r
9829         "name": "get-resource src pnf",\r
9830         "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
9831         "comments": "",\r
9832         "outputs": 1,\r
9833         "x": 3926.4666748046875,\r
9834         "y": 2077.2857666015625,\r
9835         "z": "1806503a.76a7a",\r
9836         "wires": [\r
9837             [\r
9838                 "9d1ec1c.6f0f9c",\r
9839                 "f4e7e55c.530698",\r
9840                 "d7c76719.0fc4b"\r
9841             ]\r
9842         ]\r
9843     },\r
9844     {\r
9845         "id": "9d1ec1c.6f0f9c",\r
9846         "type": "success",\r
9847         "name": "success",\r
9848         "xml": "<outcome value='success'>\n",\r
9849         "comments": "",\r
9850         "outputs": 1,\r
9851         "x": 4121.966796875,\r
9852         "y": 2029.2857666015625,\r
9853         "z": "1806503a.76a7a",\r
9854         "wires": [\r
9855             [\r
9856                 "13bd6284.e3089d"\r
9857             ]\r
9858         ]\r
9859     },\r
9860     {\r
9861         "id": "f4e7e55c.530698",\r
9862         "type": "not-found",\r
9863         "name": "not-found",\r
9864         "xml": "<outcome value='not-found'>\n",\r
9865         "comments": "",\r
9866         "outputs": 1,\r
9867         "x": 4113.966796875,\r
9868         "y": 2084.2857666015625,\r
9869         "z": "1806503a.76a7a",\r
9870         "wires": [\r
9871             [\r
9872                 "56e4b2a7.59d05c"\r
9873             ]\r
9874         ]\r
9875     },\r
9876     {\r
9877         "id": "d7c76719.0fc4b",\r
9878         "type": "other",\r
9879         "name": "other",\r
9880         "xml": "<outcome value='Other'>\n",\r
9881         "comments": "",\r
9882         "outputs": 1,\r
9883         "x": 4118.966796875,\r
9884         "y": 2141.2857666015625,\r
9885         "z": "1806503a.76a7a",\r
9886         "wires": [\r
9887             [\r
9888                 "67615599.b73f0c"\r
9889             ]\r
9890         ]\r
9891     },\r
9892     {\r
9893         "id": "67615599.b73f0c",\r
9894         "type": "returnFailure",\r
9895         "name": "return failure",\r
9896         "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
9897         "comments": "",\r
9898         "x": 4270.966796875,\r
9899         "y": 2142.2857666015625,\r
9900         "z": "1806503a.76a7a",\r
9901         "wires": []\r
9902     },\r
9903     {\r
9904         "id": "13bd6284.e3089d",\r
9905         "type": "block",\r
9906         "name": "block",\r
9907         "xml": "<block>\n",\r
9908         "atomic": "false",\r
9909         "comments": "",\r
9910         "outputs": 1,\r
9911         "x": 4266.34912109375,\r
9912         "y": 2026.9414367675781,\r
9913         "z": "1806503a.76a7a",\r
9914         "wires": [\r
9915             [\r
9916                 "3bd0a776.cdf68"\r
9917             ]\r
9918         ]\r
9919     },\r
9920     {\r
9921         "id": "d87e7a94.9bda08",\r
9922         "type": "set",\r
9923         "name": "set SECONDARY-ROOT stuff",\r
9924         "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
9925         "comments": "",\r
9926         "x": 3322.13330078125,\r
9927         "y": 2338.2857666015625,\r
9928         "z": "1806503a.76a7a",\r
9929         "wires": []\r
9930     },\r
9931     {\r
9932         "id": "3b2ac73.1b40638",\r
9933         "type": "comment",\r
9934         "name": "NOT NEEDED ANYMORE?",\r
9935         "info": "",\r
9936         "comments": "",\r
9937         "x": 4001.133270263672,\r
9938         "y": 2314.285614013672,\r
9939         "z": "1806503a.76a7a",\r
9940         "wires": []\r
9941     },\r
9942     {\r
9943         "id": "e4fc9765.fde21",\r
9944         "type": "returnFailure",\r
9945         "name": "return failure",\r
9946         "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
9947         "comments": "",\r
9948         "x": 4374.466796875,\r
9949         "y": 2277.2857666015625,\r
9950         "z": "1806503a.76a7a",\r
9951         "wires": []\r
9952     },\r
9953     {\r
9954         "id": "e7a6f67c.223ba8",\r
9955         "type": "block",\r
9956         "name": "block : atomic",\r
9957         "xml": "<block atomic=\"true\">",\r
9958         "atomic": "true",\r
9959         "outputs": 1,\r
9960         "x": 4378.466796875,\r
9961         "y": 2191.2857666015625,\r
9962         "z": "1806503a.76a7a",\r
9963         "wires": [\r
9964             [\r
9965                 "ab9c8c2d.c18e8",\r
9966                 "2a323f5f.e64b7"\r
9967             ]\r
9968         ]\r
9969     },\r
9970     {\r
9971         "id": "7e2cf131.a58a08",\r
9972         "type": "outcome",\r
9973         "name": "tunnel-termination-point",\r
9974         "xml": "<outcome value='tunnel-termination-point'>\n",\r
9975         "comments": "",\r
9976         "outputs": 1,\r
9977         "x": 4394.75244140625,\r
9978         "y": 2369.1075439453125,\r
9979         "z": "1806503a.76a7a",\r
9980         "wires": [\r
9981             [\r
9982                 "cefe725b.0f41e8"\r
9983             ]\r
9984         ]\r
9985     },\r
9986     {\r
9987         "id": "56e4b2a7.59d05c",\r
9988         "type": "returnFailure",\r
9989         "name": "return failure",\r
9990         "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
9991         "comments": "",\r
9992         "x": 4281.966796875,\r
9993         "y": 2087.2857666015625,\r
9994         "z": "1806503a.76a7a",\r
9995         "wires": []\r
9996     },\r
9997     {\r
9998         "id": "ab9c8c2d.c18e8",\r
9999         "type": "set",\r
10000         "name": "set ltpId",\r
10001         "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
10002         "comments": "",\r
10003         "x": 4548.466796875,\r
10004         "y": 2152.2857666015625,\r
10005         "z": "1806503a.76a7a",\r
10006         "wires": []\r
10007     },\r
10008     {\r
10009         "id": "2a323f5f.e64b7",\r
10010         "type": "set",\r
10011         "name": "set pnf-name",\r
10012         "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
10013         "comments": "",\r
10014         "x": 4549.466796875,\r
10015         "y": 2257.2857666015625,\r
10016         "z": "1806503a.76a7a",\r
10017         "wires": []\r
10018     },\r
10019     {\r
10020         "id": "89cd5649.143b88",\r
10021         "type": "comment",\r
10022         "name": "TODO: FIXME",\r
10023         "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
10024         "comments": "",\r
10025         "x": 4544.466796875,\r
10026         "y": 2206.2857666015625,\r
10027         "z": "1806503a.76a7a",\r
10028         "wires": []\r
10029     },\r
10030     {\r
10031         "id": "cefe725b.0f41e8",\r
10032         "type": "block",\r
10033         "name": "block : atomic",\r
10034         "xml": "<block atomic=\"true\">",\r
10035         "atomic": "true",\r
10036         "outputs": 1,\r
10037         "x": 4601.583984375,\r
10038         "y": 2358.626220703125,\r
10039         "z": "1806503a.76a7a",\r
10040         "wires": [\r
10041             [\r
10042                 "a03cf587.06cef8",\r
10043                 "a11cf500.909288",\r
10044                 "7b4cfab6.8e3e3c"\r
10045             ]\r
10046         ]\r
10047     },\r
10048     {\r
10049         "id": "a03cf587.06cef8",\r
10050         "type": "set",\r
10051         "name": "set destination ttp-id",\r
10052         "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
10053         "comments": "",\r
10054         "x": 4816.583984375,\r
10055         "y": 2320.626220703125,\r
10056         "z": "1806503a.76a7a",\r
10057         "wires": []\r
10058     },\r
10059     {\r
10060         "id": "a11cf500.909288",\r
10061         "type": "get-resource",\r
10062         "name": "get-resource src TTP",\r
10063         "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
10064         "comments": "",\r
10065         "outputs": 1,\r
10066         "x": 4813.583984375,\r
10067         "y": 2359.626220703125,\r
10068         "z": "1806503a.76a7a",\r
10069         "wires": [\r
10070             [\r
10071                 "1d4bbcf2.4e364b"\r
10072             ]\r
10073         ]\r
10074     },\r
10075     {\r
10076         "id": "7b4cfab6.8e3e3c",\r
10077         "type": "break",\r
10078         "name": "break",\r
10079         "xml": "<break>\n",\r
10080         "comments": "",\r
10081         "x": 4769.083984375,\r
10082         "y": 2401.626220703125,\r
10083         "z": "1806503a.76a7a",\r
10084         "wires": []\r
10085     },\r
10086     {\r
10087         "id": "5a11b9ac.0be8e",\r
10088         "type": "outcome",\r
10089         "name": "esr-thirdparty-sdnc",\r
10090         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
10091         "comments": "",\r
10092         "outputs": 1,\r
10093         "x": 4850.466796875,\r
10094         "y": 2111.285888671875,\r
10095         "z": "1806503a.76a7a",\r
10096         "wires": [\r
10097             [\r
10098                 "9451ac43.685578"\r
10099             ]\r
10100         ]\r
10101     },\r
10102     {\r
10103         "id": "3bd0a776.cdf68",\r
10104         "type": "for",\r
10105         "name": "for each relationship",\r
10106         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
10107         "comments": "",\r
10108         "outputs": 1,\r
10109         "x": 4450.4666748046875,\r
10110         "y": 2041.2857666015625,\r
10111         "z": "1806503a.76a7a",\r
10112         "wires": [\r
10113             [\r
10114                 "baa608db.a0fe08"\r
10115             ]\r
10116         ]\r
10117     },\r
10118     {\r
10119         "id": "baa608db.a0fe08",\r
10120         "type": "switchNode",\r
10121         "name": "switch related-to",\r
10122         "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
10123         "comments": "",\r
10124         "outputs": 1,\r
10125         "x": 4647.466796875,\r
10126         "y": 2107.285888671875,\r
10127         "z": "1806503a.76a7a",\r
10128         "wires": [\r
10129             [\r
10130                 "5a11b9ac.0be8e",\r
10131                 "41776d15.aa3ae4"\r
10132             ]\r
10133         ]\r
10134     },\r
10135     {\r
10136         "id": "41776d15.aa3ae4",\r
10137         "type": "outcome",\r
10138         "name": "network-resource",\r
10139         "xml": "<outcome value='network-resource'>",\r
10140         "comments": "",\r
10141         "outputs": 1,\r
10142         "x": 4852.466796875,\r
10143         "y": 2184.285888671875,\r
10144         "z": "1806503a.76a7a",\r
10145         "wires": [\r
10146             [\r
10147                 "e63bdf76.82117"\r
10148             ]\r
10149         ]\r
10150     },\r
10151     {\r
10152         "id": "1d4bbcf2.4e364b",\r
10153         "type": "success",\r
10154         "name": "success",\r
10155         "xml": "<outcome value='success'>\n",\r
10156         "comments": "",\r
10157         "outputs": 1,\r
10158         "x": 4994.083984375,\r
10159         "y": 2358.626220703125,\r
10160         "z": "1806503a.76a7a",\r
10161         "wires": [\r
10162             [\r
10163                 "65012ff0.bac99"\r
10164             ]\r
10165         ]\r
10166     },\r
10167     {\r
10168         "id": "65012ff0.bac99",\r
10169         "type": "block",\r
10170         "name": "block : atomic",\r
10171         "xml": "<block atomic=\"true\">",\r
10172         "atomic": "true",\r
10173         "outputs": 1,\r
10174         "x": 5152.083984375,\r
10175         "y": 2358.626220703125,\r
10176         "z": "1806503a.76a7a",\r
10177         "wires": [\r
10178             [\r
10179                 "8f16bdf7.24b18"\r
10180             ]\r
10181         ]\r
10182     },\r
10183     {\r
10184         "id": "8f16bdf7.24b18",\r
10185         "type": "set",\r
10186         "name": "set destination tunnel tp ip",\r
10187         "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
10188         "comments": "",\r
10189         "x": 5359.083984375,\r
10190         "y": 2358.626220703125,\r
10191         "z": "1806503a.76a7a",\r
10192         "wires": []\r
10193     },\r
10194     {\r
10195         "id": "9451ac43.685578",\r
10196         "type": "block",\r
10197         "name": "block : atomic",\r
10198         "xml": "<block atomic=\"true\">",\r
10199         "atomic": "true",\r
10200         "outputs": 1,\r
10201         "x": 5027.466796875,\r
10202         "y": 2103.285888671875,\r
10203         "z": "1806503a.76a7a",\r
10204         "wires": [\r
10205             [\r
10206                 "801b98ce.90edc",\r
10207                 "5fb93bf0.4b325c"\r
10208             ]\r
10209         ]\r
10210     },\r
10211     {\r
10212         "id": "5fb93bf0.4b325c",\r
10213         "type": "execute",\r
10214         "name": "get esr-thirdparty-sdnc",\r
10215         "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
10216         "comments": "",\r
10217         "outputs": 1,\r
10218         "x": 5235.466796875,\r
10219         "y": 2110.285888671875,\r
10220         "z": "1806503a.76a7a",\r
10221         "wires": [\r
10222             [\r
10223                 "44bfb2a0.4cab3c",\r
10224                 "f1164e18.e0f19",\r
10225                 "7ca3e4f2.88fb4c"\r
10226             ]\r
10227         ]\r
10228     },\r
10229     {\r
10230         "id": "e63bdf76.82117",\r
10231         "type": "block",\r
10232         "name": "block : atomic",\r
10233         "xml": "<block atomic=\"true\">",\r
10234         "atomic": "true",\r
10235         "outputs": 1,\r
10236         "x": 5029.466796875,\r
10237         "y": 2176.285888671875,\r
10238         "z": "1806503a.76a7a",\r
10239         "wires": [\r
10240             [\r
10241                 "de27c7f7.c9276"\r
10242             ]\r
10243         ]\r
10244     },\r
10245     {\r
10246         "id": "801b98ce.90edc",\r
10247         "type": "set",\r
10248         "name": "set esr-thirdparty-sdnc domainC id",\r
10249         "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
10250         "comments": "",\r
10251         "x": 5265.466796875,\r
10252         "y": 2058.285888671875,\r
10253         "z": "1806503a.76a7a",\r
10254         "wires": []\r
10255     },\r
10256     {\r
10257         "id": "de27c7f7.c9276",\r
10258         "type": "set",\r
10259         "name": "set domainC ethernet layer network-id",\r
10260         "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
10261         "comments": "",\r
10262         "x": 5264.466796875,\r
10263         "y": 2300.285888671875,\r
10264         "z": "1806503a.76a7a",\r
10265         "wires": []\r
10266     },\r
10267     {\r
10268         "id": "44bfb2a0.4cab3c",\r
10269         "type": "success",\r
10270         "name": "success",\r
10271         "xml": "<outcome value='success'>\n",\r
10272         "comments": "",\r
10273         "outputs": 1,\r
10274         "x": 5445.466796875,\r
10275         "y": 2101.285888671875,\r
10276         "z": "1806503a.76a7a",\r
10277         "wires": [\r
10278             [\r
10279                 "e82fded9.073898"\r
10280             ]\r
10281         ]\r
10282     },\r
10283     {\r
10284         "id": "f1164e18.e0f19",\r
10285         "type": "not-found",\r
10286         "name": "not-found",\r
10287         "xml": "<outcome value='not-found'>\n",\r
10288         "comments": "",\r
10289         "outputs": 1,\r
10290         "x": 5437.466796875,\r
10291         "y": 2156.285888671875,\r
10292         "z": "1806503a.76a7a",\r
10293         "wires": [\r
10294             [\r
10295                 "85250ba4.806898"\r
10296             ]\r
10297         ]\r
10298     },\r
10299     {\r
10300         "id": "7ca3e4f2.88fb4c",\r
10301         "type": "other",\r
10302         "name": "other",\r
10303         "xml": "<outcome value='Other'>\n",\r
10304         "comments": "",\r
10305         "outputs": 1,\r
10306         "x": 5442.466796875,\r
10307         "y": 2213.285888671875,\r
10308         "z": "1806503a.76a7a",\r
10309         "wires": [\r
10310             [\r
10311                 "7d5613c0.f5f4cc"\r
10312             ]\r
10313         ]\r
10314     },\r
10315     {\r
10316         "id": "7d5613c0.f5f4cc",\r
10317         "type": "returnFailure",\r
10318         "name": "return failure",\r
10319         "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
10320         "comments": "",\r
10321         "x": 5594.466796875,\r
10322         "y": 2214.285888671875,\r
10323         "z": "1806503a.76a7a",\r
10324         "wires": []\r
10325     },\r
10326     {\r
10327         "id": "85250ba4.806898",\r
10328         "type": "returnFailure",\r
10329         "name": "return failure",\r
10330         "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
10331         "comments": "",\r
10332         "x": 5605.466796875,\r
10333         "y": 2159.285888671875,\r
10334         "z": "1806503a.76a7a",\r
10335         "wires": []\r
10336     },\r
10337     {\r
10338         "id": "e82fded9.073898",\r
10339         "type": "block",\r
10340         "name": "block",\r
10341         "xml": "<block>\n",\r
10342         "atomic": "false",\r
10343         "comments": "",\r
10344         "outputs": 1,\r
10345         "x": 5589.84912109375,\r
10346         "y": 2098.9415588378906,\r
10347         "z": "1806503a.76a7a",\r
10348         "wires": [\r
10349             [\r
10350                 "7c8249af.5ed848"\r
10351             ]\r
10352         ]\r
10353     },\r
10354     {\r
10355         "id": "7c8249af.5ed848",\r
10356         "type": "set",\r
10357         "name": "set controller domainC data",\r
10358         "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
10359         "comments": "",\r
10360         "x": 5804.466796875,\r
10361         "y": 2095.285888671875,\r
10362         "z": "1806503a.76a7a",\r
10363         "wires": []\r
10364     },\r
10365     {\r
10366         "id": "1e88543b.84a814",\r
10367         "type": "switchNode",\r
10368         "name": "switch $hasSecondary",\r
10369         "xml": "<switch test='`$hasSecondary`'>\n",\r
10370         "comments": "",\r
10371         "outputs": 1,\r
10372         "x": 3836.13330078125,\r
10373         "y": 2707.2857666015625,\r
10374         "z": "1806503a.76a7a",\r
10375         "wires": [\r
10376             [\r
10377                 "4bbf44dd.c34104"\r
10378             ]\r
10379         ]\r
10380     },\r
10381     {\r
10382         "id": "4bbf44dd.c34104",\r
10383         "type": "outcomeTrue",\r
10384         "name": "true",\r
10385         "xml": "<outcome value='true'>\n",\r
10386         "comments": "",\r
10387         "outputs": 1,\r
10388         "x": 4027.13330078125,\r
10389         "y": 2711.2857666015625,\r
10390         "z": "1806503a.76a7a",\r
10391         "wires": [\r
10392             [\r
10393                 "ca18cabf.134c3"\r
10394             ]\r
10395         ]\r
10396     },\r
10397     {\r
10398         "id": "ca18cabf.134c3",\r
10399         "type": "block",\r
10400         "name": "block",\r
10401         "xml": "<block>\n",\r
10402         "atomic": "false",\r
10403         "comments": "",\r
10404         "outputs": 1,\r
10405         "x": 4154.13330078125,\r
10406         "y": 2710.2857666015625,\r
10407         "z": "1806503a.76a7a",\r
10408         "wires": [\r
10409             [\r
10410                 "ef98dd66.570548"\r
10411             ]\r
10412         ]\r
10413     },\r
10414     {\r
10415         "id": "ef98dd66.570548",\r
10416         "type": "save",\r
10417         "name": "get secondary root uni from aai",\r
10418         "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
10419         "comments": "",\r
10420         "outputs": 1,\r
10421         "x": 4380.467041015625,\r
10422         "y": 2703.619384765625,\r
10423         "z": "1806503a.76a7a",\r
10424         "wires": [\r
10425             [\r
10426                 "c3cc04e3.9995e8",\r
10427                 "96ef8840.c20b2",\r
10428                 "50ef7648.d143f"\r
10429             ]\r
10430         ]\r
10431     },\r
10432     {\r
10433         "id": "c3cc04e3.9995e8",\r
10434         "type": "not-found",\r
10435         "name": "not-found",\r
10436         "xml": "<outcome value='not-found'>\n",\r
10437         "comments": "",\r
10438         "outputs": 1,\r
10439         "x": 4747.466796875,\r
10440         "y": 2597.6192626953125,\r
10441         "z": "1806503a.76a7a",\r
10442         "wires": [\r
10443             [\r
10444                 "625acc3d.d4dd04"\r
10445             ]\r
10446         ]\r
10447     },\r
10448     {\r
10449         "id": "96ef8840.c20b2",\r
10450         "type": "failure",\r
10451         "name": "failure",\r
10452         "xml": "<outcome value='failure'>\n",\r
10453         "comments": "",\r
10454         "outputs": 1,\r
10455         "x": 4742.975830078125,\r
10456         "y": 2642.0452270507812,\r
10457         "z": "1806503a.76a7a",\r
10458         "wires": [\r
10459             [\r
10460                 "b87c29ed.e7a1d8"\r
10461             ]\r
10462         ]\r
10463     },\r
10464     {\r
10465         "id": "50ef7648.d143f",\r
10466         "type": "success",\r
10467         "name": "success",\r
10468         "xml": "<outcome value='success'>\n",\r
10469         "comments": "",\r
10470         "outputs": 1,\r
10471         "x": 4738.975830078125,\r
10472         "y": 2692.0452880859375,\r
10473         "z": "1806503a.76a7a",\r
10474         "wires": [\r
10475             [\r
10476                 "2796810b.682956"\r
10477             ]\r
10478         ]\r
10479     },\r
10480     {\r
10481         "id": "96d93656.6958b8",\r
10482         "type": "save",\r
10483         "name": "update SECONDARY-ROOT UNI in AAI",\r
10484         "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
10485         "comments": "",\r
10486         "outputs": 1,\r
10487         "x": 5186.976318359375,\r
10488         "y": 2687.04541015625,\r
10489         "z": "1806503a.76a7a",\r
10490         "wires": [\r
10491             []\r
10492         ]\r
10493     },\r
10494     {\r
10495         "id": "625acc3d.d4dd04",\r
10496         "type": "returnFailure",\r
10497         "name": "return failure",\r
10498         "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
10499         "comments": "",\r
10500         "x": 4910.038330078125,\r
10501         "y": 2596.9049682617188,\r
10502         "z": "1806503a.76a7a",\r
10503         "wires": []\r
10504     },\r
10505     {\r
10506         "id": "b87c29ed.e7a1d8",\r
10507         "type": "returnFailure",\r
10508         "name": "return failure",\r
10509         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
10510         "comments": "",\r
10511         "x": 4910.975830078125,\r
10512         "y": 2642.0452270507812,\r
10513         "z": "1806503a.76a7a",\r
10514         "wires": []\r
10515     },\r
10516     {\r
10517         "id": "2796810b.682956",\r
10518         "type": "block",\r
10519         "name": "block : atomic",\r
10520         "xml": "<block atomic=\"true\">",\r
10521         "atomic": "true",\r
10522         "outputs": 1,\r
10523         "x": 4907.975830078125,\r
10524         "y": 2692.0452880859375,\r
10525         "z": "1806503a.76a7a",\r
10526         "wires": [\r
10527             [\r
10528                 "5a769bdf.551e9c",\r
10529                 "96d93656.6958b8"\r
10530             ]\r
10531         ]\r
10532     },\r
10533     {\r
10534         "id": "5a769bdf.551e9c",\r
10535         "type": "set",\r
10536         "name": "set new bw",\r
10537         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
10538         "comments": "",\r
10539         "x": 5089.9765625,\r
10540         "y": 2634.0452880859375,\r
10541         "z": "1806503a.76a7a",\r
10542         "wires": []\r
10543     },\r
10544     {\r
10545         "id": "b7814ecb.1580d",\r
10546         "type": "switchNode",\r
10547         "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
10548         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
10549         "comments": "",\r
10550         "outputs": 1,\r
10551         "x": 4624.467041015625,\r
10552         "y": 3547.6190185546875,\r
10553         "z": "1806503a.76a7a",\r
10554         "wires": [\r
10555             [\r
10556                 "cf2467a.3e0e698"\r
10557             ]\r
10558         ]\r
10559     },\r
10560     {\r
10561         "id": "cf2467a.3e0e698",\r
10562         "type": "outcomeTrue",\r
10563         "name": "true",\r
10564         "xml": "<outcome value='true'>\n",\r
10565         "comments": "",\r
10566         "outputs": 1,\r
10567         "x": 4914.467041015625,\r
10568         "y": 3549.6190185546875,\r
10569         "z": "1806503a.76a7a",\r
10570         "wires": [\r
10571             [\r
10572                 "774ecc4a.3ad124"\r
10573             ]\r
10574         ]\r
10575     },\r
10576     {\r
10577         "id": "fc616200.2baf58",\r
10578         "type": "switchNode",\r
10579         "name": "switch $hasSecondary",\r
10580         "xml": "<switch test='`$hasSecondary`'>\n",\r
10581         "comments": "",\r
10582         "outputs": 1,\r
10583         "x": 4277,\r
10584         "y": 5777.6192626953125,\r
10585         "z": "1806503a.76a7a",\r
10586         "wires": [\r
10587             [\r
10588                 "b0c64a0a.29dee8"\r
10589             ]\r
10590         ]\r
10591     },\r
10592     {\r
10593         "id": "b0c64a0a.29dee8",\r
10594         "type": "outcomeTrue",\r
10595         "name": "true",\r
10596         "xml": "<outcome value='true'>\n",\r
10597         "comments": "",\r
10598         "outputs": 1,\r
10599         "x": 4468,\r
10600         "y": 5781.6192626953125,\r
10601         "z": "1806503a.76a7a",\r
10602         "wires": [\r
10603             [\r
10604                 "b39a4675.08bbf"\r
10605             ]\r
10606         ]\r
10607     },\r
10608     {\r
10609         "id": "b39a4675.08bbf",\r
10610         "type": "block",\r
10611         "name": "block",\r
10612         "xml": "<block>\n",\r
10613         "atomic": "false",\r
10614         "comments": "",\r
10615         "outputs": 1,\r
10616         "x": 4595,\r
10617         "y": 5780.6192626953125,\r
10618         "z": "1806503a.76a7a",\r
10619         "wires": [\r
10620             [\r
10621                 "6b59d25.075b22c"\r
10622             ]\r
10623         ]\r
10624     },\r
10625     {\r
10626         "id": "6b59d25.075b22c",\r
10627         "type": "switchNode",\r
10628         "name": "switch 2-ROOTS in same domain?",\r
10629         "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
10630         "comments": "",\r
10631         "outputs": 1,\r
10632         "x": 4820.3330078125,\r
10633         "y": 5782.6192626953125,\r
10634         "z": "1806503a.76a7a",\r
10635         "wires": [\r
10636             [\r
10637                 "84c8a22.08a86e",\r
10638                 "8ae9054d.68fd08"\r
10639             ]\r
10640         ]\r
10641     },\r
10642     {\r
10643         "id": "84c8a22.08a86e",\r
10644         "type": "outcomeTrue",\r
10645         "name": "true",\r
10646         "xml": "<outcome value='true'>\n",\r
10647         "comments": "",\r
10648         "outputs": 1,\r
10649         "x": 5030.3330078125,\r
10650         "y": 5759.6192626953125,\r
10651         "z": "1806503a.76a7a",\r
10652         "wires": [\r
10653             [\r
10654                 "93a0772f.9be09"\r
10655             ]\r
10656         ]\r
10657     },\r
10658     {\r
10659         "id": "8ae9054d.68fd08",\r
10660         "type": "outcomeTrue",\r
10661         "name": "false",\r
10662         "xml": "<outcome value='false'>\n",\r
10663         "comments": "",\r
10664         "outputs": 1,\r
10665         "x": 5035.3330078125,\r
10666         "y": 5808.6192626953125,\r
10667         "z": "1806503a.76a7a",\r
10668         "wires": [\r
10669             [\r
10670                 "2db83bd3.7a132c"\r
10671             ]\r
10672         ]\r
10673     },\r
10674     {\r
10675         "id": "93a0772f.9be09",\r
10676         "type": "block",\r
10677         "name": "block",\r
10678         "xml": "<block>\n",\r
10679         "atomic": "false",\r
10680         "comments": "",\r
10681         "outputs": 1,\r
10682         "x": 5156.3330078125,\r
10683         "y": 5759.6192626953125,\r
10684         "z": "1806503a.76a7a",\r
10685         "wires": [\r
10686             []\r
10687         ]\r
10688     },\r
10689     {\r
10690         "id": "2db83bd3.7a132c",\r
10691         "type": "block",\r
10692         "name": "block",\r
10693         "xml": "<block>\n",\r
10694         "atomic": "false",\r
10695         "comments": "",\r
10696         "outputs": 1,\r
10697         "x": 5153.3330078125,\r
10698         "y": 5815.6192626953125,\r
10699         "z": "1806503a.76a7a",\r
10700         "wires": [\r
10701             [\r
10702                 "81928378.5f469",\r
10703                 "9b2406e3.5e7a08"\r
10704             ]\r
10705         ]\r
10706     },\r
10707     {\r
10708         "id": "81928378.5f469",\r
10709         "type": "save",\r
10710         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10711         "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
10712         "comments": "",\r
10713         "outputs": 1,\r
10714         "x": 5467.3330078125,\r
10715         "y": 5874.6192626953125,\r
10716         "z": "1806503a.76a7a",\r
10717         "wires": [\r
10718             []\r
10719         ]\r
10720     },\r
10721     {\r
10722         "id": "6888e6dc.67e04",\r
10723         "type": "comment",\r
10724         "name": "Update connectivity status to modified",\r
10725         "info": "",\r
10726         "comments": "",\r
10727         "x": 5399.550048828125,\r
10728         "y": 5826.4190673828125,\r
10729         "z": "1806503a.76a7a",\r
10730         "wires": []\r
10731     },\r
10732     {\r
10733         "id": "9b2406e3.5e7a08",\r
10734         "type": "call",\r
10735         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10736         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10737         "comments": "",\r
10738         "outputs": 1,\r
10739         "x": 5598,\r
10740         "y": 5784.6192626953125,\r
10741         "z": "1806503a.76a7a",\r
10742         "wires": [\r
10743             []\r
10744         ]\r
10745     },\r
10746     {\r
10747         "id": "d07ac0db.fa9818",\r
10748         "type": "switchNode",\r
10749         "name": "switch $hasSecondary",\r
10750         "xml": "<switch test='`$hasSecondary`'>\n",\r
10751         "comments": "",\r
10752         "outputs": 1,\r
10753         "x": 868,\r
10754         "y": 4974.6187744140625,\r
10755         "z": "1806503a.76a7a",\r
10756         "wires": [\r
10757             [\r
10758                 "a4f6e106.afc2d"\r
10759             ]\r
10760         ]\r
10761     },\r
10762     {\r
10763         "id": "a4f6e106.afc2d",\r
10764         "type": "outcomeTrue",\r
10765         "name": "true",\r
10766         "xml": "<outcome value='true'>\n",\r
10767         "comments": "",\r
10768         "outputs": 1,\r
10769         "x": 1059,\r
10770         "y": 4978.6187744140625,\r
10771         "z": "1806503a.76a7a",\r
10772         "wires": [\r
10773             [\r
10774                 "617b198c.79c0a"\r
10775             ]\r
10776         ]\r
10777     },\r
10778     {\r
10779         "id": "617b198c.79c0a",\r
10780         "type": "block",\r
10781         "name": "block",\r
10782         "xml": "<block>\n",\r
10783         "atomic": "false",\r
10784         "comments": "",\r
10785         "outputs": 1,\r
10786         "x": 1186,\r
10787         "y": 4977.6187744140625,\r
10788         "z": "1806503a.76a7a",\r
10789         "wires": [\r
10790             [\r
10791                 "f89a9d64.adeb98"\r
10792             ]\r
10793         ]\r
10794     },\r
10795     {\r
10796         "id": "f89a9d64.adeb98",\r
10797         "type": "switchNode",\r
10798         "name": "switch 2-ROOTS in same domain?",\r
10799         "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
10800         "comments": "",\r
10801         "outputs": 1,\r
10802         "x": 1411.3330078125,\r
10803         "y": 4979.6187744140625,\r
10804         "z": "1806503a.76a7a",\r
10805         "wires": [\r
10806             [\r
10807                 "6035813d.1e7338",\r
10808                 "b4705906.43572"\r
10809             ]\r
10810         ]\r
10811     },\r
10812     {\r
10813         "id": "6035813d.1e7338",\r
10814         "type": "outcomeTrue",\r
10815         "name": "true",\r
10816         "xml": "<outcome value='true'>\n",\r
10817         "comments": "",\r
10818         "outputs": 1,\r
10819         "x": 1621.3330078125,\r
10820         "y": 4956.6187744140625,\r
10821         "z": "1806503a.76a7a",\r
10822         "wires": [\r
10823             [\r
10824                 "b1155932.92831"\r
10825             ]\r
10826         ]\r
10827     },\r
10828     {\r
10829         "id": "b4705906.43572",\r
10830         "type": "outcomeTrue",\r
10831         "name": "false",\r
10832         "xml": "<outcome value='false'>\n",\r
10833         "comments": "",\r
10834         "outputs": 1,\r
10835         "x": 1626.3330078125,\r
10836         "y": 5005.6187744140625,\r
10837         "z": "1806503a.76a7a",\r
10838         "wires": [\r
10839             [\r
10840                 "62407b64.a07c9c"\r
10841             ]\r
10842         ]\r
10843     },\r
10844     {\r
10845         "id": "b1155932.92831",\r
10846         "type": "block",\r
10847         "name": "block",\r
10848         "xml": "<block>\n",\r
10849         "atomic": "false",\r
10850         "comments": "",\r
10851         "outputs": 1,\r
10852         "x": 1747.3330078125,\r
10853         "y": 4956.6187744140625,\r
10854         "z": "1806503a.76a7a",\r
10855         "wires": [\r
10856             []\r
10857         ]\r
10858     },\r
10859     {\r
10860         "id": "62407b64.a07c9c",\r
10861         "type": "block",\r
10862         "name": "block",\r
10863         "xml": "<block>\n",\r
10864         "atomic": "false",\r
10865         "comments": "",\r
10866         "outputs": 1,\r
10867         "x": 1744.3330078125,\r
10868         "y": 5012.6187744140625,\r
10869         "z": "1806503a.76a7a",\r
10870         "wires": [\r
10871             [\r
10872                 "d0271ecc.53e168",\r
10873                 "83be22a.f7cdb6"\r
10874             ]\r
10875         ]\r
10876     },\r
10877     {\r
10878         "id": "83be22a.f7cdb6",\r
10879         "type": "call",\r
10880         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10881         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10882         "comments": "",\r
10883         "outputs": 1,\r
10884         "x": 2189,\r
10885         "y": 4981.6187744140625,\r
10886         "z": "1806503a.76a7a",\r
10887         "wires": [\r
10888             []\r
10889         ]\r
10890     },\r
10891     {\r
10892         "id": "d29b17e9.2cbf8",\r
10893         "type": "comment",\r
10894         "name": "Update connectivity status to modified",\r
10895         "info": "",\r
10896         "comments": "",\r
10897         "x": 1990.550048828125,\r
10898         "y": 5023.4185791015625,\r
10899         "z": "1806503a.76a7a",\r
10900         "wires": []\r
10901     },\r
10902     {\r
10903         "id": "d0271ecc.53e168",\r
10904         "type": "save",\r
10905         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10906         "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
10907         "comments": "",\r
10908         "outputs": 1,\r
10909         "x": 2058.3330078125,\r
10910         "y": 5071.6187744140625,\r
10911         "z": "1806503a.76a7a",\r
10912         "wires": [\r
10913             []\r
10914         ]\r
10915     },\r
10916     {\r
10917         "id": "e88fc760.9f3988",\r
10918         "type": "switchNode",\r
10919         "name": "switch $hasSecondary",\r
10920         "xml": "<switch test='`$hasSecondary`'>\n",\r
10921         "comments": "",\r
10922         "outputs": 1,\r
10923         "x": 1470.3333740234375,\r
10924         "y": 5815.6192626953125,\r
10925         "z": "1806503a.76a7a",\r
10926         "wires": [\r
10927             [\r
10928                 "c0695dac.6b173"\r
10929             ]\r
10930         ]\r
10931     },\r
10932     {\r
10933         "id": "c0695dac.6b173",\r
10934         "type": "outcomeTrue",\r
10935         "name": "true",\r
10936         "xml": "<outcome value='true'>\n",\r
10937         "comments": "",\r
10938         "outputs": 1,\r
10939         "x": 1661.3333740234375,\r
10940         "y": 5819.6192626953125,\r
10941         "z": "1806503a.76a7a",\r
10942         "wires": [\r
10943             [\r
10944                 "a704fbb5.caa0b"\r
10945             ]\r
10946         ]\r
10947     },\r
10948     {\r
10949         "id": "a704fbb5.caa0b",\r
10950         "type": "block",\r
10951         "name": "block",\r
10952         "xml": "<block>\n",\r
10953         "atomic": "false",\r
10954         "comments": "",\r
10955         "outputs": 1,\r
10956         "x": 1788.3333740234375,\r
10957         "y": 5818.6192626953125,\r
10958         "z": "1806503a.76a7a",\r
10959         "wires": [\r
10960             [\r
10961                 "bc272657.983128"\r
10962             ]\r
10963         ]\r
10964     },\r
10965     {\r
10966         "id": "bc272657.983128",\r
10967         "type": "switchNode",\r
10968         "name": "switch 2-ROOTS in same domain?",\r
10969         "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
10970         "comments": "",\r
10971         "outputs": 1,\r
10972         "x": 2013.6663818359375,\r
10973         "y": 5820.6192626953125,\r
10974         "z": "1806503a.76a7a",\r
10975         "wires": [\r
10976             [\r
10977                 "31bdfa25.d18a2e",\r
10978                 "c242900c.77afd8"\r
10979             ]\r
10980         ]\r
10981     },\r
10982     {\r
10983         "id": "31bdfa25.d18a2e",\r
10984         "type": "outcomeTrue",\r
10985         "name": "true",\r
10986         "xml": "<outcome value='true'>\n",\r
10987         "comments": "",\r
10988         "outputs": 1,\r
10989         "x": 2223.6663818359375,\r
10990         "y": 5797.6192626953125,\r
10991         "z": "1806503a.76a7a",\r
10992         "wires": [\r
10993             [\r
10994                 "9d78f5ef.5cf228"\r
10995             ]\r
10996         ]\r
10997     },\r
10998     {\r
10999         "id": "c242900c.77afd8",\r
11000         "type": "outcomeTrue",\r
11001         "name": "false",\r
11002         "xml": "<outcome value='false'>\n",\r
11003         "comments": "",\r
11004         "outputs": 1,\r
11005         "x": 2228.6663818359375,\r
11006         "y": 5846.6192626953125,\r
11007         "z": "1806503a.76a7a",\r
11008         "wires": [\r
11009             [\r
11010                 "d542d85e.71ea7"\r
11011             ]\r
11012         ]\r
11013     },\r
11014     {\r
11015         "id": "9d78f5ef.5cf228",\r
11016         "type": "block",\r
11017         "name": "block",\r
11018         "xml": "<block>\n",\r
11019         "atomic": "false",\r
11020         "comments": "",\r
11021         "outputs": 1,\r
11022         "x": 2349.6663818359375,\r
11023         "y": 5797.6192626953125,\r
11024         "z": "1806503a.76a7a",\r
11025         "wires": [\r
11026             []\r
11027         ]\r
11028     },\r
11029     {\r
11030         "id": "d542d85e.71ea7",\r
11031         "type": "block",\r
11032         "name": "block",\r
11033         "xml": "<block>\n",\r
11034         "atomic": "false",\r
11035         "comments": "",\r
11036         "outputs": 1,\r
11037         "x": 2346.6663818359375,\r
11038         "y": 5853.6192626953125,\r
11039         "z": "1806503a.76a7a",\r
11040         "wires": [\r
11041             [\r
11042                 "d23f59ed.73bc4",\r
11043                 "2e5ee108.277b9e"\r
11044             ]\r
11045         ]\r
11046     },\r
11047     {\r
11048         "id": "2e5ee108.277b9e",\r
11049         "type": "call",\r
11050         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
11051         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
11052         "comments": "",\r
11053         "outputs": 1,\r
11054         "x": 2791.3333740234375,\r
11055         "y": 5822.6192626953125,\r
11056         "z": "1806503a.76a7a",\r
11057         "wires": [\r
11058             []\r
11059         ]\r
11060     },\r
11061     {\r
11062         "id": "868b21d1.a7652",\r
11063         "type": "comment",\r
11064         "name": "Update connectivity status to modified",\r
11065         "info": "",\r
11066         "comments": "",\r
11067         "x": 2592.8834228515625,\r
11068         "y": 5864.4190673828125,\r
11069         "z": "1806503a.76a7a",\r
11070         "wires": []\r
11071     },\r
11072     {\r
11073         "id": "d23f59ed.73bc4",\r
11074         "type": "save",\r
11075         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
11076         "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
11077         "comments": "",\r
11078         "outputs": 1,\r
11079         "x": 2660.6663818359375,\r
11080         "y": 5912.6192626953125,\r
11081         "z": "1806503a.76a7a",\r
11082         "wires": [\r
11083             []\r
11084         ]\r
11085     },\r
11086     {\r
11087         "id": "73f93f1a.1715d8",\r
11088         "type": "execute",\r
11089         "name": "execute Terminate SSE Connection",\r
11090         "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
11091         "comments": "",\r
11092         "outputs": 1,\r
11093         "x": 1520.7666625976562,\r
11094         "y": 6121,\r
11095         "z": "1806503a.76a7a",\r
11096         "wires": [\r
11097             []\r
11098         ]\r
11099     },\r
11100     {\r
11101         "id": "5f7e37aa.0d2258",\r
11102         "type": "set",\r
11103         "name": "set parameters",\r
11104         "xml": "<set>\n<parameter name='subscriptionId' value='`$rcvd-bandwidth-value`' />\n",\r
11105         "comments": "",\r
11106         "x": 1452.800048828125,\r
11107         "y": 6062.39990234375,\r
11108         "z": "1806503a.76a7a",\r
11109         "wires": []\r
11110     },\r
11111     {\r
11112         "id": "29311664.f24592",\r
11113         "type": "execute",\r
11114         "name": "execute Terminate SSE Connection",\r
11115         "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
11116         "comments": "",\r
11117         "outputs": 1,\r
11118         "x": 2069.433349609375,\r
11119         "y": 5569.2333984375,\r
11120         "z": "1806503a.76a7a",\r
11121         "wires": [\r
11122             []\r
11123         ]\r
11124     }\r
11125 ]