Support individual CLL deletion, and UNI removal from Ethernet Service, and
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-delete.json
1 [\r
2     {\r
3         "id": "d1a7bbc1.540ca8",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 171.88333129882812,\r
8         "y": 131.88333129882812,\r
9         "z": "82de8dcf.518d88",\r
10         "wires": [\r
11             [\r
12                 "6b49e250.7dcf1c"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "6b49e250.7dcf1c",\r
18         "type": "service-logic",\r
19         "name": "GENERIC-RESOURCE-API ${project.version}",\r
20         "module": "GENERIC-RESOURCE-API",\r
21         "version": "${project.version}",\r
22         "comments": "",\r
23         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='GENERIC-RESOURCE-API' version='${project.version}'>",\r
24         "outputs": 1,\r
25         "x": 456.1690216064453,\r
26         "y": 193.12143993377686,\r
27         "z": "82de8dcf.518d88",\r
28         "wires": [\r
29             [\r
30                 "7d29f447.50c89c"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "7d29f447.50c89c",\r
36         "type": "method",\r
37         "name": "method cll-vnf-topology-operation-cll-delete",\r
38         "xml": "<method rpc='cll-vnf-topology-operation-cll-delete' mode='sync'>\n",\r
39         "comments": "",\r
40         "outputs": 1,\r
41         "x": 462.3119354248047,\r
42         "y": 277.88336181640625,\r
43         "z": "82de8dcf.518d88",\r
44         "wires": [\r
45             [\r
46                 "eaada3e3.80126"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "eaada3e3.80126",\r
52         "type": "block",\r
53         "name": "block : atomic",\r
54         "xml": "<block atomic=\"true\">",\r
55         "atomic": "true",\r
56         "outputs": 1,\r
57         "x": 811.8833312988281,\r
58         "y": 336.8833312988281,\r
59         "z": "82de8dcf.518d88",\r
60         "wires": [\r
61             [\r
62                 "48b97bf1.34ba04",\r
63                 "4cae2f6c.f9579",\r
64                 "47d3b263.d1c534"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "48b97bf1.34ba04",\r
70         "type": "returnSuccess",\r
71         "name": "return success",\r
72         "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",\r
73         "comments": "",\r
74         "x": 1113.2168273925781,\r
75         "y": 607.8136291503906,\r
76         "z": "82de8dcf.518d88",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "4cae2f6c.f9579",\r
81         "type": "save",\r
82         "name": "get service-instance from aai",\r
83         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"service-instance\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.service-instance\">\n\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"service-instance\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.service-instance\">-->",\r
84         "comments": "",\r
85         "outputs": 1,\r
86         "x": 1134.6452941894531,\r
87         "y": 310.2166442871094,\r
88         "z": "82de8dcf.518d88",\r
89         "wires": [\r
90             [\r
91                 "eecf5ed7.260848",\r
92                 "c7a2a22f.bd7b1",\r
93                 "44494afd.f0c474"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "eecf5ed7.260848",\r
99         "type": "success",\r
100         "name": "success",\r
101         "xml": "<outcome value='success'>\n",\r
102         "comments": "",\r
103         "outputs": 1,\r
104         "x": 1359.6452941894531,\r
105         "y": 168.21664428710938,\r
106         "z": "82de8dcf.518d88",\r
107         "wires": [\r
108             [\r
109                 "cddb4078.0dee18"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "c7a2a22f.bd7b1",\r
115         "type": "not-found",\r
116         "name": "not-found",\r
117         "xml": "<outcome value='not-found'>\n",\r
118         "comments": "",\r
119         "outputs": 1,\r
120         "x": 1355.1362609863281,\r
121         "y": 237.79067993164062,\r
122         "z": "82de8dcf.518d88",\r
123         "wires": [\r
124             [\r
125                 "7789aaf8.1fe7d4"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "44494afd.f0c474",\r
131         "type": "failure",\r
132         "name": "failure",\r
133         "xml": "<outcome value='failure'>\n",\r
134         "comments": "",\r
135         "outputs": 1,\r
136         "x": 1343.6452941894531,\r
137         "y": 284.2166442871094,\r
138         "z": "82de8dcf.518d88",\r
139         "wires": [\r
140             [\r
141                 "64127148.01c618"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "1679e3cd.763d6c",\r
147         "type": "comment",\r
148         "name": "new for TransportSlicing",\r
149         "info": "",\r
150         "comments": "",\r
151         "x": 1113.6452941894531,\r
152         "y": 198.21664428710938,\r
153         "z": "82de8dcf.518d88",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "47d3b263.d1c534",\r
158         "type": "execute",\r
159         "name": "execute properties",\r
160         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='%SDNC_CONFIG_DIR%/generic-resource-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />",\r
161         "comments": "",\r
162         "outputs": 1,\r
163         "x": 1101.6452941894531,\r
164         "y": 250.21664428710938,\r
165         "z": "82de8dcf.518d88",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "cddb4078.0dee18",\r
172         "type": "switchNode",\r
173         "name": "switch allotted-resources_length != 0",\r
174         "xml": "<switch test='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length != 0`'>\n",\r
175         "comments": "",\r
176         "outputs": 1,\r
177         "x": 1599.8833312988281,\r
178         "y": 164.88333129882812,\r
179         "z": "82de8dcf.518d88",\r
180         "wires": [\r
181             [\r
182                 "6a54ba66.1cde8c",\r
183                 "7bb2b732.d43ff8"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "7789aaf8.1fe7d4",\r
189         "type": "returnFailure",\r
190         "name": "return failure",\r
191         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
192         "comments": "",\r
193         "x": 1509.9457092285156,\r
194         "y": 240.74310302734375,\r
195         "z": "82de8dcf.518d88",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "64127148.01c618",\r
200         "type": "returnFailure",\r
201         "name": "return failure",\r
202         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
203         "comments": "",\r
204         "x": 1513.8833312988281,\r
205         "y": 284.8833312988281,\r
206         "z": "82de8dcf.518d88",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "6a54ba66.1cde8c",\r
211         "type": "outcomeTrue",\r
212         "name": "true",\r
213         "xml": "<outcome value='true'>\n",\r
214         "comments": "",\r
215         "outputs": 1,\r
216         "x": 1804.8833312988281,\r
217         "y": 201.88333129882812,\r
218         "z": "82de8dcf.518d88",\r
219         "wires": [\r
220             [\r
221                 "d1e88455.43ef2"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "7bb2b732.d43ff8",\r
227         "type": "outcomeFalse",\r
228         "name": "false",\r
229         "xml": "<outcome value='false'>\n",\r
230         "comments": "",\r
231         "outputs": 1,\r
232         "x": 1814.8833312988281,\r
233         "y": 128.88333129882812,\r
234         "z": "82de8dcf.518d88",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "d1e88455.43ef2",\r
241         "type": "block",\r
242         "name": "block",\r
243         "xml": "<block>\n",\r
244         "atomic": "false",\r
245         "comments": "",\r
246         "outputs": 1,\r
247         "x": 1797.8833312988281,\r
248         "y": 276.8833312988281,\r
249         "z": "82de8dcf.518d88",\r
250         "wires": [\r
251             [\r
252                 "8390a16b.5a156",\r
253                 "341b8f1.ea5ec7",\r
254                 "1d2c9241.740b2e",\r
255                 "4208fd35.4a6c74",\r
256                 "e351db25.84cdc8"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "2db9f3bd.0d65e4",\r
262         "type": "save",\r
263         "name": "get allotted-resource from aai",\r
264         "xml": "<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"allotted-resource\"-->\n<!--\tkey='service-instance.service-instance-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.service-instance-id-->\n<!--         AND customer.global-customer-id = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.vnfs.vnf[$vnf-index].vnf-data.service-information.subscription-service-type-->\n<!--         AND allotted-resource.id = $allotted-resource-id'-->\n<!--\tlocal-only=\"false\"-->\n<!--\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">-->\n\n<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource\">\n\n",\r
265         "comments": "",\r
266         "outputs": 1,\r
267         "x": 2283.883331298828,\r
268         "y": 327.8833312988281,\r
269         "z": "82de8dcf.518d88",\r
270         "wires": [\r
271             [\r
272                 "11f248b6.2b0fe7",\r
273                 "fd3681a1.487b1",\r
274                 "9338a88f.aebeb"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "11f248b6.2b0fe7",\r
280         "type": "success",\r
281         "name": "success",\r
282         "xml": "<outcome value='success'>\n",\r
283         "comments": "",\r
284         "outputs": 1,\r
285         "x": 2499.883331298828,\r
286         "y": 394.8833312988281,\r
287         "z": "82de8dcf.518d88",\r
288         "wires": [\r
289             [\r
290                 "7fe5ebf8.de6a64"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "fd3681a1.487b1",\r
296         "type": "not-found",\r
297         "name": "not-found",\r
298         "xml": "<outcome value='not-found'>\n",\r
299         "comments": "",\r
300         "outputs": 1,\r
301         "x": 2500.374298095703,\r
302         "y": 294.4573059082031,\r
303         "z": "82de8dcf.518d88",\r
304         "wires": [\r
305             [\r
306                 "6e8f233d.c6dbd4"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "9338a88f.aebeb",\r
312         "type": "failure",\r
313         "name": "failure",\r
314         "xml": "<outcome value='failure'>\n",\r
315         "comments": "",\r
316         "outputs": 1,\r
317         "x": 2495.883331298828,\r
318         "y": 343.8833312988281,\r
319         "z": "82de8dcf.518d88",\r
320         "wires": [\r
321             [\r
322                 "8a3025a0.71b76"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "8390a16b.5a156",\r
328         "type": "for",\r
329         "name": "for each allotted-resource",\r
330         "xml": "<for index='aridx' start='0' end='`$tmp.aai.service-instance.allotted-resources.allotted-resource_length`' >\n",\r
331         "comments": "",\r
332         "outputs": 1,\r
333         "x": 2000.8833312988281,\r
334         "y": 308.8833312988281,\r
335         "z": "82de8dcf.518d88",\r
336         "wires": [\r
337             [\r
338                 "7858ac8a.d0ed24",\r
339                 "2db9f3bd.0d65e4",\r
340                 "98563074.1e7ea",\r
341                 "c475408d.68ef"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "7858ac8a.d0ed24",\r
347         "type": "set",\r
348         "name": "set the current allotted-resource-id",\r
349         "xml": "<set>\n<parameter name='allotted-resource-id' value=\"`$tmp.aai.service-instance.allotted-resources.allotted-resource[$aridx].id`\" />\n\n\n",\r
350         "comments": "",\r
351         "x": 2280.883331298828,\r
352         "y": 246.88333129882812,\r
353         "z": "82de8dcf.518d88",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "4208fd35.4a6c74",\r
358         "type": "set",\r
359         "name": "set tmp.arr",\r
360         "xml": "<set>\n<parameter name='tmp.arr' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='tmp.arr_length' value='0' />\n\n<parameter name='otn-tunnel-slice' value='' />\n<parameter name='otn-tunnel-slice_length' value='0' />\n\n<!--<parameter name='tmp.slicevpns' value='' />-->\n<!--<parameter name='tmp.slicevpns_length' value='0' />-->\n\n<!--<parameter name='tmp.slicevpnuuids' value='' />-->\n<!--<parameter name='tmp.slicevpnuuids.' value='' />-->\n\n\n",\r
361         "comments": "",\r
362         "x": 1974.8833312988281,\r
363         "y": 258.8833312988281,\r
364         "z": "82de8dcf.518d88",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "341b8f1.ea5ec7",\r
369         "type": "get-resource",\r
370         "name": "get-resource pnfs-list",\r
371         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
372         "comments": "",\r
373         "outputs": 1,\r
374         "x": 2017.8833312988281,\r
375         "y": 117.88333129882812,\r
376         "z": "82de8dcf.518d88",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "1d2c9241.740b2e",\r
383         "type": "get-resource",\r
384         "name": "get-resource logical-links",\r
385         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-links\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/logical-links?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopologicalLinks\" >",\r
386         "comments": "",\r
387         "outputs": 1,\r
388         "x": 2029.8833312988281,\r
389         "y": 158.88333129882812,\r
390         "z": "82de8dcf.518d88",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "a3743fb5.49e31",\r
397         "type": "comment",\r
398         "name": "The following two nodes are for PCE",\r
399         "info": "",\r
400         "comments": "",\r
401         "x": 2054.883331298828,\r
402         "y": 70.88333129882812,\r
403         "z": "82de8dcf.518d88",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "a5956784.1c6ce8",\r
408         "type": "set",\r
409         "name": "set tmp.arr",\r
410         "xml": "<set>\n<parameter name='tmp.arr.' value='' />\n<parameter name='tmp.arridx' value='0' />\n<parameter name='otn-tunnel-slice.' value='' />\n\n\n",\r
411         "comments": "",\r
412         "x": 1974.8833312988281,\r
413         "y": 204.88333129882812,\r
414         "z": "82de8dcf.518d88",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "6e8f233d.c6dbd4",\r
419         "type": "returnFailure",\r
420         "name": "return failure",\r
421         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
422         "comments": "",\r
423         "x": 2678.883331298828,\r
424         "y": 296.8833312988281,\r
425         "z": "82de8dcf.518d88",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "8a3025a0.71b76",\r
430         "type": "returnFailure",\r
431         "name": "return failure",\r
432         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
433         "comments": "",\r
434         "x": 2678.820831298828,\r
435         "y": 346.0235900878906,\r
436         "z": "82de8dcf.518d88",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "7fe5ebf8.de6a64",\r
441         "type": "block",\r
442         "name": "block : atomic",\r
443         "xml": "<block atomic=\"true\">",\r
444         "atomic": "true",\r
445         "outputs": 1,\r
446         "x": 2680.820831298828,\r
447         "y": 397.0235900878906,\r
448         "z": "82de8dcf.518d88",\r
449         "wires": [\r
450             [\r
451                 "27474730.1479c8"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "27474730.1479c8",\r
457         "type": "save",\r
458         "name": "get allotted-resource relationship from aai",\r
459         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"allotted-resource:relationship-list\"\n\tkey='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type\n         AND allotted-resource.id = $allotted-resource-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.allotted-resource.relationship-list\">\n\n",\r
460         "comments": "",\r
461         "outputs": 1,\r
462         "x": 2973.820831298828,\r
463         "y": 344.0235900878906,\r
464         "z": "82de8dcf.518d88",\r
465         "wires": [\r
466             [\r
467                 "bdd221b3.05669",\r
468                 "9c61f989.c8eaf8",\r
469                 "fabffff4.e28138"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "9c61f989.c8eaf8",\r
475         "type": "not-found",\r
476         "name": "not-found",\r
477         "xml": "<outcome value='not-found'>\n",\r
478         "comments": "",\r
479         "outputs": 1,\r
480         "x": 3247.311798095703,\r
481         "y": 236.59756469726562,\r
482         "z": "82de8dcf.518d88",\r
483         "wires": [\r
484             [\r
485                 "1e4b4cbe.e5dbab"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "1e4b4cbe.e5dbab",\r
491         "type": "returnFailure",\r
492         "name": "return failure",\r
493         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
494         "comments": "",\r
495         "x": 3424.883331298828,\r
496         "y": 236.88333129882812,\r
497         "z": "82de8dcf.518d88",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "fabffff4.e28138",\r
502         "type": "failure",\r
503         "name": "failure",\r
504         "xml": "<outcome value='failure'>\n",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 3242.820831298828,\r
508         "y": 286.0235900878906,\r
509         "z": "82de8dcf.518d88",\r
510         "wires": [\r
511             [\r
512                 "3e91db11.95e81c"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "3e91db11.95e81c",\r
518         "type": "returnFailure",\r
519         "name": "return failure",\r
520         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
521         "comments": "",\r
522         "x": 3424.820831298828,\r
523         "y": 286.0235900878906,\r
524         "z": "82de8dcf.518d88",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "bdd221b3.05669",\r
529         "type": "success",\r
530         "name": "success",\r
531         "xml": "<outcome value='success'>\n",\r
532         "comments": "",\r
533         "outputs": 1,\r
534         "x": 3246.820831298828,\r
535         "y": 337.0235900878906,\r
536         "z": "82de8dcf.518d88",\r
537         "wires": [\r
538             [\r
539                 "8cb6a22.c9637e"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "8cb6a22.c9637e",\r
545         "type": "block",\r
546         "name": "block : atomic",\r
547         "xml": "<block atomic=\"true\">",\r
548         "atomic": "true",\r
549         "outputs": 1,\r
550         "x": 3426.820831298828,\r
551         "y": 337.0235900878906,\r
552         "z": "82de8dcf.518d88",\r
553         "wires": [\r
554             [\r
555                 "6f3506c3.cf97d8"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "6f3506c3.cf97d8",\r
561         "type": "switchNode",\r
562         "name": "switch allotted-resource.relationship-list not empty",\r
563         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship_length != 0`'>\n",\r
564         "comments": "",\r
565         "outputs": 1,\r
566         "x": 2992.883331298828,\r
567         "y": 471.8833312988281,\r
568         "z": "82de8dcf.518d88",\r
569         "wires": [\r
570             [\r
571                 "5a58fe79.709e",\r
572                 "5401f43b.ed03f4"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "5401f43b.ed03f4",\r
578         "type": "outcomeFalse",\r
579         "name": "false",\r
580         "xml": "<outcome value='false'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 3302.883331298828,\r
584         "y": 478.8833312988281,\r
585         "z": "82de8dcf.518d88",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "5a58fe79.709e",\r
592         "type": "outcomeTrue",\r
593         "name": "true",\r
594         "xml": "<outcome value='true'>\n",\r
595         "comments": "",\r
596         "outputs": 1,\r
597         "x": 3301.883331298828,\r
598         "y": 532.8833312988281,\r
599         "z": "82de8dcf.518d88",\r
600         "wires": [\r
601             [\r
602                 "126c6f21.417e99"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "24e00055.8ca808",\r
608         "type": "outcome",\r
609         "name": "network-policy",\r
610         "xml": "<outcome value='network-policy'>\n",\r
611         "comments": "",\r
612         "outputs": 1,\r
613         "x": 4046.883331298828,\r
614         "y": 486.8833312988281,\r
615         "z": "82de8dcf.518d88",\r
616         "wires": [\r
617             [\r
618                 "8c1020d2.e3fc88"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "8c1020d2.e3fc88",\r
624         "type": "block",\r
625         "name": "block : atomic",\r
626         "xml": "<block atomic=\"true\">",\r
627         "atomic": "true",\r
628         "outputs": 1,\r
629         "x": 4223.883209228516,\r
630         "y": 479.8832092285156,\r
631         "z": "82de8dcf.518d88",\r
632         "wires": [\r
633             [\r
634                 "709d8f82.9f2e1",\r
635                 "cef8768a.ac6e48"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "126c6f21.417e99",\r
641         "type": "block",\r
642         "name": "block : atomic",\r
643         "xml": "<block atomic=\"true\">",\r
644         "atomic": "true",\r
645         "outputs": 1,\r
646         "x": 3465.883331298828,\r
647         "y": 458.8833312988281,\r
648         "z": "82de8dcf.518d88",\r
649         "wires": [\r
650             [\r
651                 "f0253be2.ef6388",\r
652                 "d30875df.4619e8"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "f0253be2.ef6388",\r
658         "type": "for",\r
659         "name": "for each allotted-resource relationship",\r
660         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
661         "comments": "",\r
662         "outputs": 1,\r
663         "x": 3746.883331298828,\r
664         "y": 414.8833312988281,\r
665         "z": "82de8dcf.518d88",\r
666         "wires": [\r
667             [\r
668                 "6ce9e370.67b09c"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "6ce9e370.67b09c",\r
674         "type": "switchNode",\r
675         "name": "switch related-to",\r
676         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
677         "comments": "",\r
678         "outputs": 1,\r
679         "x": 4008.883331298828,\r
680         "y": 414.8833312988281,\r
681         "z": "82de8dcf.518d88",\r
682         "wires": [\r
683             [\r
684                 "24e00055.8ca808"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "709d8f82.9f2e1",\r
690         "type": "set",\r
691         "name": "set the 1st network-policy-id",\r
692         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
693         "comments": "",\r
694         "x": 4466.883209228516,\r
695         "y": 436.8832092285156,\r
696         "z": "82de8dcf.518d88",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "cef8768a.ac6e48",\r
701         "type": "save",\r
702         "name": "get network-policy from aai",\r
703         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
704         "comments": "",\r
705         "outputs": 1,\r
706         "x": 4455.883209228516,\r
707         "y": 491.8832092285156,\r
708         "z": "82de8dcf.518d88",\r
709         "wires": [\r
710             [\r
711                 "442d2e35.9513b",\r
712                 "6b7a340a.d73c24",\r
713                 "1cf09fd1.237e88"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "1cf09fd1.237e88",\r
719         "type": "not-found",\r
720         "name": "not-found",\r
721         "xml": "<outcome value='not-found'>\n",\r
722         "comments": "",\r
723         "outputs": 1,\r
724         "x": 4708.883331298828,\r
725         "y": 377.8833312988281,\r
726         "z": "82de8dcf.518d88",\r
727         "wires": [\r
728             [\r
729                 "830d3a39.a47178"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "830d3a39.a47178",\r
735         "type": "returnFailure",\r
736         "name": "return failure",\r
737         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
738         "comments": "",\r
739         "x": 4857.454864501953,\r
740         "y": 378.1690979003906,\r
741         "z": "82de8dcf.518d88",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "4e42818f.48a268",\r
746         "type": "returnFailure",\r
747         "name": "return failure",\r
748         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
749         "comments": "",\r
750         "x": 4856.392364501953,\r
751         "y": 422.3093566894531,\r
752         "z": "82de8dcf.518d88",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "6b7a340a.d73c24",\r
757         "type": "failure",\r
758         "name": "failure",\r
759         "xml": "<outcome value='failure'>\n",\r
760         "comments": "",\r
761         "outputs": 1,\r
762         "x": 4697.392364501953,\r
763         "y": 422.3093566894531,\r
764         "z": "82de8dcf.518d88",\r
765         "wires": [\r
766             [\r
767                 "4e42818f.48a268"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "442d2e35.9513b",\r
773         "type": "success",\r
774         "name": "success",\r
775         "xml": "<outcome value='success'>\n",\r
776         "comments": "",\r
777         "outputs": 1,\r
778         "x": 4704.392364501953,\r
779         "y": 501.3093566894531,\r
780         "z": "82de8dcf.518d88",\r
781         "wires": [\r
782             [\r
783                 "dd05e839.54d638"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "dd05e839.54d638",\r
789         "type": "block",\r
790         "name": "block",\r
791         "xml": "<block>\n",\r
792         "atomic": "false",\r
793         "comments": "",\r
794         "outputs": 1,\r
795         "x": 4843.392364501953,\r
796         "y": 501.3093566894531,\r
797         "z": "82de8dcf.518d88",\r
798         "wires": [\r
799             [\r
800                 "d5c9a2a0.f0c188",\r
801                 "585ee28c.970d44"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "d5c9a2a0.f0c188",\r
807         "type": "set",\r
808         "name": "set the max bandwidth",\r
809         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
810         "comments": "",\r
811         "x": 5048.883331298828,\r
812         "y": 498.8833312988281,\r
813         "z": "82de8dcf.518d88",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "585ee28c.970d44",\r
818         "type": "set",\r
819         "name": "set the max bandwidth",\r
820         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
821         "comments": "",\r
822         "x": 5047.883331298828,\r
823         "y": 544.8833312988281,\r
824         "z": "82de8dcf.518d88",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "d30875df.4619e8",\r
829         "type": "for",\r
830         "name": "for each allotted-resource relationship",\r
831         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
832         "comments": "",\r
833         "outputs": 1,\r
834         "x": 3563.883331298828,\r
835         "y": 530.8833312988281,\r
836         "z": "82de8dcf.518d88",\r
837         "wires": [\r
838             [\r
839                 "bcf8f8b2.ee17c"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "bcf8f8b2.ee17c",\r
845         "type": "switchNode",\r
846         "name": "switch related-to",\r
847         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
848         "comments": "",\r
849         "outputs": 1,\r
850         "x": 3843.883331298828,\r
851         "y": 530.8833312988281,\r
852         "z": "82de8dcf.518d88",\r
853         "wires": [\r
854             [\r
855                 "f92213c8.e6e61"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "f92213c8.e6e61",\r
861         "type": "outcome",\r
862         "name": "logical-link",\r
863         "xml": "<outcome value='logical-link'>\n",\r
864         "comments": "",\r
865         "outputs": 1,\r
866         "x": 2256.8834533691406,\r
867         "y": 783.8834533691406,\r
868         "z": "82de8dcf.518d88",\r
869         "wires": [\r
870             [\r
871                 "f147a584.43d0d8"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "f147a584.43d0d8",\r
877         "type": "block",\r
878         "name": "block : atomic",\r
879         "xml": "<block atomic=\"true\">",\r
880         "atomic": "true",\r
881         "outputs": 1,\r
882         "x": 2433.883331298828,\r
883         "y": 776.8833312988281,\r
884         "z": "82de8dcf.518d88",\r
885         "wires": [\r
886             [\r
887                 "5a35df58.3972",\r
888                 "2dab28b6.2641a"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "5a35df58.3972",\r
894         "type": "set",\r
895         "name": "set the current logical-link-name",\r
896         "xml": "<set>\n<parameter name='logical-link-name' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
897         "comments": "",\r
898         "x": 2676.883331298828,\r
899         "y": 733.8833312988281,\r
900         "z": "82de8dcf.518d88",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "2dab28b6.2641a",\r
905         "type": "save",\r
906         "name": "get logical-link from aai",\r
907         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"logical-link\"\n\tkey='logical-link.link-name = $logical-link-name'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.logical-link\">",\r
908         "comments": "",\r
909         "outputs": 1,\r
910         "x": 2665.883331298828,\r
911         "y": 788.8833312988281,\r
912         "z": "82de8dcf.518d88",\r
913         "wires": [\r
914             [\r
915                 "ffb30860.4224d",\r
916                 "abeb5cc2.3015b",\r
917                 "e13761ad.544c58"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "ffb30860.4224d",\r
923         "type": "not-found",\r
924         "name": "not-found",\r
925         "xml": "<outcome value='not-found'>\n",\r
926         "comments": "",\r
927         "outputs": 1,\r
928         "x": 2957.374298095703,\r
929         "y": 767.4573059082031,\r
930         "z": "82de8dcf.518d88",\r
931         "wires": [\r
932             [\r
933                 "bd849955.1204b"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "abeb5cc2.3015b",\r
939         "type": "failure",\r
940         "name": "failure",\r
941         "xml": "<outcome value='failure'>\n",\r
942         "comments": "",\r
943         "outputs": 1,\r
944         "x": 2945.883331298828,\r
945         "y": 811.8833312988281,\r
946         "z": "82de8dcf.518d88",\r
947         "wires": [\r
948             [\r
949                 "33701bc2.b5a40c"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "bd849955.1204b",\r
955         "type": "returnFailure",\r
956         "name": "return failure",\r
957         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
958         "comments": "",\r
959         "x": 3105.945831298828,\r
960         "y": 767.7430725097656,\r
961         "z": "82de8dcf.518d88",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "33701bc2.b5a40c",\r
966         "type": "returnFailure",\r
967         "name": "return failure",\r
968         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
969         "comments": "",\r
970         "x": 3104.883331298828,\r
971         "y": 811.8833312988281,\r
972         "z": "82de8dcf.518d88",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "e13761ad.544c58",\r
977         "type": "success",\r
978         "name": "success",\r
979         "xml": "<outcome value='success'>\n",\r
980         "comments": "",\r
981         "outputs": 1,\r
982         "x": 2952.883331298828,\r
983         "y": 890.8833312988281,\r
984         "z": "82de8dcf.518d88",\r
985         "wires": [\r
986             [\r
987                 "d2f3b92.5263348"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "d2f3b92.5263348",\r
993         "type": "block",\r
994         "name": "block",\r
995         "xml": "<block>\n",\r
996         "atomic": "false",\r
997         "comments": "",\r
998         "outputs": 1,\r
999         "x": 3091.883331298828,\r
1000         "y": 890.8833312988281,\r
1001         "z": "82de8dcf.518d88",\r
1002         "wires": [\r
1003             [\r
1004                 "ef467ac0.6f7c18",\r
1005                 "f9d1859a.061ab8",\r
1006                 "3e963f23.c2be88",\r
1007                 "f9ae4741.757498",\r
1008                 "2907fb26.565cec",\r
1009                 "26f3b8c8.1692a",\r
1010                 "94a806e9.b63df",\r
1011                 "a001cedc.58f128",\r
1012                 "221f1c18.663f6c",\r
1013                 "77955a17.d633ac",\r
1014                 "1e4146ab.95c211",\r
1015                 "c8da4017.620ba8",\r
1016                 "a4dfc5e6.4600f",\r
1017                 "ce0d81bd.d28a7",\r
1018                 "7f04acf4.5afc3c"\r
1019             ]\r
1020         ]\r
1021     },\r
1022     {\r
1023         "id": "4165b419.5fd914",\r
1024         "type": "execute",\r
1025         "name": "execute UUID generator for ethernet-service-name",\r
1026         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1027         "comments": "",\r
1028         "outputs": 1,\r
1029         "x": 3405.883331298828,\r
1030         "y": 696.8833312988281,\r
1031         "z": "82de8dcf.518d88",\r
1032         "wires": [\r
1033             []\r
1034         ]\r
1035     },\r
1036     {\r
1037         "id": "ef467ac0.6f7c18",\r
1038         "type": "execute",\r
1039         "name": "execute UUID generator for otn-tunnel-name",\r
1040         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1041         "comments": "",\r
1042         "outputs": 1,\r
1043         "x": 3386.883331298828,\r
1044         "y": 746.8833312988281,\r
1045         "z": "82de8dcf.518d88",\r
1046         "wires": [\r
1047             []\r
1048         ]\r
1049     },\r
1050     {\r
1051         "id": "c8da4017.620ba8",\r
1052         "type": "set",\r
1053         "name": "set new ethernet-service-name",\r
1054         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
1055         "comments": "",\r
1056         "x": 3343.883331298828,\r
1057         "y": 791.8833312988281,\r
1058         "z": "82de8dcf.518d88",\r
1059         "wires": []\r
1060     },\r
1061     {\r
1062         "id": "f9d1859a.061ab8",\r
1063         "type": "set",\r
1064         "name": "set network-route-one",\r
1065         "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1066         "comments": "",\r
1067         "x": 3318.883331298828,\r
1068         "y": 854.8833312988281,\r
1069         "z": "82de8dcf.518d88",\r
1070         "wires": []\r
1071     },\r
1072     {\r
1073         "id": "3e963f23.c2be88",\r
1074         "type": "set",\r
1075         "name": "set network-route-two",\r
1076         "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1077         "comments": "",\r
1078         "x": 3319.883331298828,\r
1079         "y": 909.8833312988281,\r
1080         "z": "82de8dcf.518d88",\r
1081         "wires": []\r
1082     },\r
1083     {\r
1084         "id": "f9ae4741.757498",\r
1085         "type": "save",\r
1086         "name": "get network-route-one from aai",\r
1087         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
1088         "comments": "",\r
1089         "outputs": 1,\r
1090         "x": 3335.883331298828,\r
1091         "y": 957.8833312988281,\r
1092         "z": "82de8dcf.518d88",\r
1093         "wires": [\r
1094             [\r
1095                 "d029c3a1.942f48",\r
1096                 "34db9b18.f85a0c",\r
1097                 "a8f47dda.1a0bb8"\r
1098             ]\r
1099         ]\r
1100     },\r
1101     {\r
1102         "id": "2907fb26.565cec",\r
1103         "type": "save",\r
1104         "name": "get network-route-two from aai",\r
1105         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
1106         "comments": "",\r
1107         "outputs": 1,\r
1108         "x": 3324.883331298828,\r
1109         "y": 1044.8832092285156,\r
1110         "z": "82de8dcf.518d88",\r
1111         "wires": [\r
1112             [\r
1113                 "ad570631.23385",\r
1114                 "75596bb2.8de11c",\r
1115                 "ae6194f6.92ada8"\r
1116             ]\r
1117         ]\r
1118     },\r
1119     {\r
1120         "id": "d029c3a1.942f48",\r
1121         "type": "not-found",\r
1122         "name": "not-found",\r
1123         "xml": "<outcome value='not-found'>\n",\r
1124         "comments": "",\r
1125         "outputs": 1,\r
1126         "x": 3536.883331298828,\r
1127         "y": 841.8833312988281,\r
1128         "z": "82de8dcf.518d88",\r
1129         "wires": [\r
1130             [\r
1131                 "9c52bc0.78abb48"\r
1132             ]\r
1133         ]\r
1134     },\r
1135     {\r
1136         "id": "34db9b18.f85a0c",\r
1137         "type": "failure",\r
1138         "name": "failure",\r
1139         "xml": "<outcome value='failure'>\n",\r
1140         "comments": "",\r
1141         "outputs": 1,\r
1142         "x": 3532.392364501953,\r
1143         "y": 891.3093566894531,\r
1144         "z": "82de8dcf.518d88",\r
1145         "wires": [\r
1146             [\r
1147                 "946c30bd.bd527"\r
1148             ]\r
1149         ]\r
1150     },\r
1151     {\r
1152         "id": "a8f47dda.1a0bb8",\r
1153         "type": "success",\r
1154         "name": "success",\r
1155         "xml": "<outcome value='success'>\n",\r
1156         "comments": "",\r
1157         "outputs": 1,\r
1158         "x": 3536.392364501953,\r
1159         "y": 944.3093566894531,\r
1160         "z": "82de8dcf.518d88",\r
1161         "wires": [\r
1162             [\r
1163                 "1dcb46a1.3c7d49"\r
1164             ]\r
1165         ]\r
1166     },\r
1167     {\r
1168         "id": "9c52bc0.78abb48",\r
1169         "type": "returnFailure",\r
1170         "name": "return failure",\r
1171         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1172         "comments": "",\r
1173         "x": 3685.454864501953,\r
1174         "y": 841.1690979003906,\r
1175         "z": "82de8dcf.518d88",\r
1176         "wires": []\r
1177     },\r
1178     {\r
1179         "id": "946c30bd.bd527",\r
1180         "type": "returnFailure",\r
1181         "name": "return failure",\r
1182         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1183         "comments": "",\r
1184         "x": 3675.392364501953,\r
1185         "y": 891.3093566894531,\r
1186         "z": "82de8dcf.518d88",\r
1187         "wires": []\r
1188     },\r
1189     {\r
1190         "id": "ad570631.23385",\r
1191         "type": "not-found",\r
1192         "name": "not-found",\r
1193         "xml": "<outcome value='not-found'>\n",\r
1194         "comments": "",\r
1195         "outputs": 1,\r
1196         "x": 3547.883331298828,\r
1197         "y": 1014.8832092285156,\r
1198         "z": "82de8dcf.518d88",\r
1199         "wires": [\r
1200             [\r
1201                 "5f295173.cbbf5"\r
1202             ]\r
1203         ]\r
1204     },\r
1205     {\r
1206         "id": "75596bb2.8de11c",\r
1207         "type": "failure",\r
1208         "name": "failure",\r
1209         "xml": "<outcome value='failure'>\n",\r
1210         "comments": "",\r
1211         "outputs": 1,\r
1212         "x": 3543.392364501953,\r
1213         "y": 1064.3092346191406,\r
1214         "z": "82de8dcf.518d88",\r
1215         "wires": [\r
1216             [\r
1217                 "355d767e.1de55a"\r
1218             ]\r
1219         ]\r
1220     },\r
1221     {\r
1222         "id": "ae6194f6.92ada8",\r
1223         "type": "success",\r
1224         "name": "success",\r
1225         "xml": "<outcome value='success'>\n",\r
1226         "comments": "",\r
1227         "outputs": 1,\r
1228         "x": 3544.392364501953,\r
1229         "y": 1117.3092346191406,\r
1230         "z": "82de8dcf.518d88",\r
1231         "wires": [\r
1232             [\r
1233                 "a436621f.a466c"\r
1234             ]\r
1235         ]\r
1236     },\r
1237     {\r
1238         "id": "5f295173.cbbf5",\r
1239         "type": "returnFailure",\r
1240         "name": "return failure",\r
1241         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1242         "comments": "",\r
1243         "x": 3696.454864501953,\r
1244         "y": 1014.1689758300781,\r
1245         "z": "82de8dcf.518d88",\r
1246         "wires": []\r
1247     },\r
1248     {\r
1249         "id": "355d767e.1de55a",\r
1250         "type": "returnFailure",\r
1251         "name": "return failure",\r
1252         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1253         "comments": "",\r
1254         "x": 3686.392364501953,\r
1255         "y": 1064.3092346191406,\r
1256         "z": "82de8dcf.518d88",\r
1257         "wires": []\r
1258     },\r
1259     {\r
1260         "id": "1dcb46a1.3c7d49",\r
1261         "type": "block",\r
1262         "name": "block : atomic",\r
1263         "xml": "<block atomic=\"true\">",\r
1264         "atomic": "true",\r
1265         "outputs": 1,\r
1266         "x": 3697.883331298828,\r
1267         "y": 943.8833312988281,\r
1268         "z": "82de8dcf.518d88",\r
1269         "wires": [\r
1270             [\r
1271                 "f5b5d495.086d"\r
1272             ]\r
1273         ]\r
1274     },\r
1275     {\r
1276         "id": "a436621f.a466c",\r
1277         "type": "block",\r
1278         "name": "block : atomic",\r
1279         "xml": "<block atomic=\"true\">",\r
1280         "atomic": "true",\r
1281         "outputs": 1,\r
1282         "x": 3697.883331298828,\r
1283         "y": 1116.8832092285156,\r
1284         "z": "82de8dcf.518d88",\r
1285         "wires": [\r
1286             [\r
1287                 "43e5bf6b.ff29a8"\r
1288             ]\r
1289         ]\r
1290     },\r
1291     {\r
1292         "id": "f5b5d495.086d",\r
1293         "type": "switchNode",\r
1294         "name": "switch nr type",\r
1295         "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1296         "comments": "",\r
1297         "outputs": 1,\r
1298         "x": 3869.883331298828,\r
1299         "y": 943.8833312988281,\r
1300         "z": "82de8dcf.518d88",\r
1301         "wires": [\r
1302             [\r
1303                 "55f80e1b.2635f",\r
1304                 "43049869.5a7d88"\r
1305             ]\r
1306         ]\r
1307     },\r
1308     {\r
1309         "id": "43e5bf6b.ff29a8",\r
1310         "type": "switchNode",\r
1311         "name": "switch nr type",\r
1312         "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1313         "comments": "",\r
1314         "outputs": 1,\r
1315         "x": 3870.883331298828,\r
1316         "y": 1116.8833312988281,\r
1317         "z": "82de8dcf.518d88",\r
1318         "wires": [\r
1319             [\r
1320                 "f9772113.de9e58",\r
1321                 "79517b7a.195d94"\r
1322             ]\r
1323         ]\r
1324     },\r
1325     {\r
1326         "id": "55f80e1b.2635f",\r
1327         "type": "outcome",\r
1328         "name": "ROOT",\r
1329         "xml": "<outcome value='ROOT'>\n",\r
1330         "comments": "",\r
1331         "outputs": 1,\r
1332         "x": 4045.883331298828,\r
1333         "y": 922.8833312988281,\r
1334         "z": "82de8dcf.518d88",\r
1335         "wires": [\r
1336             [\r
1337                 "d9c9bf69.d54ef8"\r
1338             ]\r
1339         ]\r
1340     },\r
1341     {\r
1342         "id": "43049869.5a7d88",\r
1343         "type": "outcome",\r
1344         "name": "LEAF",\r
1345         "xml": "<outcome value='LEAF'>\n",\r
1346         "comments": "",\r
1347         "outputs": 1,\r
1348         "x": 4047.883331298828,\r
1349         "y": 976.8833312988281,\r
1350         "z": "82de8dcf.518d88",\r
1351         "wires": [\r
1352             [\r
1353                 "5ac63627.c33ff"\r
1354             ]\r
1355         ]\r
1356     },\r
1357     {\r
1358         "id": "f9772113.de9e58",\r
1359         "type": "outcome",\r
1360         "name": "ROOT",\r
1361         "xml": "<outcome value='ROOT'>\n",\r
1362         "comments": "",\r
1363         "outputs": 1,\r
1364         "x": 4046.883331298828,\r
1365         "y": 1086.8833312988281,\r
1366         "z": "82de8dcf.518d88",\r
1367         "wires": [\r
1368             [\r
1369                 "35523eeb.15287a"\r
1370             ]\r
1371         ]\r
1372     },\r
1373     {\r
1374         "id": "79517b7a.195d94",\r
1375         "type": "outcome",\r
1376         "name": "LEAF",\r
1377         "xml": "<outcome value='LEAF'>\n",\r
1378         "comments": "",\r
1379         "outputs": 1,\r
1380         "x": 4048.883331298828,\r
1381         "y": 1140.8833312988281,\r
1382         "z": "82de8dcf.518d88",\r
1383         "wires": [\r
1384             [\r
1385                 "377b88b8.aaeb48"\r
1386             ]\r
1387         ]\r
1388     },\r
1389     {\r
1390         "id": "eba0d9fe.14aff8",\r
1391         "type": "set",\r
1392         "name": "set network-route-ROOT",\r
1393         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1394         "comments": "",\r
1395         "x": 4355.883331298828,\r
1396         "y": 874.8833312988281,\r
1397         "z": "82de8dcf.518d88",\r
1398         "wires": []\r
1399     },\r
1400     {\r
1401         "id": "b156164c.4afee",\r
1402         "type": "set",\r
1403         "name": "set network-route-LEAF",\r
1404         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1405         "comments": "",\r
1406         "x": 4348.883331298828,\r
1407         "y": 972.8833312988281,\r
1408         "z": "82de8dcf.518d88",\r
1409         "wires": []\r
1410     },\r
1411     {\r
1412         "id": "c46834b2.126828",\r
1413         "type": "set",\r
1414         "name": "set network-route-ROOT",\r
1415         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1416         "comments": "",\r
1417         "x": 4348.883331298828,\r
1418         "y": 1059.8833312988281,\r
1419         "z": "82de8dcf.518d88",\r
1420         "wires": []\r
1421     },\r
1422     {\r
1423         "id": "67f1e499.325a54",\r
1424         "type": "set",\r
1425         "name": "set network-route-LEAF",\r
1426         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1427         "comments": "",\r
1428         "x": 4352.883331298828,\r
1429         "y": 1152.8833312988281,\r
1430         "z": "82de8dcf.518d88",\r
1431         "wires": []\r
1432     },\r
1433     {\r
1434         "id": "fa18abdb.1f3b58",\r
1435         "type": "success",\r
1436         "name": "success",\r
1437         "xml": "<outcome value='success'>\n",\r
1438         "comments": "",\r
1439         "outputs": 1,\r
1440         "x": 3579.883331298828,\r
1441         "y": 1561.8833312988281,\r
1442         "z": "82de8dcf.518d88",\r
1443         "wires": [\r
1444             [\r
1445                 "acfe7f1b.815bb8"\r
1446             ]\r
1447         ]\r
1448     },\r
1449     {\r
1450         "id": "504369a4.383c58",\r
1451         "type": "not-found",\r
1452         "name": "not-found",\r
1453         "xml": "<outcome value='not-found'>\n",\r
1454         "comments": "",\r
1455         "outputs": 1,\r
1456         "x": 3589.374298095703,\r
1457         "y": 1604.4573669433594,\r
1458         "z": "82de8dcf.518d88",\r
1459         "wires": [\r
1460             [\r
1461                 "2cc2d2a0.0189de"\r
1462             ]\r
1463         ]\r
1464     },\r
1465     {\r
1466         "id": "48dc6834.fa2a",\r
1467         "type": "failure",\r
1468         "name": "failure",\r
1469         "xml": "<outcome value='failure'>\n",\r
1470         "comments": "",\r
1471         "outputs": 1,\r
1472         "x": 3577.883331298828,\r
1473         "y": 1650.8833312988281,\r
1474         "z": "82de8dcf.518d88",\r
1475         "wires": [\r
1476             [\r
1477                 "5165f4d1.561cf4"\r
1478             ]\r
1479         ]\r
1480     },\r
1481     {\r
1482         "id": "a5821370.c906a8",\r
1483         "type": "comment",\r
1484         "name": "Question?",\r
1485         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1486         "comments": "",\r
1487         "x": 3279.883331298828,\r
1488         "y": 1523.8833312988281,\r
1489         "z": "82de8dcf.518d88",\r
1490         "wires": []\r
1491     },\r
1492     {\r
1493         "id": "94a806e9.b63df",\r
1494         "type": "save",\r
1495         "name": "get p-interface-src from aai",\r
1496         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1497         "comments": "",\r
1498         "outputs": 1,\r
1499         "x": 3322.883331298828,\r
1500         "y": 1588.8833312988281,\r
1501         "z": "82de8dcf.518d88",\r
1502         "wires": [\r
1503             [\r
1504                 "fa18abdb.1f3b58",\r
1505                 "504369a4.383c58",\r
1506                 "48dc6834.fa2a"\r
1507             ]\r
1508         ]\r
1509     },\r
1510     {\r
1511         "id": "26f3b8c8.1692a",\r
1512         "type": "execute",\r
1513         "name": "execute split tp-id to get pnf-name",\r
1514         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
1515         "comments": "",\r
1516         "outputs": 1,\r
1517         "x": 3323.883331298828,\r
1518         "y": 1258.8833312988281,\r
1519         "z": "82de8dcf.518d88",\r
1520         "wires": [\r
1521             [\r
1522                 "e1766e3b.d98f7",\r
1523                 "2b2fec17.7ad784"\r
1524             ]\r
1525         ]\r
1526     },\r
1527     {\r
1528         "id": "2b2fec17.7ad784",\r
1529         "type": "failure",\r
1530         "name": "success",\r
1531         "xml": "<outcome value='success'>\n",\r
1532         "comments": "",\r
1533         "outputs": 1,\r
1534         "x": 3546.883331298828,\r
1535         "y": 1244.8833312988281,\r
1536         "z": "82de8dcf.518d88",\r
1537         "wires": [\r
1538             [\r
1539                 "9fa24ca4.2bf57"\r
1540             ]\r
1541         ]\r
1542     },\r
1543     {\r
1544         "id": "e1766e3b.d98f7",\r
1545         "type": "failure",\r
1546         "name": "failure",\r
1547         "xml": "<outcome value='failure'>\n",\r
1548         "comments": "",\r
1549         "outputs": 1,\r
1550         "x": 3548.883331298828,\r
1551         "y": 1277.8833312988281,\r
1552         "z": "82de8dcf.518d88",\r
1553         "wires": [\r
1554             [\r
1555                 "43f11543.33be3c"\r
1556             ]\r
1557         ]\r
1558     },\r
1559     {\r
1560         "id": "acfe7f1b.815bb8",\r
1561         "type": "block",\r
1562         "name": "block : atomic",\r
1563         "xml": "<block atomic=\"true\">",\r
1564         "atomic": "true",\r
1565         "outputs": 1,\r
1566         "x": 3752.549835205078,\r
1567         "y": 1560.8833312988281,\r
1568         "z": "82de8dcf.518d88",\r
1569         "wires": [\r
1570             [\r
1571                 "72fd24ba.a9210c",\r
1572                 "abb77544.4a8348"\r
1573             ]\r
1574         ]\r
1575     },\r
1576     {\r
1577         "id": "2cc2d2a0.0189de",\r
1578         "type": "returnFailure",\r
1579         "name": "return failure",\r
1580         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1581         "comments": "",\r
1582         "x": 3742.9457092285156,\r
1583         "y": 1607.7431030273438,\r
1584         "z": "82de8dcf.518d88",\r
1585         "wires": []\r
1586     },\r
1587     {\r
1588         "id": "5165f4d1.561cf4",\r
1589         "type": "returnFailure",\r
1590         "name": "return failure",\r
1591         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1592         "comments": "",\r
1593         "x": 3746.883331298828,\r
1594         "y": 1651.8833312988281,\r
1595         "z": "82de8dcf.518d88",\r
1596         "wires": []\r
1597     },\r
1598     {\r
1599         "id": "72fd24ba.a9210c",\r
1600         "type": "execute",\r
1601         "name": "execute split tp-id to get pnf-name",\r
1602         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
1603         "comments": "",\r
1604         "outputs": 1,\r
1605         "x": 4016.883331298828,\r
1606         "y": 1544.8833312988281,\r
1607         "z": "82de8dcf.518d88",\r
1608         "wires": [\r
1609             [\r
1610                 "e6b87836.bef2f8",\r
1611                 "b8a921ef.444378"\r
1612             ]\r
1613         ]\r
1614     },\r
1615     {\r
1616         "id": "b8a921ef.444378",\r
1617         "type": "failure",\r
1618         "name": "success",\r
1619         "xml": "<outcome value='success'>\n",\r
1620         "comments": "",\r
1621         "outputs": 1,\r
1622         "x": 4239.883331298828,\r
1623         "y": 1499.8833312988281,\r
1624         "z": "82de8dcf.518d88",\r
1625         "wires": [\r
1626             [\r
1627                 "54ec9e81.9a2fc"\r
1628             ]\r
1629         ]\r
1630     },\r
1631     {\r
1632         "id": "e6b87836.bef2f8",\r
1633         "type": "failure",\r
1634         "name": "failure",\r
1635         "xml": "<outcome value='failure'>\n",\r
1636         "comments": "",\r
1637         "outputs": 1,\r
1638         "x": 4241.883331298828,\r
1639         "y": 1563.8833312988281,\r
1640         "z": "82de8dcf.518d88",\r
1641         "wires": [\r
1642             [\r
1643                 "27ce4c05.8bf1dc"\r
1644             ]\r
1645         ]\r
1646     },\r
1647     {\r
1648         "id": "27ce4c05.8bf1dc",\r
1649         "type": "returnFailure",\r
1650         "name": "return failure",\r
1651         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1652         "comments": "",\r
1653         "x": 4403.883331298828,\r
1654         "y": 1559.8833312988281,\r
1655         "z": "82de8dcf.518d88",\r
1656         "wires": []\r
1657     },\r
1658     {\r
1659         "id": "54ec9e81.9a2fc",\r
1660         "type": "block",\r
1661         "name": "block : atomic",\r
1662         "xml": "<block atomic=\"true\">",\r
1663         "atomic": "true",\r
1664         "outputs": 1,\r
1665         "x": 4404.883331298828,\r
1666         "y": 1496.8833312988281,\r
1667         "z": "82de8dcf.518d88",\r
1668         "wires": [\r
1669             [\r
1670                 "f6774ff2.abd22",\r
1671                 "bb24ac55.01a618"\r
1672             ]\r
1673         ]\r
1674     },\r
1675     {\r
1676         "id": "2e1ea98e.240716",\r
1677         "type": "save",\r
1678         "name": "save connectivity resource in AAI",\r
1679         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1680         "comments": "",\r
1681         "outputs": 1,\r
1682         "x": 4018.883331298828,\r
1683         "y": 1703.8833312988281,\r
1684         "z": "82de8dcf.518d88",\r
1685         "wires": [\r
1686             []\r
1687         ]\r
1688     },\r
1689     {\r
1690         "id": "19e24364.492f0d",\r
1691         "type": "execute",\r
1692         "name": "execute UUID generator for connectivity domainA",\r
1693         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
1694         "comments": "",\r
1695         "outputs": 1,\r
1696         "x": 4063.883331298828,\r
1697         "y": 1613.8833312988281,\r
1698         "z": "82de8dcf.518d88",\r
1699         "wires": [\r
1700             []\r
1701         ]\r
1702     },\r
1703     {\r
1704         "id": "aefdb41a.15ed9",\r
1705         "type": "save",\r
1706         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1707         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
1708         "comments": "",\r
1709         "outputs": 1,\r
1710         "x": 4146.883331298828,\r
1711         "y": 1751.8833312988281,\r
1712         "z": "82de8dcf.518d88",\r
1713         "wires": [\r
1714             []\r
1715         ]\r
1716     },\r
1717     {\r
1718         "id": "43f11543.33be3c",\r
1719         "type": "returnFailure",\r
1720         "name": "return failure",\r
1721         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1722         "comments": "",\r
1723         "x": 3691.883331298828,\r
1724         "y": 1274.8833312988281,\r
1725         "z": "82de8dcf.518d88",\r
1726         "wires": []\r
1727     },\r
1728     {\r
1729         "id": "9fa24ca4.2bf57",\r
1730         "type": "block",\r
1731         "name": "block : atomic",\r
1732         "xml": "<block atomic=\"true\">",\r
1733         "atomic": "true",\r
1734         "outputs": 1,\r
1735         "x": 3694.883331298828,\r
1736         "y": 1237.8833312988281,\r
1737         "z": "82de8dcf.518d88",\r
1738         "wires": [\r
1739             [\r
1740                 "fc422c00.a0a738",\r
1741                 "4c9af5cc.7cdc6c"\r
1742             ]\r
1743         ]\r
1744     },\r
1745     {\r
1746         "id": "fc422c00.a0a738",\r
1747         "type": "set",\r
1748         "name": "set pnf-name",\r
1749         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
1750         "comments": "",\r
1751         "x": 3868.883331298828,\r
1752         "y": 1193.8833312988281,\r
1753         "z": "82de8dcf.518d88",\r
1754         "wires": []\r
1755     },\r
1756     {\r
1757         "id": "abb77544.4a8348",\r
1758         "type": "for",\r
1759         "name": "for each relationship",\r
1760         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1761         "comments": "",\r
1762         "outputs": 1,\r
1763         "x": 3970.883331298828,\r
1764         "y": 1828.8833312988281,\r
1765         "z": "82de8dcf.518d88",\r
1766         "wires": [\r
1767             [\r
1768                 "af71b606.ad1ca8"\r
1769             ]\r
1770         ]\r
1771     },\r
1772     {\r
1773         "id": "af71b606.ad1ca8",\r
1774         "type": "switchNode",\r
1775         "name": "switch related-to",\r
1776         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1777         "comments": "",\r
1778         "outputs": 1,\r
1779         "x": 4176.883331298828,\r
1780         "y": 1828.8833312988281,\r
1781         "z": "82de8dcf.518d88",\r
1782         "wires": [\r
1783             [\r
1784                 "1586191.cb5c467"\r
1785             ]\r
1786         ]\r
1787     },\r
1788     {\r
1789         "id": "1586191.cb5c467",\r
1790         "type": "outcome",\r
1791         "name": "tunnel-termination-point",\r
1792         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1793         "comments": "",\r
1794         "outputs": 1,\r
1795         "x": 4392.168975830078,\r
1796         "y": 1828.7051086425781,\r
1797         "z": "82de8dcf.518d88",\r
1798         "wires": [\r
1799             [\r
1800                 "2efd1433.a69a04"\r
1801             ]\r
1802         ]\r
1803     },\r
1804     {\r
1805         "id": "4c9af5cc.7cdc6c",\r
1806         "type": "get-resource",\r
1807         "name": "get-resource src pnf",\r
1808         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
1809         "comments": "",\r
1810         "outputs": 1,\r
1811         "x": 3883.883331298828,\r
1812         "y": 1304.8833312988281,\r
1813         "z": "82de8dcf.518d88",\r
1814         "wires": [\r
1815             [\r
1816                 "f48c8915.33d9e8",\r
1817                 "cce55dcf.842618",\r
1818                 "5e74a015.2ca67"\r
1819             ]\r
1820         ]\r
1821     },\r
1822     {\r
1823         "id": "f48c8915.33d9e8",\r
1824         "type": "success",\r
1825         "name": "success",\r
1826         "xml": "<outcome value='success'>\n",\r
1827         "comments": "",\r
1828         "outputs": 1,\r
1829         "x": 4079.3834533691406,\r
1830         "y": 1256.8833312988281,\r
1831         "z": "82de8dcf.518d88",\r
1832         "wires": [\r
1833             [\r
1834                 "5a7d862f.3b4ad8"\r
1835             ]\r
1836         ]\r
1837     },\r
1838     {\r
1839         "id": "cce55dcf.842618",\r
1840         "type": "not-found",\r
1841         "name": "not-found",\r
1842         "xml": "<outcome value='not-found'>\n",\r
1843         "comments": "",\r
1844         "outputs": 1,\r
1845         "x": 4071.3834533691406,\r
1846         "y": 1311.8833312988281,\r
1847         "z": "82de8dcf.518d88",\r
1848         "wires": [\r
1849             [\r
1850                 "9061c72.32ffe38"\r
1851             ]\r
1852         ]\r
1853     },\r
1854     {\r
1855         "id": "5e74a015.2ca67",\r
1856         "type": "other",\r
1857         "name": "other",\r
1858         "xml": "<outcome value='Other'>\n",\r
1859         "comments": "",\r
1860         "outputs": 1,\r
1861         "x": 4076.3834533691406,\r
1862         "y": 1368.8833312988281,\r
1863         "z": "82de8dcf.518d88",\r
1864         "wires": [\r
1865             [\r
1866                 "6b55247c.21dab4"\r
1867             ]\r
1868         ]\r
1869     },\r
1870     {\r
1871         "id": "6b55247c.21dab4",\r
1872         "type": "returnFailure",\r
1873         "name": "return failure",\r
1874         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1875         "comments": "",\r
1876         "x": 4228.383453369141,\r
1877         "y": 1369.8833312988281,\r
1878         "z": "82de8dcf.518d88",\r
1879         "wires": []\r
1880     },\r
1881     {\r
1882         "id": "9061c72.32ffe38",\r
1883         "type": "returnFailure",\r
1884         "name": "return failure",\r
1885         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1886         "comments": "",\r
1887         "x": 4239.383453369141,\r
1888         "y": 1314.8833312988281,\r
1889         "z": "82de8dcf.518d88",\r
1890         "wires": []\r
1891     },\r
1892     {\r
1893         "id": "5a7d862f.3b4ad8",\r
1894         "type": "block",\r
1895         "name": "block",\r
1896         "xml": "<block>\n",\r
1897         "atomic": "false",\r
1898         "comments": "",\r
1899         "outputs": 1,\r
1900         "x": 4223.765777587891,\r
1901         "y": 1254.5390014648438,\r
1902         "z": "82de8dcf.518d88",\r
1903         "wires": [\r
1904             [\r
1905                 "d89a976.d88e5e8"\r
1906             ]\r
1907         ]\r
1908     },\r
1909     {\r
1910         "id": "d89a976.d88e5e8",\r
1911         "type": "for",\r
1912         "name": "for each relationship",\r
1913         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1914         "comments": "",\r
1915         "outputs": 1,\r
1916         "x": 4407.883331298828,\r
1917         "y": 1268.8833312988281,\r
1918         "z": "82de8dcf.518d88",\r
1919         "wires": [\r
1920             [\r
1921                 "155fb221.0dbf8e"\r
1922             ]\r
1923         ]\r
1924     },\r
1925     {\r
1926         "id": "bb24ac55.01a618",\r
1927         "type": "set",\r
1928         "name": "set ltpId",\r
1929         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1930         "comments": "",\r
1931         "x": 4574.883331298828,\r
1932         "y": 1454.8833312988281,\r
1933         "z": "82de8dcf.518d88",\r
1934         "wires": []\r
1935     },\r
1936     {\r
1937         "id": "f6774ff2.abd22",\r
1938         "type": "set",\r
1939         "name": "set pnf-name",\r
1940         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1941         "comments": "",\r
1942         "x": 4575.883331298828,\r
1943         "y": 1562.8833312988281,\r
1944         "z": "82de8dcf.518d88",\r
1945         "wires": []\r
1946     },\r
1947     {\r
1948         "id": "1f2d63dd.89956c",\r
1949         "type": "comment",\r
1950         "name": "TODO: FIXME",\r
1951         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
1952         "comments": "",\r
1953         "x": 4576.883331298828,\r
1954         "y": 1511.8833312988281,\r
1955         "z": "82de8dcf.518d88",\r
1956         "wires": []\r
1957     },\r
1958     {\r
1959         "id": "2efd1433.a69a04",\r
1960         "type": "block",\r
1961         "name": "block : atomic",\r
1962         "xml": "<block atomic=\"true\">",\r
1963         "atomic": "true",\r
1964         "outputs": 1,\r
1965         "x": 4599.000518798828,\r
1966         "y": 1829.2236633300781,\r
1967         "z": "82de8dcf.518d88",\r
1968         "wires": [\r
1969             [\r
1970                 "9738e3.11ec3f2",\r
1971                 "b90b51f7.bc063",\r
1972                 "e565f202.9406"\r
1973             ]\r
1974         ]\r
1975     },\r
1976     {\r
1977         "id": "9738e3.11ec3f2",\r
1978         "type": "set",\r
1979         "name": "set source ttp-id",\r
1980         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
1981         "comments": "",\r
1982         "x": 4814.000518798828,\r
1983         "y": 1791.2236633300781,\r
1984         "z": "82de8dcf.518d88",\r
1985         "wires": []\r
1986     },\r
1987     {\r
1988         "id": "b90b51f7.bc063",\r
1989         "type": "get-resource",\r
1990         "name": "get-resource src TTP",\r
1991         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
1992         "comments": "",\r
1993         "outputs": 1,\r
1994         "x": 4811.000518798828,\r
1995         "y": 1830.2236633300781,\r
1996         "z": "82de8dcf.518d88",\r
1997         "wires": [\r
1998             [\r
1999                 "2d0e3a15.1426a6"\r
2000             ]\r
2001         ]\r
2002     },\r
2003     {\r
2004         "id": "e565f202.9406",\r
2005         "type": "break",\r
2006         "name": "break",\r
2007         "xml": "<break>\n",\r
2008         "comments": "",\r
2009         "x": 4766.500518798828,\r
2010         "y": 1872.2236633300781,\r
2011         "z": "82de8dcf.518d88",\r
2012         "wires": []\r
2013     },\r
2014     {\r
2015         "id": "2d0e3a15.1426a6",\r
2016         "type": "success",\r
2017         "name": "success",\r
2018         "xml": "<outcome value='success'>\n",\r
2019         "comments": "",\r
2020         "outputs": 1,\r
2021         "x": 4991.500518798828,\r
2022         "y": 1829.2236633300781,\r
2023         "z": "82de8dcf.518d88",\r
2024         "wires": [\r
2025             [\r
2026                 "a863747c.f65e78"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "60c94053.2751c",\r
2032         "type": "outcome",\r
2033         "name": "esr-thirdparty-sdnc",\r
2034         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2035         "comments": "",\r
2036         "outputs": 1,\r
2037         "x": 4805.883331298828,\r
2038         "y": 1272.8833312988281,\r
2039         "z": "82de8dcf.518d88",\r
2040         "wires": [\r
2041             [\r
2042                 "de3b61b0.e43d2"\r
2043             ]\r
2044         ]\r
2045     },\r
2046     {\r
2047         "id": "de3b61b0.e43d2",\r
2048         "type": "block",\r
2049         "name": "block : atomic",\r
2050         "xml": "<block atomic=\"true\">",\r
2051         "atomic": "true",\r
2052         "outputs": 1,\r
2053         "x": 4982.883331298828,\r
2054         "y": 1264.8833312988281,\r
2055         "z": "82de8dcf.518d88",\r
2056         "wires": [\r
2057             [\r
2058                 "b2f44bdb.9dc5e8",\r
2059                 "1f8e5eff.5b4f51"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "155fb221.0dbf8e",\r
2065         "type": "switchNode",\r
2066         "name": "switch related-to",\r
2067         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2068         "comments": "",\r
2069         "outputs": 1,\r
2070         "x": 4602.883331298828,\r
2071         "y": 1268.8833312988281,\r
2072         "z": "82de8dcf.518d88",\r
2073         "wires": [\r
2074             [\r
2075                 "60c94053.2751c",\r
2076                 "ecc099ad.aafee8"\r
2077             ]\r
2078         ]\r
2079     },\r
2080     {\r
2081         "id": "ecc099ad.aafee8",\r
2082         "type": "outcome",\r
2083         "name": "network-resource",\r
2084         "xml": "<outcome value='network-resource'>",\r
2085         "comments": "",\r
2086         "outputs": 1,\r
2087         "x": 4808.883331298828,\r
2088         "y": 1346.8833312988281,\r
2089         "z": "82de8dcf.518d88",\r
2090         "wires": [\r
2091             [\r
2092                 "e5e04393.9d571"\r
2093             ]\r
2094         ]\r
2095     },\r
2096     {\r
2097         "id": "e5e04393.9d571",\r
2098         "type": "block",\r
2099         "name": "block : atomic",\r
2100         "xml": "<block atomic=\"true\">",\r
2101         "atomic": "true",\r
2102         "outputs": 1,\r
2103         "x": 4985.883331298828,\r
2104         "y": 1338.8833312988281,\r
2105         "z": "82de8dcf.518d88",\r
2106         "wires": [\r
2107             [\r
2108                 "39969cdd.a78634"\r
2109             ]\r
2110         ]\r
2111     },\r
2112     {\r
2113         "id": "a863747c.f65e78",\r
2114         "type": "block",\r
2115         "name": "block : atomic",\r
2116         "xml": "<block atomic=\"true\">",\r
2117         "atomic": "true",\r
2118         "outputs": 1,\r
2119         "x": 5149.500518798828,\r
2120         "y": 1829.2236633300781,\r
2121         "z": "82de8dcf.518d88",\r
2122         "wires": [\r
2123             [\r
2124                 "9ec1944.f167b68"\r
2125             ]\r
2126         ]\r
2127     },\r
2128     {\r
2129         "id": "9ec1944.f167b68",\r
2130         "type": "set",\r
2131         "name": "set source tunnel tp ip",\r
2132         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2133         "comments": "",\r
2134         "x": 5356.500518798828,\r
2135         "y": 1829.2236633300781,\r
2136         "z": "82de8dcf.518d88",\r
2137         "wires": []\r
2138     },\r
2139     {\r
2140         "id": "1f8e5eff.5b4f51",\r
2141         "type": "execute",\r
2142         "name": "get esr-thirdparty-sdnc",\r
2143         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
2144         "comments": "",\r
2145         "outputs": 1,\r
2146         "x": 5190.883331298828,\r
2147         "y": 1271.8833312988281,\r
2148         "z": "82de8dcf.518d88",\r
2149         "wires": [\r
2150             [\r
2151                 "1422dd1f.ed1903",\r
2152                 "306288e7.8d0b68",\r
2153                 "adc4d006.c9a618"\r
2154             ]\r
2155         ]\r
2156     },\r
2157     {\r
2158         "id": "b2f44bdb.9dc5e8",\r
2159         "type": "set",\r
2160         "name": "set esr-thirdparty-sdnc domainA id",\r
2161         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2162         "comments": "",\r
2163         "x": 5220.883331298828,\r
2164         "y": 1219.8833312988281,\r
2165         "z": "82de8dcf.518d88",\r
2166         "wires": []\r
2167     },\r
2168     {\r
2169         "id": "1422dd1f.ed1903",\r
2170         "type": "success",\r
2171         "name": "success",\r
2172         "xml": "<outcome value='success'>\n",\r
2173         "comments": "",\r
2174         "outputs": 1,\r
2175         "x": 5400.883331298828,\r
2176         "y": 1262.8833312988281,\r
2177         "z": "82de8dcf.518d88",\r
2178         "wires": [\r
2179             [\r
2180                 "9be58098.9885c8"\r
2181             ]\r
2182         ]\r
2183     },\r
2184     {\r
2185         "id": "306288e7.8d0b68",\r
2186         "type": "not-found",\r
2187         "name": "not-found",\r
2188         "xml": "<outcome value='not-found'>\n",\r
2189         "comments": "",\r
2190         "outputs": 1,\r
2191         "x": 5392.883331298828,\r
2192         "y": 1317.8833312988281,\r
2193         "z": "82de8dcf.518d88",\r
2194         "wires": [\r
2195             [\r
2196                 "ddbc66fb.291808"\r
2197             ]\r
2198         ]\r
2199     },\r
2200     {\r
2201         "id": "adc4d006.c9a618",\r
2202         "type": "other",\r
2203         "name": "other",\r
2204         "xml": "<outcome value='Other'>\n",\r
2205         "comments": "",\r
2206         "outputs": 1,\r
2207         "x": 5397.883331298828,\r
2208         "y": 1374.8833312988281,\r
2209         "z": "82de8dcf.518d88",\r
2210         "wires": [\r
2211             [\r
2212                 "f026a629.a20b28"\r
2213             ]\r
2214         ]\r
2215     },\r
2216     {\r
2217         "id": "f026a629.a20b28",\r
2218         "type": "returnFailure",\r
2219         "name": "return failure",\r
2220         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2221         "comments": "",\r
2222         "x": 5549.883331298828,\r
2223         "y": 1375.8833312988281,\r
2224         "z": "82de8dcf.518d88",\r
2225         "wires": []\r
2226     },\r
2227     {\r
2228         "id": "ddbc66fb.291808",\r
2229         "type": "returnFailure",\r
2230         "name": "return failure",\r
2231         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2232         "comments": "",\r
2233         "x": 5560.883331298828,\r
2234         "y": 1320.8833312988281,\r
2235         "z": "82de8dcf.518d88",\r
2236         "wires": []\r
2237     },\r
2238     {\r
2239         "id": "9be58098.9885c8",\r
2240         "type": "block",\r
2241         "name": "block",\r
2242         "xml": "<block>\n",\r
2243         "atomic": "false",\r
2244         "comments": "",\r
2245         "outputs": 1,\r
2246         "x": 5545.265655517578,\r
2247         "y": 1260.5390014648438,\r
2248         "z": "82de8dcf.518d88",\r
2249         "wires": [\r
2250             [\r
2251                 "b1324a29.092c8"\r
2252             ]\r
2253         ]\r
2254     },\r
2255     {\r
2256         "id": "39969cdd.a78634",\r
2257         "type": "set",\r
2258         "name": "set domainA ethernet layer network-id",\r
2259         "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2260         "comments": "",\r
2261         "x": 5220.883331298828,\r
2262         "y": 1462.8833312988281,\r
2263         "z": "82de8dcf.518d88",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "b1324a29.092c8",\r
2268         "type": "set",\r
2269         "name": "set controller domainA data",\r
2270         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2271         "comments": "",\r
2272         "x": 5759.883331298828,\r
2273         "y": 1256.8833312988281,\r
2274         "z": "82de8dcf.518d88",\r
2275         "wires": []\r
2276     },\r
2277     {\r
2278         "id": "e7c33475.7e91e8",\r
2279         "type": "set",\r
2280         "name": "set network-route-B",\r
2281         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2282         "comments": "",\r
2283         "x": 4343.883331298828,\r
2284         "y": 910.8833312988281,\r
2285         "z": "82de8dcf.518d88",\r
2286         "wires": []\r
2287     },\r
2288     {\r
2289         "id": "5025b50.00b0f4c",\r
2290         "type": "set",\r
2291         "name": "set network-route-A",\r
2292         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2293         "comments": "",\r
2294         "x": 4334.883331298828,\r
2295         "y": 1008.8833312988281,\r
2296         "z": "82de8dcf.518d88",\r
2297         "wires": []\r
2298     },\r
2299     {\r
2300         "id": "d9c9bf69.d54ef8",\r
2301         "type": "block",\r
2302         "name": "block",\r
2303         "xml": "<block>\n",\r
2304         "atomic": "false",\r
2305         "comments": "",\r
2306         "outputs": 1,\r
2307         "x": 4168.883331298828,\r
2308         "y": 916.8833312988281,\r
2309         "z": "82de8dcf.518d88",\r
2310         "wires": [\r
2311             [\r
2312                 "eba0d9fe.14aff8",\r
2313                 "e7c33475.7e91e8"\r
2314             ]\r
2315         ]\r
2316     },\r
2317     {\r
2318         "id": "5ac63627.c33ff",\r
2319         "type": "block",\r
2320         "name": "block",\r
2321         "xml": "<block>\n",\r
2322         "atomic": "false",\r
2323         "comments": "",\r
2324         "outputs": 1,\r
2325         "x": 4174.883331298828,\r
2326         "y": 980.8833312988281,\r
2327         "z": "82de8dcf.518d88",\r
2328         "wires": [\r
2329             [\r
2330                 "b156164c.4afee",\r
2331                 "5025b50.00b0f4c"\r
2332             ]\r
2333         ]\r
2334     },\r
2335     {\r
2336         "id": "35523eeb.15287a",\r
2337         "type": "block",\r
2338         "name": "block",\r
2339         "xml": "<block>\n",\r
2340         "atomic": "false",\r
2341         "comments": "",\r
2342         "outputs": 1,\r
2343         "x": 4174.883331298828,\r
2344         "y": 1086.8833312988281,\r
2345         "z": "82de8dcf.518d88",\r
2346         "wires": [\r
2347             [\r
2348                 "c46834b2.126828",\r
2349                 "7dcc31dd.14e278"\r
2350             ]\r
2351         ]\r
2352     },\r
2353     {\r
2354         "id": "377b88b8.aaeb48",\r
2355         "type": "block",\r
2356         "name": "block",\r
2357         "xml": "<block>\n",\r
2358         "atomic": "false",\r
2359         "comments": "",\r
2360         "outputs": 1,\r
2361         "x": 4177.883331298828,\r
2362         "y": 1139.8833312988281,\r
2363         "z": "82de8dcf.518d88",\r
2364         "wires": [\r
2365             [\r
2366                 "67f1e499.325a54",\r
2367                 "e00fdb48.f91848"\r
2368             ]\r
2369         ]\r
2370     },\r
2371     {\r
2372         "id": "7dcc31dd.14e278",\r
2373         "type": "set",\r
2374         "name": "set network-route-B",\r
2375         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2376         "comments": "",\r
2377         "x": 4334.883331298828,\r
2378         "y": 1099.8833312988281,\r
2379         "z": "82de8dcf.518d88",\r
2380         "wires": []\r
2381     },\r
2382     {\r
2383         "id": "e00fdb48.f91848",\r
2384         "type": "set",\r
2385         "name": "set network-route-A",\r
2386         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2387         "comments": "",\r
2388         "x": 4337.883331298828,\r
2389         "y": 1190.8833312988281,\r
2390         "z": "82de8dcf.518d88",\r
2391         "wires": []\r
2392     },\r
2393     {\r
2394         "id": "b1c3c9b6.d1dd38",\r
2395         "type": "block",\r
2396         "name": "block : atomic",\r
2397         "xml": "<block atomic=\"true\">",\r
2398         "atomic": "true",\r
2399         "outputs": 1,\r
2400         "x": 3709.883331298828,\r
2401         "y": 2400.883331298828,\r
2402         "z": "82de8dcf.518d88",\r
2403         "wires": [\r
2404             [\r
2405                 "8d971e70.183d4",\r
2406                 "ac7f0ae7.0820f"\r
2407             ]\r
2408         ]\r
2409     },\r
2410     {\r
2411         "id": "37cdc12f.574c9e",\r
2412         "type": "success",\r
2413         "name": "success",\r
2414         "xml": "<outcome value='success'>\n",\r
2415         "comments": "",\r
2416         "outputs": 1,\r
2417         "x": 3537.216827392578,\r
2418         "y": 2401.883331298828,\r
2419         "z": "82de8dcf.518d88",\r
2420         "wires": [\r
2421             [\r
2422                 "b1c3c9b6.d1dd38"\r
2423             ]\r
2424         ]\r
2425     },\r
2426     {\r
2427         "id": "17fb9abf.e94b5d",\r
2428         "type": "not-found",\r
2429         "name": "not-found",\r
2430         "xml": "<outcome value='not-found'>\n",\r
2431         "comments": "",\r
2432         "outputs": 1,\r
2433         "x": 3546.707794189453,\r
2434         "y": 2444.4573669433594,\r
2435         "z": "82de8dcf.518d88",\r
2436         "wires": [\r
2437             [\r
2438                 "ffec1f14.6b38f8"\r
2439             ]\r
2440         ]\r
2441     },\r
2442     {\r
2443         "id": "77126cff.9c26a4",\r
2444         "type": "failure",\r
2445         "name": "failure",\r
2446         "xml": "<outcome value='failure'>\n",\r
2447         "comments": "",\r
2448         "outputs": 1,\r
2449         "x": 3535.216827392578,\r
2450         "y": 2490.883331298828,\r
2451         "z": "82de8dcf.518d88",\r
2452         "wires": [\r
2453             [\r
2454                 "6fe13c0.1437ac4"\r
2455             ]\r
2456         ]\r
2457     },\r
2458     {\r
2459         "id": "ffec1f14.6b38f8",\r
2460         "type": "returnFailure",\r
2461         "name": "return failure",\r
2462         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
2463         "comments": "",\r
2464         "x": 3700.2792053222656,\r
2465         "y": 2447.7431030273438,\r
2466         "z": "82de8dcf.518d88",\r
2467         "wires": []\r
2468     },\r
2469     {\r
2470         "id": "6fe13c0.1437ac4",\r
2471         "type": "returnFailure",\r
2472         "name": "return failure",\r
2473         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2474         "comments": "",\r
2475         "x": 3704.216827392578,\r
2476         "y": 2491.883331298828,\r
2477         "z": "82de8dcf.518d88",\r
2478         "wires": []\r
2479     },\r
2480     {\r
2481         "id": "8d971e70.183d4",\r
2482         "type": "execute",\r
2483         "name": "execute split tp-id to get pnf-name",\r
2484         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
2485         "comments": "",\r
2486         "outputs": 1,\r
2487         "x": 3996.216827392578,\r
2488         "y": 2404.8834533691406,\r
2489         "z": "82de8dcf.518d88",\r
2490         "wires": [\r
2491             [\r
2492                 "53133799.37d4b",\r
2493                 "a86f569d.6ab9f8"\r
2494             ]\r
2495         ]\r
2496     },\r
2497     {\r
2498         "id": "a86f569d.6ab9f8",\r
2499         "type": "failure",\r
2500         "name": "success",\r
2501         "xml": "<outcome value='success'>\n",\r
2502         "comments": "",\r
2503         "outputs": 1,\r
2504         "x": 4219.216827392578,\r
2505         "y": 2359.8834533691406,\r
2506         "z": "82de8dcf.518d88",\r
2507         "wires": [\r
2508             [\r
2509                 "66c68013.ddb6b8"\r
2510             ]\r
2511         ]\r
2512     },\r
2513     {\r
2514         "id": "53133799.37d4b",\r
2515         "type": "failure",\r
2516         "name": "failure",\r
2517         "xml": "<outcome value='failure'>\n",\r
2518         "comments": "",\r
2519         "outputs": 1,\r
2520         "x": 4221.216827392578,\r
2521         "y": 2423.8834533691406,\r
2522         "z": "82de8dcf.518d88",\r
2523         "wires": [\r
2524             [\r
2525                 "7ccc7afc.6f2a8c"\r
2526             ]\r
2527         ]\r
2528     },\r
2529     {\r
2530         "id": "7ccc7afc.6f2a8c",\r
2531         "type": "returnFailure",\r
2532         "name": "return failure",\r
2533         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
2534         "comments": "",\r
2535         "x": 4380.216827392578,\r
2536         "y": 2442.8834533691406,\r
2537         "z": "82de8dcf.518d88",\r
2538         "wires": []\r
2539     },\r
2540     {\r
2541         "id": "66c68013.ddb6b8",\r
2542         "type": "block",\r
2543         "name": "block : atomic",\r
2544         "xml": "<block atomic=\"true\">",\r
2545         "atomic": "true",\r
2546         "outputs": 1,\r
2547         "x": 4384.216827392578,\r
2548         "y": 2356.8834533691406,\r
2549         "z": "82de8dcf.518d88",\r
2550         "wires": [\r
2551             [\r
2552                 "14b7c942.3a7d87",\r
2553                 "705ad60b.9c1b38"\r
2554             ]\r
2555         ]\r
2556     },\r
2557     {\r
2558         "id": "6b364584.e1350c",\r
2559         "type": "save",\r
2560         "name": "save connectivity resource in AAI",\r
2561         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
2562         "comments": "",\r
2563         "outputs": 1,\r
2564         "x": 3998.216827392578,\r
2565         "y": 2563.8834533691406,\r
2566         "z": "82de8dcf.518d88",\r
2567         "wires": [\r
2568             []\r
2569         ]\r
2570     },\r
2571     {\r
2572         "id": "2e817e1e.7658f2",\r
2573         "type": "execute",\r
2574         "name": "execute UUID generator for connectivity domainB",\r
2575         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
2576         "comments": "",\r
2577         "outputs": 1,\r
2578         "x": 4043.216827392578,\r
2579         "y": 2473.8834533691406,\r
2580         "z": "82de8dcf.518d88",\r
2581         "wires": [\r
2582             []\r
2583         ]\r
2584     },\r
2585     {\r
2586         "id": "1f716896.64ed2f",\r
2587         "type": "save",\r
2588         "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
2589         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
2590         "comments": "",\r
2591         "outputs": 1,\r
2592         "x": 4125.216827392578,\r
2593         "y": 2628.8834533691406,\r
2594         "z": "82de8dcf.518d88",\r
2595         "wires": [\r
2596             []\r
2597         ]\r
2598     },\r
2599     {\r
2600         "id": "221f1c18.663f6c",\r
2601         "type": "save",\r
2602         "name": "get p-interface-dst from aai",\r
2603         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
2604         "comments": "",\r
2605         "outputs": 1,\r
2606         "x": 3309.216827392578,\r
2607         "y": 2436.883331298828,\r
2608         "z": "82de8dcf.518d88",\r
2609         "wires": [\r
2610             [\r
2611                 "37cdc12f.574c9e",\r
2612                 "17fb9abf.e94b5d",\r
2613                 "77126cff.9c26a4"\r
2614             ]\r
2615         ]\r
2616     },\r
2617     {\r
2618         "id": "b3b2ce86.7d813",\r
2619         "type": "comment",\r
2620         "name": "Question?",\r
2621         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2622         "comments": "",\r
2623         "x": 3270.216827392578,\r
2624         "y": 2380.883331298828,\r
2625         "z": "82de8dcf.518d88",\r
2626         "wires": []\r
2627     },\r
2628     {\r
2629         "id": "a001cedc.58f128",\r
2630         "type": "execute",\r
2631         "name": "execute split tp-id to get pnf-name",\r
2632         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
2633         "comments": "",\r
2634         "outputs": 1,\r
2635         "x": 3327.216827392578,\r
2636         "y": 2099.8832092285156,\r
2637         "z": "82de8dcf.518d88",\r
2638         "wires": [\r
2639             [\r
2640                 "d5568173.1326d",\r
2641                 "27e39e34.e8a4aa"\r
2642             ]\r
2643         ]\r
2644     },\r
2645     {\r
2646         "id": "27e39e34.e8a4aa",\r
2647         "type": "failure",\r
2648         "name": "success",\r
2649         "xml": "<outcome value='success'>\n",\r
2650         "comments": "",\r
2651         "outputs": 1,\r
2652         "x": 3550.216827392578,\r
2653         "y": 2085.8832092285156,\r
2654         "z": "82de8dcf.518d88",\r
2655         "wires": [\r
2656             [\r
2657                 "ba49d8fd.b81698"\r
2658             ]\r
2659         ]\r
2660     },\r
2661     {\r
2662         "id": "d5568173.1326d",\r
2663         "type": "failure",\r
2664         "name": "failure",\r
2665         "xml": "<outcome value='failure'>\n",\r
2666         "comments": "",\r
2667         "outputs": 1,\r
2668         "x": 3552.216827392578,\r
2669         "y": 2118.8832092285156,\r
2670         "z": "82de8dcf.518d88",\r
2671         "wires": [\r
2672             [\r
2673                 "54689cfb.423da4"\r
2674             ]\r
2675         ]\r
2676     },\r
2677     {\r
2678         "id": "54689cfb.423da4",\r
2679         "type": "returnFailure",\r
2680         "name": "return failure",\r
2681         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
2682         "comments": "",\r
2683         "x": 3695.216827392578,\r
2684         "y": 2115.8832092285156,\r
2685         "z": "82de8dcf.518d88",\r
2686         "wires": []\r
2687     },\r
2688     {\r
2689         "id": "ba49d8fd.b81698",\r
2690         "type": "block",\r
2691         "name": "block : atomic",\r
2692         "xml": "<block atomic=\"true\">",\r
2693         "atomic": "true",\r
2694         "outputs": 1,\r
2695         "x": 3698.216827392578,\r
2696         "y": 2078.8832092285156,\r
2697         "z": "82de8dcf.518d88",\r
2698         "wires": [\r
2699             [\r
2700                 "e65b9c6b.1cea38",\r
2701                 "e0207e5b.773f7"\r
2702             ]\r
2703         ]\r
2704     },\r
2705     {\r
2706         "id": "e65b9c6b.1cea38",\r
2707         "type": "set",\r
2708         "name": "set pnf-name",\r
2709         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
2710         "comments": "",\r
2711         "x": 3892.216827392578,\r
2712         "y": 2081.883331298828,\r
2713         "z": "82de8dcf.518d88",\r
2714         "wires": []\r
2715     },\r
2716     {\r
2717         "id": "ac7f0ae7.0820f",\r
2718         "type": "for",\r
2719         "name": "for each relationship",\r
2720         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2721         "comments": "",\r
2722         "outputs": 1,\r
2723         "x": 3955.216827392578,\r
2724         "y": 2713.883331298828,\r
2725         "z": "82de8dcf.518d88",\r
2726         "wires": [\r
2727             [\r
2728                 "eb66de49.8a6178"\r
2729             ]\r
2730         ]\r
2731     },\r
2732     {\r
2733         "id": "eb66de49.8a6178",\r
2734         "type": "switchNode",\r
2735         "name": "switch related-to",\r
2736         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2737         "comments": "",\r
2738         "outputs": 1,\r
2739         "x": 4161.216827392578,\r
2740         "y": 2713.883331298828,\r
2741         "z": "82de8dcf.518d88",\r
2742         "wires": [\r
2743             [\r
2744                 "a3eb7777.2808e"\r
2745             ]\r
2746         ]\r
2747     },\r
2748     {\r
2749         "id": "a3eb7777.2808e",\r
2750         "type": "outcome",\r
2751         "name": "tunnel-termination-point",\r
2752         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2753         "comments": "",\r
2754         "outputs": 1,\r
2755         "x": 4378.502471923828,\r
2756         "y": 2712.705108642578,\r
2757         "z": "82de8dcf.518d88",\r
2758         "wires": [\r
2759             [\r
2760                 "90bfeab5.6e04"\r
2761             ]\r
2762         ]\r
2763     },\r
2764     {\r
2765         "id": "e0207e5b.773f7",\r
2766         "type": "get-resource",\r
2767         "name": "get-resource src pnf",\r
2768         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2769         "comments": "",\r
2770         "outputs": 1,\r
2771         "x": 3914.216827392578,\r
2772         "y": 2149.883331298828,\r
2773         "z": "82de8dcf.518d88",\r
2774         "wires": [\r
2775             [\r
2776                 "ff3d2407.61718",\r
2777                 "f34e14e1.674a08",\r
2778                 "f7ebc3eb.0fe87"\r
2779             ]\r
2780         ]\r
2781     },\r
2782     {\r
2783         "id": "ff3d2407.61718",\r
2784         "type": "success",\r
2785         "name": "success",\r
2786         "xml": "<outcome value='success'>\n",\r
2787         "comments": "",\r
2788         "outputs": 1,\r
2789         "x": 4109.716949462891,\r
2790         "y": 2101.883331298828,\r
2791         "z": "82de8dcf.518d88",\r
2792         "wires": [\r
2793             [\r
2794                 "e4f3177f.7fd418"\r
2795             ]\r
2796         ]\r
2797     },\r
2798     {\r
2799         "id": "f34e14e1.674a08",\r
2800         "type": "not-found",\r
2801         "name": "not-found",\r
2802         "xml": "<outcome value='not-found'>\n",\r
2803         "comments": "",\r
2804         "outputs": 1,\r
2805         "x": 4101.716949462891,\r
2806         "y": 2156.883331298828,\r
2807         "z": "82de8dcf.518d88",\r
2808         "wires": [\r
2809             [\r
2810                 "7e75e0e1.a6768"\r
2811             ]\r
2812         ]\r
2813     },\r
2814     {\r
2815         "id": "f7ebc3eb.0fe87",\r
2816         "type": "other",\r
2817         "name": "other",\r
2818         "xml": "<outcome value='Other'>\n",\r
2819         "comments": "",\r
2820         "outputs": 1,\r
2821         "x": 4106.716949462891,\r
2822         "y": 2213.883331298828,\r
2823         "z": "82de8dcf.518d88",\r
2824         "wires": [\r
2825             [\r
2826                 "917fd40f.ec43b"\r
2827             ]\r
2828         ]\r
2829     },\r
2830     {\r
2831         "id": "917fd40f.ec43b",\r
2832         "type": "returnFailure",\r
2833         "name": "return failure",\r
2834         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2835         "comments": "",\r
2836         "x": 4258.716949462891,\r
2837         "y": 2214.883331298828,\r
2838         "z": "82de8dcf.518d88",\r
2839         "wires": []\r
2840     },\r
2841     {\r
2842         "id": "7e75e0e1.a6768",\r
2843         "type": "returnFailure",\r
2844         "name": "return failure",\r
2845         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2846         "comments": "",\r
2847         "x": 4269.716949462891,\r
2848         "y": 2159.883331298828,\r
2849         "z": "82de8dcf.518d88",\r
2850         "wires": []\r
2851     },\r
2852     {\r
2853         "id": "e4f3177f.7fd418",\r
2854         "type": "block",\r
2855         "name": "block",\r
2856         "xml": "<block>\n",\r
2857         "atomic": "false",\r
2858         "comments": "",\r
2859         "outputs": 1,\r
2860         "x": 4254.099273681641,\r
2861         "y": 2099.5390014648438,\r
2862         "z": "82de8dcf.518d88",\r
2863         "wires": [\r
2864             [\r
2865                 "96db4a5c.6d74f"\r
2866             ]\r
2867         ]\r
2868     },\r
2869     {\r
2870         "id": "14b7c942.3a7d87",\r
2871         "type": "set",\r
2872         "name": "set ltpId",\r
2873         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2874         "comments": "",\r
2875         "x": 4554.216827392578,\r
2876         "y": 2317.8834533691406,\r
2877         "z": "82de8dcf.518d88",\r
2878         "wires": []\r
2879     },\r
2880     {\r
2881         "id": "705ad60b.9c1b38",\r
2882         "type": "set",\r
2883         "name": "set pnf-name",\r
2884         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2885         "comments": "",\r
2886         "x": 4555.216827392578,\r
2887         "y": 2422.8834533691406,\r
2888         "z": "82de8dcf.518d88",\r
2889         "wires": []\r
2890     },\r
2891     {\r
2892         "id": "fe24857d.ec88f8",\r
2893         "type": "comment",\r
2894         "name": "TODO: FIXME",\r
2895         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
2896         "comments": "",\r
2897         "x": 4550.216827392578,\r
2898         "y": 2371.8834533691406,\r
2899         "z": "82de8dcf.518d88",\r
2900         "wires": []\r
2901     },\r
2902     {\r
2903         "id": "90bfeab5.6e04",\r
2904         "type": "block",\r
2905         "name": "block : atomic",\r
2906         "xml": "<block atomic=\"true\">",\r
2907         "atomic": "true",\r
2908         "outputs": 1,\r
2909         "x": 4585.334014892578,\r
2910         "y": 2702.2237854003906,\r
2911         "z": "82de8dcf.518d88",\r
2912         "wires": [\r
2913             [\r
2914                 "d29ec4c3.e3026",\r
2915                 "3dd34bd3.f84b34",\r
2916                 "855f6bda.886bb"\r
2917             ]\r
2918         ]\r
2919     },\r
2920     {\r
2921         "id": "d29ec4c3.e3026",\r
2922         "type": "set",\r
2923         "name": "set destination ttp-id",\r
2924         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
2925         "comments": "",\r
2926         "x": 4800.334014892578,\r
2927         "y": 2664.2237854003906,\r
2928         "z": "82de8dcf.518d88",\r
2929         "wires": []\r
2930     },\r
2931     {\r
2932         "id": "3dd34bd3.f84b34",\r
2933         "type": "get-resource",\r
2934         "name": "get-resource src TTP",\r
2935         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
2936         "comments": "",\r
2937         "outputs": 1,\r
2938         "x": 4797.334014892578,\r
2939         "y": 2703.2237854003906,\r
2940         "z": "82de8dcf.518d88",\r
2941         "wires": [\r
2942             [\r
2943                 "498fc826.7744e"\r
2944             ]\r
2945         ]\r
2946     },\r
2947     {\r
2948         "id": "855f6bda.886bb",\r
2949         "type": "break",\r
2950         "name": "break",\r
2951         "xml": "<break>\n",\r
2952         "comments": "",\r
2953         "x": 4752.834014892578,\r
2954         "y": 2745.2237854003906,\r
2955         "z": "82de8dcf.518d88",\r
2956         "wires": []\r
2957     },\r
2958     {\r
2959         "id": "498fc826.7744e",\r
2960         "type": "success",\r
2961         "name": "success",\r
2962         "xml": "<outcome value='success'>\n",\r
2963         "comments": "",\r
2964         "outputs": 1,\r
2965         "x": 4977.834014892578,\r
2966         "y": 2702.2237854003906,\r
2967         "z": "82de8dcf.518d88",\r
2968         "wires": [\r
2969             [\r
2970                 "3dffa556.ecd0ba"\r
2971             ]\r
2972         ]\r
2973     },\r
2974     {\r
2975         "id": "3dffa556.ecd0ba",\r
2976         "type": "block",\r
2977         "name": "block : atomic",\r
2978         "xml": "<block atomic=\"true\">",\r
2979         "atomic": "true",\r
2980         "outputs": 1,\r
2981         "x": 5135.834014892578,\r
2982         "y": 2702.2237854003906,\r
2983         "z": "82de8dcf.518d88",\r
2984         "wires": [\r
2985             [\r
2986                 "e57a350c.677e18"\r
2987             ]\r
2988         ]\r
2989     },\r
2990     {\r
2991         "id": "e57a350c.677e18",\r
2992         "type": "set",\r
2993         "name": "set destination tunnel tp ip",\r
2994         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2995         "comments": "",\r
2996         "x": 5342.834014892578,\r
2997         "y": 2702.2237854003906,\r
2998         "z": "82de8dcf.518d88",\r
2999         "wires": []\r
3000     },\r
3001     {\r
3002         "id": "321528be.3d7ae",\r
3003         "type": "outcome",\r
3004         "name": "esr-thirdparty-sdnc",\r
3005         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
3006         "comments": "",\r
3007         "outputs": 1,\r
3008         "x": 4836.216827392578,\r
3009         "y": 2117.883331298828,\r
3010         "z": "82de8dcf.518d88",\r
3011         "wires": [\r
3012             [\r
3013                 "e56d9c92.9b763"\r
3014             ]\r
3015         ]\r
3016     },\r
3017     {\r
3018         "id": "e56d9c92.9b763",\r
3019         "type": "block",\r
3020         "name": "block : atomic",\r
3021         "xml": "<block atomic=\"true\">",\r
3022         "atomic": "true",\r
3023         "outputs": 1,\r
3024         "x": 5013.216827392578,\r
3025         "y": 2109.883331298828,\r
3026         "z": "82de8dcf.518d88",\r
3027         "wires": [\r
3028             [\r
3029                 "251b7dfd.9c2dea",\r
3030                 "f747044b.58f4e"\r
3031             ]\r
3032         ]\r
3033     },\r
3034     {\r
3035         "id": "96db4a5c.6d74f",\r
3036         "type": "for",\r
3037         "name": "for each relationship",\r
3038         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
3039         "comments": "",\r
3040         "outputs": 1,\r
3041         "x": 4438.216827392578,\r
3042         "y": 2113.883331298828,\r
3043         "z": "82de8dcf.518d88",\r
3044         "wires": [\r
3045             [\r
3046                 "3dedc7fb.152e08"\r
3047             ]\r
3048         ]\r
3049     },\r
3050     {\r
3051         "id": "3dedc7fb.152e08",\r
3052         "type": "switchNode",\r
3053         "name": "switch related-to",\r
3054         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
3055         "comments": "",\r
3056         "outputs": 1,\r
3057         "x": 4633.216827392578,\r
3058         "y": 2113.883331298828,\r
3059         "z": "82de8dcf.518d88",\r
3060         "wires": [\r
3061             [\r
3062                 "321528be.3d7ae",\r
3063                 "b22cff66.f669e8"\r
3064             ]\r
3065         ]\r
3066     },\r
3067     {\r
3068         "id": "f747044b.58f4e",\r
3069         "type": "execute",\r
3070         "name": "get esr-thirdparty-sdnc",\r
3071         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
3072         "comments": "",\r
3073         "outputs": 1,\r
3074         "x": 5221.216827392578,\r
3075         "y": 2116.883331298828,\r
3076         "z": "82de8dcf.518d88",\r
3077         "wires": [\r
3078             [\r
3079                 "1f813de4.828122",\r
3080                 "d83bccad.38e8b8",\r
3081                 "c46088f8.fb1e"\r
3082             ]\r
3083         ]\r
3084     },\r
3085     {\r
3086         "id": "cd687e81.f269c8",\r
3087         "type": "block",\r
3088         "name": "block : atomic",\r
3089         "xml": "<block atomic=\"true\">",\r
3090         "atomic": "true",\r
3091         "outputs": 1,\r
3092         "x": 5015.216827392578,\r
3093         "y": 2182.883331298828,\r
3094         "z": "82de8dcf.518d88",\r
3095         "wires": [\r
3096             [\r
3097                 "44576406.503604"\r
3098             ]\r
3099         ]\r
3100     },\r
3101     {\r
3102         "id": "b22cff66.f669e8",\r
3103         "type": "outcome",\r
3104         "name": "network-resource",\r
3105         "xml": "<outcome value='network-resource'>",\r
3106         "comments": "",\r
3107         "outputs": 1,\r
3108         "x": 4838.216827392578,\r
3109         "y": 2190.883331298828,\r
3110         "z": "82de8dcf.518d88",\r
3111         "wires": [\r
3112             [\r
3113                 "cd687e81.f269c8"\r
3114             ]\r
3115         ]\r
3116     },\r
3117     {\r
3118         "id": "251b7dfd.9c2dea",\r
3119         "type": "set",\r
3120         "name": "set esr-thirdparty-sdnc domainB id",\r
3121         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
3122         "comments": "",\r
3123         "x": 5251.216827392578,\r
3124         "y": 2064.883331298828,\r
3125         "z": "82de8dcf.518d88",\r
3126         "wires": []\r
3127     },\r
3128     {\r
3129         "id": "44576406.503604",\r
3130         "type": "set",\r
3131         "name": "set domainB ethernet layer network-id",\r
3132         "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
3133         "comments": "",\r
3134         "x": 5250.216827392578,\r
3135         "y": 2306.883331298828,\r
3136         "z": "82de8dcf.518d88",\r
3137         "wires": []\r
3138     },\r
3139     {\r
3140         "id": "1f813de4.828122",\r
3141         "type": "success",\r
3142         "name": "success",\r
3143         "xml": "<outcome value='success'>\n",\r
3144         "comments": "",\r
3145         "outputs": 1,\r
3146         "x": 5431.216827392578,\r
3147         "y": 2107.883331298828,\r
3148         "z": "82de8dcf.518d88",\r
3149         "wires": [\r
3150             [\r
3151                 "9f1d5683.34bf48"\r
3152             ]\r
3153         ]\r
3154     },\r
3155     {\r
3156         "id": "d83bccad.38e8b8",\r
3157         "type": "not-found",\r
3158         "name": "not-found",\r
3159         "xml": "<outcome value='not-found'>\n",\r
3160         "comments": "",\r
3161         "outputs": 1,\r
3162         "x": 5423.216827392578,\r
3163         "y": 2162.883331298828,\r
3164         "z": "82de8dcf.518d88",\r
3165         "wires": [\r
3166             [\r
3167                 "3d8c6a19.63c47e"\r
3168             ]\r
3169         ]\r
3170     },\r
3171     {\r
3172         "id": "c46088f8.fb1e",\r
3173         "type": "other",\r
3174         "name": "other",\r
3175         "xml": "<outcome value='Other'>\n",\r
3176         "comments": "",\r
3177         "outputs": 1,\r
3178         "x": 5428.216827392578,\r
3179         "y": 2219.883331298828,\r
3180         "z": "82de8dcf.518d88",\r
3181         "wires": [\r
3182             [\r
3183                 "868d602e.d270d8"\r
3184             ]\r
3185         ]\r
3186     },\r
3187     {\r
3188         "id": "868d602e.d270d8",\r
3189         "type": "returnFailure",\r
3190         "name": "return failure",\r
3191         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3192         "comments": "",\r
3193         "x": 5580.216827392578,\r
3194         "y": 2220.883331298828,\r
3195         "z": "82de8dcf.518d88",\r
3196         "wires": []\r
3197     },\r
3198     {\r
3199         "id": "3d8c6a19.63c47e",\r
3200         "type": "returnFailure",\r
3201         "name": "return failure",\r
3202         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3203         "comments": "",\r
3204         "x": 5591.216827392578,\r
3205         "y": 2165.883331298828,\r
3206         "z": "82de8dcf.518d88",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "9f1d5683.34bf48",\r
3211         "type": "block",\r
3212         "name": "block",\r
3213         "xml": "<block>\n",\r
3214         "atomic": "false",\r
3215         "comments": "",\r
3216         "outputs": 1,\r
3217         "x": 5575.599151611328,\r
3218         "y": 2105.5390014648438,\r
3219         "z": "82de8dcf.518d88",\r
3220         "wires": [\r
3221             [\r
3222                 "580e8311.7470f4"\r
3223             ]\r
3224         ]\r
3225     },\r
3226     {\r
3227         "id": "580e8311.7470f4",\r
3228         "type": "set",\r
3229         "name": "set controller domainB data",\r
3230         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
3231         "comments": "",\r
3232         "x": 5790.216827392578,\r
3233         "y": 2101.883331298828,\r
3234         "z": "82de8dcf.518d88",\r
3235         "wires": []\r
3236     },\r
3237     {\r
3238         "id": "77955a17.d633ac",\r
3239         "type": "set",\r
3240         "name": "set LEAF stuff",\r
3241         "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
3242         "comments": "",\r
3243         "x": 3288.883331298828,\r
3244         "y": 1711.8833312988281,\r
3245         "z": "82de8dcf.518d88",\r
3246         "wires": []\r
3247     },\r
3248     {\r
3249         "id": "88408865.7d27f8",\r
3250         "type": "comment",\r
3251         "name": "This is it (should be)",\r
3252         "info": "",\r
3253         "comments": "",\r
3254         "x": 4510.883331298828,\r
3255         "y": 994.8833312988281,\r
3256         "z": "82de8dcf.518d88",\r
3257         "wires": []\r
3258     },\r
3259     {\r
3260         "id": "d43945c8.bc5bc",\r
3261         "type": "comment",\r
3262         "name": "This is it (should be)",\r
3263         "info": "",\r
3264         "comments": "",\r
3265         "x": 4502.883331298828,\r
3266         "y": 1084.8833312988281,\r
3267         "z": "82de8dcf.518d88",\r
3268         "wires": []\r
3269     },\r
3270     {\r
3271         "id": "1e4146ab.95c211",\r
3272         "type": "set",\r
3273         "name": "set ROOT stuff",\r
3274         "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
3275         "comments": "",\r
3276         "x": 3269.883331298828,\r
3277         "y": 2567.883331298828,\r
3278         "z": "82de8dcf.518d88",\r
3279         "wires": []\r
3280     },\r
3281     {\r
3282         "id": "893317d2.3ef5f",\r
3283         "type": "save",\r
3284         "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3285         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3286         "comments": "",\r
3287         "outputs": 1,\r
3288         "x": 3401.883331298828,\r
3289         "y": 1817.8833312988281,\r
3290         "z": "82de8dcf.518d88",\r
3291         "wires": [\r
3292             []\r
3293         ]\r
3294     },\r
3295     {\r
3296         "id": "fd0edd2e.c98978",\r
3297         "type": "save",\r
3298         "name": "save LEAF UNI in AAI",\r
3299         "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
3300         "comments": "",\r
3301         "outputs": 1,\r
3302         "x": 3308.883331298828,\r
3303         "y": 1764.8833312988281,\r
3304         "z": "82de8dcf.518d88",\r
3305         "wires": [\r
3306             []\r
3307         ]\r
3308     },\r
3309     {\r
3310         "id": "98563074.1e7ea",\r
3311         "type": "execute",\r
3312         "name": "execute UUID generator for ethernet-service-name",\r
3313         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3314         "comments": "",\r
3315         "outputs": 1,\r
3316         "x": 2426.883331298828,\r
3317         "y": 142.88333129882812,\r
3318         "z": "82de8dcf.518d88",\r
3319         "wires": [\r
3320             []\r
3321         ]\r
3322     },\r
3323     {\r
3324         "id": "c475408d.68ef",\r
3325         "type": "set",\r
3326         "name": "set new ethernet-service-name",\r
3327         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
3328         "comments": "",\r
3329         "x": 2360.883331298828,\r
3330         "y": 178.88333129882812,\r
3331         "z": "82de8dcf.518d88",\r
3332         "wires": []\r
3333     },\r
3334     {\r
3335         "id": "e109d5f4.51e5d",\r
3336         "type": "comment",\r
3337         "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
3338         "info": "",\r
3339         "comments": "",\r
3340         "x": 2545.883331298828,\r
3341         "y": 105.88333129882812,\r
3342         "z": "82de8dcf.518d88",\r
3343         "wires": []\r
3344     },\r
3345     {\r
3346         "id": "2e92209c.b2514",\r
3347         "type": "comment",\r
3348         "name": "NOT NEEDED ANYMORE?",\r
3349         "info": "",\r
3350         "comments": "",\r
3351         "x": 4036.883331298828,\r
3352         "y": 1795.8833312988281,\r
3353         "z": "82de8dcf.518d88",\r
3354         "wires": []\r
3355     },\r
3356     {\r
3357         "id": "cc84986.18b2868",\r
3358         "type": "comment",\r
3359         "name": "NOT NEEDED ANYMORE?",\r
3360         "info": "",\r
3361         "comments": "",\r
3362         "x": 4014.883331298828,\r
3363         "y": 2665.883331298828,\r
3364         "z": "82de8dcf.518d88",\r
3365         "wires": []\r
3366     },\r
3367     {\r
3368         "id": "e351db25.84cdc8",\r
3369         "type": "call",\r
3370         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
3371         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
3372         "comments": "",\r
3373         "outputs": 1,\r
3374         "x": 3441.8837890625,\r
3375         "y": 7438.88330078125,\r
3376         "z": "82de8dcf.518d88",\r
3377         "wires": [\r
3378             []\r
3379         ]\r
3380     },\r
3381     {\r
3382         "id": "bbb27c53.89e32",\r
3383         "type": "comment",\r
3384         "name": "START OF DELETE OPERATION",\r
3385         "info": "",\r
3386         "comments": "",\r
3387         "x": 3288.88330078125,\r
3388         "y": 2897.88330078125,\r
3389         "z": "82de8dcf.518d88",\r
3390         "wires": []\r
3391     },\r
3392     {\r
3393         "id": "3023ae1c.6e2482",\r
3394         "type": "save",\r
3395         "name": "delete LEAF uni resource in AAI",\r
3396         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
3397         "comments": "",\r
3398         "outputs": 1,\r
3399         "x": 3874.566650390625,\r
3400         "y": 3087.283447265625,\r
3401         "z": "82de8dcf.518d88",\r
3402         "wires": [\r
3403             []\r
3404         ]\r
3405     },\r
3406     {\r
3407         "id": "a4dfc5e6.4600f",\r
3408         "type": "save",\r
3409         "name": "get LEAF uni from aai",\r
3410         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
3411         "comments": "",\r
3412         "outputs": 1,\r
3413         "x": 3245.566650390625,\r
3414         "y": 3017.283447265625,\r
3415         "z": "82de8dcf.518d88",\r
3416         "wires": [\r
3417             [\r
3418                 "3c4fb74b.12c308",\r
3419                 "cc5ca51c.d55828",\r
3420                 "10482aca.fa7bbd"\r
3421             ]\r
3422         ]\r
3423     },\r
3424     {\r
3425         "id": "cc5ca51c.d55828",\r
3426         "type": "not-found",\r
3427         "name": "not-found",\r
3428         "xml": "<outcome value='not-found'>\n",\r
3429         "comments": "",\r
3430         "outputs": 1,\r
3431         "x": 3473.0576171875,\r
3432         "y": 2989.857421875,\r
3433         "z": "82de8dcf.518d88",\r
3434         "wires": [\r
3435             [\r
3436                 "f3fff98e.f3e778"\r
3437             ]\r
3438         ]\r
3439     },\r
3440     {\r
3441         "id": "10482aca.fa7bbd",\r
3442         "type": "failure",\r
3443         "name": "failure",\r
3444         "xml": "<outcome value='failure'>\n",\r
3445         "comments": "",\r
3446         "outputs": 1,\r
3447         "x": 3468.566650390625,\r
3448         "y": 3034.2833862304688,\r
3449         "z": "82de8dcf.518d88",\r
3450         "wires": [\r
3451             [\r
3452                 "686bd6b1.dd501"\r
3453             ]\r
3454         ]\r
3455     },\r
3456     {\r
3457         "id": "f3fff98e.f3e778",\r
3458         "type": "returnFailure",\r
3459         "name": "return failure",\r
3460         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
3461         "comments": "",\r
3462         "x": 3635.629150390625,\r
3463         "y": 2989.1431274414062,\r
3464         "z": "82de8dcf.518d88",\r
3465         "wires": []\r
3466     },\r
3467     {\r
3468         "id": "686bd6b1.dd501",\r
3469         "type": "returnFailure",\r
3470         "name": "return failure",\r
3471         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3472         "comments": "",\r
3473         "x": 3636.566650390625,\r
3474         "y": 3034.2833862304688,\r
3475         "z": "82de8dcf.518d88",\r
3476         "wires": []\r
3477     },\r
3478     {\r
3479         "id": "3c4fb74b.12c308",\r
3480         "type": "success",\r
3481         "name": "success",\r
3482         "xml": "<outcome value='success'>\n",\r
3483         "comments": "",\r
3484         "outputs": 1,\r
3485         "x": 3480.566650390625,\r
3486         "y": 3084.283447265625,\r
3487         "z": "82de8dcf.518d88",\r
3488         "wires": [\r
3489             [\r
3490                 "9563229e.3fe02"\r
3491             ]\r
3492         ]\r
3493     },\r
3494     {\r
3495         "id": "9563229e.3fe02",\r
3496         "type": "block",\r
3497         "name": "block : atomic",\r
3498         "xml": "<block atomic='true'>",\r
3499         "atomic": "true",\r
3500         "comments": "",\r
3501         "outputs": 1,\r
3502         "x": 3632.88330078125,\r
3503         "y": 3087.88330078125,\r
3504         "z": "82de8dcf.518d88",\r
3505         "wires": [\r
3506             [\r
3507                 "f32c210.90e5fe",\r
3508                 "3023ae1c.6e2482",\r
3509                 "dfd78621.0c4df"\r
3510             ]\r
3511         ]\r
3512     },\r
3513     {\r
3514         "id": "f32c210.90e5fe",\r
3515         "type": "set",\r
3516         "name": "set bwToBeDecreased tpid cvlan",\r
3517         "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
3518         "comments": "",\r
3519         "x": 3877.566650390625,\r
3520         "y": 3030.283447265625,\r
3521         "z": "82de8dcf.518d88",\r
3522         "wires": []\r
3523     },\r
3524     {\r
3525         "id": "4c9abbae.5d458c",\r
3526         "type": "comment",\r
3527         "name": "Update ROOT UNI's bw",\r
3528         "info": "",\r
3529         "comments": "",\r
3530         "x": 3833.566650390625,\r
3531         "y": 3193.083251953125,\r
3532         "z": "82de8dcf.518d88",\r
3533         "wires": []\r
3534     },\r
3535     {\r
3536         "id": "547f08e5.b430b",\r
3537         "type": "save",\r
3538         "name": "update ROOT UNI in AAI",\r
3539         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
3540         "comments": "",\r
3541         "outputs": 1,\r
3542         "x": 4435.566650390625,\r
3543         "y": 3298.083251953125,\r
3544         "z": "82de8dcf.518d88",\r
3545         "wires": [\r
3546             []\r
3547         ]\r
3548     },\r
3549     {\r
3550         "id": "dfd78621.0c4df",\r
3551         "type": "save",\r
3552         "name": "get root uni from aai",\r
3553         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
3554         "comments": "",\r
3555         "outputs": 1,\r
3556         "x": 3825.56640625,\r
3557         "y": 3239.083251953125,\r
3558         "z": "82de8dcf.518d88",\r
3559         "wires": [\r
3560             [\r
3561                 "51d31fac.6dab6",\r
3562                 "d9c98a3d.c2af8",\r
3563                 "e932164d.0b10e8"\r
3564             ]\r
3565         ]\r
3566     },\r
3567     {\r
3568         "id": "d9c98a3d.c2af8",\r
3569         "type": "not-found",\r
3570         "name": "not-found",\r
3571         "xml": "<outcome value='not-found'>\n",\r
3572         "comments": "",\r
3573         "outputs": 1,\r
3574         "x": 4053.057373046875,\r
3575         "y": 3211.6572265625,\r
3576         "z": "82de8dcf.518d88",\r
3577         "wires": [\r
3578             [\r
3579                 "f1a39628.bdc748"\r
3580             ]\r
3581         ]\r
3582     },\r
3583     {\r
3584         "id": "e932164d.0b10e8",\r
3585         "type": "failure",\r
3586         "name": "failure",\r
3587         "xml": "<outcome value='failure'>\n",\r
3588         "comments": "",\r
3589         "outputs": 1,\r
3590         "x": 4048.56640625,\r
3591         "y": 3256.0831909179688,\r
3592         "z": "82de8dcf.518d88",\r
3593         "wires": [\r
3594             [\r
3595                 "dfc7b8eb.48de78"\r
3596             ]\r
3597         ]\r
3598     },\r
3599     {\r
3600         "id": "f1a39628.bdc748",\r
3601         "type": "returnFailure",\r
3602         "name": "return failure",\r
3603         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
3604         "comments": "",\r
3605         "x": 4215.62890625,\r
3606         "y": 3210.9429321289062,\r
3607         "z": "82de8dcf.518d88",\r
3608         "wires": []\r
3609     },\r
3610     {\r
3611         "id": "dfc7b8eb.48de78",\r
3612         "type": "returnFailure",\r
3613         "name": "return failure",\r
3614         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3615         "comments": "",\r
3616         "x": 4216.56640625,\r
3617         "y": 3256.0831909179688,\r
3618         "z": "82de8dcf.518d88",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "dd0cc66d.fbf3a8",\r
3623         "type": "block",\r
3624         "name": "block : atomic",\r
3625         "xml": "<block atomic=\"true\">",\r
3626         "atomic": "true",\r
3627         "outputs": 1,\r
3628         "x": 4213.56640625,\r
3629         "y": 3306.083251953125,\r
3630         "z": "82de8dcf.518d88",\r
3631         "wires": [\r
3632             [\r
3633                 "9a3f7682.b82b9",\r
3634                 "547f08e5.b430b"\r
3635             ]\r
3636         ]\r
3637     },\r
3638     {\r
3639         "id": "51d31fac.6dab6",\r
3640         "type": "success",\r
3641         "name": "success",\r
3642         "xml": "<outcome value='success'>\n",\r
3643         "comments": "",\r
3644         "outputs": 1,\r
3645         "x": 4044.56640625,\r
3646         "y": 3306.083251953125,\r
3647         "z": "82de8dcf.518d88",\r
3648         "wires": [\r
3649             [\r
3650                 "dd0cc66d.fbf3a8"\r
3651             ]\r
3652         ]\r
3653     },\r
3654     {\r
3655         "id": "9a3f7682.b82b9",\r
3656         "type": "set",\r
3657         "name": "set new bw",\r
3658         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
3659         "comments": "",\r
3660         "x": 4395.567138671875,\r
3661         "y": 3248.083251953125,\r
3662         "z": "82de8dcf.518d88",\r
3663         "wires": []\r
3664     },\r
3665     {\r
3666         "id": "998e4ab7.4d5be",\r
3667         "type": "comment",\r
3668         "name": "Delete LEAF UNI",\r
3669         "info": "",\r
3670         "comments": "",\r
3671         "x": 3825.88330078125,\r
3672         "y": 2971.88330078125,\r
3673         "z": "82de8dcf.518d88",\r
3674         "wires": []\r
3675     },\r
3676     {\r
3677         "id": "44b90aa0.b32f1c",\r
3678         "type": "set",\r
3679         "name": "set current-provider-id and current-cvlan-id",\r
3680         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
3681         "comments": "",\r
3682         "x": 3311.749969482422,\r
3683         "y": 3750.483367919922,\r
3684         "z": "82de8dcf.518d88",\r
3685         "wires": []\r
3686     },\r
3687     {\r
3688         "id": "2a719f3a.33348",\r
3689         "type": "call",\r
3690         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
3691         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
3692         "comments": "",\r
3693         "outputs": 1,\r
3694         "x": 3444.749969482422,\r
3695         "y": 3798.483367919922,\r
3696         "z": "82de8dcf.518d88",\r
3697         "wires": [\r
3698             []\r
3699         ]\r
3700     },\r
3701     {\r
3702         "id": "33975a1e.497a26",\r
3703         "type": "switchNode",\r
3704         "name": "switch found-connectivity?",\r
3705         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
3706         "comments": "",\r
3707         "outputs": 1,\r
3708         "x": 3266.749969482422,\r
3709         "y": 3850.283416748047,\r
3710         "z": "82de8dcf.518d88",\r
3711         "wires": [\r
3712             [\r
3713                 "6169e5ef.6af5c4",\r
3714                 "e3565ed9.a6bae8"\r
3715             ]\r
3716         ]\r
3717     },\r
3718     {\r
3719         "id": "6169e5ef.6af5c4",\r
3720         "type": "outcomeFalse",\r
3721         "name": "false",\r
3722         "xml": "<outcome value='false'>\n",\r
3723         "comments": "",\r
3724         "outputs": 1,\r
3725         "x": 3459.749969482422,\r
3726         "y": 3851.283416748047,\r
3727         "z": "82de8dcf.518d88",\r
3728         "wires": [\r
3729             [\r
3730                 "3f7c202a.f0897"\r
3731             ]\r
3732         ]\r
3733     },\r
3734     {\r
3735         "id": "3f7c202a.f0897",\r
3736         "type": "returnFailure",\r
3737         "name": "return failure",\r
3738         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
3739         "comments": "",\r
3740         "x": 3603.749969482422,\r
3741         "y": 3847.483367919922,\r
3742         "z": "82de8dcf.518d88",\r
3743         "wires": []\r
3744     },\r
3745     {\r
3746         "id": "e3565ed9.a6bae8",\r
3747         "type": "outcomeTrue",\r
3748         "name": "true",\r
3749         "xml": "<outcome value='true'>\n",\r
3750         "comments": "",\r
3751         "outputs": 1,\r
3752         "x": 3463.749969482422,\r
3753         "y": 3895.283416748047,\r
3754         "z": "82de8dcf.518d88",\r
3755         "wires": [\r
3756             [\r
3757                 "c54729aa.dea04"\r
3758             ]\r
3759         ]\r
3760     },\r
3761     {\r
3762         "id": "c54729aa.dea04",\r
3763         "type": "block",\r
3764         "name": "block : atomic",\r
3765         "xml": "<block atomic='true'>",\r
3766         "atomic": "true",\r
3767         "comments": "",\r
3768         "outputs": 1,\r
3769         "x": 3602.749969482422,\r
3770         "y": 3890.283416748047,\r
3771         "z": "82de8dcf.518d88",\r
3772         "wires": [\r
3773             [\r
3774                 "563cd7a4.5a9238",\r
3775                 "f2c9af7.5a8ebd",\r
3776                 "2a4d2a1b.ff481e"\r
3777             ]\r
3778         ]\r
3779     },\r
3780     {\r
3781         "id": "563cd7a4.5a9238",\r
3782         "type": "for",\r
3783         "name": "for each relationship",\r
3784         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
3785         "comments": "",\r
3786         "outputs": 1,\r
3787         "x": 3853.149627685547,\r
3788         "y": 3898.800018310547,\r
3789         "z": "82de8dcf.518d88",\r
3790         "wires": [\r
3791             [\r
3792                 "ec034714.60ea58"\r
3793             ]\r
3794         ]\r
3795     },\r
3796     {\r
3797         "id": "ec034714.60ea58",\r
3798         "type": "switchNode",\r
3799         "name": "switch related-to",\r
3800         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
3801         "comments": "",\r
3802         "outputs": 1,\r
3803         "x": 4075.149627685547,\r
3804         "y": 3876.800018310547,\r
3805         "z": "82de8dcf.518d88",\r
3806         "wires": [\r
3807             [\r
3808                 "e531db92.56031"\r
3809             ]\r
3810         ]\r
3811     },\r
3812     {\r
3813         "id": "e531db92.56031",\r
3814         "type": "outcome",\r
3815         "name": "uni",\r
3816         "xml": "<outcome value='uni'>\n",\r
3817         "comments": "",\r
3818         "outputs": 1,\r
3819         "x": 4235.149139404297,\r
3820         "y": 3856.800018310547,\r
3821         "z": "82de8dcf.518d88",\r
3822         "wires": [\r
3823             [\r
3824                 "d94f5698.a9e22"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "717ee9f8.5f5168",\r
3830         "type": "block",\r
3831         "name": "block : atomic",\r
3832         "xml": "<block atomic=\"true\">",\r
3833         "atomic": "true",\r
3834         "outputs": 1,\r
3835         "x": 4388.149658203125,\r
3836         "y": 3837.800048828125,\r
3837         "z": "82de8dcf.518d88",\r
3838         "wires": [\r
3839             [\r
3840                 "44024f46.b6d6d",\r
3841                 "8cf84976.9daac8"\r
3842             ]\r
3843         ]\r
3844     },\r
3845     {\r
3846         "id": "44024f46.b6d6d",\r
3847         "type": "set",\r
3848         "name": "set tmp.stillHasUni to TRUE",\r
3849         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
3850         "comments": "",\r
3851         "x": 4584.649871826172,\r
3852         "y": 3805.883270263672,\r
3853         "z": "82de8dcf.518d88",\r
3854         "wires": []\r
3855     },\r
3856     {\r
3857         "id": "f2c9af7.5a8ebd",\r
3858         "type": "set",\r
3859         "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
3860         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
3861         "comments": "",\r
3862         "x": 3959.64990234375,\r
3863         "y": 3817.88330078125,\r
3864         "z": "82de8dcf.518d88",\r
3865         "wires": []\r
3866     },\r
3867     {\r
3868         "id": "2a4d2a1b.ff481e",\r
3869         "type": "switchNode",\r
3870         "name": "switch tmp.keepVPNBs?",\r
3871         "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
3872         "comments": "",\r
3873         "outputs": 1,\r
3874         "x": 3767.64990234375,\r
3875         "y": 4238.883544921875,\r
3876         "z": "82de8dcf.518d88",\r
3877         "wires": [\r
3878             [\r
3879                 "39fb0c16.c2b2c4",\r
3880                 "808499cb.5bf588"\r
3881             ]\r
3882         ]\r
3883     },\r
3884     {\r
3885         "id": "8cf84976.9daac8",\r
3886         "type": "break",\r
3887         "name": "break",\r
3888         "xml": "<break>\n",\r
3889         "comments": "",\r
3890         "x": 4552.88330078125,\r
3891         "y": 3873.88330078125,\r
3892         "z": "82de8dcf.518d88",\r
3893         "wires": []\r
3894     },\r
3895     {\r
3896         "id": "808499cb.5bf588",\r
3897         "type": "outcomeFalse",\r
3898         "name": "false",\r
3899         "xml": "<outcome value='false'>\n",\r
3900         "comments": "",\r
3901         "outputs": 1,\r
3902         "x": 154.65066528320312,\r
3903         "y": 5302.8837890625,\r
3904         "z": "82de8dcf.518d88",\r
3905         "wires": [\r
3906             [\r
3907                 "7018ac1a.7a3c7c"\r
3908             ]\r
3909         ]\r
3910     },\r
3911     {\r
3912         "id": "39fb0c16.c2b2c4",\r
3913         "type": "outcomeTrue",\r
3914         "name": "true",\r
3915         "xml": "<outcome value='true'>\n",\r
3916         "comments": "",\r
3917         "outputs": 1,\r
3918         "x": 3988.650634765625,\r
3919         "y": 4340.883544921875,\r
3920         "z": "82de8dcf.518d88",\r
3921         "wires": [\r
3922             [\r
3923                 "a235b563.2e3c2"\r
3924             ]\r
3925         ]\r
3926     },\r
3927     {\r
3928         "id": "a235b563.2e3c2",\r
3929         "type": "block",\r
3930         "name": "block",\r
3931         "xml": "<block>",\r
3932         "atomic": "false",\r
3933         "comments": "",\r
3934         "outputs": 1,\r
3935         "x": 4131.650634765625,\r
3936         "y": 4336.883544921875,\r
3937         "z": "82de8dcf.518d88",\r
3938         "wires": [\r
3939             [\r
3940                 "ca74ec50.92ce48",\r
3941                 "76172197.657ac",\r
3942                 "2a3f4733.a29bc",\r
3943                 "c850b8e4.0504c8",\r
3944                 "46570b89.8afbb4",\r
3945                 "819543bf.270a9",\r
3946                 "ca7e6690.5ab92",\r
3947                 "26004944.36227e"\r
3948             ]\r
3949         ]\r
3950     },\r
3951     {\r
3952         "id": "9d4f67a6.1fc128",\r
3953         "type": "comment",\r
3954         "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
3955         "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
3956         "comments": "",\r
3957         "x": 181,\r
3958         "y": 5258.8837890625,\r
3959         "z": "82de8dcf.518d88",\r
3960         "wires": []\r
3961     },\r
3962     {\r
3963         "id": "cbdd9201.8f12c8",\r
3964         "type": "comment",\r
3965         "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
3966         "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
3967         "comments": "",\r
3968         "x": 4007.884033203125,\r
3969         "y": 4303.883544921875,\r
3970         "z": "82de8dcf.518d88",\r
3971         "wires": []\r
3972     },\r
3973     {\r
3974         "id": "a3d91414.090028",\r
3975         "type": "set",\r
3976         "name": "set srcTtp OTN layer",\r
3977         "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
3978         "comments": "",\r
3979         "x": 4820.667724609375,\r
3980         "y": 4494.6669921875,\r
3981         "z": "82de8dcf.518d88",\r
3982         "wires": []\r
3983     },\r
3984     {\r
3985         "id": "8bf6af15.0a9a48",\r
3986         "type": "switchNode",\r
3987         "name": "switch provider-id domainA",\r
3988         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
3989         "comments": "",\r
3990         "outputs": 1,\r
3991         "x": 5165.667724609375,\r
3992         "y": 4356.6669921875,\r
3993         "z": "82de8dcf.518d88",\r
3994         "wires": [\r
3995             [\r
3996                 "8859d6ca.2f75b8"\r
3997             ]\r
3998         ]\r
3999     },\r
4000     {\r
4001         "id": "c067ba23.0c8be",\r
4002         "type": "for",\r
4003         "name": "for netwidx..allNetworksList_length",\r
4004         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4005         "comments": "",\r
4006         "outputs": 1,\r
4007         "x": 4872.667724609375,\r
4008         "y": 4350.6669921875,\r
4009         "z": "82de8dcf.518d88",\r
4010         "wires": [\r
4011             [\r
4012                 "8bf6af15.0a9a48"\r
4013             ]\r
4014         ]\r
4015     },\r
4016     {\r
4017         "id": "2da7141c.ae03fc",\r
4018         "type": "not-found",\r
4019         "name": "not-found",\r
4020         "xml": "<outcome value='not-found'>\n",\r
4021         "comments": "",\r
4022         "outputs": 1,\r
4023         "x": 5127.667724609375,\r
4024         "y": 4307.6669921875,\r
4025         "z": "82de8dcf.518d88",\r
4026         "wires": [\r
4027             []\r
4028         ]\r
4029     },\r
4030     {\r
4031         "id": "1cbc0879.d4095",\r
4032         "type": "set",\r
4033         "name": "unset parameters",\r
4034         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4035         "comments": "",\r
4036         "x": 4816.667724609375,\r
4037         "y": 4402.6669921875,\r
4038         "z": "82de8dcf.518d88",\r
4039         "wires": []\r
4040     },\r
4041     {\r
4042         "id": "faedf550.ca72d",\r
4043         "type": "set",\r
4044         "name": "set tmp.pce-src-node",\r
4045         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
4046         "comments": "",\r
4047         "x": 4824.667724609375,\r
4048         "y": 4447.6669921875,\r
4049         "z": "82de8dcf.518d88",\r
4050         "wires": []\r
4051     },\r
4052     {\r
4053         "id": "1b550765.eaf4d1",\r
4054         "type": "set",\r
4055         "name": "unset otnTopoIdSrc",\r
4056         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4057         "comments": "",\r
4058         "x": 4821.667724609375,\r
4059         "y": 4300.6669921875,\r
4060         "z": "82de8dcf.518d88",\r
4061         "wires": []\r
4062     },\r
4063     {\r
4064         "id": "8859d6ca.2f75b8",\r
4065         "type": "outcomeTrue",\r
4066         "name": "true",\r
4067         "xml": "<outcome value='true'>\n",\r
4068         "comments": "",\r
4069         "outputs": 1,\r
4070         "x": 5074.667724609375,\r
4071         "y": 4424.6669921875,\r
4072         "z": "82de8dcf.518d88",\r
4073         "wires": [\r
4074             [\r
4075                 "b9fd6938.f76ca8"\r
4076             ]\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "b9fd6938.f76ca8",\r
4081         "type": "switchNode",\r
4082         "name": "switch te-topo-id",\r
4083         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4084         "comments": "",\r
4085         "outputs": 1,\r
4086         "x": 5259.667724609375,\r
4087         "y": 4423.6669921875,\r
4088         "z": "82de8dcf.518d88",\r
4089         "wires": [\r
4090             [\r
4091                 "d7c2d227.430278"\r
4092             ]\r
4093         ]\r
4094     },\r
4095     {\r
4096         "id": "d7c2d227.430278",\r
4097         "type": "outcomeTrue",\r
4098         "name": "true",\r
4099         "xml": "<outcome value='true'>\n",\r
4100         "comments": "",\r
4101         "outputs": 1,\r
4102         "x": 5451.667724609375,\r
4103         "y": 4426.6669921875,\r
4104         "z": "82de8dcf.518d88",\r
4105         "wires": [\r
4106             [\r
4107                 "9062d4ad.31e34"\r
4108             ]\r
4109         ]\r
4110     },\r
4111     {\r
4112         "id": "9062d4ad.31e34",\r
4113         "type": "set",\r
4114         "name": "set otnTopoIdSrc",\r
4115         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4116         "comments": "",\r
4117         "x": 5623.667724609375,\r
4118         "y": 4422.6669921875,\r
4119         "z": "82de8dcf.518d88",\r
4120         "wires": []\r
4121     },\r
4122     {\r
4123         "id": "c312f389.231768",\r
4124         "type": "call",\r
4125         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
4126         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4127         "comments": "",\r
4128         "outputs": 1,\r
4129         "x": 4999.667724609375,\r
4130         "y": 4537.6669921875,\r
4131         "z": "82de8dcf.518d88",\r
4132         "wires": [\r
4133             []\r
4134         ]\r
4135     },\r
4136     {\r
4137         "id": "ca74ec50.92ce48",\r
4138         "type": "block",\r
4139         "name": "block",\r
4140         "xml": "<block>\n",\r
4141         "atomic": "false",\r
4142         "comments": "",\r
4143         "outputs": 1,\r
4144         "x": 4516.667724609375,\r
4145         "y": 4322.6669921875,\r
4146         "z": "82de8dcf.518d88",\r
4147         "wires": [\r
4148             [\r
4149                 "3f12b93a.0cf81e",\r
4150                 "24786620.817bb2",\r
4151                 "1cbc0879.d4095",\r
4152                 "faedf550.ca72d",\r
4153                 "a3d91414.090028",\r
4154                 "c067ba23.0c8be",\r
4155                 "c312f389.231768"\r
4156             ]\r
4157         ]\r
4158     },\r
4159     {\r
4160         "id": "1877ba6b.c5c236",\r
4161         "type": "comment",\r
4162         "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4163         "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4164         "comments": "",\r
4165         "x": 4501.667724609375,\r
4166         "y": 4256.6669921875,\r
4167         "z": "82de8dcf.518d88",\r
4168         "wires": []\r
4169     },\r
4170     {\r
4171         "id": "24786620.817bb2",\r
4172         "type": "get-resource",\r
4173         "name": "get-resource network-resources-list",\r
4174         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
4175         "comments": "",\r
4176         "outputs": 1,\r
4177         "x": 4880.667724609375,\r
4178         "y": 4243.6669921875,\r
4179         "z": "82de8dcf.518d88",\r
4180         "wires": [\r
4181             [\r
4182                 "c082f0f0.3fe63",\r
4183                 "8aa79b73.5d91b",\r
4184                 "2da7141c.ae03fc"\r
4185             ]\r
4186         ]\r
4187     },\r
4188     {\r
4189         "id": "c082f0f0.3fe63",\r
4190         "type": "success",\r
4191         "name": "success",\r
4192         "xml": "<outcome value='success'>\n",\r
4193         "comments": "",\r
4194         "outputs": 1,\r
4195         "x": 5116.667724609375,\r
4196         "y": 4226.6669921875,\r
4197         "z": "82de8dcf.518d88",\r
4198         "wires": [\r
4199             []\r
4200         ]\r
4201     },\r
4202     {\r
4203         "id": "8aa79b73.5d91b",\r
4204         "type": "other",\r
4205         "name": "other",\r
4206         "xml": "<outcome value='Other'>\n",\r
4207         "comments": "",\r
4208         "outputs": 1,\r
4209         "x": 5113.667724609375,\r
4210         "y": 4267.6669921875,\r
4211         "z": "82de8dcf.518d88",\r
4212         "wires": [\r
4213             []\r
4214         ]\r
4215     },\r
4216     {\r
4217         "id": "3f12b93a.0cf81e",\r
4218         "type": "set",\r
4219         "name": "unset parameters",\r
4220         "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4221         "comments": "",\r
4222         "x": 4829.667724609375,\r
4223         "y": 4200.6669921875,\r
4224         "z": "82de8dcf.518d88",\r
4225         "wires": []\r
4226     },\r
4227     {\r
4228         "id": "76172197.657ac",\r
4229         "type": "set",\r
4230         "name": "unset tmp.aai.all-vpn-bindings",\r
4231         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
4232         "comments": "",\r
4233         "x": 4336.667724609375,\r
4234         "y": 4655.06689453125,\r
4235         "z": "82de8dcf.518d88",\r
4236         "wires": []\r
4237     },\r
4238     {\r
4239         "id": "d9693eef.d5133",\r
4240         "type": "comment",\r
4241         "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
4242         "info": "",\r
4243         "comments": "",\r
4244         "x": 4459.968017578125,\r
4245         "y": 4694.06689453125,\r
4246         "z": "82de8dcf.518d88",\r
4247         "wires": []\r
4248     },\r
4249     {\r
4250         "id": "2a3f4733.a29bc",\r
4251         "type": "save",\r
4252         "name": "get all-vpn-bindings from aai",\r
4253         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
4254         "comments": "",\r
4255         "outputs": 1,\r
4256         "x": 4357.968017578125,\r
4257         "y": 4729.06689453125,\r
4258         "z": "82de8dcf.518d88",\r
4259         "wires": [\r
4260             [\r
4261                 "e8babd58.4782b",\r
4262                 "e0bbecb2.837888",\r
4263                 "bb53595.0530328"\r
4264             ]\r
4265         ]\r
4266     },\r
4267     {\r
4268         "id": "e8babd58.4782b",\r
4269         "type": "success",\r
4270         "name": "success",\r
4271         "xml": "<outcome value='success'>\n",\r
4272         "comments": "",\r
4273         "outputs": 1,\r
4274         "x": 4562.968017578125,\r
4275         "y": 4726.06689453125,\r
4276         "z": "82de8dcf.518d88",\r
4277         "wires": [\r
4278             [\r
4279                 "8299b116.2a1f1"\r
4280             ]\r
4281         ]\r
4282     },\r
4283     {\r
4284         "id": "e0bbecb2.837888",\r
4285         "type": "not-found",\r
4286         "name": "not-found",\r
4287         "xml": "<outcome value='not-found'>\n",\r
4288         "comments": "",\r
4289         "outputs": 1,\r
4290         "x": 4546.458984375,\r
4291         "y": 4787.640930175781,\r
4292         "z": "82de8dcf.518d88",\r
4293         "wires": [\r
4294             [\r
4295                 "af952dc7.60185"\r
4296             ]\r
4297         ]\r
4298     },\r
4299     {\r
4300         "id": "bb53595.0530328",\r
4301         "type": "failure",\r
4302         "name": "failure",\r
4303         "xml": "<outcome value='failure'>\n",\r
4304         "comments": "",\r
4305         "outputs": 1,\r
4306         "x": 4543.968017578125,\r
4307         "y": 4831.06689453125,\r
4308         "z": "82de8dcf.518d88",\r
4309         "wires": [\r
4310             [\r
4311                 "a2d64007.4e8e68"\r
4312             ]\r
4313         ]\r
4314     },\r
4315     {\r
4316         "id": "8299b116.2a1f1",\r
4317         "type": "block",\r
4318         "name": "block : atomic",\r
4319         "xml": "<block atomic=\"true\">",\r
4320         "atomic": "true",\r
4321         "outputs": 1,\r
4322         "x": 4730.96826171875,\r
4323         "y": 4721.06689453125,\r
4324         "z": "82de8dcf.518d88",\r
4325         "wires": [\r
4326             [\r
4327                 "575eea2a.c26ae4"\r
4328             ]\r
4329         ]\r
4330     },\r
4331     {\r
4332         "id": "af952dc7.60185",\r
4333         "type": "returnFailure",\r
4334         "name": "return failure",\r
4335         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
4336         "comments": "",\r
4337         "x": 4709.0303955078125,\r
4338         "y": 4787.926666259766,\r
4339         "z": "82de8dcf.518d88",\r
4340         "wires": []\r
4341     },\r
4342     {\r
4343         "id": "a2d64007.4e8e68",\r
4344         "type": "returnFailure",\r
4345         "name": "return failure",\r
4346         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4347         "comments": "",\r
4348         "x": 4710.968017578125,\r
4349         "y": 4830.06689453125,\r
4350         "z": "82de8dcf.518d88",\r
4351         "wires": []\r
4352     },\r
4353     {\r
4354         "id": "575eea2a.c26ae4",\r
4355         "type": "for",\r
4356         "name": "for vpnidx in all-vpn-bindings",\r
4357         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4358         "comments": "",\r
4359         "outputs": 1,\r
4360         "x": 4968.96826171875,\r
4361         "y": 4726.06689453125,\r
4362         "z": "82de8dcf.518d88",\r
4363         "wires": [\r
4364             [\r
4365                 "b0cdcdcc.86b948"\r
4366             ]\r
4367         ]\r
4368     },\r
4369     {\r
4370         "id": "b0cdcdcc.86b948",\r
4371         "type": "block",\r
4372         "name": "block : atomic",\r
4373         "xml": "<block atomic='true'>",\r
4374         "atomic": "true",\r
4375         "comments": "",\r
4376         "outputs": 1,\r
4377         "x": 5202.968017578125,\r
4378         "y": 4733.06689453125,\r
4379         "z": "82de8dcf.518d88",\r
4380         "wires": [\r
4381             [\r
4382                 "fe17da41.8d7458"\r
4383             ]\r
4384         ]\r
4385     },\r
4386     {\r
4387         "id": "63f7f511.d89814",\r
4388         "type": "comment",\r
4389         "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4390         "info": "",\r
4391         "comments": "",\r
4392         "x": 5188.784423828125,\r
4393         "y": 4955.2333984375,\r
4394         "z": "82de8dcf.518d88",\r
4395         "wires": []\r
4396     },\r
4397     {\r
4398         "id": "fe17da41.8d7458",\r
4399         "type": "switchNode",\r
4400         "name": "switch ops-note is srcTtpOtnLayer",\r
4401         "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4402         "comments": "",\r
4403         "outputs": 1,\r
4404         "x": 5221.784423828125,\r
4405         "y": 5023.2333984375,\r
4406         "z": "82de8dcf.518d88",\r
4407         "wires": [\r
4408             [\r
4409                 "adceca9b.52be78",\r
4410                 "6371c80.a864db8"\r
4411             ]\r
4412         ]\r
4413     },\r
4414     {\r
4415         "id": "6371c80.a864db8",\r
4416         "type": "outcomeFalse",\r
4417         "name": "false",\r
4418         "xml": "<outcome value='false'>\n",\r
4419         "comments": "",\r
4420         "outputs": 1,\r
4421         "x": 5465.784454345703,\r
4422         "y": 4995.233184814453,\r
4423         "z": "82de8dcf.518d88",\r
4424         "wires": [\r
4425             []\r
4426         ]\r
4427     },\r
4428     {\r
4429         "id": "adceca9b.52be78",\r
4430         "type": "outcomeTrue",\r
4431         "name": "true",\r
4432         "xml": "<outcome value='true'>\n",\r
4433         "comments": "",\r
4434         "outputs": 1,\r
4435         "x": 5346.784423828125,\r
4436         "y": 4921.233154296875,\r
4437         "z": "82de8dcf.518d88",\r
4438         "wires": [\r
4439             [\r
4440                 "eabe2b02.0bc13"\r
4441             ]\r
4442         ]\r
4443     },\r
4444     {\r
4445         "id": "eabe2b02.0bc13",\r
4446         "type": "block",\r
4447         "name": "block : atomic",\r
4448         "xml": "<block atomic='true'>",\r
4449         "atomic": "true",\r
4450         "comments": "",\r
4451         "outputs": 1,\r
4452         "x": 5473.767822265625,\r
4453         "y": 4859.649658203125,\r
4454         "z": "82de8dcf.518d88",\r
4455         "wires": [\r
4456             [\r
4457                 "b15dfc5.1130d",\r
4458                 "7054ba61.11f874",\r
4459                 "e5483e65.23a9a"\r
4460             ]\r
4461         ]\r
4462     },\r
4463     {\r
4464         "id": "771d8350.1c0644",\r
4465         "type": "for",\r
4466         "name": "for each relationship",\r
4467         "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
4468         "comments": "",\r
4469         "outputs": 1,\r
4470         "x": 5709.8173828125,\r
4471         "y": 4743.64990234375,\r
4472         "z": "82de8dcf.518d88",\r
4473         "wires": [\r
4474             [\r
4475                 "3a42df45.8a578"\r
4476             ]\r
4477         ]\r
4478     },\r
4479     {\r
4480         "id": "3a42df45.8a578",\r
4481         "type": "switchNode",\r
4482         "name": "switch related-to",\r
4483         "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
4484         "comments": "",\r
4485         "outputs": 1,\r
4486         "x": 5901.8173828125,\r
4487         "y": 4732.650146484375,\r
4488         "z": "82de8dcf.518d88",\r
4489         "wires": [\r
4490             [\r
4491                 "f5feb746.9bcea8"\r
4492             ]\r
4493         ]\r
4494     },\r
4495     {\r
4496         "id": "b15dfc5.1130d",\r
4497         "type": "set",\r
4498         "name": "unset tmp.aai.the-vpn-binding",\r
4499         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4500         "comments": "",\r
4501         "x": 5658.334228515625,\r
4502         "y": 4633.866943359375,\r
4503         "z": "82de8dcf.518d88",\r
4504         "wires": []\r
4505     },\r
4506     {\r
4507         "id": "7054ba61.11f874",\r
4508         "type": "set",\r
4509         "name": "set tmp.aai.the-vpn-binding",\r
4510         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4511         "comments": "",\r
4512         "x": 5650.334228515625,\r
4513         "y": 4682.866943359375,\r
4514         "z": "82de8dcf.518d88",\r
4515         "wires": []\r
4516     },\r
4517     {\r
4518         "id": "e5483e65.23a9a",\r
4519         "type": "save",\r
4520         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4521         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
4522         "comments": "",\r
4523         "outputs": 1,\r
4524         "x": 5881.751220703125,\r
4525         "y": 4864.032958984375,\r
4526         "z": "82de8dcf.518d88",\r
4527         "wires": [\r
4528             []\r
4529         ]\r
4530     },\r
4531     {\r
4532         "id": "c01f7460.fab75",\r
4533         "type": "save",\r
4534         "name": "update connectivity resource in AAI",\r
4535         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
4536         "comments": "",\r
4537         "outputs": 1,\r
4538         "x": 5833.401123046875,\r
4539         "y": 4911.349853515625,\r
4540         "z": "82de8dcf.518d88",\r
4541         "wires": [\r
4542             []\r
4543         ]\r
4544     },\r
4545     {\r
4546         "id": "a637b405.b076f",\r
4547         "type": "comment",\r
4548         "name": "decrease the bw of the-vpn-binding and change status to modified",\r
4549         "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
4550         "comments": "",\r
4551         "x": 5905.751220703125,\r
4552         "y": 4825.032958984375,\r
4553         "z": "82de8dcf.518d88",\r
4554         "wires": []\r
4555     },\r
4556     {\r
4557         "id": "f5feb746.9bcea8",\r
4558         "type": "outcome",\r
4559         "name": "connectivity",\r
4560         "xml": "<outcome value='connectivity'>\n",\r
4561         "comments": "",\r
4562         "outputs": 1,\r
4563         "x": 6083.8173828125,\r
4564         "y": 4711.650146484375,\r
4565         "z": "82de8dcf.518d88",\r
4566         "wires": [\r
4567             [\r
4568                 "4f7dc832.d994c8"\r
4569             ]\r
4570         ]\r
4571     },\r
4572     {\r
4573         "id": "4f7dc832.d994c8",\r
4574         "type": "block",\r
4575         "name": "block : atomic",\r
4576         "xml": "<block atomic=\"true\">",\r
4577         "atomic": "true",\r
4578         "outputs": 1,\r
4579         "x": 6245.8173828125,\r
4580         "y": 4700.650146484375,\r
4581         "z": "82de8dcf.518d88",\r
4582         "wires": [\r
4583             [\r
4584                 "f7240b03.b46408",\r
4585                 "a1eea84d.7200b"\r
4586             ]\r
4587         ]\r
4588     },\r
4589     {\r
4590         "id": "f7240b03.b46408",\r
4591         "type": "set",\r
4592         "name": "unset tmp.the-connectivity",\r
4593         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
4594         "comments": "",\r
4595         "x": 6442.8173828125,\r
4596         "y": 4629.650146484375,\r
4597         "z": "82de8dcf.518d88",\r
4598         "wires": []\r
4599     },\r
4600     {\r
4601         "id": "a1eea84d.7200b",\r
4602         "type": "set",\r
4603         "name": "set tmp.the-connectivity",\r
4604         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
4605         "comments": "",\r
4606         "x": 6440.2841796875,\r
4607         "y": 4728.866943359375,\r
4608         "z": "82de8dcf.518d88",\r
4609         "wires": []\r
4610     },\r
4611     {\r
4612         "id": "ce0d81bd.d28a7",\r
4613         "type": "call",\r
4614         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
4615         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
4616         "comments": "",\r
4617         "outputs": 1,\r
4618         "x": 3097.800048828125,\r
4619         "y": 3187.683349609375,\r
4620         "z": "82de8dcf.518d88",\r
4621         "wires": [\r
4622             []\r
4623         ]\r
4624     },\r
4625     {\r
4626         "id": "7f04acf4.5afc3c",\r
4627         "type": "switchNode",\r
4628         "name": "switch found-middle-man?",\r
4629         "xml": "<switch test='`$found-middle-man`'>\n",\r
4630         "comments": "",\r
4631         "outputs": 1,\r
4632         "x": 2974.800048828125,\r
4633         "y": 3297.683349609375,\r
4634         "z": "82de8dcf.518d88",\r
4635         "wires": [\r
4636             [\r
4637                 "d1c2eeb4.215af8",\r
4638                 "f1f6bb53.ccd5d8"\r
4639             ]\r
4640         ]\r
4641     },\r
4642     {\r
4643         "id": "d1c2eeb4.215af8",\r
4644         "type": "outcomeFalse",\r
4645         "name": "false",\r
4646         "xml": "<outcome value='false'>\n",\r
4647         "comments": "",\r
4648         "outputs": 1,\r
4649         "x": 3158.800048828125,\r
4650         "y": 3276.683349609375,\r
4651         "z": "82de8dcf.518d88",\r
4652         "wires": [\r
4653             [\r
4654                 "d53b6d30.115bd"\r
4655             ]\r
4656         ]\r
4657     },\r
4658     {\r
4659         "id": "d53b6d30.115bd",\r
4660         "type": "block",\r
4661         "name": "block : atomic",\r
4662         "xml": "<block atomic='true'>",\r
4663         "atomic": "true",\r
4664         "comments": "",\r
4665         "outputs": 1,\r
4666         "x": 3301.800048828125,\r
4667         "y": 3276.683349609375,\r
4668         "z": "82de8dcf.518d88",\r
4669         "wires": [\r
4670             [\r
4671                 "5f773b5f.84092c"\r
4672             ]\r
4673         ]\r
4674     },\r
4675     {\r
4676         "id": "5f773b5f.84092c",\r
4677         "type": "returnFailure",\r
4678         "name": "return failure",\r
4679         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
4680         "comments": "",\r
4681         "x": 3477.800048828125,\r
4682         "y": 3274.683349609375,\r
4683         "z": "82de8dcf.518d88",\r
4684         "wires": []\r
4685     },\r
4686     {\r
4687         "id": "f1f6bb53.ccd5d8",\r
4688         "type": "outcomeTrue",\r
4689         "name": "true",\r
4690         "xml": "<outcome value='true'>\n",\r
4691         "comments": "",\r
4692         "outputs": 1,\r
4693         "x": 3156.800048828125,\r
4694         "y": 3331.683349609375,\r
4695         "z": "82de8dcf.518d88",\r
4696         "wires": [\r
4697             [\r
4698                 "e42ba1d9.fa7b7"\r
4699             ]\r
4700         ]\r
4701     },\r
4702     {\r
4703         "id": "e42ba1d9.fa7b7",\r
4704         "type": "block",\r
4705         "name": "block : atomic",\r
4706         "xml": "<block atomic='true'>",\r
4707         "atomic": "true",\r
4708         "comments": "",\r
4709         "outputs": 1,\r
4710         "x": 3003.800048828125,\r
4711         "y": 3464.683349609375,\r
4712         "z": "82de8dcf.518d88",\r
4713         "wires": [\r
4714             [\r
4715                 "44b90aa0.b32f1c",\r
4716                 "2a719f3a.33348",\r
4717                 "33975a1e.497a26",\r
4718                 "c19f56be.5aa798",\r
4719                 "eb35e3d0.6d25d",\r
4720                 "5aebe180.f62f68"\r
4721             ]\r
4722         ]\r
4723     },\r
4724     {\r
4725         "id": "5c85f7ca.d8c4a",\r
4726         "type": "comment",\r
4727         "name": "Find LEAF connectivity",\r
4728         "info": "",\r
4729         "comments": "",\r
4730         "x": 3225.88330078125,\r
4731         "y": 3704.88330078125,\r
4732         "z": "82de8dcf.518d88",\r
4733         "wires": []\r
4734     },\r
4735     {\r
4736         "id": "c19f56be.5aa798",\r
4737         "type": "set",\r
4738         "name": "set tmp.MMstillHasUni to FALSE",\r
4739         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
4740         "comments": "",\r
4741         "x": 3308.333251953125,\r
4742         "y": 3477.683349609375,\r
4743         "z": "82de8dcf.518d88",\r
4744         "wires": []\r
4745     },\r
4746     {\r
4747         "id": "eb35e3d0.6d25d",\r
4748         "type": "for",\r
4749         "name": "for each relationship of middle-man-conn",\r
4750         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
4751         "comments": "",\r
4752         "outputs": 1,\r
4753         "x": 3306.8330078125,\r
4754         "y": 3523.60009765625,\r
4755         "z": "82de8dcf.518d88",\r
4756         "wires": [\r
4757             [\r
4758                 "ca4bb58e.913108"\r
4759             ]\r
4760         ]\r
4761     },\r
4762     {\r
4763         "id": "ca4bb58e.913108",\r
4764         "type": "switchNode",\r
4765         "name": "switch related-to",\r
4766         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
4767         "comments": "",\r
4768         "outputs": 1,\r
4769         "x": 3569.8330078125,\r
4770         "y": 3518.60009765625,\r
4771         "z": "82de8dcf.518d88",\r
4772         "wires": [\r
4773             [\r
4774                 "468a474d.40c4d8"\r
4775             ]\r
4776         ]\r
4777     },\r
4778     {\r
4779         "id": "468a474d.40c4d8",\r
4780         "type": "outcome",\r
4781         "name": "uni",\r
4782         "xml": "<outcome value='uni'>\n",\r
4783         "comments": "",\r
4784         "outputs": 1,\r
4785         "x": 3729.83251953125,\r
4786         "y": 3498.60009765625,\r
4787         "z": "82de8dcf.518d88",\r
4788         "wires": [\r
4789             [\r
4790                 "e61de8ad.7030f"\r
4791             ]\r
4792         ]\r
4793     },\r
4794     {\r
4795         "id": "3444ada9.d2b992",\r
4796         "type": "block",\r
4797         "name": "block : atomic",\r
4798         "xml": "<block atomic=\"true\">",\r
4799         "atomic": "true",\r
4800         "outputs": 1,\r
4801         "x": 4498.833740234375,\r
4802         "y": 3533.60009765625,\r
4803         "z": "82de8dcf.518d88",\r
4804         "wires": [\r
4805             [\r
4806                 "7b31b3f.9c4444c",\r
4807                 "31b46b09.5b560c",\r
4808                 "a9c3a9a9.0f7c28"\r
4809             ]\r
4810         ]\r
4811     },\r
4812     {\r
4813         "id": "7b31b3f.9c4444c",\r
4814         "type": "set",\r
4815         "name": "set tmp.MMstillHasUni to TRUE",\r
4816         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
4817         "comments": "",\r
4818         "x": 4738.334228515625,\r
4819         "y": 3482.683349609375,\r
4820         "z": "82de8dcf.518d88",\r
4821         "wires": []\r
4822     },\r
4823     {\r
4824         "id": "31b46b09.5b560c",\r
4825         "type": "break",\r
4826         "name": "break",\r
4827         "xml": "<break>\n",\r
4828         "comments": "",\r
4829         "x": 4671.567657470703,\r
4830         "y": 3555.683380126953,\r
4831         "z": "82de8dcf.518d88",\r
4832         "wires": []\r
4833     },\r
4834     {\r
4835         "id": "dbe78677.7f04b8",\r
4836         "type": "comment",\r
4837         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
4838         "info": "",\r
4839         "comments": "",\r
4840         "x": 4432.88427734375,\r
4841         "y": 5085.883544921875,\r
4842         "z": "82de8dcf.518d88",\r
4843         "wires": []\r
4844     },\r
4845     {\r
4846         "id": "c850b8e4.0504c8",\r
4847         "type": "set",\r
4848         "name": "set tmp.leafconn.",\r
4849         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
4850         "comments": "",\r
4851         "x": 4331.317138671875,\r
4852         "y": 5137.800048828125,\r
4853         "z": "82de8dcf.518d88",\r
4854         "wires": []\r
4855     },\r
4856     {\r
4857         "id": "ca7e6690.5ab92",\r
4858         "type": "call",\r
4859         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4860         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4861         "comments": "",\r
4862         "outputs": 1,\r
4863         "x": 4482.317138671875,\r
4864         "y": 5580.800048828125,\r
4865         "z": "82de8dcf.518d88",\r
4866         "wires": [\r
4867             []\r
4868         ]\r
4869     },\r
4870     {\r
4871         "id": "26004944.36227e",\r
4872         "type": "switchNode",\r
4873         "name": "switch found-root-connectivity",\r
4874         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4875         "comments": "",\r
4876         "outputs": 1,\r
4877         "x": 4297.317138671875,\r
4878         "y": 5647.800048828125,\r
4879         "z": "82de8dcf.518d88",\r
4880         "wires": [\r
4881             [\r
4882                 "c57768ca.7a8088",\r
4883                 "7224490d.b02598"\r
4884             ]\r
4885         ]\r
4886     },\r
4887     {\r
4888         "id": "c57768ca.7a8088",\r
4889         "type": "outcomeTrue",\r
4890         "name": "true",\r
4891         "xml": "<outcome value='true'>\n",\r
4892         "comments": "",\r
4893         "outputs": 1,\r
4894         "x": 4562.317138671875,\r
4895         "y": 5632.800048828125,\r
4896         "z": "82de8dcf.518d88",\r
4897         "wires": [\r
4898             [\r
4899                 "25615183.2d4bd6"\r
4900             ]\r
4901         ]\r
4902     },\r
4903     {\r
4904         "id": "7224490d.b02598",\r
4905         "type": "outcomeFalse",\r
4906         "name": "false",\r
4907         "xml": "<outcome value='false'>\n",\r
4908         "comments": "",\r
4909         "outputs": 1,\r
4910         "x": 4558.317138671875,\r
4911         "y": 5680.800048828125,\r
4912         "z": "82de8dcf.518d88",\r
4913         "wires": [\r
4914             [\r
4915                 "5dcdd7b9.89499"\r
4916             ]\r
4917         ]\r
4918     },\r
4919     {\r
4920         "id": "25615183.2d4bd6",\r
4921         "type": "block",\r
4922         "name": "block : atomic",\r
4923         "xml": "<block atomic='true'>",\r
4924         "atomic": "true",\r
4925         "comments": "",\r
4926         "outputs": 1,\r
4927         "x": 4718.317138671875,\r
4928         "y": 5628.800048828125,\r
4929         "z": "82de8dcf.518d88",\r
4930         "wires": [\r
4931             [\r
4932                 "9b98cd10.6cfb68"\r
4933             ]\r
4934         ]\r
4935     },\r
4936     {\r
4937         "id": "5dcdd7b9.89499",\r
4938         "type": "returnFailure",\r
4939         "name": "return failure",\r
4940         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4941         "comments": "",\r
4942         "x": 4706.317138671875,\r
4943         "y": 5675.800048828125,\r
4944         "z": "82de8dcf.518d88",\r
4945         "wires": []\r
4946     },\r
4947     {\r
4948         "id": "f97c958c.da83b8",\r
4949         "type": "set",\r
4950         "name": "set tmp.rootconn.",\r
4951         "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
4952         "comments": "",\r
4953         "x": 5138.3173828125,\r
4954         "y": 5570.800048828125,\r
4955         "z": "82de8dcf.518d88",\r
4956         "wires": []\r
4957     },\r
4958     {\r
4959         "id": "903178c6.839788",\r
4960         "type": "set",\r
4961         "name": "set pnf-name",\r
4962         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
4963         "comments": "",\r
4964         "x": 4540.734130859375,\r
4965         "y": 5167.083740234375,\r
4966         "z": "82de8dcf.518d88",\r
4967         "wires": []\r
4968     },\r
4969     {\r
4970         "id": "46570b89.8afbb4",\r
4971         "type": "block",\r
4972         "name": "block : atomic",\r
4973         "xml": "<block atomic=\"true\">",\r
4974         "atomic": "true",\r
4975         "outputs": 1,\r
4976         "x": 4311.734130859375,\r
4977         "y": 5256.083740234375,\r
4978         "z": "82de8dcf.518d88",\r
4979         "wires": [\r
4980             [\r
4981                 "903178c6.839788",\r
4982                 "42c91ccf.e64244"\r
4983             ]\r
4984         ]\r
4985     },\r
4986     {\r
4987         "id": "42c91ccf.e64244",\r
4988         "type": "get-resource",\r
4989         "name": "get-resource src pnf",\r
4990         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4991         "comments": "",\r
4992         "outputs": 1,\r
4993         "x": 4547.734130859375,\r
4994         "y": 5249.083740234375,\r
4995         "z": "82de8dcf.518d88",\r
4996         "wires": [\r
4997             [\r
4998                 "30eabd9c.98c532",\r
4999                 "66fbb0fb.26a3f",\r
5000                 "fbd21163.a12cd8"\r
5001             ]\r
5002         ]\r
5003     },\r
5004     {\r
5005         "id": "30eabd9c.98c532",\r
5006         "type": "success",\r
5007         "name": "success",\r
5008         "xml": "<outcome value='success'>\n",\r
5009         "comments": "",\r
5010         "outputs": 1,\r
5011         "x": 4743.2342529296875,\r
5012         "y": 5201.083740234375,\r
5013         "z": "82de8dcf.518d88",\r
5014         "wires": [\r
5015             [\r
5016                 "26c5ac0c.2065fc"\r
5017             ]\r
5018         ]\r
5019     },\r
5020     {\r
5021         "id": "66fbb0fb.26a3f",\r
5022         "type": "not-found",\r
5023         "name": "not-found",\r
5024         "xml": "<outcome value='not-found'>\n",\r
5025         "comments": "",\r
5026         "outputs": 1,\r
5027         "x": 4735.2342529296875,\r
5028         "y": 5256.083740234375,\r
5029         "z": "82de8dcf.518d88",\r
5030         "wires": [\r
5031             [\r
5032                 "a0a0372d.9d324"\r
5033             ]\r
5034         ]\r
5035     },\r
5036     {\r
5037         "id": "26c5ac0c.2065fc",\r
5038         "type": "block",\r
5039         "name": "block",\r
5040         "xml": "<block>\n",\r
5041         "atomic": "false",\r
5042         "comments": "",\r
5043         "outputs": 1,\r
5044         "x": 4887.6165771484375,\r
5045         "y": 5200.739410400391,\r
5046         "z": "82de8dcf.518d88",\r
5047         "wires": [\r
5048             [\r
5049                 "40d1dc2e.899afc"\r
5050             ]\r
5051         ]\r
5052     },\r
5053     {\r
5054         "id": "40d1dc2e.899afc",\r
5055         "type": "for",\r
5056         "name": "for each relationship",\r
5057         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5058         "comments": "",\r
5059         "outputs": 1,\r
5060         "x": 5071.734130859375,\r
5061         "y": 5199.083740234375,\r
5062         "z": "82de8dcf.518d88",\r
5063         "wires": [\r
5064             [\r
5065                 "137e1346.633fe5"\r
5066             ]\r
5067         ]\r
5068     },\r
5069     {\r
5070         "id": "137e1346.633fe5",\r
5071         "type": "switchNode",\r
5072         "name": "switch related-to",\r
5073         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5074         "comments": "",\r
5075         "outputs": 1,\r
5076         "x": 5266.734130859375,\r
5077         "y": 5199.083740234375,\r
5078         "z": "82de8dcf.518d88",\r
5079         "wires": [\r
5080             [\r
5081                 "19ce94ba.82e9d3"\r
5082             ]\r
5083         ]\r
5084     },\r
5085     {\r
5086         "id": "fbd21163.a12cd8",\r
5087         "type": "other",\r
5088         "name": "other",\r
5089         "xml": "<outcome value='Other'>\n",\r
5090         "comments": "",\r
5091         "outputs": 1,\r
5092         "x": 4740.2342529296875,\r
5093         "y": 5313.083740234375,\r
5094         "z": "82de8dcf.518d88",\r
5095         "wires": [\r
5096             [\r
5097                 "4a6cd196.293db"\r
5098             ]\r
5099         ]\r
5100     },\r
5101     {\r
5102         "id": "4a6cd196.293db",\r
5103         "type": "returnFailure",\r
5104         "name": "return failure",\r
5105         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5106         "comments": "",\r
5107         "x": 4892.2342529296875,\r
5108         "y": 5314.083740234375,\r
5109         "z": "82de8dcf.518d88",\r
5110         "wires": []\r
5111     },\r
5112     {\r
5113         "id": "a0a0372d.9d324",\r
5114         "type": "returnFailure",\r
5115         "name": "return failure",\r
5116         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5117         "comments": "",\r
5118         "x": 4903.2342529296875,\r
5119         "y": 5257.083740234375,\r
5120         "z": "82de8dcf.518d88",\r
5121         "wires": []\r
5122     },\r
5123     {\r
5124         "id": "1398b0a6.59adbf",\r
5125         "type": "block",\r
5126         "name": "block : atomic",\r
5127         "xml": "<block atomic=\"true\">",\r
5128         "atomic": "true",\r
5129         "outputs": 1,\r
5130         "x": 5648.734130859375,\r
5131         "y": 5203.083740234375,\r
5132         "z": "82de8dcf.518d88",\r
5133         "wires": [\r
5134             [\r
5135                 "ac703b64.91e208",\r
5136                 "60a60a9a.326334",\r
5137                 "feb4d66b.8d20f"\r
5138             ]\r
5139         ]\r
5140     },\r
5141     {\r
5142         "id": "19ce94ba.82e9d3",\r
5143         "type": "outcome",\r
5144         "name": "esr-thirdparty-sdnc",\r
5145         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5146         "comments": "",\r
5147         "outputs": 1,\r
5148         "x": 5469.734130859375,\r
5149         "y": 5203.083740234375,\r
5150         "z": "82de8dcf.518d88",\r
5151         "wires": [\r
5152             [\r
5153                 "1398b0a6.59adbf"\r
5154             ]\r
5155         ]\r
5156     },\r
5157     {\r
5158         "id": "60a60a9a.326334",\r
5159         "type": "execute",\r
5160         "name": "get esr-thirdparty-sdnc",\r
5161         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5162         "comments": "",\r
5163         "outputs": 1,\r
5164         "x": 5854.734130859375,\r
5165         "y": 5216.083740234375,\r
5166         "z": "82de8dcf.518d88",\r
5167         "wires": [\r
5168             [\r
5169                 "9885a0c6.ee00f8",\r
5170                 "a77a3d25.4123b",\r
5171                 "3b9ca266.b8d5f6"\r
5172             ]\r
5173         ]\r
5174     },\r
5175     {\r
5176         "id": "ac703b64.91e208",\r
5177         "type": "set",\r
5178         "name": "set esr-thirdparty-sdnc domain id",\r
5179         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5180         "comments": "",\r
5181         "x": 5884.734130859375,\r
5182         "y": 5164.083740234375,\r
5183         "z": "82de8dcf.518d88",\r
5184         "wires": []\r
5185     },\r
5186     {\r
5187         "id": "9885a0c6.ee00f8",\r
5188         "type": "success",\r
5189         "name": "success",\r
5190         "xml": "<outcome value='success'>\n",\r
5191         "comments": "",\r
5192         "outputs": 1,\r
5193         "x": 6064.734130859375,\r
5194         "y": 5207.083740234375,\r
5195         "z": "82de8dcf.518d88",\r
5196         "wires": [\r
5197             [\r
5198                 "fd819e5.0208ae"\r
5199             ]\r
5200         ]\r
5201     },\r
5202     {\r
5203         "id": "a77a3d25.4123b",\r
5204         "type": "not-found",\r
5205         "name": "not-found",\r
5206         "xml": "<outcome value='not-found'>\n",\r
5207         "comments": "",\r
5208         "outputs": 1,\r
5209         "x": 6056.734130859375,\r
5210         "y": 5262.083740234375,\r
5211         "z": "82de8dcf.518d88",\r
5212         "wires": [\r
5213             [\r
5214                 "9503eaf8.25455"\r
5215             ]\r
5216         ]\r
5217     },\r
5218     {\r
5219         "id": "3b9ca266.b8d5f6",\r
5220         "type": "other",\r
5221         "name": "other",\r
5222         "xml": "<outcome value='Other'>\n",\r
5223         "comments": "",\r
5224         "outputs": 1,\r
5225         "x": 6061.734130859375,\r
5226         "y": 5319.083740234375,\r
5227         "z": "82de8dcf.518d88",\r
5228         "wires": [\r
5229             [\r
5230                 "2f6c8ed.964c6f2"\r
5231             ]\r
5232         ]\r
5233     },\r
5234     {\r
5235         "id": "2f6c8ed.964c6f2",\r
5236         "type": "returnFailure",\r
5237         "name": "return failure",\r
5238         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5239         "comments": "",\r
5240         "x": 6213.734130859375,\r
5241         "y": 5320.083740234375,\r
5242         "z": "82de8dcf.518d88",\r
5243         "wires": []\r
5244     },\r
5245     {\r
5246         "id": "9503eaf8.25455",\r
5247         "type": "returnFailure",\r
5248         "name": "return failure",\r
5249         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5250         "comments": "",\r
5251         "x": 6224.734130859375,\r
5252         "y": 5265.083740234375,\r
5253         "z": "82de8dcf.518d88",\r
5254         "wires": []\r
5255     },\r
5256     {\r
5257         "id": "fd819e5.0208ae",\r
5258         "type": "block",\r
5259         "name": "block",\r
5260         "xml": "<block>\n",\r
5261         "atomic": "false",\r
5262         "comments": "",\r
5263         "outputs": 1,\r
5264         "x": 6209.116455078125,\r
5265         "y": 5204.739410400391,\r
5266         "z": "82de8dcf.518d88",\r
5267         "wires": [\r
5268             [\r
5269                 "fdf4316f.fecc18"\r
5270             ]\r
5271         ]\r
5272     },\r
5273     {\r
5274         "id": "fdf4316f.fecc18",\r
5275         "type": "set",\r
5276         "name": "set controller domain data",\r
5277         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
5278         "comments": "",\r
5279         "x": 6423.734130859375,\r
5280         "y": 5201.083740234375,\r
5281         "z": "82de8dcf.518d88",\r
5282         "wires": []\r
5283     },\r
5284     {\r
5285         "id": "feb4d66b.8d20f",\r
5286         "type": "break",\r
5287         "name": "break",\r
5288         "xml": "<break>\n",\r
5289         "comments": "",\r
5290         "x": 5804.734130859375,\r
5291         "y": 5280.083740234375,\r
5292         "z": "82de8dcf.518d88",\r
5293         "wires": []\r
5294     },\r
5295     {\r
5296         "id": "819543bf.270a9",\r
5297         "type": "execute",\r
5298         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
5299         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
5300         "comments": "",\r
5301         "outputs": 1,\r
5302         "x": 4453.234375,\r
5303         "y": 5360.683349609375,\r
5304         "z": "82de8dcf.518d88",\r
5305         "wires": [\r
5306             [\r
5307                 "fe68d2f2.044a28",\r
5308                 "9d6b0bdc.79122"\r
5309             ]\r
5310         ]\r
5311     },\r
5312     {\r
5313         "id": "fe68d2f2.044a28",\r
5314         "type": "failure",\r
5315         "name": "failure",\r
5316         "xml": "<outcome value='failure'>\n",\r
5317         "comments": "",\r
5318         "outputs": 1,\r
5319         "x": 4813.734130859375,\r
5320         "y": 5368.683349609375,\r
5321         "z": "82de8dcf.518d88",\r
5322         "wires": [\r
5323             [\r
5324                 "dd8bd538.48e76"\r
5325             ]\r
5326         ]\r
5327     },\r
5328     {\r
5329         "id": "dd8bd538.48e76",\r
5330         "type": "returnFailure",\r
5331         "name": "return failure",\r
5332         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
5333         "comments": "",\r
5334         "x": 4971.734130859375,\r
5335         "y": 5368.683349609375,\r
5336         "z": "82de8dcf.518d88",\r
5337         "wires": []\r
5338     },\r
5339     {\r
5340         "id": "17aac5bf.8ce3ca",\r
5341         "type": "block",\r
5342         "name": "block : atomic",\r
5343         "xml": "<block atomic=\"true\">",\r
5344         "atomic": "true",\r
5345         "comments": "",\r
5346         "outputs": 1,\r
5347         "x": 4975.234130859375,\r
5348         "y": 5408.683349609375,\r
5349         "z": "82de8dcf.518d88",\r
5350         "wires": [\r
5351             []\r
5352         ]\r
5353     },\r
5354     {\r
5355         "id": "9d6b0bdc.79122",\r
5356         "type": "success",\r
5357         "name": "success",\r
5358         "xml": "<outcome value='success'>\n",\r
5359         "comments": "",\r
5360         "outputs": 1,\r
5361         "x": 4817.734130859375,\r
5362         "y": 5408.683349609375,\r
5363         "z": "82de8dcf.518d88",\r
5364         "wires": [\r
5365             [\r
5366                 "17aac5bf.8ce3ca"\r
5367             ]\r
5368         ]\r
5369     },\r
5370     {\r
5371         "id": "67f63093.820248",\r
5372         "type": "block",\r
5373         "name": "block : atomic",\r
5374         "xml": "<block atomic=\"true\">",\r
5375         "atomic": "true",\r
5376         "outputs": 1,\r
5377         "x": 5126.451171875,\r
5378         "y": 5622.683349609375,\r
5379         "z": "82de8dcf.518d88",\r
5380         "wires": [\r
5381             [\r
5382                 "9523ac21.fb27e8",\r
5383                 "ee545a84.5a0b8"\r
5384             ]\r
5385         ]\r
5386     },\r
5387     {\r
5388         "id": "ee545a84.5a0b8",\r
5389         "type": "get-resource",\r
5390         "name": "get-resource src pnf",\r
5391         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
5392         "comments": "",\r
5393         "outputs": 1,\r
5394         "x": 5368.450927734375,\r
5395         "y": 5572.683349609375,\r
5396         "z": "82de8dcf.518d88",\r
5397         "wires": [\r
5398             [\r
5399                 "3e67e67b.64c0f2",\r
5400                 "83fa1a94.1fdef",\r
5401                 "8d7d3b80.341b3"\r
5402             ]\r
5403         ]\r
5404     },\r
5405     {\r
5406         "id": "3e67e67b.64c0f2",\r
5407         "type": "success",\r
5408         "name": "success",\r
5409         "xml": "<outcome value='success'>\n",\r
5410         "comments": "",\r
5411         "outputs": 1,\r
5412         "x": 5563.951171875,\r
5413         "y": 5506.683349609375,\r
5414         "z": "82de8dcf.518d88",\r
5415         "wires": [\r
5416             [\r
5417                 "4b842a3.ce68254"\r
5418             ]\r
5419         ]\r
5420     },\r
5421     {\r
5422         "id": "83fa1a94.1fdef",\r
5423         "type": "not-found",\r
5424         "name": "not-found",\r
5425         "xml": "<outcome value='not-found'>\n",\r
5426         "comments": "",\r
5427         "outputs": 1,\r
5428         "x": 5559.951171875,\r
5429         "y": 5562.683349609375,\r
5430         "z": "82de8dcf.518d88",\r
5431         "wires": [\r
5432             [\r
5433                 "fe24638.108ff2"\r
5434             ]\r
5435         ]\r
5436     },\r
5437     {\r
5438         "id": "4b842a3.ce68254",\r
5439         "type": "block",\r
5440         "name": "block",\r
5441         "xml": "<block>\n",\r
5442         "atomic": "false",\r
5443         "comments": "",\r
5444         "outputs": 1,\r
5445         "x": 5708.3333740234375,\r
5446         "y": 5524.339019775391,\r
5447         "z": "82de8dcf.518d88",\r
5448         "wires": [\r
5449             [\r
5450                 "471b8aca.2d2d8c"\r
5451             ]\r
5452         ]\r
5453     },\r
5454     {\r
5455         "id": "471b8aca.2d2d8c",\r
5456         "type": "for",\r
5457         "name": "for each relationship",\r
5458         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5459         "comments": "",\r
5460         "outputs": 1,\r
5461         "x": 5892.450927734375,\r
5462         "y": 5522.683349609375,\r
5463         "z": "82de8dcf.518d88",\r
5464         "wires": [\r
5465             [\r
5466                 "835403d4.ab8a4"\r
5467             ]\r
5468         ]\r
5469     },\r
5470     {\r
5471         "id": "8d7d3b80.341b3",\r
5472         "type": "other",\r
5473         "name": "other",\r
5474         "xml": "<outcome value='Other'>\n",\r
5475         "comments": "",\r
5476         "outputs": 1,\r
5477         "x": 5569.951171875,\r
5478         "y": 5607.683349609375,\r
5479         "z": "82de8dcf.518d88",\r
5480         "wires": [\r
5481             [\r
5482                 "dbe8e8e2.82532"\r
5483             ]\r
5484         ]\r
5485     },\r
5486     {\r
5487         "id": "dbe8e8e2.82532",\r
5488         "type": "returnFailure",\r
5489         "name": "return failure",\r
5490         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5491         "comments": "",\r
5492         "x": 5748.951171875,\r
5493         "y": 5623.683349609375,\r
5494         "z": "82de8dcf.518d88",\r
5495         "wires": []\r
5496     },\r
5497     {\r
5498         "id": "fe24638.108ff2",\r
5499         "type": "returnFailure",\r
5500         "name": "return failure",\r
5501         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5502         "comments": "",\r
5503         "x": 5730.951171875,\r
5504         "y": 5575.683349609375,\r
5505         "z": "82de8dcf.518d88",\r
5506         "wires": []\r
5507     },\r
5508     {\r
5509         "id": "23127469.8e053c",\r
5510         "type": "execute",\r
5511         "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
5512         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
5513         "comments": "",\r
5514         "outputs": 1,\r
5515         "x": 5279.951171875,\r
5516         "y": 5678.282958984375,\r
5517         "z": "82de8dcf.518d88",\r
5518         "wires": [\r
5519             [\r
5520                 "2dc53207.e6e746",\r
5521                 "5dfbf094.3dd5e"\r
5522             ]\r
5523         ]\r
5524     },\r
5525     {\r
5526         "id": "2dc53207.e6e746",\r
5527         "type": "failure",\r
5528         "name": "failure",\r
5529         "xml": "<outcome value='failure'>\n",\r
5530         "comments": "",\r
5531         "outputs": 1,\r
5532         "x": 5628.451171875,\r
5533         "y": 5660.282958984375,\r
5534         "z": "82de8dcf.518d88",\r
5535         "wires": [\r
5536             [\r
5537                 "d62622e9.977188"\r
5538             ]\r
5539         ]\r
5540     },\r
5541     {\r
5542         "id": "d62622e9.977188",\r
5543         "type": "returnFailure",\r
5544         "name": "return failure",\r
5545         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
5546         "comments": "",\r
5547         "x": 5884.451171875,\r
5548         "y": 5663.282958984375,\r
5549         "z": "82de8dcf.518d88",\r
5550         "wires": []\r
5551     },\r
5552     {\r
5553         "id": "b15c93b0.c4d298",\r
5554         "type": "block",\r
5555         "name": "block : atomic",\r
5556         "xml": "<block atomic=\"true\">",\r
5557         "atomic": "true",\r
5558         "comments": "",\r
5559         "outputs": 1,\r
5560         "x": 5836.951171875,\r
5561         "y": 5704.282958984375,\r
5562         "z": "82de8dcf.518d88",\r
5563         "wires": [\r
5564             []\r
5565         ]\r
5566     },\r
5567     {\r
5568         "id": "5dfbf094.3dd5e",\r
5569         "type": "success",\r
5570         "name": "success",\r
5571         "xml": "<outcome value='success'>\n",\r
5572         "comments": "",\r
5573         "outputs": 1,\r
5574         "x": 5638.451171875,\r
5575         "y": 5709.282958984375,\r
5576         "z": "82de8dcf.518d88",\r
5577         "wires": [\r
5578             [\r
5579                 "b15c93b0.c4d298"\r
5580             ]\r
5581         ]\r
5582     },\r
5583     {\r
5584         "id": "9523ac21.fb27e8",\r
5585         "type": "set",\r
5586         "name": "set pnf-name",\r
5587         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.rootconn.access-provider-id + '-clientId-' +\n                                                   $tmp.rootconn.access-client-id + '-topologyId-' +\n                                                   $tmp.rootconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.rootconn.access-node-id`\" />\n",\r
5588         "comments": "",\r
5589         "x": 5361.450927734375,\r
5590         "y": 5490.683349609375,\r
5591         "z": "82de8dcf.518d88",\r
5592         "wires": []\r
5593     },\r
5594     {\r
5595         "id": "835403d4.ab8a4",\r
5596         "type": "switchNode",\r
5597         "name": "switch related-to",\r
5598         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5599         "comments": "",\r
5600         "outputs": 1,\r
5601         "x": 6087.450927734375,\r
5602         "y": 5522.683349609375,\r
5603         "z": "82de8dcf.518d88",\r
5604         "wires": [\r
5605             [\r
5606                 "44025b35.70e694"\r
5607             ]\r
5608         ]\r
5609     },\r
5610     {\r
5611         "id": "defb6a74.ad63a8",\r
5612         "type": "block",\r
5613         "name": "block : atomic",\r
5614         "xml": "<block atomic=\"true\">",\r
5615         "atomic": "true",\r
5616         "outputs": 1,\r
5617         "x": 6469.450927734375,\r
5618         "y": 5526.683349609375,\r
5619         "z": "82de8dcf.518d88",\r
5620         "wires": [\r
5621             [\r
5622                 "f54f4ae0.ec5cf",\r
5623                 "af149106.171db",\r
5624                 "c5fc8f53.576908"\r
5625             ]\r
5626         ]\r
5627     },\r
5628     {\r
5629         "id": "44025b35.70e694",\r
5630         "type": "outcome",\r
5631         "name": "esr-thirdparty-sdnc",\r
5632         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5633         "comments": "",\r
5634         "outputs": 1,\r
5635         "x": 6290.450927734375,\r
5636         "y": 5526.683349609375,\r
5637         "z": "82de8dcf.518d88",\r
5638         "wires": [\r
5639             [\r
5640                 "defb6a74.ad63a8"\r
5641             ]\r
5642         ]\r
5643     },\r
5644     {\r
5645         "id": "af149106.171db",\r
5646         "type": "execute",\r
5647         "name": "get esr-thirdparty-sdnc",\r
5648         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5649         "comments": "",\r
5650         "outputs": 1,\r
5651         "x": 6675.450927734375,\r
5652         "y": 5539.683349609375,\r
5653         "z": "82de8dcf.518d88",\r
5654         "wires": [\r
5655             [\r
5656                 "c7dae6ee.db5f08",\r
5657                 "40d56e1d.9aacd",\r
5658                 "1547569.25d2329"\r
5659             ]\r
5660         ]\r
5661     },\r
5662     {\r
5663         "id": "f54f4ae0.ec5cf",\r
5664         "type": "set",\r
5665         "name": "set esr-thirdparty-sdnc domain id",\r
5666         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5667         "comments": "",\r
5668         "x": 6705.450927734375,\r
5669         "y": 5487.683349609375,\r
5670         "z": "82de8dcf.518d88",\r
5671         "wires": []\r
5672     },\r
5673     {\r
5674         "id": "c7dae6ee.db5f08",\r
5675         "type": "success",\r
5676         "name": "success",\r
5677         "xml": "<outcome value='success'>\n",\r
5678         "comments": "",\r
5679         "outputs": 1,\r
5680         "x": 6885.450927734375,\r
5681         "y": 5530.683349609375,\r
5682         "z": "82de8dcf.518d88",\r
5683         "wires": [\r
5684             [\r
5685                 "f0410cd5.fae628"\r
5686             ]\r
5687         ]\r
5688     },\r
5689     {\r
5690         "id": "40d56e1d.9aacd",\r
5691         "type": "not-found",\r
5692         "name": "not-found",\r
5693         "xml": "<outcome value='not-found'>\n",\r
5694         "comments": "",\r
5695         "outputs": 1,\r
5696         "x": 6877.450927734375,\r
5697         "y": 5585.683349609375,\r
5698         "z": "82de8dcf.518d88",\r
5699         "wires": [\r
5700             [\r
5701                 "76b0a417.e1276c"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "1547569.25d2329",\r
5707         "type": "other",\r
5708         "name": "other",\r
5709         "xml": "<outcome value='Other'>\n",\r
5710         "comments": "",\r
5711         "outputs": 1,\r
5712         "x": 6882.450927734375,\r
5713         "y": 5642.683349609375,\r
5714         "z": "82de8dcf.518d88",\r
5715         "wires": [\r
5716             [\r
5717                 "b3783d48.7ea6c8"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "b3783d48.7ea6c8",\r
5723         "type": "returnFailure",\r
5724         "name": "return failure",\r
5725         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5726         "comments": "",\r
5727         "x": 7034.450927734375,\r
5728         "y": 5643.683349609375,\r
5729         "z": "82de8dcf.518d88",\r
5730         "wires": []\r
5731     },\r
5732     {\r
5733         "id": "76b0a417.e1276c",\r
5734         "type": "returnFailure",\r
5735         "name": "return failure",\r
5736         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5737         "comments": "",\r
5738         "x": 7045.450927734375,\r
5739         "y": 5588.683349609375,\r
5740         "z": "82de8dcf.518d88",\r
5741         "wires": []\r
5742     },\r
5743     {\r
5744         "id": "f0410cd5.fae628",\r
5745         "type": "block",\r
5746         "name": "block",\r
5747         "xml": "<block>\n",\r
5748         "atomic": "false",\r
5749         "comments": "",\r
5750         "outputs": 1,\r
5751         "x": 7029.833251953125,\r
5752         "y": 5528.339019775391,\r
5753         "z": "82de8dcf.518d88",\r
5754         "wires": [\r
5755             [\r
5756                 "4ccba011.1ac588"\r
5757             ]\r
5758         ]\r
5759     },\r
5760     {\r
5761         "id": "4ccba011.1ac588",\r
5762         "type": "set",\r
5763         "name": "set controller domain data",\r
5764         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
5765         "comments": "",\r
5766         "x": 7244.450927734375,\r
5767         "y": 5524.683349609375,\r
5768         "z": "82de8dcf.518d88",\r
5769         "wires": []\r
5770     },\r
5771     {\r
5772         "id": "c5fc8f53.576908",\r
5773         "type": "break",\r
5774         "name": "break",\r
5775         "xml": "<break>\n",\r
5776         "comments": "",\r
5777         "x": 6625.450927734375,\r
5778         "y": 5603.683349609375,\r
5779         "z": "82de8dcf.518d88",\r
5780         "wires": []\r
5781     },\r
5782     {\r
5783         "id": "e61de8ad.7030f",\r
5784         "type": "block",\r
5785         "name": "block",\r
5786         "xml": "<block>\n",\r
5787         "atomic": "false",\r
5788         "comments": "",\r
5789         "outputs": 1,\r
5790         "x": 3854.88330078125,\r
5791         "y": 3492.88330078125,\r
5792         "z": "82de8dcf.518d88",\r
5793         "wires": [\r
5794             [\r
5795                 "f1f60f7b.897558",\r
5796                 "9394ecba.bbac2"\r
5797             ]\r
5798         ]\r
5799     },\r
5800     {\r
5801         "id": "f1f60f7b.897558",\r
5802         "type": "set",\r
5803         "name": "set tmp.mmUNI-id-long",\r
5804         "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5805         "comments": "",\r
5806         "x": 4045.466552734375,\r
5807         "y": 3435.683349609375,\r
5808         "z": "82de8dcf.518d88",\r
5809         "wires": []\r
5810     },\r
5811     {\r
5812         "id": "9394ecba.bbac2",\r
5813         "type": "switchNode",\r
5814         "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
5815         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
5816         "comments": "",\r
5817         "outputs": 1,\r
5818         "x": 4092.466552734375,\r
5819         "y": 3506.683349609375,\r
5820         "z": "82de8dcf.518d88",\r
5821         "wires": [\r
5822             [\r
5823                 "62b44b4b.e9462c",\r
5824                 "2e901346.daa35c"\r
5825             ]\r
5826         ]\r
5827     },\r
5828     {\r
5829         "id": "62b44b4b.e9462c",\r
5830         "type": "outcomeFalse",\r
5831         "name": "false",\r
5832         "xml": "<outcome value='false'>\n",\r
5833         "comments": "",\r
5834         "outputs": 1,\r
5835         "x": 4330.884033203125,\r
5836         "y": 3465.88330078125,\r
5837         "z": "82de8dcf.518d88",\r
5838         "wires": [\r
5839             [\r
5840                 "646ee476.4b949c"\r
5841             ]\r
5842         ]\r
5843     },\r
5844     {\r
5845         "id": "2e901346.daa35c",\r
5846         "type": "outcomeTrue",\r
5847         "name": "true",\r
5848         "xml": "<outcome value='true'>\n",\r
5849         "comments": "",\r
5850         "outputs": 1,\r
5851         "x": 4337.884246826172,\r
5852         "y": 3522.883270263672,\r
5853         "z": "82de8dcf.518d88",\r
5854         "wires": [\r
5855             [\r
5856                 "3444ada9.d2b992"\r
5857             ]\r
5858         ]\r
5859     },\r
5860     {\r
5861         "id": "646ee476.4b949c",\r
5862         "type": "block",\r
5863         "name": "block",\r
5864         "xml": "<block>\n",\r
5865         "atomic": "false",\r
5866         "comments": "",\r
5867         "outputs": 1,\r
5868         "x": 4458.884521484375,\r
5869         "y": 3461.88330078125,\r
5870         "z": "82de8dcf.518d88",\r
5871         "wires": [\r
5872             []\r
5873         ]\r
5874     },\r
5875     {\r
5876         "id": "5aebe180.f62f68",\r
5877         "type": "set",\r
5878         "name": "set tmp.MMonlyHasROOT to TRUE",\r
5879         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
5880         "comments": "",\r
5881         "x": 3314.083251953125,\r
5882         "y": 3420.283447265625,\r
5883         "z": "82de8dcf.518d88",\r
5884         "wires": []\r
5885     },\r
5886     {\r
5887         "id": "a9c3a9a9.0f7c28",\r
5888         "type": "set",\r
5889         "name": "set tmp.MMonlyHasROOT to FALSE",\r
5890         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
5891         "comments": "",\r
5892         "x": 4727.9169921875,\r
5893         "y": 3426.283447265625,\r
5894         "z": "82de8dcf.518d88",\r
5895         "wires": []\r
5896     },\r
5897     {\r
5898         "id": "d94f5698.a9e22",\r
5899         "type": "block",\r
5900         "name": "block : atomic",\r
5901         "xml": "<block atomic=\"true\">",\r
5902         "atomic": "true",\r
5903         "outputs": 1,\r
5904         "x": 4407.6669921875,\r
5905         "y": 3942.5,\r
5906         "z": "82de8dcf.518d88",\r
5907         "wires": [\r
5908             [\r
5909                 "eb39fbed.f65188",\r
5910                 "716ce6ad.3df158"\r
5911             ]\r
5912         ]\r
5913     },\r
5914     {\r
5915         "id": "eb39fbed.f65188",\r
5916         "type": "set",\r
5917         "name": "set tmp.uni.id",\r
5918         "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5919         "comments": "",\r
5920         "x": 4580.5498046875,\r
5921         "y": 3938.15966796875,\r
5922         "z": "82de8dcf.518d88",\r
5923         "wires": []\r
5924     },\r
5925     {\r
5926         "id": "716ce6ad.3df158",\r
5927         "type": "save",\r
5928         "name": "get uni from aai",\r
5929         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
5930         "comments": "",\r
5931         "outputs": 1,\r
5932         "x": 4583.5498046875,\r
5933         "y": 3985.15966796875,\r
5934         "z": "82de8dcf.518d88",\r
5935         "wires": [\r
5936             [\r
5937                 "7301217f.c40fd8",\r
5938                 "4b487020.1f862",\r
5939                 "98e316f7.2a6e38"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "7301217f.c40fd8",\r
5945         "type": "success",\r
5946         "name": "success",\r
5947         "xml": "<outcome value='success'>\n",\r
5948         "comments": "",\r
5949         "outputs": 1,\r
5950         "x": 4755.5498046875,\r
5951         "y": 3969.15966796875,\r
5952         "z": "82de8dcf.518d88",\r
5953         "wires": [\r
5954             [\r
5955                 "8014e6ef.ba6a4"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "4b487020.1f862",\r
5961         "type": "not-found",\r
5962         "name": "not-found",\r
5963         "xml": "<outcome value='not-found'>\n",\r
5964         "comments": "",\r
5965         "outputs": 1,\r
5966         "x": 4756.040771484375,\r
5967         "y": 4014.7337036132812,\r
5968         "z": "82de8dcf.518d88",\r
5969         "wires": [\r
5970             []\r
5971         ]\r
5972     },\r
5973     {\r
5974         "id": "98e316f7.2a6e38",\r
5975         "type": "failure",\r
5976         "name": "failure",\r
5977         "xml": "<outcome value='failure'>\n",\r
5978         "comments": "",\r
5979         "outputs": 1,\r
5980         "x": 4756.5498046875,\r
5981         "y": 4055.15966796875,\r
5982         "z": "82de8dcf.518d88",\r
5983         "wires": [\r
5984             []\r
5985         ]\r
5986     },\r
5987     {\r
5988         "id": "8014e6ef.ba6a4",\r
5989         "type": "block",\r
5990         "name": "block : atomic",\r
5991         "xml": "<block atomic='true'>",\r
5992         "atomic": "true",\r
5993         "comments": "",\r
5994         "outputs": 1,\r
5995         "x": 4916.5498046875,\r
5996         "y": 3965.15966796875,\r
5997         "z": "82de8dcf.518d88",\r
5998         "wires": [\r
5999             [\r
6000                 "6c53b06a.be741",\r
6001                 "6040c967.bc9a38",\r
6002                 "6b2c883f.aecd1"\r
6003             ]\r
6004         ]\r
6005     },\r
6006     {\r
6007         "id": "6986f860.3fd24",\r
6008         "type": "comment",\r
6009         "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
6010         "info": "",\r
6011         "comments": "",\r
6012         "x": 5249.5498046875,\r
6013         "y": 3896.15966796875,\r
6014         "z": "82de8dcf.518d88",\r
6015         "wires": []\r
6016     },\r
6017     {\r
6018         "id": "6040c967.bc9a38",\r
6019         "type": "execute",\r
6020         "name": "execute split id to get pnf-name",\r
6021         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
6022         "comments": "",\r
6023         "outputs": 1,\r
6024         "x": 5184.5498046875,\r
6025         "y": 3953.15966796875,\r
6026         "z": "82de8dcf.518d88",\r
6027         "wires": [\r
6028             [\r
6029                 "93771b2e.0a5438",\r
6030                 "494eca03.1cc0f4"\r
6031             ]\r
6032         ]\r
6033     },\r
6034     {\r
6035         "id": "494eca03.1cc0f4",\r
6036         "type": "failure",\r
6037         "name": "success",\r
6038         "xml": "<outcome value='success'>\n",\r
6039         "comments": "",\r
6040         "outputs": 1,\r
6041         "x": 5407.5498046875,\r
6042         "y": 3939.15966796875,\r
6043         "z": "82de8dcf.518d88",\r
6044         "wires": [\r
6045             [\r
6046                 "4a647e39.1988"\r
6047             ]\r
6048         ]\r
6049     },\r
6050     {\r
6051         "id": "93771b2e.0a5438",\r
6052         "type": "failure",\r
6053         "name": "failure",\r
6054         "xml": "<outcome value='failure'>\n",\r
6055         "comments": "",\r
6056         "outputs": 1,\r
6057         "x": 5409.5498046875,\r
6058         "y": 3972.15966796875,\r
6059         "z": "82de8dcf.518d88",\r
6060         "wires": [\r
6061             [\r
6062                 "3ee6f9fa.cfa80e"\r
6063             ]\r
6064         ]\r
6065     },\r
6066     {\r
6067         "id": "4a647e39.1988",\r
6068         "type": "block",\r
6069         "name": "block : atomic",\r
6070         "xml": "<block atomic=\"true\">",\r
6071         "atomic": "true",\r
6072         "outputs": 1,\r
6073         "x": 5555.5498046875,\r
6074         "y": 3932.15966796875,\r
6075         "z": "82de8dcf.518d88",\r
6076         "wires": [\r
6077             [\r
6078                 "d5960946.db6608"\r
6079             ]\r
6080         ]\r
6081     },\r
6082     {\r
6083         "id": "3ee6f9fa.cfa80e",\r
6084         "type": "returnFailure",\r
6085         "name": "return failure",\r
6086         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
6087         "comments": "",\r
6088         "x": 5552.5498046875,\r
6089         "y": 3969.15966796875,\r
6090         "z": "82de8dcf.518d88",\r
6091         "wires": []\r
6092     },\r
6093     {\r
6094         "id": "d5960946.db6608",\r
6095         "type": "set",\r
6096         "name": "set pnf-name",\r
6097         "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n                                                   $param-prefix-uni-pnfName[1] + '-' +\n                                                   $param-prefix-uni-pnfName[2] + '-' +\n                                                   $param-prefix-uni-pnfName[3] + '-' +\n                                                   $param-prefix-uni-pnfName[4] + '-' +\n                                                   $param-prefix-uni-pnfName[5] + '-' +\n                                                   $param-prefix-uni-pnfName[6] + '-' +\n                                                   $param-prefix-uni-pnfName[7] + '-' +\n                                                   $param-prefix-uni-pnfName[8]`\" />\n",\r
6098         "comments": "",\r
6099         "x": 5732.5498046875,\r
6100         "y": 3932.15966796875,\r
6101         "z": "82de8dcf.518d88",\r
6102         "wires": []\r
6103     },\r
6104     {\r
6105         "id": "6c53b06a.be741",\r
6106         "type": "switchNode",\r
6107         "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
6108         "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
6109         "comments": "",\r
6110         "outputs": 1,\r
6111         "x": 5228.5498046875,\r
6112         "y": 4087.15966796875,\r
6113         "z": "82de8dcf.518d88",\r
6114         "wires": [\r
6115             [\r
6116                 "f825463f.981388",\r
6117                 "3533ce81.16ad12"\r
6118             ]\r
6119         ]\r
6120     },\r
6121     {\r
6122         "id": "f825463f.981388",\r
6123         "type": "outcomeFalse",\r
6124         "name": "false",\r
6125         "xml": "<outcome value='false'>\n",\r
6126         "comments": "",\r
6127         "outputs": 1,\r
6128         "x": 5509.5498046875,\r
6129         "y": 4064.15966796875,\r
6130         "z": "82de8dcf.518d88",\r
6131         "wires": [\r
6132             [\r
6133                 "1f58973d.a6a451"\r
6134             ]\r
6135         ]\r
6136     },\r
6137     {\r
6138         "id": "3533ce81.16ad12",\r
6139         "type": "outcomeTrue",\r
6140         "name": "true",\r
6141         "xml": "<outcome value='true'>\n",\r
6142         "comments": "",\r
6143         "outputs": 1,\r
6144         "x": 5502.5498046875,\r
6145         "y": 4123.15966796875,\r
6146         "z": "82de8dcf.518d88",\r
6147         "wires": [\r
6148             [\r
6149                 "2ae9f04c.19c548"\r
6150             ]\r
6151         ]\r
6152     },\r
6153     {\r
6154         "id": "1f58973d.a6a451",\r
6155         "type": "block",\r
6156         "name": "block",\r
6157         "xml": "<block>\n",\r
6158         "atomic": "false",\r
6159         "comments": "",\r
6160         "outputs": 1,\r
6161         "x": 5639.5498046875,\r
6162         "y": 4068.15966796875,\r
6163         "z": "82de8dcf.518d88",\r
6164         "wires": [\r
6165             []\r
6166         ]\r
6167     },\r
6168     {\r
6169         "id": "2ae9f04c.19c548",\r
6170         "type": "block",\r
6171         "name": "block : atomic",\r
6172         "xml": "<block atomic='true'>",\r
6173         "atomic": "true",\r
6174         "comments": "",\r
6175         "outputs": 1,\r
6176         "x": 5644.5498046875,\r
6177         "y": 4122.15966796875,\r
6178         "z": "82de8dcf.518d88",\r
6179         "wires": [\r
6180             [\r
6181                 "9dd58da7.f05d6",\r
6182                 "c9296d7d.c80358"\r
6183             ]\r
6184         ]\r
6185     },\r
6186     {\r
6187         "id": "9dd58da7.f05d6",\r
6188         "type": "set",\r
6189         "name": "set no-pce-call",\r
6190         "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
6191         "comments": "",\r
6192         "x": 5836.5498046875,\r
6193         "y": 4089.15966796875,\r
6194         "z": "82de8dcf.518d88",\r
6195         "wires": []\r
6196     },\r
6197     {\r
6198         "id": "985a0c89.e3f6d",\r
6199         "type": "set",\r
6200         "name": "set middle-man-conn",\r
6201         "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
6202         "comments": "",\r
6203         "x": 5852.5498046875,\r
6204         "y": 4141.15966796875,\r
6205         "z": "82de8dcf.518d88",\r
6206         "wires": []\r
6207     },\r
6208     {\r
6209         "id": "c9296d7d.c80358",\r
6210         "type": "set",\r
6211         "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
6212         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
6213         "comments": "",\r
6214         "x": 5870.83349609375,\r
6215         "y": 4210.75,\r
6216         "z": "82de8dcf.518d88",\r
6217         "wires": []\r
6218     },\r
6219     {\r
6220         "id": "6b2c883f.aecd1",\r
6221         "type": "set",\r
6222         "name": "set tmp.stillHasUni to TRUE",\r
6223         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
6224         "comments": "",\r
6225         "x": 5147.533203125,\r
6226         "y": 4036.64990234375,\r
6227         "z": "82de8dcf.518d88",\r
6228         "wires": []\r
6229     },\r
6230     {\r
6231         "id": "7018ac1a.7a3c7c",\r
6232         "type": "switchNode",\r
6233         "name": "switch tmp.stillHasUni?",\r
6234         "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
6235         "comments": "",\r
6236         "outputs": 1,\r
6237         "x": 383.7339172363281,\r
6238         "y": 5306.849609375,\r
6239         "z": "82de8dcf.518d88",\r
6240         "wires": [\r
6241             [\r
6242                 "d6a83452.cab528",\r
6243                 "a3cdb153.e05c2"\r
6244             ]\r
6245         ]\r
6246     },\r
6247     {\r
6248         "id": "23ec2dfc.6ca3ea",\r
6249         "type": "save",\r
6250         "name": "get root uni from aai",\r
6251         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
6252         "comments": "",\r
6253         "outputs": 1,\r
6254         "x": 4288.516357421875,\r
6255         "y": 5470.7333984375,\r
6256         "z": "82de8dcf.518d88",\r
6257         "wires": [\r
6258             [\r
6259                 "89ccdd98.c0add8",\r
6260                 "ffd72856.632858",\r
6261                 "d24e2f90.29ea68"\r
6262             ]\r
6263         ]\r
6264     },\r
6265     {\r
6266         "id": "e3a3ebb5.52e4d",\r
6267         "type": "comment",\r
6268         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
6269         "info": "",\r
6270         "comments": "",\r
6271         "x": 4286.516845703125,\r
6272         "y": 5422.733642578125,\r
6273         "z": "82de8dcf.518d88",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "c0e896d2.f14fd",\r
6278         "type": "save",\r
6279         "name": "update ROOT UNI in AAI",\r
6280         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
6281         "comments": "",\r
6282         "outputs": 1,\r
6283         "x": 4903.5166015625,\r
6284         "y": 5540.733642578125,\r
6285         "z": "82de8dcf.518d88",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "ffd72856.632858",\r
6292         "type": "not-found",\r
6293         "name": "not-found",\r
6294         "xml": "<outcome value='not-found'>\n",\r
6295         "comments": "",\r
6296         "outputs": 1,\r
6297         "x": 4506.007568359375,\r
6298         "y": 5441.3076171875,\r
6299         "z": "82de8dcf.518d88",\r
6300         "wires": [\r
6301             [\r
6302                 "fe177ef1.d06678"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "d24e2f90.29ea68",\r
6308         "type": "failure",\r
6309         "name": "failure",\r
6310         "xml": "<outcome value='failure'>\n",\r
6311         "comments": "",\r
6312         "outputs": 1,\r
6313         "x": 4501.5166015625,\r
6314         "y": 5485.733581542969,\r
6315         "z": "82de8dcf.518d88",\r
6316         "wires": [\r
6317             [\r
6318                 "632ed866.3f04b8"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "fe177ef1.d06678",\r
6324         "type": "returnFailure",\r
6325         "name": "return failure",\r
6326         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
6327         "comments": "",\r
6328         "x": 4668.5791015625,\r
6329         "y": 5440.593322753906,\r
6330         "z": "82de8dcf.518d88",\r
6331         "wires": []\r
6332     },\r
6333     {\r
6334         "id": "632ed866.3f04b8",\r
6335         "type": "returnFailure",\r
6336         "name": "return failure",\r
6337         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6338         "comments": "",\r
6339         "x": 4669.5166015625,\r
6340         "y": 5485.733581542969,\r
6341         "z": "82de8dcf.518d88",\r
6342         "wires": []\r
6343     },\r
6344     {\r
6345         "id": "df87890d.bcb5c",\r
6346         "type": "block",\r
6347         "name": "block : atomic",\r
6348         "xml": "<block atomic=\"true\">",\r
6349         "atomic": "true",\r
6350         "outputs": 1,\r
6351         "x": 4666.5166015625,\r
6352         "y": 5535.733642578125,\r
6353         "z": "82de8dcf.518d88",\r
6354         "wires": [\r
6355             [\r
6356                 "2ff88b2d.295934",\r
6357                 "c0e896d2.f14fd"\r
6358             ]\r
6359         ]\r
6360     },\r
6361     {\r
6362         "id": "89ccdd98.c0add8",\r
6363         "type": "success",\r
6364         "name": "success",\r
6365         "xml": "<outcome value='success'>\n",\r
6366         "comments": "",\r
6367         "outputs": 1,\r
6368         "x": 4497.5166015625,\r
6369         "y": 5535.733642578125,\r
6370         "z": "82de8dcf.518d88",\r
6371         "wires": [\r
6372             [\r
6373                 "df87890d.bcb5c"\r
6374             ]\r
6375         ]\r
6376     },\r
6377     {\r
6378         "id": "2ff88b2d.295934",\r
6379         "type": "set",\r
6380         "name": "set new bw",\r
6381         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
6382         "comments": "",\r
6383         "x": 4859.517578125,\r
6384         "y": 5460.733642578125,\r
6385         "z": "82de8dcf.518d88",\r
6386         "wires": []\r
6387     },\r
6388     {\r
6389         "id": "5d7f9ad7.0f862c",\r
6390         "type": "comment",\r
6391         "name": "Update connectivity status to modified",\r
6392         "info": "",\r
6393         "comments": "",\r
6394         "x": 5288.216796875,\r
6395         "y": 5398.500244140625,\r
6396         "z": "82de8dcf.518d88",\r
6397         "wires": []\r
6398     },\r
6399     {\r
6400         "id": "9b98cd10.6cfb68",\r
6401         "type": "save",\r
6402         "name": "update ROOT connectivity resource in AAI",\r
6403         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
6404         "comments": "",\r
6405         "outputs": 1,\r
6406         "x": 5314,\r
6407         "y": 5440.700439453125,\r
6408         "z": "82de8dcf.518d88",\r
6409         "wires": [\r
6410             []\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "d6a83452.cab528",\r
6415         "type": "outcomeFalse",\r
6416         "name": "false",\r
6417         "xml": "<outcome value='false'>\n",\r
6418         "comments": "",\r
6419         "outputs": 1,\r
6420         "x": 567.8836059570312,\r
6421         "y": 5357.88330078125,\r
6422         "z": "82de8dcf.518d88",\r
6423         "wires": [\r
6424             [\r
6425                 "e5624f1d.dbf4b8"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "a3cdb153.e05c2",\r
6431         "type": "outcomeTrue",\r
6432         "name": "true",\r
6433         "xml": "<outcome value='true'>\n",\r
6434         "comments": "",\r
6435         "outputs": 1,\r
6436         "x": 550.883544921875,\r
6437         "y": 5279.88330078125,\r
6438         "z": "82de8dcf.518d88",\r
6439         "wires": [\r
6440             [\r
6441                 "daa6681.3df0a98"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "7731a568.885cdc",\r
6447         "type": "block",\r
6448         "name": "block",\r
6449         "xml": "<block>\n",\r
6450         "atomic": "false",\r
6451         "comments": "",\r
6452         "outputs": 1,\r
6453         "x": 679.8833923339844,\r
6454         "y": 4366.883026123047,\r
6455         "z": "82de8dcf.518d88",\r
6456         "wires": [\r
6457             [\r
6458                 "a5f98ac5.68fe98",\r
6459                 "74d156ed.4e9f",\r
6460                 "6135bf6.f11f5c",\r
6461                 "8458698c.d1be5",\r
6462                 "6cf7c0fc.18d4e8"\r
6463             ]\r
6464         ]\r
6465     },\r
6466     {\r
6467         "id": "a5f98ac5.68fe98",\r
6468         "type": "set",\r
6469         "name": "set tmp.leafconn.",\r
6470         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
6471         "comments": "",\r
6472         "x": 931.5667419433594,\r
6473         "y": 4344.932830810547,\r
6474         "z": "82de8dcf.518d88",\r
6475         "wires": []\r
6476     },\r
6477     {\r
6478         "id": "155b7716.d28d91",\r
6479         "type": "comment",\r
6480         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
6481         "info": "",\r
6482         "comments": "",\r
6483         "x": 1033.1338806152344,\r
6484         "y": 4293.016326904297,\r
6485         "z": "82de8dcf.518d88",\r
6486         "wires": []\r
6487     },\r
6488     {\r
6489         "id": "11c710da.f1a09f",\r
6490         "type": "set",\r
6491         "name": "set pnf-name",\r
6492         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
6493         "comments": "",\r
6494         "x": 1140.9837341308594,\r
6495         "y": 4374.216522216797,\r
6496         "z": "82de8dcf.518d88",\r
6497         "wires": []\r
6498     },\r
6499     {\r
6500         "id": "74d156ed.4e9f",\r
6501         "type": "block",\r
6502         "name": "block : atomic",\r
6503         "xml": "<block atomic=\"true\">",\r
6504         "atomic": "true",\r
6505         "outputs": 1,\r
6506         "x": 911.9837341308594,\r
6507         "y": 4463.216522216797,\r
6508         "z": "82de8dcf.518d88",\r
6509         "wires": [\r
6510             [\r
6511                 "11c710da.f1a09f",\r
6512                 "dd611a8.40420e8"\r
6513             ]\r
6514         ]\r
6515     },\r
6516     {\r
6517         "id": "dd611a8.40420e8",\r
6518         "type": "get-resource",\r
6519         "name": "get-resource src pnf",\r
6520         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
6521         "comments": "",\r
6522         "outputs": 1,\r
6523         "x": 1147.9837341308594,\r
6524         "y": 4456.216522216797,\r
6525         "z": "82de8dcf.518d88",\r
6526         "wires": [\r
6527             [\r
6528                 "2cc9d43.2a3e32c",\r
6529                 "16f9c9a2.f3e64e",\r
6530                 "bd113683.3f90e8"\r
6531             ]\r
6532         ]\r
6533     },\r
6534     {\r
6535         "id": "2cc9d43.2a3e32c",\r
6536         "type": "success",\r
6537         "name": "success",\r
6538         "xml": "<outcome value='success'>\n",\r
6539         "comments": "",\r
6540         "outputs": 1,\r
6541         "x": 1343.4838562011719,\r
6542         "y": 4408.216522216797,\r
6543         "z": "82de8dcf.518d88",\r
6544         "wires": [\r
6545             [\r
6546                 "30afce54.3b0e7a"\r
6547             ]\r
6548         ]\r
6549     },\r
6550     {\r
6551         "id": "16f9c9a2.f3e64e",\r
6552         "type": "not-found",\r
6553         "name": "not-found",\r
6554         "xml": "<outcome value='not-found'>\n",\r
6555         "comments": "",\r
6556         "outputs": 1,\r
6557         "x": 1335.4838562011719,\r
6558         "y": 4463.216522216797,\r
6559         "z": "82de8dcf.518d88",\r
6560         "wires": [\r
6561             [\r
6562                 "ca51c401.6ecfa8"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "30afce54.3b0e7a",\r
6568         "type": "block",\r
6569         "name": "block",\r
6570         "xml": "<block>\n",\r
6571         "atomic": "false",\r
6572         "comments": "",\r
6573         "outputs": 1,\r
6574         "x": 1487.8661804199219,\r
6575         "y": 4407.8721923828125,\r
6576         "z": "82de8dcf.518d88",\r
6577         "wires": [\r
6578             [\r
6579                 "4c495354.afa6a4"\r
6580             ]\r
6581         ]\r
6582     },\r
6583     {\r
6584         "id": "4c495354.afa6a4",\r
6585         "type": "for",\r
6586         "name": "for each relationship",\r
6587         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
6588         "comments": "",\r
6589         "outputs": 1,\r
6590         "x": 1671.9837341308594,\r
6591         "y": 4406.216522216797,\r
6592         "z": "82de8dcf.518d88",\r
6593         "wires": [\r
6594             [\r
6595                 "72a0b2fc.d6eab4"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "72a0b2fc.d6eab4",\r
6601         "type": "switchNode",\r
6602         "name": "switch related-to",\r
6603         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
6604         "comments": "",\r
6605         "outputs": 1,\r
6606         "x": 1866.9837341308594,\r
6607         "y": 4406.216522216797,\r
6608         "z": "82de8dcf.518d88",\r
6609         "wires": [\r
6610             [\r
6611                 "3067a2de.bf9096"\r
6612             ]\r
6613         ]\r
6614     },\r
6615     {\r
6616         "id": "bd113683.3f90e8",\r
6617         "type": "other",\r
6618         "name": "other",\r
6619         "xml": "<outcome value='Other'>\n",\r
6620         "comments": "",\r
6621         "outputs": 1,\r
6622         "x": 1340.4838562011719,\r
6623         "y": 4520.216522216797,\r
6624         "z": "82de8dcf.518d88",\r
6625         "wires": [\r
6626             [\r
6627                 "c72ac013.478f"\r
6628             ]\r
6629         ]\r
6630     },\r
6631     {\r
6632         "id": "c72ac013.478f",\r
6633         "type": "returnFailure",\r
6634         "name": "return failure",\r
6635         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6636         "comments": "",\r
6637         "x": 1492.4838562011719,\r
6638         "y": 4521.216522216797,\r
6639         "z": "82de8dcf.518d88",\r
6640         "wires": []\r
6641     },\r
6642     {\r
6643         "id": "ca51c401.6ecfa8",\r
6644         "type": "returnFailure",\r
6645         "name": "return failure",\r
6646         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6647         "comments": "",\r
6648         "x": 1503.4838562011719,\r
6649         "y": 4464.216522216797,\r
6650         "z": "82de8dcf.518d88",\r
6651         "wires": []\r
6652     },\r
6653     {\r
6654         "id": "fae6bda1.4d6a28",\r
6655         "type": "block",\r
6656         "name": "block : atomic",\r
6657         "xml": "<block atomic=\"true\">",\r
6658         "atomic": "true",\r
6659         "outputs": 1,\r
6660         "x": 2248.9837341308594,\r
6661         "y": 4410.216522216797,\r
6662         "z": "82de8dcf.518d88",\r
6663         "wires": [\r
6664             [\r
6665                 "5ada214d.6d6df",\r
6666                 "230404bc.0330d4",\r
6667                 "8f5a3f0d.286f38"\r
6668             ]\r
6669         ]\r
6670     },\r
6671     {\r
6672         "id": "3067a2de.bf9096",\r
6673         "type": "outcome",\r
6674         "name": "esr-thirdparty-sdnc",\r
6675         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
6676         "comments": "",\r
6677         "outputs": 1,\r
6678         "x": 2069.9837341308594,\r
6679         "y": 4410.216522216797,\r
6680         "z": "82de8dcf.518d88",\r
6681         "wires": [\r
6682             [\r
6683                 "fae6bda1.4d6a28"\r
6684             ]\r
6685         ]\r
6686     },\r
6687     {\r
6688         "id": "6135bf6.f11f5c",\r
6689         "type": "execute",\r
6690         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
6691         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
6692         "comments": "",\r
6693         "outputs": 1,\r
6694         "x": 1053.4839782714844,\r
6695         "y": 4567.816131591797,\r
6696         "z": "82de8dcf.518d88",\r
6697         "wires": [\r
6698             [\r
6699                 "63ad904f.f883c",\r
6700                 "612437fd.ee8ae"\r
6701             ]\r
6702         ]\r
6703     },\r
6704     {\r
6705         "id": "612437fd.ee8ae",\r
6706         "type": "success",\r
6707         "name": "success",\r
6708         "xml": "<outcome value='success'>\n",\r
6709         "comments": "",\r
6710         "outputs": 1,\r
6711         "x": 1417.9837341308594,\r
6712         "y": 4615.816131591797,\r
6713         "z": "82de8dcf.518d88",\r
6714         "wires": [\r
6715             [\r
6716                 "7222d332.cab804"\r
6717             ]\r
6718         ]\r
6719     },\r
6720     {\r
6721         "id": "63ad904f.f883c",\r
6722         "type": "failure",\r
6723         "name": "failure",\r
6724         "xml": "<outcome value='failure'>\n",\r
6725         "comments": "",\r
6726         "outputs": 1,\r
6727         "x": 1413.9837341308594,\r
6728         "y": 4575.816131591797,\r
6729         "z": "82de8dcf.518d88",\r
6730         "wires": [\r
6731             [\r
6732                 "ffb15b5f.69bdb"\r
6733             ]\r
6734         ]\r
6735     },\r
6736     {\r
6737         "id": "ffb15b5f.69bdb",\r
6738         "type": "returnFailure",\r
6739         "name": "return failure",\r
6740         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
6741         "comments": "",\r
6742         "x": 1571.9837341308594,\r
6743         "y": 4575.816131591797,\r
6744         "z": "82de8dcf.518d88",\r
6745         "wires": []\r
6746     },\r
6747     {\r
6748         "id": "7222d332.cab804",\r
6749         "type": "block",\r
6750         "name": "block : atomic",\r
6751         "xml": "<block atomic=\"true\">",\r
6752         "atomic": "true",\r
6753         "comments": "",\r
6754         "outputs": 1,\r
6755         "x": 1575.4837341308594,\r
6756         "y": 4615.816131591797,\r
6757         "z": "82de8dcf.518d88",\r
6758         "wires": [\r
6759             []\r
6760         ]\r
6761     },\r
6762     {\r
6763         "id": "230404bc.0330d4",\r
6764         "type": "execute",\r
6765         "name": "get esr-thirdparty-sdnc",\r
6766         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
6767         "comments": "",\r
6768         "outputs": 1,\r
6769         "x": 2454.9837341308594,\r
6770         "y": 4423.216522216797,\r
6771         "z": "82de8dcf.518d88",\r
6772         "wires": [\r
6773             [\r
6774                 "999c0ecf.dd9428",\r
6775                 "cadc4a62.3f428",\r
6776                 "9a118cc2.6cef58"\r
6777             ]\r
6778         ]\r
6779     },\r
6780     {\r
6781         "id": "5ada214d.6d6df",\r
6782         "type": "set",\r
6783         "name": "set esr-thirdparty-sdnc domain id",\r
6784         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
6785         "comments": "",\r
6786         "x": 2484.9837341308594,\r
6787         "y": 4371.216522216797,\r
6788         "z": "82de8dcf.518d88",\r
6789         "wires": []\r
6790     },\r
6791     {\r
6792         "id": "999c0ecf.dd9428",\r
6793         "type": "success",\r
6794         "name": "success",\r
6795         "xml": "<outcome value='success'>\n",\r
6796         "comments": "",\r
6797         "outputs": 1,\r
6798         "x": 2664.9837341308594,\r
6799         "y": 4414.216522216797,\r
6800         "z": "82de8dcf.518d88",\r
6801         "wires": [\r
6802             [\r
6803                 "fb522408.bea2a8"\r
6804             ]\r
6805         ]\r
6806     },\r
6807     {\r
6808         "id": "cadc4a62.3f428",\r
6809         "type": "not-found",\r
6810         "name": "not-found",\r
6811         "xml": "<outcome value='not-found'>\n",\r
6812         "comments": "",\r
6813         "outputs": 1,\r
6814         "x": 2656.9837341308594,\r
6815         "y": 4469.216522216797,\r
6816         "z": "82de8dcf.518d88",\r
6817         "wires": [\r
6818             [\r
6819                 "ad21cc41.8772b"\r
6820             ]\r
6821         ]\r
6822     },\r
6823     {\r
6824         "id": "9a118cc2.6cef58",\r
6825         "type": "other",\r
6826         "name": "other",\r
6827         "xml": "<outcome value='Other'>\n",\r
6828         "comments": "",\r
6829         "outputs": 1,\r
6830         "x": 2661.9837341308594,\r
6831         "y": 4526.216522216797,\r
6832         "z": "82de8dcf.518d88",\r
6833         "wires": [\r
6834             [\r
6835                 "e3096426.02dcf"\r
6836             ]\r
6837         ]\r
6838     },\r
6839     {\r
6840         "id": "e3096426.02dcf",\r
6841         "type": "returnFailure",\r
6842         "name": "return failure",\r
6843         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6844         "comments": "",\r
6845         "x": 2813.9837341308594,\r
6846         "y": 4527.216522216797,\r
6847         "z": "82de8dcf.518d88",\r
6848         "wires": []\r
6849     },\r
6850     {\r
6851         "id": "ad21cc41.8772b",\r
6852         "type": "returnFailure",\r
6853         "name": "return failure",\r
6854         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6855         "comments": "",\r
6856         "x": 2824.9837341308594,\r
6857         "y": 4472.216522216797,\r
6858         "z": "82de8dcf.518d88",\r
6859         "wires": []\r
6860     },\r
6861     {\r
6862         "id": "fb522408.bea2a8",\r
6863         "type": "block",\r
6864         "name": "block",\r
6865         "xml": "<block>\n",\r
6866         "atomic": "false",\r
6867         "comments": "",\r
6868         "outputs": 1,\r
6869         "x": 2809.3660583496094,\r
6870         "y": 4411.8721923828125,\r
6871         "z": "82de8dcf.518d88",\r
6872         "wires": [\r
6873             [\r
6874                 "6e503f35.5790c"\r
6875             ]\r
6876         ]\r
6877     },\r
6878     {\r
6879         "id": "6e503f35.5790c",\r
6880         "type": "set",\r
6881         "name": "set controller domain data",\r
6882         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
6883         "comments": "",\r
6884         "x": 3023.9837341308594,\r
6885         "y": 4408.216522216797,\r
6886         "z": "82de8dcf.518d88",\r
6887         "wires": []\r
6888     },\r
6889     {\r
6890         "id": "8f5a3f0d.286f38",\r
6891         "type": "break",\r
6892         "name": "break",\r
6893         "xml": "<break>\n",\r
6894         "comments": "",\r
6895         "x": 2404.9837341308594,\r
6896         "y": 4487.216522216797,\r
6897         "z": "82de8dcf.518d88",\r
6898         "wires": []\r
6899     },\r
6900     {\r
6901         "id": "8458698c.d1be5",\r
6902         "type": "call",\r
6903         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6904         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6905         "comments": "",\r
6906         "outputs": 1,\r
6907         "x": 1082.5667419433594,\r
6908         "y": 4787.932830810547,\r
6909         "z": "82de8dcf.518d88",\r
6910         "wires": [\r
6911             []\r
6912         ]\r
6913     },\r
6914     {\r
6915         "id": "6cf7c0fc.18d4e8",\r
6916         "type": "switchNode",\r
6917         "name": "switch found-root-connectivity",\r
6918         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6919         "comments": "",\r
6920         "outputs": 1,\r
6921         "x": 897.5667419433594,\r
6922         "y": 4854.932830810547,\r
6923         "z": "82de8dcf.518d88",\r
6924         "wires": [\r
6925             [\r
6926                 "31c266e8.6cad22",\r
6927                 "45786f9e.46f928"\r
6928             ]\r
6929         ]\r
6930     },\r
6931     {\r
6932         "id": "31c266e8.6cad22",\r
6933         "type": "outcomeTrue",\r
6934         "name": "true",\r
6935         "xml": "<outcome value='true'>\n",\r
6936         "comments": "",\r
6937         "outputs": 1,\r
6938         "x": 1162.5667419433594,\r
6939         "y": 4839.932830810547,\r
6940         "z": "82de8dcf.518d88",\r
6941         "wires": [\r
6942             [\r
6943                 "25e4293a.b5a0de"\r
6944             ]\r
6945         ]\r
6946     },\r
6947     {\r
6948         "id": "45786f9e.46f928",\r
6949         "type": "outcomeFalse",\r
6950         "name": "false",\r
6951         "xml": "<outcome value='false'>\n",\r
6952         "comments": "",\r
6953         "outputs": 1,\r
6954         "x": 1158.5667419433594,\r
6955         "y": 4887.932830810547,\r
6956         "z": "82de8dcf.518d88",\r
6957         "wires": [\r
6958             [\r
6959                 "9325c5b6.3d913"\r
6960             ]\r
6961         ]\r
6962     },\r
6963     {\r
6964         "id": "25e4293a.b5a0de",\r
6965         "type": "block",\r
6966         "name": "block : atomic",\r
6967         "xml": "<block atomic='true'>",\r
6968         "atomic": "true",\r
6969         "comments": "",\r
6970         "outputs": 1,\r
6971         "x": 1318.5667419433594,\r
6972         "y": 4835.932830810547,\r
6973         "z": "82de8dcf.518d88",\r
6974         "wires": [\r
6975             [\r
6976                 "51a35a4f.5fbc64"\r
6977             ]\r
6978         ]\r
6979     },\r
6980     {\r
6981         "id": "9325c5b6.3d913",\r
6982         "type": "returnFailure",\r
6983         "name": "return failure",\r
6984         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
6985         "comments": "",\r
6986         "x": 1306.5667419433594,\r
6987         "y": 4882.932830810547,\r
6988         "z": "82de8dcf.518d88",\r
6989         "wires": []\r
6990     },\r
6991     {\r
6992         "id": "c5019df.72c63e",\r
6993         "type": "comment",\r
6994         "name": "Update connectivity status to modified",\r
6995         "info": "",\r
6996         "comments": "",\r
6997         "x": 1587.4664001464844,\r
6998         "y": 4786.633026123047,\r
6999         "z": "82de8dcf.518d88",\r
7000         "wires": []\r
7001     },\r
7002     {\r
7003         "id": "51a35a4f.5fbc64",\r
7004         "type": "save",\r
7005         "name": "update ROOT connectivity resource in AAI",\r
7006         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7007         "comments": "",\r
7008         "outputs": 1,\r
7009         "x": 1613.2496032714844,\r
7010         "y": 4828.833221435547,\r
7011         "z": "82de8dcf.518d88",\r
7012         "wires": [\r
7013             []\r
7014         ]\r
7015     },\r
7016     {\r
7017         "id": "cbb82af5.87b298",\r
7018         "type": "call",\r
7019         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
7020         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
7021         "comments": "",\r
7022         "outputs": 1,\r
7023         "x": 1026.8833923339844,\r
7024         "y": 4102.199920654297,\r
7025         "z": "82de8dcf.518d88",\r
7026         "wires": [\r
7027             []\r
7028         ]\r
7029     },\r
7030     {\r
7031         "id": "daa6681.3df0a98",\r
7032         "type": "block",\r
7033         "name": "block",\r
7034         "xml": "<block>\n",\r
7035         "atomic": "false",\r
7036         "comments": "",\r
7037         "outputs": 1,\r
7038         "x": 632.8834228515625,\r
7039         "y": 4106.883056640625,\r
7040         "z": "82de8dcf.518d88",\r
7041         "wires": [\r
7042             [\r
7043                 "cbb82af5.87b298",\r
7044                 "7731a568.885cdc"\r
7045             ]\r
7046         ]\r
7047     },\r
7048     {\r
7049         "id": "e5624f1d.dbf4b8",\r
7050         "type": "block",\r
7051         "name": "block",\r
7052         "xml": "<block>\n",\r
7053         "atomic": "false",\r
7054         "comments": "",\r
7055         "outputs": 1,\r
7056         "x": 716.3333740234375,\r
7057         "y": 5359.39990234375,\r
7058         "z": "82de8dcf.518d88",\r
7059         "wires": [\r
7060             [\r
7061                 "16338b46.5dad65",\r
7062                 "de535c52.af9d48",\r
7063                 "78064cf.4874bb4",\r
7064                 "b5448cca.f23df8"\r
7065             ]\r
7066         ]\r
7067     },\r
7068     {\r
7069         "id": "16338b46.5dad65",\r
7070         "type": "call",\r
7071         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
7072         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
7073         "comments": "",\r
7074         "outputs": 1,\r
7075         "x": 1067.7166748046875,\r
7076         "y": 5290.39990234375,\r
7077         "z": "82de8dcf.518d88",\r
7078         "wires": [\r
7079             []\r
7080         ]\r
7081     },\r
7082     {\r
7083         "id": "de535c52.af9d48",\r
7084         "type": "save",\r
7085         "name": "delete LEAF connectivity resource in AAI",\r
7086         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
7087         "comments": "",\r
7088         "outputs": 1,\r
7089         "x": 978.7166748046875,\r
7090         "y": 5359.39990234375,\r
7091         "z": "82de8dcf.518d88",\r
7092         "wires": [\r
7093             []\r
7094         ]\r
7095     },\r
7096     {\r
7097         "id": "78064cf.4874bb4",\r
7098         "type": "block",\r
7099         "name": "block : atomic",\r
7100         "xml": "<block atomic=\"true\">",\r
7101         "atomic": "true",\r
7102         "outputs": 1,\r
7103         "x": 869.88330078125,\r
7104         "y": 5594.39990234375,\r
7105         "z": "82de8dcf.518d88",\r
7106         "wires": [\r
7107             [\r
7108                 "69415165.a30268",\r
7109                 "38b5cafd.d5079e",\r
7110                 "6a408110.2a2dc"\r
7111             ]\r
7112         ]\r
7113     },\r
7114     {\r
7115         "id": "f703a5f3.1124f8",\r
7116         "type": "execute",\r
7117         "name": "get esr-thirdparty-sdnc",\r
7118         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
7119         "comments": "",\r
7120         "outputs": 1,\r
7121         "x": 2585.882568359375,\r
7122         "y": 5481.39990234375,\r
7123         "z": "82de8dcf.518d88",\r
7124         "wires": [\r
7125             [\r
7126                 "2bcfefd4.8f246",\r
7127                 "6262f33a.13ed54",\r
7128                 "5f5183a2.3dd5bc"\r
7129             ]\r
7130         ]\r
7131     },\r
7132     {\r
7133         "id": "17938acf.263b45",\r
7134         "type": "break",\r
7135         "name": "break",\r
7136         "xml": "<break>\n",\r
7137         "comments": "",\r
7138         "x": 2535.882568359375,\r
7139         "y": 5545.39990234375,\r
7140         "z": "82de8dcf.518d88",\r
7141         "wires": []\r
7142     },\r
7143     {\r
7144         "id": "434194f6.d45944",\r
7145         "type": "set",\r
7146         "name": "set esr-thirdparty-sdnc domain id",\r
7147         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
7148         "comments": "",\r
7149         "x": 2615.882568359375,\r
7150         "y": 5429.39990234375,\r
7151         "z": "82de8dcf.518d88",\r
7152         "wires": []\r
7153     },\r
7154     {\r
7155         "id": "2bcfefd4.8f246",\r
7156         "type": "success",\r
7157         "name": "success",\r
7158         "xml": "<outcome value='success'>\n",\r
7159         "comments": "",\r
7160         "outputs": 1,\r
7161         "x": 2795.882568359375,\r
7162         "y": 5472.39990234375,\r
7163         "z": "82de8dcf.518d88",\r
7164         "wires": [\r
7165             [\r
7166                 "f6e068a.7d61a18"\r
7167             ]\r
7168         ]\r
7169     },\r
7170     {\r
7171         "id": "6262f33a.13ed54",\r
7172         "type": "not-found",\r
7173         "name": "not-found",\r
7174         "xml": "<outcome value='not-found'>\n",\r
7175         "comments": "",\r
7176         "outputs": 1,\r
7177         "x": 2787.882568359375,\r
7178         "y": 5527.39990234375,\r
7179         "z": "82de8dcf.518d88",\r
7180         "wires": [\r
7181             [\r
7182                 "2a0eede1.27db52"\r
7183             ]\r
7184         ]\r
7185     },\r
7186     {\r
7187         "id": "5f5183a2.3dd5bc",\r
7188         "type": "other",\r
7189         "name": "other",\r
7190         "xml": "<outcome value='Other'>\n",\r
7191         "comments": "",\r
7192         "outputs": 1,\r
7193         "x": 2792.882568359375,\r
7194         "y": 5584.39990234375,\r
7195         "z": "82de8dcf.518d88",\r
7196         "wires": [\r
7197             [\r
7198                 "612a7284.deceac"\r
7199             ]\r
7200         ]\r
7201     },\r
7202     {\r
7203         "id": "612a7284.deceac",\r
7204         "type": "returnFailure",\r
7205         "name": "return failure",\r
7206         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7207         "comments": "",\r
7208         "x": 2944.882568359375,\r
7209         "y": 5585.39990234375,\r
7210         "z": "82de8dcf.518d88",\r
7211         "wires": []\r
7212     },\r
7213     {\r
7214         "id": "2a0eede1.27db52",\r
7215         "type": "returnFailure",\r
7216         "name": "return failure",\r
7217         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7218         "comments": "",\r
7219         "x": 2955.882568359375,\r
7220         "y": 5530.39990234375,\r
7221         "z": "82de8dcf.518d88",\r
7222         "wires": []\r
7223     },\r
7224     {\r
7225         "id": "f6e068a.7d61a18",\r
7226         "type": "block",\r
7227         "name": "block",\r
7228         "xml": "<block>\n",\r
7229         "atomic": "false",\r
7230         "comments": "",\r
7231         "outputs": 1,\r
7232         "x": 2940.264892578125,\r
7233         "y": 5470.055572509766,\r
7234         "z": "82de8dcf.518d88",\r
7235         "wires": [\r
7236             [\r
7237                 "d3b91b08.9e326"\r
7238             ]\r
7239         ]\r
7240     },\r
7241     {\r
7242         "id": "d3b91b08.9e326",\r
7243         "type": "set",\r
7244         "name": "set controller domain data",\r
7245         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
7246         "comments": "",\r
7247         "x": 3154.882568359375,\r
7248         "y": 5466.39990234375,\r
7249         "z": "82de8dcf.518d88",\r
7250         "wires": []\r
7251     },\r
7252     {\r
7253         "id": "69415165.a30268",\r
7254         "type": "set",\r
7255         "name": "set pnf-name",\r
7256         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.the-connectivity.access-node-id`\" />\n",\r
7257         "comments": "",\r
7258         "x": 1151.88330078125,\r
7259         "y": 5463.39990234375,\r
7260         "z": "82de8dcf.518d88",\r
7261         "wires": []\r
7262     },\r
7263     {\r
7264         "id": "5cd94a05.12a97c",\r
7265         "type": "other",\r
7266         "name": "other",\r
7267         "xml": "<outcome value='Other'>\n",\r
7268         "comments": "",\r
7269         "outputs": 1,\r
7270         "x": 1362.3834228515625,\r
7271         "y": 5602.39990234375,\r
7272         "z": "82de8dcf.518d88",\r
7273         "wires": [\r
7274             [\r
7275                 "6b54e983.54f23"\r
7276             ]\r
7277         ]\r
7278     },\r
7279     {\r
7280         "id": "7cfb8601.d6c8b8",\r
7281         "type": "success",\r
7282         "name": "success",\r
7283         "xml": "<outcome value='success'>\n",\r
7284         "comments": "",\r
7285         "outputs": 1,\r
7286         "x": 1365.3834228515625,\r
7287         "y": 5490.39990234375,\r
7288         "z": "82de8dcf.518d88",\r
7289         "wires": [\r
7290             [\r
7291                 "43d9e97c.41e918"\r
7292             ]\r
7293         ]\r
7294     },\r
7295     {\r
7296         "id": "c076204a.7c8658",\r
7297         "type": "not-found",\r
7298         "name": "not-found",\r
7299         "xml": "<outcome value='not-found'>\n",\r
7300         "comments": "",\r
7301         "outputs": 1,\r
7302         "x": 1357.3834228515625,\r
7303         "y": 5545.39990234375,\r
7304         "z": "82de8dcf.518d88",\r
7305         "wires": [\r
7306             [\r
7307                 "697ce13c.463e78"\r
7308             ]\r
7309         ]\r
7310     },\r
7311     {\r
7312         "id": "43d9e97c.41e918",\r
7313         "type": "block",\r
7314         "name": "block",\r
7315         "xml": "<block>\n",\r
7316         "atomic": "false",\r
7317         "comments": "",\r
7318         "outputs": 1,\r
7319         "x": 1499.765625,\r
7320         "y": 5485.0556640625,\r
7321         "z": "82de8dcf.518d88",\r
7322         "wires": [\r
7323             [\r
7324                 "9ea73f48.e6dc88"\r
7325             ]\r
7326         ]\r
7327     },\r
7328     {\r
7329         "id": "6b54e983.54f23",\r
7330         "type": "returnFailure",\r
7331         "name": "return failure",\r
7332         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7333         "comments": "",\r
7334         "x": 1514.3834228515625,\r
7335         "y": 5603.39990234375,\r
7336         "z": "82de8dcf.518d88",\r
7337         "wires": []\r
7338     },\r
7339     {\r
7340         "id": "697ce13c.463e78",\r
7341         "type": "returnFailure",\r
7342         "name": "return failure",\r
7343         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7344         "comments": "",\r
7345         "x": 1525.3834228515625,\r
7346         "y": 5546.39990234375,\r
7347         "z": "82de8dcf.518d88",\r
7348         "wires": []\r
7349     },\r
7350     {\r
7351         "id": "9ea73f48.e6dc88",\r
7352         "type": "for",\r
7353         "name": "for each relationship",\r
7354         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
7355         "comments": "",\r
7356         "outputs": 1,\r
7357         "x": 1686.8828125,\r
7358         "y": 5486.39990234375,\r
7359         "z": "82de8dcf.518d88",\r
7360         "wires": [\r
7361             [\r
7362                 "8867a67f.02b388"\r
7363             ]\r
7364         ]\r
7365     },\r
7366     {\r
7367         "id": "8867a67f.02b388",\r
7368         "type": "switchNode",\r
7369         "name": "switch related-to",\r
7370         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
7371         "comments": "",\r
7372         "outputs": 1,\r
7373         "x": 1914.8828125,\r
7374         "y": 5479.39990234375,\r
7375         "z": "82de8dcf.518d88",\r
7376         "wires": [\r
7377             [\r
7378                 "bfd4d2af.8ab0b8"\r
7379             ]\r
7380         ]\r
7381     },\r
7382     {\r
7383         "id": "38b5cafd.d5079e",\r
7384         "type": "get-resource",\r
7385         "name": "get-resource src pnf",\r
7386         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
7387         "comments": "",\r
7388         "outputs": 1,\r
7389         "x": 1169.88330078125,\r
7390         "y": 5538.39990234375,\r
7391         "z": "82de8dcf.518d88",\r
7392         "wires": [\r
7393             [\r
7394                 "5cd94a05.12a97c",\r
7395                 "7cfb8601.d6c8b8",\r
7396                 "c076204a.7c8658"\r
7397             ]\r
7398         ]\r
7399     },\r
7400     {\r
7401         "id": "bfd4d2af.8ab0b8",\r
7402         "type": "outcome",\r
7403         "name": "esr-thirdparty-sdnc",\r
7404         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
7405         "comments": "",\r
7406         "outputs": 1,\r
7407         "x": 2120.8828125,\r
7408         "y": 5476.39990234375,\r
7409         "z": "82de8dcf.518d88",\r
7410         "wires": [\r
7411             [\r
7412                 "b0cdfdee.4e9418"\r
7413             ]\r
7414         ]\r
7415     },\r
7416     {\r
7417         "id": "b0cdfdee.4e9418",\r
7418         "type": "block",\r
7419         "name": "block : atomic",\r
7420         "xml": "<block atomic=\"true\">",\r
7421         "atomic": "true",\r
7422         "outputs": 1,\r
7423         "x": 2335.8822021484375,\r
7424         "y": 5479.39990234375,\r
7425         "z": "82de8dcf.518d88",\r
7426         "wires": [\r
7427             [\r
7428                 "434194f6.d45944",\r
7429                 "f703a5f3.1124f8",\r
7430                 "17938acf.263b45"\r
7431             ]\r
7432         ]\r
7433     },\r
7434     {\r
7435         "id": "6a408110.2a2dc",\r
7436         "type": "execute",\r
7437         "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
7438         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
7439         "comments": "",\r
7440         "outputs": 1,\r
7441         "x": 1293.6500244140625,\r
7442         "y": 5687.7998046875,\r
7443         "z": "82de8dcf.518d88",\r
7444         "wires": [\r
7445             [\r
7446                 "d58ed713.3cd0d",\r
7447                 "e5f89511.dafe58"\r
7448             ]\r
7449         ]\r
7450     },\r
7451     {\r
7452         "id": "d58ed713.3cd0d",\r
7453         "type": "failure",\r
7454         "name": "failure",\r
7455         "xml": "<outcome value='failure'>\n",\r
7456         "comments": "",\r
7457         "outputs": 1,\r
7458         "x": 1640.1500244140625,\r
7459         "y": 5680.7998046875,\r
7460         "z": "82de8dcf.518d88",\r
7461         "wires": [\r
7462             [\r
7463                 "8ee30019.6f667"\r
7464             ]\r
7465         ]\r
7466     },\r
7467     {\r
7468         "id": "e5f89511.dafe58",\r
7469         "type": "success",\r
7470         "name": "success",\r
7471         "xml": "<outcome value='success'>\n",\r
7472         "comments": "",\r
7473         "outputs": 1,\r
7474         "x": 1644.1500244140625,\r
7475         "y": 5720.7998046875,\r
7476         "z": "82de8dcf.518d88",\r
7477         "wires": [\r
7478             [\r
7479                 "3308ecad.5ad59c"\r
7480             ]\r
7481         ]\r
7482     },\r
7483     {\r
7484         "id": "8ee30019.6f667",\r
7485         "type": "returnFailure",\r
7486         "name": "return failure",\r
7487         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
7488         "comments": "",\r
7489         "x": 1798.1500244140625,\r
7490         "y": 5680.7998046875,\r
7491         "z": "82de8dcf.518d88",\r
7492         "wires": []\r
7493     },\r
7494     {\r
7495         "id": "3308ecad.5ad59c",\r
7496         "type": "block",\r
7497         "name": "block : atomic",\r
7498         "xml": "<block atomic=\"true\">",\r
7499         "atomic": "true",\r
7500         "comments": "",\r
7501         "outputs": 1,\r
7502         "x": 1801.6500244140625,\r
7503         "y": 5720.7998046875,\r
7504         "z": "82de8dcf.518d88",\r
7505         "wires": [\r
7506             []\r
7507         ]\r
7508     },\r
7509     {\r
7510         "id": "b5448cca.f23df8",\r
7511         "type": "switchNode",\r
7512         "name": "switch tmp.MMstillHasUni?",\r
7513         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
7514         "comments": "",\r
7515         "outputs": 1,\r
7516         "x": 913.183349609375,\r
7517         "y": 5849.60009765625,\r
7518         "z": "82de8dcf.518d88",\r
7519         "wires": [\r
7520             [\r
7521                 "59551d1d.12689c",\r
7522                 "5a5ae31.cb9b99c"\r
7523             ]\r
7524         ]\r
7525     },\r
7526     {\r
7527         "id": "59551d1d.12689c",\r
7528         "type": "outcomeTrue",\r
7529         "name": "true",\r
7530         "xml": "<outcome value='true'>\n",\r
7531         "comments": "",\r
7532         "outputs": 1,\r
7533         "x": 1105.183349609375,\r
7534         "y": 5826.60009765625,\r
7535         "z": "82de8dcf.518d88",\r
7536         "wires": [\r
7537             [\r
7538                 "2e2794d8.3df39c"\r
7539             ]\r
7540         ]\r
7541     },\r
7542     {\r
7543         "id": "5a5ae31.cb9b99c",\r
7544         "type": "outcomeFalse",\r
7545         "name": "false",\r
7546         "xml": "<outcome value='false'>\n",\r
7547         "comments": "",\r
7548         "outputs": 1,\r
7549         "x": 1093.3500366210938,\r
7550         "y": 5999.2001953125,\r
7551         "z": "82de8dcf.518d88",\r
7552         "wires": [\r
7553             [\r
7554                 "6dce893f.c421c"\r
7555             ]\r
7556         ]\r
7557     },\r
7558     {\r
7559         "id": "2e2794d8.3df39c",\r
7560         "type": "block",\r
7561         "name": "block",\r
7562         "xml": "<block>\n",\r
7563         "atomic": "false",\r
7564         "comments": "",\r
7565         "outputs": 1,\r
7566         "x": 1253.35009765625,\r
7567         "y": 5826.2001953125,\r
7568         "z": "82de8dcf.518d88",\r
7569         "wires": [\r
7570             [\r
7571                 "b4e9d461.c3c1a",\r
7572                 "2f3efa95.41d3ce"\r
7573             ]\r
7574         ]\r
7575     },\r
7576     {\r
7577         "id": "b4e9d461.c3c1a",\r
7578         "type": "call",\r
7579         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7580         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7581         "comments": "",\r
7582         "outputs": 1,\r
7583         "x": 1675.199951171875,\r
7584         "y": 5797.60009765625,\r
7585         "z": "82de8dcf.518d88",\r
7586         "wires": [\r
7587             []\r
7588         ]\r
7589     },\r
7590     {\r
7591         "id": "2f3efa95.41d3ce",\r
7592         "type": "switchNode",\r
7593         "name": "switch found-root-connectivity",\r
7594         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7595         "comments": "",\r
7596         "outputs": 1,\r
7597         "x": 1490.199951171875,\r
7598         "y": 5864.60009765625,\r
7599         "z": "82de8dcf.518d88",\r
7600         "wires": [\r
7601             [\r
7602                 "aadc3189.147b98",\r
7603                 "9801a2d7.df3f98"\r
7604             ]\r
7605         ]\r
7606     },\r
7607     {\r
7608         "id": "aadc3189.147b98",\r
7609         "type": "outcomeTrue",\r
7610         "name": "true",\r
7611         "xml": "<outcome value='true'>\n",\r
7612         "comments": "",\r
7613         "outputs": 1,\r
7614         "x": 1755.199951171875,\r
7615         "y": 5849.60009765625,\r
7616         "z": "82de8dcf.518d88",\r
7617         "wires": [\r
7618             [\r
7619                 "aaac06aa.f3d728"\r
7620             ]\r
7621         ]\r
7622     },\r
7623     {\r
7624         "id": "9801a2d7.df3f98",\r
7625         "type": "outcomeFalse",\r
7626         "name": "false",\r
7627         "xml": "<outcome value='false'>\n",\r
7628         "comments": "",\r
7629         "outputs": 1,\r
7630         "x": 1751.199951171875,\r
7631         "y": 5897.60009765625,\r
7632         "z": "82de8dcf.518d88",\r
7633         "wires": [\r
7634             [\r
7635                 "7656a3d7.b7266c"\r
7636             ]\r
7637         ]\r
7638     },\r
7639     {\r
7640         "id": "aaac06aa.f3d728",\r
7641         "type": "block",\r
7642         "name": "block : atomic",\r
7643         "xml": "<block atomic='true'>",\r
7644         "atomic": "true",\r
7645         "comments": "",\r
7646         "outputs": 1,\r
7647         "x": 1911.199951171875,\r
7648         "y": 5845.60009765625,\r
7649         "z": "82de8dcf.518d88",\r
7650         "wires": [\r
7651             [\r
7652                 "2673ca00.ba724e"\r
7653             ]\r
7654         ]\r
7655     },\r
7656     {\r
7657         "id": "7656a3d7.b7266c",\r
7658         "type": "returnFailure",\r
7659         "name": "return failure",\r
7660         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7661         "comments": "",\r
7662         "x": 1899.199951171875,\r
7663         "y": 5892.60009765625,\r
7664         "z": "82de8dcf.518d88",\r
7665         "wires": []\r
7666     },\r
7667     {\r
7668         "id": "2673ca00.ba724e",\r
7669         "type": "save",\r
7670         "name": "update ROOT connectivity resource in AAI",\r
7671         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7672         "comments": "",\r
7673         "outputs": 1,\r
7674         "x": 2219.8826904296875,\r
7675         "y": 5839.50048828125,\r
7676         "z": "82de8dcf.518d88",\r
7677         "wires": [\r
7678             []\r
7679         ]\r
7680     },\r
7681     {\r
7682         "id": "bfaf6549.13fe88",\r
7683         "type": "comment",\r
7684         "name": "Update connectivity status to modified",\r
7685         "info": "",\r
7686         "comments": "",\r
7687         "x": 2194.0994873046875,\r
7688         "y": 5797.30029296875,\r
7689         "z": "82de8dcf.518d88",\r
7690         "wires": []\r
7691     },\r
7692     {\r
7693         "id": "6dce893f.c421c",\r
7694         "type": "block",\r
7695         "name": "block",\r
7696         "xml": "<block>\n",\r
7697         "atomic": "false",\r
7698         "comments": "",\r
7699         "outputs": 1,\r
7700         "x": 1230.916748046875,\r
7701         "y": 5998.5,\r
7702         "z": "82de8dcf.518d88",\r
7703         "wires": [\r
7704             [\r
7705                 "75d82528.4dd5bc",\r
7706                 "24c2da43.974556"\r
7707             ]\r
7708         ]\r
7709     },\r
7710     {\r
7711         "id": "75d82528.4dd5bc",\r
7712         "type": "for",\r
7713         "name": "for each relationship of middle-man-conn",\r
7714         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7715         "comments": "",\r
7716         "outputs": 1,\r
7717         "x": 1544.23291015625,\r
7718         "y": 5992.7001953125,\r
7719         "z": "82de8dcf.518d88",\r
7720         "wires": [\r
7721             [\r
7722                 "29eb94d3.70f2dc"\r
7723             ]\r
7724         ]\r
7725     },\r
7726     {\r
7727         "id": "29eb94d3.70f2dc",\r
7728         "type": "switchNode",\r
7729         "name": "switch related-to",\r
7730         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7731         "comments": "",\r
7732         "outputs": 1,\r
7733         "x": 1844.566650390625,\r
7734         "y": 5987.700134277344,\r
7735         "z": "82de8dcf.518d88",\r
7736         "wires": [\r
7737             [\r
7738                 "522c88bc.33b518"\r
7739             ]\r
7740         ]\r
7741     },\r
7742     {\r
7743         "id": "522c88bc.33b518",\r
7744         "type": "outcome",\r
7745         "name": "connectivity",\r
7746         "xml": "<outcome value='connectivity'>\n",\r
7747         "comments": "",\r
7748         "outputs": 1,\r
7749         "x": 2024.2332763671875,\r
7750         "y": 5987.700225830078,\r
7751         "z": "82de8dcf.518d88",\r
7752         "wires": [\r
7753             [\r
7754                 "9dde3a26.bf1a48"\r
7755             ]\r
7756         ]\r
7757     },\r
7758     {\r
7759         "id": "9dde3a26.bf1a48",\r
7760         "type": "save",\r
7761         "name": "get connectivity from aai",\r
7762         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
7763         "comments": "",\r
7764         "outputs": 1,\r
7765         "x": 2224.233154296875,\r
7766         "y": 5987.7001953125,\r
7767         "z": "82de8dcf.518d88",\r
7768         "wires": [\r
7769             [\r
7770                 "af210146.805c98",\r
7771                 "1304e1a7.407dde",\r
7772                 "83b6e70e.c6339"\r
7773             ]\r
7774         ]\r
7775     },\r
7776     {\r
7777         "id": "af210146.805c98",\r
7778         "type": "success",\r
7779         "name": "success",\r
7780         "xml": "<outcome value='success'>\n",\r
7781         "comments": "",\r
7782         "outputs": 1,\r
7783         "x": 2431.23291015625,\r
7784         "y": 6037.7001953125,\r
7785         "z": "82de8dcf.518d88",\r
7786         "wires": [\r
7787             [\r
7788                 "bfbb5b5d.76ea48"\r
7789             ]\r
7790         ]\r
7791     },\r
7792     {\r
7793         "id": "24e402f2.8a6b26",\r
7794         "type": "save",\r
7795         "name": "get vpn-binding from aai",\r
7796         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
7797         "comments": "",\r
7798         "outputs": 1,\r
7799         "x": 2408.466552734375,\r
7800         "y": 6221.89990234375,\r
7801         "z": "82de8dcf.518d88",\r
7802         "wires": [\r
7803             [\r
7804                 "3ff65d5b.44eb62",\r
7805                 "d09102d1.fb466",\r
7806                 "3d724c56.f2b6cc"\r
7807             ]\r
7808         ]\r
7809     },\r
7810     {\r
7811         "id": "1cd695fe.f2c6f2",\r
7812         "type": "for",\r
7813         "name": "for each relationship",\r
7814         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7815         "comments": "",\r
7816         "outputs": 1,\r
7817         "x": 1607.466552734375,\r
7818         "y": 6136.89990234375,\r
7819         "z": "82de8dcf.518d88",\r
7820         "wires": [\r
7821             [\r
7822                 "74367c85.fa02dc"\r
7823             ]\r
7824         ]\r
7825     },\r
7826     {\r
7827         "id": "74367c85.fa02dc",\r
7828         "type": "switchNode",\r
7829         "name": "switch related-to",\r
7830         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7831         "comments": "",\r
7832         "outputs": 1,\r
7833         "x": 1804.466552734375,\r
7834         "y": 6150.89990234375,\r
7835         "z": "82de8dcf.518d88",\r
7836         "wires": [\r
7837             [\r
7838                 "572f2125.6367b8",\r
7839                 "5931a81f.41a6"\r
7840             ]\r
7841         ]\r
7842     },\r
7843     {\r
7844         "id": "572f2125.6367b8",\r
7845         "type": "outcome",\r
7846         "name": "vpn-binding",\r
7847         "xml": "<outcome value='vpn-binding'>\n",\r
7848         "comments": "",\r
7849         "outputs": 1,\r
7850         "x": 1972.466552734375,\r
7851         "y": 6143.89990234375,\r
7852         "z": "82de8dcf.518d88",\r
7853         "wires": [\r
7854             [\r
7855                 "22fa9a36.31302e"\r
7856             ]\r
7857         ]\r
7858     },\r
7859     {\r
7860         "id": "22fa9a36.31302e",\r
7861         "type": "block",\r
7862         "name": "block : atomic",\r
7863         "xml": "<block atomic=\"true\">",\r
7864         "atomic": "true",\r
7865         "outputs": 1,\r
7866         "x": 2135.466552734375,\r
7867         "y": 6143.89990234375,\r
7868         "z": "82de8dcf.518d88",\r
7869         "wires": [\r
7870             [\r
7871                 "24e402f2.8a6b26"\r
7872             ]\r
7873         ]\r
7874     },\r
7875     {\r
7876         "id": "5931a81f.41a6",\r
7877         "type": "outcome",\r
7878         "name": "uni",\r
7879         "xml": "<outcome value='uni'>\n",\r
7880         "comments": "",\r
7881         "outputs": 1,\r
7882         "x": 1988.466552734375,\r
7883         "y": 6439.89990234375,\r
7884         "z": "82de8dcf.518d88",\r
7885         "wires": [\r
7886             [\r
7887                 "510edb34.612754"\r
7888             ]\r
7889         ]\r
7890     },\r
7891     {\r
7892         "id": "510edb34.612754",\r
7893         "type": "block",\r
7894         "name": "block : atomic",\r
7895         "xml": "<block atomic=\"true\">",\r
7896         "atomic": "true",\r
7897         "outputs": 1,\r
7898         "x": 2151.466552734375,\r
7899         "y": 6439.89990234375,\r
7900         "z": "82de8dcf.518d88",\r
7901         "wires": [\r
7902             [\r
7903                 "4c0113a.98542ec"\r
7904             ]\r
7905         ]\r
7906     },\r
7907     {\r
7908         "id": "4c0113a.98542ec",\r
7909         "type": "save",\r
7910         "name": "delete uni resource in AAI",\r
7911         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
7912         "comments": "",\r
7913         "outputs": 1,\r
7914         "x": 2394.466552734375,\r
7915         "y": 6439.89990234375,\r
7916         "z": "82de8dcf.518d88",\r
7917         "wires": [\r
7918             []\r
7919         ]\r
7920     },\r
7921     {\r
7922         "id": "2b555ba8.ce83e4",\r
7923         "type": "save",\r
7924         "name": "delete connectivity resource in AAI",\r
7925         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7926         "comments": "",\r
7927         "outputs": 1,\r
7928         "x": 1648.466552734375,\r
7929         "y": 6583.89990234375,\r
7930         "z": "82de8dcf.518d88",\r
7931         "wires": [\r
7932             []\r
7933         ]\r
7934     },\r
7935     {\r
7936         "id": "bfbb5b5d.76ea48",\r
7937         "type": "block",\r
7938         "name": "block",\r
7939         "xml": "<block>\n",\r
7940         "atomic": "false",\r
7941         "comments": "",\r
7942         "outputs": 1,\r
7943         "x": 1433.466552734375,\r
7944         "y": 6134.89990234375,\r
7945         "z": "82de8dcf.518d88",\r
7946         "wires": [\r
7947             [\r
7948                 "1cd695fe.f2c6f2",\r
7949                 "2b555ba8.ce83e4"\r
7950             ]\r
7951         ]\r
7952     },\r
7953     {\r
7954         "id": "3ff65d5b.44eb62",\r
7955         "type": "success",\r
7956         "name": "success",\r
7957         "xml": "<outcome value='success'>\n",\r
7958         "comments": "",\r
7959         "outputs": 1,\r
7960         "x": 2619.466552734375,\r
7961         "y": 6223.89990234375,\r
7962         "z": "82de8dcf.518d88",\r
7963         "wires": [\r
7964             [\r
7965                 "851525d6.b90c38"\r
7966             ]\r
7967         ]\r
7968     },\r
7969     {\r
7970         "id": "d09102d1.fb466",\r
7971         "type": "not-found",\r
7972         "name": "not-found",\r
7973         "xml": "<outcome value='not-found'>\n",\r
7974         "comments": "",\r
7975         "outputs": 1,\r
7976         "x": 2619.95751953125,\r
7977         "y": 6269.473937988281,\r
7978         "z": "82de8dcf.518d88",\r
7979         "wires": [\r
7980             [\r
7981                 "74e6774b.c7b358"\r
7982             ]\r
7983         ]\r
7984     },\r
7985     {\r
7986         "id": "3d724c56.f2b6cc",\r
7987         "type": "failure",\r
7988         "name": "failure",\r
7989         "xml": "<outcome value='failure'>\n",\r
7990         "comments": "",\r
7991         "outputs": 1,\r
7992         "x": 2617.466552734375,\r
7993         "y": 6312.89990234375,\r
7994         "z": "82de8dcf.518d88",\r
7995         "wires": [\r
7996             [\r
7997                 "cbe3afce.930cc"\r
7998             ]\r
7999         ]\r
8000     },\r
8001     {\r
8002         "id": "83b6e70e.c6339",\r
8003         "type": "not-found",\r
8004         "name": "not-found",\r
8005         "xml": "<outcome value='not-found'>\n",\r
8006         "comments": "",\r
8007         "outputs": 1,\r
8008         "x": 2455.282958984375,\r
8009         "y": 5938.5,\r
8010         "z": "82de8dcf.518d88",\r
8011         "wires": [\r
8012             []\r
8013         ]\r
8014     },\r
8015     {\r
8016         "id": "1304e1a7.407dde",\r
8017         "type": "failure",\r
8018         "name": "failure",\r
8019         "xml": "<outcome value='failure'>\n",\r
8020         "comments": "",\r
8021         "outputs": 1,\r
8022         "x": 2452.7919921875,\r
8023         "y": 5981.925964355469,\r
8024         "z": "82de8dcf.518d88",\r
8025         "wires": [\r
8026             []\r
8027         ]\r
8028     },\r
8029     {\r
8030         "id": "24c2da43.974556",\r
8031         "type": "save",\r
8032         "name": "delete middle-man-conn resource in AAI",\r
8033         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
8034         "comments": "",\r
8035         "outputs": 1,\r
8036         "x": 1531.400146484375,\r
8037         "y": 6067.2998046875,\r
8038         "z": "82de8dcf.518d88",\r
8039         "wires": [\r
8040             []\r
8041         ]\r
8042     },\r
8043     {\r
8044         "id": "851525d6.b90c38",\r
8045         "type": "block",\r
8046         "name": "block : atomic",\r
8047         "xml": "<block atomic=\"true\">",\r
8048         "atomic": "true",\r
8049         "outputs": 1,\r
8050         "x": 2785.466552734375,\r
8051         "y": 6213.89990234375,\r
8052         "z": "82de8dcf.518d88",\r
8053         "wires": [\r
8054             [\r
8055                 "811dd566.85ec38",\r
8056                 "6a877b95.f2661c",\r
8057                 "66415a60.9e5d9c",\r
8058                 "a662df33.5b8808",\r
8059                 "502ecc67.91354c"\r
8060             ]\r
8061         ]\r
8062     },\r
8063     {\r
8064         "id": "cbe3afce.930cc",\r
8065         "type": "returnFailure",\r
8066         "name": "return failure",\r
8067         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
8068         "comments": "",\r
8069         "x": 2784.466552734375,\r
8070         "y": 6311.89990234375,\r
8071         "z": "82de8dcf.518d88",\r
8072         "wires": []\r
8073     },\r
8074     {\r
8075         "id": "74e6774b.c7b358",\r
8076         "type": "returnFailure",\r
8077         "name": "return failure",\r
8078         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
8079         "comments": "",\r
8080         "x": 2782.5289306640625,\r
8081         "y": 6269.759674072266,\r
8082         "z": "82de8dcf.518d88",\r
8083         "wires": []\r
8084     },\r
8085     {\r
8086         "id": "811dd566.85ec38",\r
8087         "type": "set",\r
8088         "name": "set pnf-name",\r
8089         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
8090         "comments": "",\r
8091         "x": 3007.466552734375,\r
8092         "y": 5931.89990234375,\r
8093         "z": "82de8dcf.518d88",\r
8094         "wires": []\r
8095     },\r
8096     {\r
8097         "id": "6a877b95.f2661c",\r
8098         "type": "get-resource",\r
8099         "name": "get-resource src pnf",\r
8100         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
8101         "comments": "",\r
8102         "outputs": 1,\r
8103         "x": 3033.466552734375,\r
8104         "y": 6048.89990234375,\r
8105         "z": "82de8dcf.518d88",\r
8106         "wires": [\r
8107             [\r
8108                 "3d9fd486.323a64",\r
8109                 "c6247afb.9c0a",\r
8110                 "83cc8360.81d358"\r
8111             ]\r
8112         ]\r
8113     },\r
8114     {\r
8115         "id": "66415a60.9e5d9c",\r
8116         "type": "execute",\r
8117         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
8118         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
8119         "comments": "",\r
8120         "outputs": 1,\r
8121         "x": 3136.466552734375,\r
8122         "y": 6315.89990234375,\r
8123         "z": "82de8dcf.518d88",\r
8124         "wires": [\r
8125             [\r
8126                 "9c554475.661fc8",\r
8127                 "12ed9938.83ebcf"\r
8128             ]\r
8129         ]\r
8130     },\r
8131     {\r
8132         "id": "a662df33.5b8808",\r
8133         "type": "switchNode",\r
8134         "name": "switch connectivity has ethernet service",\r
8135         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8136         "comments": "",\r
8137         "outputs": 1,\r
8138         "x": 3074.466552734375,\r
8139         "y": 6450.89990234375,\r
8140         "z": "82de8dcf.518d88",\r
8141         "wires": [\r
8142             [\r
8143                 "b26d88bf.bd178",\r
8144                 "f451c5d.6b3dd38"\r
8145             ]\r
8146         ]\r
8147     },\r
8148     {\r
8149         "id": "502ecc67.91354c",\r
8150         "type": "save",\r
8151         "name": "delete vpn-binding resource in AAI",\r
8152         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
8153         "comments": "",\r
8154         "outputs": 1,\r
8155         "x": 3055.466552734375,\r
8156         "y": 6566.89990234375,\r
8157         "z": "82de8dcf.518d88",\r
8158         "wires": [\r
8159             []\r
8160         ]\r
8161     },\r
8162     {\r
8163         "id": "3d9fd486.323a64",\r
8164         "type": "success",\r
8165         "name": "success",\r
8166         "xml": "<outcome value='success'>\n",\r
8167         "comments": "",\r
8168         "outputs": 1,\r
8169         "x": 3228.9666748046875,\r
8170         "y": 6000.89990234375,\r
8171         "z": "82de8dcf.518d88",\r
8172         "wires": [\r
8173             [\r
8174                 "c715af9f.c55108"\r
8175             ]\r
8176         ]\r
8177     },\r
8178     {\r
8179         "id": "c6247afb.9c0a",\r
8180         "type": "not-found",\r
8181         "name": "not-found",\r
8182         "xml": "<outcome value='not-found'>\n",\r
8183         "comments": "",\r
8184         "outputs": 1,\r
8185         "x": 3220.9666748046875,\r
8186         "y": 6055.89990234375,\r
8187         "z": "82de8dcf.518d88",\r
8188         "wires": [\r
8189             [\r
8190                 "f990360c.2a7d88"\r
8191             ]\r
8192         ]\r
8193     },\r
8194     {\r
8195         "id": "c715af9f.c55108",\r
8196         "type": "block",\r
8197         "name": "block",\r
8198         "xml": "<block>\n",\r
8199         "atomic": "false",\r
8200         "comments": "",\r
8201         "outputs": 1,\r
8202         "x": 3363.348876953125,\r
8203         "y": 5995.5556640625,\r
8204         "z": "82de8dcf.518d88",\r
8205         "wires": [\r
8206             [\r
8207                 "cf5a3a9d.68d89"\r
8208             ]\r
8209         ]\r
8210     },\r
8211     {\r
8212         "id": "83cc8360.81d358",\r
8213         "type": "other",\r
8214         "name": "other",\r
8215         "xml": "<outcome value='Other'>\n",\r
8216         "comments": "",\r
8217         "outputs": 1,\r
8218         "x": 3225.9666748046875,\r
8219         "y": 6112.89990234375,\r
8220         "z": "82de8dcf.518d88",\r
8221         "wires": [\r
8222             [\r
8223                 "ee6f1ffb.7dcfe"\r
8224             ]\r
8225         ]\r
8226     },\r
8227     {\r
8228         "id": "ee6f1ffb.7dcfe",\r
8229         "type": "returnFailure",\r
8230         "name": "return failure",\r
8231         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8232         "comments": "",\r
8233         "x": 3377.9666748046875,\r
8234         "y": 6113.89990234375,\r
8235         "z": "82de8dcf.518d88",\r
8236         "wires": []\r
8237     },\r
8238     {\r
8239         "id": "f990360c.2a7d88",\r
8240         "type": "returnFailure",\r
8241         "name": "return failure",\r
8242         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8243         "comments": "",\r
8244         "x": 3388.9666748046875,\r
8245         "y": 6056.89990234375,\r
8246         "z": "82de8dcf.518d88",\r
8247         "wires": []\r
8248     },\r
8249     {\r
8250         "id": "f451c5d.6b3dd38",\r
8251         "type": "other",\r
8252         "name": "other",\r
8253         "xml": "<outcome value='Other'>\n",\r
8254         "comments": "",\r
8255         "outputs": 1,\r
8256         "x": 3327.466552734375,\r
8257         "y": 6428.89990234375,\r
8258         "z": "82de8dcf.518d88",\r
8259         "wires": [\r
8260             [\r
8261                 "e38cfd76.3f8a2"\r
8262             ]\r
8263         ]\r
8264     },\r
8265     {\r
8266         "id": "b26d88bf.bd178",\r
8267         "type": "outcome",\r
8268         "name": "Null",\r
8269         "xml": "<outcome value=''>\n",\r
8270         "comments": "",\r
8271         "outputs": 1,\r
8272         "x": 3327.466552734375,\r
8273         "y": 6484.89990234375,\r
8274         "z": "82de8dcf.518d88",\r
8275         "wires": [\r
8276             []\r
8277         ]\r
8278     },\r
8279     {\r
8280         "id": "cf5a3a9d.68d89",\r
8281         "type": "for",\r
8282         "name": "for each relationship",\r
8283         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8284         "comments": "",\r
8285         "outputs": 1,\r
8286         "x": 3550.466064453125,\r
8287         "y": 5996.89990234375,\r
8288         "z": "82de8dcf.518d88",\r
8289         "wires": [\r
8290             [\r
8291                 "fe7eff92.d565e"\r
8292             ]\r
8293         ]\r
8294     },\r
8295     {\r
8296         "id": "fe7eff92.d565e",\r
8297         "type": "switchNode",\r
8298         "name": "switch related-to",\r
8299         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8300         "comments": "",\r
8301         "outputs": 1,\r
8302         "x": 3791.466064453125,\r
8303         "y": 5987.89990234375,\r
8304         "z": "82de8dcf.518d88",\r
8305         "wires": [\r
8306             [\r
8307                 "a5619f8.2b7e86"\r
8308             ]\r
8309         ]\r
8310     },\r
8311     {\r
8312         "id": "e38cfd76.3f8a2",\r
8313         "type": "execute",\r
8314         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8315         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
8316         "comments": "",\r
8317         "outputs": 1,\r
8318         "x": 3677.466064453125,\r
8319         "y": 6418.89990234375,\r
8320         "z": "82de8dcf.518d88",\r
8321         "wires": [\r
8322             [\r
8323                 "1d52efad.f9e5d",\r
8324                 "d7169143.c010d8"\r
8325             ]\r
8326         ]\r
8327     },\r
8328     {\r
8329         "id": "9c554475.661fc8",\r
8330         "type": "failure",\r
8331         "name": "failure",\r
8332         "xml": "<outcome value='failure'>\n",\r
8333         "comments": "",\r
8334         "outputs": 1,\r
8335         "x": 3443.966064453125,\r
8336         "y": 6340.89990234375,\r
8337         "z": "82de8dcf.518d88",\r
8338         "wires": [\r
8339             [\r
8340                 "238545c1.5c8b2a"\r
8341             ]\r
8342         ]\r
8343     },\r
8344     {\r
8345         "id": "12ed9938.83ebcf",\r
8346         "type": "success",\r
8347         "name": "success",\r
8348         "xml": "<outcome value='success'>\n",\r
8349         "comments": "",\r
8350         "outputs": 1,\r
8351         "x": 3444.966064453125,\r
8352         "y": 6285.89990234375,\r
8353         "z": "82de8dcf.518d88",\r
8354         "wires": [\r
8355             [\r
8356                 "bb0795de.a47f18"\r
8357             ]\r
8358         ]\r
8359     },\r
8360     {\r
8361         "id": "238545c1.5c8b2a",\r
8362         "type": "returnFailure",\r
8363         "name": "return failure",\r
8364         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
8365         "comments": "",\r
8366         "x": 3615.966064453125,\r
8367         "y": 6338.89990234375,\r
8368         "z": "82de8dcf.518d88",\r
8369         "wires": []\r
8370     },\r
8371     {\r
8372         "id": "bb0795de.a47f18",\r
8373         "type": "block",\r
8374         "name": "block : atomic",\r
8375         "xml": "<block atomic=\"true\">",\r
8376         "atomic": "true",\r
8377         "comments": "",\r
8378         "outputs": 1,\r
8379         "x": 3612.466064453125,\r
8380         "y": 6287.89990234375,\r
8381         "z": "82de8dcf.518d88",\r
8382         "wires": [\r
8383             []\r
8384         ]\r
8385     },\r
8386     {\r
8387         "id": "36cf22b4.4935d6",\r
8388         "type": "block",\r
8389         "name": "block : atomic",\r
8390         "xml": "<block atomic=\"true\">",\r
8391         "atomic": "true",\r
8392         "outputs": 1,\r
8393         "x": 4148.4658203125,\r
8394         "y": 5936.89990234375,\r
8395         "z": "82de8dcf.518d88",\r
8396         "wires": [\r
8397             [\r
8398                 "b5cbacbc.c392",\r
8399                 "ea40936a.af6178",\r
8400                 "6eb0462c.852488"\r
8401             ]\r
8402         ]\r
8403     },\r
8404     {\r
8405         "id": "a5619f8.2b7e86",\r
8406         "type": "outcome",\r
8407         "name": "esr-thirdparty-sdnc",\r
8408         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8409         "comments": "",\r
8410         "outputs": 1,\r
8411         "x": 3997.466064453125,\r
8412         "y": 5984.89990234375,\r
8413         "z": "82de8dcf.518d88",\r
8414         "wires": [\r
8415             [\r
8416                 "36cf22b4.4935d6"\r
8417             ]\r
8418         ]\r
8419     },\r
8420     {\r
8421         "id": "1d52efad.f9e5d",\r
8422         "type": "failure",\r
8423         "name": "failure",\r
8424         "xml": "<outcome value='failure'>\n",\r
8425         "comments": "",\r
8426         "outputs": 1,\r
8427         "x": 4009.966064453125,\r
8428         "y": 6392.89990234375,\r
8429         "z": "82de8dcf.518d88",\r
8430         "wires": [\r
8431             [\r
8432                 "6bd1cb72.9cf9b4"\r
8433             ]\r
8434         ]\r
8435     },\r
8436     {\r
8437         "id": "d7169143.c010d8",\r
8438         "type": "success",\r
8439         "name": "success",\r
8440         "xml": "<outcome value='success'>\n",\r
8441         "comments": "",\r
8442         "outputs": 1,\r
8443         "x": 4013.966064453125,\r
8444         "y": 6432.89990234375,\r
8445         "z": "82de8dcf.518d88",\r
8446         "wires": [\r
8447             [\r
8448                 "e4332941.104e"\r
8449             ]\r
8450         ]\r
8451     },\r
8452     {\r
8453         "id": "e4332941.104e",\r
8454         "type": "block",\r
8455         "name": "block : atomic",\r
8456         "xml": "<block atomic=\"true\">",\r
8457         "atomic": "true",\r
8458         "comments": "",\r
8459         "outputs": 1,\r
8460         "x": 4201.466064453125,\r
8461         "y": 6436.89990234375,\r
8462         "z": "82de8dcf.518d88",\r
8463         "wires": [\r
8464             []\r
8465         ]\r
8466     },\r
8467     {\r
8468         "id": "6bd1cb72.9cf9b4",\r
8469         "type": "returnFailure",\r
8470         "name": "return failure",\r
8471         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
8472         "comments": "",\r
8473         "x": 4197.966064453125,\r
8474         "y": 6396.89990234375,\r
8475         "z": "82de8dcf.518d88",\r
8476         "wires": []\r
8477     },\r
8478     {\r
8479         "id": "ea40936a.af6178",\r
8480         "type": "execute",\r
8481         "name": "get esr-thirdparty-sdnc",\r
8482         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
8483         "comments": "",\r
8484         "outputs": 1,\r
8485         "x": 4354.4658203125,\r
8486         "y": 5949.89990234375,\r
8487         "z": "82de8dcf.518d88",\r
8488         "wires": [\r
8489             [\r
8490                 "914dea7f.0edbe",\r
8491                 "82561c7b.09ef28",\r
8492                 "b047cbfd.3b9618"\r
8493             ]\r
8494         ]\r
8495     },\r
8496     {\r
8497         "id": "b5cbacbc.c392",\r
8498         "type": "set",\r
8499         "name": "set esr-thirdparty-sdnc domain id",\r
8500         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
8501         "comments": "",\r
8502         "x": 4384.4658203125,\r
8503         "y": 5897.89990234375,\r
8504         "z": "82de8dcf.518d88",\r
8505         "wires": []\r
8506     },\r
8507     {\r
8508         "id": "914dea7f.0edbe",\r
8509         "type": "success",\r
8510         "name": "success",\r
8511         "xml": "<outcome value='success'>\n",\r
8512         "comments": "",\r
8513         "outputs": 1,\r
8514         "x": 4564.4658203125,\r
8515         "y": 5940.89990234375,\r
8516         "z": "82de8dcf.518d88",\r
8517         "wires": [\r
8518             [\r
8519                 "c318baba.3a4cc8"\r
8520             ]\r
8521         ]\r
8522     },\r
8523     {\r
8524         "id": "82561c7b.09ef28",\r
8525         "type": "not-found",\r
8526         "name": "not-found",\r
8527         "xml": "<outcome value='not-found'>\n",\r
8528         "comments": "",\r
8529         "outputs": 1,\r
8530         "x": 4556.4658203125,\r
8531         "y": 5995.89990234375,\r
8532         "z": "82de8dcf.518d88",\r
8533         "wires": [\r
8534             [\r
8535                 "b8e7878b.f1ad7"\r
8536             ]\r
8537         ]\r
8538     },\r
8539     {\r
8540         "id": "b047cbfd.3b9618",\r
8541         "type": "other",\r
8542         "name": "other",\r
8543         "xml": "<outcome value='Other'>\n",\r
8544         "comments": "",\r
8545         "outputs": 1,\r
8546         "x": 4561.4658203125,\r
8547         "y": 6052.89990234375,\r
8548         "z": "82de8dcf.518d88",\r
8549         "wires": [\r
8550             [\r
8551                 "c15a7782.9625b"\r
8552             ]\r
8553         ]\r
8554     },\r
8555     {\r
8556         "id": "6eb0462c.852488",\r
8557         "type": "break",\r
8558         "name": "break",\r
8559         "xml": "<break>\n",\r
8560         "comments": "",\r
8561         "x": 4304.4658203125,\r
8562         "y": 6013.89990234375,\r
8563         "z": "82de8dcf.518d88",\r
8564         "wires": []\r
8565     },\r
8566     {\r
8567         "id": "c15a7782.9625b",\r
8568         "type": "returnFailure",\r
8569         "name": "return failure",\r
8570         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8571         "comments": "",\r
8572         "x": 4713.4658203125,\r
8573         "y": 6053.89990234375,\r
8574         "z": "82de8dcf.518d88",\r
8575         "wires": []\r
8576     },\r
8577     {\r
8578         "id": "b8e7878b.f1ad7",\r
8579         "type": "returnFailure",\r
8580         "name": "return failure",\r
8581         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8582         "comments": "",\r
8583         "x": 4724.4658203125,\r
8584         "y": 5998.89990234375,\r
8585         "z": "82de8dcf.518d88",\r
8586         "wires": []\r
8587     },\r
8588     {\r
8589         "id": "c318baba.3a4cc8",\r
8590         "type": "block",\r
8591         "name": "block",\r
8592         "xml": "<block>\n",\r
8593         "atomic": "false",\r
8594         "comments": "",\r
8595         "outputs": 1,\r
8596         "x": 4708.84814453125,\r
8597         "y": 5938.555572509766,\r
8598         "z": "82de8dcf.518d88",\r
8599         "wires": [\r
8600             [\r
8601                 "42376e75.44b2d8"\r
8602             ]\r
8603         ]\r
8604     },\r
8605     {\r
8606         "id": "42376e75.44b2d8",\r
8607         "type": "set",\r
8608         "name": "set controller domain data",\r
8609         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
8610         "comments": "",\r
8611         "x": 4923.4658203125,\r
8612         "y": 5934.89990234375,\r
8613         "z": "82de8dcf.518d88",\r
8614         "wires": []\r
8615     }\r
8616 ]