50f87f432d1a8765acfeb585eb2b7ef826f39b94
[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": "4eba0592.d8f9ec",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 171.88333129882812,\r
8         "y": 174,\r
9         "z": "d1eceead.adafe",\r
10         "wires": [\r
11             [\r
12                 "2ad94242.d34e8e"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "2ad94242.d34e8e",\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": 235.23810863494873,\r
27         "z": "d1eceead.adafe",\r
28         "wires": [\r
29             [\r
30                 "86bffa6e.8633f8"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "86bffa6e.8633f8",\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": 320.0000305175781,\r
43         "z": "d1eceead.adafe",\r
44         "wires": [\r
45             [\r
46                 "47cd43dd.6a0c84"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "47cd43dd.6a0c84",\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": 379,\r
59         "z": "d1eceead.adafe",\r
60         "wires": [\r
61             [\r
62                 "17095ff1.ceb8e",\r
63                 "f2cac95d.2dd4f",\r
64                 "41a5db6f.16b124"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "17095ff1.ceb8e",\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": 649.9302978515625,\r
76         "z": "d1eceead.adafe",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "f2cac95d.2dd4f",\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": 352.33331298828125,\r
88         "z": "d1eceead.adafe",\r
89         "wires": [\r
90             [\r
91                 "d39ef031.51bcf8",\r
92                 "d0a14c94.f617f8",\r
93                 "66ff38b5.215e28"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "d39ef031.51bcf8",\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": 210.33331298828125,\r
106         "z": "d1eceead.adafe",\r
107         "wires": [\r
108             [\r
109                 "6bec9327.9503c4"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "d0a14c94.f617f8",\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": 279.9073486328125,\r
122         "z": "d1eceead.adafe",\r
123         "wires": [\r
124             [\r
125                 "73227915.55ca3"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "66ff38b5.215e28",\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": 326.33331298828125,\r
138         "z": "d1eceead.adafe",\r
139         "wires": [\r
140             [\r
141                 "5c121a7a.2c527c"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "dcc088f.fb3b378",\r
147         "type": "comment",\r
148         "name": "new for TransportSlicing",\r
149         "info": "",\r
150         "comments": "",\r
151         "x": 1113.6452941894531,\r
152         "y": 240.33331298828125,\r
153         "z": "d1eceead.adafe",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "41a5db6f.16b124",\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": 292.33331298828125,\r
165         "z": "d1eceead.adafe",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "6bec9327.9503c4",\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": 207,\r
179         "z": "d1eceead.adafe",\r
180         "wires": [\r
181             [\r
182                 "52c7d728.b872f8",\r
183                 "31624b25.4a6dec"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "73227915.55ca3",\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": 282.8597717285156,\r
195         "z": "d1eceead.adafe",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "5c121a7a.2c527c",\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": 327,\r
206         "z": "d1eceead.adafe",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "52c7d728.b872f8",\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": 244,\r
218         "z": "d1eceead.adafe",\r
219         "wires": [\r
220             [\r
221                 "b08352cf.6ac34"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "31624b25.4a6dec",\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": 171,\r
234         "z": "d1eceead.adafe",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "b08352cf.6ac34",\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": 319,\r
249         "z": "d1eceead.adafe",\r
250         "wires": [\r
251             [\r
252                 "bdd428b9.6fddd",\r
253                 "8710bcb7.6e657",\r
254                 "6f728611.a8a3e",\r
255                 "6d42412e.61e8d",\r
256                 "e22daf3c.82e7c8"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "50e447ae.0fde38",\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": 370,\r
269         "z": "d1eceead.adafe",\r
270         "wires": [\r
271             [\r
272                 "27d61e5e.f12fe2",\r
273                 "2c908c8d.59c394",\r
274                 "32fadd2c.e0a1c2"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "27d61e5e.f12fe2",\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": 437,\r
287         "z": "d1eceead.adafe",\r
288         "wires": [\r
289             [\r
290                 "4e35bc34.a92d94"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "2c908c8d.59c394",\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": 336.573974609375,\r
303         "z": "d1eceead.adafe",\r
304         "wires": [\r
305             [\r
306                 "6fdcac69.b07bec"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "32fadd2c.e0a1c2",\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": 386,\r
319         "z": "d1eceead.adafe",\r
320         "wires": [\r
321             [\r
322                 "71176ed6.70694"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "bdd428b9.6fddd",\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": 351,\r
335         "z": "d1eceead.adafe",\r
336         "wires": [\r
337             [\r
338                 "7043f926.26b93",\r
339                 "50e447ae.0fde38",\r
340                 "8af2638e.140428",\r
341                 "b2d6bb83.745318"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "7043f926.26b93",\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": 289,\r
353         "z": "d1eceead.adafe",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "6d42412e.61e8d",\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": 301,\r
364         "z": "d1eceead.adafe",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "8710bcb7.6e657",\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": 160,\r
376         "z": "d1eceead.adafe",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "6f728611.a8a3e",\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": 201,\r
390         "z": "d1eceead.adafe",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "8a5a98d5.6ebb1",\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": 113,\r
403         "z": "d1eceead.adafe",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "2303563c.e9131a",\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": 247,\r
414         "z": "d1eceead.adafe",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "6fdcac69.b07bec",\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": 339,\r
425         "z": "d1eceead.adafe",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "71176ed6.70694",\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": 388.1402587890625,\r
436         "z": "d1eceead.adafe",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "4e35bc34.a92d94",\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": 439.1402587890625,\r
448         "z": "d1eceead.adafe",\r
449         "wires": [\r
450             [\r
451                 "6a0085f3.85f3dc"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "6a0085f3.85f3dc",\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": 386.1402587890625,\r
464         "z": "d1eceead.adafe",\r
465         "wires": [\r
466             [\r
467                 "47170bd3.47cd24",\r
468                 "41231d4a.3c5914",\r
469                 "413cb45a.a52f94"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "41231d4a.3c5914",\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": 3247.311798095703,\r
481         "y": 278.7142333984375,\r
482         "z": "d1eceead.adafe",\r
483         "wires": [\r
484             [\r
485                 "ddcd6972.1cc26"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "ddcd6972.1cc26",\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": 3424.883331298828,\r
496         "y": 279,\r
497         "z": "d1eceead.adafe",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "413cb45a.a52f94",\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": 3242.820831298828,\r
508         "y": 328.1402587890625,\r
509         "z": "d1eceead.adafe",\r
510         "wires": [\r
511             [\r
512                 "29789682.9a5ca2"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "29789682.9a5ca2",\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": 3424.820831298828,\r
523         "y": 328.1402587890625,\r
524         "z": "d1eceead.adafe",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "47170bd3.47cd24",\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": 3246.820831298828,\r
535         "y": 379.1402587890625,\r
536         "z": "d1eceead.adafe",\r
537         "wires": [\r
538             [\r
539                 "5d602163.27f0b"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "5d602163.27f0b",\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": 3426.820831298828,\r
551         "y": 379.1402587890625,\r
552         "z": "d1eceead.adafe",\r
553         "wires": [\r
554             [\r
555                 "dd9e7161.bb7c"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "dd9e7161.bb7c",\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": 514,\r
568         "z": "d1eceead.adafe",\r
569         "wires": [\r
570             [\r
571                 "e567be5f.46cf",\r
572                 "117d3c85.14baf3"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "117d3c85.14baf3",\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": 3302.883331298828,\r
584         "y": 521,\r
585         "z": "d1eceead.adafe",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "e567be5f.46cf",\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": 3301.883331298828,\r
598         "y": 575,\r
599         "z": "d1eceead.adafe",\r
600         "wires": [\r
601             [\r
602                 "1aa53c9a.ee4c73"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "16e58d5c.45543b",\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": 4046.883331298828,\r
614         "y": 529,\r
615         "z": "d1eceead.adafe",\r
616         "wires": [\r
617             [\r
618                 "e0a75ebb.a4e0a"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "e0a75ebb.a4e0a",\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": 4223.883209228516,\r
630         "y": 521.9998779296875,\r
631         "z": "d1eceead.adafe",\r
632         "wires": [\r
633             [\r
634                 "64783b1d.9ea984",\r
635                 "aa6dd372.e093d"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "1aa53c9a.ee4c73",\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": 3465.883331298828,\r
647         "y": 501,\r
648         "z": "d1eceead.adafe",\r
649         "wires": [\r
650             [\r
651                 "9d9386aa.4ba0f",\r
652                 "a5c7d0d0.70a6f8"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "9d9386aa.4ba0f",\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": 3746.883331298828,\r
664         "y": 457,\r
665         "z": "d1eceead.adafe",\r
666         "wires": [\r
667             [\r
668                 "ac9ffe20.350ab8"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "ac9ffe20.350ab8",\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": 4008.883331298828,\r
680         "y": 457,\r
681         "z": "d1eceead.adafe",\r
682         "wires": [\r
683             [\r
684                 "16e58d5c.45543b"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "64783b1d.9ea984",\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": 4466.883209228516,\r
695         "y": 478.9998779296875,\r
696         "z": "d1eceead.adafe",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "aa6dd372.e093d",\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": 4455.883209228516,\r
707         "y": 533.9998779296875,\r
708         "z": "d1eceead.adafe",\r
709         "wires": [\r
710             [\r
711                 "a2aec981.c05928",\r
712                 "c6a2ea9c.683df",\r
713                 "b8928013.256998"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "b8928013.256998",\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": 4708.883331298828,\r
725         "y": 420,\r
726         "z": "d1eceead.adafe",\r
727         "wires": [\r
728             [\r
729                 "83be4f6.3f006b"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "83be4f6.3f006b",\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": 4857.454864501953,\r
740         "y": 420.2857666015625,\r
741         "z": "d1eceead.adafe",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "586d6db7.c2d804",\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": 4856.392364501953,\r
751         "y": 464.426025390625,\r
752         "z": "d1eceead.adafe",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "c6a2ea9c.683df",\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": 4697.392364501953,\r
763         "y": 464.426025390625,\r
764         "z": "d1eceead.adafe",\r
765         "wires": [\r
766             [\r
767                 "586d6db7.c2d804"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "a2aec981.c05928",\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": 4704.392364501953,\r
779         "y": 543.426025390625,\r
780         "z": "d1eceead.adafe",\r
781         "wires": [\r
782             [\r
783                 "4d4b39ee.fece78"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "4d4b39ee.fece78",\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": 4843.392364501953,\r
796         "y": 543.426025390625,\r
797         "z": "d1eceead.adafe",\r
798         "wires": [\r
799             [\r
800                 "68714312.362fe4",\r
801                 "860808d4.582b4"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "68714312.362fe4",\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": 5048.883331298828,\r
812         "y": 541,\r
813         "z": "d1eceead.adafe",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "860808d4.582b4",\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": 5047.883331298828,\r
823         "y": 587,\r
824         "z": "d1eceead.adafe",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "a5c7d0d0.70a6f8",\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": 3563.883331298828,\r
835         "y": 573,\r
836         "z": "d1eceead.adafe",\r
837         "wires": [\r
838             [\r
839                 "91204981.e8b1c8"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "91204981.e8b1c8",\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": 3843.883331298828,\r
851         "y": 573,\r
852         "z": "d1eceead.adafe",\r
853         "wires": [\r
854             [\r
855                 "815c7496.5664a8"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "815c7496.5664a8",\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": 826.0001220703125,\r
868         "z": "d1eceead.adafe",\r
869         "wires": [\r
870             [\r
871                 "2e1a5e6a.390622"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "2e1a5e6a.390622",\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": 819,\r
884         "z": "d1eceead.adafe",\r
885         "wires": [\r
886             [\r
887                 "fda12a63.354948",\r
888                 "9acb494f.3c831"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "fda12a63.354948",\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": 776,\r
900         "z": "d1eceead.adafe",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "9acb494f.3c831",\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": 831,\r
912         "z": "d1eceead.adafe",\r
913         "wires": [\r
914             [\r
915                 "2cf3e7af.84ed7",\r
916                 "7720ff91.14ecb8",\r
917                 "6208751c.cb4214"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "2cf3e7af.84ed7",\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": 809.573974609375,\r
930         "z": "d1eceead.adafe",\r
931         "wires": [\r
932             [\r
933                 "644aada5.da5074"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "7720ff91.14ecb8",\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": 854,\r
946         "z": "d1eceead.adafe",\r
947         "wires": [\r
948             [\r
949                 "b4b18b88.8b8778"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "644aada5.da5074",\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": 809.8597412109375,\r
961         "z": "d1eceead.adafe",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "b4b18b88.8b8778",\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": 854,\r
972         "z": "d1eceead.adafe",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "6208751c.cb4214",\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": 933,\r
984         "z": "d1eceead.adafe",\r
985         "wires": [\r
986             [\r
987                 "f4a1f138.8436a"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "f4a1f138.8436a",\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": 933,\r
1001         "z": "d1eceead.adafe",\r
1002         "wires": [\r
1003             [\r
1004                 "64b776d1.df13b8",\r
1005                 "cf58d1a3.b75bc8",\r
1006                 "a4d7ff96.ceb5f8",\r
1007                 "4f57fa4.5908a84",\r
1008                 "93281de6.9193c8",\r
1009                 "279a0c66.95b87c",\r
1010                 "2fd6be0.ec30642",\r
1011                 "3458f9fd.a9fdce",\r
1012                 "b114579a.337d4",\r
1013                 "83634982.62f32",\r
1014                 "a78c5989.f5207",\r
1015                 "dc895d5a.f09ef",\r
1016                 "8c6f82a5.234d18",\r
1017                 "a984d0c7.8574d",\r
1018                 "49347bae.3e2974"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "fe79d8e9.168438",\r
1024         "type": "execute",\r
1025         "name": "execute UUID generator for ethernet-service-name",\r
1026         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1027         "comments": "",\r
1028         "outputs": 1,\r
1029         "x": 3405.883331298828,\r
1030         "y": 739,\r
1031         "z": "d1eceead.adafe",\r
1032         "wires": [\r
1033             []\r
1034         ]\r
1035     },\r
1036     {\r
1037         "id": "64b776d1.df13b8",\r
1038         "type": "execute",\r
1039         "name": "execute UUID generator for otn-tunnel-name",\r
1040         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1041         "comments": "",\r
1042         "outputs": 1,\r
1043         "x": 3386.883331298828,\r
1044         "y": 789,\r
1045         "z": "d1eceead.adafe",\r
1046         "wires": [\r
1047             []\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "dc895d5a.f09ef",\r
1052         "type": "set",\r
1053         "name": "set new ethernet-service-name",\r
1054         "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
1055         "comments": "",\r
1056         "x": 3343.883331298828,\r
1057         "y": 834,\r
1058         "z": "d1eceead.adafe",\r
1059         "wires": []\r
1060     },\r
1061     {\r
1062         "id": "cf58d1a3.b75bc8",\r
1063         "type": "set",\r
1064         "name": "set network-route-one",\r
1065         "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1066         "comments": "",\r
1067         "x": 3318.883331298828,\r
1068         "y": 897,\r
1069         "z": "d1eceead.adafe",\r
1070         "wires": []\r
1071     },\r
1072     {\r
1073         "id": "a4d7ff96.ceb5f8",\r
1074         "type": "set",\r
1075         "name": "set network-route-two",\r
1076         "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1077         "comments": "",\r
1078         "x": 3319.883331298828,\r
1079         "y": 952,\r
1080         "z": "d1eceead.adafe",\r
1081         "wires": []\r
1082     },\r
1083     {\r
1084         "id": "4f57fa4.5908a84",\r
1085         "type": "save",\r
1086         "name": "get network-route-one from aai",\r
1087         "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
1088         "comments": "",\r
1089         "outputs": 1,\r
1090         "x": 3335.883331298828,\r
1091         "y": 1000,\r
1092         "z": "d1eceead.adafe",\r
1093         "wires": [\r
1094             [\r
1095                 "722a434e.2a3adc",\r
1096                 "e8fe3cd4.c3586",\r
1097                 "fdbfe007.1ea3b"\r
1098             ]\r
1099         ]\r
1100     },\r
1101     {\r
1102         "id": "93281de6.9193c8",\r
1103         "type": "save",\r
1104         "name": "get network-route-two from aai",\r
1105         "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
1106         "comments": "",\r
1107         "outputs": 1,\r
1108         "x": 3324.883331298828,\r
1109         "y": 1086.9998779296875,\r
1110         "z": "d1eceead.adafe",\r
1111         "wires": [\r
1112             [\r
1113                 "b372ac3d.0a4b1",\r
1114                 "d24aa16b.e47da",\r
1115                 "419032bc.a4963c"\r
1116             ]\r
1117         ]\r
1118     },\r
1119     {\r
1120         "id": "722a434e.2a3adc",\r
1121         "type": "not-found",\r
1122         "name": "not-found",\r
1123         "xml": "<outcome value='not-found'>\n",\r
1124         "comments": "",\r
1125         "outputs": 1,\r
1126         "x": 3536.883331298828,\r
1127         "y": 884,\r
1128         "z": "d1eceead.adafe",\r
1129         "wires": [\r
1130             [\r
1131                 "aae0d761.ec3158"\r
1132             ]\r
1133         ]\r
1134     },\r
1135     {\r
1136         "id": "e8fe3cd4.c3586",\r
1137         "type": "failure",\r
1138         "name": "failure",\r
1139         "xml": "<outcome value='failure'>\n",\r
1140         "comments": "",\r
1141         "outputs": 1,\r
1142         "x": 3532.392364501953,\r
1143         "y": 933.426025390625,\r
1144         "z": "d1eceead.adafe",\r
1145         "wires": [\r
1146             [\r
1147                 "af62b91c.6bf638"\r
1148             ]\r
1149         ]\r
1150     },\r
1151     {\r
1152         "id": "fdbfe007.1ea3b",\r
1153         "type": "success",\r
1154         "name": "success",\r
1155         "xml": "<outcome value='success'>\n",\r
1156         "comments": "",\r
1157         "outputs": 1,\r
1158         "x": 3536.392364501953,\r
1159         "y": 986.426025390625,\r
1160         "z": "d1eceead.adafe",\r
1161         "wires": [\r
1162             [\r
1163                 "72360610.10f7e"\r
1164             ]\r
1165         ]\r
1166     },\r
1167     {\r
1168         "id": "aae0d761.ec3158",\r
1169         "type": "returnFailure",\r
1170         "name": "return failure",\r
1171         "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
1172         "comments": "",\r
1173         "x": 3685.454864501953,\r
1174         "y": 883.2857666015625,\r
1175         "z": "d1eceead.adafe",\r
1176         "wires": []\r
1177     },\r
1178     {\r
1179         "id": "af62b91c.6bf638",\r
1180         "type": "returnFailure",\r
1181         "name": "return failure",\r
1182         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1183         "comments": "",\r
1184         "x": 3675.392364501953,\r
1185         "y": 933.426025390625,\r
1186         "z": "d1eceead.adafe",\r
1187         "wires": []\r
1188     },\r
1189     {\r
1190         "id": "b372ac3d.0a4b1",\r
1191         "type": "not-found",\r
1192         "name": "not-found",\r
1193         "xml": "<outcome value='not-found'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 3547.883331298828,\r
1197         "y": 1056.9998779296875,\r
1198         "z": "d1eceead.adafe",\r
1199         "wires": [\r
1200             [\r
1201                 "3bdfccb0.f2d08c"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "d24aa16b.e47da",\r
1207         "type": "failure",\r
1208         "name": "failure",\r
1209         "xml": "<outcome value='failure'>\n",\r
1210         "comments": "",\r
1211         "outputs": 1,\r
1212         "x": 3543.392364501953,\r
1213         "y": 1106.4259033203125,\r
1214         "z": "d1eceead.adafe",\r
1215         "wires": [\r
1216             [\r
1217                 "57f2def1.81f4e"\r
1218             ]\r
1219         ]\r
1220     },\r
1221     {\r
1222         "id": "419032bc.a4963c",\r
1223         "type": "success",\r
1224         "name": "success",\r
1225         "xml": "<outcome value='success'>\n",\r
1226         "comments": "",\r
1227         "outputs": 1,\r
1228         "x": 3544.392364501953,\r
1229         "y": 1159.4259033203125,\r
1230         "z": "d1eceead.adafe",\r
1231         "wires": [\r
1232             [\r
1233                 "91fe26d2.5b80d"\r
1234             ]\r
1235         ]\r
1236     },\r
1237     {\r
1238         "id": "3bdfccb0.f2d08c",\r
1239         "type": "returnFailure",\r
1240         "name": "return failure",\r
1241         "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
1242         "comments": "",\r
1243         "x": 3696.454864501953,\r
1244         "y": 1056.28564453125,\r
1245         "z": "d1eceead.adafe",\r
1246         "wires": []\r
1247     },\r
1248     {\r
1249         "id": "57f2def1.81f4e",\r
1250         "type": "returnFailure",\r
1251         "name": "return failure",\r
1252         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1253         "comments": "",\r
1254         "x": 3686.392364501953,\r
1255         "y": 1106.4259033203125,\r
1256         "z": "d1eceead.adafe",\r
1257         "wires": []\r
1258     },\r
1259     {\r
1260         "id": "72360610.10f7e",\r
1261         "type": "block",\r
1262         "name": "block : atomic",\r
1263         "xml": "<block atomic=\"true\">",\r
1264         "atomic": "true",\r
1265         "outputs": 1,\r
1266         "x": 3697.883331298828,\r
1267         "y": 986,\r
1268         "z": "d1eceead.adafe",\r
1269         "wires": [\r
1270             [\r
1271                 "21ff581a.7d3f68"\r
1272             ]\r
1273         ]\r
1274     },\r
1275     {\r
1276         "id": "91fe26d2.5b80d",\r
1277         "type": "block",\r
1278         "name": "block : atomic",\r
1279         "xml": "<block atomic=\"true\">",\r
1280         "atomic": "true",\r
1281         "outputs": 1,\r
1282         "x": 3697.883331298828,\r
1283         "y": 1158.9998779296875,\r
1284         "z": "d1eceead.adafe",\r
1285         "wires": [\r
1286             [\r
1287                 "f4949055.0aa838"\r
1288             ]\r
1289         ]\r
1290     },\r
1291     {\r
1292         "id": "21ff581a.7d3f68",\r
1293         "type": "switchNode",\r
1294         "name": "switch nr type",\r
1295         "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1296         "comments": "",\r
1297         "outputs": 1,\r
1298         "x": 3869.883331298828,\r
1299         "y": 986,\r
1300         "z": "d1eceead.adafe",\r
1301         "wires": [\r
1302             [\r
1303                 "d771576e.5459b",\r
1304                 "743ce77.86c2e98"\r
1305             ]\r
1306         ]\r
1307     },\r
1308     {\r
1309         "id": "f4949055.0aa838",\r
1310         "type": "switchNode",\r
1311         "name": "switch nr type",\r
1312         "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1313         "comments": "",\r
1314         "outputs": 1,\r
1315         "x": 3870.883331298828,\r
1316         "y": 1159,\r
1317         "z": "d1eceead.adafe",\r
1318         "wires": [\r
1319             [\r
1320                 "854204ac.64311",\r
1321                 "5401ccd6.c2c2e4"\r
1322             ]\r
1323         ]\r
1324     },\r
1325     {\r
1326         "id": "d771576e.5459b",\r
1327         "type": "outcome",\r
1328         "name": "ROOT",\r
1329         "xml": "<outcome value='ROOT'>\n",\r
1330         "comments": "",\r
1331         "outputs": 1,\r
1332         "x": 4045.883331298828,\r
1333         "y": 965,\r
1334         "z": "d1eceead.adafe",\r
1335         "wires": [\r
1336             [\r
1337                 "2e04d27d.5faff6"\r
1338             ]\r
1339         ]\r
1340     },\r
1341     {\r
1342         "id": "743ce77.86c2e98",\r
1343         "type": "outcome",\r
1344         "name": "LEAF",\r
1345         "xml": "<outcome value='LEAF'>\n",\r
1346         "comments": "",\r
1347         "outputs": 1,\r
1348         "x": 4047.883331298828,\r
1349         "y": 1019,\r
1350         "z": "d1eceead.adafe",\r
1351         "wires": [\r
1352             [\r
1353                 "12c64a9b.27d615"\r
1354             ]\r
1355         ]\r
1356     },\r
1357     {\r
1358         "id": "854204ac.64311",\r
1359         "type": "outcome",\r
1360         "name": "ROOT",\r
1361         "xml": "<outcome value='ROOT'>\n",\r
1362         "comments": "",\r
1363         "outputs": 1,\r
1364         "x": 4046.883331298828,\r
1365         "y": 1129,\r
1366         "z": "d1eceead.adafe",\r
1367         "wires": [\r
1368             [\r
1369                 "a8347389.2ab3b"\r
1370             ]\r
1371         ]\r
1372     },\r
1373     {\r
1374         "id": "5401ccd6.c2c2e4",\r
1375         "type": "outcome",\r
1376         "name": "LEAF",\r
1377         "xml": "<outcome value='LEAF'>\n",\r
1378         "comments": "",\r
1379         "outputs": 1,\r
1380         "x": 4048.883331298828,\r
1381         "y": 1183,\r
1382         "z": "d1eceead.adafe",\r
1383         "wires": [\r
1384             [\r
1385                 "49b6f3ad.a55ac4"\r
1386             ]\r
1387         ]\r
1388     },\r
1389     {\r
1390         "id": "20ddeea0.a0e9ea",\r
1391         "type": "set",\r
1392         "name": "set network-route-ROOT",\r
1393         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1394         "comments": "",\r
1395         "x": 4355.883331298828,\r
1396         "y": 917,\r
1397         "z": "d1eceead.adafe",\r
1398         "wires": []\r
1399     },\r
1400     {\r
1401         "id": "a4916484.b95cf",\r
1402         "type": "set",\r
1403         "name": "set network-route-LEAF",\r
1404         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1405         "comments": "",\r
1406         "x": 4348.883331298828,\r
1407         "y": 1015,\r
1408         "z": "d1eceead.adafe",\r
1409         "wires": []\r
1410     },\r
1411     {\r
1412         "id": "2f347429.e690cc",\r
1413         "type": "set",\r
1414         "name": "set network-route-ROOT",\r
1415         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1416         "comments": "",\r
1417         "x": 4348.883331298828,\r
1418         "y": 1102,\r
1419         "z": "d1eceead.adafe",\r
1420         "wires": []\r
1421     },\r
1422     {\r
1423         "id": "cad2e783.60fc68",\r
1424         "type": "set",\r
1425         "name": "set network-route-LEAF",\r
1426         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1427         "comments": "",\r
1428         "x": 4352.883331298828,\r
1429         "y": 1195,\r
1430         "z": "d1eceead.adafe",\r
1431         "wires": []\r
1432     },\r
1433     {\r
1434         "id": "b1d86e33.3aa378",\r
1435         "type": "success",\r
1436         "name": "success",\r
1437         "xml": "<outcome value='success'>\n",\r
1438         "comments": "",\r
1439         "outputs": 1,\r
1440         "x": 3579.883331298828,\r
1441         "y": 1604,\r
1442         "z": "d1eceead.adafe",\r
1443         "wires": [\r
1444             [\r
1445                 "a5f9a85c.99ac48"\r
1446             ]\r
1447         ]\r
1448     },\r
1449     {\r
1450         "id": "a4982a5c.ee1f08",\r
1451         "type": "not-found",\r
1452         "name": "not-found",\r
1453         "xml": "<outcome value='not-found'>\n",\r
1454         "comments": "",\r
1455         "outputs": 1,\r
1456         "x": 3589.374298095703,\r
1457         "y": 1646.5740356445312,\r
1458         "z": "d1eceead.adafe",\r
1459         "wires": [\r
1460             [\r
1461                 "bbb83480.f4afb8"\r
1462             ]\r
1463         ]\r
1464     },\r
1465     {\r
1466         "id": "9afba595.5831a",\r
1467         "type": "failure",\r
1468         "name": "failure",\r
1469         "xml": "<outcome value='failure'>\n",\r
1470         "comments": "",\r
1471         "outputs": 1,\r
1472         "x": 3577.883331298828,\r
1473         "y": 1693,\r
1474         "z": "d1eceead.adafe",\r
1475         "wires": [\r
1476             [\r
1477                 "eeac5d42.037ff"\r
1478             ]\r
1479         ]\r
1480     },\r
1481     {\r
1482         "id": "a9f44662.0eb94",\r
1483         "type": "comment",\r
1484         "name": "Question?",\r
1485         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1486         "comments": "",\r
1487         "x": 3279.883331298828,\r
1488         "y": 1566,\r
1489         "z": "d1eceead.adafe",\r
1490         "wires": []\r
1491     },\r
1492     {\r
1493         "id": "2fd6be0.ec30642",\r
1494         "type": "save",\r
1495         "name": "get p-interface-src from aai",\r
1496         "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
1497         "comments": "",\r
1498         "outputs": 1,\r
1499         "x": 3322.883331298828,\r
1500         "y": 1631,\r
1501         "z": "d1eceead.adafe",\r
1502         "wires": [\r
1503             [\r
1504                 "b1d86e33.3aa378",\r
1505                 "a4982a5c.ee1f08",\r
1506                 "9afba595.5831a"\r
1507             ]\r
1508         ]\r
1509     },\r
1510     {\r
1511         "id": "279a0c66.95b87c",\r
1512         "type": "execute",\r
1513         "name": "execute split tp-id to get pnf-name",\r
1514         "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
1515         "comments": "",\r
1516         "outputs": 1,\r
1517         "x": 3323.883331298828,\r
1518         "y": 1301,\r
1519         "z": "d1eceead.adafe",\r
1520         "wires": [\r
1521             [\r
1522                 "ab7f6387.a06298",\r
1523                 "178d0fab.57c17"\r
1524             ]\r
1525         ]\r
1526     },\r
1527     {\r
1528         "id": "178d0fab.57c17",\r
1529         "type": "failure",\r
1530         "name": "success",\r
1531         "xml": "<outcome value='success'>\n",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 3546.883331298828,\r
1535         "y": 1287,\r
1536         "z": "d1eceead.adafe",\r
1537         "wires": [\r
1538             [\r
1539                 "174b650f.6f4cdb"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "ab7f6387.a06298",\r
1545         "type": "failure",\r
1546         "name": "failure",\r
1547         "xml": "<outcome value='failure'>\n",\r
1548         "comments": "",\r
1549         "outputs": 1,\r
1550         "x": 3548.883331298828,\r
1551         "y": 1320,\r
1552         "z": "d1eceead.adafe",\r
1553         "wires": [\r
1554             [\r
1555                 "109222da.cab295"\r
1556             ]\r
1557         ]\r
1558     },\r
1559     {\r
1560         "id": "a5f9a85c.99ac48",\r
1561         "type": "block",\r
1562         "name": "block : atomic",\r
1563         "xml": "<block atomic=\"true\">",\r
1564         "atomic": "true",\r
1565         "outputs": 1,\r
1566         "x": 3752.549835205078,\r
1567         "y": 1603,\r
1568         "z": "d1eceead.adafe",\r
1569         "wires": [\r
1570             [\r
1571                 "f0dfffc5.29d178",\r
1572                 "acd2704e.4ae308"\r
1573             ]\r
1574         ]\r
1575     },\r
1576     {\r
1577         "id": "bbb83480.f4afb8",\r
1578         "type": "returnFailure",\r
1579         "name": "return failure",\r
1580         "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
1581         "comments": "",\r
1582         "x": 3742.9457092285156,\r
1583         "y": 1649.8597717285156,\r
1584         "z": "d1eceead.adafe",\r
1585         "wires": []\r
1586     },\r
1587     {\r
1588         "id": "eeac5d42.037ff",\r
1589         "type": "returnFailure",\r
1590         "name": "return failure",\r
1591         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1592         "comments": "",\r
1593         "x": 3746.883331298828,\r
1594         "y": 1694,\r
1595         "z": "d1eceead.adafe",\r
1596         "wires": []\r
1597     },\r
1598     {\r
1599         "id": "f0dfffc5.29d178",\r
1600         "type": "execute",\r
1601         "name": "execute split tp-id to get pnf-name",\r
1602         "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
1603         "comments": "",\r
1604         "outputs": 1,\r
1605         "x": 4016.883331298828,\r
1606         "y": 1587,\r
1607         "z": "d1eceead.adafe",\r
1608         "wires": [\r
1609             [\r
1610                 "11bdf0f4.508487",\r
1611                 "23d1e1ad.23f75e"\r
1612             ]\r
1613         ]\r
1614     },\r
1615     {\r
1616         "id": "23d1e1ad.23f75e",\r
1617         "type": "failure",\r
1618         "name": "success",\r
1619         "xml": "<outcome value='success'>\n",\r
1620         "comments": "",\r
1621         "outputs": 1,\r
1622         "x": 4239.883331298828,\r
1623         "y": 1542,\r
1624         "z": "d1eceead.adafe",\r
1625         "wires": [\r
1626             [\r
1627                 "3fc7a366.f1683c"\r
1628             ]\r
1629         ]\r
1630     },\r
1631     {\r
1632         "id": "11bdf0f4.508487",\r
1633         "type": "failure",\r
1634         "name": "failure",\r
1635         "xml": "<outcome value='failure'>\n",\r
1636         "comments": "",\r
1637         "outputs": 1,\r
1638         "x": 4241.883331298828,\r
1639         "y": 1606,\r
1640         "z": "d1eceead.adafe",\r
1641         "wires": [\r
1642             [\r
1643                 "d6cac3a3.d1f4"\r
1644             ]\r
1645         ]\r
1646     },\r
1647     {\r
1648         "id": "d6cac3a3.d1f4",\r
1649         "type": "returnFailure",\r
1650         "name": "return failure",\r
1651         "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
1652         "comments": "",\r
1653         "x": 4403.883331298828,\r
1654         "y": 1602,\r
1655         "z": "d1eceead.adafe",\r
1656         "wires": []\r
1657     },\r
1658     {\r
1659         "id": "3fc7a366.f1683c",\r
1660         "type": "block",\r
1661         "name": "block : atomic",\r
1662         "xml": "<block atomic=\"true\">",\r
1663         "atomic": "true",\r
1664         "outputs": 1,\r
1665         "x": 4404.883331298828,\r
1666         "y": 1539,\r
1667         "z": "d1eceead.adafe",\r
1668         "wires": [\r
1669             [\r
1670                 "d54289dc.18d288",\r
1671                 "cc99bc89.a9c058"\r
1672             ]\r
1673         ]\r
1674     },\r
1675     {\r
1676         "id": "17e0fd07.b5de8b",\r
1677         "type": "save",\r
1678         "name": "save connectivity resource in AAI",\r
1679         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1680         "comments": "",\r
1681         "outputs": 1,\r
1682         "x": 4018.883331298828,\r
1683         "y": 1746,\r
1684         "z": "d1eceead.adafe",\r
1685         "wires": [\r
1686             []\r
1687         ]\r
1688     },\r
1689     {\r
1690         "id": "f1afd056.64d73",\r
1691         "type": "execute",\r
1692         "name": "execute UUID generator for connectivity domainA",\r
1693         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
1694         "comments": "",\r
1695         "outputs": 1,\r
1696         "x": 4063.883331298828,\r
1697         "y": 1656,\r
1698         "z": "d1eceead.adafe",\r
1699         "wires": [\r
1700             []\r
1701         ]\r
1702     },\r
1703     {\r
1704         "id": "50d51c8c.dc95ac",\r
1705         "type": "save",\r
1706         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1707         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
1708         "comments": "",\r
1709         "outputs": 1,\r
1710         "x": 4146.883331298828,\r
1711         "y": 1794,\r
1712         "z": "d1eceead.adafe",\r
1713         "wires": [\r
1714             []\r
1715         ]\r
1716     },\r
1717     {\r
1718         "id": "109222da.cab295",\r
1719         "type": "returnFailure",\r
1720         "name": "return failure",\r
1721         "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
1722         "comments": "",\r
1723         "x": 3691.883331298828,\r
1724         "y": 1317,\r
1725         "z": "d1eceead.adafe",\r
1726         "wires": []\r
1727     },\r
1728     {\r
1729         "id": "174b650f.6f4cdb",\r
1730         "type": "block",\r
1731         "name": "block : atomic",\r
1732         "xml": "<block atomic=\"true\">",\r
1733         "atomic": "true",\r
1734         "outputs": 1,\r
1735         "x": 3694.883331298828,\r
1736         "y": 1280,\r
1737         "z": "d1eceead.adafe",\r
1738         "wires": [\r
1739             [\r
1740                 "6b9c6245.ea050c",\r
1741                 "ab33cb14.ff6cc8"\r
1742             ]\r
1743         ]\r
1744     },\r
1745     {\r
1746         "id": "6b9c6245.ea050c",\r
1747         "type": "set",\r
1748         "name": "set pnf-name",\r
1749         "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
1750         "comments": "",\r
1751         "x": 3868.883331298828,\r
1752         "y": 1236,\r
1753         "z": "d1eceead.adafe",\r
1754         "wires": []\r
1755     },\r
1756     {\r
1757         "id": "acd2704e.4ae308",\r
1758         "type": "for",\r
1759         "name": "for each relationship",\r
1760         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1761         "comments": "",\r
1762         "outputs": 1,\r
1763         "x": 3970.883331298828,\r
1764         "y": 1871,\r
1765         "z": "d1eceead.adafe",\r
1766         "wires": [\r
1767             [\r
1768                 "73a0105b.ac0e58"\r
1769             ]\r
1770         ]\r
1771     },\r
1772     {\r
1773         "id": "73a0105b.ac0e58",\r
1774         "type": "switchNode",\r
1775         "name": "switch related-to",\r
1776         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1777         "comments": "",\r
1778         "outputs": 1,\r
1779         "x": 4176.883331298828,\r
1780         "y": 1871,\r
1781         "z": "d1eceead.adafe",\r
1782         "wires": [\r
1783             [\r
1784                 "6dbfb157.d8359"\r
1785             ]\r
1786         ]\r
1787     },\r
1788     {\r
1789         "id": "6dbfb157.d8359",\r
1790         "type": "outcome",\r
1791         "name": "tunnel-termination-point",\r
1792         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1793         "comments": "",\r
1794         "outputs": 1,\r
1795         "x": 4392.168975830078,\r
1796         "y": 1870.82177734375,\r
1797         "z": "d1eceead.adafe",\r
1798         "wires": [\r
1799             [\r
1800                 "616def67.e5a25"\r
1801             ]\r
1802         ]\r
1803     },\r
1804     {\r
1805         "id": "ab33cb14.ff6cc8",\r
1806         "type": "get-resource",\r
1807         "name": "get-resource src pnf",\r
1808         "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
1809         "comments": "",\r
1810         "outputs": 1,\r
1811         "x": 3883.883331298828,\r
1812         "y": 1347,\r
1813         "z": "d1eceead.adafe",\r
1814         "wires": [\r
1815             [\r
1816                 "e7bde0a4.3a223",\r
1817                 "856b3a3e.33dd18",\r
1818                 "ec1837c2.7e65e8"\r
1819             ]\r
1820         ]\r
1821     },\r
1822     {\r
1823         "id": "e7bde0a4.3a223",\r
1824         "type": "success",\r
1825         "name": "success",\r
1826         "xml": "<outcome value='success'>\n",\r
1827         "comments": "",\r
1828         "outputs": 1,\r
1829         "x": 4079.3834533691406,\r
1830         "y": 1299,\r
1831         "z": "d1eceead.adafe",\r
1832         "wires": [\r
1833             [\r
1834                 "a049038b.508d4"\r
1835             ]\r
1836         ]\r
1837     },\r
1838     {\r
1839         "id": "856b3a3e.33dd18",\r
1840         "type": "not-found",\r
1841         "name": "not-found",\r
1842         "xml": "<outcome value='not-found'>\n",\r
1843         "comments": "",\r
1844         "outputs": 1,\r
1845         "x": 4071.3834533691406,\r
1846         "y": 1354,\r
1847         "z": "d1eceead.adafe",\r
1848         "wires": [\r
1849             [\r
1850                 "f843f7f2.8c64b8"\r
1851             ]\r
1852         ]\r
1853     },\r
1854     {\r
1855         "id": "ec1837c2.7e65e8",\r
1856         "type": "other",\r
1857         "name": "other",\r
1858         "xml": "<outcome value='Other'>\n",\r
1859         "comments": "",\r
1860         "outputs": 1,\r
1861         "x": 4076.3834533691406,\r
1862         "y": 1411,\r
1863         "z": "d1eceead.adafe",\r
1864         "wires": [\r
1865             [\r
1866                 "47e459e1.2a9ce"\r
1867             ]\r
1868         ]\r
1869     },\r
1870     {\r
1871         "id": "47e459e1.2a9ce",\r
1872         "type": "returnFailure",\r
1873         "name": "return failure",\r
1874         "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
1875         "comments": "",\r
1876         "x": 4228.383453369141,\r
1877         "y": 1412,\r
1878         "z": "d1eceead.adafe",\r
1879         "wires": []\r
1880     },\r
1881     {\r
1882         "id": "f843f7f2.8c64b8",\r
1883         "type": "returnFailure",\r
1884         "name": "return failure",\r
1885         "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
1886         "comments": "",\r
1887         "x": 4239.383453369141,\r
1888         "y": 1357,\r
1889         "z": "d1eceead.adafe",\r
1890         "wires": []\r
1891     },\r
1892     {\r
1893         "id": "a049038b.508d4",\r
1894         "type": "block",\r
1895         "name": "block",\r
1896         "xml": "<block>\n",\r
1897         "atomic": "false",\r
1898         "comments": "",\r
1899         "outputs": 1,\r
1900         "x": 4223.765777587891,\r
1901         "y": 1296.6556701660156,\r
1902         "z": "d1eceead.adafe",\r
1903         "wires": [\r
1904             [\r
1905                 "b2d1999f.753708"\r
1906             ]\r
1907         ]\r
1908     },\r
1909     {\r
1910         "id": "b2d1999f.753708",\r
1911         "type": "for",\r
1912         "name": "for each relationship",\r
1913         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1914         "comments": "",\r
1915         "outputs": 1,\r
1916         "x": 4407.883331298828,\r
1917         "y": 1311,\r
1918         "z": "d1eceead.adafe",\r
1919         "wires": [\r
1920             [\r
1921                 "9b22416d.9cdac8"\r
1922             ]\r
1923         ]\r
1924     },\r
1925     {\r
1926         "id": "cc99bc89.a9c058",\r
1927         "type": "set",\r
1928         "name": "set ltpId",\r
1929         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1930         "comments": "",\r
1931         "x": 4574.883331298828,\r
1932         "y": 1497,\r
1933         "z": "d1eceead.adafe",\r
1934         "wires": []\r
1935     },\r
1936     {\r
1937         "id": "d54289dc.18d288",\r
1938         "type": "set",\r
1939         "name": "set pnf-name",\r
1940         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1941         "comments": "",\r
1942         "x": 4575.883331298828,\r
1943         "y": 1605,\r
1944         "z": "d1eceead.adafe",\r
1945         "wires": []\r
1946     },\r
1947     {\r
1948         "id": "46e18359.07aad4",\r
1949         "type": "comment",\r
1950         "name": "TODO: FIXME",\r
1951         "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
1952         "comments": "",\r
1953         "x": 4576.883331298828,\r
1954         "y": 1554,\r
1955         "z": "d1eceead.adafe",\r
1956         "wires": []\r
1957     },\r
1958     {\r
1959         "id": "616def67.e5a25",\r
1960         "type": "block",\r
1961         "name": "block : atomic",\r
1962         "xml": "<block atomic=\"true\">",\r
1963         "atomic": "true",\r
1964         "outputs": 1,\r
1965         "x": 4599.000518798828,\r
1966         "y": 1871.34033203125,\r
1967         "z": "d1eceead.adafe",\r
1968         "wires": [\r
1969             [\r
1970                 "6d0c5fcb.438328",\r
1971                 "40a1c35d.17991c",\r
1972                 "6c800e67.6aa9c8"\r
1973             ]\r
1974         ]\r
1975     },\r
1976     {\r
1977         "id": "6d0c5fcb.438328",\r
1978         "type": "set",\r
1979         "name": "set source ttp-id",\r
1980         "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
1981         "comments": "",\r
1982         "x": 4814.000518798828,\r
1983         "y": 1833.34033203125,\r
1984         "z": "d1eceead.adafe",\r
1985         "wires": []\r
1986     },\r
1987     {\r
1988         "id": "40a1c35d.17991c",\r
1989         "type": "get-resource",\r
1990         "name": "get-resource src TTP",\r
1991         "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
1992         "comments": "",\r
1993         "outputs": 1,\r
1994         "x": 4811.000518798828,\r
1995         "y": 1872.34033203125,\r
1996         "z": "d1eceead.adafe",\r
1997         "wires": [\r
1998             [\r
1999                 "9de28790.cf8c7"\r
2000             ]\r
2001         ]\r
2002     },\r
2003     {\r
2004         "id": "6c800e67.6aa9c8",\r
2005         "type": "break",\r
2006         "name": "break",\r
2007         "xml": "<break>\n",\r
2008         "comments": "",\r
2009         "x": 4766.500518798828,\r
2010         "y": 1914.34033203125,\r
2011         "z": "d1eceead.adafe",\r
2012         "wires": []\r
2013     },\r
2014     {\r
2015         "id": "9de28790.cf8c7",\r
2016         "type": "success",\r
2017         "name": "success",\r
2018         "xml": "<outcome value='success'>\n",\r
2019         "comments": "",\r
2020         "outputs": 1,\r
2021         "x": 4991.500518798828,\r
2022         "y": 1871.34033203125,\r
2023         "z": "d1eceead.adafe",\r
2024         "wires": [\r
2025             [\r
2026                 "e5173d49.fc3368"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "376d58a4.adb2a",\r
2032         "type": "outcome",\r
2033         "name": "esr-thirdparty-sdnc",\r
2034         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2035         "comments": "",\r
2036         "outputs": 1,\r
2037         "x": 4805.883331298828,\r
2038         "y": 1315,\r
2039         "z": "d1eceead.adafe",\r
2040         "wires": [\r
2041             [\r
2042                 "60247fbe.4b6c2"\r
2043             ]\r
2044         ]\r
2045     },\r
2046     {\r
2047         "id": "60247fbe.4b6c2",\r
2048         "type": "block",\r
2049         "name": "block : atomic",\r
2050         "xml": "<block atomic=\"true\">",\r
2051         "atomic": "true",\r
2052         "outputs": 1,\r
2053         "x": 4982.883331298828,\r
2054         "y": 1307,\r
2055         "z": "d1eceead.adafe",\r
2056         "wires": [\r
2057             [\r
2058                 "4270b940.4f6ac",\r
2059                 "65b48891.d54c3"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "9b22416d.9cdac8",\r
2065         "type": "switchNode",\r
2066         "name": "switch related-to",\r
2067         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2068         "comments": "",\r
2069         "outputs": 1,\r
2070         "x": 4602.883331298828,\r
2071         "y": 1311,\r
2072         "z": "d1eceead.adafe",\r
2073         "wires": [\r
2074             [\r
2075                 "376d58a4.adb2a",\r
2076                 "59d37917.573538"\r
2077             ]\r
2078         ]\r
2079     },\r
2080     {\r
2081         "id": "59d37917.573538",\r
2082         "type": "outcome",\r
2083         "name": "network-resource",\r
2084         "xml": "<outcome value='network-resource'>",\r
2085         "comments": "",\r
2086         "outputs": 1,\r
2087         "x": 4808.883331298828,\r
2088         "y": 1389,\r
2089         "z": "d1eceead.adafe",\r
2090         "wires": [\r
2091             [\r
2092                 "b8751b8b.fb4f58"\r
2093             ]\r
2094         ]\r
2095     },\r
2096     {\r
2097         "id": "b8751b8b.fb4f58",\r
2098         "type": "block",\r
2099         "name": "block : atomic",\r
2100         "xml": "<block atomic=\"true\">",\r
2101         "atomic": "true",\r
2102         "outputs": 1,\r
2103         "x": 4985.883331298828,\r
2104         "y": 1381,\r
2105         "z": "d1eceead.adafe",\r
2106         "wires": [\r
2107             [\r
2108                 "673e159e.9038cc"\r
2109             ]\r
2110         ]\r
2111     },\r
2112     {\r
2113         "id": "e5173d49.fc3368",\r
2114         "type": "block",\r
2115         "name": "block : atomic",\r
2116         "xml": "<block atomic=\"true\">",\r
2117         "atomic": "true",\r
2118         "outputs": 1,\r
2119         "x": 5149.500518798828,\r
2120         "y": 1871.34033203125,\r
2121         "z": "d1eceead.adafe",\r
2122         "wires": [\r
2123             [\r
2124                 "e816a090.0c423"\r
2125             ]\r
2126         ]\r
2127     },\r
2128     {\r
2129         "id": "e816a090.0c423",\r
2130         "type": "set",\r
2131         "name": "set source tunnel tp ip",\r
2132         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2133         "comments": "",\r
2134         "x": 5356.500518798828,\r
2135         "y": 1871.34033203125,\r
2136         "z": "d1eceead.adafe",\r
2137         "wires": []\r
2138     },\r
2139     {\r
2140         "id": "65b48891.d54c3",\r
2141         "type": "execute",\r
2142         "name": "get esr-thirdparty-sdnc",\r
2143         "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
2144         "comments": "",\r
2145         "outputs": 1,\r
2146         "x": 5190.883331298828,\r
2147         "y": 1314,\r
2148         "z": "d1eceead.adafe",\r
2149         "wires": [\r
2150             [\r
2151                 "12ca2f18.a3fcb1",\r
2152                 "2eff6a6f.1256be",\r
2153                 "ae932fb7.b2f368"\r
2154             ]\r
2155         ]\r
2156     },\r
2157     {\r
2158         "id": "4270b940.4f6ac",\r
2159         "type": "set",\r
2160         "name": "set esr-thirdparty-sdnc domainA id",\r
2161         "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
2162         "comments": "",\r
2163         "x": 5220.883331298828,\r
2164         "y": 1262,\r
2165         "z": "d1eceead.adafe",\r
2166         "wires": []\r
2167     },\r
2168     {\r
2169         "id": "12ca2f18.a3fcb1",\r
2170         "type": "success",\r
2171         "name": "success",\r
2172         "xml": "<outcome value='success'>\n",\r
2173         "comments": "",\r
2174         "outputs": 1,\r
2175         "x": 5400.883331298828,\r
2176         "y": 1305,\r
2177         "z": "d1eceead.adafe",\r
2178         "wires": [\r
2179             [\r
2180                 "19df6125.66c90f"\r
2181             ]\r
2182         ]\r
2183     },\r
2184     {\r
2185         "id": "2eff6a6f.1256be",\r
2186         "type": "not-found",\r
2187         "name": "not-found",\r
2188         "xml": "<outcome value='not-found'>\n",\r
2189         "comments": "",\r
2190         "outputs": 1,\r
2191         "x": 5392.883331298828,\r
2192         "y": 1360,\r
2193         "z": "d1eceead.adafe",\r
2194         "wires": [\r
2195             [\r
2196                 "5900b30a.9db0cc"\r
2197             ]\r
2198         ]\r
2199     },\r
2200     {\r
2201         "id": "ae932fb7.b2f368",\r
2202         "type": "other",\r
2203         "name": "other",\r
2204         "xml": "<outcome value='Other'>\n",\r
2205         "comments": "",\r
2206         "outputs": 1,\r
2207         "x": 5397.883331298828,\r
2208         "y": 1417,\r
2209         "z": "d1eceead.adafe",\r
2210         "wires": [\r
2211             [\r
2212                 "abcfe080.ae7e7"\r
2213             ]\r
2214         ]\r
2215     },\r
2216     {\r
2217         "id": "abcfe080.ae7e7",\r
2218         "type": "returnFailure",\r
2219         "name": "return failure",\r
2220         "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
2221         "comments": "",\r
2222         "x": 5549.883331298828,\r
2223         "y": 1418,\r
2224         "z": "d1eceead.adafe",\r
2225         "wires": []\r
2226     },\r
2227     {\r
2228         "id": "5900b30a.9db0cc",\r
2229         "type": "returnFailure",\r
2230         "name": "return failure",\r
2231         "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
2232         "comments": "",\r
2233         "x": 5560.883331298828,\r
2234         "y": 1363,\r
2235         "z": "d1eceead.adafe",\r
2236         "wires": []\r
2237     },\r
2238     {\r
2239         "id": "19df6125.66c90f",\r
2240         "type": "block",\r
2241         "name": "block",\r
2242         "xml": "<block>\n",\r
2243         "atomic": "false",\r
2244         "comments": "",\r
2245         "outputs": 1,\r
2246         "x": 5545.265655517578,\r
2247         "y": 1302.6556701660156,\r
2248         "z": "d1eceead.adafe",\r
2249         "wires": [\r
2250             [\r
2251                 "db94bf6b.c81da8"\r
2252             ]\r
2253         ]\r
2254     },\r
2255     {\r
2256         "id": "673e159e.9038cc",\r
2257         "type": "set",\r
2258         "name": "set domainA ethernet layer network-id",\r
2259         "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
2260         "comments": "",\r
2261         "x": 5220.883331298828,\r
2262         "y": 1505,\r
2263         "z": "d1eceead.adafe",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "db94bf6b.c81da8",\r
2268         "type": "set",\r
2269         "name": "set controller domainA data",\r
2270         "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
2271         "comments": "",\r
2272         "x": 5759.883331298828,\r
2273         "y": 1299,\r
2274         "z": "d1eceead.adafe",\r
2275         "wires": []\r
2276     },\r
2277     {\r
2278         "id": "653ea460.331594",\r
2279         "type": "set",\r
2280         "name": "set network-route-B",\r
2281         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2282         "comments": "",\r
2283         "x": 4343.883331298828,\r
2284         "y": 953,\r
2285         "z": "d1eceead.adafe",\r
2286         "wires": []\r
2287     },\r
2288     {\r
2289         "id": "3ff377ce.541508",\r
2290         "type": "set",\r
2291         "name": "set network-route-A",\r
2292         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2293         "comments": "",\r
2294         "x": 4334.883331298828,\r
2295         "y": 1051,\r
2296         "z": "d1eceead.adafe",\r
2297         "wires": []\r
2298     },\r
2299     {\r
2300         "id": "2e04d27d.5faff6",\r
2301         "type": "block",\r
2302         "name": "block",\r
2303         "xml": "<block>\n",\r
2304         "atomic": "false",\r
2305         "comments": "",\r
2306         "outputs": 1,\r
2307         "x": 4168.883331298828,\r
2308         "y": 959,\r
2309         "z": "d1eceead.adafe",\r
2310         "wires": [\r
2311             [\r
2312                 "20ddeea0.a0e9ea",\r
2313                 "653ea460.331594"\r
2314             ]\r
2315         ]\r
2316     },\r
2317     {\r
2318         "id": "12c64a9b.27d615",\r
2319         "type": "block",\r
2320         "name": "block",\r
2321         "xml": "<block>\n",\r
2322         "atomic": "false",\r
2323         "comments": "",\r
2324         "outputs": 1,\r
2325         "x": 4174.883331298828,\r
2326         "y": 1023,\r
2327         "z": "d1eceead.adafe",\r
2328         "wires": [\r
2329             [\r
2330                 "a4916484.b95cf",\r
2331                 "3ff377ce.541508"\r
2332             ]\r
2333         ]\r
2334     },\r
2335     {\r
2336         "id": "a8347389.2ab3b",\r
2337         "type": "block",\r
2338         "name": "block",\r
2339         "xml": "<block>\n",\r
2340         "atomic": "false",\r
2341         "comments": "",\r
2342         "outputs": 1,\r
2343         "x": 4174.883331298828,\r
2344         "y": 1129,\r
2345         "z": "d1eceead.adafe",\r
2346         "wires": [\r
2347             [\r
2348                 "2f347429.e690cc",\r
2349                 "64f47a9a.5541ec"\r
2350             ]\r
2351         ]\r
2352     },\r
2353     {\r
2354         "id": "49b6f3ad.a55ac4",\r
2355         "type": "block",\r
2356         "name": "block",\r
2357         "xml": "<block>\n",\r
2358         "atomic": "false",\r
2359         "comments": "",\r
2360         "outputs": 1,\r
2361         "x": 4177.883331298828,\r
2362         "y": 1182,\r
2363         "z": "d1eceead.adafe",\r
2364         "wires": [\r
2365             [\r
2366                 "cad2e783.60fc68",\r
2367                 "93b1477b.b7ce28"\r
2368             ]\r
2369         ]\r
2370     },\r
2371     {\r
2372         "id": "64f47a9a.5541ec",\r
2373         "type": "set",\r
2374         "name": "set network-route-B",\r
2375         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2376         "comments": "",\r
2377         "x": 4334.883331298828,\r
2378         "y": 1142,\r
2379         "z": "d1eceead.adafe",\r
2380         "wires": []\r
2381     },\r
2382     {\r
2383         "id": "93b1477b.b7ce28",\r
2384         "type": "set",\r
2385         "name": "set network-route-A",\r
2386         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2387         "comments": "",\r
2388         "x": 4337.883331298828,\r
2389         "y": 1233,\r
2390         "z": "d1eceead.adafe",\r
2391         "wires": []\r
2392     },\r
2393     {\r
2394         "id": "bcceae66.215ea8",\r
2395         "type": "block",\r
2396         "name": "block : atomic",\r
2397         "xml": "<block atomic=\"true\">",\r
2398         "atomic": "true",\r
2399         "outputs": 1,\r
2400         "x": 3709.883331298828,\r
2401         "y": 2443,\r
2402         "z": "d1eceead.adafe",\r
2403         "wires": [\r
2404             [\r
2405                 "fa55cad.2f0ddb8",\r
2406                 "341eac77.d5f56c"\r
2407             ]\r
2408         ]\r
2409     },\r
2410     {\r
2411         "id": "e6e2e92d.d49f8",\r
2412         "type": "success",\r
2413         "name": "success",\r
2414         "xml": "<outcome value='success'>\n",\r
2415         "comments": "",\r
2416         "outputs": 1,\r
2417         "x": 3537.216827392578,\r
2418         "y": 2444,\r
2419         "z": "d1eceead.adafe",\r
2420         "wires": [\r
2421             [\r
2422                 "bcceae66.215ea8"\r
2423             ]\r
2424         ]\r
2425     },\r
2426     {\r
2427         "id": "15d49e8e.f5c6d1",\r
2428         "type": "not-found",\r
2429         "name": "not-found",\r
2430         "xml": "<outcome value='not-found'>\n",\r
2431         "comments": "",\r
2432         "outputs": 1,\r
2433         "x": 3546.707794189453,\r
2434         "y": 2486.5740356445312,\r
2435         "z": "d1eceead.adafe",\r
2436         "wires": [\r
2437             [\r
2438                 "b6575c89.a4dbd8"\r
2439             ]\r
2440         ]\r
2441     },\r
2442     {\r
2443         "id": "456db0bd.6c4e5",\r
2444         "type": "failure",\r
2445         "name": "failure",\r
2446         "xml": "<outcome value='failure'>\n",\r
2447         "comments": "",\r
2448         "outputs": 1,\r
2449         "x": 3535.216827392578,\r
2450         "y": 2533,\r
2451         "z": "d1eceead.adafe",\r
2452         "wires": [\r
2453             [\r
2454                 "f1a4c78.c749938"\r
2455             ]\r
2456         ]\r
2457     },\r
2458     {\r
2459         "id": "b6575c89.a4dbd8",\r
2460         "type": "returnFailure",\r
2461         "name": "return failure",\r
2462         "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
2463         "comments": "",\r
2464         "x": 3700.2792053222656,\r
2465         "y": 2489.8597717285156,\r
2466         "z": "d1eceead.adafe",\r
2467         "wires": []\r
2468     },\r
2469     {\r
2470         "id": "f1a4c78.c749938",\r
2471         "type": "returnFailure",\r
2472         "name": "return failure",\r
2473         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2474         "comments": "",\r
2475         "x": 3704.216827392578,\r
2476         "y": 2534,\r
2477         "z": "d1eceead.adafe",\r
2478         "wires": []\r
2479     },\r
2480     {\r
2481         "id": "fa55cad.2f0ddb8",\r
2482         "type": "execute",\r
2483         "name": "execute split tp-id to get pnf-name",\r
2484         "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
2485         "comments": "",\r
2486         "outputs": 1,\r
2487         "x": 3996.216827392578,\r
2488         "y": 2447.0001220703125,\r
2489         "z": "d1eceead.adafe",\r
2490         "wires": [\r
2491             [\r
2492                 "2a55ff3d.a63f58",\r
2493                 "a4fedadd.ffdcf"\r
2494             ]\r
2495         ]\r
2496     },\r
2497     {\r
2498         "id": "a4fedadd.ffdcf",\r
2499         "type": "failure",\r
2500         "name": "success",\r
2501         "xml": "<outcome value='success'>\n",\r
2502         "comments": "",\r
2503         "outputs": 1,\r
2504         "x": 4219.216827392578,\r
2505         "y": 2402.0001220703125,\r
2506         "z": "d1eceead.adafe",\r
2507         "wires": [\r
2508             [\r
2509                 "2cf5b91c.330536"\r
2510             ]\r
2511         ]\r
2512     },\r
2513     {\r
2514         "id": "2a55ff3d.a63f58",\r
2515         "type": "failure",\r
2516         "name": "failure",\r
2517         "xml": "<outcome value='failure'>\n",\r
2518         "comments": "",\r
2519         "outputs": 1,\r
2520         "x": 4221.216827392578,\r
2521         "y": 2466.0001220703125,\r
2522         "z": "d1eceead.adafe",\r
2523         "wires": [\r
2524             [\r
2525                 "f4cfd006.4df4a"\r
2526             ]\r
2527         ]\r
2528     },\r
2529     {\r
2530         "id": "f4cfd006.4df4a",\r
2531         "type": "returnFailure",\r
2532         "name": "return failure",\r
2533         "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
2534         "comments": "",\r
2535         "x": 4380.216827392578,\r
2536         "y": 2485.0001220703125,\r
2537         "z": "d1eceead.adafe",\r
2538         "wires": []\r
2539     },\r
2540     {\r
2541         "id": "2cf5b91c.330536",\r
2542         "type": "block",\r
2543         "name": "block : atomic",\r
2544         "xml": "<block atomic=\"true\">",\r
2545         "atomic": "true",\r
2546         "outputs": 1,\r
2547         "x": 4384.216827392578,\r
2548         "y": 2399.0001220703125,\r
2549         "z": "d1eceead.adafe",\r
2550         "wires": [\r
2551             [\r
2552                 "60521985.bf9fa8",\r
2553                 "1b11d7f2.c04e4"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "3e3a2fcb.29b168",\r
2559         "type": "save",\r
2560         "name": "save connectivity resource in AAI",\r
2561         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
2562         "comments": "",\r
2563         "outputs": 1,\r
2564         "x": 3998.216827392578,\r
2565         "y": 2606.0001220703125,\r
2566         "z": "d1eceead.adafe",\r
2567         "wires": [\r
2568             []\r
2569         ]\r
2570     },\r
2571     {\r
2572         "id": "a24d2064.f8a7c",\r
2573         "type": "execute",\r
2574         "name": "execute UUID generator for connectivity domainB",\r
2575         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
2576         "comments": "",\r
2577         "outputs": 1,\r
2578         "x": 4043.216827392578,\r
2579         "y": 2516.0001220703125,\r
2580         "z": "d1eceead.adafe",\r
2581         "wires": [\r
2582             []\r
2583         ]\r
2584     },\r
2585     {\r
2586         "id": "7f1c08c8.8cc28",\r
2587         "type": "save",\r
2588         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
2589         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
2590         "comments": "",\r
2591         "outputs": 1,\r
2592         "x": 4125.216827392578,\r
2593         "y": 2671.0001220703125,\r
2594         "z": "d1eceead.adafe",\r
2595         "wires": [\r
2596             []\r
2597         ]\r
2598     },\r
2599     {\r
2600         "id": "b114579a.337d4",\r
2601         "type": "save",\r
2602         "name": "get p-interface-dst from aai",\r
2603         "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
2604         "comments": "",\r
2605         "outputs": 1,\r
2606         "x": 3309.216827392578,\r
2607         "y": 2479,\r
2608         "z": "d1eceead.adafe",\r
2609         "wires": [\r
2610             [\r
2611                 "e6e2e92d.d49f8",\r
2612                 "15d49e8e.f5c6d1",\r
2613                 "456db0bd.6c4e5"\r
2614             ]\r
2615         ]\r
2616     },\r
2617     {\r
2618         "id": "8e0a6f3b.01feb",\r
2619         "type": "comment",\r
2620         "name": "Question?",\r
2621         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2622         "comments": "",\r
2623         "x": 3270.216827392578,\r
2624         "y": 2423,\r
2625         "z": "d1eceead.adafe",\r
2626         "wires": []\r
2627     },\r
2628     {\r
2629         "id": "3458f9fd.a9fdce",\r
2630         "type": "execute",\r
2631         "name": "execute split tp-id to get pnf-name",\r
2632         "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
2633         "comments": "",\r
2634         "outputs": 1,\r
2635         "x": 3327.216827392578,\r
2636         "y": 2141.9998779296875,\r
2637         "z": "d1eceead.adafe",\r
2638         "wires": [\r
2639             [\r
2640                 "c48f1e5.b50d76",\r
2641                 "40db2833.3d6058"\r
2642             ]\r
2643         ]\r
2644     },\r
2645     {\r
2646         "id": "40db2833.3d6058",\r
2647         "type": "failure",\r
2648         "name": "success",\r
2649         "xml": "<outcome value='success'>\n",\r
2650         "comments": "",\r
2651         "outputs": 1,\r
2652         "x": 3550.216827392578,\r
2653         "y": 2127.9998779296875,\r
2654         "z": "d1eceead.adafe",\r
2655         "wires": [\r
2656             [\r
2657                 "57ecc3e9.705994"\r
2658             ]\r
2659         ]\r
2660     },\r
2661     {\r
2662         "id": "c48f1e5.b50d76",\r
2663         "type": "failure",\r
2664         "name": "failure",\r
2665         "xml": "<outcome value='failure'>\n",\r
2666         "comments": "",\r
2667         "outputs": 1,\r
2668         "x": 3552.216827392578,\r
2669         "y": 2160.9998779296875,\r
2670         "z": "d1eceead.adafe",\r
2671         "wires": [\r
2672             [\r
2673                 "6a189760.03fff"\r
2674             ]\r
2675         ]\r
2676     },\r
2677     {\r
2678         "id": "6a189760.03fff",\r
2679         "type": "returnFailure",\r
2680         "name": "return failure",\r
2681         "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
2682         "comments": "",\r
2683         "x": 3695.216827392578,\r
2684         "y": 2157.9998779296875,\r
2685         "z": "d1eceead.adafe",\r
2686         "wires": []\r
2687     },\r
2688     {\r
2689         "id": "57ecc3e9.705994",\r
2690         "type": "block",\r
2691         "name": "block : atomic",\r
2692         "xml": "<block atomic=\"true\">",\r
2693         "atomic": "true",\r
2694         "outputs": 1,\r
2695         "x": 3698.216827392578,\r
2696         "y": 2120.9998779296875,\r
2697         "z": "d1eceead.adafe",\r
2698         "wires": [\r
2699             [\r
2700                 "7ef10f50.4a98b",\r
2701                 "d3e48892.7c0638"\r
2702             ]\r
2703         ]\r
2704     },\r
2705     {\r
2706         "id": "7ef10f50.4a98b",\r
2707         "type": "set",\r
2708         "name": "set pnf-name",\r
2709         "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
2710         "comments": "",\r
2711         "x": 3892.216827392578,\r
2712         "y": 2124,\r
2713         "z": "d1eceead.adafe",\r
2714         "wires": []\r
2715     },\r
2716     {\r
2717         "id": "341eac77.d5f56c",\r
2718         "type": "for",\r
2719         "name": "for each relationship",\r
2720         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2721         "comments": "",\r
2722         "outputs": 1,\r
2723         "x": 3955.216827392578,\r
2724         "y": 2756,\r
2725         "z": "d1eceead.adafe",\r
2726         "wires": [\r
2727             [\r
2728                 "1d1b2999.e8eaf6"\r
2729             ]\r
2730         ]\r
2731     },\r
2732     {\r
2733         "id": "1d1b2999.e8eaf6",\r
2734         "type": "switchNode",\r
2735         "name": "switch related-to",\r
2736         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2737         "comments": "",\r
2738         "outputs": 1,\r
2739         "x": 4161.216827392578,\r
2740         "y": 2756,\r
2741         "z": "d1eceead.adafe",\r
2742         "wires": [\r
2743             [\r
2744                 "2587a419.edf304"\r
2745             ]\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "2587a419.edf304",\r
2750         "type": "outcome",\r
2751         "name": "tunnel-termination-point",\r
2752         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2753         "comments": "",\r
2754         "outputs": 1,\r
2755         "x": 4378.502471923828,\r
2756         "y": 2754.82177734375,\r
2757         "z": "d1eceead.adafe",\r
2758         "wires": [\r
2759             [\r
2760                 "596e064d.3e4868"\r
2761             ]\r
2762         ]\r
2763     },\r
2764     {\r
2765         "id": "d3e48892.7c0638",\r
2766         "type": "get-resource",\r
2767         "name": "get-resource src pnf",\r
2768         "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
2769         "comments": "",\r
2770         "outputs": 1,\r
2771         "x": 3914.216827392578,\r
2772         "y": 2192,\r
2773         "z": "d1eceead.adafe",\r
2774         "wires": [\r
2775             [\r
2776                 "5d04022c.52094c",\r
2777                 "4363a204.88356c",\r
2778                 "d1632f49.e8bfd8"\r
2779             ]\r
2780         ]\r
2781     },\r
2782     {\r
2783         "id": "5d04022c.52094c",\r
2784         "type": "success",\r
2785         "name": "success",\r
2786         "xml": "<outcome value='success'>\n",\r
2787         "comments": "",\r
2788         "outputs": 1,\r
2789         "x": 4109.716949462891,\r
2790         "y": 2144,\r
2791         "z": "d1eceead.adafe",\r
2792         "wires": [\r
2793             [\r
2794                 "16d6f161.b988af"\r
2795             ]\r
2796         ]\r
2797     },\r
2798     {\r
2799         "id": "4363a204.88356c",\r
2800         "type": "not-found",\r
2801         "name": "not-found",\r
2802         "xml": "<outcome value='not-found'>\n",\r
2803         "comments": "",\r
2804         "outputs": 1,\r
2805         "x": 4101.716949462891,\r
2806         "y": 2199,\r
2807         "z": "d1eceead.adafe",\r
2808         "wires": [\r
2809             [\r
2810                 "5ac71d3b.31ff94"\r
2811             ]\r
2812         ]\r
2813     },\r
2814     {\r
2815         "id": "d1632f49.e8bfd8",\r
2816         "type": "other",\r
2817         "name": "other",\r
2818         "xml": "<outcome value='Other'>\n",\r
2819         "comments": "",\r
2820         "outputs": 1,\r
2821         "x": 4106.716949462891,\r
2822         "y": 2256,\r
2823         "z": "d1eceead.adafe",\r
2824         "wires": [\r
2825             [\r
2826                 "8e2e62d9.6dcb8"\r
2827             ]\r
2828         ]\r
2829     },\r
2830     {\r
2831         "id": "8e2e62d9.6dcb8",\r
2832         "type": "returnFailure",\r
2833         "name": "return failure",\r
2834         "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
2835         "comments": "",\r
2836         "x": 4258.716949462891,\r
2837         "y": 2257,\r
2838         "z": "d1eceead.adafe",\r
2839         "wires": []\r
2840     },\r
2841     {\r
2842         "id": "5ac71d3b.31ff94",\r
2843         "type": "returnFailure",\r
2844         "name": "return failure",\r
2845         "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
2846         "comments": "",\r
2847         "x": 4269.716949462891,\r
2848         "y": 2202,\r
2849         "z": "d1eceead.adafe",\r
2850         "wires": []\r
2851     },\r
2852     {\r
2853         "id": "16d6f161.b988af",\r
2854         "type": "block",\r
2855         "name": "block",\r
2856         "xml": "<block>\n",\r
2857         "atomic": "false",\r
2858         "comments": "",\r
2859         "outputs": 1,\r
2860         "x": 4254.099273681641,\r
2861         "y": 2141.6556701660156,\r
2862         "z": "d1eceead.adafe",\r
2863         "wires": [\r
2864             [\r
2865                 "7d886bfd.e9ca4c"\r
2866             ]\r
2867         ]\r
2868     },\r
2869     {\r
2870         "id": "60521985.bf9fa8",\r
2871         "type": "set",\r
2872         "name": "set ltpId",\r
2873         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2874         "comments": "",\r
2875         "x": 4554.216827392578,\r
2876         "y": 2360.0001220703125,\r
2877         "z": "d1eceead.adafe",\r
2878         "wires": []\r
2879     },\r
2880     {\r
2881         "id": "1b11d7f2.c04e4",\r
2882         "type": "set",\r
2883         "name": "set pnf-name",\r
2884         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2885         "comments": "",\r
2886         "x": 4555.216827392578,\r
2887         "y": 2465.0001220703125,\r
2888         "z": "d1eceead.adafe",\r
2889         "wires": []\r
2890     },\r
2891     {\r
2892         "id": "f5d8e7ee.5dd5b8",\r
2893         "type": "comment",\r
2894         "name": "TODO: FIXME",\r
2895         "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
2896         "comments": "",\r
2897         "x": 4550.216827392578,\r
2898         "y": 2414.0001220703125,\r
2899         "z": "d1eceead.adafe",\r
2900         "wires": []\r
2901     },\r
2902     {\r
2903         "id": "596e064d.3e4868",\r
2904         "type": "block",\r
2905         "name": "block : atomic",\r
2906         "xml": "<block atomic=\"true\">",\r
2907         "atomic": "true",\r
2908         "outputs": 1,\r
2909         "x": 4585.334014892578,\r
2910         "y": 2744.3404541015625,\r
2911         "z": "d1eceead.adafe",\r
2912         "wires": [\r
2913             [\r
2914                 "1d1ef4b9.b52cc3",\r
2915                 "aa09325d.47c72",\r
2916                 "f212860e.85526"\r
2917             ]\r
2918         ]\r
2919     },\r
2920     {\r
2921         "id": "1d1ef4b9.b52cc3",\r
2922         "type": "set",\r
2923         "name": "set destination ttp-id",\r
2924         "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
2925         "comments": "",\r
2926         "x": 4800.334014892578,\r
2927         "y": 2706.3404541015625,\r
2928         "z": "d1eceead.adafe",\r
2929         "wires": []\r
2930     },\r
2931     {\r
2932         "id": "aa09325d.47c72",\r
2933         "type": "get-resource",\r
2934         "name": "get-resource src TTP",\r
2935         "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
2936         "comments": "",\r
2937         "outputs": 1,\r
2938         "x": 4797.334014892578,\r
2939         "y": 2745.3404541015625,\r
2940         "z": "d1eceead.adafe",\r
2941         "wires": [\r
2942             [\r
2943                 "391393be.95d72c"\r
2944             ]\r
2945         ]\r
2946     },\r
2947     {\r
2948         "id": "f212860e.85526",\r
2949         "type": "break",\r
2950         "name": "break",\r
2951         "xml": "<break>\n",\r
2952         "comments": "",\r
2953         "x": 4752.834014892578,\r
2954         "y": 2787.3404541015625,\r
2955         "z": "d1eceead.adafe",\r
2956         "wires": []\r
2957     },\r
2958     {\r
2959         "id": "391393be.95d72c",\r
2960         "type": "success",\r
2961         "name": "success",\r
2962         "xml": "<outcome value='success'>\n",\r
2963         "comments": "",\r
2964         "outputs": 1,\r
2965         "x": 4977.834014892578,\r
2966         "y": 2744.3404541015625,\r
2967         "z": "d1eceead.adafe",\r
2968         "wires": [\r
2969             [\r
2970                 "520819a9.ab1618"\r
2971             ]\r
2972         ]\r
2973     },\r
2974     {\r
2975         "id": "520819a9.ab1618",\r
2976         "type": "block",\r
2977         "name": "block : atomic",\r
2978         "xml": "<block atomic=\"true\">",\r
2979         "atomic": "true",\r
2980         "outputs": 1,\r
2981         "x": 5135.834014892578,\r
2982         "y": 2744.3404541015625,\r
2983         "z": "d1eceead.adafe",\r
2984         "wires": [\r
2985             [\r
2986                 "3a6f0d92.f64ee2"\r
2987             ]\r
2988         ]\r
2989     },\r
2990     {\r
2991         "id": "3a6f0d92.f64ee2",\r
2992         "type": "set",\r
2993         "name": "set destination tunnel tp ip",\r
2994         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2995         "comments": "",\r
2996         "x": 5342.834014892578,\r
2997         "y": 2744.3404541015625,\r
2998         "z": "d1eceead.adafe",\r
2999         "wires": []\r
3000     },\r
3001     {\r
3002         "id": "35d3101c.ddb4c",\r
3003         "type": "outcome",\r
3004         "name": "esr-thirdparty-sdnc",\r
3005         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
3006         "comments": "",\r
3007         "outputs": 1,\r
3008         "x": 4836.216827392578,\r
3009         "y": 2160,\r
3010         "z": "d1eceead.adafe",\r
3011         "wires": [\r
3012             [\r
3013                 "461a66b2.13a6c8"\r
3014             ]\r
3015         ]\r
3016     },\r
3017     {\r
3018         "id": "461a66b2.13a6c8",\r
3019         "type": "block",\r
3020         "name": "block : atomic",\r
3021         "xml": "<block atomic=\"true\">",\r
3022         "atomic": "true",\r
3023         "outputs": 1,\r
3024         "x": 5013.216827392578,\r
3025         "y": 2152,\r
3026         "z": "d1eceead.adafe",\r
3027         "wires": [\r
3028             [\r
3029                 "6cbb0705.4a3c5",\r
3030                 "670f0182.9fd968"\r
3031             ]\r
3032         ]\r
3033     },\r
3034     {\r
3035         "id": "7d886bfd.e9ca4c",\r
3036         "type": "for",\r
3037         "name": "for each relationship",\r
3038         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
3039         "comments": "",\r
3040         "outputs": 1,\r
3041         "x": 4438.216827392578,\r
3042         "y": 2156,\r
3043         "z": "d1eceead.adafe",\r
3044         "wires": [\r
3045             [\r
3046                 "e2222250.60ef7"\r
3047             ]\r
3048         ]\r
3049     },\r
3050     {\r
3051         "id": "e2222250.60ef7",\r
3052         "type": "switchNode",\r
3053         "name": "switch related-to",\r
3054         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
3055         "comments": "",\r
3056         "outputs": 1,\r
3057         "x": 4633.216827392578,\r
3058         "y": 2156,\r
3059         "z": "d1eceead.adafe",\r
3060         "wires": [\r
3061             [\r
3062                 "35d3101c.ddb4c",\r
3063                 "768c39b6.117ae"\r
3064             ]\r
3065         ]\r
3066     },\r
3067     {\r
3068         "id": "670f0182.9fd968",\r
3069         "type": "execute",\r
3070         "name": "get esr-thirdparty-sdnc",\r
3071         "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
3072         "comments": "",\r
3073         "outputs": 1,\r
3074         "x": 5221.216827392578,\r
3075         "y": 2159,\r
3076         "z": "d1eceead.adafe",\r
3077         "wires": [\r
3078             [\r
3079                 "4e714dda.e8064c",\r
3080                 "6d43e638.f020f8",\r
3081                 "33cdbe70.d704f2"\r
3082             ]\r
3083         ]\r
3084     },\r
3085     {\r
3086         "id": "9bab22e5.a35978",\r
3087         "type": "block",\r
3088         "name": "block : atomic",\r
3089         "xml": "<block atomic=\"true\">",\r
3090         "atomic": "true",\r
3091         "outputs": 1,\r
3092         "x": 5015.216827392578,\r
3093         "y": 2225,\r
3094         "z": "d1eceead.adafe",\r
3095         "wires": [\r
3096             [\r
3097                 "3c5a22cd.c5b5a6"\r
3098             ]\r
3099         ]\r
3100     },\r
3101     {\r
3102         "id": "768c39b6.117ae",\r
3103         "type": "outcome",\r
3104         "name": "network-resource",\r
3105         "xml": "<outcome value='network-resource'>",\r
3106         "comments": "",\r
3107         "outputs": 1,\r
3108         "x": 4838.216827392578,\r
3109         "y": 2233,\r
3110         "z": "d1eceead.adafe",\r
3111         "wires": [\r
3112             [\r
3113                 "9bab22e5.a35978"\r
3114             ]\r
3115         ]\r
3116     },\r
3117     {\r
3118         "id": "6cbb0705.4a3c5",\r
3119         "type": "set",\r
3120         "name": "set esr-thirdparty-sdnc domainB id",\r
3121         "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
3122         "comments": "",\r
3123         "x": 5251.216827392578,\r
3124         "y": 2107,\r
3125         "z": "d1eceead.adafe",\r
3126         "wires": []\r
3127     },\r
3128     {\r
3129         "id": "3c5a22cd.c5b5a6",\r
3130         "type": "set",\r
3131         "name": "set domainB ethernet layer network-id",\r
3132         "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
3133         "comments": "",\r
3134         "x": 5250.216827392578,\r
3135         "y": 2349,\r
3136         "z": "d1eceead.adafe",\r
3137         "wires": []\r
3138     },\r
3139     {\r
3140         "id": "4e714dda.e8064c",\r
3141         "type": "success",\r
3142         "name": "success",\r
3143         "xml": "<outcome value='success'>\n",\r
3144         "comments": "",\r
3145         "outputs": 1,\r
3146         "x": 5431.216827392578,\r
3147         "y": 2150,\r
3148         "z": "d1eceead.adafe",\r
3149         "wires": [\r
3150             [\r
3151                 "c3b341d5.27524"\r
3152             ]\r
3153         ]\r
3154     },\r
3155     {\r
3156         "id": "6d43e638.f020f8",\r
3157         "type": "not-found",\r
3158         "name": "not-found",\r
3159         "xml": "<outcome value='not-found'>\n",\r
3160         "comments": "",\r
3161         "outputs": 1,\r
3162         "x": 5423.216827392578,\r
3163         "y": 2205,\r
3164         "z": "d1eceead.adafe",\r
3165         "wires": [\r
3166             [\r
3167                 "5319e635.03496"\r
3168             ]\r
3169         ]\r
3170     },\r
3171     {\r
3172         "id": "33cdbe70.d704f2",\r
3173         "type": "other",\r
3174         "name": "other",\r
3175         "xml": "<outcome value='Other'>\n",\r
3176         "comments": "",\r
3177         "outputs": 1,\r
3178         "x": 5428.216827392578,\r
3179         "y": 2262,\r
3180         "z": "d1eceead.adafe",\r
3181         "wires": [\r
3182             [\r
3183                 "bf85165f.b30b4"\r
3184             ]\r
3185         ]\r
3186     },\r
3187     {\r
3188         "id": "bf85165f.b30b4",\r
3189         "type": "returnFailure",\r
3190         "name": "return failure",\r
3191         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3192         "comments": "",\r
3193         "x": 5580.216827392578,\r
3194         "y": 2263,\r
3195         "z": "d1eceead.adafe",\r
3196         "wires": []\r
3197     },\r
3198     {\r
3199         "id": "5319e635.03496",\r
3200         "type": "returnFailure",\r
3201         "name": "return failure",\r
3202         "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
3203         "comments": "",\r
3204         "x": 5591.216827392578,\r
3205         "y": 2208,\r
3206         "z": "d1eceead.adafe",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "c3b341d5.27524",\r
3211         "type": "block",\r
3212         "name": "block",\r
3213         "xml": "<block>\n",\r
3214         "atomic": "false",\r
3215         "comments": "",\r
3216         "outputs": 1,\r
3217         "x": 5575.599151611328,\r
3218         "y": 2147.6556701660156,\r
3219         "z": "d1eceead.adafe",\r
3220         "wires": [\r
3221             [\r
3222                 "5a4d43b1.7dbc0c"\r
3223             ]\r
3224         ]\r
3225     },\r
3226     {\r
3227         "id": "5a4d43b1.7dbc0c",\r
3228         "type": "set",\r
3229         "name": "set controller domainB data",\r
3230         "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
3231         "comments": "",\r
3232         "x": 5790.216827392578,\r
3233         "y": 2144,\r
3234         "z": "d1eceead.adafe",\r
3235         "wires": []\r
3236     },\r
3237     {\r
3238         "id": "83634982.62f32",\r
3239         "type": "set",\r
3240         "name": "set LEAF stuff",\r
3241         "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
3242         "comments": "",\r
3243         "x": 3288.883331298828,\r
3244         "y": 1754,\r
3245         "z": "d1eceead.adafe",\r
3246         "wires": []\r
3247     },\r
3248     {\r
3249         "id": "51304efd.d01998",\r
3250         "type": "comment",\r
3251         "name": "This is it (should be)",\r
3252         "info": "",\r
3253         "comments": "",\r
3254         "x": 4510.883331298828,\r
3255         "y": 1037,\r
3256         "z": "d1eceead.adafe",\r
3257         "wires": []\r
3258     },\r
3259     {\r
3260         "id": "8cad1e9f.c00c5",\r
3261         "type": "comment",\r
3262         "name": "This is it (should be)",\r
3263         "info": "",\r
3264         "comments": "",\r
3265         "x": 4502.883331298828,\r
3266         "y": 1127,\r
3267         "z": "d1eceead.adafe",\r
3268         "wires": []\r
3269     },\r
3270     {\r
3271         "id": "a78c5989.f5207",\r
3272         "type": "set",\r
3273         "name": "set ROOT stuff",\r
3274         "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
3275         "comments": "",\r
3276         "x": 3269.883331298828,\r
3277         "y": 2610,\r
3278         "z": "d1eceead.adafe",\r
3279         "wires": []\r
3280     },\r
3281     {\r
3282         "id": "5f144ff2.8e6388",\r
3283         "type": "save",\r
3284         "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3285         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3286         "comments": "",\r
3287         "outputs": 1,\r
3288         "x": 3401.883331298828,\r
3289         "y": 1860,\r
3290         "z": "d1eceead.adafe",\r
3291         "wires": [\r
3292             []\r
3293         ]\r
3294     },\r
3295     {\r
3296         "id": "f39161b8.c95518",\r
3297         "type": "save",\r
3298         "name": "save LEAF UNI in AAI",\r
3299         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
3300         "comments": "",\r
3301         "outputs": 1,\r
3302         "x": 3308.883331298828,\r
3303         "y": 1807,\r
3304         "z": "d1eceead.adafe",\r
3305         "wires": [\r
3306             []\r
3307         ]\r
3308     },\r
3309     {\r
3310         "id": "8af2638e.140428",\r
3311         "type": "execute",\r
3312         "name": "execute UUID generator for ethernet-service-name",\r
3313         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3314         "comments": "",\r
3315         "outputs": 1,\r
3316         "x": 2426.883331298828,\r
3317         "y": 185,\r
3318         "z": "d1eceead.adafe",\r
3319         "wires": [\r
3320             []\r
3321         ]\r
3322     },\r
3323     {\r
3324         "id": "b2d6bb83.745318",\r
3325         "type": "set",\r
3326         "name": "set new ethernet-service-name",\r
3327         "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
3328         "comments": "",\r
3329         "x": 2360.883331298828,\r
3330         "y": 221,\r
3331         "z": "d1eceead.adafe",\r
3332         "wires": []\r
3333     },\r
3334     {\r
3335         "id": "efb9627d.c73688",\r
3336         "type": "comment",\r
3337         "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
3338         "info": "",\r
3339         "comments": "",\r
3340         "x": 2545.883331298828,\r
3341         "y": 148,\r
3342         "z": "d1eceead.adafe",\r
3343         "wires": []\r
3344     },\r
3345     {\r
3346         "id": "7954d1dd.93732",\r
3347         "type": "comment",\r
3348         "name": "NOT NEEDED ANYMORE?",\r
3349         "info": "",\r
3350         "comments": "",\r
3351         "x": 4036.883331298828,\r
3352         "y": 1838,\r
3353         "z": "d1eceead.adafe",\r
3354         "wires": []\r
3355     },\r
3356     {\r
3357         "id": "48007645.c6e248",\r
3358         "type": "comment",\r
3359         "name": "NOT NEEDED ANYMORE?",\r
3360         "info": "",\r
3361         "comments": "",\r
3362         "x": 4014.883331298828,\r
3363         "y": 2708,\r
3364         "z": "d1eceead.adafe",\r
3365         "wires": []\r
3366     },\r
3367     {\r
3368         "id": "e22daf3c.82e7c8",\r
3369         "type": "call",\r
3370         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
3371         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
3372         "comments": "",\r
3373         "outputs": 1,\r
3374         "x": 3441.8837890625,\r
3375         "y": 7480.999969482422,\r
3376         "z": "d1eceead.adafe",\r
3377         "wires": [\r
3378             []\r
3379         ]\r
3380     },\r
3381     {\r
3382         "id": "ba2fa114.256608",\r
3383         "type": "comment",\r
3384         "name": "START OF DELETE OPERATION",\r
3385         "info": "",\r
3386         "comments": "",\r
3387         "x": 3288.88330078125,\r
3388         "y": 2939.999969482422,\r
3389         "z": "d1eceead.adafe",\r
3390         "wires": []\r
3391     },\r
3392     {\r
3393         "id": "cea904e8.518f5",\r
3394         "type": "save",\r
3395         "name": "delete LEAF uni resource in AAI",\r
3396         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
3397         "comments": "",\r
3398         "outputs": 1,\r
3399         "x": 3874.566650390625,\r
3400         "y": 3129.400115966797,\r
3401         "z": "d1eceead.adafe",\r
3402         "wires": [\r
3403             []\r
3404         ]\r
3405     },\r
3406     {\r
3407         "id": "8c6f82a5.234d18",\r
3408         "type": "save",\r
3409         "name": "get LEAF uni from aai",\r
3410         "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
3411         "comments": "",\r
3412         "outputs": 1,\r
3413         "x": 3245.566650390625,\r
3414         "y": 3059.400115966797,\r
3415         "z": "d1eceead.adafe",\r
3416         "wires": [\r
3417             [\r
3418                 "980e282b.21ebf",\r
3419                 "62337ab9.8b1c5c",\r
3420                 "ac27f627.a68b4"\r
3421             ]\r
3422         ]\r
3423     },\r
3424     {\r
3425         "id": "62337ab9.8b1c5c",\r
3426         "type": "not-found",\r
3427         "name": "not-found",\r
3428         "xml": "<outcome value='not-found'>\n",\r
3429         "comments": "",\r
3430         "outputs": 1,\r
3431         "x": 3473.0576171875,\r
3432         "y": 3031.974090576172,\r
3433         "z": "d1eceead.adafe",\r
3434         "wires": [\r
3435             [\r
3436                 "a4aab25a.3920c"\r
3437             ]\r
3438         ]\r
3439     },\r
3440     {\r
3441         "id": "ac27f627.a68b4",\r
3442         "type": "failure",\r
3443         "name": "failure",\r
3444         "xml": "<outcome value='failure'>\n",\r
3445         "comments": "",\r
3446         "outputs": 1,\r
3447         "x": 3468.566650390625,\r
3448         "y": 3076.4000549316406,\r
3449         "z": "d1eceead.adafe",\r
3450         "wires": [\r
3451             [\r
3452                 "98b8996.e5a3fe8"\r
3453             ]\r
3454         ]\r
3455     },\r
3456     {\r
3457         "id": "a4aab25a.3920c",\r
3458         "type": "returnFailure",\r
3459         "name": "return failure",\r
3460         "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
3461         "comments": "",\r
3462         "x": 3635.629150390625,\r
3463         "y": 3031.259796142578,\r
3464         "z": "d1eceead.adafe",\r
3465         "wires": []\r
3466     },\r
3467     {\r
3468         "id": "98b8996.e5a3fe8",\r
3469         "type": "returnFailure",\r
3470         "name": "return failure",\r
3471         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3472         "comments": "",\r
3473         "x": 3636.566650390625,\r
3474         "y": 3076.4000549316406,\r
3475         "z": "d1eceead.adafe",\r
3476         "wires": []\r
3477     },\r
3478     {\r
3479         "id": "980e282b.21ebf",\r
3480         "type": "success",\r
3481         "name": "success",\r
3482         "xml": "<outcome value='success'>\n",\r
3483         "comments": "",\r
3484         "outputs": 1,\r
3485         "x": 3480.566650390625,\r
3486         "y": 3126.400115966797,\r
3487         "z": "d1eceead.adafe",\r
3488         "wires": [\r
3489             [\r
3490                 "50a09dc8.f07414"\r
3491             ]\r
3492         ]\r
3493     },\r
3494     {\r
3495         "id": "50a09dc8.f07414",\r
3496         "type": "block",\r
3497         "name": "block : atomic",\r
3498         "xml": "<block atomic='true'>",\r
3499         "atomic": "true",\r
3500         "comments": "",\r
3501         "outputs": 1,\r
3502         "x": 3632.88330078125,\r
3503         "y": 3129.999969482422,\r
3504         "z": "d1eceead.adafe",\r
3505         "wires": [\r
3506             [\r
3507                 "839bae2a.5eaff8",\r
3508                 "cea904e8.518f5",\r
3509                 "8b478b6f.069ff8"\r
3510             ]\r
3511         ]\r
3512     },\r
3513     {\r
3514         "id": "839bae2a.5eaff8",\r
3515         "type": "set",\r
3516         "name": "set bwToBeDecreased tpid cvlan",\r
3517         "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
3518         "comments": "",\r
3519         "x": 3877.566650390625,\r
3520         "y": 3072.400115966797,\r
3521         "z": "d1eceead.adafe",\r
3522         "wires": []\r
3523     },\r
3524     {\r
3525         "id": "5a01c9ff.aa79b8",\r
3526         "type": "comment",\r
3527         "name": "Update ROOT UNI's bw",\r
3528         "info": "",\r
3529         "comments": "",\r
3530         "x": 3833.566650390625,\r
3531         "y": 3235.199920654297,\r
3532         "z": "d1eceead.adafe",\r
3533         "wires": []\r
3534     },\r
3535     {\r
3536         "id": "e327e4d5.a4e2b",\r
3537         "type": "save",\r
3538         "name": "update ROOT UNI in AAI",\r
3539         "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
3540         "comments": "",\r
3541         "outputs": 1,\r
3542         "x": 4435.566650390625,\r
3543         "y": 3340.199920654297,\r
3544         "z": "d1eceead.adafe",\r
3545         "wires": [\r
3546             []\r
3547         ]\r
3548     },\r
3549     {\r
3550         "id": "8b478b6f.069ff8",\r
3551         "type": "save",\r
3552         "name": "get root uni from aai",\r
3553         "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
3554         "comments": "",\r
3555         "outputs": 1,\r
3556         "x": 3825.56640625,\r
3557         "y": 3281.199920654297,\r
3558         "z": "d1eceead.adafe",\r
3559         "wires": [\r
3560             [\r
3561                 "b9a017aa.207728",\r
3562                 "1cc16855.ddb44",\r
3563                 "cca9f79e.b7e85"\r
3564             ]\r
3565         ]\r
3566     },\r
3567     {\r
3568         "id": "1cc16855.ddb44",\r
3569         "type": "not-found",\r
3570         "name": "not-found",\r
3571         "xml": "<outcome value='not-found'>\n",\r
3572         "comments": "",\r
3573         "outputs": 1,\r
3574         "x": 4053.057373046875,\r
3575         "y": 3253.773895263672,\r
3576         "z": "d1eceead.adafe",\r
3577         "wires": [\r
3578             [\r
3579                 "dd7a8720.93a36"\r
3580             ]\r
3581         ]\r
3582     },\r
3583     {\r
3584         "id": "cca9f79e.b7e85",\r
3585         "type": "failure",\r
3586         "name": "failure",\r
3587         "xml": "<outcome value='failure'>\n",\r
3588         "comments": "",\r
3589         "outputs": 1,\r
3590         "x": 4048.56640625,\r
3591         "y": 3298.1998596191406,\r
3592         "z": "d1eceead.adafe",\r
3593         "wires": [\r
3594             [\r
3595                 "bfa4184f.a70f18"\r
3596             ]\r
3597         ]\r
3598     },\r
3599     {\r
3600         "id": "dd7a8720.93a36",\r
3601         "type": "returnFailure",\r
3602         "name": "return failure",\r
3603         "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
3604         "comments": "",\r
3605         "x": 4215.62890625,\r
3606         "y": 3253.059600830078,\r
3607         "z": "d1eceead.adafe",\r
3608         "wires": []\r
3609     },\r
3610     {\r
3611         "id": "bfa4184f.a70f18",\r
3612         "type": "returnFailure",\r
3613         "name": "return failure",\r
3614         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3615         "comments": "",\r
3616         "x": 4216.56640625,\r
3617         "y": 3298.1998596191406,\r
3618         "z": "d1eceead.adafe",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "51dfcdd2.a7dd1c",\r
3623         "type": "block",\r
3624         "name": "block : atomic",\r
3625         "xml": "<block atomic=\"true\">",\r
3626         "atomic": "true",\r
3627         "outputs": 1,\r
3628         "x": 4213.56640625,\r
3629         "y": 3348.199920654297,\r
3630         "z": "d1eceead.adafe",\r
3631         "wires": [\r
3632             [\r
3633                 "f4f7b843.eb2a48",\r
3634                 "e327e4d5.a4e2b"\r
3635             ]\r
3636         ]\r
3637     },\r
3638     {\r
3639         "id": "b9a017aa.207728",\r
3640         "type": "success",\r
3641         "name": "success",\r
3642         "xml": "<outcome value='success'>\n",\r
3643         "comments": "",\r
3644         "outputs": 1,\r
3645         "x": 4044.56640625,\r
3646         "y": 3348.199920654297,\r
3647         "z": "d1eceead.adafe",\r
3648         "wires": [\r
3649             [\r
3650                 "51dfcdd2.a7dd1c"\r
3651             ]\r
3652         ]\r
3653     },\r
3654     {\r
3655         "id": "f4f7b843.eb2a48",\r
3656         "type": "set",\r
3657         "name": "set new bw",\r
3658         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
3659         "comments": "",\r
3660         "x": 4395.567138671875,\r
3661         "y": 3290.199920654297,\r
3662         "z": "d1eceead.adafe",\r
3663         "wires": []\r
3664     },\r
3665     {\r
3666         "id": "7302cb88.8e6284",\r
3667         "type": "comment",\r
3668         "name": "Delete LEAF UNI",\r
3669         "info": "",\r
3670         "comments": "",\r
3671         "x": 3825.88330078125,\r
3672         "y": 3013.999969482422,\r
3673         "z": "d1eceead.adafe",\r
3674         "wires": []\r
3675     },\r
3676     {\r
3677         "id": "5b4e5a5d.18c714",\r
3678         "type": "set",\r
3679         "name": "set current-provider-id and current-cvlan-id",\r
3680         "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
3681         "comments": "",\r
3682         "x": 3311.749969482422,\r
3683         "y": 3792.6000366210938,\r
3684         "z": "d1eceead.adafe",\r
3685         "wires": []\r
3686     },\r
3687     {\r
3688         "id": "a7a1bb48.b43ec8",\r
3689         "type": "call",\r
3690         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
3691         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
3692         "comments": "",\r
3693         "outputs": 1,\r
3694         "x": 3444.749969482422,\r
3695         "y": 3840.6000366210938,\r
3696         "z": "d1eceead.adafe",\r
3697         "wires": [\r
3698             []\r
3699         ]\r
3700     },\r
3701     {\r
3702         "id": "7b0989f8.4cdbd",\r
3703         "type": "switchNode",\r
3704         "name": "switch found-connectivity?",\r
3705         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
3706         "comments": "",\r
3707         "outputs": 1,\r
3708         "x": 3266.749969482422,\r
3709         "y": 3892.4000854492188,\r
3710         "z": "d1eceead.adafe",\r
3711         "wires": [\r
3712             [\r
3713                 "723122ee.60b394",\r
3714                 "1f79397f.9ef707"\r
3715             ]\r
3716         ]\r
3717     },\r
3718     {\r
3719         "id": "723122ee.60b394",\r
3720         "type": "outcomeFalse",\r
3721         "name": "false",\r
3722         "xml": "<outcome value='false'>\n",\r
3723         "comments": "",\r
3724         "outputs": 1,\r
3725         "x": 3459.749969482422,\r
3726         "y": 3893.4000854492188,\r
3727         "z": "d1eceead.adafe",\r
3728         "wires": [\r
3729             [\r
3730                 "fc2d1c85.b4eee"\r
3731             ]\r
3732         ]\r
3733     },\r
3734     {\r
3735         "id": "fc2d1c85.b4eee",\r
3736         "type": "returnFailure",\r
3737         "name": "return failure",\r
3738         "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
3739         "comments": "",\r
3740         "x": 3603.749969482422,\r
3741         "y": 3889.6000366210938,\r
3742         "z": "d1eceead.adafe",\r
3743         "wires": []\r
3744     },\r
3745     {\r
3746         "id": "1f79397f.9ef707",\r
3747         "type": "outcomeTrue",\r
3748         "name": "true",\r
3749         "xml": "<outcome value='true'>\n",\r
3750         "comments": "",\r
3751         "outputs": 1,\r
3752         "x": 3463.749969482422,\r
3753         "y": 3937.4000854492188,\r
3754         "z": "d1eceead.adafe",\r
3755         "wires": [\r
3756             [\r
3757                 "6275f59c.0890b4"\r
3758             ]\r
3759         ]\r
3760     },\r
3761     {\r
3762         "id": "6275f59c.0890b4",\r
3763         "type": "block",\r
3764         "name": "block : atomic",\r
3765         "xml": "<block atomic='true'>",\r
3766         "atomic": "true",\r
3767         "comments": "",\r
3768         "outputs": 1,\r
3769         "x": 3602.749969482422,\r
3770         "y": 3932.4000854492188,\r
3771         "z": "d1eceead.adafe",\r
3772         "wires": [\r
3773             [\r
3774                 "810f11d9.c59a7",\r
3775                 "852c933b.a9e98",\r
3776                 "dd94c766.3611e8"\r
3777             ]\r
3778         ]\r
3779     },\r
3780     {\r
3781         "id": "810f11d9.c59a7",\r
3782         "type": "for",\r
3783         "name": "for each relationship",\r
3784         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
3785         "comments": "",\r
3786         "outputs": 1,\r
3787         "x": 3853.149627685547,\r
3788         "y": 3940.9166870117188,\r
3789         "z": "d1eceead.adafe",\r
3790         "wires": [\r
3791             [\r
3792                 "4f7025f7.9e0214"\r
3793             ]\r
3794         ]\r
3795     },\r
3796     {\r
3797         "id": "4f7025f7.9e0214",\r
3798         "type": "switchNode",\r
3799         "name": "switch related-to",\r
3800         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
3801         "comments": "",\r
3802         "outputs": 1,\r
3803         "x": 4075.149627685547,\r
3804         "y": 3918.9166870117188,\r
3805         "z": "d1eceead.adafe",\r
3806         "wires": [\r
3807             [\r
3808                 "c1dfdbf7.de4f68"\r
3809             ]\r
3810         ]\r
3811     },\r
3812     {\r
3813         "id": "c1dfdbf7.de4f68",\r
3814         "type": "outcome",\r
3815         "name": "uni",\r
3816         "xml": "<outcome value='uni'>\n",\r
3817         "comments": "",\r
3818         "outputs": 1,\r
3819         "x": 4235.149139404297,\r
3820         "y": 3898.9166870117188,\r
3821         "z": "d1eceead.adafe",\r
3822         "wires": [\r
3823             [\r
3824                 "811e3163.5710b"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "7642582a.7718e8",\r
3830         "type": "block",\r
3831         "name": "block : atomic",\r
3832         "xml": "<block atomic=\"true\">",\r
3833         "atomic": "true",\r
3834         "outputs": 1,\r
3835         "x": 4388.149658203125,\r
3836         "y": 3879.916717529297,\r
3837         "z": "d1eceead.adafe",\r
3838         "wires": [\r
3839             [\r
3840                 "b019880c.9753e",\r
3841                 "f61cef0c.bbc238"\r
3842             ]\r
3843         ]\r
3844     },\r
3845     {\r
3846         "id": "b019880c.9753e",\r
3847         "type": "set",\r
3848         "name": "set tmp.stillHasUni to TRUE",\r
3849         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
3850         "comments": "",\r
3851         "x": 4584.649871826172,\r
3852         "y": 3847.9999389648438,\r
3853         "z": "d1eceead.adafe",\r
3854         "wires": []\r
3855     },\r
3856     {\r
3857         "id": "852c933b.a9e98",\r
3858         "type": "set",\r
3859         "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
3860         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
3861         "comments": "",\r
3862         "x": 3959.64990234375,\r
3863         "y": 3859.999969482422,\r
3864         "z": "d1eceead.adafe",\r
3865         "wires": []\r
3866     },\r
3867     {\r
3868         "id": "dd94c766.3611e8",\r
3869         "type": "switchNode",\r
3870         "name": "switch tmp.keepVPNBs?",\r
3871         "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
3872         "comments": "",\r
3873         "outputs": 1,\r
3874         "x": 3767.64990234375,\r
3875         "y": 4281.000213623047,\r
3876         "z": "d1eceead.adafe",\r
3877         "wires": [\r
3878             [\r
3879                 "73d16500.5c0ae4",\r
3880                 "d3a70ceb.c50b78"\r
3881             ]\r
3882         ]\r
3883     },\r
3884     {\r
3885         "id": "f61cef0c.bbc238",\r
3886         "type": "break",\r
3887         "name": "break",\r
3888         "xml": "<break>\n",\r
3889         "comments": "",\r
3890         "x": 4552.88330078125,\r
3891         "y": 3915.999969482422,\r
3892         "z": "d1eceead.adafe",\r
3893         "wires": []\r
3894     },\r
3895     {\r
3896         "id": "d3a70ceb.c50b78",\r
3897         "type": "outcomeFalse",\r
3898         "name": "false",\r
3899         "xml": "<outcome value='false'>\n",\r
3900         "comments": "",\r
3901         "outputs": 1,\r
3902         "x": 154.65066528320312,\r
3903         "y": 5345.000457763672,\r
3904         "z": "d1eceead.adafe",\r
3905         "wires": [\r
3906             [\r
3907                 "4a51985e.972e68"\r
3908             ]\r
3909         ]\r
3910     },\r
3911     {\r
3912         "id": "73d16500.5c0ae4",\r
3913         "type": "outcomeTrue",\r
3914         "name": "true",\r
3915         "xml": "<outcome value='true'>\n",\r
3916         "comments": "",\r
3917         "outputs": 1,\r
3918         "x": 3988.650634765625,\r
3919         "y": 4383.000213623047,\r
3920         "z": "d1eceead.adafe",\r
3921         "wires": [\r
3922             [\r
3923                 "25f72ad2.47990e"\r
3924             ]\r
3925         ]\r
3926     },\r
3927     {\r
3928         "id": "25f72ad2.47990e",\r
3929         "type": "block",\r
3930         "name": "block",\r
3931         "xml": "<block>",\r
3932         "atomic": "false",\r
3933         "comments": "",\r
3934         "outputs": 1,\r
3935         "x": 4131.650634765625,\r
3936         "y": 4379.000213623047,\r
3937         "z": "d1eceead.adafe",\r
3938         "wires": [\r
3939             [\r
3940                 "6e8bafff.64fc88",\r
3941                 "dcf23a76.fb4f5",\r
3942                 "f889b68d.197d9",\r
3943                 "69806916.62139",\r
3944                 "32064458.33cdf4",\r
3945                 "9c7a66fb.560d48",\r
3946                 "2b19eccb.73cf0c",\r
3947                 "987f769f.1ba7f8"\r
3948             ]\r
3949         ]\r
3950     },\r
3951     {\r
3952         "id": "316316fc.4e3ac2",\r
3953         "type": "comment",\r
3954         "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
3955         "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
3956         "comments": "",\r
3957         "x": 181,\r
3958         "y": 5301.000457763672,\r
3959         "z": "d1eceead.adafe",\r
3960         "wires": []\r
3961     },\r
3962     {\r
3963         "id": "32c3f6b1.304972",\r
3964         "type": "comment",\r
3965         "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
3966         "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
3967         "comments": "",\r
3968         "x": 4007.884033203125,\r
3969         "y": 4346.000213623047,\r
3970         "z": "d1eceead.adafe",\r
3971         "wires": []\r
3972     },\r
3973     {\r
3974         "id": "7adbe8ea.ad8838",\r
3975         "type": "set",\r
3976         "name": "set srcTtp OTN layer",\r
3977         "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
3978         "comments": "",\r
3979         "x": 4820.667724609375,\r
3980         "y": 4536.783660888672,\r
3981         "z": "d1eceead.adafe",\r
3982         "wires": []\r
3983     },\r
3984     {\r
3985         "id": "ee3b3067.d425a8",\r
3986         "type": "switchNode",\r
3987         "name": "switch provider-id domainA",\r
3988         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
3989         "comments": "",\r
3990         "outputs": 1,\r
3991         "x": 5165.667724609375,\r
3992         "y": 4398.783660888672,\r
3993         "z": "d1eceead.adafe",\r
3994         "wires": [\r
3995             [\r
3996                 "76f6067d.796678"\r
3997             ]\r
3998         ]\r
3999     },\r
4000     {\r
4001         "id": "fc93f53c.f481d",\r
4002         "type": "for",\r
4003         "name": "for netwidx..allNetworksList_length",\r
4004         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4005         "comments": "",\r
4006         "outputs": 1,\r
4007         "x": 4872.667724609375,\r
4008         "y": 4392.783660888672,\r
4009         "z": "d1eceead.adafe",\r
4010         "wires": [\r
4011             [\r
4012                 "ee3b3067.d425a8"\r
4013             ]\r
4014         ]\r
4015     },\r
4016     {\r
4017         "id": "3f4440b0.d66f8",\r
4018         "type": "not-found",\r
4019         "name": "not-found",\r
4020         "xml": "<outcome value='not-found'>\n",\r
4021         "comments": "",\r
4022         "outputs": 1,\r
4023         "x": 5127.667724609375,\r
4024         "y": 4349.783660888672,\r
4025         "z": "d1eceead.adafe",\r
4026         "wires": [\r
4027             []\r
4028         ]\r
4029     },\r
4030     {\r
4031         "id": "27f65669.8e0af2",\r
4032         "type": "set",\r
4033         "name": "unset parameters",\r
4034         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4035         "comments": "",\r
4036         "x": 4816.667724609375,\r
4037         "y": 4444.783660888672,\r
4038         "z": "d1eceead.adafe",\r
4039         "wires": []\r
4040     },\r
4041     {\r
4042         "id": "410c70eb.214758",\r
4043         "type": "set",\r
4044         "name": "set tmp.pce-src-node",\r
4045         "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
4046         "comments": "",\r
4047         "x": 4824.667724609375,\r
4048         "y": 4489.783660888672,\r
4049         "z": "d1eceead.adafe",\r
4050         "wires": []\r
4051     },\r
4052     {\r
4053         "id": "e258b42d.2c46d8",\r
4054         "type": "set",\r
4055         "name": "unset otnTopoIdSrc",\r
4056         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4057         "comments": "",\r
4058         "x": 4821.667724609375,\r
4059         "y": 4342.783660888672,\r
4060         "z": "d1eceead.adafe",\r
4061         "wires": []\r
4062     },\r
4063     {\r
4064         "id": "76f6067d.796678",\r
4065         "type": "outcomeTrue",\r
4066         "name": "true",\r
4067         "xml": "<outcome value='true'>\n",\r
4068         "comments": "",\r
4069         "outputs": 1,\r
4070         "x": 5074.667724609375,\r
4071         "y": 4466.783660888672,\r
4072         "z": "d1eceead.adafe",\r
4073         "wires": [\r
4074             [\r
4075                 "acca9da1.cc4618"\r
4076             ]\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "acca9da1.cc4618",\r
4081         "type": "switchNode",\r
4082         "name": "switch te-topo-id",\r
4083         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4084         "comments": "",\r
4085         "outputs": 1,\r
4086         "x": 5259.667724609375,\r
4087         "y": 4465.783660888672,\r
4088         "z": "d1eceead.adafe",\r
4089         "wires": [\r
4090             [\r
4091                 "f448b4f8.c120e"\r
4092             ]\r
4093         ]\r
4094     },\r
4095     {\r
4096         "id": "f448b4f8.c120e",\r
4097         "type": "outcomeTrue",\r
4098         "name": "true",\r
4099         "xml": "<outcome value='true'>\n",\r
4100         "comments": "",\r
4101         "outputs": 1,\r
4102         "x": 5451.667724609375,\r
4103         "y": 4468.783660888672,\r
4104         "z": "d1eceead.adafe",\r
4105         "wires": [\r
4106             [\r
4107                 "19985725.a5eca1"\r
4108             ]\r
4109         ]\r
4110     },\r
4111     {\r
4112         "id": "19985725.a5eca1",\r
4113         "type": "set",\r
4114         "name": "set otnTopoIdSrc",\r
4115         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4116         "comments": "",\r
4117         "x": 5623.667724609375,\r
4118         "y": 4464.783660888672,\r
4119         "z": "d1eceead.adafe",\r
4120         "wires": []\r
4121     },\r
4122     {\r
4123         "id": "ab4edace.9f77f",\r
4124         "type": "call",\r
4125         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
4126         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4127         "comments": "",\r
4128         "outputs": 1,\r
4129         "x": 4999.667724609375,\r
4130         "y": 4579.783660888672,\r
4131         "z": "d1eceead.adafe",\r
4132         "wires": [\r
4133             []\r
4134         ]\r
4135     },\r
4136     {\r
4137         "id": "6e8bafff.64fc88",\r
4138         "type": "block",\r
4139         "name": "block",\r
4140         "xml": "<block>\n",\r
4141         "atomic": "false",\r
4142         "comments": "",\r
4143         "outputs": 1,\r
4144         "x": 4516.667724609375,\r
4145         "y": 4364.783660888672,\r
4146         "z": "d1eceead.adafe",\r
4147         "wires": [\r
4148             [\r
4149                 "30c992c8.4db58e",\r
4150                 "c2728b20.458338",\r
4151                 "27f65669.8e0af2",\r
4152                 "410c70eb.214758",\r
4153                 "7adbe8ea.ad8838",\r
4154                 "fc93f53c.f481d",\r
4155                 "ab4edace.9f77f"\r
4156             ]\r
4157         ]\r
4158     },\r
4159     {\r
4160         "id": "2e6e6c8a.c892fc",\r
4161         "type": "comment",\r
4162         "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4163         "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4164         "comments": "",\r
4165         "x": 4501.667724609375,\r
4166         "y": 4298.783660888672,\r
4167         "z": "d1eceead.adafe",\r
4168         "wires": []\r
4169     },\r
4170     {\r
4171         "id": "c2728b20.458338",\r
4172         "type": "get-resource",\r
4173         "name": "get-resource network-resources-list",\r
4174         "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
4175         "comments": "",\r
4176         "outputs": 1,\r
4177         "x": 4880.667724609375,\r
4178         "y": 4285.783660888672,\r
4179         "z": "d1eceead.adafe",\r
4180         "wires": [\r
4181             [\r
4182                 "cd41e347.c8a4d",\r
4183                 "5bcb3237.45bf24",\r
4184                 "3f4440b0.d66f8"\r
4185             ]\r
4186         ]\r
4187     },\r
4188     {\r
4189         "id": "cd41e347.c8a4d",\r
4190         "type": "success",\r
4191         "name": "success",\r
4192         "xml": "<outcome value='success'>\n",\r
4193         "comments": "",\r
4194         "outputs": 1,\r
4195         "x": 5116.667724609375,\r
4196         "y": 4268.783660888672,\r
4197         "z": "d1eceead.adafe",\r
4198         "wires": [\r
4199             []\r
4200         ]\r
4201     },\r
4202     {\r
4203         "id": "5bcb3237.45bf24",\r
4204         "type": "other",\r
4205         "name": "other",\r
4206         "xml": "<outcome value='Other'>\n",\r
4207         "comments": "",\r
4208         "outputs": 1,\r
4209         "x": 5113.667724609375,\r
4210         "y": 4309.783660888672,\r
4211         "z": "d1eceead.adafe",\r
4212         "wires": [\r
4213             []\r
4214         ]\r
4215     },\r
4216     {\r
4217         "id": "30c992c8.4db58e",\r
4218         "type": "set",\r
4219         "name": "unset parameters",\r
4220         "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4221         "comments": "",\r
4222         "x": 4829.667724609375,\r
4223         "y": 4242.783660888672,\r
4224         "z": "d1eceead.adafe",\r
4225         "wires": []\r
4226     },\r
4227     {\r
4228         "id": "dcf23a76.fb4f5",\r
4229         "type": "set",\r
4230         "name": "unset tmp.aai.all-vpn-bindings",\r
4231         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
4232         "comments": "",\r
4233         "x": 4336.667724609375,\r
4234         "y": 4697.183563232422,\r
4235         "z": "d1eceead.adafe",\r
4236         "wires": []\r
4237     },\r
4238     {\r
4239         "id": "f549a24.b4e97e",\r
4240         "type": "comment",\r
4241         "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
4242         "info": "",\r
4243         "comments": "",\r
4244         "x": 4459.968017578125,\r
4245         "y": 4736.183563232422,\r
4246         "z": "d1eceead.adafe",\r
4247         "wires": []\r
4248     },\r
4249     {\r
4250         "id": "f889b68d.197d9",\r
4251         "type": "save",\r
4252         "name": "get all-vpn-bindings from aai",\r
4253         "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
4254         "comments": "",\r
4255         "outputs": 1,\r
4256         "x": 4357.968017578125,\r
4257         "y": 4771.183563232422,\r
4258         "z": "d1eceead.adafe",\r
4259         "wires": [\r
4260             [\r
4261                 "f7fe6bc0.f9d1a8",\r
4262                 "b939c13a.bd148",\r
4263                 "63930841.13965"\r
4264             ]\r
4265         ]\r
4266     },\r
4267     {\r
4268         "id": "f7fe6bc0.f9d1a8",\r
4269         "type": "success",\r
4270         "name": "success",\r
4271         "xml": "<outcome value='success'>\n",\r
4272         "comments": "",\r
4273         "outputs": 1,\r
4274         "x": 4562.968017578125,\r
4275         "y": 4768.183563232422,\r
4276         "z": "d1eceead.adafe",\r
4277         "wires": [\r
4278             [\r
4279                 "85787fa.a0f0d8"\r
4280             ]\r
4281         ]\r
4282     },\r
4283     {\r
4284         "id": "b939c13a.bd148",\r
4285         "type": "not-found",\r
4286         "name": "not-found",\r
4287         "xml": "<outcome value='not-found'>\n",\r
4288         "comments": "",\r
4289         "outputs": 1,\r
4290         "x": 4546.458984375,\r
4291         "y": 4829.757598876953,\r
4292         "z": "d1eceead.adafe",\r
4293         "wires": [\r
4294             [\r
4295                 "c496c4d4.109c78"\r
4296             ]\r
4297         ]\r
4298     },\r
4299     {\r
4300         "id": "63930841.13965",\r
4301         "type": "failure",\r
4302         "name": "failure",\r
4303         "xml": "<outcome value='failure'>\n",\r
4304         "comments": "",\r
4305         "outputs": 1,\r
4306         "x": 4543.968017578125,\r
4307         "y": 4873.183563232422,\r
4308         "z": "d1eceead.adafe",\r
4309         "wires": [\r
4310             [\r
4311                 "bb1ebaa9.c2fac"\r
4312             ]\r
4313         ]\r
4314     },\r
4315     {\r
4316         "id": "85787fa.a0f0d8",\r
4317         "type": "block",\r
4318         "name": "block : atomic",\r
4319         "xml": "<block atomic=\"true\">",\r
4320         "atomic": "true",\r
4321         "outputs": 1,\r
4322         "x": 4730.96826171875,\r
4323         "y": 4763.183563232422,\r
4324         "z": "d1eceead.adafe",\r
4325         "wires": [\r
4326             [\r
4327                 "6a7a29b4.6659c"\r
4328             ]\r
4329         ]\r
4330     },\r
4331     {\r
4332         "id": "c496c4d4.109c78",\r
4333         "type": "returnFailure",\r
4334         "name": "return failure",\r
4335         "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
4336         "comments": "",\r
4337         "x": 4709.0303955078125,\r
4338         "y": 4830.0433349609375,\r
4339         "z": "d1eceead.adafe",\r
4340         "wires": []\r
4341     },\r
4342     {\r
4343         "id": "bb1ebaa9.c2fac",\r
4344         "type": "returnFailure",\r
4345         "name": "return failure",\r
4346         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4347         "comments": "",\r
4348         "x": 4710.968017578125,\r
4349         "y": 4872.183563232422,\r
4350         "z": "d1eceead.adafe",\r
4351         "wires": []\r
4352     },\r
4353     {\r
4354         "id": "6a7a29b4.6659c",\r
4355         "type": "for",\r
4356         "name": "for vpnidx in all-vpn-bindings",\r
4357         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4358         "comments": "",\r
4359         "outputs": 1,\r
4360         "x": 4968.96826171875,\r
4361         "y": 4768.183563232422,\r
4362         "z": "d1eceead.adafe",\r
4363         "wires": [\r
4364             [\r
4365                 "2e12f618.b174b2"\r
4366             ]\r
4367         ]\r
4368     },\r
4369     {\r
4370         "id": "2e12f618.b174b2",\r
4371         "type": "block",\r
4372         "name": "block : atomic",\r
4373         "xml": "<block atomic='true'>",\r
4374         "atomic": "true",\r
4375         "comments": "",\r
4376         "outputs": 1,\r
4377         "x": 5202.968017578125,\r
4378         "y": 4775.183563232422,\r
4379         "z": "d1eceead.adafe",\r
4380         "wires": [\r
4381             [\r
4382                 "1b37b556.addac3"\r
4383             ]\r
4384         ]\r
4385     },\r
4386     {\r
4387         "id": "3df57bb4.1a97cc",\r
4388         "type": "comment",\r
4389         "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4390         "info": "",\r
4391         "comments": "",\r
4392         "x": 5119.783935546875,\r
4393         "y": 4846.349884033203,\r
4394         "z": "d1eceead.adafe",\r
4395         "wires": []\r
4396     },\r
4397     {\r
4398         "id": "1b37b556.addac3",\r
4399         "type": "switchNode",\r
4400         "name": "switch ops-note is srcTtpOtnLayer",\r
4401         "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4402         "comments": "",\r
4403         "outputs": 1,\r
4404         "x": 5063.783935546875,\r
4405         "y": 4895.349884033203,\r
4406         "z": "d1eceead.adafe",\r
4407         "wires": [\r
4408             [\r
4409                 "c62dd674.fd73f",\r
4410                 "37627bf2.c03934"\r
4411             ]\r
4412         ]\r
4413     },\r
4414     {\r
4415         "id": "37627bf2.c03934",\r
4416         "type": "outcomeFalse",\r
4417         "name": "false",\r
4418         "xml": "<outcome value='false'>\n",\r
4419         "comments": "",\r
4420         "outputs": 1,\r
4421         "x": 5306.784423828125,\r
4422         "y": 4936.349395751953,\r
4423         "z": "d1eceead.adafe",\r
4424         "wires": [\r
4425             []\r
4426         ]\r
4427     },\r
4428     {\r
4429         "id": "c62dd674.fd73f",\r
4430         "type": "outcomeTrue",\r
4431         "name": "true",\r
4432         "xml": "<outcome value='true'>\n",\r
4433         "comments": "",\r
4434         "outputs": 1,\r
4435         "x": 5317.7841796875,\r
4436         "y": 4893.349609375,\r
4437         "z": "d1eceead.adafe",\r
4438         "wires": [\r
4439             [\r
4440                 "b2c9765c.25999"\r
4441             ]\r
4442         ]\r
4443     },\r
4444     {\r
4445         "id": "a5ecb13c.9c7548",\r
4446         "type": "block",\r
4447         "name": "block : atomic",\r
4448         "xml": "<block atomic='true'>",\r
4449         "atomic": "true",\r
4450         "comments": "",\r
4451         "outputs": 1,\r
4452         "x": 5544.767578125,\r
4453         "y": 4900.76611328125,\r
4454         "z": "d1eceead.adafe",\r
4455         "wires": [\r
4456             [\r
4457                 "78a5ede3.09cc54",\r
4458                 "aecf8872.1d5c4",\r
4459                 "657d43b1.13c254"\r
4460             ]\r
4461         ]\r
4462     },\r
4463     {\r
4464         "id": "9d348107.818aa",\r
4465         "type": "for",\r
4466         "name": "for each relationship",\r
4467         "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
4468         "comments": "",\r
4469         "outputs": 1,\r
4470         "x": 5709.8173828125,\r
4471         "y": 4785.766571044922,\r
4472         "z": "d1eceead.adafe",\r
4473         "wires": [\r
4474             [\r
4475                 "99f28c5d.95abe8"\r
4476             ]\r
4477         ]\r
4478     },\r
4479     {\r
4480         "id": "99f28c5d.95abe8",\r
4481         "type": "switchNode",\r
4482         "name": "switch related-to",\r
4483         "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
4484         "comments": "",\r
4485         "outputs": 1,\r
4486         "x": 5901.8173828125,\r
4487         "y": 4774.766815185547,\r
4488         "z": "d1eceead.adafe",\r
4489         "wires": [\r
4490             [\r
4491                 "9a75bdf9.10641"\r
4492             ]\r
4493         ]\r
4494     },\r
4495     {\r
4496         "id": "78a5ede3.09cc54",\r
4497         "type": "set",\r
4498         "name": "unset tmp.aai.the-vpn-binding",\r
4499         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4500         "comments": "",\r
4501         "x": 5658.334228515625,\r
4502         "y": 4675.983612060547,\r
4503         "z": "d1eceead.adafe",\r
4504         "wires": []\r
4505     },\r
4506     {\r
4507         "id": "aecf8872.1d5c4",\r
4508         "type": "set",\r
4509         "name": "set tmp.aai.the-vpn-binding",\r
4510         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4511         "comments": "",\r
4512         "x": 5650.334228515625,\r
4513         "y": 4724.983612060547,\r
4514         "z": "d1eceead.adafe",\r
4515         "wires": []\r
4516     },\r
4517     {\r
4518         "id": "657d43b1.13c254",\r
4519         "type": "save",\r
4520         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4521         "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
4522         "comments": "",\r
4523         "outputs": 1,\r
4524         "x": 5881.751220703125,\r
4525         "y": 4906.149627685547,\r
4526         "z": "d1eceead.adafe",\r
4527         "wires": [\r
4528             []\r
4529         ]\r
4530     },\r
4531     {\r
4532         "id": "f1c96228.a5339",\r
4533         "type": "save",\r
4534         "name": "update connectivity resource in AAI",\r
4535         "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
4536         "comments": "",\r
4537         "outputs": 1,\r
4538         "x": 5833.401123046875,\r
4539         "y": 4953.466522216797,\r
4540         "z": "d1eceead.adafe",\r
4541         "wires": [\r
4542             []\r
4543         ]\r
4544     },\r
4545     {\r
4546         "id": "75d6304c.089cd8",\r
4547         "type": "comment",\r
4548         "name": "decrease the bw of the-vpn-binding and change status to modified",\r
4549         "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
4550         "comments": "",\r
4551         "x": 5905.751220703125,\r
4552         "y": 4867.149627685547,\r
4553         "z": "d1eceead.adafe",\r
4554         "wires": []\r
4555     },\r
4556     {\r
4557         "id": "9a75bdf9.10641",\r
4558         "type": "outcome",\r
4559         "name": "connectivity",\r
4560         "xml": "<outcome value='connectivity'>\n",\r
4561         "comments": "",\r
4562         "outputs": 1,\r
4563         "x": 6083.8173828125,\r
4564         "y": 4753.766815185547,\r
4565         "z": "d1eceead.adafe",\r
4566         "wires": [\r
4567             [\r
4568                 "b5ad886.81af5f8"\r
4569             ]\r
4570         ]\r
4571     },\r
4572     {\r
4573         "id": "b5ad886.81af5f8",\r
4574         "type": "block",\r
4575         "name": "block : atomic",\r
4576         "xml": "<block atomic=\"true\">",\r
4577         "atomic": "true",\r
4578         "outputs": 1,\r
4579         "x": 6245.8173828125,\r
4580         "y": 4742.766815185547,\r
4581         "z": "d1eceead.adafe",\r
4582         "wires": [\r
4583             [\r
4584                 "6f94f7eb.f4d818",\r
4585                 "269fac18.2bb21c"\r
4586             ]\r
4587         ]\r
4588     },\r
4589     {\r
4590         "id": "6f94f7eb.f4d818",\r
4591         "type": "set",\r
4592         "name": "unset tmp.the-connectivity",\r
4593         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
4594         "comments": "",\r
4595         "x": 6442.8173828125,\r
4596         "y": 4671.766815185547,\r
4597         "z": "d1eceead.adafe",\r
4598         "wires": []\r
4599     },\r
4600     {\r
4601         "id": "269fac18.2bb21c",\r
4602         "type": "set",\r
4603         "name": "set tmp.the-connectivity",\r
4604         "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
4605         "comments": "",\r
4606         "x": 6440.2841796875,\r
4607         "y": 4770.983612060547,\r
4608         "z": "d1eceead.adafe",\r
4609         "wires": []\r
4610     },\r
4611     {\r
4612         "id": "a984d0c7.8574d",\r
4613         "type": "call",\r
4614         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
4615         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
4616         "comments": "",\r
4617         "outputs": 1,\r
4618         "x": 3097.800048828125,\r
4619         "y": 3229.800018310547,\r
4620         "z": "d1eceead.adafe",\r
4621         "wires": [\r
4622             []\r
4623         ]\r
4624     },\r
4625     {\r
4626         "id": "49347bae.3e2974",\r
4627         "type": "switchNode",\r
4628         "name": "switch found-middle-man?",\r
4629         "xml": "<switch test='`$found-middle-man`'>\n",\r
4630         "comments": "",\r
4631         "outputs": 1,\r
4632         "x": 2974.800048828125,\r
4633         "y": 3339.800018310547,\r
4634         "z": "d1eceead.adafe",\r
4635         "wires": [\r
4636             [\r
4637                 "7b835f88.3b076",\r
4638                 "7490c0ec.4dda5"\r
4639             ]\r
4640         ]\r
4641     },\r
4642     {\r
4643         "id": "7b835f88.3b076",\r
4644         "type": "outcomeFalse",\r
4645         "name": "false",\r
4646         "xml": "<outcome value='false'>\n",\r
4647         "comments": "",\r
4648         "outputs": 1,\r
4649         "x": 3158.800048828125,\r
4650         "y": 3318.800018310547,\r
4651         "z": "d1eceead.adafe",\r
4652         "wires": [\r
4653             [\r
4654                 "5b141b7a.8f28f4"\r
4655             ]\r
4656         ]\r
4657     },\r
4658     {\r
4659         "id": "5b141b7a.8f28f4",\r
4660         "type": "block",\r
4661         "name": "block : atomic",\r
4662         "xml": "<block atomic='true'>",\r
4663         "atomic": "true",\r
4664         "comments": "",\r
4665         "outputs": 1,\r
4666         "x": 3301.800048828125,\r
4667         "y": 3318.800018310547,\r
4668         "z": "d1eceead.adafe",\r
4669         "wires": [\r
4670             [\r
4671                 "94596646.a7e4f"\r
4672             ]\r
4673         ]\r
4674     },\r
4675     {\r
4676         "id": "94596646.a7e4f",\r
4677         "type": "returnFailure",\r
4678         "name": "return failure",\r
4679         "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
4680         "comments": "",\r
4681         "x": 3477.800048828125,\r
4682         "y": 3316.800018310547,\r
4683         "z": "d1eceead.adafe",\r
4684         "wires": []\r
4685     },\r
4686     {\r
4687         "id": "7490c0ec.4dda5",\r
4688         "type": "outcomeTrue",\r
4689         "name": "true",\r
4690         "xml": "<outcome value='true'>\n",\r
4691         "comments": "",\r
4692         "outputs": 1,\r
4693         "x": 3156.800048828125,\r
4694         "y": 3373.800018310547,\r
4695         "z": "d1eceead.adafe",\r
4696         "wires": [\r
4697             [\r
4698                 "a3855d70.dbb87"\r
4699             ]\r
4700         ]\r
4701     },\r
4702     {\r
4703         "id": "a3855d70.dbb87",\r
4704         "type": "block",\r
4705         "name": "block : atomic",\r
4706         "xml": "<block atomic='true'>",\r
4707         "atomic": "true",\r
4708         "comments": "",\r
4709         "outputs": 1,\r
4710         "x": 3003.800048828125,\r
4711         "y": 3506.800018310547,\r
4712         "z": "d1eceead.adafe",\r
4713         "wires": [\r
4714             [\r
4715                 "5b4e5a5d.18c714",\r
4716                 "a7a1bb48.b43ec8",\r
4717                 "7b0989f8.4cdbd",\r
4718                 "b98b1ba5.429c1",\r
4719                 "37657916.72f08e",\r
4720                 "cc0c619e.32de58"\r
4721             ]\r
4722         ]\r
4723     },\r
4724     {\r
4725         "id": "a5a62e88.7d802",\r
4726         "type": "comment",\r
4727         "name": "Find LEAF connectivity",\r
4728         "info": "",\r
4729         "comments": "",\r
4730         "x": 3225.88330078125,\r
4731         "y": 3746.999969482422,\r
4732         "z": "d1eceead.adafe",\r
4733         "wires": []\r
4734     },\r
4735     {\r
4736         "id": "b98b1ba5.429c1",\r
4737         "type": "set",\r
4738         "name": "set tmp.MMstillHasUni to FALSE",\r
4739         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
4740         "comments": "",\r
4741         "x": 3308.333251953125,\r
4742         "y": 3519.800018310547,\r
4743         "z": "d1eceead.adafe",\r
4744         "wires": []\r
4745     },\r
4746     {\r
4747         "id": "37657916.72f08e",\r
4748         "type": "for",\r
4749         "name": "for each relationship of middle-man-conn",\r
4750         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
4751         "comments": "",\r
4752         "outputs": 1,\r
4753         "x": 3306.8330078125,\r
4754         "y": 3565.716766357422,\r
4755         "z": "d1eceead.adafe",\r
4756         "wires": [\r
4757             [\r
4758                 "1a4c3937.32a93f"\r
4759             ]\r
4760         ]\r
4761     },\r
4762     {\r
4763         "id": "1a4c3937.32a93f",\r
4764         "type": "switchNode",\r
4765         "name": "switch related-to",\r
4766         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
4767         "comments": "",\r
4768         "outputs": 1,\r
4769         "x": 3569.8330078125,\r
4770         "y": 3560.716766357422,\r
4771         "z": "d1eceead.adafe",\r
4772         "wires": [\r
4773             [\r
4774                 "95d80a37.7eef5"\r
4775             ]\r
4776         ]\r
4777     },\r
4778     {\r
4779         "id": "95d80a37.7eef5",\r
4780         "type": "outcome",\r
4781         "name": "uni",\r
4782         "xml": "<outcome value='uni'>\n",\r
4783         "comments": "",\r
4784         "outputs": 1,\r
4785         "x": 3729.83251953125,\r
4786         "y": 3540.716766357422,\r
4787         "z": "d1eceead.adafe",\r
4788         "wires": [\r
4789             [\r
4790                 "9608373.19689c8"\r
4791             ]\r
4792         ]\r
4793     },\r
4794     {\r
4795         "id": "d9ea756c.06e5e",\r
4796         "type": "block",\r
4797         "name": "block : atomic",\r
4798         "xml": "<block atomic=\"true\">",\r
4799         "atomic": "true",\r
4800         "outputs": 1,\r
4801         "x": 4498.833740234375,\r
4802         "y": 3575.716766357422,\r
4803         "z": "d1eceead.adafe",\r
4804         "wires": [\r
4805             [\r
4806                 "29278691.db117a",\r
4807                 "29bad35d.650d14",\r
4808                 "a6af6c62.1a6b5"\r
4809             ]\r
4810         ]\r
4811     },\r
4812     {\r
4813         "id": "29278691.db117a",\r
4814         "type": "set",\r
4815         "name": "set tmp.MMstillHasUni to TRUE",\r
4816         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
4817         "comments": "",\r
4818         "x": 4738.334228515625,\r
4819         "y": 3524.800018310547,\r
4820         "z": "d1eceead.adafe",\r
4821         "wires": []\r
4822     },\r
4823     {\r
4824         "id": "29bad35d.650d14",\r
4825         "type": "break",\r
4826         "name": "break",\r
4827         "xml": "<break>\n",\r
4828         "comments": "",\r
4829         "x": 4671.567657470703,\r
4830         "y": 3597.800048828125,\r
4831         "z": "d1eceead.adafe",\r
4832         "wires": []\r
4833     },\r
4834     {\r
4835         "id": "4465f9ec.e3dbb",\r
4836         "type": "comment",\r
4837         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
4838         "info": "",\r
4839         "comments": "",\r
4840         "x": 4432.88427734375,\r
4841         "y": 5128.000213623047,\r
4842         "z": "d1eceead.adafe",\r
4843         "wires": []\r
4844     },\r
4845     {\r
4846         "id": "69806916.62139",\r
4847         "type": "set",\r
4848         "name": "set tmp.leafconn.",\r
4849         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
4850         "comments": "",\r
4851         "x": 4331.317138671875,\r
4852         "y": 5179.916717529297,\r
4853         "z": "d1eceead.adafe",\r
4854         "wires": []\r
4855     },\r
4856     {\r
4857         "id": "2b19eccb.73cf0c",\r
4858         "type": "call",\r
4859         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4860         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4861         "comments": "",\r
4862         "outputs": 1,\r
4863         "x": 4482.317138671875,\r
4864         "y": 5622.916717529297,\r
4865         "z": "d1eceead.adafe",\r
4866         "wires": [\r
4867             []\r
4868         ]\r
4869     },\r
4870     {\r
4871         "id": "987f769f.1ba7f8",\r
4872         "type": "switchNode",\r
4873         "name": "switch found-root-connectivity",\r
4874         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4875         "comments": "",\r
4876         "outputs": 1,\r
4877         "x": 4297.317138671875,\r
4878         "y": 5689.916717529297,\r
4879         "z": "d1eceead.adafe",\r
4880         "wires": [\r
4881             [\r
4882                 "c7979e94.4deb18",\r
4883                 "5e8c956f.69a854"\r
4884             ]\r
4885         ]\r
4886     },\r
4887     {\r
4888         "id": "c7979e94.4deb18",\r
4889         "type": "outcomeTrue",\r
4890         "name": "true",\r
4891         "xml": "<outcome value='true'>\n",\r
4892         "comments": "",\r
4893         "outputs": 1,\r
4894         "x": 4562.317138671875,\r
4895         "y": 5674.916717529297,\r
4896         "z": "d1eceead.adafe",\r
4897         "wires": [\r
4898             [\r
4899                 "4a28d2a5.936924"\r
4900             ]\r
4901         ]\r
4902     },\r
4903     {\r
4904         "id": "5e8c956f.69a854",\r
4905         "type": "outcomeFalse",\r
4906         "name": "false",\r
4907         "xml": "<outcome value='false'>\n",\r
4908         "comments": "",\r
4909         "outputs": 1,\r
4910         "x": 4558.317138671875,\r
4911         "y": 5722.916717529297,\r
4912         "z": "d1eceead.adafe",\r
4913         "wires": [\r
4914             [\r
4915                 "213fbf95.d03c8"\r
4916             ]\r
4917         ]\r
4918     },\r
4919     {\r
4920         "id": "4a28d2a5.936924",\r
4921         "type": "block",\r
4922         "name": "block : atomic",\r
4923         "xml": "<block atomic='true'>",\r
4924         "atomic": "true",\r
4925         "comments": "",\r
4926         "outputs": 1,\r
4927         "x": 4718.317138671875,\r
4928         "y": 5670.916717529297,\r
4929         "z": "d1eceead.adafe",\r
4930         "wires": [\r
4931             [\r
4932                 "a96c5a1a.d66bf"\r
4933             ]\r
4934         ]\r
4935     },\r
4936     {\r
4937         "id": "213fbf95.d03c8",\r
4938         "type": "returnFailure",\r
4939         "name": "return failure",\r
4940         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4941         "comments": "",\r
4942         "x": 4706.317138671875,\r
4943         "y": 5717.916717529297,\r
4944         "z": "d1eceead.adafe",\r
4945         "wires": []\r
4946     },\r
4947     {\r
4948         "id": "4e8315f.b9446ec",\r
4949         "type": "set",\r
4950         "name": "set tmp.rootconn.",\r
4951         "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
4952         "comments": "",\r
4953         "x": 5138.3173828125,\r
4954         "y": 5612.916717529297,\r
4955         "z": "d1eceead.adafe",\r
4956         "wires": []\r
4957     },\r
4958     {\r
4959         "id": "aa7d5d8.eb8bca",\r
4960         "type": "set",\r
4961         "name": "set pnf-name",\r
4962         "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
4963         "comments": "",\r
4964         "x": 4540.734130859375,\r
4965         "y": 5209.200408935547,\r
4966         "z": "d1eceead.adafe",\r
4967         "wires": []\r
4968     },\r
4969     {\r
4970         "id": "32064458.33cdf4",\r
4971         "type": "block",\r
4972         "name": "block : atomic",\r
4973         "xml": "<block atomic=\"true\">",\r
4974         "atomic": "true",\r
4975         "outputs": 1,\r
4976         "x": 4311.734130859375,\r
4977         "y": 5298.200408935547,\r
4978         "z": "d1eceead.adafe",\r
4979         "wires": [\r
4980             [\r
4981                 "aa7d5d8.eb8bca",\r
4982                 "3165c974.539e06"\r
4983             ]\r
4984         ]\r
4985     },\r
4986     {\r
4987         "id": "3165c974.539e06",\r
4988         "type": "get-resource",\r
4989         "name": "get-resource src pnf",\r
4990         "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
4991         "comments": "",\r
4992         "outputs": 1,\r
4993         "x": 4547.734130859375,\r
4994         "y": 5291.200408935547,\r
4995         "z": "d1eceead.adafe",\r
4996         "wires": [\r
4997             [\r
4998                 "4cddcbba.102194",\r
4999                 "d5cd17da.64e6a",\r
5000                 "9d33157c.077f3"\r
5001             ]\r
5002         ]\r
5003     },\r
5004     {\r
5005         "id": "4cddcbba.102194",\r
5006         "type": "success",\r
5007         "name": "success",\r
5008         "xml": "<outcome value='success'>\n",\r
5009         "comments": "",\r
5010         "outputs": 1,\r
5011         "x": 4743.2342529296875,\r
5012         "y": 5243.200408935547,\r
5013         "z": "d1eceead.adafe",\r
5014         "wires": [\r
5015             [\r
5016                 "658952ec.d50f2c"\r
5017             ]\r
5018         ]\r
5019     },\r
5020     {\r
5021         "id": "d5cd17da.64e6a",\r
5022         "type": "not-found",\r
5023         "name": "not-found",\r
5024         "xml": "<outcome value='not-found'>\n",\r
5025         "comments": "",\r
5026         "outputs": 1,\r
5027         "x": 4735.2342529296875,\r
5028         "y": 5298.200408935547,\r
5029         "z": "d1eceead.adafe",\r
5030         "wires": [\r
5031             [\r
5032                 "f87d3f72.db25b"\r
5033             ]\r
5034         ]\r
5035     },\r
5036     {\r
5037         "id": "658952ec.d50f2c",\r
5038         "type": "block",\r
5039         "name": "block",\r
5040         "xml": "<block>\n",\r
5041         "atomic": "false",\r
5042         "comments": "",\r
5043         "outputs": 1,\r
5044         "x": 4887.6165771484375,\r
5045         "y": 5242.8560791015625,\r
5046         "z": "d1eceead.adafe",\r
5047         "wires": [\r
5048             [\r
5049                 "5e03d50d.e31174"\r
5050             ]\r
5051         ]\r
5052     },\r
5053     {\r
5054         "id": "5e03d50d.e31174",\r
5055         "type": "for",\r
5056         "name": "for each relationship",\r
5057         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5058         "comments": "",\r
5059         "outputs": 1,\r
5060         "x": 5071.734130859375,\r
5061         "y": 5241.200408935547,\r
5062         "z": "d1eceead.adafe",\r
5063         "wires": [\r
5064             [\r
5065                 "81fcac6e.c2cbb"\r
5066             ]\r
5067         ]\r
5068     },\r
5069     {\r
5070         "id": "81fcac6e.c2cbb",\r
5071         "type": "switchNode",\r
5072         "name": "switch related-to",\r
5073         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5074         "comments": "",\r
5075         "outputs": 1,\r
5076         "x": 5266.734130859375,\r
5077         "y": 5241.200408935547,\r
5078         "z": "d1eceead.adafe",\r
5079         "wires": [\r
5080             [\r
5081                 "23740bd0.c54174"\r
5082             ]\r
5083         ]\r
5084     },\r
5085     {\r
5086         "id": "9d33157c.077f3",\r
5087         "type": "other",\r
5088         "name": "other",\r
5089         "xml": "<outcome value='Other'>\n",\r
5090         "comments": "",\r
5091         "outputs": 1,\r
5092         "x": 4740.2342529296875,\r
5093         "y": 5355.200408935547,\r
5094         "z": "d1eceead.adafe",\r
5095         "wires": [\r
5096             [\r
5097                 "d477847d.474a8"\r
5098             ]\r
5099         ]\r
5100     },\r
5101     {\r
5102         "id": "d477847d.474a8",\r
5103         "type": "returnFailure",\r
5104         "name": "return failure",\r
5105         "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
5106         "comments": "",\r
5107         "x": 4892.2342529296875,\r
5108         "y": 5356.200408935547,\r
5109         "z": "d1eceead.adafe",\r
5110         "wires": []\r
5111     },\r
5112     {\r
5113         "id": "f87d3f72.db25b",\r
5114         "type": "returnFailure",\r
5115         "name": "return failure",\r
5116         "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
5117         "comments": "",\r
5118         "x": 4903.2342529296875,\r
5119         "y": 5299.200408935547,\r
5120         "z": "d1eceead.adafe",\r
5121         "wires": []\r
5122     },\r
5123     {\r
5124         "id": "e3023af7.680d7",\r
5125         "type": "block",\r
5126         "name": "block : atomic",\r
5127         "xml": "<block atomic=\"true\">",\r
5128         "atomic": "true",\r
5129         "outputs": 1,\r
5130         "x": 5648.734130859375,\r
5131         "y": 5245.200408935547,\r
5132         "z": "d1eceead.adafe",\r
5133         "wires": [\r
5134             [\r
5135                 "31c1897e.fbb116",\r
5136                 "b906e4f7.66368",\r
5137                 "ac0e0ca2.883cb"\r
5138             ]\r
5139         ]\r
5140     },\r
5141     {\r
5142         "id": "23740bd0.c54174",\r
5143         "type": "outcome",\r
5144         "name": "esr-thirdparty-sdnc",\r
5145         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5146         "comments": "",\r
5147         "outputs": 1,\r
5148         "x": 5469.734130859375,\r
5149         "y": 5245.200408935547,\r
5150         "z": "d1eceead.adafe",\r
5151         "wires": [\r
5152             [\r
5153                 "e3023af7.680d7"\r
5154             ]\r
5155         ]\r
5156     },\r
5157     {\r
5158         "id": "b906e4f7.66368",\r
5159         "type": "execute",\r
5160         "name": "get esr-thirdparty-sdnc",\r
5161         "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
5162         "comments": "",\r
5163         "outputs": 1,\r
5164         "x": 5854.734130859375,\r
5165         "y": 5258.200408935547,\r
5166         "z": "d1eceead.adafe",\r
5167         "wires": [\r
5168             [\r
5169                 "df7977a7.075b8",\r
5170                 "f17bde95.882498",\r
5171                 "61e2d23e.358d1c"\r
5172             ]\r
5173         ]\r
5174     },\r
5175     {\r
5176         "id": "31c1897e.fbb116",\r
5177         "type": "set",\r
5178         "name": "set esr-thirdparty-sdnc domain id",\r
5179         "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
5180         "comments": "",\r
5181         "x": 5884.734130859375,\r
5182         "y": 5206.200408935547,\r
5183         "z": "d1eceead.adafe",\r
5184         "wires": []\r
5185     },\r
5186     {\r
5187         "id": "df7977a7.075b8",\r
5188         "type": "success",\r
5189         "name": "success",\r
5190         "xml": "<outcome value='success'>\n",\r
5191         "comments": "",\r
5192         "outputs": 1,\r
5193         "x": 6064.734130859375,\r
5194         "y": 5249.200408935547,\r
5195         "z": "d1eceead.adafe",\r
5196         "wires": [\r
5197             [\r
5198                 "7ac6fe75.62b4e"\r
5199             ]\r
5200         ]\r
5201     },\r
5202     {\r
5203         "id": "f17bde95.882498",\r
5204         "type": "not-found",\r
5205         "name": "not-found",\r
5206         "xml": "<outcome value='not-found'>\n",\r
5207         "comments": "",\r
5208         "outputs": 1,\r
5209         "x": 6056.734130859375,\r
5210         "y": 5304.200408935547,\r
5211         "z": "d1eceead.adafe",\r
5212         "wires": [\r
5213             [\r
5214                 "671c9934.2cd48"\r
5215             ]\r
5216         ]\r
5217     },\r
5218     {\r
5219         "id": "61e2d23e.358d1c",\r
5220         "type": "other",\r
5221         "name": "other",\r
5222         "xml": "<outcome value='Other'>\n",\r
5223         "comments": "",\r
5224         "outputs": 1,\r
5225         "x": 6061.734130859375,\r
5226         "y": 5361.200408935547,\r
5227         "z": "d1eceead.adafe",\r
5228         "wires": [\r
5229             [\r
5230                 "a6615570.50c968"\r
5231             ]\r
5232         ]\r
5233     },\r
5234     {\r
5235         "id": "a6615570.50c968",\r
5236         "type": "returnFailure",\r
5237         "name": "return failure",\r
5238         "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
5239         "comments": "",\r
5240         "x": 6213.734130859375,\r
5241         "y": 5362.200408935547,\r
5242         "z": "d1eceead.adafe",\r
5243         "wires": []\r
5244     },\r
5245     {\r
5246         "id": "671c9934.2cd48",\r
5247         "type": "returnFailure",\r
5248         "name": "return failure",\r
5249         "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
5250         "comments": "",\r
5251         "x": 6224.734130859375,\r
5252         "y": 5307.200408935547,\r
5253         "z": "d1eceead.adafe",\r
5254         "wires": []\r
5255     },\r
5256     {\r
5257         "id": "7ac6fe75.62b4e",\r
5258         "type": "block",\r
5259         "name": "block",\r
5260         "xml": "<block>\n",\r
5261         "atomic": "false",\r
5262         "comments": "",\r
5263         "outputs": 1,\r
5264         "x": 6209.116455078125,\r
5265         "y": 5246.8560791015625,\r
5266         "z": "d1eceead.adafe",\r
5267         "wires": [\r
5268             [\r
5269                 "6989c737.25d068"\r
5270             ]\r
5271         ]\r
5272     },\r
5273     {\r
5274         "id": "6989c737.25d068",\r
5275         "type": "set",\r
5276         "name": "set controller domain data",\r
5277         "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
5278         "comments": "",\r
5279         "x": 6423.734130859375,\r
5280         "y": 5243.200408935547,\r
5281         "z": "d1eceead.adafe",\r
5282         "wires": []\r
5283     },\r
5284     {\r
5285         "id": "ac0e0ca2.883cb",\r
5286         "type": "break",\r
5287         "name": "break",\r
5288         "xml": "<break>\n",\r
5289         "comments": "",\r
5290         "x": 5804.734130859375,\r
5291         "y": 5322.200408935547,\r
5292         "z": "d1eceead.adafe",\r
5293         "wires": []\r
5294     },\r
5295     {\r
5296         "id": "9c7a66fb.560d48",\r
5297         "type": "execute",\r
5298         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
5299         "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
5300         "comments": "",\r
5301         "outputs": 1,\r
5302         "x": 4453.234375,\r
5303         "y": 5402.800018310547,\r
5304         "z": "d1eceead.adafe",\r
5305         "wires": [\r
5306             [\r
5307                 "1e28e096.7499f7",\r
5308                 "cc9e5694.f9d17"\r
5309             ]\r
5310         ]\r
5311     },\r
5312     {\r
5313         "id": "1e28e096.7499f7",\r
5314         "type": "failure",\r
5315         "name": "failure",\r
5316         "xml": "<outcome value='failure'>\n",\r
5317         "comments": "",\r
5318         "outputs": 1,\r
5319         "x": 4813.734130859375,\r
5320         "y": 5410.800018310547,\r
5321         "z": "d1eceead.adafe",\r
5322         "wires": [\r
5323             [\r
5324                 "906e379.3b93848"\r
5325             ]\r
5326         ]\r
5327     },\r
5328     {\r
5329         "id": "906e379.3b93848",\r
5330         "type": "returnFailure",\r
5331         "name": "return failure",\r
5332         "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
5333         "comments": "",\r
5334         "x": 4971.734130859375,\r
5335         "y": 5410.800018310547,\r
5336         "z": "d1eceead.adafe",\r
5337         "wires": []\r
5338     },\r
5339     {\r
5340         "id": "90be5ca9.028288",\r
5341         "type": "block",\r
5342         "name": "block : atomic",\r
5343         "xml": "<block atomic=\"true\">",\r
5344         "atomic": "true",\r
5345         "comments": "",\r
5346         "outputs": 1,\r
5347         "x": 4975.234130859375,\r
5348         "y": 5450.800018310547,\r
5349         "z": "d1eceead.adafe",\r
5350         "wires": [\r
5351             []\r
5352         ]\r
5353     },\r
5354     {\r
5355         "id": "cc9e5694.f9d17",\r
5356         "type": "success",\r
5357         "name": "success",\r
5358         "xml": "<outcome value='success'>\n",\r
5359         "comments": "",\r
5360         "outputs": 1,\r
5361         "x": 4817.734130859375,\r
5362         "y": 5450.800018310547,\r
5363         "z": "d1eceead.adafe",\r
5364         "wires": [\r
5365             [\r
5366                 "90be5ca9.028288"\r
5367             ]\r
5368         ]\r
5369     },\r
5370     {\r
5371         "id": "921095c8.3bc23",\r
5372         "type": "block",\r
5373         "name": "block : atomic",\r
5374         "xml": "<block atomic=\"true\">",\r
5375         "atomic": "true",\r
5376         "outputs": 1,\r
5377         "x": 5126.451171875,\r
5378         "y": 5664.800018310547,\r
5379         "z": "d1eceead.adafe",\r
5380         "wires": [\r
5381             [\r
5382                 "fb4f4697.4dc5f",\r
5383                 "7ea31674.99e1d8"\r
5384             ]\r
5385         ]\r
5386     },\r
5387     {\r
5388         "id": "7ea31674.99e1d8",\r
5389         "type": "get-resource",\r
5390         "name": "get-resource src pnf",\r
5391         "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
5392         "comments": "",\r
5393         "outputs": 1,\r
5394         "x": 5368.450927734375,\r
5395         "y": 5614.800018310547,\r
5396         "z": "d1eceead.adafe",\r
5397         "wires": [\r
5398             [\r
5399                 "10743e5b.0b6182",\r
5400                 "5598183a.212ab",\r
5401                 "9c9074e9.bbaff8"\r
5402             ]\r
5403         ]\r
5404     },\r
5405     {\r
5406         "id": "10743e5b.0b6182",\r
5407         "type": "success",\r
5408         "name": "success",\r
5409         "xml": "<outcome value='success'>\n",\r
5410         "comments": "",\r
5411         "outputs": 1,\r
5412         "x": 5563.951171875,\r
5413         "y": 5548.800018310547,\r
5414         "z": "d1eceead.adafe",\r
5415         "wires": [\r
5416             [\r
5417                 "767943d2.64a144"\r
5418             ]\r
5419         ]\r
5420     },\r
5421     {\r
5422         "id": "5598183a.212ab",\r
5423         "type": "not-found",\r
5424         "name": "not-found",\r
5425         "xml": "<outcome value='not-found'>\n",\r
5426         "comments": "",\r
5427         "outputs": 1,\r
5428         "x": 5559.951171875,\r
5429         "y": 5604.800018310547,\r
5430         "z": "d1eceead.adafe",\r
5431         "wires": [\r
5432             [\r
5433                 "74a77564.40268c"\r
5434             ]\r
5435         ]\r
5436     },\r
5437     {\r
5438         "id": "767943d2.64a144",\r
5439         "type": "block",\r
5440         "name": "block",\r
5441         "xml": "<block>\n",\r
5442         "atomic": "false",\r
5443         "comments": "",\r
5444         "outputs": 1,\r
5445         "x": 5708.3333740234375,\r
5446         "y": 5566.4556884765625,\r
5447         "z": "d1eceead.adafe",\r
5448         "wires": [\r
5449             [\r
5450                 "10049f5.85364e1"\r
5451             ]\r
5452         ]\r
5453     },\r
5454     {\r
5455         "id": "10049f5.85364e1",\r
5456         "type": "for",\r
5457         "name": "for each relationship",\r
5458         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5459         "comments": "",\r
5460         "outputs": 1,\r
5461         "x": 5892.450927734375,\r
5462         "y": 5564.800018310547,\r
5463         "z": "d1eceead.adafe",\r
5464         "wires": [\r
5465             [\r
5466                 "72e5612b.857e68"\r
5467             ]\r
5468         ]\r
5469     },\r
5470     {\r
5471         "id": "9c9074e9.bbaff8",\r
5472         "type": "other",\r
5473         "name": "other",\r
5474         "xml": "<outcome value='Other'>\n",\r
5475         "comments": "",\r
5476         "outputs": 1,\r
5477         "x": 5569.951171875,\r
5478         "y": 5649.800018310547,\r
5479         "z": "d1eceead.adafe",\r
5480         "wires": [\r
5481             [\r
5482                 "952a99b1.f3f0e"\r
5483             ]\r
5484         ]\r
5485     },\r
5486     {\r
5487         "id": "952a99b1.f3f0e",\r
5488         "type": "returnFailure",\r
5489         "name": "return failure",\r
5490         "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
5491         "comments": "",\r
5492         "x": 5748.951171875,\r
5493         "y": 5665.800018310547,\r
5494         "z": "d1eceead.adafe",\r
5495         "wires": []\r
5496     },\r
5497     {\r
5498         "id": "74a77564.40268c",\r
5499         "type": "returnFailure",\r
5500         "name": "return failure",\r
5501         "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
5502         "comments": "",\r
5503         "x": 5730.951171875,\r
5504         "y": 5617.800018310547,\r
5505         "z": "d1eceead.adafe",\r
5506         "wires": []\r
5507     },\r
5508     {\r
5509         "id": "f64c3a10.6bbc38",\r
5510         "type": "execute",\r
5511         "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
5512         "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
5513         "comments": "",\r
5514         "outputs": 1,\r
5515         "x": 5279.951171875,\r
5516         "y": 5720.399627685547,\r
5517         "z": "d1eceead.adafe",\r
5518         "wires": [\r
5519             [\r
5520                 "cd722628.03685",\r
5521                 "76458c1b.1a62ac"\r
5522             ]\r
5523         ]\r
5524     },\r
5525     {\r
5526         "id": "cd722628.03685",\r
5527         "type": "failure",\r
5528         "name": "failure",\r
5529         "xml": "<outcome value='failure'>\n",\r
5530         "comments": "",\r
5531         "outputs": 1,\r
5532         "x": 5628.451171875,\r
5533         "y": 5702.399627685547,\r
5534         "z": "d1eceead.adafe",\r
5535         "wires": [\r
5536             [\r
5537                 "d04dd9dc.2f2dc8"\r
5538             ]\r
5539         ]\r
5540     },\r
5541     {\r
5542         "id": "d04dd9dc.2f2dc8",\r
5543         "type": "returnFailure",\r
5544         "name": "return failure",\r
5545         "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
5546         "comments": "",\r
5547         "x": 5884.451171875,\r
5548         "y": 5705.399627685547,\r
5549         "z": "d1eceead.adafe",\r
5550         "wires": []\r
5551     },\r
5552     {\r
5553         "id": "1006a530.30b813",\r
5554         "type": "block",\r
5555         "name": "block : atomic",\r
5556         "xml": "<block atomic=\"true\">",\r
5557         "atomic": "true",\r
5558         "comments": "",\r
5559         "outputs": 1,\r
5560         "x": 5836.951171875,\r
5561         "y": 5746.399627685547,\r
5562         "z": "d1eceead.adafe",\r
5563         "wires": [\r
5564             []\r
5565         ]\r
5566     },\r
5567     {\r
5568         "id": "76458c1b.1a62ac",\r
5569         "type": "success",\r
5570         "name": "success",\r
5571         "xml": "<outcome value='success'>\n",\r
5572         "comments": "",\r
5573         "outputs": 1,\r
5574         "x": 5638.451171875,\r
5575         "y": 5751.399627685547,\r
5576         "z": "d1eceead.adafe",\r
5577         "wires": [\r
5578             [\r
5579                 "1006a530.30b813"\r
5580             ]\r
5581         ]\r
5582     },\r
5583     {\r
5584         "id": "fb4f4697.4dc5f",\r
5585         "type": "set",\r
5586         "name": "set pnf-name",\r
5587         "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
5588         "comments": "",\r
5589         "x": 5361.450927734375,\r
5590         "y": 5532.800018310547,\r
5591         "z": "d1eceead.adafe",\r
5592         "wires": []\r
5593     },\r
5594     {\r
5595         "id": "72e5612b.857e68",\r
5596         "type": "switchNode",\r
5597         "name": "switch related-to",\r
5598         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5599         "comments": "",\r
5600         "outputs": 1,\r
5601         "x": 6087.450927734375,\r
5602         "y": 5564.800018310547,\r
5603         "z": "d1eceead.adafe",\r
5604         "wires": [\r
5605             [\r
5606                 "3625dda5.38707a"\r
5607             ]\r
5608         ]\r
5609     },\r
5610     {\r
5611         "id": "402ab8f9.3aa18",\r
5612         "type": "block",\r
5613         "name": "block : atomic",\r
5614         "xml": "<block atomic=\"true\">",\r
5615         "atomic": "true",\r
5616         "outputs": 1,\r
5617         "x": 6469.450927734375,\r
5618         "y": 5568.800018310547,\r
5619         "z": "d1eceead.adafe",\r
5620         "wires": [\r
5621             [\r
5622                 "4697e13e.13b02",\r
5623                 "6c3ba6ac.e7c21",\r
5624                 "34e0c57a.0e712a"\r
5625             ]\r
5626         ]\r
5627     },\r
5628     {\r
5629         "id": "3625dda5.38707a",\r
5630         "type": "outcome",\r
5631         "name": "esr-thirdparty-sdnc",\r
5632         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5633         "comments": "",\r
5634         "outputs": 1,\r
5635         "x": 6290.450927734375,\r
5636         "y": 5568.800018310547,\r
5637         "z": "d1eceead.adafe",\r
5638         "wires": [\r
5639             [\r
5640                 "402ab8f9.3aa18"\r
5641             ]\r
5642         ]\r
5643     },\r
5644     {\r
5645         "id": "6c3ba6ac.e7c21",\r
5646         "type": "execute",\r
5647         "name": "get esr-thirdparty-sdnc",\r
5648         "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
5649         "comments": "",\r
5650         "outputs": 1,\r
5651         "x": 6675.450927734375,\r
5652         "y": 5581.800018310547,\r
5653         "z": "d1eceead.adafe",\r
5654         "wires": [\r
5655             [\r
5656                 "2e31a205.2611fe",\r
5657                 "c9f11bf6.38bb98",\r
5658                 "99cec3e1.6d2f68"\r
5659             ]\r
5660         ]\r
5661     },\r
5662     {\r
5663         "id": "4697e13e.13b02",\r
5664         "type": "set",\r
5665         "name": "set esr-thirdparty-sdnc domain id",\r
5666         "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
5667         "comments": "",\r
5668         "x": 6705.450927734375,\r
5669         "y": 5529.800018310547,\r
5670         "z": "d1eceead.adafe",\r
5671         "wires": []\r
5672     },\r
5673     {\r
5674         "id": "2e31a205.2611fe",\r
5675         "type": "success",\r
5676         "name": "success",\r
5677         "xml": "<outcome value='success'>\n",\r
5678         "comments": "",\r
5679         "outputs": 1,\r
5680         "x": 6885.450927734375,\r
5681         "y": 5572.800018310547,\r
5682         "z": "d1eceead.adafe",\r
5683         "wires": [\r
5684             [\r
5685                 "2ba283a1.e08d44"\r
5686             ]\r
5687         ]\r
5688     },\r
5689     {\r
5690         "id": "c9f11bf6.38bb98",\r
5691         "type": "not-found",\r
5692         "name": "not-found",\r
5693         "xml": "<outcome value='not-found'>\n",\r
5694         "comments": "",\r
5695         "outputs": 1,\r
5696         "x": 6877.450927734375,\r
5697         "y": 5627.800018310547,\r
5698         "z": "d1eceead.adafe",\r
5699         "wires": [\r
5700             [\r
5701                 "3af9cd94.f12ff2"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "99cec3e1.6d2f68",\r
5707         "type": "other",\r
5708         "name": "other",\r
5709         "xml": "<outcome value='Other'>\n",\r
5710         "comments": "",\r
5711         "outputs": 1,\r
5712         "x": 6882.450927734375,\r
5713         "y": 5684.800018310547,\r
5714         "z": "d1eceead.adafe",\r
5715         "wires": [\r
5716             [\r
5717                 "c501098b.50507"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "c501098b.50507",\r
5723         "type": "returnFailure",\r
5724         "name": "return failure",\r
5725         "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
5726         "comments": "",\r
5727         "x": 7034.450927734375,\r
5728         "y": 5685.800018310547,\r
5729         "z": "d1eceead.adafe",\r
5730         "wires": []\r
5731     },\r
5732     {\r
5733         "id": "3af9cd94.f12ff2",\r
5734         "type": "returnFailure",\r
5735         "name": "return failure",\r
5736         "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
5737         "comments": "",\r
5738         "x": 7045.450927734375,\r
5739         "y": 5630.800018310547,\r
5740         "z": "d1eceead.adafe",\r
5741         "wires": []\r
5742     },\r
5743     {\r
5744         "id": "2ba283a1.e08d44",\r
5745         "type": "block",\r
5746         "name": "block",\r
5747         "xml": "<block>\n",\r
5748         "atomic": "false",\r
5749         "comments": "",\r
5750         "outputs": 1,\r
5751         "x": 7029.833251953125,\r
5752         "y": 5570.4556884765625,\r
5753         "z": "d1eceead.adafe",\r
5754         "wires": [\r
5755             [\r
5756                 "bca9e0da.72619"\r
5757             ]\r
5758         ]\r
5759     },\r
5760     {\r
5761         "id": "bca9e0da.72619",\r
5762         "type": "set",\r
5763         "name": "set controller domain data",\r
5764         "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
5765         "comments": "",\r
5766         "x": 7244.450927734375,\r
5767         "y": 5566.800018310547,\r
5768         "z": "d1eceead.adafe",\r
5769         "wires": []\r
5770     },\r
5771     {\r
5772         "id": "34e0c57a.0e712a",\r
5773         "type": "break",\r
5774         "name": "break",\r
5775         "xml": "<break>\n",\r
5776         "comments": "",\r
5777         "x": 6625.450927734375,\r
5778         "y": 5645.800018310547,\r
5779         "z": "d1eceead.adafe",\r
5780         "wires": []\r
5781     },\r
5782     {\r
5783         "id": "9608373.19689c8",\r
5784         "type": "block",\r
5785         "name": "block",\r
5786         "xml": "<block>\n",\r
5787         "atomic": "false",\r
5788         "comments": "",\r
5789         "outputs": 1,\r
5790         "x": 3854.88330078125,\r
5791         "y": 3534.999969482422,\r
5792         "z": "d1eceead.adafe",\r
5793         "wires": [\r
5794             [\r
5795                 "6e45c64.2629238",\r
5796                 "354c7fc8.6d8de"\r
5797             ]\r
5798         ]\r
5799     },\r
5800     {\r
5801         "id": "6e45c64.2629238",\r
5802         "type": "set",\r
5803         "name": "set tmp.mmUNI-id-long",\r
5804         "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5805         "comments": "",\r
5806         "x": 4045.466552734375,\r
5807         "y": 3477.800018310547,\r
5808         "z": "d1eceead.adafe",\r
5809         "wires": []\r
5810     },\r
5811     {\r
5812         "id": "354c7fc8.6d8de",\r
5813         "type": "switchNode",\r
5814         "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
5815         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
5816         "comments": "",\r
5817         "outputs": 1,\r
5818         "x": 4092.466552734375,\r
5819         "y": 3548.800018310547,\r
5820         "z": "d1eceead.adafe",\r
5821         "wires": [\r
5822             [\r
5823                 "6bdb2c16.23fc7c",\r
5824                 "5820e4e6.95b47c"\r
5825             ]\r
5826         ]\r
5827     },\r
5828     {\r
5829         "id": "6bdb2c16.23fc7c",\r
5830         "type": "outcomeFalse",\r
5831         "name": "false",\r
5832         "xml": "<outcome value='false'>\n",\r
5833         "comments": "",\r
5834         "outputs": 1,\r
5835         "x": 4330.884033203125,\r
5836         "y": 3507.999969482422,\r
5837         "z": "d1eceead.adafe",\r
5838         "wires": [\r
5839             [\r
5840                 "d4fcba65.f8c8f"\r
5841             ]\r
5842         ]\r
5843     },\r
5844     {\r
5845         "id": "5820e4e6.95b47c",\r
5846         "type": "outcomeTrue",\r
5847         "name": "true",\r
5848         "xml": "<outcome value='true'>\n",\r
5849         "comments": "",\r
5850         "outputs": 1,\r
5851         "x": 4337.884246826172,\r
5852         "y": 3564.9999389648438,\r
5853         "z": "d1eceead.adafe",\r
5854         "wires": [\r
5855             [\r
5856                 "d9ea756c.06e5e"\r
5857             ]\r
5858         ]\r
5859     },\r
5860     {\r
5861         "id": "d4fcba65.f8c8f",\r
5862         "type": "block",\r
5863         "name": "block",\r
5864         "xml": "<block>\n",\r
5865         "atomic": "false",\r
5866         "comments": "",\r
5867         "outputs": 1,\r
5868         "x": 4458.884521484375,\r
5869         "y": 3503.999969482422,\r
5870         "z": "d1eceead.adafe",\r
5871         "wires": [\r
5872             []\r
5873         ]\r
5874     },\r
5875     {\r
5876         "id": "cc0c619e.32de58",\r
5877         "type": "set",\r
5878         "name": "set tmp.MMonlyHasROOT to TRUE",\r
5879         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
5880         "comments": "",\r
5881         "x": 3314.083251953125,\r
5882         "y": 3462.400115966797,\r
5883         "z": "d1eceead.adafe",\r
5884         "wires": []\r
5885     },\r
5886     {\r
5887         "id": "a6af6c62.1a6b5",\r
5888         "type": "set",\r
5889         "name": "set tmp.MMonlyHasROOT to FALSE",\r
5890         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
5891         "comments": "",\r
5892         "x": 4727.9169921875,\r
5893         "y": 3468.400115966797,\r
5894         "z": "d1eceead.adafe",\r
5895         "wires": []\r
5896     },\r
5897     {\r
5898         "id": "811e3163.5710b",\r
5899         "type": "block",\r
5900         "name": "block : atomic",\r
5901         "xml": "<block atomic=\"true\">",\r
5902         "atomic": "true",\r
5903         "outputs": 1,\r
5904         "x": 4407.6669921875,\r
5905         "y": 3984.616668701172,\r
5906         "z": "d1eceead.adafe",\r
5907         "wires": [\r
5908             [\r
5909                 "aa9298d8.acde8",\r
5910                 "a5e5763f.58bb2"\r
5911             ]\r
5912         ]\r
5913     },\r
5914     {\r
5915         "id": "aa9298d8.acde8",\r
5916         "type": "set",\r
5917         "name": "set tmp.uni.id",\r
5918         "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5919         "comments": "",\r
5920         "x": 4580.5498046875,\r
5921         "y": 3980.276336669922,\r
5922         "z": "d1eceead.adafe",\r
5923         "wires": []\r
5924     },\r
5925     {\r
5926         "id": "a5e5763f.58bb2",\r
5927         "type": "save",\r
5928         "name": "get uni from aai",\r
5929         "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
5930         "comments": "",\r
5931         "outputs": 1,\r
5932         "x": 4583.5498046875,\r
5933         "y": 4027.276336669922,\r
5934         "z": "d1eceead.adafe",\r
5935         "wires": [\r
5936             [\r
5937                 "4df6bcf4.a4f44c",\r
5938                 "89771ed8.977b78",\r
5939                 "d1de1d5b.be978"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "4df6bcf4.a4f44c",\r
5945         "type": "success",\r
5946         "name": "success",\r
5947         "xml": "<outcome value='success'>\n",\r
5948         "comments": "",\r
5949         "outputs": 1,\r
5950         "x": 4755.5498046875,\r
5951         "y": 4011.276336669922,\r
5952         "z": "d1eceead.adafe",\r
5953         "wires": [\r
5954             [\r
5955                 "f65d0563.51b9e"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "89771ed8.977b78",\r
5961         "type": "not-found",\r
5962         "name": "not-found",\r
5963         "xml": "<outcome value='not-found'>\n",\r
5964         "comments": "",\r
5965         "outputs": 1,\r
5966         "x": 4756.040771484375,\r
5967         "y": 4056.850372314453,\r
5968         "z": "d1eceead.adafe",\r
5969         "wires": [\r
5970             []\r
5971         ]\r
5972     },\r
5973     {\r
5974         "id": "d1de1d5b.be978",\r
5975         "type": "failure",\r
5976         "name": "failure",\r
5977         "xml": "<outcome value='failure'>\n",\r
5978         "comments": "",\r
5979         "outputs": 1,\r
5980         "x": 4756.5498046875,\r
5981         "y": 4097.276336669922,\r
5982         "z": "d1eceead.adafe",\r
5983         "wires": [\r
5984             []\r
5985         ]\r
5986     },\r
5987     {\r
5988         "id": "f65d0563.51b9e",\r
5989         "type": "block",\r
5990         "name": "block : atomic",\r
5991         "xml": "<block atomic='true'>",\r
5992         "atomic": "true",\r
5993         "comments": "",\r
5994         "outputs": 1,\r
5995         "x": 4916.5498046875,\r
5996         "y": 4007.276336669922,\r
5997         "z": "d1eceead.adafe",\r
5998         "wires": [\r
5999             [\r
6000                 "41e51ce8.c7bbd4",\r
6001                 "9fcba756.d0c298",\r
6002                 "99817ef0.1be558"\r
6003             ]\r
6004         ]\r
6005     },\r
6006     {\r
6007         "id": "d2f62a11.bbccd",\r
6008         "type": "comment",\r
6009         "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
6010         "info": "",\r
6011         "comments": "",\r
6012         "x": 5249.5498046875,\r
6013         "y": 3938.276336669922,\r
6014         "z": "d1eceead.adafe",\r
6015         "wires": []\r
6016     },\r
6017     {\r
6018         "id": "9fcba756.d0c298",\r
6019         "type": "execute",\r
6020         "name": "execute split id to get pnf-name",\r
6021         "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
6022         "comments": "",\r
6023         "outputs": 1,\r
6024         "x": 5184.5498046875,\r
6025         "y": 3995.276336669922,\r
6026         "z": "d1eceead.adafe",\r
6027         "wires": [\r
6028             [\r
6029                 "ad91a307.53dc18",\r
6030                 "66b6c9a.ce41eb8"\r
6031             ]\r
6032         ]\r
6033     },\r
6034     {\r
6035         "id": "66b6c9a.ce41eb8",\r
6036         "type": "failure",\r
6037         "name": "success",\r
6038         "xml": "<outcome value='success'>\n",\r
6039         "comments": "",\r
6040         "outputs": 1,\r
6041         "x": 5407.5498046875,\r
6042         "y": 3981.276336669922,\r
6043         "z": "d1eceead.adafe",\r
6044         "wires": [\r
6045             [\r
6046                 "f5696a58.3dcae"\r
6047             ]\r
6048         ]\r
6049     },\r
6050     {\r
6051         "id": "ad91a307.53dc18",\r
6052         "type": "failure",\r
6053         "name": "failure",\r
6054         "xml": "<outcome value='failure'>\n",\r
6055         "comments": "",\r
6056         "outputs": 1,\r
6057         "x": 5409.5498046875,\r
6058         "y": 4014.276336669922,\r
6059         "z": "d1eceead.adafe",\r
6060         "wires": [\r
6061             [\r
6062                 "cd5f81cd.b325a8"\r
6063             ]\r
6064         ]\r
6065     },\r
6066     {\r
6067         "id": "f5696a58.3dcae",\r
6068         "type": "block",\r
6069         "name": "block : atomic",\r
6070         "xml": "<block atomic=\"true\">",\r
6071         "atomic": "true",\r
6072         "outputs": 1,\r
6073         "x": 5555.5498046875,\r
6074         "y": 3974.276336669922,\r
6075         "z": "d1eceead.adafe",\r
6076         "wires": [\r
6077             [\r
6078                 "520c18e.4c672e8"\r
6079             ]\r
6080         ]\r
6081     },\r
6082     {\r
6083         "id": "cd5f81cd.b325a8",\r
6084         "type": "returnFailure",\r
6085         "name": "return failure",\r
6086         "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
6087         "comments": "",\r
6088         "x": 5552.5498046875,\r
6089         "y": 4011.276336669922,\r
6090         "z": "d1eceead.adafe",\r
6091         "wires": []\r
6092     },\r
6093     {\r
6094         "id": "520c18e.4c672e8",\r
6095         "type": "set",\r
6096         "name": "set pnf-name",\r
6097         "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
6098         "comments": "",\r
6099         "x": 5732.5498046875,\r
6100         "y": 3974.276336669922,\r
6101         "z": "d1eceead.adafe",\r
6102         "wires": []\r
6103     },\r
6104     {\r
6105         "id": "41e51ce8.c7bbd4",\r
6106         "type": "switchNode",\r
6107         "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
6108         "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
6109         "comments": "",\r
6110         "outputs": 1,\r
6111         "x": 5228.5498046875,\r
6112         "y": 4129.276336669922,\r
6113         "z": "d1eceead.adafe",\r
6114         "wires": [\r
6115             [\r
6116                 "f5a5405e.ab64e8",\r
6117                 "39efe4c8.977e5c"\r
6118             ]\r
6119         ]\r
6120     },\r
6121     {\r
6122         "id": "f5a5405e.ab64e8",\r
6123         "type": "outcomeFalse",\r
6124         "name": "false",\r
6125         "xml": "<outcome value='false'>\n",\r
6126         "comments": "",\r
6127         "outputs": 1,\r
6128         "x": 5509.5498046875,\r
6129         "y": 4106.276336669922,\r
6130         "z": "d1eceead.adafe",\r
6131         "wires": [\r
6132             [\r
6133                 "76dcdb2b.58523c"\r
6134             ]\r
6135         ]\r
6136     },\r
6137     {\r
6138         "id": "39efe4c8.977e5c",\r
6139         "type": "outcomeTrue",\r
6140         "name": "true",\r
6141         "xml": "<outcome value='true'>\n",\r
6142         "comments": "",\r
6143         "outputs": 1,\r
6144         "x": 5502.5498046875,\r
6145         "y": 4165.276336669922,\r
6146         "z": "d1eceead.adafe",\r
6147         "wires": [\r
6148             [\r
6149                 "e34b9d00.f34da8"\r
6150             ]\r
6151         ]\r
6152     },\r
6153     {\r
6154         "id": "76dcdb2b.58523c",\r
6155         "type": "block",\r
6156         "name": "block",\r
6157         "xml": "<block>\n",\r
6158         "atomic": "false",\r
6159         "comments": "",\r
6160         "outputs": 1,\r
6161         "x": 5639.5498046875,\r
6162         "y": 4110.276336669922,\r
6163         "z": "d1eceead.adafe",\r
6164         "wires": [\r
6165             []\r
6166         ]\r
6167     },\r
6168     {\r
6169         "id": "e34b9d00.f34da8",\r
6170         "type": "block",\r
6171         "name": "block : atomic",\r
6172         "xml": "<block atomic='true'>",\r
6173         "atomic": "true",\r
6174         "comments": "",\r
6175         "outputs": 1,\r
6176         "x": 5644.5498046875,\r
6177         "y": 4164.276336669922,\r
6178         "z": "d1eceead.adafe",\r
6179         "wires": [\r
6180             [\r
6181                 "d870e573.0525d",\r
6182                 "daec44c5.c4ca2"\r
6183             ]\r
6184         ]\r
6185     },\r
6186     {\r
6187         "id": "d870e573.0525d",\r
6188         "type": "set",\r
6189         "name": "set no-pce-call",\r
6190         "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
6191         "comments": "",\r
6192         "x": 5836.5498046875,\r
6193         "y": 4131.276336669922,\r
6194         "z": "d1eceead.adafe",\r
6195         "wires": []\r
6196     },\r
6197     {\r
6198         "id": "77e6d570.0136ec",\r
6199         "type": "set",\r
6200         "name": "set middle-man-conn",\r
6201         "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
6202         "comments": "",\r
6203         "x": 5852.5498046875,\r
6204         "y": 4183.276336669922,\r
6205         "z": "d1eceead.adafe",\r
6206         "wires": []\r
6207     },\r
6208     {\r
6209         "id": "daec44c5.c4ca2",\r
6210         "type": "set",\r
6211         "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
6212         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
6213         "comments": "",\r
6214         "x": 5870.83349609375,\r
6215         "y": 4252.866668701172,\r
6216         "z": "d1eceead.adafe",\r
6217         "wires": []\r
6218     },\r
6219     {\r
6220         "id": "99817ef0.1be558",\r
6221         "type": "set",\r
6222         "name": "set tmp.stillHasUni to TRUE",\r
6223         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
6224         "comments": "",\r
6225         "x": 5147.533203125,\r
6226         "y": 4078.766571044922,\r
6227         "z": "d1eceead.adafe",\r
6228         "wires": []\r
6229     },\r
6230     {\r
6231         "id": "4a51985e.972e68",\r
6232         "type": "switchNode",\r
6233         "name": "switch tmp.stillHasUni?",\r
6234         "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
6235         "comments": "",\r
6236         "outputs": 1,\r
6237         "x": 383.7339172363281,\r
6238         "y": 5348.966278076172,\r
6239         "z": "d1eceead.adafe",\r
6240         "wires": [\r
6241             [\r
6242                 "35e41a11.58bd1e",\r
6243                 "8fea1632.f2d7a"\r
6244             ]\r
6245         ]\r
6246     },\r
6247     {\r
6248         "id": "2a89b0c9.686c5",\r
6249         "type": "save",\r
6250         "name": "get root uni from aai",\r
6251         "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
6252         "comments": "",\r
6253         "outputs": 1,\r
6254         "x": 4288.516357421875,\r
6255         "y": 5512.850067138672,\r
6256         "z": "d1eceead.adafe",\r
6257         "wires": [\r
6258             [\r
6259                 "11eb64db.01f3fb",\r
6260                 "edc304ba.5ec56",\r
6261                 "e3707812.01b138"\r
6262             ]\r
6263         ]\r
6264     },\r
6265     {\r
6266         "id": "8fd56902.a16fd8",\r
6267         "type": "comment",\r
6268         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
6269         "info": "",\r
6270         "comments": "",\r
6271         "x": 4286.516845703125,\r
6272         "y": 5464.850311279297,\r
6273         "z": "d1eceead.adafe",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "fe5a805b.6befb8",\r
6278         "type": "save",\r
6279         "name": "update ROOT UNI in AAI",\r
6280         "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
6281         "comments": "",\r
6282         "outputs": 1,\r
6283         "x": 4903.5166015625,\r
6284         "y": 5582.850311279297,\r
6285         "z": "d1eceead.adafe",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "edc304ba.5ec56",\r
6292         "type": "not-found",\r
6293         "name": "not-found",\r
6294         "xml": "<outcome value='not-found'>\n",\r
6295         "comments": "",\r
6296         "outputs": 1,\r
6297         "x": 4506.007568359375,\r
6298         "y": 5483.424285888672,\r
6299         "z": "d1eceead.adafe",\r
6300         "wires": [\r
6301             [\r
6302                 "d06cf255.10cad"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "e3707812.01b138",\r
6308         "type": "failure",\r
6309         "name": "failure",\r
6310         "xml": "<outcome value='failure'>\n",\r
6311         "comments": "",\r
6312         "outputs": 1,\r
6313         "x": 4501.5166015625,\r
6314         "y": 5527.850250244141,\r
6315         "z": "d1eceead.adafe",\r
6316         "wires": [\r
6317             [\r
6318                 "c2ada4d7.cf23a"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "d06cf255.10cad",\r
6324         "type": "returnFailure",\r
6325         "name": "return failure",\r
6326         "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
6327         "comments": "",\r
6328         "x": 4668.5791015625,\r
6329         "y": 5482.709991455078,\r
6330         "z": "d1eceead.adafe",\r
6331         "wires": []\r
6332     },\r
6333     {\r
6334         "id": "c2ada4d7.cf23a",\r
6335         "type": "returnFailure",\r
6336         "name": "return failure",\r
6337         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6338         "comments": "",\r
6339         "x": 4669.5166015625,\r
6340         "y": 5527.850250244141,\r
6341         "z": "d1eceead.adafe",\r
6342         "wires": []\r
6343     },\r
6344     {\r
6345         "id": "487370c3.c16b7",\r
6346         "type": "block",\r
6347         "name": "block : atomic",\r
6348         "xml": "<block atomic=\"true\">",\r
6349         "atomic": "true",\r
6350         "outputs": 1,\r
6351         "x": 4666.5166015625,\r
6352         "y": 5577.850311279297,\r
6353         "z": "d1eceead.adafe",\r
6354         "wires": [\r
6355             [\r
6356                 "6c262f9d.59d16",\r
6357                 "fe5a805b.6befb8"\r
6358             ]\r
6359         ]\r
6360     },\r
6361     {\r
6362         "id": "11eb64db.01f3fb",\r
6363         "type": "success",\r
6364         "name": "success",\r
6365         "xml": "<outcome value='success'>\n",\r
6366         "comments": "",\r
6367         "outputs": 1,\r
6368         "x": 4497.5166015625,\r
6369         "y": 5577.850311279297,\r
6370         "z": "d1eceead.adafe",\r
6371         "wires": [\r
6372             [\r
6373                 "487370c3.c16b7"\r
6374             ]\r
6375         ]\r
6376     },\r
6377     {\r
6378         "id": "6c262f9d.59d16",\r
6379         "type": "set",\r
6380         "name": "set new bw",\r
6381         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
6382         "comments": "",\r
6383         "x": 4859.517578125,\r
6384         "y": 5502.850311279297,\r
6385         "z": "d1eceead.adafe",\r
6386         "wires": []\r
6387     },\r
6388     {\r
6389         "id": "472764ad.0e5da4",\r
6390         "type": "comment",\r
6391         "name": "Update connectivity status to modified",\r
6392         "info": "",\r
6393         "comments": "",\r
6394         "x": 5288.216796875,\r
6395         "y": 5440.616912841797,\r
6396         "z": "d1eceead.adafe",\r
6397         "wires": []\r
6398     },\r
6399     {\r
6400         "id": "a96c5a1a.d66bf",\r
6401         "type": "save",\r
6402         "name": "update ROOT connectivity resource in AAI",\r
6403         "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
6404         "comments": "",\r
6405         "outputs": 1,\r
6406         "x": 5314,\r
6407         "y": 5482.817108154297,\r
6408         "z": "d1eceead.adafe",\r
6409         "wires": [\r
6410             []\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "35e41a11.58bd1e",\r
6415         "type": "outcomeFalse",\r
6416         "name": "false",\r
6417         "xml": "<outcome value='false'>\n",\r
6418         "comments": "",\r
6419         "outputs": 1,\r
6420         "x": 567.8836059570312,\r
6421         "y": 5399.999969482422,\r
6422         "z": "d1eceead.adafe",\r
6423         "wires": [\r
6424             [\r
6425                 "49ab1cdc.2b3dfc"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "8fea1632.f2d7a",\r
6431         "type": "outcomeTrue",\r
6432         "name": "true",\r
6433         "xml": "<outcome value='true'>\n",\r
6434         "comments": "",\r
6435         "outputs": 1,\r
6436         "x": 550.883544921875,\r
6437         "y": 5321.999969482422,\r
6438         "z": "d1eceead.adafe",\r
6439         "wires": [\r
6440             [\r
6441                 "44e1ece4.47debc"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "71bd2e28.fdc428",\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": 679.8833923339844,\r
6454         "y": 4408.999694824219,\r
6455         "z": "d1eceead.adafe",\r
6456         "wires": [\r
6457             [\r
6458                 "ab47ddf.140532",\r
6459                 "d3485e4a.cbde48",\r
6460                 "964a9d6b.511ef",\r
6461                 "58993466.bcba34",\r
6462                 "b72e55ab.bc6bd8",\r
6463                 "8d45971b.519e08"\r
6464             ]\r
6465         ]\r
6466     },\r
6467     {\r
6468         "id": "ab47ddf.140532",\r
6469         "type": "set",\r
6470         "name": "set tmp.leafconn.",\r
6471         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
6472         "comments": "",\r
6473         "x": 931.5667419433594,\r
6474         "y": 4387.049499511719,\r
6475         "z": "d1eceead.adafe",\r
6476         "wires": []\r
6477     },\r
6478     {\r
6479         "id": "83fd3013.a6f008",\r
6480         "type": "comment",\r
6481         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
6482         "info": "",\r
6483         "comments": "",\r
6484         "x": 1033.1338806152344,\r
6485         "y": 4335.132995605469,\r
6486         "z": "d1eceead.adafe",\r
6487         "wires": []\r
6488     },\r
6489     {\r
6490         "id": "8b20d7ab.715e18",\r
6491         "type": "set",\r
6492         "name": "set pnf-name",\r
6493         "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
6494         "comments": "",\r
6495         "x": 1140.9837341308594,\r
6496         "y": 4416.333190917969,\r
6497         "z": "d1eceead.adafe",\r
6498         "wires": []\r
6499     },\r
6500     {\r
6501         "id": "d3485e4a.cbde48",\r
6502         "type": "block",\r
6503         "name": "block : atomic",\r
6504         "xml": "<block atomic=\"true\">",\r
6505         "atomic": "true",\r
6506         "outputs": 1,\r
6507         "x": 911.9837341308594,\r
6508         "y": 4505.333190917969,\r
6509         "z": "d1eceead.adafe",\r
6510         "wires": [\r
6511             [\r
6512                 "8b20d7ab.715e18",\r
6513                 "3ddce0eb.9cdfd8"\r
6514             ]\r
6515         ]\r
6516     },\r
6517     {\r
6518         "id": "3ddce0eb.9cdfd8",\r
6519         "type": "get-resource",\r
6520         "name": "get-resource src pnf",\r
6521         "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
6522         "comments": "",\r
6523         "outputs": 1,\r
6524         "x": 1147.9837341308594,\r
6525         "y": 4498.333190917969,\r
6526         "z": "d1eceead.adafe",\r
6527         "wires": [\r
6528             [\r
6529                 "c4f933ed.6c6328",\r
6530                 "c8f61cf.a6fdde",\r
6531                 "31635596.d79712"\r
6532             ]\r
6533         ]\r
6534     },\r
6535     {\r
6536         "id": "c4f933ed.6c6328",\r
6537         "type": "success",\r
6538         "name": "success",\r
6539         "xml": "<outcome value='success'>\n",\r
6540         "comments": "",\r
6541         "outputs": 1,\r
6542         "x": 1343.4838562011719,\r
6543         "y": 4450.333190917969,\r
6544         "z": "d1eceead.adafe",\r
6545         "wires": [\r
6546             [\r
6547                 "40098ed2.4f4dd"\r
6548             ]\r
6549         ]\r
6550     },\r
6551     {\r
6552         "id": "c8f61cf.a6fdde",\r
6553         "type": "not-found",\r
6554         "name": "not-found",\r
6555         "xml": "<outcome value='not-found'>\n",\r
6556         "comments": "",\r
6557         "outputs": 1,\r
6558         "x": 1335.4838562011719,\r
6559         "y": 4505.333190917969,\r
6560         "z": "d1eceead.adafe",\r
6561         "wires": [\r
6562             [\r
6563                 "8f4995e7.00e5b8"\r
6564             ]\r
6565         ]\r
6566     },\r
6567     {\r
6568         "id": "40098ed2.4f4dd",\r
6569         "type": "block",\r
6570         "name": "block",\r
6571         "xml": "<block>\n",\r
6572         "atomic": "false",\r
6573         "comments": "",\r
6574         "outputs": 1,\r
6575         "x": 1487.8661804199219,\r
6576         "y": 4449.988861083984,\r
6577         "z": "d1eceead.adafe",\r
6578         "wires": [\r
6579             [\r
6580                 "4b557dbd.14d794"\r
6581             ]\r
6582         ]\r
6583     },\r
6584     {\r
6585         "id": "4b557dbd.14d794",\r
6586         "type": "for",\r
6587         "name": "for each relationship",\r
6588         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
6589         "comments": "",\r
6590         "outputs": 1,\r
6591         "x": 1671.9837341308594,\r
6592         "y": 4448.333190917969,\r
6593         "z": "d1eceead.adafe",\r
6594         "wires": [\r
6595             [\r
6596                 "a0958afe.9d1b"\r
6597             ]\r
6598         ]\r
6599     },\r
6600     {\r
6601         "id": "a0958afe.9d1b",\r
6602         "type": "switchNode",\r
6603         "name": "switch related-to",\r
6604         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
6605         "comments": "",\r
6606         "outputs": 1,\r
6607         "x": 1866.9837341308594,\r
6608         "y": 4448.333190917969,\r
6609         "z": "d1eceead.adafe",\r
6610         "wires": [\r
6611             [\r
6612                 "31026a11.2a4bde"\r
6613             ]\r
6614         ]\r
6615     },\r
6616     {\r
6617         "id": "31635596.d79712",\r
6618         "type": "other",\r
6619         "name": "other",\r
6620         "xml": "<outcome value='Other'>\n",\r
6621         "comments": "",\r
6622         "outputs": 1,\r
6623         "x": 1340.4838562011719,\r
6624         "y": 4562.333190917969,\r
6625         "z": "d1eceead.adafe",\r
6626         "wires": [\r
6627             [\r
6628                 "c3c84b5.76fc5b8"\r
6629             ]\r
6630         ]\r
6631     },\r
6632     {\r
6633         "id": "c3c84b5.76fc5b8",\r
6634         "type": "returnFailure",\r
6635         "name": "return failure",\r
6636         "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
6637         "comments": "",\r
6638         "x": 1492.4838562011719,\r
6639         "y": 4563.333190917969,\r
6640         "z": "d1eceead.adafe",\r
6641         "wires": []\r
6642     },\r
6643     {\r
6644         "id": "8f4995e7.00e5b8",\r
6645         "type": "returnFailure",\r
6646         "name": "return failure",\r
6647         "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
6648         "comments": "",\r
6649         "x": 1503.4838562011719,\r
6650         "y": 4506.333190917969,\r
6651         "z": "d1eceead.adafe",\r
6652         "wires": []\r
6653     },\r
6654     {\r
6655         "id": "ca7cc65e.e299b",\r
6656         "type": "block",\r
6657         "name": "block : atomic",\r
6658         "xml": "<block atomic=\"true\">",\r
6659         "atomic": "true",\r
6660         "outputs": 1,\r
6661         "x": 2248.9837341308594,\r
6662         "y": 4452.333190917969,\r
6663         "z": "d1eceead.adafe",\r
6664         "wires": [\r
6665             [\r
6666                 "7e1000fc.f7ace",\r
6667                 "10f0f2b8.28ecdd",\r
6668                 "1cf608fc.280f8f"\r
6669             ]\r
6670         ]\r
6671     },\r
6672     {\r
6673         "id": "31026a11.2a4bde",\r
6674         "type": "outcome",\r
6675         "name": "esr-thirdparty-sdnc",\r
6676         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
6677         "comments": "",\r
6678         "outputs": 1,\r
6679         "x": 2069.9837341308594,\r
6680         "y": 4452.333190917969,\r
6681         "z": "d1eceead.adafe",\r
6682         "wires": [\r
6683             [\r
6684                 "ca7cc65e.e299b"\r
6685             ]\r
6686         ]\r
6687     },\r
6688     {\r
6689         "id": "964a9d6b.511ef",\r
6690         "type": "execute",\r
6691         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
6692         "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
6693         "comments": "",\r
6694         "outputs": 1,\r
6695         "x": 1053.4839782714844,\r
6696         "y": 4609.932800292969,\r
6697         "z": "d1eceead.adafe",\r
6698         "wires": [\r
6699             [\r
6700                 "a14b7306.f0f088",\r
6701                 "edc3d42b.21d3d"\r
6702             ]\r
6703         ]\r
6704     },\r
6705     {\r
6706         "id": "edc3d42b.21d3d",\r
6707         "type": "success",\r
6708         "name": "success",\r
6709         "xml": "<outcome value='success'>\n",\r
6710         "comments": "",\r
6711         "outputs": 1,\r
6712         "x": 1417.9837341308594,\r
6713         "y": 4657.932800292969,\r
6714         "z": "d1eceead.adafe",\r
6715         "wires": [\r
6716             [\r
6717                 "7d2a7da9.46fdfc"\r
6718             ]\r
6719         ]\r
6720     },\r
6721     {\r
6722         "id": "a14b7306.f0f088",\r
6723         "type": "failure",\r
6724         "name": "failure",\r
6725         "xml": "<outcome value='failure'>\n",\r
6726         "comments": "",\r
6727         "outputs": 1,\r
6728         "x": 1413.9837341308594,\r
6729         "y": 4617.932800292969,\r
6730         "z": "d1eceead.adafe",\r
6731         "wires": [\r
6732             [\r
6733                 "db3e9725.884648"\r
6734             ]\r
6735         ]\r
6736     },\r
6737     {\r
6738         "id": "db3e9725.884648",\r
6739         "type": "returnFailure",\r
6740         "name": "return failure",\r
6741         "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
6742         "comments": "",\r
6743         "x": 1571.9837341308594,\r
6744         "y": 4617.932800292969,\r
6745         "z": "d1eceead.adafe",\r
6746         "wires": []\r
6747     },\r
6748     {\r
6749         "id": "7d2a7da9.46fdfc",\r
6750         "type": "block",\r
6751         "name": "block : atomic",\r
6752         "xml": "<block atomic=\"true\">",\r
6753         "atomic": "true",\r
6754         "comments": "",\r
6755         "outputs": 1,\r
6756         "x": 1575.4837341308594,\r
6757         "y": 4657.932800292969,\r
6758         "z": "d1eceead.adafe",\r
6759         "wires": [\r
6760             []\r
6761         ]\r
6762     },\r
6763     {\r
6764         "id": "10f0f2b8.28ecdd",\r
6765         "type": "execute",\r
6766         "name": "get esr-thirdparty-sdnc",\r
6767         "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
6768         "comments": "",\r
6769         "outputs": 1,\r
6770         "x": 2454.9837341308594,\r
6771         "y": 4465.333190917969,\r
6772         "z": "d1eceead.adafe",\r
6773         "wires": [\r
6774             [\r
6775                 "25e5e61.acf541a",\r
6776                 "12a14aa1.cf2fb5",\r
6777                 "c1a2b3a0.8c75c"\r
6778             ]\r
6779         ]\r
6780     },\r
6781     {\r
6782         "id": "7e1000fc.f7ace",\r
6783         "type": "set",\r
6784         "name": "set esr-thirdparty-sdnc domain id",\r
6785         "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
6786         "comments": "",\r
6787         "x": 2484.9837341308594,\r
6788         "y": 4413.333190917969,\r
6789         "z": "d1eceead.adafe",\r
6790         "wires": []\r
6791     },\r
6792     {\r
6793         "id": "25e5e61.acf541a",\r
6794         "type": "success",\r
6795         "name": "success",\r
6796         "xml": "<outcome value='success'>\n",\r
6797         "comments": "",\r
6798         "outputs": 1,\r
6799         "x": 2664.9837341308594,\r
6800         "y": 4456.333190917969,\r
6801         "z": "d1eceead.adafe",\r
6802         "wires": [\r
6803             [\r
6804                 "5696d51e.dbfe64"\r
6805             ]\r
6806         ]\r
6807     },\r
6808     {\r
6809         "id": "12a14aa1.cf2fb5",\r
6810         "type": "not-found",\r
6811         "name": "not-found",\r
6812         "xml": "<outcome value='not-found'>\n",\r
6813         "comments": "",\r
6814         "outputs": 1,\r
6815         "x": 2656.9837341308594,\r
6816         "y": 4511.333190917969,\r
6817         "z": "d1eceead.adafe",\r
6818         "wires": [\r
6819             [\r
6820                 "8d572a45.011df8"\r
6821             ]\r
6822         ]\r
6823     },\r
6824     {\r
6825         "id": "c1a2b3a0.8c75c",\r
6826         "type": "other",\r
6827         "name": "other",\r
6828         "xml": "<outcome value='Other'>\n",\r
6829         "comments": "",\r
6830         "outputs": 1,\r
6831         "x": 2661.9837341308594,\r
6832         "y": 4568.333190917969,\r
6833         "z": "d1eceead.adafe",\r
6834         "wires": [\r
6835             [\r
6836                 "dddace6e.f9e9f"\r
6837             ]\r
6838         ]\r
6839     },\r
6840     {\r
6841         "id": "dddace6e.f9e9f",\r
6842         "type": "returnFailure",\r
6843         "name": "return failure",\r
6844         "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
6845         "comments": "",\r
6846         "x": 2813.9837341308594,\r
6847         "y": 4569.333190917969,\r
6848         "z": "d1eceead.adafe",\r
6849         "wires": []\r
6850     },\r
6851     {\r
6852         "id": "8d572a45.011df8",\r
6853         "type": "returnFailure",\r
6854         "name": "return failure",\r
6855         "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
6856         "comments": "",\r
6857         "x": 2824.9837341308594,\r
6858         "y": 4514.333190917969,\r
6859         "z": "d1eceead.adafe",\r
6860         "wires": []\r
6861     },\r
6862     {\r
6863         "id": "5696d51e.dbfe64",\r
6864         "type": "block",\r
6865         "name": "block",\r
6866         "xml": "<block>\n",\r
6867         "atomic": "false",\r
6868         "comments": "",\r
6869         "outputs": 1,\r
6870         "x": 2809.3660583496094,\r
6871         "y": 4453.988861083984,\r
6872         "z": "d1eceead.adafe",\r
6873         "wires": [\r
6874             [\r
6875                 "e4cea83c.4d71a"\r
6876             ]\r
6877         ]\r
6878     },\r
6879     {\r
6880         "id": "e4cea83c.4d71a",\r
6881         "type": "set",\r
6882         "name": "set controller domain data",\r
6883         "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
6884         "comments": "",\r
6885         "x": 3023.9837341308594,\r
6886         "y": 4450.333190917969,\r
6887         "z": "d1eceead.adafe",\r
6888         "wires": []\r
6889     },\r
6890     {\r
6891         "id": "1cf608fc.280f8f",\r
6892         "type": "break",\r
6893         "name": "break",\r
6894         "xml": "<break>\n",\r
6895         "comments": "",\r
6896         "x": 2404.9837341308594,\r
6897         "y": 4529.333190917969,\r
6898         "z": "d1eceead.adafe",\r
6899         "wires": []\r
6900     },\r
6901     {\r
6902         "id": "58993466.bcba34",\r
6903         "type": "call",\r
6904         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6905         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6906         "comments": "",\r
6907         "outputs": 1,\r
6908         "x": 1082.5667419433594,\r
6909         "y": 4830.049499511719,\r
6910         "z": "d1eceead.adafe",\r
6911         "wires": [\r
6912             []\r
6913         ]\r
6914     },\r
6915     {\r
6916         "id": "b72e55ab.bc6bd8",\r
6917         "type": "switchNode",\r
6918         "name": "switch found-root-connectivity",\r
6919         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6920         "comments": "",\r
6921         "outputs": 1,\r
6922         "x": 897.5667419433594,\r
6923         "y": 4897.049499511719,\r
6924         "z": "d1eceead.adafe",\r
6925         "wires": [\r
6926             [\r
6927                 "191ee334.0f09fd",\r
6928                 "b8911820.2c8f68"\r
6929             ]\r
6930         ]\r
6931     },\r
6932     {\r
6933         "id": "191ee334.0f09fd",\r
6934         "type": "outcomeTrue",\r
6935         "name": "true",\r
6936         "xml": "<outcome value='true'>\n",\r
6937         "comments": "",\r
6938         "outputs": 1,\r
6939         "x": 1162.5667419433594,\r
6940         "y": 4882.049499511719,\r
6941         "z": "d1eceead.adafe",\r
6942         "wires": [\r
6943             [\r
6944                 "328aa2d2.c36a96"\r
6945             ]\r
6946         ]\r
6947     },\r
6948     {\r
6949         "id": "b8911820.2c8f68",\r
6950         "type": "outcomeFalse",\r
6951         "name": "false",\r
6952         "xml": "<outcome value='false'>\n",\r
6953         "comments": "",\r
6954         "outputs": 1,\r
6955         "x": 1158.5667419433594,\r
6956         "y": 4930.049499511719,\r
6957         "z": "d1eceead.adafe",\r
6958         "wires": [\r
6959             [\r
6960                 "88b54a6f.ba3898"\r
6961             ]\r
6962         ]\r
6963     },\r
6964     {\r
6965         "id": "328aa2d2.c36a96",\r
6966         "type": "block",\r
6967         "name": "block : atomic",\r
6968         "xml": "<block atomic='true'>",\r
6969         "atomic": "true",\r
6970         "comments": "",\r
6971         "outputs": 1,\r
6972         "x": 1318.5667419433594,\r
6973         "y": 4878.049499511719,\r
6974         "z": "d1eceead.adafe",\r
6975         "wires": [\r
6976             [\r
6977                 "4a7a1b00.5fe524"\r
6978             ]\r
6979         ]\r
6980     },\r
6981     {\r
6982         "id": "88b54a6f.ba3898",\r
6983         "type": "returnFailure",\r
6984         "name": "return failure",\r
6985         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
6986         "comments": "",\r
6987         "x": 1306.5667419433594,\r
6988         "y": 4925.049499511719,\r
6989         "z": "d1eceead.adafe",\r
6990         "wires": []\r
6991     },\r
6992     {\r
6993         "id": "d5cdb27.e4e575",\r
6994         "type": "comment",\r
6995         "name": "Update connectivity status to modified",\r
6996         "info": "",\r
6997         "comments": "",\r
6998         "x": 1587.4664001464844,\r
6999         "y": 4828.749694824219,\r
7000         "z": "d1eceead.adafe",\r
7001         "wires": []\r
7002     },\r
7003     {\r
7004         "id": "4a7a1b00.5fe524",\r
7005         "type": "save",\r
7006         "name": "update ROOT connectivity resource in AAI",\r
7007         "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
7008         "comments": "",\r
7009         "outputs": 1,\r
7010         "x": 1613.2496032714844,\r
7011         "y": 4870.949890136719,\r
7012         "z": "d1eceead.adafe",\r
7013         "wires": [\r
7014             []\r
7015         ]\r
7016     },\r
7017     {\r
7018         "id": "1003b628.8cf272",\r
7019         "type": "call",\r
7020         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
7021         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
7022         "comments": "",\r
7023         "outputs": 1,\r
7024         "x": 1026.8833923339844,\r
7025         "y": 4144.316589355469,\r
7026         "z": "d1eceead.adafe",\r
7027         "wires": [\r
7028             []\r
7029         ]\r
7030     },\r
7031     {\r
7032         "id": "44e1ece4.47debc",\r
7033         "type": "block",\r
7034         "name": "block",\r
7035         "xml": "<block>\n",\r
7036         "atomic": "false",\r
7037         "comments": "",\r
7038         "outputs": 1,\r
7039         "x": 632.8834228515625,\r
7040         "y": 4148.999725341797,\r
7041         "z": "d1eceead.adafe",\r
7042         "wires": [\r
7043             [\r
7044                 "1003b628.8cf272",\r
7045                 "71bd2e28.fdc428"\r
7046             ]\r
7047         ]\r
7048     },\r
7049     {\r
7050         "id": "49ab1cdc.2b3dfc",\r
7051         "type": "block",\r
7052         "name": "block",\r
7053         "xml": "<block>\n",\r
7054         "atomic": "false",\r
7055         "comments": "",\r
7056         "outputs": 1,\r
7057         "x": 716.3333740234375,\r
7058         "y": 5401.516571044922,\r
7059         "z": "d1eceead.adafe",\r
7060         "wires": [\r
7061             [\r
7062                 "723c2903.f58428",\r
7063                 "98b88954.793148",\r
7064                 "b393338f.3c0a5",\r
7065                 "119574e6.129413"\r
7066             ]\r
7067         ]\r
7068     },\r
7069     {\r
7070         "id": "723c2903.f58428",\r
7071         "type": "call",\r
7072         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
7073         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
7074         "comments": "",\r
7075         "outputs": 1,\r
7076         "x": 1067.7166748046875,\r
7077         "y": 5332.516571044922,\r
7078         "z": "d1eceead.adafe",\r
7079         "wires": [\r
7080             []\r
7081         ]\r
7082     },\r
7083     {\r
7084         "id": "98b88954.793148",\r
7085         "type": "save",\r
7086         "name": "delete LEAF connectivity resource in AAI",\r
7087         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
7088         "comments": "",\r
7089         "outputs": 1,\r
7090         "x": 978.7166748046875,\r
7091         "y": 5401.516571044922,\r
7092         "z": "d1eceead.adafe",\r
7093         "wires": [\r
7094             []\r
7095         ]\r
7096     },\r
7097     {\r
7098         "id": "b393338f.3c0a5",\r
7099         "type": "block",\r
7100         "name": "block : atomic",\r
7101         "xml": "<block atomic=\"true\">",\r
7102         "atomic": "true",\r
7103         "outputs": 1,\r
7104         "x": 869.88330078125,\r
7105         "y": 5636.516571044922,\r
7106         "z": "d1eceead.adafe",\r
7107         "wires": [\r
7108             [\r
7109                 "df7f814b.30dca",\r
7110                 "680a6c2d.c81304",\r
7111                 "f02d2a13.d0aa48"\r
7112             ]\r
7113         ]\r
7114     },\r
7115     {\r
7116         "id": "c8c4cb96.f9d8b",\r
7117         "type": "execute",\r
7118         "name": "get esr-thirdparty-sdnc",\r
7119         "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
7120         "comments": "",\r
7121         "outputs": 1,\r
7122         "x": 2585.882568359375,\r
7123         "y": 5523.516571044922,\r
7124         "z": "d1eceead.adafe",\r
7125         "wires": [\r
7126             [\r
7127                 "43900724.7021a8",\r
7128                 "b5fd98a.36736e8",\r
7129                 "3c26b3f8.230acc"\r
7130             ]\r
7131         ]\r
7132     },\r
7133     {\r
7134         "id": "de9e1e1d.dcbc3",\r
7135         "type": "break",\r
7136         "name": "break",\r
7137         "xml": "<break>\n",\r
7138         "comments": "",\r
7139         "x": 2535.882568359375,\r
7140         "y": 5587.516571044922,\r
7141         "z": "d1eceead.adafe",\r
7142         "wires": []\r
7143     },\r
7144     {\r
7145         "id": "d2b1cccb.1f5468",\r
7146         "type": "set",\r
7147         "name": "set esr-thirdparty-sdnc domain id",\r
7148         "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
7149         "comments": "",\r
7150         "x": 2615.882568359375,\r
7151         "y": 5471.516571044922,\r
7152         "z": "d1eceead.adafe",\r
7153         "wires": []\r
7154     },\r
7155     {\r
7156         "id": "43900724.7021a8",\r
7157         "type": "success",\r
7158         "name": "success",\r
7159         "xml": "<outcome value='success'>\n",\r
7160         "comments": "",\r
7161         "outputs": 1,\r
7162         "x": 2795.882568359375,\r
7163         "y": 5514.516571044922,\r
7164         "z": "d1eceead.adafe",\r
7165         "wires": [\r
7166             [\r
7167                 "dc7a8a3b.a925f8"\r
7168             ]\r
7169         ]\r
7170     },\r
7171     {\r
7172         "id": "b5fd98a.36736e8",\r
7173         "type": "not-found",\r
7174         "name": "not-found",\r
7175         "xml": "<outcome value='not-found'>\n",\r
7176         "comments": "",\r
7177         "outputs": 1,\r
7178         "x": 2787.882568359375,\r
7179         "y": 5569.516571044922,\r
7180         "z": "d1eceead.adafe",\r
7181         "wires": [\r
7182             [\r
7183                 "c1ab7307.8305a8"\r
7184             ]\r
7185         ]\r
7186     },\r
7187     {\r
7188         "id": "3c26b3f8.230acc",\r
7189         "type": "other",\r
7190         "name": "other",\r
7191         "xml": "<outcome value='Other'>\n",\r
7192         "comments": "",\r
7193         "outputs": 1,\r
7194         "x": 2792.882568359375,\r
7195         "y": 5626.516571044922,\r
7196         "z": "d1eceead.adafe",\r
7197         "wires": [\r
7198             [\r
7199                 "f1d869f8.b644e"\r
7200             ]\r
7201         ]\r
7202     },\r
7203     {\r
7204         "id": "f1d869f8.b644e",\r
7205         "type": "returnFailure",\r
7206         "name": "return failure",\r
7207         "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
7208         "comments": "",\r
7209         "x": 2944.882568359375,\r
7210         "y": 5627.516571044922,\r
7211         "z": "d1eceead.adafe",\r
7212         "wires": []\r
7213     },\r
7214     {\r
7215         "id": "c1ab7307.8305a8",\r
7216         "type": "returnFailure",\r
7217         "name": "return failure",\r
7218         "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
7219         "comments": "",\r
7220         "x": 2955.882568359375,\r
7221         "y": 5572.516571044922,\r
7222         "z": "d1eceead.adafe",\r
7223         "wires": []\r
7224     },\r
7225     {\r
7226         "id": "dc7a8a3b.a925f8",\r
7227         "type": "block",\r
7228         "name": "block",\r
7229         "xml": "<block>\n",\r
7230         "atomic": "false",\r
7231         "comments": "",\r
7232         "outputs": 1,\r
7233         "x": 2940.264892578125,\r
7234         "y": 5512.1722412109375,\r
7235         "z": "d1eceead.adafe",\r
7236         "wires": [\r
7237             [\r
7238                 "99f651cc.e3a158"\r
7239             ]\r
7240         ]\r
7241     },\r
7242     {\r
7243         "id": "99f651cc.e3a158",\r
7244         "type": "set",\r
7245         "name": "set controller domain data",\r
7246         "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
7247         "comments": "",\r
7248         "x": 3154.882568359375,\r
7249         "y": 5508.516571044922,\r
7250         "z": "d1eceead.adafe",\r
7251         "wires": []\r
7252     },\r
7253     {\r
7254         "id": "df7f814b.30dca",\r
7255         "type": "set",\r
7256         "name": "set pnf-name",\r
7257         "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
7258         "comments": "",\r
7259         "x": 1151.88330078125,\r
7260         "y": 5505.516571044922,\r
7261         "z": "d1eceead.adafe",\r
7262         "wires": []\r
7263     },\r
7264     {\r
7265         "id": "1d552db6.d6aaca",\r
7266         "type": "other",\r
7267         "name": "other",\r
7268         "xml": "<outcome value='Other'>\n",\r
7269         "comments": "",\r
7270         "outputs": 1,\r
7271         "x": 1362.3834228515625,\r
7272         "y": 5644.516571044922,\r
7273         "z": "d1eceead.adafe",\r
7274         "wires": [\r
7275             [\r
7276                 "2d69161c.7523aa"\r
7277             ]\r
7278         ]\r
7279     },\r
7280     {\r
7281         "id": "d7946986.6d0968",\r
7282         "type": "success",\r
7283         "name": "success",\r
7284         "xml": "<outcome value='success'>\n",\r
7285         "comments": "",\r
7286         "outputs": 1,\r
7287         "x": 1365.3834228515625,\r
7288         "y": 5532.516571044922,\r
7289         "z": "d1eceead.adafe",\r
7290         "wires": [\r
7291             [\r
7292                 "b24f95b.8630968"\r
7293             ]\r
7294         ]\r
7295     },\r
7296     {\r
7297         "id": "9ea8b87c.75f8b",\r
7298         "type": "not-found",\r
7299         "name": "not-found",\r
7300         "xml": "<outcome value='not-found'>\n",\r
7301         "comments": "",\r
7302         "outputs": 1,\r
7303         "x": 1357.3834228515625,\r
7304         "y": 5587.516571044922,\r
7305         "z": "d1eceead.adafe",\r
7306         "wires": [\r
7307             [\r
7308                 "d1cfde55.05efd"\r
7309             ]\r
7310         ]\r
7311     },\r
7312     {\r
7313         "id": "b24f95b.8630968",\r
7314         "type": "block",\r
7315         "name": "block",\r
7316         "xml": "<block>\n",\r
7317         "atomic": "false",\r
7318         "comments": "",\r
7319         "outputs": 1,\r
7320         "x": 1499.765625,\r
7321         "y": 5527.172332763672,\r
7322         "z": "d1eceead.adafe",\r
7323         "wires": [\r
7324             [\r
7325                 "57f5a4ed.934544"\r
7326             ]\r
7327         ]\r
7328     },\r
7329     {\r
7330         "id": "2d69161c.7523aa",\r
7331         "type": "returnFailure",\r
7332         "name": "return failure",\r
7333         "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
7334         "comments": "",\r
7335         "x": 1514.3834228515625,\r
7336         "y": 5645.516571044922,\r
7337         "z": "d1eceead.adafe",\r
7338         "wires": []\r
7339     },\r
7340     {\r
7341         "id": "d1cfde55.05efd",\r
7342         "type": "returnFailure",\r
7343         "name": "return failure",\r
7344         "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
7345         "comments": "",\r
7346         "x": 1525.3834228515625,\r
7347         "y": 5588.516571044922,\r
7348         "z": "d1eceead.adafe",\r
7349         "wires": []\r
7350     },\r
7351     {\r
7352         "id": "57f5a4ed.934544",\r
7353         "type": "for",\r
7354         "name": "for each relationship",\r
7355         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
7356         "comments": "",\r
7357         "outputs": 1,\r
7358         "x": 1686.8828125,\r
7359         "y": 5528.516571044922,\r
7360         "z": "d1eceead.adafe",\r
7361         "wires": [\r
7362             [\r
7363                 "489e94a0.cb0724"\r
7364             ]\r
7365         ]\r
7366     },\r
7367     {\r
7368         "id": "489e94a0.cb0724",\r
7369         "type": "switchNode",\r
7370         "name": "switch related-to",\r
7371         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
7372         "comments": "",\r
7373         "outputs": 1,\r
7374         "x": 1914.8828125,\r
7375         "y": 5521.516571044922,\r
7376         "z": "d1eceead.adafe",\r
7377         "wires": [\r
7378             [\r
7379                 "70d2a39a.39c914"\r
7380             ]\r
7381         ]\r
7382     },\r
7383     {\r
7384         "id": "680a6c2d.c81304",\r
7385         "type": "get-resource",\r
7386         "name": "get-resource src pnf",\r
7387         "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
7388         "comments": "",\r
7389         "outputs": 1,\r
7390         "x": 1169.88330078125,\r
7391         "y": 5580.516571044922,\r
7392         "z": "d1eceead.adafe",\r
7393         "wires": [\r
7394             [\r
7395                 "1d552db6.d6aaca",\r
7396                 "d7946986.6d0968",\r
7397                 "9ea8b87c.75f8b"\r
7398             ]\r
7399         ]\r
7400     },\r
7401     {\r
7402         "id": "70d2a39a.39c914",\r
7403         "type": "outcome",\r
7404         "name": "esr-thirdparty-sdnc",\r
7405         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
7406         "comments": "",\r
7407         "outputs": 1,\r
7408         "x": 2120.8828125,\r
7409         "y": 5518.516571044922,\r
7410         "z": "d1eceead.adafe",\r
7411         "wires": [\r
7412             [\r
7413                 "11f0110f.f1cbd7"\r
7414             ]\r
7415         ]\r
7416     },\r
7417     {\r
7418         "id": "11f0110f.f1cbd7",\r
7419         "type": "block",\r
7420         "name": "block : atomic",\r
7421         "xml": "<block atomic=\"true\">",\r
7422         "atomic": "true",\r
7423         "outputs": 1,\r
7424         "x": 2335.8822021484375,\r
7425         "y": 5521.516571044922,\r
7426         "z": "d1eceead.adafe",\r
7427         "wires": [\r
7428             [\r
7429                 "d2b1cccb.1f5468",\r
7430                 "c8c4cb96.f9d8b",\r
7431                 "de9e1e1d.dcbc3"\r
7432             ]\r
7433         ]\r
7434     },\r
7435     {\r
7436         "id": "f02d2a13.d0aa48",\r
7437         "type": "execute",\r
7438         "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
7439         "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
7440         "comments": "",\r
7441         "outputs": 1,\r
7442         "x": 1293.6500244140625,\r
7443         "y": 5729.916473388672,\r
7444         "z": "d1eceead.adafe",\r
7445         "wires": [\r
7446             [\r
7447                 "73cc7454.46b21c",\r
7448                 "983cf462.7773e"\r
7449             ]\r
7450         ]\r
7451     },\r
7452     {\r
7453         "id": "73cc7454.46b21c",\r
7454         "type": "failure",\r
7455         "name": "failure",\r
7456         "xml": "<outcome value='failure'>\n",\r
7457         "comments": "",\r
7458         "outputs": 1,\r
7459         "x": 1640.1500244140625,\r
7460         "y": 5722.916473388672,\r
7461         "z": "d1eceead.adafe",\r
7462         "wires": [\r
7463             [\r
7464                 "d64e37c.99aa9c8"\r
7465             ]\r
7466         ]\r
7467     },\r
7468     {\r
7469         "id": "983cf462.7773e",\r
7470         "type": "success",\r
7471         "name": "success",\r
7472         "xml": "<outcome value='success'>\n",\r
7473         "comments": "",\r
7474         "outputs": 1,\r
7475         "x": 1644.1500244140625,\r
7476         "y": 5762.916473388672,\r
7477         "z": "d1eceead.adafe",\r
7478         "wires": [\r
7479             [\r
7480                 "63d68d1b.26356c"\r
7481             ]\r
7482         ]\r
7483     },\r
7484     {\r
7485         "id": "d64e37c.99aa9c8",\r
7486         "type": "returnFailure",\r
7487         "name": "return failure",\r
7488         "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
7489         "comments": "",\r
7490         "x": 1798.1500244140625,\r
7491         "y": 5722.916473388672,\r
7492         "z": "d1eceead.adafe",\r
7493         "wires": []\r
7494     },\r
7495     {\r
7496         "id": "63d68d1b.26356c",\r
7497         "type": "block",\r
7498         "name": "block : atomic",\r
7499         "xml": "<block atomic=\"true\">",\r
7500         "atomic": "true",\r
7501         "comments": "",\r
7502         "outputs": 1,\r
7503         "x": 1801.6500244140625,\r
7504         "y": 5762.916473388672,\r
7505         "z": "d1eceead.adafe",\r
7506         "wires": [\r
7507             []\r
7508         ]\r
7509     },\r
7510     {\r
7511         "id": "119574e6.129413",\r
7512         "type": "switchNode",\r
7513         "name": "switch tmp.MMstillHasUni?",\r
7514         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
7515         "comments": "",\r
7516         "outputs": 1,\r
7517         "x": 913.183349609375,\r
7518         "y": 5891.716766357422,\r
7519         "z": "d1eceead.adafe",\r
7520         "wires": [\r
7521             [\r
7522                 "20383b77.9d13bc",\r
7523                 "9b5788ce.9c9408"\r
7524             ]\r
7525         ]\r
7526     },\r
7527     {\r
7528         "id": "20383b77.9d13bc",\r
7529         "type": "outcomeTrue",\r
7530         "name": "true",\r
7531         "xml": "<outcome value='true'>\n",\r
7532         "comments": "",\r
7533         "outputs": 1,\r
7534         "x": 1105.183349609375,\r
7535         "y": 5868.716766357422,\r
7536         "z": "d1eceead.adafe",\r
7537         "wires": [\r
7538             [\r
7539                 "c8a5ff15.a0cc5"\r
7540             ]\r
7541         ]\r
7542     },\r
7543     {\r
7544         "id": "9b5788ce.9c9408",\r
7545         "type": "outcomeFalse",\r
7546         "name": "false",\r
7547         "xml": "<outcome value='false'>\n",\r
7548         "comments": "",\r
7549         "outputs": 1,\r
7550         "x": 1093.3500366210938,\r
7551         "y": 6041.316864013672,\r
7552         "z": "d1eceead.adafe",\r
7553         "wires": [\r
7554             [\r
7555                 "80ab1272.8cacd"\r
7556             ]\r
7557         ]\r
7558     },\r
7559     {\r
7560         "id": "c8a5ff15.a0cc5",\r
7561         "type": "block",\r
7562         "name": "block",\r
7563         "xml": "<block>\n",\r
7564         "atomic": "false",\r
7565         "comments": "",\r
7566         "outputs": 1,\r
7567         "x": 1253.35009765625,\r
7568         "y": 5868.316864013672,\r
7569         "z": "d1eceead.adafe",\r
7570         "wires": [\r
7571             [\r
7572                 "b646edcc.5849d8",\r
7573                 "7aaef741.32dd88"\r
7574             ]\r
7575         ]\r
7576     },\r
7577     {\r
7578         "id": "b646edcc.5849d8",\r
7579         "type": "call",\r
7580         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7581         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7582         "comments": "",\r
7583         "outputs": 1,\r
7584         "x": 1675.199951171875,\r
7585         "y": 5839.716766357422,\r
7586         "z": "d1eceead.adafe",\r
7587         "wires": [\r
7588             []\r
7589         ]\r
7590     },\r
7591     {\r
7592         "id": "7aaef741.32dd88",\r
7593         "type": "switchNode",\r
7594         "name": "switch found-root-connectivity",\r
7595         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7596         "comments": "",\r
7597         "outputs": 1,\r
7598         "x": 1490.199951171875,\r
7599         "y": 5906.716766357422,\r
7600         "z": "d1eceead.adafe",\r
7601         "wires": [\r
7602             [\r
7603                 "f0373e80.9f5c1",\r
7604                 "17b9923a.e6ff36"\r
7605             ]\r
7606         ]\r
7607     },\r
7608     {\r
7609         "id": "f0373e80.9f5c1",\r
7610         "type": "outcomeTrue",\r
7611         "name": "true",\r
7612         "xml": "<outcome value='true'>\n",\r
7613         "comments": "",\r
7614         "outputs": 1,\r
7615         "x": 1755.199951171875,\r
7616         "y": 5891.716766357422,\r
7617         "z": "d1eceead.adafe",\r
7618         "wires": [\r
7619             [\r
7620                 "ea0794c3.5caad8"\r
7621             ]\r
7622         ]\r
7623     },\r
7624     {\r
7625         "id": "17b9923a.e6ff36",\r
7626         "type": "outcomeFalse",\r
7627         "name": "false",\r
7628         "xml": "<outcome value='false'>\n",\r
7629         "comments": "",\r
7630         "outputs": 1,\r
7631         "x": 1751.199951171875,\r
7632         "y": 5939.716766357422,\r
7633         "z": "d1eceead.adafe",\r
7634         "wires": [\r
7635             [\r
7636                 "f785b40a.2c0f08"\r
7637             ]\r
7638         ]\r
7639     },\r
7640     {\r
7641         "id": "ea0794c3.5caad8",\r
7642         "type": "block",\r
7643         "name": "block : atomic",\r
7644         "xml": "<block atomic='true'>",\r
7645         "atomic": "true",\r
7646         "comments": "",\r
7647         "outputs": 1,\r
7648         "x": 1911.199951171875,\r
7649         "y": 5887.716766357422,\r
7650         "z": "d1eceead.adafe",\r
7651         "wires": [\r
7652             [\r
7653                 "c184cafd.df5108"\r
7654             ]\r
7655         ]\r
7656     },\r
7657     {\r
7658         "id": "f785b40a.2c0f08",\r
7659         "type": "returnFailure",\r
7660         "name": "return failure",\r
7661         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7662         "comments": "",\r
7663         "x": 1899.199951171875,\r
7664         "y": 5934.716766357422,\r
7665         "z": "d1eceead.adafe",\r
7666         "wires": []\r
7667     },\r
7668     {\r
7669         "id": "c184cafd.df5108",\r
7670         "type": "save",\r
7671         "name": "update ROOT connectivity resource in AAI",\r
7672         "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
7673         "comments": "",\r
7674         "outputs": 1,\r
7675         "x": 2219.8826904296875,\r
7676         "y": 5881.617156982422,\r
7677         "z": "d1eceead.adafe",\r
7678         "wires": [\r
7679             []\r
7680         ]\r
7681     },\r
7682     {\r
7683         "id": "c1da52d9.9cf468",\r
7684         "type": "comment",\r
7685         "name": "Update connectivity status to modified",\r
7686         "info": "",\r
7687         "comments": "",\r
7688         "x": 2194.0994873046875,\r
7689         "y": 5839.416961669922,\r
7690         "z": "d1eceead.adafe",\r
7691         "wires": []\r
7692     },\r
7693     {\r
7694         "id": "80ab1272.8cacd",\r
7695         "type": "block",\r
7696         "name": "block",\r
7697         "xml": "<block>\n",\r
7698         "atomic": "false",\r
7699         "comments": "",\r
7700         "outputs": 1,\r
7701         "x": 1230.916748046875,\r
7702         "y": 6040.616668701172,\r
7703         "z": "d1eceead.adafe",\r
7704         "wires": [\r
7705             [\r
7706                 "49431e5b.e46588",\r
7707                 "1475339.a9ed04c"\r
7708             ]\r
7709         ]\r
7710     },\r
7711     {\r
7712         "id": "49431e5b.e46588",\r
7713         "type": "for",\r
7714         "name": "for each relationship of middle-man-conn",\r
7715         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7716         "comments": "",\r
7717         "outputs": 1,\r
7718         "x": 1544.23291015625,\r
7719         "y": 6034.816864013672,\r
7720         "z": "d1eceead.adafe",\r
7721         "wires": [\r
7722             [\r
7723                 "f57bdc9.9ead4a"\r
7724             ]\r
7725         ]\r
7726     },\r
7727     {\r
7728         "id": "f57bdc9.9ead4a",\r
7729         "type": "switchNode",\r
7730         "name": "switch related-to",\r
7731         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7732         "comments": "",\r
7733         "outputs": 1,\r
7734         "x": 1844.566650390625,\r
7735         "y": 6029.816802978516,\r
7736         "z": "d1eceead.adafe",\r
7737         "wires": [\r
7738             [\r
7739                 "ba35dccb.3b6bb8"\r
7740             ]\r
7741         ]\r
7742     },\r
7743     {\r
7744         "id": "ba35dccb.3b6bb8",\r
7745         "type": "outcome",\r
7746         "name": "connectivity",\r
7747         "xml": "<outcome value='connectivity'>\n",\r
7748         "comments": "",\r
7749         "outputs": 1,\r
7750         "x": 2024.2332763671875,\r
7751         "y": 6029.81689453125,\r
7752         "z": "d1eceead.adafe",\r
7753         "wires": [\r
7754             [\r
7755                 "86341ec4.ccb728"\r
7756             ]\r
7757         ]\r
7758     },\r
7759     {\r
7760         "id": "86341ec4.ccb728",\r
7761         "type": "save",\r
7762         "name": "get connectivity from aai",\r
7763         "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
7764         "comments": "",\r
7765         "outputs": 1,\r
7766         "x": 2224.233154296875,\r
7767         "y": 6029.816864013672,\r
7768         "z": "d1eceead.adafe",\r
7769         "wires": [\r
7770             [\r
7771                 "73b15a95.c45e6c",\r
7772                 "577c89f1.70257",\r
7773                 "ebf7b15b.49862"\r
7774             ]\r
7775         ]\r
7776     },\r
7777     {\r
7778         "id": "73b15a95.c45e6c",\r
7779         "type": "success",\r
7780         "name": "success",\r
7781         "xml": "<outcome value='success'>\n",\r
7782         "comments": "",\r
7783         "outputs": 1,\r
7784         "x": 2431.23291015625,\r
7785         "y": 6079.816864013672,\r
7786         "z": "d1eceead.adafe",\r
7787         "wires": [\r
7788             [\r
7789                 "d5e5b35.6604c5"\r
7790             ]\r
7791         ]\r
7792     },\r
7793     {\r
7794         "id": "925dd5ef.2fc678",\r
7795         "type": "save",\r
7796         "name": "get vpn-binding from aai",\r
7797         "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
7798         "comments": "",\r
7799         "outputs": 1,\r
7800         "x": 2408.466552734375,\r
7801         "y": 6264.016571044922,\r
7802         "z": "d1eceead.adafe",\r
7803         "wires": [\r
7804             [\r
7805                 "42725353.b4a374",\r
7806                 "1745f7ad.eada2",\r
7807                 "ebfc9334.bdf468"\r
7808             ]\r
7809         ]\r
7810     },\r
7811     {\r
7812         "id": "6ac4c475.ce37cc",\r
7813         "type": "for",\r
7814         "name": "for each relationship",\r
7815         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7816         "comments": "",\r
7817         "outputs": 1,\r
7818         "x": 1607.466552734375,\r
7819         "y": 6179.016571044922,\r
7820         "z": "d1eceead.adafe",\r
7821         "wires": [\r
7822             [\r
7823                 "df9efed7.82417"\r
7824             ]\r
7825         ]\r
7826     },\r
7827     {\r
7828         "id": "df9efed7.82417",\r
7829         "type": "switchNode",\r
7830         "name": "switch related-to",\r
7831         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7832         "comments": "",\r
7833         "outputs": 1,\r
7834         "x": 1804.466552734375,\r
7835         "y": 6193.016571044922,\r
7836         "z": "d1eceead.adafe",\r
7837         "wires": [\r
7838             [\r
7839                 "376f554a.32ded2",\r
7840                 "e86a8d88.08809"\r
7841             ]\r
7842         ]\r
7843     },\r
7844     {\r
7845         "id": "376f554a.32ded2",\r
7846         "type": "outcome",\r
7847         "name": "vpn-binding",\r
7848         "xml": "<outcome value='vpn-binding'>\n",\r
7849         "comments": "",\r
7850         "outputs": 1,\r
7851         "x": 1972.466552734375,\r
7852         "y": 6186.016571044922,\r
7853         "z": "d1eceead.adafe",\r
7854         "wires": [\r
7855             [\r
7856                 "bc2d7c0c.7cc4a8"\r
7857             ]\r
7858         ]\r
7859     },\r
7860     {\r
7861         "id": "bc2d7c0c.7cc4a8",\r
7862         "type": "block",\r
7863         "name": "block : atomic",\r
7864         "xml": "<block atomic=\"true\">",\r
7865         "atomic": "true",\r
7866         "outputs": 1,\r
7867         "x": 2135.466552734375,\r
7868         "y": 6186.016571044922,\r
7869         "z": "d1eceead.adafe",\r
7870         "wires": [\r
7871             [\r
7872                 "925dd5ef.2fc678"\r
7873             ]\r
7874         ]\r
7875     },\r
7876     {\r
7877         "id": "e86a8d88.08809",\r
7878         "type": "outcome",\r
7879         "name": "uni",\r
7880         "xml": "<outcome value='uni'>\n",\r
7881         "comments": "",\r
7882         "outputs": 1,\r
7883         "x": 1988.466552734375,\r
7884         "y": 6482.016571044922,\r
7885         "z": "d1eceead.adafe",\r
7886         "wires": [\r
7887             [\r
7888                 "32fa6a7d.612076"\r
7889             ]\r
7890         ]\r
7891     },\r
7892     {\r
7893         "id": "32fa6a7d.612076",\r
7894         "type": "block",\r
7895         "name": "block : atomic",\r
7896         "xml": "<block atomic=\"true\">",\r
7897         "atomic": "true",\r
7898         "outputs": 1,\r
7899         "x": 2151.466552734375,\r
7900         "y": 6482.016571044922,\r
7901         "z": "d1eceead.adafe",\r
7902         "wires": [\r
7903             [\r
7904                 "6e62ca.5284a538"\r
7905             ]\r
7906         ]\r
7907     },\r
7908     {\r
7909         "id": "6e62ca.5284a538",\r
7910         "type": "save",\r
7911         "name": "delete uni resource in AAI",\r
7912         "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
7913         "comments": "",\r
7914         "outputs": 1,\r
7915         "x": 2394.466552734375,\r
7916         "y": 6482.016571044922,\r
7917         "z": "d1eceead.adafe",\r
7918         "wires": [\r
7919             []\r
7920         ]\r
7921     },\r
7922     {\r
7923         "id": "91368e45.2e3cd8",\r
7924         "type": "save",\r
7925         "name": "delete connectivity resource in AAI",\r
7926         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7927         "comments": "",\r
7928         "outputs": 1,\r
7929         "x": 1362.466552734375,\r
7930         "y": 7248.016571044922,\r
7931         "z": "d1eceead.adafe",\r
7932         "wires": [\r
7933             []\r
7934         ]\r
7935     },\r
7936     {\r
7937         "id": "d5e5b35.6604c5",\r
7938         "type": "block",\r
7939         "name": "block",\r
7940         "xml": "<block>\n",\r
7941         "atomic": "false",\r
7942         "comments": "",\r
7943         "outputs": 1,\r
7944         "x": 1433.466552734375,\r
7945         "y": 6177.016571044922,\r
7946         "z": "d1eceead.adafe",\r
7947         "wires": [\r
7948             [\r
7949                 "6ac4c475.ce37cc",\r
7950                 "91368e45.2e3cd8",\r
7951                 "5c661b6d.db566c"\r
7952             ]\r
7953         ]\r
7954     },\r
7955     {\r
7956         "id": "42725353.b4a374",\r
7957         "type": "success",\r
7958         "name": "success",\r
7959         "xml": "<outcome value='success'>\n",\r
7960         "comments": "",\r
7961         "outputs": 1,\r
7962         "x": 2619.466552734375,\r
7963         "y": 6266.016571044922,\r
7964         "z": "d1eceead.adafe",\r
7965         "wires": [\r
7966             [\r
7967                 "aedd4240.642968"\r
7968             ]\r
7969         ]\r
7970     },\r
7971     {\r
7972         "id": "1745f7ad.eada2",\r
7973         "type": "not-found",\r
7974         "name": "not-found",\r
7975         "xml": "<outcome value='not-found'>\n",\r
7976         "comments": "",\r
7977         "outputs": 1,\r
7978         "x": 2619.95751953125,\r
7979         "y": 6311.590606689453,\r
7980         "z": "d1eceead.adafe",\r
7981         "wires": [\r
7982             [\r
7983                 "6425bc45.5cdfcc"\r
7984             ]\r
7985         ]\r
7986     },\r
7987     {\r
7988         "id": "ebfc9334.bdf468",\r
7989         "type": "failure",\r
7990         "name": "failure",\r
7991         "xml": "<outcome value='failure'>\n",\r
7992         "comments": "",\r
7993         "outputs": 1,\r
7994         "x": 2617.466552734375,\r
7995         "y": 6355.016571044922,\r
7996         "z": "d1eceead.adafe",\r
7997         "wires": [\r
7998             [\r
7999                 "337169e1.665c2e"\r
8000             ]\r
8001         ]\r
8002     },\r
8003     {\r
8004         "id": "ebf7b15b.49862",\r
8005         "type": "not-found",\r
8006         "name": "not-found",\r
8007         "xml": "<outcome value='not-found'>\n",\r
8008         "comments": "",\r
8009         "outputs": 1,\r
8010         "x": 2455.282958984375,\r
8011         "y": 5980.616668701172,\r
8012         "z": "d1eceead.adafe",\r
8013         "wires": [\r
8014             []\r
8015         ]\r
8016     },\r
8017     {\r
8018         "id": "577c89f1.70257",\r
8019         "type": "failure",\r
8020         "name": "failure",\r
8021         "xml": "<outcome value='failure'>\n",\r
8022         "comments": "",\r
8023         "outputs": 1,\r
8024         "x": 2452.7919921875,\r
8025         "y": 6024.042633056641,\r
8026         "z": "d1eceead.adafe",\r
8027         "wires": [\r
8028             []\r
8029         ]\r
8030     },\r
8031     {\r
8032         "id": "1475339.a9ed04c",\r
8033         "type": "save",\r
8034         "name": "delete middle-man-conn resource in AAI",\r
8035         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
8036         "comments": "",\r
8037         "outputs": 1,\r
8038         "x": 1531.400146484375,\r
8039         "y": 6109.416473388672,\r
8040         "z": "d1eceead.adafe",\r
8041         "wires": [\r
8042             []\r
8043         ]\r
8044     },\r
8045     {\r
8046         "id": "aedd4240.642968",\r
8047         "type": "block",\r
8048         "name": "block : atomic",\r
8049         "xml": "<block atomic=\"true\">",\r
8050         "atomic": "true",\r
8051         "outputs": 1,\r
8052         "x": 2785.466552734375,\r
8053         "y": 6256.016571044922,\r
8054         "z": "d1eceead.adafe",\r
8055         "wires": [\r
8056             [\r
8057                 "20a20b24.b18d74",\r
8058                 "da0ac321.ebd92",\r
8059                 "450533a8.9c748c",\r
8060                 "dc80e7d7.692bf8",\r
8061                 "7b453ddd.4a4edc"\r
8062             ]\r
8063         ]\r
8064     },\r
8065     {\r
8066         "id": "337169e1.665c2e",\r
8067         "type": "returnFailure",\r
8068         "name": "return failure",\r
8069         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
8070         "comments": "",\r
8071         "x": 2784.466552734375,\r
8072         "y": 6354.016571044922,\r
8073         "z": "d1eceead.adafe",\r
8074         "wires": []\r
8075     },\r
8076     {\r
8077         "id": "6425bc45.5cdfcc",\r
8078         "type": "returnFailure",\r
8079         "name": "return failure",\r
8080         "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
8081         "comments": "",\r
8082         "x": 2782.5289306640625,\r
8083         "y": 6311.8763427734375,\r
8084         "z": "d1eceead.adafe",\r
8085         "wires": []\r
8086     },\r
8087     {\r
8088         "id": "20a20b24.b18d74",\r
8089         "type": "set",\r
8090         "name": "set pnf-name",\r
8091         "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
8092         "comments": "",\r
8093         "x": 3007.466552734375,\r
8094         "y": 5974.016571044922,\r
8095         "z": "d1eceead.adafe",\r
8096         "wires": []\r
8097     },\r
8098     {\r
8099         "id": "da0ac321.ebd92",\r
8100         "type": "get-resource",\r
8101         "name": "get-resource src pnf",\r
8102         "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
8103         "comments": "",\r
8104         "outputs": 1,\r
8105         "x": 3033.466552734375,\r
8106         "y": 6091.016571044922,\r
8107         "z": "d1eceead.adafe",\r
8108         "wires": [\r
8109             [\r
8110                 "ab328def.9c2568",\r
8111                 "1e0d49ce.54650e",\r
8112                 "83f96b0e.23503"\r
8113             ]\r
8114         ]\r
8115     },\r
8116     {\r
8117         "id": "450533a8.9c748c",\r
8118         "type": "execute",\r
8119         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
8120         "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
8121         "comments": "",\r
8122         "outputs": 1,\r
8123         "x": 3136.466552734375,\r
8124         "y": 6358.016571044922,\r
8125         "z": "d1eceead.adafe",\r
8126         "wires": [\r
8127             [\r
8128                 "e189248a.5308d8",\r
8129                 "42e13b38.68927c"\r
8130             ]\r
8131         ]\r
8132     },\r
8133     {\r
8134         "id": "dc80e7d7.692bf8",\r
8135         "type": "switchNode",\r
8136         "name": "switch connectivity has ethernet service",\r
8137         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8138         "comments": "",\r
8139         "outputs": 1,\r
8140         "x": 3074.466552734375,\r
8141         "y": 6493.016571044922,\r
8142         "z": "d1eceead.adafe",\r
8143         "wires": [\r
8144             [\r
8145                 "75c39310.64e10c",\r
8146                 "865b2c0.812e658"\r
8147             ]\r
8148         ]\r
8149     },\r
8150     {\r
8151         "id": "7b453ddd.4a4edc",\r
8152         "type": "save",\r
8153         "name": "delete vpn-binding resource in AAI",\r
8154         "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
8155         "comments": "",\r
8156         "outputs": 1,\r
8157         "x": 3055.466552734375,\r
8158         "y": 6609.016571044922,\r
8159         "z": "d1eceead.adafe",\r
8160         "wires": [\r
8161             []\r
8162         ]\r
8163     },\r
8164     {\r
8165         "id": "ab328def.9c2568",\r
8166         "type": "success",\r
8167         "name": "success",\r
8168         "xml": "<outcome value='success'>\n",\r
8169         "comments": "",\r
8170         "outputs": 1,\r
8171         "x": 3228.9666748046875,\r
8172         "y": 6043.016571044922,\r
8173         "z": "d1eceead.adafe",\r
8174         "wires": [\r
8175             [\r
8176                 "7b2173a0.a25f4c"\r
8177             ]\r
8178         ]\r
8179     },\r
8180     {\r
8181         "id": "1e0d49ce.54650e",\r
8182         "type": "not-found",\r
8183         "name": "not-found",\r
8184         "xml": "<outcome value='not-found'>\n",\r
8185         "comments": "",\r
8186         "outputs": 1,\r
8187         "x": 3220.9666748046875,\r
8188         "y": 6098.016571044922,\r
8189         "z": "d1eceead.adafe",\r
8190         "wires": [\r
8191             [\r
8192                 "3e21d08a.9cf2d8"\r
8193             ]\r
8194         ]\r
8195     },\r
8196     {\r
8197         "id": "7b2173a0.a25f4c",\r
8198         "type": "block",\r
8199         "name": "block",\r
8200         "xml": "<block>\n",\r
8201         "atomic": "false",\r
8202         "comments": "",\r
8203         "outputs": 1,\r
8204         "x": 3363.348876953125,\r
8205         "y": 6037.672332763672,\r
8206         "z": "d1eceead.adafe",\r
8207         "wires": [\r
8208             [\r
8209                 "d783eb8.e8d4418"\r
8210             ]\r
8211         ]\r
8212     },\r
8213     {\r
8214         "id": "83f96b0e.23503",\r
8215         "type": "other",\r
8216         "name": "other",\r
8217         "xml": "<outcome value='Other'>\n",\r
8218         "comments": "",\r
8219         "outputs": 1,\r
8220         "x": 3225.9666748046875,\r
8221         "y": 6155.016571044922,\r
8222         "z": "d1eceead.adafe",\r
8223         "wires": [\r
8224             [\r
8225                 "39d187f7.387c08"\r
8226             ]\r
8227         ]\r
8228     },\r
8229     {\r
8230         "id": "39d187f7.387c08",\r
8231         "type": "returnFailure",\r
8232         "name": "return failure",\r
8233         "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
8234         "comments": "",\r
8235         "x": 3377.9666748046875,\r
8236         "y": 6156.016571044922,\r
8237         "z": "d1eceead.adafe",\r
8238         "wires": []\r
8239     },\r
8240     {\r
8241         "id": "3e21d08a.9cf2d8",\r
8242         "type": "returnFailure",\r
8243         "name": "return failure",\r
8244         "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
8245         "comments": "",\r
8246         "x": 3388.9666748046875,\r
8247         "y": 6099.016571044922,\r
8248         "z": "d1eceead.adafe",\r
8249         "wires": []\r
8250     },\r
8251     {\r
8252         "id": "865b2c0.812e658",\r
8253         "type": "other",\r
8254         "name": "other",\r
8255         "xml": "<outcome value='Other'>\n",\r
8256         "comments": "",\r
8257         "outputs": 1,\r
8258         "x": 3327.466552734375,\r
8259         "y": 6471.016571044922,\r
8260         "z": "d1eceead.adafe",\r
8261         "wires": [\r
8262             [\r
8263                 "772ac851.ed388"\r
8264             ]\r
8265         ]\r
8266     },\r
8267     {\r
8268         "id": "75c39310.64e10c",\r
8269         "type": "outcome",\r
8270         "name": "Null",\r
8271         "xml": "<outcome value=''>\n",\r
8272         "comments": "",\r
8273         "outputs": 1,\r
8274         "x": 3327.466552734375,\r
8275         "y": 6527.016571044922,\r
8276         "z": "d1eceead.adafe",\r
8277         "wires": [\r
8278             []\r
8279         ]\r
8280     },\r
8281     {\r
8282         "id": "d783eb8.e8d4418",\r
8283         "type": "for",\r
8284         "name": "for each relationship",\r
8285         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8286         "comments": "",\r
8287         "outputs": 1,\r
8288         "x": 3550.466064453125,\r
8289         "y": 6039.016571044922,\r
8290         "z": "d1eceead.adafe",\r
8291         "wires": [\r
8292             [\r
8293                 "22737809.d5a598"\r
8294             ]\r
8295         ]\r
8296     },\r
8297     {\r
8298         "id": "22737809.d5a598",\r
8299         "type": "switchNode",\r
8300         "name": "switch related-to",\r
8301         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8302         "comments": "",\r
8303         "outputs": 1,\r
8304         "x": 3791.466064453125,\r
8305         "y": 6030.016571044922,\r
8306         "z": "d1eceead.adafe",\r
8307         "wires": [\r
8308             [\r
8309                 "8e816736.3f1518"\r
8310             ]\r
8311         ]\r
8312     },\r
8313     {\r
8314         "id": "772ac851.ed388",\r
8315         "type": "execute",\r
8316         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8317         "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
8318         "comments": "",\r
8319         "outputs": 1,\r
8320         "x": 3677.466064453125,\r
8321         "y": 6461.016571044922,\r
8322         "z": "d1eceead.adafe",\r
8323         "wires": [\r
8324             [\r
8325                 "7e278410.d4a45c",\r
8326                 "5323d43d.ae4a94"\r
8327             ]\r
8328         ]\r
8329     },\r
8330     {\r
8331         "id": "e189248a.5308d8",\r
8332         "type": "failure",\r
8333         "name": "failure",\r
8334         "xml": "<outcome value='failure'>\n",\r
8335         "comments": "",\r
8336         "outputs": 1,\r
8337         "x": 3443.966064453125,\r
8338         "y": 6383.016571044922,\r
8339         "z": "d1eceead.adafe",\r
8340         "wires": [\r
8341             [\r
8342                 "a38fc7bd.ddbeb"\r
8343             ]\r
8344         ]\r
8345     },\r
8346     {\r
8347         "id": "42e13b38.68927c",\r
8348         "type": "success",\r
8349         "name": "success",\r
8350         "xml": "<outcome value='success'>\n",\r
8351         "comments": "",\r
8352         "outputs": 1,\r
8353         "x": 3444.966064453125,\r
8354         "y": 6328.016571044922,\r
8355         "z": "d1eceead.adafe",\r
8356         "wires": [\r
8357             [\r
8358                 "ca98e797.f9c13"\r
8359             ]\r
8360         ]\r
8361     },\r
8362     {\r
8363         "id": "a38fc7bd.ddbeb",\r
8364         "type": "returnFailure",\r
8365         "name": "return failure",\r
8366         "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
8367         "comments": "",\r
8368         "x": 3615.966064453125,\r
8369         "y": 6381.016571044922,\r
8370         "z": "d1eceead.adafe",\r
8371         "wires": []\r
8372     },\r
8373     {\r
8374         "id": "ca98e797.f9c13",\r
8375         "type": "block",\r
8376         "name": "block : atomic",\r
8377         "xml": "<block atomic=\"true\">",\r
8378         "atomic": "true",\r
8379         "comments": "",\r
8380         "outputs": 1,\r
8381         "x": 3612.466064453125,\r
8382         "y": 6330.016571044922,\r
8383         "z": "d1eceead.adafe",\r
8384         "wires": [\r
8385             []\r
8386         ]\r
8387     },\r
8388     {\r
8389         "id": "63dcc10.1e934c",\r
8390         "type": "block",\r
8391         "name": "block : atomic",\r
8392         "xml": "<block atomic=\"true\">",\r
8393         "atomic": "true",\r
8394         "outputs": 1,\r
8395         "x": 4148.4658203125,\r
8396         "y": 5979.016571044922,\r
8397         "z": "d1eceead.adafe",\r
8398         "wires": [\r
8399             [\r
8400                 "cb51edb2.a6957",\r
8401                 "7da0f639.3db538",\r
8402                 "dfe02514.308cd"\r
8403             ]\r
8404         ]\r
8405     },\r
8406     {\r
8407         "id": "8e816736.3f1518",\r
8408         "type": "outcome",\r
8409         "name": "esr-thirdparty-sdnc",\r
8410         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8411         "comments": "",\r
8412         "outputs": 1,\r
8413         "x": 3997.466064453125,\r
8414         "y": 6027.016571044922,\r
8415         "z": "d1eceead.adafe",\r
8416         "wires": [\r
8417             [\r
8418                 "63dcc10.1e934c"\r
8419             ]\r
8420         ]\r
8421     },\r
8422     {\r
8423         "id": "7e278410.d4a45c",\r
8424         "type": "failure",\r
8425         "name": "failure",\r
8426         "xml": "<outcome value='failure'>\n",\r
8427         "comments": "",\r
8428         "outputs": 1,\r
8429         "x": 4009.966064453125,\r
8430         "y": 6435.016571044922,\r
8431         "z": "d1eceead.adafe",\r
8432         "wires": [\r
8433             [\r
8434                 "21b3d920.ac879e"\r
8435             ]\r
8436         ]\r
8437     },\r
8438     {\r
8439         "id": "5323d43d.ae4a94",\r
8440         "type": "success",\r
8441         "name": "success",\r
8442         "xml": "<outcome value='success'>\n",\r
8443         "comments": "",\r
8444         "outputs": 1,\r
8445         "x": 4013.966064453125,\r
8446         "y": 6475.016571044922,\r
8447         "z": "d1eceead.adafe",\r
8448         "wires": [\r
8449             [\r
8450                 "da782471.0e218"\r
8451             ]\r
8452         ]\r
8453     },\r
8454     {\r
8455         "id": "da782471.0e218",\r
8456         "type": "block",\r
8457         "name": "block : atomic",\r
8458         "xml": "<block atomic=\"true\">",\r
8459         "atomic": "true",\r
8460         "comments": "",\r
8461         "outputs": 1,\r
8462         "x": 4201.466064453125,\r
8463         "y": 6479.016571044922,\r
8464         "z": "d1eceead.adafe",\r
8465         "wires": [\r
8466             []\r
8467         ]\r
8468     },\r
8469     {\r
8470         "id": "21b3d920.ac879e",\r
8471         "type": "returnFailure",\r
8472         "name": "return failure",\r
8473         "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
8474         "comments": "",\r
8475         "x": 4197.966064453125,\r
8476         "y": 6439.016571044922,\r
8477         "z": "d1eceead.adafe",\r
8478         "wires": []\r
8479     },\r
8480     {\r
8481         "id": "7da0f639.3db538",\r
8482         "type": "execute",\r
8483         "name": "get esr-thirdparty-sdnc",\r
8484         "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
8485         "comments": "",\r
8486         "outputs": 1,\r
8487         "x": 4354.4658203125,\r
8488         "y": 5992.016571044922,\r
8489         "z": "d1eceead.adafe",\r
8490         "wires": [\r
8491             [\r
8492                 "2a4fa91b.b928a6",\r
8493                 "3708f6c9.39ed2a",\r
8494                 "7ad7cb3f.866b74"\r
8495             ]\r
8496         ]\r
8497     },\r
8498     {\r
8499         "id": "cb51edb2.a6957",\r
8500         "type": "set",\r
8501         "name": "set esr-thirdparty-sdnc domain id",\r
8502         "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
8503         "comments": "",\r
8504         "x": 4384.4658203125,\r
8505         "y": 5940.016571044922,\r
8506         "z": "d1eceead.adafe",\r
8507         "wires": []\r
8508     },\r
8509     {\r
8510         "id": "2a4fa91b.b928a6",\r
8511         "type": "success",\r
8512         "name": "success",\r
8513         "xml": "<outcome value='success'>\n",\r
8514         "comments": "",\r
8515         "outputs": 1,\r
8516         "x": 4564.4658203125,\r
8517         "y": 5983.016571044922,\r
8518         "z": "d1eceead.adafe",\r
8519         "wires": [\r
8520             [\r
8521                 "bee63261.4dfe28"\r
8522             ]\r
8523         ]\r
8524     },\r
8525     {\r
8526         "id": "3708f6c9.39ed2a",\r
8527         "type": "not-found",\r
8528         "name": "not-found",\r
8529         "xml": "<outcome value='not-found'>\n",\r
8530         "comments": "",\r
8531         "outputs": 1,\r
8532         "x": 4556.4658203125,\r
8533         "y": 6038.016571044922,\r
8534         "z": "d1eceead.adafe",\r
8535         "wires": [\r
8536             [\r
8537                 "9ceb2b97.8189"\r
8538             ]\r
8539         ]\r
8540     },\r
8541     {\r
8542         "id": "7ad7cb3f.866b74",\r
8543         "type": "other",\r
8544         "name": "other",\r
8545         "xml": "<outcome value='Other'>\n",\r
8546         "comments": "",\r
8547         "outputs": 1,\r
8548         "x": 4561.4658203125,\r
8549         "y": 6095.016571044922,\r
8550         "z": "d1eceead.adafe",\r
8551         "wires": [\r
8552             [\r
8553                 "84d1d52.6203b28"\r
8554             ]\r
8555         ]\r
8556     },\r
8557     {\r
8558         "id": "dfe02514.308cd",\r
8559         "type": "break",\r
8560         "name": "break",\r
8561         "xml": "<break>\n",\r
8562         "comments": "",\r
8563         "x": 4304.4658203125,\r
8564         "y": 6056.016571044922,\r
8565         "z": "d1eceead.adafe",\r
8566         "wires": []\r
8567     },\r
8568     {\r
8569         "id": "84d1d52.6203b28",\r
8570         "type": "returnFailure",\r
8571         "name": "return failure",\r
8572         "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
8573         "comments": "",\r
8574         "x": 4713.4658203125,\r
8575         "y": 6096.016571044922,\r
8576         "z": "d1eceead.adafe",\r
8577         "wires": []\r
8578     },\r
8579     {\r
8580         "id": "9ceb2b97.8189",\r
8581         "type": "returnFailure",\r
8582         "name": "return failure",\r
8583         "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
8584         "comments": "",\r
8585         "x": 4724.4658203125,\r
8586         "y": 6041.016571044922,\r
8587         "z": "d1eceead.adafe",\r
8588         "wires": []\r
8589     },\r
8590     {\r
8591         "id": "bee63261.4dfe28",\r
8592         "type": "block",\r
8593         "name": "block",\r
8594         "xml": "<block>\n",\r
8595         "atomic": "false",\r
8596         "comments": "",\r
8597         "outputs": 1,\r
8598         "x": 4708.84814453125,\r
8599         "y": 5980.6722412109375,\r
8600         "z": "d1eceead.adafe",\r
8601         "wires": [\r
8602             [\r
8603                 "595ecbb0.cd7dfc"\r
8604             ]\r
8605         ]\r
8606     },\r
8607     {\r
8608         "id": "595ecbb0.cd7dfc",\r
8609         "type": "set",\r
8610         "name": "set controller domain data",\r
8611         "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
8612         "comments": "",\r
8613         "x": 4923.4658203125,\r
8614         "y": 5977.016571044922,\r
8615         "z": "d1eceead.adafe",\r
8616         "wires": []\r
8617     },\r
8618     {\r
8619         "id": "e8d2c16f.36acb",\r
8620         "type": "set",\r
8621         "name": "set pnf-name",\r
8622         "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
8623         "comments": "",\r
8624         "x": 1659.2332763671875,\r
8625         "y": 6774.616668701172,\r
8626         "z": "d1eceead.adafe",\r
8627         "wires": []\r
8628     },\r
8629     {\r
8630         "id": "656fa541.af35f4",\r
8631         "type": "get-resource",\r
8632         "name": "get-resource src pnf",\r
8633         "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
8634         "comments": "",\r
8635         "outputs": 1,\r
8636         "x": 1685.2332763671875,\r
8637         "y": 6891.616668701172,\r
8638         "z": "d1eceead.adafe",\r
8639         "wires": [\r
8640             [\r
8641                 "35de354f.e14d62",\r
8642                 "aedf728e.4bd508",\r
8643                 "d65aa6c1.4a58e"\r
8644             ]\r
8645         ]\r
8646     },\r
8647     {\r
8648         "id": "35de354f.e14d62",\r
8649         "type": "success",\r
8650         "name": "success",\r
8651         "xml": "<outcome value='success'>\n",\r
8652         "comments": "",\r
8653         "outputs": 1,\r
8654         "x": 1880.7333984375,\r
8655         "y": 6843.616668701172,\r
8656         "z": "d1eceead.adafe",\r
8657         "wires": [\r
8658             [\r
8659                 "5345535d.1f34d4"\r
8660             ]\r
8661         ]\r
8662     },\r
8663     {\r
8664         "id": "aedf728e.4bd508",\r
8665         "type": "not-found",\r
8666         "name": "not-found",\r
8667         "xml": "<outcome value='not-found'>\n",\r
8668         "comments": "",\r
8669         "outputs": 1,\r
8670         "x": 1872.7333984375,\r
8671         "y": 6898.616668701172,\r
8672         "z": "d1eceead.adafe",\r
8673         "wires": [\r
8674             [\r
8675                 "20bec1fa.80674e"\r
8676             ]\r
8677         ]\r
8678     },\r
8679     {\r
8680         "id": "5345535d.1f34d4",\r
8681         "type": "block",\r
8682         "name": "block",\r
8683         "xml": "<block>\n",\r
8684         "atomic": "false",\r
8685         "comments": "",\r
8686         "outputs": 1,\r
8687         "x": 2015.1156005859375,\r
8688         "y": 6838.272430419922,\r
8689         "z": "d1eceead.adafe",\r
8690         "wires": [\r
8691             [\r
8692                 "eb473582.da829"\r
8693             ]\r
8694         ]\r
8695     },\r
8696     {\r
8697         "id": "d65aa6c1.4a58e",\r
8698         "type": "other",\r
8699         "name": "other",\r
8700         "xml": "<outcome value='Other'>\n",\r
8701         "comments": "",\r
8702         "outputs": 1,\r
8703         "x": 1877.7333984375,\r
8704         "y": 6955.616668701172,\r
8705         "z": "d1eceead.adafe",\r
8706         "wires": [\r
8707             [\r
8708                 "15a64cb6.b20343"\r
8709             ]\r
8710         ]\r
8711     },\r
8712     {\r
8713         "id": "15a64cb6.b20343",\r
8714         "type": "returnFailure",\r
8715         "name": "return failure",\r
8716         "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
8717         "comments": "",\r
8718         "x": 2029.7333984375,\r
8719         "y": 6956.616668701172,\r
8720         "z": "d1eceead.adafe",\r
8721         "wires": []\r
8722     },\r
8723     {\r
8724         "id": "20bec1fa.80674e",\r
8725         "type": "returnFailure",\r
8726         "name": "return failure",\r
8727         "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
8728         "comments": "",\r
8729         "x": 2040.7333984375,\r
8730         "y": 6899.616668701172,\r
8731         "z": "d1eceead.adafe",\r
8732         "wires": []\r
8733     },\r
8734     {\r
8735         "id": "eb473582.da829",\r
8736         "type": "for",\r
8737         "name": "for each relationship",\r
8738         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8739         "comments": "",\r
8740         "outputs": 1,\r
8741         "x": 2202.2327880859375,\r
8742         "y": 6839.616668701172,\r
8743         "z": "d1eceead.adafe",\r
8744         "wires": [\r
8745             [\r
8746                 "b73dec8d.f89198"\r
8747             ]\r
8748         ]\r
8749     },\r
8750     {\r
8751         "id": "b73dec8d.f89198",\r
8752         "type": "switchNode",\r
8753         "name": "switch related-to",\r
8754         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8755         "comments": "",\r
8756         "outputs": 1,\r
8757         "x": 2443.2327880859375,\r
8758         "y": 6830.616668701172,\r
8759         "z": "d1eceead.adafe",\r
8760         "wires": [\r
8761             [\r
8762                 "1ceb2f26.68ec79"\r
8763             ]\r
8764         ]\r
8765     },\r
8766     {\r
8767         "id": "8e7e1d35.45d4c8",\r
8768         "type": "block",\r
8769         "name": "block : atomic",\r
8770         "xml": "<block atomic=\"true\">",\r
8771         "atomic": "true",\r
8772         "outputs": 1,\r
8773         "x": 2800.2325439453125,\r
8774         "y": 6779.616668701172,\r
8775         "z": "d1eceead.adafe",\r
8776         "wires": [\r
8777             [\r
8778                 "a1ade3fe.d4148",\r
8779                 "2a08582e.e9a11",\r
8780                 "a2d9c162.524c1"\r
8781             ]\r
8782         ]\r
8783     },\r
8784     {\r
8785         "id": "1ceb2f26.68ec79",\r
8786         "type": "outcome",\r
8787         "name": "esr-thirdparty-sdnc",\r
8788         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8789         "comments": "",\r
8790         "outputs": 1,\r
8791         "x": 2649.2327880859375,\r
8792         "y": 6827.616668701172,\r
8793         "z": "d1eceead.adafe",\r
8794         "wires": [\r
8795             [\r
8796                 "8e7e1d35.45d4c8"\r
8797             ]\r
8798         ]\r
8799     },\r
8800     {\r
8801         "id": "2a08582e.e9a11",\r
8802         "type": "execute",\r
8803         "name": "get esr-thirdparty-sdnc",\r
8804         "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
8805         "comments": "",\r
8806         "outputs": 1,\r
8807         "x": 3006.2325439453125,\r
8808         "y": 6792.616668701172,\r
8809         "z": "d1eceead.adafe",\r
8810         "wires": [\r
8811             [\r
8812                 "cc4e4323.ff0c8",\r
8813                 "37454266.958e06",\r
8814                 "fc54918e.b07f78"\r
8815             ]\r
8816         ]\r
8817     },\r
8818     {\r
8819         "id": "a2d9c162.524c1",\r
8820         "type": "break",\r
8821         "name": "break",\r
8822         "xml": "<break>\n",\r
8823         "comments": "",\r
8824         "x": 2956.2325439453125,\r
8825         "y": 6856.616668701172,\r
8826         "z": "d1eceead.adafe",\r
8827         "wires": []\r
8828     },\r
8829     {\r
8830         "id": "a1ade3fe.d4148",\r
8831         "type": "set",\r
8832         "name": "set esr-thirdparty-sdnc domain id",\r
8833         "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
8834         "comments": "",\r
8835         "x": 3036.2325439453125,\r
8836         "y": 6740.616668701172,\r
8837         "z": "d1eceead.adafe",\r
8838         "wires": []\r
8839     },\r
8840     {\r
8841         "id": "cc4e4323.ff0c8",\r
8842         "type": "success",\r
8843         "name": "success",\r
8844         "xml": "<outcome value='success'>\n",\r
8845         "comments": "",\r
8846         "outputs": 1,\r
8847         "x": 3216.2325439453125,\r
8848         "y": 6783.616668701172,\r
8849         "z": "d1eceead.adafe",\r
8850         "wires": [\r
8851             [\r
8852                 "e3f7ab37.cd3338"\r
8853             ]\r
8854         ]\r
8855     },\r
8856     {\r
8857         "id": "37454266.958e06",\r
8858         "type": "not-found",\r
8859         "name": "not-found",\r
8860         "xml": "<outcome value='not-found'>\n",\r
8861         "comments": "",\r
8862         "outputs": 1,\r
8863         "x": 3208.2325439453125,\r
8864         "y": 6838.616668701172,\r
8865         "z": "d1eceead.adafe",\r
8866         "wires": [\r
8867             [\r
8868                 "c423f303.cf0fc"\r
8869             ]\r
8870         ]\r
8871     },\r
8872     {\r
8873         "id": "fc54918e.b07f78",\r
8874         "type": "other",\r
8875         "name": "other",\r
8876         "xml": "<outcome value='Other'>\n",\r
8877         "comments": "",\r
8878         "outputs": 1,\r
8879         "x": 3213.2325439453125,\r
8880         "y": 6895.616668701172,\r
8881         "z": "d1eceead.adafe",\r
8882         "wires": [\r
8883             [\r
8884                 "f7cc4fee.3d03d8"\r
8885             ]\r
8886         ]\r
8887     },\r
8888     {\r
8889         "id": "f7cc4fee.3d03d8",\r
8890         "type": "returnFailure",\r
8891         "name": "return failure",\r
8892         "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
8893         "comments": "",\r
8894         "x": 3365.2325439453125,\r
8895         "y": 6896.616668701172,\r
8896         "z": "d1eceead.adafe",\r
8897         "wires": []\r
8898     },\r
8899     {\r
8900         "id": "c423f303.cf0fc",\r
8901         "type": "returnFailure",\r
8902         "name": "return failure",\r
8903         "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
8904         "comments": "",\r
8905         "x": 3376.2325439453125,\r
8906         "y": 6841.616668701172,\r
8907         "z": "d1eceead.adafe",\r
8908         "wires": []\r
8909     },\r
8910     {\r
8911         "id": "e3f7ab37.cd3338",\r
8912         "type": "block",\r
8913         "name": "block",\r
8914         "xml": "<block>\n",\r
8915         "atomic": "false",\r
8916         "comments": "",\r
8917         "outputs": 1,\r
8918         "x": 3360.6148681640625,\r
8919         "y": 6781.2723388671875,\r
8920         "z": "d1eceead.adafe",\r
8921         "wires": [\r
8922             [\r
8923                 "a32f770f.0bf93"\r
8924             ]\r
8925         ]\r
8926     },\r
8927     {\r
8928         "id": "a32f770f.0bf93",\r
8929         "type": "set",\r
8930         "name": "set controller domain data",\r
8931         "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
8932         "comments": "",\r
8933         "x": 3575.2325439453125,\r
8934         "y": 6777.616668701172,\r
8935         "z": "d1eceead.adafe",\r
8936         "wires": []\r
8937     },\r
8938     {\r
8939         "id": "5c661b6d.db566c",\r
8940         "type": "block",\r
8941         "name": "block : atomic",\r
8942         "xml": "<block atomic=\"true\">",\r
8943         "atomic": "true",\r
8944         "outputs": 1,\r
8945         "x": 1451.2332763671875,\r
8946         "y": 6902.616668701172,\r
8947         "z": "d1eceead.adafe",\r
8948         "wires": [\r
8949             [\r
8950                 "e8d2c16f.36acb",\r
8951                 "656fa541.af35f4",\r
8952                 "f25051a6.fa4e28"\r
8953             ]\r
8954         ]\r
8955     },\r
8956     {\r
8957         "id": "f25051a6.fa4e28",\r
8958         "type": "switchNode",\r
8959         "name": "switch connectivity has ethernet service",\r
8960         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8961         "comments": "",\r
8962         "outputs": 1,\r
8963         "x": 1733.433349609375,\r
8964         "y": 7043.816864013672,\r
8965         "z": "d1eceead.adafe",\r
8966         "wires": [\r
8967             [\r
8968                 "81385ecf.138098",\r
8969                 "de989c54.09997"\r
8970             ]\r
8971         ]\r
8972     },\r
8973     {\r
8974         "id": "de989c54.09997",\r
8975         "type": "other",\r
8976         "name": "other",\r
8977         "xml": "<outcome value='Other'>\n",\r
8978         "comments": "",\r
8979         "outputs": 1,\r
8980         "x": 1986.433349609375,\r
8981         "y": 7021.816864013672,\r
8982         "z": "d1eceead.adafe",\r
8983         "wires": [\r
8984             [\r
8985                 "78a6b529.99c6a4"\r
8986             ]\r
8987         ]\r
8988     },\r
8989     {\r
8990         "id": "81385ecf.138098",\r
8991         "type": "outcome",\r
8992         "name": "Null",\r
8993         "xml": "<outcome value=''>\n",\r
8994         "comments": "",\r
8995         "outputs": 1,\r
8996         "x": 1986.433349609375,\r
8997         "y": 7077.816864013672,\r
8998         "z": "d1eceead.adafe",\r
8999         "wires": [\r
9000             []\r
9001         ]\r
9002     },\r
9003     {\r
9004         "id": "78a6b529.99c6a4",\r
9005         "type": "execute",\r
9006         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
9007         "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
9008         "comments": "",\r
9009         "outputs": 1,\r
9010         "x": 2336.432861328125,\r
9011         "y": 7011.816864013672,\r
9012         "z": "d1eceead.adafe",\r
9013         "wires": [\r
9014             [\r
9015                 "a19873b6.a4d6e",\r
9016                 "94634cdd.23be6"\r
9017             ]\r
9018         ]\r
9019     },\r
9020     {\r
9021         "id": "a19873b6.a4d6e",\r
9022         "type": "failure",\r
9023         "name": "failure",\r
9024         "xml": "<outcome value='failure'>\n",\r
9025         "comments": "",\r
9026         "outputs": 1,\r
9027         "x": 2668.932861328125,\r
9028         "y": 6985.816864013672,\r
9029         "z": "d1eceead.adafe",\r
9030         "wires": [\r
9031             [\r
9032                 "2dad16ef.224d22"\r
9033             ]\r
9034         ]\r
9035     },\r
9036     {\r
9037         "id": "94634cdd.23be6",\r
9038         "type": "success",\r
9039         "name": "success",\r
9040         "xml": "<outcome value='success'>\n",\r
9041         "comments": "",\r
9042         "outputs": 1,\r
9043         "x": 2672.932861328125,\r
9044         "y": 7025.816864013672,\r
9045         "z": "d1eceead.adafe",\r
9046         "wires": [\r
9047             [\r
9048                 "4ffd9da0.18218c"\r
9049             ]\r
9050         ]\r
9051     },\r
9052     {\r
9053         "id": "4ffd9da0.18218c",\r
9054         "type": "block",\r
9055         "name": "block : atomic",\r
9056         "xml": "<block atomic=\"true\">",\r
9057         "atomic": "true",\r
9058         "comments": "",\r
9059         "outputs": 1,\r
9060         "x": 2860.432861328125,\r
9061         "y": 7029.816864013672,\r
9062         "z": "d1eceead.adafe",\r
9063         "wires": [\r
9064             []\r
9065         ]\r
9066     },\r
9067     {\r
9068         "id": "2dad16ef.224d22",\r
9069         "type": "returnFailure",\r
9070         "name": "return failure",\r
9071         "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
9072         "comments": "",\r
9073         "x": 2856.932861328125,\r
9074         "y": 6989.816864013672,\r
9075         "z": "d1eceead.adafe",\r
9076         "wires": []\r
9077     },\r
9078     {\r
9079         "id": "8d45971b.519e08",\r
9080         "type": "execute",\r
9081         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
9082         "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
9083         "comments": "",\r
9084         "outputs": 1,\r
9085         "x": 1089.25,\r
9086         "y": 4729.39990234375,\r
9087         "z": "d1eceead.adafe",\r
9088         "wires": [\r
9089             [\r
9090                 "5dcba2e4.9fe114",\r
9091                 "1fae83d7.8f54e4"\r
9092             ]\r
9093         ]\r
9094     },\r
9095     {\r
9096         "id": "5dcba2e4.9fe114",\r
9097         "type": "failure",\r
9098         "name": "failure",\r
9099         "xml": "<outcome value='failure'>\n",\r
9100         "comments": "",\r
9101         "outputs": 1,\r
9102         "x": 1517.749755859375,\r
9103         "y": 4717.39990234375,\r
9104         "z": "d1eceead.adafe",\r
9105         "wires": [\r
9106             [\r
9107                 "504ce75b.b6442"\r
9108             ]\r
9109         ]\r
9110     },\r
9111     {\r
9112         "id": "1fae83d7.8f54e4",\r
9113         "type": "success",\r
9114         "name": "success",\r
9115         "xml": "<outcome value='success'>\n",\r
9116         "comments": "",\r
9117         "outputs": 1,\r
9118         "x": 1521.749755859375,\r
9119         "y": 4757.39990234375,\r
9120         "z": "d1eceead.adafe",\r
9121         "wires": [\r
9122             [\r
9123                 "2463a8bc.d76748"\r
9124             ]\r
9125         ]\r
9126     },\r
9127     {\r
9128         "id": "504ce75b.b6442",\r
9129         "type": "returnFailure",\r
9130         "name": "return failure",\r
9131         "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
9132         "comments": "",\r
9133         "x": 1675.749755859375,\r
9134         "y": 4717.39990234375,\r
9135         "z": "d1eceead.adafe",\r
9136         "wires": []\r
9137     },\r
9138     {\r
9139         "id": "2463a8bc.d76748",\r
9140         "type": "block",\r
9141         "name": "block : atomic",\r
9142         "xml": "<block atomic=\"true\">",\r
9143         "atomic": "true",\r
9144         "comments": "",\r
9145         "outputs": 1,\r
9146         "x": 1679.249755859375,\r
9147         "y": 4757.39990234375,\r
9148         "z": "d1eceead.adafe",\r
9149         "wires": [\r
9150             []\r
9151         ]\r
9152     },\r
9153     {\r
9154         "id": "b2c9765c.25999",\r
9155         "type": "block",\r
9156         "name": "block : atomic",\r
9157         "xml": "<block atomic='true'>",\r
9158         "atomic": "true",\r
9159         "comments": "",\r
9160         "outputs": 1,\r
9161         "x": 5113,\r
9162         "y": 5050,\r
9163         "z": "d1eceead.adafe",\r
9164         "wires": [\r
9165             [\r
9166                 "86e944dc.0c4178",\r
9167                 "5fccecfa.290f3c",\r
9168                 "76c53fa0.8ab25"\r
9169             ]\r
9170         ]\r
9171     },\r
9172     {\r
9173         "id": "76c53fa0.8ab25",\r
9174         "type": "set",\r
9175         "name": "set vpnNameToSearch",\r
9176         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
9177         "comments": "",\r
9178         "x": 5340,\r
9179         "y": 4995,\r
9180         "z": "d1eceead.adafe",\r
9181         "wires": []\r
9182     },\r
9183     {\r
9184         "id": "86e944dc.0c4178",\r
9185         "type": "call",\r
9186         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
9187         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
9188         "comments": "",\r
9189         "outputs": 1,\r
9190         "x": 5494,\r
9191         "y": 5047,\r
9192         "z": "d1eceead.adafe",\r
9193         "wires": [\r
9194             []\r
9195         ]\r
9196     },\r
9197     {\r
9198         "id": "5fccecfa.290f3c",\r
9199         "type": "switchNode",\r
9200         "name": "switch $foundVpnName",\r
9201         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
9202         "comments": "",\r
9203         "outputs": 1,\r
9204         "x": 5339,\r
9205         "y": 5102,\r
9206         "z": "d1eceead.adafe",\r
9207         "wires": [\r
9208             [\r
9209                 "2a17f2a1.8a9c0e"\r
9210             ]\r
9211         ]\r
9212     },\r
9213     {\r
9214         "id": "2a17f2a1.8a9c0e",\r
9215         "type": "outcomeTrue",\r
9216         "name": "true",\r
9217         "xml": "<outcome value='true'>\n",\r
9218         "comments": "",\r
9219         "outputs": 1,\r
9220         "x": 5518,\r
9221         "y": 5101,\r
9222         "z": "d1eceead.adafe",\r
9223         "wires": [\r
9224             [\r
9225                 "a5ecb13c.9c7548"\r
9226             ]\r
9227         ]\r
9228     }\r
9229 ]