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