Support for 1+1 protection path for a cloud leased-line (CLL) service.
[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": "a85fdd45.18532",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 171.88333129882812,\r
8         "y": 177,\r
9         "z": "8bd89607.6248d8",\r
10         "wires": [\r
11             [\r
12                 "2eaf78b5.ba0318"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "2eaf78b5.ba0318",\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": 238.23810863494873,\r
27         "z": "8bd89607.6248d8",\r
28         "wires": [\r
29             [\r
30                 "28e9741c.d81dfc"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "28e9741c.d81dfc",\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": 323.0000305175781,\r
43         "z": "8bd89607.6248d8",\r
44         "wires": [\r
45             [\r
46                 "df14e360.a098e8"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "df14e360.a098e8",\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": 382,\r
59         "z": "8bd89607.6248d8",\r
60         "wires": [\r
61             [\r
62                 "e87fcff0.55123",\r
63                 "b8bbed17.73d098",\r
64                 "ed2f6b65.8be208"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "e87fcff0.55123",\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": 652.9302978515625,\r
76         "z": "8bd89607.6248d8",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "b8bbed17.73d098",\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": 355.33331298828125,\r
88         "z": "8bd89607.6248d8",\r
89         "wires": [\r
90             [\r
91                 "c5539326.dc2ce",\r
92                 "9370873a.5ec85",\r
93                 "3f911b4d.a21904"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "c5539326.dc2ce",\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": 213.33331298828125,\r
106         "z": "8bd89607.6248d8",\r
107         "wires": [\r
108             [\r
109                 "a5dbcf8a.fe1748"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "9370873a.5ec85",\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": 282.9073486328125,\r
122         "z": "8bd89607.6248d8",\r
123         "wires": [\r
124             [\r
125                 "49f0af9f.5fedb8"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "3f911b4d.a21904",\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": 329.33331298828125,\r
138         "z": "8bd89607.6248d8",\r
139         "wires": [\r
140             [\r
141                 "61830ec6.dfc06"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "f78d475.109eab8",\r
147         "type": "comment",\r
148         "name": "new for TransportSlicing",\r
149         "info": "",\r
150         "comments": "",\r
151         "x": 1113.6452941894531,\r
152         "y": 243.33331298828125,\r
153         "z": "8bd89607.6248d8",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "ed2f6b65.8be208",\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": 295.33331298828125,\r
165         "z": "8bd89607.6248d8",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "a5dbcf8a.fe1748",\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": 210,\r
179         "z": "8bd89607.6248d8",\r
180         "wires": [\r
181             [\r
182                 "b303ce6.b126d3",\r
183                 "55aeefb2.59b1e8"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "49f0af9f.5fedb8",\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": 285.8597717285156,\r
195         "z": "8bd89607.6248d8",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "61830ec6.dfc06",\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": 330,\r
206         "z": "8bd89607.6248d8",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "b303ce6.b126d3",\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": 247,\r
218         "z": "8bd89607.6248d8",\r
219         "wires": [\r
220             [\r
221                 "f1542288.012e3"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "55aeefb2.59b1e8",\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": 174,\r
234         "z": "8bd89607.6248d8",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "f1542288.012e3",\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": 322,\r
249         "z": "8bd89607.6248d8",\r
250         "wires": [\r
251             [\r
252                 "abe13a08.545e98",\r
253                 "7178c36c.cf3274",\r
254                 "ac38a7a3.b352e8",\r
255                 "d727f01e.ad9c98",\r
256                 "8cb68ccc.e851f8"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "66649512.c7d5bc",\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": 373,\r
269         "z": "8bd89607.6248d8",\r
270         "wires": [\r
271             [\r
272                 "b9d85c6f.27205",\r
273                 "376ece8a.ca776a",\r
274                 "b6dfab0d.b44bd8"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "b9d85c6f.27205",\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": 440,\r
287         "z": "8bd89607.6248d8",\r
288         "wires": [\r
289             [\r
290                 "c1b489c1.9564e8"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "376ece8a.ca776a",\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": 339.573974609375,\r
303         "z": "8bd89607.6248d8",\r
304         "wires": [\r
305             [\r
306                 "742662fc.5de6dc"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "b6dfab0d.b44bd8",\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": 389,\r
319         "z": "8bd89607.6248d8",\r
320         "wires": [\r
321             [\r
322                 "b4af8420.603268"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "abe13a08.545e98",\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": 354,\r
335         "z": "8bd89607.6248d8",\r
336         "wires": [\r
337             [\r
338                 "7d659bd1.1ff4ec",\r
339                 "66649512.c7d5bc",\r
340                 "cfd6a168.75b7d8",\r
341                 "fe93cfa.921edb"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "7d659bd1.1ff4ec",\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": 292,\r
353         "z": "8bd89607.6248d8",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "d727f01e.ad9c98",\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": 304,\r
364         "z": "8bd89607.6248d8",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "7178c36c.cf3274",\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": 163,\r
376         "z": "8bd89607.6248d8",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "ac38a7a3.b352e8",\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": 204,\r
390         "z": "8bd89607.6248d8",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "eed8a5a0.afccb8",\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": 116,\r
403         "z": "8bd89607.6248d8",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "141349a5.fce93e",\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": 250,\r
414         "z": "8bd89607.6248d8",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "742662fc.5de6dc",\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": 342,\r
425         "z": "8bd89607.6248d8",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "b4af8420.603268",\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": 391.1402587890625,\r
436         "z": "8bd89607.6248d8",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "c1b489c1.9564e8",\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": 442.1402587890625,\r
448         "z": "8bd89607.6248d8",\r
449         "wires": [\r
450             [\r
451                 "fcfb8da2.5eaaf8"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "fcfb8da2.5eaaf8",\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": 389.1402587890625,\r
464         "z": "8bd89607.6248d8",\r
465         "wires": [\r
466             [\r
467                 "c3da29e4.d4aec",\r
468                 "5d798b7c.bb38bc",\r
469                 "f79e6540.82af6"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "5d798b7c.bb38bc",\r
475         "type": "not-found",\r
476         "name": "not-found",\r
477         "xml": "<outcome value='not-found'>\n",\r
478         "comments": "",\r
479         "outputs": 1,\r
480         "x": 3277.311767578125,\r
481         "y": 45.7142333984375,\r
482         "z": "8bd89607.6248d8",\r
483         "wires": [\r
484             [\r
485                 "90e8e37d.ca8e98"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "90e8e37d.ca8e98",\r
491         "type": "returnFailure",\r
492         "name": "return failure",\r
493         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
494         "comments": "",\r
495         "x": 3454.88330078125,\r
496         "y": 46,\r
497         "z": "8bd89607.6248d8",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "f79e6540.82af6",\r
502         "type": "failure",\r
503         "name": "failure",\r
504         "xml": "<outcome value='failure'>\n",\r
505         "comments": "",\r
506         "outputs": 1,\r
507         "x": 3272.82080078125,\r
508         "y": 95.1402587890625,\r
509         "z": "8bd89607.6248d8",\r
510         "wires": [\r
511             [\r
512                 "9bf9393a.ada1c"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "9bf9393a.ada1c",\r
518         "type": "returnFailure",\r
519         "name": "return failure",\r
520         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
521         "comments": "",\r
522         "x": 3454.82080078125,\r
523         "y": 95.1402587890625,\r
524         "z": "8bd89607.6248d8",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "c3da29e4.d4aec",\r
529         "type": "success",\r
530         "name": "success",\r
531         "xml": "<outcome value='success'>\n",\r
532         "comments": "",\r
533         "outputs": 1,\r
534         "x": 3276.82080078125,\r
535         "y": 146.1402587890625,\r
536         "z": "8bd89607.6248d8",\r
537         "wires": [\r
538             [\r
539                 "614d711.ad6151"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "614d711.ad6151",\r
545         "type": "block",\r
546         "name": "block : atomic",\r
547         "xml": "<block atomic=\"true\">",\r
548         "atomic": "true",\r
549         "outputs": 1,\r
550         "x": 3456.82080078125,\r
551         "y": 146.1402587890625,\r
552         "z": "8bd89607.6248d8",\r
553         "wires": [\r
554             [\r
555                 "6f9dfac6.7f7acc"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "6f9dfac6.7f7acc",\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": 517,\r
568         "z": "8bd89607.6248d8",\r
569         "wires": [\r
570             [\r
571                 "cc5d43a6.52dac",\r
572                 "df06d31e.f926b8"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "df06d31e.f926b8",\r
578         "type": "outcomeFalse",\r
579         "name": "false",\r
580         "xml": "<outcome value='false'>\n",\r
581         "comments": "",\r
582         "outputs": 1,\r
583         "x": 3332.88330078125,\r
584         "y": 288,\r
585         "z": "8bd89607.6248d8",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "cc5d43a6.52dac",\r
592         "type": "outcomeTrue",\r
593         "name": "true",\r
594         "xml": "<outcome value='true'>\n",\r
595         "comments": "",\r
596         "outputs": 1,\r
597         "x": 3331.88330078125,\r
598         "y": 342,\r
599         "z": "8bd89607.6248d8",\r
600         "wires": [\r
601             [\r
602                 "9005c08e.45bff"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "7cc4c3ab.96110c",\r
608         "type": "outcome",\r
609         "name": "network-policy",\r
610         "xml": "<outcome value='network-policy'>\n",\r
611         "comments": "",\r
612         "outputs": 1,\r
613         "x": 4076.88330078125,\r
614         "y": 296,\r
615         "z": "8bd89607.6248d8",\r
616         "wires": [\r
617             [\r
618                 "e1ccec43.b4b718"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "e1ccec43.b4b718",\r
624         "type": "block",\r
625         "name": "block : atomic",\r
626         "xml": "<block atomic=\"true\">",\r
627         "atomic": "true",\r
628         "outputs": 1,\r
629         "x": 4253.8831787109375,\r
630         "y": 288.9998779296875,\r
631         "z": "8bd89607.6248d8",\r
632         "wires": [\r
633             [\r
634                 "6a0eff2d.7a17d8",\r
635                 "c12539fb.18b098"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "9005c08e.45bff",\r
641         "type": "block",\r
642         "name": "block : atomic",\r
643         "xml": "<block atomic=\"true\">",\r
644         "atomic": "true",\r
645         "outputs": 1,\r
646         "x": 3495.88330078125,\r
647         "y": 268,\r
648         "z": "8bd89607.6248d8",\r
649         "wires": [\r
650             [\r
651                 "c7cdd797.5d9c98",\r
652                 "a2ea3a5e.b8028"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "c7cdd797.5d9c98",\r
658         "type": "for",\r
659         "name": "for each allotted-resource relationship",\r
660         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
661         "comments": "",\r
662         "outputs": 1,\r
663         "x": 3776.88330078125,\r
664         "y": 224,\r
665         "z": "8bd89607.6248d8",\r
666         "wires": [\r
667             [\r
668                 "fdc5f0cb.fc2a38"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "fdc5f0cb.fc2a38",\r
674         "type": "switchNode",\r
675         "name": "switch related-to",\r
676         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
677         "comments": "",\r
678         "outputs": 1,\r
679         "x": 4038.88330078125,\r
680         "y": 224,\r
681         "z": "8bd89607.6248d8",\r
682         "wires": [\r
683             [\r
684                 "7cc4c3ab.96110c"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "6a0eff2d.7a17d8",\r
690         "type": "set",\r
691         "name": "set the 1st network-policy-id",\r
692         "xml": "<set>\n<parameter name='network-policy-id' value=\"`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].relationship-data[0].relationship-value`\" />\n\n\n",\r
693         "comments": "",\r
694         "x": 4496.8831787109375,\r
695         "y": 245.9998779296875,\r
696         "z": "8bd89607.6248d8",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "c12539fb.18b098",\r
701         "type": "save",\r
702         "name": "get network-policy from aai",\r
703         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-policy\"\n\tkey='network-policy.network-policy-id = $network-policy-id'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-policy\">",\r
704         "comments": "",\r
705         "outputs": 1,\r
706         "x": 4485.8831787109375,\r
707         "y": 300.9998779296875,\r
708         "z": "8bd89607.6248d8",\r
709         "wires": [\r
710             [\r
711                 "53e90890.b88808",\r
712                 "99815c1a.2d5d9",\r
713                 "ef9ec486.51c458"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "ef9ec486.51c458",\r
719         "type": "not-found",\r
720         "name": "not-found",\r
721         "xml": "<outcome value='not-found'>\n",\r
722         "comments": "",\r
723         "outputs": 1,\r
724         "x": 4738.88330078125,\r
725         "y": 187,\r
726         "z": "8bd89607.6248d8",\r
727         "wires": [\r
728             [\r
729                 "928a2f6e.9dcef"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "928a2f6e.9dcef",\r
735         "type": "returnFailure",\r
736         "name": "return failure",\r
737         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
738         "comments": "",\r
739         "x": 4887.454833984375,\r
740         "y": 187.2857666015625,\r
741         "z": "8bd89607.6248d8",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "5f26f831.604e6",\r
746         "type": "returnFailure",\r
747         "name": "return failure",\r
748         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
749         "comments": "",\r
750         "x": 4886.392333984375,\r
751         "y": 231.426025390625,\r
752         "z": "8bd89607.6248d8",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "99815c1a.2d5d9",\r
757         "type": "failure",\r
758         "name": "failure",\r
759         "xml": "<outcome value='failure'>\n",\r
760         "comments": "",\r
761         "outputs": 1,\r
762         "x": 4727.392333984375,\r
763         "y": 231.426025390625,\r
764         "z": "8bd89607.6248d8",\r
765         "wires": [\r
766             [\r
767                 "5f26f831.604e6"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "53e90890.b88808",\r
773         "type": "success",\r
774         "name": "success",\r
775         "xml": "<outcome value='success'>\n",\r
776         "comments": "",\r
777         "outputs": 1,\r
778         "x": 4734.392333984375,\r
779         "y": 310.426025390625,\r
780         "z": "8bd89607.6248d8",\r
781         "wires": [\r
782             [\r
783                 "c7f5e24b.264e08"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "c7f5e24b.264e08",\r
789         "type": "block",\r
790         "name": "block",\r
791         "xml": "<block>\n",\r
792         "atomic": "false",\r
793         "comments": "",\r
794         "outputs": 1,\r
795         "x": 4873.392333984375,\r
796         "y": 310.426025390625,\r
797         "z": "8bd89607.6248d8",\r
798         "wires": [\r
799             [\r
800                 "bd533599.870598",\r
801                 "5b846fca.358228"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "bd533599.870598",\r
807         "type": "set",\r
808         "name": "set the max bandwidth",\r
809         "xml": "<set>\n<parameter name='maximum-bandwidth' value=\"`$tmp.aai.network-policy.max-bandwidth`\" />\n<parameter name='route-distinguisher' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
810         "comments": "",\r
811         "x": 5078.88330078125,\r
812         "y": 308,\r
813         "z": "8bd89607.6248d8",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "5b846fca.358228",\r
818         "type": "set",\r
819         "name": "set the max bandwidth",\r
820         "xml": "<set>\n<parameter name='gfp' value='`$maximum-bandwidth /1000 *4 /5 +1`' />\n\n\n\n",\r
821         "comments": "",\r
822         "x": 5077.88330078125,\r
823         "y": 354,\r
824         "z": "8bd89607.6248d8",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "a2ea3a5e.b8028",\r
829         "type": "for",\r
830         "name": "for each allotted-resource relationship",\r
831         "xml": "<for index='idx' start='0' end='`$tmp.aai.allotted-resource.relationship-list.relationship_length`' >\n",\r
832         "comments": "",\r
833         "outputs": 1,\r
834         "x": 3593.88330078125,\r
835         "y": 340,\r
836         "z": "8bd89607.6248d8",\r
837         "wires": [\r
838             [\r
839                 "25258bcb.d218b4"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "25258bcb.d218b4",\r
845         "type": "switchNode",\r
846         "name": "switch related-to",\r
847         "xml": "<switch test='`$tmp.aai.allotted-resource.relationship-list.relationship[$idx].related-to`'>\n",\r
848         "comments": "",\r
849         "outputs": 1,\r
850         "x": 3873.88330078125,\r
851         "y": 340,\r
852         "z": "8bd89607.6248d8",\r
853         "wires": [\r
854             [\r
855                 "f26cca47.0cf8c8"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "f26cca47.0cf8c8",\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": 829.0001220703125,\r
868         "z": "8bd89607.6248d8",\r
869         "wires": [\r
870             [\r
871                 "d5f97832.254d88"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "d5f97832.254d88",\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": 822,\r
884         "z": "8bd89607.6248d8",\r
885         "wires": [\r
886             [\r
887                 "ae5af3.3e9a4d1",\r
888                 "12544593.6754f2"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "ae5af3.3e9a4d1",\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": 779,\r
900         "z": "8bd89607.6248d8",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "12544593.6754f2",\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": 834,\r
912         "z": "8bd89607.6248d8",\r
913         "wires": [\r
914             [\r
915                 "79a8fecf.d1f59",\r
916                 "b24729e3.47e65",\r
917                 "4a9529bf.26c65"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "79a8fecf.d1f59",\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": 812.573974609375,\r
930         "z": "8bd89607.6248d8",\r
931         "wires": [\r
932             [\r
933                 "d25941f1.946b68"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "b24729e3.47e65",\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": 857,\r
946         "z": "8bd89607.6248d8",\r
947         "wires": [\r
948             [\r
949                 "11547725.a203f9"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "d25941f1.946b68",\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": 812.8597412109375,\r
961         "z": "8bd89607.6248d8",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "11547725.a203f9",\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": 857,\r
972         "z": "8bd89607.6248d8",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "4a9529bf.26c65",\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": 936,\r
984         "z": "8bd89607.6248d8",\r
985         "wires": [\r
986             [\r
987                 "a4fd9348.176d48"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "a4fd9348.176d48",\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": 936,\r
1001         "z": "8bd89607.6248d8",\r
1002         "wires": [\r
1003             [\r
1004                 "6c4953ff.9536c4",\r
1005                 "757555b7.a275b4",\r
1006                 "da8313.90b574f",\r
1007                 "a53e9db6.011d6",\r
1008                 "2b20579c.df8a7",\r
1009                 "1abe7496.3f7c9b",\r
1010                 "652968a1.d93e88",\r
1011                 "f369a6e9.5de548",\r
1012                 "fc221d76.582c9",\r
1013                 "5fd92a3e.ed6fec",\r
1014                 "4a864e6a.471e",\r
1015                 "e264db5d.2744d",\r
1016                 "afaae138.bb9798",\r
1017                 "121ba89c.f4d387",\r
1018                 "e7a924f9.c6032",\r
1019                 "e3b4a4d3.b60598",\r
1020                 "22dcd918.a9e88e",\r
1021                 "1743864d.d3d2f2",\r
1022                 "898efbe9.b7aab8",\r
1023                 "3ddfa25a.4bc3f6",\r
1024                 "f7bdbced.e4e6e",\r
1025                 "b2f7d29a.c36bc8"\r
1026             ]\r
1027         ]\r
1028     },\r
1029     {\r
1030         "id": "3c4bd54a.0e1cfa",\r
1031         "type": "execute",\r
1032         "name": "execute UUID generator for ethernet-service-name",\r
1033         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1034         "comments": "",\r
1035         "outputs": 1,\r
1036         "x": 3435.883270263672,\r
1037         "y": 410,\r
1038         "z": "8bd89607.6248d8",\r
1039         "wires": [\r
1040             []\r
1041         ]\r
1042     },\r
1043     {\r
1044         "id": "6c4953ff.9536c4",\r
1045         "type": "execute",\r
1046         "name": "execute UUID generator for otn-tunnel-name",\r
1047         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1048         "comments": "",\r
1049         "outputs": 1,\r
1050         "x": 3416.883270263672,\r
1051         "y": 510,\r
1052         "z": "8bd89607.6248d8",\r
1053         "wires": [\r
1054             []\r
1055         ]\r
1056     },\r
1057     {\r
1058         "id": "e264db5d.2744d",\r
1059         "type": "set",\r
1060         "name": "set new ethernet-service-name",\r
1061         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
1062         "comments": "",\r
1063         "x": 3370.883270263672,\r
1064         "y": 561,\r
1065         "z": "8bd89607.6248d8",\r
1066         "wires": []\r
1067     },\r
1068     {\r
1069         "id": "757555b7.a275b4",\r
1070         "type": "set",\r
1071         "name": "set network-route-one",\r
1072         "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1073         "comments": "",\r
1074         "x": 3344.883270263672,\r
1075         "y": 610,\r
1076         "z": "8bd89607.6248d8",\r
1077         "wires": []\r
1078     },\r
1079     {\r
1080         "id": "da8313.90b574f",\r
1081         "type": "set",\r
1082         "name": "set network-route-two",\r
1083         "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1084         "comments": "",\r
1085         "x": 3343.883270263672,\r
1086         "y": 659,\r
1087         "z": "8bd89607.6248d8",\r
1088         "wires": []\r
1089     },\r
1090     {\r
1091         "id": "a53e9db6.011d6",\r
1092         "type": "save",\r
1093         "name": "get network-route-one from aai",\r
1094         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-one'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-one\">",\r
1095         "comments": "",\r
1096         "outputs": 1,\r
1097         "x": 3352.883270263672,\r
1098         "y": 797,\r
1099         "z": "8bd89607.6248d8",\r
1100         "wires": [\r
1101             [\r
1102                 "cca9aa9c.5b4b58",\r
1103                 "6d66b175.a27548",\r
1104                 "6cf4995a.fab31"\r
1105             ]\r
1106         ]\r
1107     },\r
1108     {\r
1109         "id": "2b20579c.df8a7",\r
1110         "type": "save",\r
1111         "name": "get network-route-two from aai",\r
1112         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-two'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-two\">",\r
1113         "comments": "",\r
1114         "outputs": 1,\r
1115         "x": 3345.883270263672,\r
1116         "y": 857.9998779296875,\r
1117         "z": "8bd89607.6248d8",\r
1118         "wires": [\r
1119             [\r
1120                 "a115586d.1910d8",\r
1121                 "61de0330.a424c4",\r
1122                 "89e5a0b3.03b87"\r
1123             ]\r
1124         ]\r
1125     },\r
1126     {\r
1127         "id": "cca9aa9c.5b4b58",\r
1128         "type": "not-found",\r
1129         "name": "not-found",\r
1130         "xml": "<outcome value='not-found'>\n",\r
1131         "comments": "",\r
1132         "outputs": 1,\r
1133         "x": 3601.883026123047,\r
1134         "y": 692,\r
1135         "z": "8bd89607.6248d8",\r
1136         "wires": [\r
1137             [\r
1138                 "294610ae.745698"\r
1139             ]\r
1140         ]\r
1141     },\r
1142     {\r
1143         "id": "6d66b175.a27548",\r
1144         "type": "failure",\r
1145         "name": "failure",\r
1146         "xml": "<outcome value='failure'>\n",\r
1147         "comments": "",\r
1148         "outputs": 1,\r
1149         "x": 3595.392059326172,\r
1150         "y": 733.426025390625,\r
1151         "z": "8bd89607.6248d8",\r
1152         "wires": [\r
1153             [\r
1154                 "61b00039.d9b688"\r
1155             ]\r
1156         ]\r
1157     },\r
1158     {\r
1159         "id": "6cf4995a.fab31",\r
1160         "type": "success",\r
1161         "name": "success",\r
1162         "xml": "<outcome value='success'>\n",\r
1163         "comments": "",\r
1164         "outputs": 1,\r
1165         "x": 3590.392059326172,\r
1166         "y": 783.426025390625,\r
1167         "z": "8bd89607.6248d8",\r
1168         "wires": [\r
1169             [\r
1170                 "1fe35696.f7e9f9"\r
1171             ]\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "294610ae.745698",\r
1176         "type": "returnFailure",\r
1177         "name": "return failure",\r
1178         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1179         "comments": "",\r
1180         "x": 3750.454559326172,\r
1181         "y": 691.2857666015625,\r
1182         "z": "8bd89607.6248d8",\r
1183         "wires": []\r
1184     },\r
1185     {\r
1186         "id": "61b00039.d9b688",\r
1187         "type": "returnFailure",\r
1188         "name": "return failure",\r
1189         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1190         "comments": "",\r
1191         "x": 3740.392059326172,\r
1192         "y": 741.426025390625,\r
1193         "z": "8bd89607.6248d8",\r
1194         "wires": []\r
1195     },\r
1196     {\r
1197         "id": "a115586d.1910d8",\r
1198         "type": "not-found",\r
1199         "name": "not-found",\r
1200         "xml": "<outcome value='not-found'>\n",\r
1201         "comments": "",\r
1202         "outputs": 1,\r
1203         "x": 3566.883270263672,\r
1204         "y": 843.9998779296875,\r
1205         "z": "8bd89607.6248d8",\r
1206         "wires": [\r
1207             [\r
1208                 "807fba07.07f6d"\r
1209             ]\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "61de0330.a424c4",\r
1214         "type": "failure",\r
1215         "name": "failure",\r
1216         "xml": "<outcome value='failure'>\n",\r
1217         "comments": "",\r
1218         "outputs": 1,\r
1219         "x": 3562.392303466797,\r
1220         "y": 893.4259033203125,\r
1221         "z": "8bd89607.6248d8",\r
1222         "wires": [\r
1223             [\r
1224                 "9f751353.b361d"\r
1225             ]\r
1226         ]\r
1227     },\r
1228     {\r
1229         "id": "89e5a0b3.03b87",\r
1230         "type": "success",\r
1231         "name": "success",\r
1232         "xml": "<outcome value='success'>\n",\r
1233         "comments": "",\r
1234         "outputs": 1,\r
1235         "x": 3563.392303466797,\r
1236         "y": 946.4259033203125,\r
1237         "z": "8bd89607.6248d8",\r
1238         "wires": [\r
1239             [\r
1240                 "17e5ea49.0fe58e"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "807fba07.07f6d",\r
1246         "type": "returnFailure",\r
1247         "name": "return failure",\r
1248         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1249         "comments": "",\r
1250         "x": 3719.4546508789062,\r
1251         "y": 849.28564453125,\r
1252         "z": "8bd89607.6248d8",\r
1253         "wires": []\r
1254     },\r
1255     {\r
1256         "id": "9f751353.b361d",\r
1257         "type": "returnFailure",\r
1258         "name": "return failure",\r
1259         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1260         "comments": "",\r
1261         "x": 3705.392303466797,\r
1262         "y": 893.4259033203125,\r
1263         "z": "8bd89607.6248d8",\r
1264         "wires": []\r
1265     },\r
1266     {\r
1267         "id": "1fe35696.f7e9f9",\r
1268         "type": "block",\r
1269         "name": "block : atomic",\r
1270         "xml": "<block atomic=\"true\">",\r
1271         "atomic": "true",\r
1272         "outputs": 1,\r
1273         "x": 3762.883026123047,\r
1274         "y": 794,\r
1275         "z": "8bd89607.6248d8",\r
1276         "wires": [\r
1277             [\r
1278                 "6a90f954.4bce88"\r
1279             ]\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "17e5ea49.0fe58e",\r
1284         "type": "block",\r
1285         "name": "block : atomic",\r
1286         "xml": "<block atomic=\"true\">",\r
1287         "atomic": "true",\r
1288         "outputs": 1,\r
1289         "x": 3716.883270263672,\r
1290         "y": 945.9998779296875,\r
1291         "z": "8bd89607.6248d8",\r
1292         "wires": [\r
1293             [\r
1294                 "f51128b5.0b454"\r
1295             ]\r
1296         ]\r
1297     },\r
1298     {\r
1299         "id": "6a90f954.4bce88",\r
1300         "type": "switchNode",\r
1301         "name": "switch nr type",\r
1302         "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1303         "comments": "",\r
1304         "outputs": 1,\r
1305         "x": 3923.883270263672,\r
1306         "y": 681,\r
1307         "z": "8bd89607.6248d8",\r
1308         "wires": [\r
1309             [\r
1310                 "d28de3c8.def278",\r
1311                 "32596d77.fd201a",\r
1312                 "c2039341.ed7fe"\r
1313             ]\r
1314         ]\r
1315     },\r
1316     {\r
1317         "id": "f51128b5.0b454",\r
1318         "type": "switchNode",\r
1319         "name": "switch nr type",\r
1320         "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1321         "comments": "",\r
1322         "outputs": 1,\r
1323         "x": 3915.883270263672,\r
1324         "y": 866,\r
1325         "z": "8bd89607.6248d8",\r
1326         "wires": [\r
1327             [\r
1328                 "6179a2a6.c7a764",\r
1329                 "6a08da95.c46784",\r
1330                 "49cd1e6.2c21e6"\r
1331             ]\r
1332         ]\r
1333     },\r
1334     {\r
1335         "id": "d28de3c8.def278",\r
1336         "type": "outcome",\r
1337         "name": "ROOT",\r
1338         "xml": "<outcome value='ROOT'>\n",\r
1339         "comments": "",\r
1340         "outputs": 1,\r
1341         "x": 4147.883758544922,\r
1342         "y": 384.99993896484375,\r
1343         "z": "8bd89607.6248d8",\r
1344         "wires": [\r
1345             [\r
1346                 "af392071.289a38"\r
1347             ]\r
1348         ]\r
1349     },\r
1350     {\r
1351         "id": "32596d77.fd201a",\r
1352         "type": "outcome",\r
1353         "name": "LEAF",\r
1354         "xml": "<outcome value='LEAF'>\n",\r
1355         "comments": "",\r
1356         "outputs": 1,\r
1357         "x": 4149.883758544922,\r
1358         "y": 438.99993896484375,\r
1359         "z": "8bd89607.6248d8",\r
1360         "wires": [\r
1361             [\r
1362                 "7fbb2a1.f3ae954"\r
1363             ]\r
1364         ]\r
1365     },\r
1366     {\r
1367         "id": "6179a2a6.c7a764",\r
1368         "type": "outcome",\r
1369         "name": "ROOT",\r
1370         "xml": "<outcome value='ROOT'>\n",\r
1371         "comments": "",\r
1372         "outputs": 1,\r
1373         "x": 4113.883758544922,\r
1374         "y": 645,\r
1375         "z": "8bd89607.6248d8",\r
1376         "wires": [\r
1377             [\r
1378                 "92f10d9d.0be95"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "6a08da95.c46784",\r
1384         "type": "outcome",\r
1385         "name": "LEAF",\r
1386         "xml": "<outcome value='LEAF'>\n",\r
1387         "comments": "",\r
1388         "outputs": 1,\r
1389         "x": 4115.883758544922,\r
1390         "y": 699,\r
1391         "z": "8bd89607.6248d8",\r
1392         "wires": [\r
1393             [\r
1394                 "bbb0db7f.fd9908"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "892e5669.1ea2b",\r
1400         "type": "set",\r
1401         "name": "set network-route-ROOT",\r
1402         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1403         "comments": "",\r
1404         "x": 4457.883758544922,\r
1405         "y": 336.99993896484375,\r
1406         "z": "8bd89607.6248d8",\r
1407         "wires": []\r
1408     },\r
1409     {\r
1410         "id": "6a564e86.c1193",\r
1411         "type": "set",\r
1412         "name": "set network-route-LEAF",\r
1413         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1414         "comments": "",\r
1415         "x": 4450.883758544922,\r
1416         "y": 434.99993896484375,\r
1417         "z": "8bd89607.6248d8",\r
1418         "wires": []\r
1419     },\r
1420     {\r
1421         "id": "a3abd24c.7a5ec",\r
1422         "type": "set",\r
1423         "name": "set network-route-ROOT",\r
1424         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1425         "comments": "",\r
1426         "x": 4429.883758544922,\r
1427         "y": 618,\r
1428         "z": "8bd89607.6248d8",\r
1429         "wires": []\r
1430     },\r
1431     {\r
1432         "id": "dc9fae61.a17b2",\r
1433         "type": "set",\r
1434         "name": "set network-route-LEAF",\r
1435         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1436         "comments": "",\r
1437         "x": 4433.883758544922,\r
1438         "y": 711,\r
1439         "z": "8bd89607.6248d8",\r
1440         "wires": []\r
1441     },\r
1442     {\r
1443         "id": "50eeb433.a27fd4",\r
1444         "type": "success",\r
1445         "name": "success",\r
1446         "xml": "<outcome value='success'>\n",\r
1447         "comments": "",\r
1448         "outputs": 1,\r
1449         "x": 3609.88330078125,\r
1450         "y": 1371,\r
1451         "z": "8bd89607.6248d8",\r
1452         "wires": [\r
1453             [\r
1454                 "c94a30c2.a398b"\r
1455             ]\r
1456         ]\r
1457     },\r
1458     {\r
1459         "id": "a408ed17.7674d",\r
1460         "type": "not-found",\r
1461         "name": "not-found",\r
1462         "xml": "<outcome value='not-found'>\n",\r
1463         "comments": "",\r
1464         "outputs": 1,\r
1465         "x": 3619.374267578125,\r
1466         "y": 1413.5740356445312,\r
1467         "z": "8bd89607.6248d8",\r
1468         "wires": [\r
1469             [\r
1470                 "82ef970c.862378"\r
1471             ]\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "3bc8671c.26c7e",\r
1476         "type": "failure",\r
1477         "name": "failure",\r
1478         "xml": "<outcome value='failure'>\n",\r
1479         "comments": "",\r
1480         "outputs": 1,\r
1481         "x": 3607.88330078125,\r
1482         "y": 1460,\r
1483         "z": "8bd89607.6248d8",\r
1484         "wires": [\r
1485             [\r
1486                 "5a6a5226.7899ec"\r
1487             ]\r
1488         ]\r
1489     },\r
1490     {\r
1491         "id": "246e8fda.9e3d88",\r
1492         "type": "comment",\r
1493         "name": "Question?",\r
1494         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1495         "comments": "",\r
1496         "x": 3309.88330078125,\r
1497         "y": 1333,\r
1498         "z": "8bd89607.6248d8",\r
1499         "wires": []\r
1500     },\r
1501     {\r
1502         "id": "652968a1.d93e88",\r
1503         "type": "save",\r
1504         "name": "get p-interface-src from aai",\r
1505         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-A.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-A.p-interface-src\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
1506         "comments": "",\r
1507         "outputs": 1,\r
1508         "x": 3352.88330078125,\r
1509         "y": 1398,\r
1510         "z": "8bd89607.6248d8",\r
1511         "wires": [\r
1512             [\r
1513                 "50eeb433.a27fd4",\r
1514                 "a408ed17.7674d",\r
1515                 "3bc8671c.26c7e"\r
1516             ]\r
1517         ]\r
1518     },\r
1519     {\r
1520         "id": "1abe7496.3f7c9b",\r
1521         "type": "execute",\r
1522         "name": "execute split tp-id to get pnf-name",\r
1523         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA-pnfName\"/>\n\n",\r
1524         "comments": "",\r
1525         "outputs": 1,\r
1526         "x": 3353.883270263672,\r
1527         "y": 1150,\r
1528         "z": "8bd89607.6248d8",\r
1529         "wires": [\r
1530             [\r
1531                 "56f8321f.20ee54",\r
1532                 "27baf83a.a648a"\r
1533             ]\r
1534         ]\r
1535     },\r
1536     {\r
1537         "id": "27baf83a.a648a",\r
1538         "type": "failure",\r
1539         "name": "success",\r
1540         "xml": "<outcome value='success'>\n",\r
1541         "comments": "",\r
1542         "outputs": 1,\r
1543         "x": 3576.883270263672,\r
1544         "y": 1136,\r
1545         "z": "8bd89607.6248d8",\r
1546         "wires": [\r
1547             [\r
1548                 "89fdb9b4.3821e8"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "56f8321f.20ee54",\r
1554         "type": "failure",\r
1555         "name": "failure",\r
1556         "xml": "<outcome value='failure'>\n",\r
1557         "comments": "",\r
1558         "outputs": 1,\r
1559         "x": 3578.883270263672,\r
1560         "y": 1169,\r
1561         "z": "8bd89607.6248d8",\r
1562         "wires": [\r
1563             [\r
1564                 "bd796d50.897138"\r
1565             ]\r
1566         ]\r
1567     },\r
1568     {\r
1569         "id": "c94a30c2.a398b",\r
1570         "type": "block",\r
1571         "name": "block : atomic",\r
1572         "xml": "<block atomic=\"true\">",\r
1573         "atomic": "true",\r
1574         "outputs": 1,\r
1575         "x": 3782.5498046875,\r
1576         "y": 1370,\r
1577         "z": "8bd89607.6248d8",\r
1578         "wires": [\r
1579             [\r
1580                 "5b1520ee.c993d8",\r
1581                 "92906f1e.302de8"\r
1582             ]\r
1583         ]\r
1584     },\r
1585     {\r
1586         "id": "82ef970c.862378",\r
1587         "type": "returnFailure",\r
1588         "name": "return failure",\r
1589         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
1590         "comments": "",\r
1591         "x": 3772.9456787109375,\r
1592         "y": 1416.8597717285156,\r
1593         "z": "8bd89607.6248d8",\r
1594         "wires": []\r
1595     },\r
1596     {\r
1597         "id": "5a6a5226.7899ec",\r
1598         "type": "returnFailure",\r
1599         "name": "return failure",\r
1600         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1601         "comments": "",\r
1602         "x": 3776.88330078125,\r
1603         "y": 1461,\r
1604         "z": "8bd89607.6248d8",\r
1605         "wires": []\r
1606     },\r
1607     {\r
1608         "id": "5b1520ee.c993d8",\r
1609         "type": "execute",\r
1610         "name": "execute split tp-id to get pnf-name",\r
1611         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-A.p-interface-src.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainA\"/>\n\n",\r
1612         "comments": "",\r
1613         "outputs": 1,\r
1614         "x": 4046.88330078125,\r
1615         "y": 1354,\r
1616         "z": "8bd89607.6248d8",\r
1617         "wires": [\r
1618             [\r
1619                 "40f95927.3e48a8",\r
1620                 "155b2019.4d901"\r
1621             ]\r
1622         ]\r
1623     },\r
1624     {\r
1625         "id": "155b2019.4d901",\r
1626         "type": "failure",\r
1627         "name": "success",\r
1628         "xml": "<outcome value='success'>\n",\r
1629         "comments": "",\r
1630         "outputs": 1,\r
1631         "x": 4269.88330078125,\r
1632         "y": 1309,\r
1633         "z": "8bd89607.6248d8",\r
1634         "wires": [\r
1635             [\r
1636                 "8cff212e.fd093"\r
1637             ]\r
1638         ]\r
1639     },\r
1640     {\r
1641         "id": "40f95927.3e48a8",\r
1642         "type": "failure",\r
1643         "name": "failure",\r
1644         "xml": "<outcome value='failure'>\n",\r
1645         "comments": "",\r
1646         "outputs": 1,\r
1647         "x": 4271.88330078125,\r
1648         "y": 1373,\r
1649         "z": "8bd89607.6248d8",\r
1650         "wires": [\r
1651             [\r
1652                 "9ea2b228.156828"\r
1653             ]\r
1654         ]\r
1655     },\r
1656     {\r
1657         "id": "9ea2b228.156828",\r
1658         "type": "returnFailure",\r
1659         "name": "return failure",\r
1660         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1661         "comments": "",\r
1662         "x": 4433.88330078125,\r
1663         "y": 1369,\r
1664         "z": "8bd89607.6248d8",\r
1665         "wires": []\r
1666     },\r
1667     {\r
1668         "id": "8cff212e.fd093",\r
1669         "type": "block",\r
1670         "name": "block : atomic",\r
1671         "xml": "<block atomic=\"true\">",\r
1672         "atomic": "true",\r
1673         "outputs": 1,\r
1674         "x": 4434.88330078125,\r
1675         "y": 1306,\r
1676         "z": "8bd89607.6248d8",\r
1677         "wires": [\r
1678             [\r
1679                 "ea39175a.08155",\r
1680                 "81bb5906.bb1848"\r
1681             ]\r
1682         ]\r
1683     },\r
1684     {\r
1685         "id": "bd796d50.897138",\r
1686         "type": "returnFailure",\r
1687         "name": "return failure",\r
1688         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
1689         "comments": "",\r
1690         "x": 3721.883270263672,\r
1691         "y": 1166,\r
1692         "z": "8bd89607.6248d8",\r
1693         "wires": []\r
1694     },\r
1695     {\r
1696         "id": "89fdb9b4.3821e8",\r
1697         "type": "block",\r
1698         "name": "block : atomic",\r
1699         "xml": "<block atomic=\"true\">",\r
1700         "atomic": "true",\r
1701         "outputs": 1,\r
1702         "x": 3724.883270263672,\r
1703         "y": 1129,\r
1704         "z": "8bd89607.6248d8",\r
1705         "wires": [\r
1706             [\r
1707                 "242e596.6a45da6",\r
1708                 "c522f465.9b1b48"\r
1709             ]\r
1710         ]\r
1711     },\r
1712     {\r
1713         "id": "242e596.6a45da6",\r
1714         "type": "set",\r
1715         "name": "set pnf-name",\r
1716         "xml": "<set>\n<parameter name='tmp.src.domainA.pnf-name' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n",\r
1717         "comments": "",\r
1718         "x": 3916.883270263672,\r
1719         "y": 1131,\r
1720         "z": "8bd89607.6248d8",\r
1721         "wires": []\r
1722     },\r
1723     {\r
1724         "id": "92906f1e.302de8",\r
1725         "type": "for",\r
1726         "name": "for each relationship",\r
1727         "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1728         "comments": "",\r
1729         "outputs": 1,\r
1730         "x": 4006.88330078125,\r
1731         "y": 1486,\r
1732         "z": "8bd89607.6248d8",\r
1733         "wires": [\r
1734             [\r
1735                 "9d7e97d1.f3da4"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "9d7e97d1.f3da4",\r
1741         "type": "switchNode",\r
1742         "name": "switch related-to",\r
1743         "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1744         "comments": "",\r
1745         "outputs": 1,\r
1746         "x": 4212.88330078125,\r
1747         "y": 1486,\r
1748         "z": "8bd89607.6248d8",\r
1749         "wires": [\r
1750             [\r
1751                 "39469ddd.cce81a"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "39469ddd.cce81a",\r
1757         "type": "outcome",\r
1758         "name": "tunnel-termination-point",\r
1759         "xml": "<outcome value='tunnel-termination-point'>\n",\r
1760         "comments": "",\r
1761         "outputs": 1,\r
1762         "x": 4428.1689453125,\r
1763         "y": 1485.82177734375,\r
1764         "z": "8bd89607.6248d8",\r
1765         "wires": [\r
1766             [\r
1767                 "286435fd.520a92"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "c522f465.9b1b48",\r
1773         "type": "get-resource",\r
1774         "name": "get-resource src pnf",\r
1775         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.src.domainA.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
1776         "comments": "",\r
1777         "outputs": 1,\r
1778         "x": 3913.883270263672,\r
1779         "y": 1196,\r
1780         "z": "8bd89607.6248d8",\r
1781         "wires": [\r
1782             [\r
1783                 "9a817681.2b7108",\r
1784                 "845c0857.7834f8",\r
1785                 "aae3c73d.eac74"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "9a817681.2b7108",\r
1791         "type": "success",\r
1792         "name": "success",\r
1793         "xml": "<outcome value='success'>\n",\r
1794         "comments": "",\r
1795         "outputs": 1,\r
1796         "x": 4109.383392333984,\r
1797         "y": 1148,\r
1798         "z": "8bd89607.6248d8",\r
1799         "wires": [\r
1800             [\r
1801                 "d82b3eae.4c278"\r
1802             ]\r
1803         ]\r
1804     },\r
1805     {\r
1806         "id": "845c0857.7834f8",\r
1807         "type": "not-found",\r
1808         "name": "not-found",\r
1809         "xml": "<outcome value='not-found'>\n",\r
1810         "comments": "",\r
1811         "outputs": 1,\r
1812         "x": 4101.383392333984,\r
1813         "y": 1203,\r
1814         "z": "8bd89607.6248d8",\r
1815         "wires": [\r
1816             [\r
1817                 "c5b5dd85.a284c8"\r
1818             ]\r
1819         ]\r
1820     },\r
1821     {\r
1822         "id": "aae3c73d.eac74",\r
1823         "type": "other",\r
1824         "name": "other",\r
1825         "xml": "<outcome value='Other'>\n",\r
1826         "comments": "",\r
1827         "outputs": 1,\r
1828         "x": 4106.383392333984,\r
1829         "y": 1260,\r
1830         "z": "8bd89607.6248d8",\r
1831         "wires": [\r
1832             [\r
1833                 "535d5ed7.3fd4e"\r
1834             ]\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "535d5ed7.3fd4e",\r
1839         "type": "returnFailure",\r
1840         "name": "return failure",\r
1841         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1842         "comments": "",\r
1843         "x": 4258.383392333984,\r
1844         "y": 1261,\r
1845         "z": "8bd89607.6248d8",\r
1846         "wires": []\r
1847     },\r
1848     {\r
1849         "id": "c5b5dd85.a284c8",\r
1850         "type": "returnFailure",\r
1851         "name": "return failure",\r
1852         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
1853         "comments": "",\r
1854         "x": 4269.383392333984,\r
1855         "y": 1206,\r
1856         "z": "8bd89607.6248d8",\r
1857         "wires": []\r
1858     },\r
1859     {\r
1860         "id": "d82b3eae.4c278",\r
1861         "type": "block",\r
1862         "name": "block",\r
1863         "xml": "<block>\n",\r
1864         "atomic": "false",\r
1865         "comments": "",\r
1866         "outputs": 1,\r
1867         "x": 4253.765716552734,\r
1868         "y": 1145.6556701660156,\r
1869         "z": "8bd89607.6248d8",\r
1870         "wires": [\r
1871             [\r
1872                 "5176f492.5f7e8c"\r
1873             ]\r
1874         ]\r
1875     },\r
1876     {\r
1877         "id": "5176f492.5f7e8c",\r
1878         "type": "for",\r
1879         "name": "for each relationship",\r
1880         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1881         "comments": "",\r
1882         "outputs": 1,\r
1883         "x": 4447.883270263672,\r
1884         "y": 1189.9999389648438,\r
1885         "z": "8bd89607.6248d8",\r
1886         "wires": [\r
1887             [\r
1888                 "1d42fe6d.851b3a"\r
1889             ]\r
1890         ]\r
1891     },\r
1892     {\r
1893         "id": "81bb5906.bb1848",\r
1894         "type": "set",\r
1895         "name": "set ltpId",\r
1896         "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1897         "comments": "",\r
1898         "x": 4604.88330078125,\r
1899         "y": 1264,\r
1900         "z": "8bd89607.6248d8",\r
1901         "wires": []\r
1902     },\r
1903     {\r
1904         "id": "ea39175a.08155",\r
1905         "type": "set",\r
1906         "name": "set pnf-name",\r
1907         "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1908         "comments": "",\r
1909         "x": 4605.88330078125,\r
1910         "y": 1372,\r
1911         "z": "8bd89607.6248d8",\r
1912         "wires": []\r
1913     },\r
1914     {\r
1915         "id": "ea0872ed.58cfa",\r
1916         "type": "comment",\r
1917         "name": "TODO: FIXME",\r
1918         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
1919         "comments": "",\r
1920         "x": 4606.88330078125,\r
1921         "y": 1321,\r
1922         "z": "8bd89607.6248d8",\r
1923         "wires": []\r
1924     },\r
1925     {\r
1926         "id": "286435fd.520a92",\r
1927         "type": "block",\r
1928         "name": "block : atomic",\r
1929         "xml": "<block atomic=\"true\">",\r
1930         "atomic": "true",\r
1931         "outputs": 1,\r
1932         "x": 4635.00048828125,\r
1933         "y": 1486.34033203125,\r
1934         "z": "8bd89607.6248d8",\r
1935         "wires": [\r
1936             [\r
1937                 "b0e3cfe1.6d40f",\r
1938                 "7126b880.f67e48",\r
1939                 "ad3a7086.abf6b"\r
1940             ]\r
1941         ]\r
1942     },\r
1943     {\r
1944         "id": "b0e3cfe1.6d40f",\r
1945         "type": "set",\r
1946         "name": "set source ttp-id",\r
1947         "xml": "<set>\n<parameter name='tmp.source.ttp-id' value=\"`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].relationship-data[0].relationship-value`\" />\n",\r
1948         "comments": "",\r
1949         "x": 4850.00048828125,\r
1950         "y": 1448.34033203125,\r
1951         "z": "8bd89607.6248d8",\r
1952         "wires": []\r
1953     },\r
1954     {\r
1955         "id": "7126b880.f67e48",\r
1956         "type": "get-resource",\r
1957         "name": "get-resource src TTP",\r
1958         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.source.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.source-ttp' local-only='false' >\n\n\n",\r
1959         "comments": "",\r
1960         "outputs": 1,\r
1961         "x": 4847.00048828125,\r
1962         "y": 1487.34033203125,\r
1963         "z": "8bd89607.6248d8",\r
1964         "wires": [\r
1965             [\r
1966                 "7a65c420.1080dc"\r
1967             ]\r
1968         ]\r
1969     },\r
1970     {\r
1971         "id": "ad3a7086.abf6b",\r
1972         "type": "break",\r
1973         "name": "break",\r
1974         "xml": "<break>\n",\r
1975         "comments": "",\r
1976         "x": 4802.50048828125,\r
1977         "y": 1529.34033203125,\r
1978         "z": "8bd89607.6248d8",\r
1979         "wires": []\r
1980     },\r
1981     {\r
1982         "id": "7a65c420.1080dc",\r
1983         "type": "success",\r
1984         "name": "success",\r
1985         "xml": "<outcome value='success'>\n",\r
1986         "comments": "",\r
1987         "outputs": 1,\r
1988         "x": 5027.50048828125,\r
1989         "y": 1486.34033203125,\r
1990         "z": "8bd89607.6248d8",\r
1991         "wires": [\r
1992             [\r
1993                 "96c8a7ed.e41958"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "90470a6f.8ef5f8",\r
1999         "type": "outcome",\r
2000         "name": "esr-thirdparty-sdnc",\r
2001         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2002         "comments": "",\r
2003         "outputs": 1,\r
2004         "x": 4835.88330078125,\r
2005         "y": 1082,\r
2006         "z": "8bd89607.6248d8",\r
2007         "wires": [\r
2008             [\r
2009                 "e5efb625.18037"\r
2010             ]\r
2011         ]\r
2012     },\r
2013     {\r
2014         "id": "e5efb625.18037",\r
2015         "type": "block",\r
2016         "name": "block : atomic",\r
2017         "xml": "<block atomic=\"true\">",\r
2018         "atomic": "true",\r
2019         "outputs": 1,\r
2020         "x": 5012.88330078125,\r
2021         "y": 1074,\r
2022         "z": "8bd89607.6248d8",\r
2023         "wires": [\r
2024             [\r
2025                 "732587d3.ab7a9",\r
2026                 "4baffabc.103f3c"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "1d42fe6d.851b3a",\r
2032         "type": "switchNode",\r
2033         "name": "switch related-to",\r
2034         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2035         "comments": "",\r
2036         "outputs": 1,\r
2037         "x": 4638.883270263672,\r
2038         "y": 1179.9999389648438,\r
2039         "z": "8bd89607.6248d8",\r
2040         "wires": [\r
2041             [\r
2042                 "90470a6f.8ef5f8",\r
2043                 "6cae07e7.8ff81"\r
2044             ]\r
2045         ]\r
2046     },\r
2047     {\r
2048         "id": "6cae07e7.8ff81",\r
2049         "type": "outcome",\r
2050         "name": "network-resource",\r
2051         "xml": "<outcome value='network-resource'>",\r
2052         "comments": "",\r
2053         "outputs": 1,\r
2054         "x": 4838.88330078125,\r
2055         "y": 1156,\r
2056         "z": "8bd89607.6248d8",\r
2057         "wires": [\r
2058             [\r
2059                 "8681155.73991e8"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "8681155.73991e8",\r
2065         "type": "block",\r
2066         "name": "block : atomic",\r
2067         "xml": "<block atomic=\"true\">",\r
2068         "atomic": "true",\r
2069         "outputs": 1,\r
2070         "x": 5015.88330078125,\r
2071         "y": 1148,\r
2072         "z": "8bd89607.6248d8",\r
2073         "wires": [\r
2074             [\r
2075                 "c2e2c331.f24d7"\r
2076             ]\r
2077         ]\r
2078     },\r
2079     {\r
2080         "id": "96c8a7ed.e41958",\r
2081         "type": "block",\r
2082         "name": "block : atomic",\r
2083         "xml": "<block atomic=\"true\">",\r
2084         "atomic": "true",\r
2085         "outputs": 1,\r
2086         "x": 5185.50048828125,\r
2087         "y": 1486.34033203125,\r
2088         "z": "8bd89607.6248d8",\r
2089         "wires": [\r
2090             [\r
2091                 "d73ce805.51d21"\r
2092             ]\r
2093         ]\r
2094     },\r
2095     {\r
2096         "id": "d73ce805.51d21",\r
2097         "type": "set",\r
2098         "name": "set source tunnel tp ip",\r
2099         "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2100         "comments": "",\r
2101         "x": 5392.50048828125,\r
2102         "y": 1486.34033203125,\r
2103         "z": "8bd89607.6248d8",\r
2104         "wires": []\r
2105     },\r
2106     {\r
2107         "id": "4baffabc.103f3c",\r
2108         "type": "execute",\r
2109         "name": "get esr-thirdparty-sdnc",\r
2110         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainA.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainA.esr-thirdparty-sdnc' local-only='false' >",\r
2111         "comments": "",\r
2112         "outputs": 1,\r
2113         "x": 5220.88330078125,\r
2114         "y": 1081,\r
2115         "z": "8bd89607.6248d8",\r
2116         "wires": [\r
2117             [\r
2118                 "276c589.f8898a8",\r
2119                 "b6b78749.64c52",\r
2120                 "710e31ca.f7c328"\r
2121             ]\r
2122         ]\r
2123     },\r
2124     {\r
2125         "id": "732587d3.ab7a9",\r
2126         "type": "set",\r
2127         "name": "set esr-thirdparty-sdnc domainA id",\r
2128         "xml": "<set>\n<parameter name='tmp.domainA.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2129         "comments": "",\r
2130         "x": 5250.88330078125,\r
2131         "y": 1029,\r
2132         "z": "8bd89607.6248d8",\r
2133         "wires": []\r
2134     },\r
2135     {\r
2136         "id": "276c589.f8898a8",\r
2137         "type": "success",\r
2138         "name": "success",\r
2139         "xml": "<outcome value='success'>\n",\r
2140         "comments": "",\r
2141         "outputs": 1,\r
2142         "x": 5430.88330078125,\r
2143         "y": 1072,\r
2144         "z": "8bd89607.6248d8",\r
2145         "wires": [\r
2146             [\r
2147                 "6595904d.14fc"\r
2148             ]\r
2149         ]\r
2150     },\r
2151     {\r
2152         "id": "b6b78749.64c52",\r
2153         "type": "not-found",\r
2154         "name": "not-found",\r
2155         "xml": "<outcome value='not-found'>\n",\r
2156         "comments": "",\r
2157         "outputs": 1,\r
2158         "x": 5422.88330078125,\r
2159         "y": 1127,\r
2160         "z": "8bd89607.6248d8",\r
2161         "wires": [\r
2162             [\r
2163                 "870ff6d4.3b5618"\r
2164             ]\r
2165         ]\r
2166     },\r
2167     {\r
2168         "id": "710e31ca.f7c328",\r
2169         "type": "other",\r
2170         "name": "other",\r
2171         "xml": "<outcome value='Other'>\n",\r
2172         "comments": "",\r
2173         "outputs": 1,\r
2174         "x": 5427.88330078125,\r
2175         "y": 1184,\r
2176         "z": "8bd89607.6248d8",\r
2177         "wires": [\r
2178             [\r
2179                 "14dafdf8.cfb5c2"\r
2180             ]\r
2181         ]\r
2182     },\r
2183     {\r
2184         "id": "14dafdf8.cfb5c2",\r
2185         "type": "returnFailure",\r
2186         "name": "return failure",\r
2187         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2188         "comments": "",\r
2189         "x": 5579.88330078125,\r
2190         "y": 1185,\r
2191         "z": "8bd89607.6248d8",\r
2192         "wires": []\r
2193     },\r
2194     {\r
2195         "id": "870ff6d4.3b5618",\r
2196         "type": "returnFailure",\r
2197         "name": "return failure",\r
2198         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2199         "comments": "",\r
2200         "x": 5590.88330078125,\r
2201         "y": 1130,\r
2202         "z": "8bd89607.6248d8",\r
2203         "wires": []\r
2204     },\r
2205     {\r
2206         "id": "6595904d.14fc",\r
2207         "type": "block",\r
2208         "name": "block",\r
2209         "xml": "<block>\n",\r
2210         "atomic": "false",\r
2211         "comments": "",\r
2212         "outputs": 1,\r
2213         "x": 5575.265625,\r
2214         "y": 1069.6556701660156,\r
2215         "z": "8bd89607.6248d8",\r
2216         "wires": [\r
2217             [\r
2218                 "4578d3b4.cc9aac"\r
2219             ]\r
2220         ]\r
2221     },\r
2222     {\r
2223         "id": "c2e2c331.f24d7",\r
2224         "type": "set",\r
2225         "name": "set domainA ethernet layer network-id",\r
2226         "xml": "<set>\n<parameter name='tmp.domainA.eth-network-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
2227         "comments": "",\r
2228         "x": 5250.88330078125,\r
2229         "y": 1272,\r
2230         "z": "8bd89607.6248d8",\r
2231         "wires": []\r
2232     },\r
2233     {\r
2234         "id": "4578d3b4.cc9aac",\r
2235         "type": "set",\r
2236         "name": "set controller domainA data",\r
2237         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.url' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.user' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainA.password' value=\"`$tmp.aai.domainA.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
2238         "comments": "",\r
2239         "x": 5789.88330078125,\r
2240         "y": 1066,\r
2241         "z": "8bd89607.6248d8",\r
2242         "wires": []\r
2243     },\r
2244     {\r
2245         "id": "d9f780b3.339398",\r
2246         "type": "set",\r
2247         "name": "set network-route-B",\r
2248         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2249         "comments": "",\r
2250         "x": 4445.883758544922,\r
2251         "y": 372.99993896484375,\r
2252         "z": "8bd89607.6248d8",\r
2253         "wires": []\r
2254     },\r
2255     {\r
2256         "id": "eeaf4d12.9621",\r
2257         "type": "set",\r
2258         "name": "set network-route-A",\r
2259         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2260         "comments": "",\r
2261         "x": 4446.883728027344,\r
2262         "y": 476.99993896484375,\r
2263         "z": "8bd89607.6248d8",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "af392071.289a38",\r
2268         "type": "block",\r
2269         "name": "block",\r
2270         "xml": "<block>\n",\r
2271         "atomic": "false",\r
2272         "comments": "",\r
2273         "outputs": 1,\r
2274         "x": 4270.883758544922,\r
2275         "y": 378.99993896484375,\r
2276         "z": "8bd89607.6248d8",\r
2277         "wires": [\r
2278             [\r
2279                 "892e5669.1ea2b",\r
2280                 "d9f780b3.339398"\r
2281             ]\r
2282         ]\r
2283     },\r
2284     {\r
2285         "id": "7fbb2a1.f3ae954",\r
2286         "type": "block",\r
2287         "name": "block",\r
2288         "xml": "<block>\n",\r
2289         "atomic": "false",\r
2290         "comments": "",\r
2291         "outputs": 1,\r
2292         "x": 4276.883758544922,\r
2293         "y": 442.99993896484375,\r
2294         "z": "8bd89607.6248d8",\r
2295         "wires": [\r
2296             [\r
2297                 "6a564e86.c1193",\r
2298                 "eeaf4d12.9621"\r
2299             ]\r
2300         ]\r
2301     },\r
2302     {\r
2303         "id": "92f10d9d.0be95",\r
2304         "type": "block",\r
2305         "name": "block",\r
2306         "xml": "<block>\n",\r
2307         "atomic": "false",\r
2308         "comments": "",\r
2309         "outputs": 1,\r
2310         "x": 4241.883758544922,\r
2311         "y": 645,\r
2312         "z": "8bd89607.6248d8",\r
2313         "wires": [\r
2314             [\r
2315                 "a3abd24c.7a5ec",\r
2316                 "d4111de3.168d5"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "bbb0db7f.fd9908",\r
2322         "type": "block",\r
2323         "name": "block",\r
2324         "xml": "<block>\n",\r
2325         "atomic": "false",\r
2326         "comments": "",\r
2327         "outputs": 1,\r
2328         "x": 4244.883758544922,\r
2329         "y": 698,\r
2330         "z": "8bd89607.6248d8",\r
2331         "wires": [\r
2332             [\r
2333                 "dc9fae61.a17b2",\r
2334                 "daba5f73.79ab3"\r
2335             ]\r
2336         ]\r
2337     },\r
2338     {\r
2339         "id": "d4111de3.168d5",\r
2340         "type": "set",\r
2341         "name": "set network-route-B",\r
2342         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2343         "comments": "",\r
2344         "x": 4415.883758544922,\r
2345         "y": 658,\r
2346         "z": "8bd89607.6248d8",\r
2347         "wires": []\r
2348     },\r
2349     {\r
2350         "id": "daba5f73.79ab3",\r
2351         "type": "set",\r
2352         "name": "set network-route-A",\r
2353         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2354         "comments": "",\r
2355         "x": 4418.883758544922,\r
2356         "y": 749,\r
2357         "z": "8bd89607.6248d8",\r
2358         "wires": []\r
2359     },\r
2360     {\r
2361         "id": "f11652ec.f5ecc",\r
2362         "type": "block",\r
2363         "name": "block : atomic",\r
2364         "xml": "<block atomic=\"true\">",\r
2365         "atomic": "true",\r
2366         "outputs": 1,\r
2367         "x": 3741.88330078125,\r
2368         "y": 1828.0001220703125,\r
2369         "z": "8bd89607.6248d8",\r
2370         "wires": [\r
2371             [\r
2372                 "2518ba78.6d21ae",\r
2373                 "ca887fb4.4fa748"\r
2374             ]\r
2375         ]\r
2376     },\r
2377     {\r
2378         "id": "5d22eff5.ad4738",\r
2379         "type": "success",\r
2380         "name": "success",\r
2381         "xml": "<outcome value='success'>\n",\r
2382         "comments": "",\r
2383         "outputs": 1,\r
2384         "x": 3569.216796875,\r
2385         "y": 1829.0001220703125,\r
2386         "z": "8bd89607.6248d8",\r
2387         "wires": [\r
2388             [\r
2389                 "f11652ec.f5ecc"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "f62aa8b7.81c7a8",\r
2395         "type": "not-found",\r
2396         "name": "not-found",\r
2397         "xml": "<outcome value='not-found'>\n",\r
2398         "comments": "",\r
2399         "outputs": 1,\r
2400         "x": 3578.707763671875,\r
2401         "y": 1871.5741577148438,\r
2402         "z": "8bd89607.6248d8",\r
2403         "wires": [\r
2404             [\r
2405                 "3ccb36a1.cd58ba"\r
2406             ]\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "949b65da.c62778",\r
2411         "type": "failure",\r
2412         "name": "failure",\r
2413         "xml": "<outcome value='failure'>\n",\r
2414         "comments": "",\r
2415         "outputs": 1,\r
2416         "x": 3567.216796875,\r
2417         "y": 1918.0001220703125,\r
2418         "z": "8bd89607.6248d8",\r
2419         "wires": [\r
2420             [\r
2421                 "b3008d52.d5dec"\r
2422             ]\r
2423         ]\r
2424     },\r
2425     {\r
2426         "id": "3ccb36a1.cd58ba",\r
2427         "type": "returnFailure",\r
2428         "name": "return failure",\r
2429         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
2430         "comments": "",\r
2431         "x": 3732.2791748046875,\r
2432         "y": 1874.8598937988281,\r
2433         "z": "8bd89607.6248d8",\r
2434         "wires": []\r
2435     },\r
2436     {\r
2437         "id": "b3008d52.d5dec",\r
2438         "type": "returnFailure",\r
2439         "name": "return failure",\r
2440         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2441         "comments": "",\r
2442         "x": 3736.216796875,\r
2443         "y": 1919.0001220703125,\r
2444         "z": "8bd89607.6248d8",\r
2445         "wires": []\r
2446     },\r
2447     {\r
2448         "id": "2518ba78.6d21ae",\r
2449         "type": "execute",\r
2450         "name": "execute split tp-id to get pnf-name",\r
2451         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB\"/>\n\n\n",\r
2452         "comments": "",\r
2453         "outputs": 1,\r
2454         "x": 4028.216796875,\r
2455         "y": 1832.000244140625,\r
2456         "z": "8bd89607.6248d8",\r
2457         "wires": [\r
2458             [\r
2459                 "2fdbf5bd.c09292",\r
2460                 "9a5de981.0de7c"\r
2461             ]\r
2462         ]\r
2463     },\r
2464     {\r
2465         "id": "9a5de981.0de7c",\r
2466         "type": "failure",\r
2467         "name": "success",\r
2468         "xml": "<outcome value='success'>\n",\r
2469         "comments": "",\r
2470         "outputs": 1,\r
2471         "x": 4251.216796875,\r
2472         "y": 1787.000244140625,\r
2473         "z": "8bd89607.6248d8",\r
2474         "wires": [\r
2475             [\r
2476                 "82242071.f4a9f"\r
2477             ]\r
2478         ]\r
2479     },\r
2480     {\r
2481         "id": "2fdbf5bd.c09292",\r
2482         "type": "failure",\r
2483         "name": "failure",\r
2484         "xml": "<outcome value='failure'>\n",\r
2485         "comments": "",\r
2486         "outputs": 1,\r
2487         "x": 4253.216796875,\r
2488         "y": 1851.000244140625,\r
2489         "z": "8bd89607.6248d8",\r
2490         "wires": [\r
2491             [\r
2492                 "56361c44.c984a4"\r
2493             ]\r
2494         ]\r
2495     },\r
2496     {\r
2497         "id": "56361c44.c984a4",\r
2498         "type": "returnFailure",\r
2499         "name": "return failure",\r
2500         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
2501         "comments": "",\r
2502         "x": 4412.216796875,\r
2503         "y": 1870.000244140625,\r
2504         "z": "8bd89607.6248d8",\r
2505         "wires": []\r
2506     },\r
2507     {\r
2508         "id": "82242071.f4a9f",\r
2509         "type": "block",\r
2510         "name": "block : atomic",\r
2511         "xml": "<block atomic=\"true\">",\r
2512         "atomic": "true",\r
2513         "outputs": 1,\r
2514         "x": 4416.216796875,\r
2515         "y": 1784.000244140625,\r
2516         "z": "8bd89607.6248d8",\r
2517         "wires": [\r
2518             [\r
2519                 "10610dd4.f6c112",\r
2520                 "ddf5e2c4.67d9f8"\r
2521             ]\r
2522         ]\r
2523     },\r
2524     {\r
2525         "id": "fc221d76.582c9",\r
2526         "type": "save",\r
2527         "name": "get p-interface-dst from aai",\r
2528         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-B.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-B.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
2529         "comments": "",\r
2530         "outputs": 1,\r
2531         "x": 3341.216796875,\r
2532         "y": 1864.0001220703125,\r
2533         "z": "8bd89607.6248d8",\r
2534         "wires": [\r
2535             [\r
2536                 "5d22eff5.ad4738",\r
2537                 "f62aa8b7.81c7a8",\r
2538                 "949b65da.c62778"\r
2539             ]\r
2540         ]\r
2541     },\r
2542     {\r
2543         "id": "322a186d.549ed",\r
2544         "type": "comment",\r
2545         "name": "Question?",\r
2546         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2547         "comments": "",\r
2548         "x": 3302.216796875,\r
2549         "y": 1808.0001220703125,\r
2550         "z": "8bd89607.6248d8",\r
2551         "wires": []\r
2552     },\r
2553     {\r
2554         "id": "f369a6e9.5de548",\r
2555         "type": "execute",\r
2556         "name": "execute split tp-id to get pnf-name",\r
2557         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-B.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainB-pnfName\"/>\n\n",\r
2558         "comments": "",\r
2559         "outputs": 1,\r
2560         "x": 3353.216796875,\r
2561         "y": 1603,\r
2562         "z": "8bd89607.6248d8",\r
2563         "wires": [\r
2564             [\r
2565                 "cb8e448.206bab8",\r
2566                 "778779f6.be6098"\r
2567             ]\r
2568         ]\r
2569     },\r
2570     {\r
2571         "id": "778779f6.be6098",\r
2572         "type": "failure",\r
2573         "name": "success",\r
2574         "xml": "<outcome value='success'>\n",\r
2575         "comments": "",\r
2576         "outputs": 1,\r
2577         "x": 3576.216796875,\r
2578         "y": 1589,\r
2579         "z": "8bd89607.6248d8",\r
2580         "wires": [\r
2581             [\r
2582                 "4c771f34.9e70b8"\r
2583             ]\r
2584         ]\r
2585     },\r
2586     {\r
2587         "id": "cb8e448.206bab8",\r
2588         "type": "failure",\r
2589         "name": "failure",\r
2590         "xml": "<outcome value='failure'>\n",\r
2591         "comments": "",\r
2592         "outputs": 1,\r
2593         "x": 3578.216796875,\r
2594         "y": 1622,\r
2595         "z": "8bd89607.6248d8",\r
2596         "wires": [\r
2597             [\r
2598                 "7c64438a.ff9f5c"\r
2599             ]\r
2600         ]\r
2601     },\r
2602     {\r
2603         "id": "7c64438a.ff9f5c",\r
2604         "type": "returnFailure",\r
2605         "name": "return failure",\r
2606         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
2607         "comments": "",\r
2608         "x": 3721.216796875,\r
2609         "y": 1619,\r
2610         "z": "8bd89607.6248d8",\r
2611         "wires": []\r
2612     },\r
2613     {\r
2614         "id": "4c771f34.9e70b8",\r
2615         "type": "block",\r
2616         "name": "block : atomic",\r
2617         "xml": "<block atomic=\"true\">",\r
2618         "atomic": "true",\r
2619         "outputs": 1,\r
2620         "x": 3724.216796875,\r
2621         "y": 1582,\r
2622         "z": "8bd89607.6248d8",\r
2623         "wires": [\r
2624             [\r
2625                 "8b5ae92b.18937",\r
2626                 "acd78677.da7398"\r
2627             ]\r
2628         ]\r
2629     },\r
2630     {\r
2631         "id": "8b5ae92b.18937",\r
2632         "type": "set",\r
2633         "name": "set pnf-name",\r
2634         "xml": "<set>\n<parameter name='tmp.dst.domainB.pnf-name' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n",\r
2635         "comments": "",\r
2636         "x": 3918.216796875,\r
2637         "y": 1585.0001220703125,\r
2638         "z": "8bd89607.6248d8",\r
2639         "wires": []\r
2640     },\r
2641     {\r
2642         "id": "ca887fb4.4fa748",\r
2643         "type": "for",\r
2644         "name": "for each relationship",\r
2645         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2646         "comments": "",\r
2647         "outputs": 1,\r
2648         "x": 3969.216766357422,\r
2649         "y": 1965,\r
2650         "z": "8bd89607.6248d8",\r
2651         "wires": [\r
2652             [\r
2653                 "d3ca912e.f0454"\r
2654             ]\r
2655         ]\r
2656     },\r
2657     {\r
2658         "id": "d3ca912e.f0454",\r
2659         "type": "switchNode",\r
2660         "name": "switch related-to",\r
2661         "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2662         "comments": "",\r
2663         "outputs": 1,\r
2664         "x": 4175.216766357422,\r
2665         "y": 1965,\r
2666         "z": "8bd89607.6248d8",\r
2667         "wires": [\r
2668             [\r
2669                 "e775983e.c87c6"\r
2670             ]\r
2671         ]\r
2672     },\r
2673     {\r
2674         "id": "e775983e.c87c6",\r
2675         "type": "outcome",\r
2676         "name": "tunnel-termination-point",\r
2677         "xml": "<outcome value='tunnel-termination-point'>\n",\r
2678         "comments": "",\r
2679         "outputs": 1,\r
2680         "x": 4392.502410888672,\r
2681         "y": 1963.82177734375,\r
2682         "z": "8bd89607.6248d8",\r
2683         "wires": [\r
2684             [\r
2685                 "8510e412.3775c"\r
2686             ]\r
2687         ]\r
2688     },\r
2689     {\r
2690         "id": "acd78677.da7398",\r
2691         "type": "get-resource",\r
2692         "name": "get-resource src pnf",\r
2693         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainB.pnf-name\"\n        pfx='tmp.aai.destination-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
2694         "comments": "",\r
2695         "outputs": 1,\r
2696         "x": 3940.216796875,\r
2697         "y": 1653.0001220703125,\r
2698         "z": "8bd89607.6248d8",\r
2699         "wires": [\r
2700             [\r
2701                 "e413099e.5580f8",\r
2702                 "73fbbbe6.41f3fc",\r
2703                 "be84a2f7.e2d8"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "e413099e.5580f8",\r
2709         "type": "success",\r
2710         "name": "success",\r
2711         "xml": "<outcome value='success'>\n",\r
2712         "comments": "",\r
2713         "outputs": 1,\r
2714         "x": 4135.7169189453125,\r
2715         "y": 1605.0001220703125,\r
2716         "z": "8bd89607.6248d8",\r
2717         "wires": [\r
2718             [\r
2719                 "6607b5e0.cc2a14"\r
2720             ]\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "73fbbbe6.41f3fc",\r
2725         "type": "not-found",\r
2726         "name": "not-found",\r
2727         "xml": "<outcome value='not-found'>\n",\r
2728         "comments": "",\r
2729         "outputs": 1,\r
2730         "x": 4127.7169189453125,\r
2731         "y": 1660.0001220703125,\r
2732         "z": "8bd89607.6248d8",\r
2733         "wires": [\r
2734             [\r
2735                 "c946d76.aa97f28"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "be84a2f7.e2d8",\r
2741         "type": "other",\r
2742         "name": "other",\r
2743         "xml": "<outcome value='Other'>\n",\r
2744         "comments": "",\r
2745         "outputs": 1,\r
2746         "x": 4132.7169189453125,\r
2747         "y": 1717.0001220703125,\r
2748         "z": "8bd89607.6248d8",\r
2749         "wires": [\r
2750             [\r
2751                 "55c1c0e2.5aae38"\r
2752             ]\r
2753         ]\r
2754     },\r
2755     {\r
2756         "id": "55c1c0e2.5aae38",\r
2757         "type": "returnFailure",\r
2758         "name": "return failure",\r
2759         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2760         "comments": "",\r
2761         "x": 4284.7169189453125,\r
2762         "y": 1718.0001220703125,\r
2763         "z": "8bd89607.6248d8",\r
2764         "wires": []\r
2765     },\r
2766     {\r
2767         "id": "c946d76.aa97f28",\r
2768         "type": "returnFailure",\r
2769         "name": "return failure",\r
2770         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
2771         "comments": "",\r
2772         "x": 4295.7169189453125,\r
2773         "y": 1663.0001220703125,\r
2774         "z": "8bd89607.6248d8",\r
2775         "wires": []\r
2776     },\r
2777     {\r
2778         "id": "6607b5e0.cc2a14",\r
2779         "type": "block",\r
2780         "name": "block",\r
2781         "xml": "<block>\n",\r
2782         "atomic": "false",\r
2783         "comments": "",\r
2784         "outputs": 1,\r
2785         "x": 4280.0992431640625,\r
2786         "y": 1602.6557922363281,\r
2787         "z": "8bd89607.6248d8",\r
2788         "wires": [\r
2789             [\r
2790                 "eb6f70d5.e0fd88"\r
2791             ]\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "10610dd4.f6c112",\r
2796         "type": "set",\r
2797         "name": "set ltpId",\r
2798         "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2799         "comments": "",\r
2800         "x": 4586.216796875,\r
2801         "y": 1745.000244140625,\r
2802         "z": "8bd89607.6248d8",\r
2803         "wires": []\r
2804     },\r
2805     {\r
2806         "id": "ddf5e2c4.67d9f8",\r
2807         "type": "set",\r
2808         "name": "set pnf-name",\r
2809         "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2810         "comments": "",\r
2811         "x": 4587.216796875,\r
2812         "y": 1850.000244140625,\r
2813         "z": "8bd89607.6248d8",\r
2814         "wires": []\r
2815     },\r
2816     {\r
2817         "id": "f866aa99.a64d6",\r
2818         "type": "comment",\r
2819         "name": "TODO: FIXME",\r
2820         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
2821         "comments": "",\r
2822         "x": 4582.216796875,\r
2823         "y": 1799.000244140625,\r
2824         "z": "8bd89607.6248d8",\r
2825         "wires": []\r
2826     },\r
2827     {\r
2828         "id": "8510e412.3775c",\r
2829         "type": "block",\r
2830         "name": "block : atomic",\r
2831         "xml": "<block atomic=\"true\">",\r
2832         "atomic": "true",\r
2833         "outputs": 1,\r
2834         "x": 4599.333953857422,\r
2835         "y": 1953.3404541015625,\r
2836         "z": "8bd89607.6248d8",\r
2837         "wires": [\r
2838             [\r
2839                 "3eb610b6.e19958",\r
2840                 "2b4d2f26.4fc18",\r
2841                 "56b44513.ed17bc"\r
2842             ]\r
2843         ]\r
2844     },\r
2845     {\r
2846         "id": "3eb610b6.e19958",\r
2847         "type": "set",\r
2848         "name": "set destination ttp-id",\r
2849         "xml": "<set>\n<parameter name='tmp.destination.ttp-id' value=\"`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
2850         "comments": "",\r
2851         "x": 4814.333953857422,\r
2852         "y": 1915.3404541015625,\r
2853         "z": "8bd89607.6248d8",\r
2854         "wires": []\r
2855     },\r
2856     {\r
2857         "id": "2b4d2f26.4fc18",\r
2858         "type": "get-resource",\r
2859         "name": "get-resource src TTP",\r
2860         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-ttp' local-only='false' >\n\n\n",\r
2861         "comments": "",\r
2862         "outputs": 1,\r
2863         "x": 4811.333953857422,\r
2864         "y": 1954.3404541015625,\r
2865         "z": "8bd89607.6248d8",\r
2866         "wires": [\r
2867             [\r
2868                 "b7623c50.89af3"\r
2869             ]\r
2870         ]\r
2871     },\r
2872     {\r
2873         "id": "56b44513.ed17bc",\r
2874         "type": "break",\r
2875         "name": "break",\r
2876         "xml": "<break>\n",\r
2877         "comments": "",\r
2878         "x": 4766.833953857422,\r
2879         "y": 1996.3404541015625,\r
2880         "z": "8bd89607.6248d8",\r
2881         "wires": []\r
2882     },\r
2883     {\r
2884         "id": "b7623c50.89af3",\r
2885         "type": "success",\r
2886         "name": "success",\r
2887         "xml": "<outcome value='success'>\n",\r
2888         "comments": "",\r
2889         "outputs": 1,\r
2890         "x": 4991.833953857422,\r
2891         "y": 1953.3404541015625,\r
2892         "z": "8bd89607.6248d8",\r
2893         "wires": [\r
2894             [\r
2895                 "e2420b84.cbf938"\r
2896             ]\r
2897         ]\r
2898     },\r
2899     {\r
2900         "id": "e2420b84.cbf938",\r
2901         "type": "block",\r
2902         "name": "block : atomic",\r
2903         "xml": "<block atomic=\"true\">",\r
2904         "atomic": "true",\r
2905         "outputs": 1,\r
2906         "x": 5149.833953857422,\r
2907         "y": 1953.3404541015625,\r
2908         "z": "8bd89607.6248d8",\r
2909         "wires": [\r
2910             [\r
2911                 "d3754257.cdbb9"\r
2912             ]\r
2913         ]\r
2914     },\r
2915     {\r
2916         "id": "d3754257.cdbb9",\r
2917         "type": "set",\r
2918         "name": "set destination tunnel tp ip",\r
2919         "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2920         "comments": "",\r
2921         "x": 5356.833953857422,\r
2922         "y": 1953.3404541015625,\r
2923         "z": "8bd89607.6248d8",\r
2924         "wires": []\r
2925     },\r
2926     {\r
2927         "id": "303b1a28.56bd56",\r
2928         "type": "outcome",\r
2929         "name": "esr-thirdparty-sdnc",\r
2930         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2931         "comments": "",\r
2932         "outputs": 1,\r
2933         "x": 4862.216796875,\r
2934         "y": 1621.0001220703125,\r
2935         "z": "8bd89607.6248d8",\r
2936         "wires": [\r
2937             [\r
2938                 "8f6cdb8f.90967"\r
2939             ]\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "8f6cdb8f.90967",\r
2944         "type": "block",\r
2945         "name": "block : atomic",\r
2946         "xml": "<block atomic=\"true\">",\r
2947         "atomic": "true",\r
2948         "outputs": 1,\r
2949         "x": 5039.216796875,\r
2950         "y": 1613.0001220703125,\r
2951         "z": "8bd89607.6248d8",\r
2952         "wires": [\r
2953             [\r
2954                 "5fcf484f.8e6e78",\r
2955                 "f4e9d00a.c60c9"\r
2956             ]\r
2957         ]\r
2958     },\r
2959     {\r
2960         "id": "eb6f70d5.e0fd88",\r
2961         "type": "for",\r
2962         "name": "for each relationship",\r
2963         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2964         "comments": "",\r
2965         "outputs": 1,\r
2966         "x": 4464.216796875,\r
2967         "y": 1617.0001220703125,\r
2968         "z": "8bd89607.6248d8",\r
2969         "wires": [\r
2970             [\r
2971                 "93bac5db.c9063"\r
2972             ]\r
2973         ]\r
2974     },\r
2975     {\r
2976         "id": "93bac5db.c9063",\r
2977         "type": "switchNode",\r
2978         "name": "switch related-to",\r
2979         "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2980         "comments": "",\r
2981         "outputs": 1,\r
2982         "x": 4659.216796875,\r
2983         "y": 1617.0001220703125,\r
2984         "z": "8bd89607.6248d8",\r
2985         "wires": [\r
2986             [\r
2987                 "303b1a28.56bd56",\r
2988                 "6dd697d7.ade42"\r
2989             ]\r
2990         ]\r
2991     },\r
2992     {\r
2993         "id": "f4e9d00a.c60c9",\r
2994         "type": "execute",\r
2995         "name": "get esr-thirdparty-sdnc",\r
2996         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainB.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainB.esr-thirdparty-sdnc' local-only='false' >",\r
2997         "comments": "",\r
2998         "outputs": 1,\r
2999         "x": 5247.216796875,\r
3000         "y": 1620.0001220703125,\r
3001         "z": "8bd89607.6248d8",\r
3002         "wires": [\r
3003             [\r
3004                 "af18531c.f561e8",\r
3005                 "6d4f9387.cdc244",\r
3006                 "7f999aa.ecc8a64"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "6e464f44.674b68",\r
3012         "type": "block",\r
3013         "name": "block : atomic",\r
3014         "xml": "<block atomic=\"true\">",\r
3015         "atomic": "true",\r
3016         "outputs": 1,\r
3017         "x": 5041.216796875,\r
3018         "y": 1686.0001220703125,\r
3019         "z": "8bd89607.6248d8",\r
3020         "wires": [\r
3021             [\r
3022                 "c6202cfd.8bcb4"\r
3023             ]\r
3024         ]\r
3025     },\r
3026     {\r
3027         "id": "6dd697d7.ade42",\r
3028         "type": "outcome",\r
3029         "name": "network-resource",\r
3030         "xml": "<outcome value='network-resource'>",\r
3031         "comments": "",\r
3032         "outputs": 1,\r
3033         "x": 4864.216796875,\r
3034         "y": 1694.0001220703125,\r
3035         "z": "8bd89607.6248d8",\r
3036         "wires": [\r
3037             [\r
3038                 "6e464f44.674b68"\r
3039             ]\r
3040         ]\r
3041     },\r
3042     {\r
3043         "id": "5fcf484f.8e6e78",\r
3044         "type": "set",\r
3045         "name": "set esr-thirdparty-sdnc domainB id",\r
3046         "xml": "<set>\n<parameter name='tmp.domainB.esr-thirdparty-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
3047         "comments": "",\r
3048         "x": 5277.216796875,\r
3049         "y": 1568.0001220703125,\r
3050         "z": "8bd89607.6248d8",\r
3051         "wires": []\r
3052     },\r
3053     {\r
3054         "id": "c6202cfd.8bcb4",\r
3055         "type": "set",\r
3056         "name": "set domainB ethernet layer network-id",\r
3057         "xml": "<set>\n<parameter name='tmp.domainB.eth-network-id' value=\"`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
3058         "comments": "",\r
3059         "x": 5254.216796875,\r
3060         "y": 1752.0001220703125,\r
3061         "z": "8bd89607.6248d8",\r
3062         "wires": []\r
3063     },\r
3064     {\r
3065         "id": "af18531c.f561e8",\r
3066         "type": "success",\r
3067         "name": "success",\r
3068         "xml": "<outcome value='success'>\n",\r
3069         "comments": "",\r
3070         "outputs": 1,\r
3071         "x": 5457.216796875,\r
3072         "y": 1611.0001220703125,\r
3073         "z": "8bd89607.6248d8",\r
3074         "wires": [\r
3075             [\r
3076                 "5e16aade.ea368c"\r
3077             ]\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "6d4f9387.cdc244",\r
3082         "type": "not-found",\r
3083         "name": "not-found",\r
3084         "xml": "<outcome value='not-found'>\n",\r
3085         "comments": "",\r
3086         "outputs": 1,\r
3087         "x": 5449.216796875,\r
3088         "y": 1666.0001220703125,\r
3089         "z": "8bd89607.6248d8",\r
3090         "wires": [\r
3091             [\r
3092                 "77d34b30.5fb23c"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "7f999aa.ecc8a64",\r
3098         "type": "other",\r
3099         "name": "other",\r
3100         "xml": "<outcome value='Other'>\n",\r
3101         "comments": "",\r
3102         "outputs": 1,\r
3103         "x": 5454.216796875,\r
3104         "y": 1723.0001220703125,\r
3105         "z": "8bd89607.6248d8",\r
3106         "wires": [\r
3107             [\r
3108                 "674c6f5c.5f0f88"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "674c6f5c.5f0f88",\r
3114         "type": "returnFailure",\r
3115         "name": "return failure",\r
3116         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3117         "comments": "",\r
3118         "x": 5606.216796875,\r
3119         "y": 1724.0001220703125,\r
3120         "z": "8bd89607.6248d8",\r
3121         "wires": []\r
3122     },\r
3123     {\r
3124         "id": "77d34b30.5fb23c",\r
3125         "type": "returnFailure",\r
3126         "name": "return failure",\r
3127         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
3128         "comments": "",\r
3129         "x": 5617.216796875,\r
3130         "y": 1669.0001220703125,\r
3131         "z": "8bd89607.6248d8",\r
3132         "wires": []\r
3133     },\r
3134     {\r
3135         "id": "5e16aade.ea368c",\r
3136         "type": "block",\r
3137         "name": "block",\r
3138         "xml": "<block>\n",\r
3139         "atomic": "false",\r
3140         "comments": "",\r
3141         "outputs": 1,\r
3142         "x": 5601.59912109375,\r
3143         "y": 1608.6557922363281,\r
3144         "z": "8bd89607.6248d8",\r
3145         "wires": [\r
3146             [\r
3147                 "4cb5ebab.b25f64"\r
3148             ]\r
3149         ]\r
3150     },\r
3151     {\r
3152         "id": "4cb5ebab.b25f64",\r
3153         "type": "set",\r
3154         "name": "set controller domainB data",\r
3155         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainB.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
3156         "comments": "",\r
3157         "x": 5816.216796875,\r
3158         "y": 1605.0001220703125,\r
3159         "z": "8bd89607.6248d8",\r
3160         "wires": []\r
3161     },\r
3162     {\r
3163         "id": "5fd92a3e.ed6fec",\r
3164         "type": "set",\r
3165         "name": "set LEAF stuff",\r
3166         "xml": "<set>\n<parameter name='tmp.LEAF.pnf-name-long' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $param-prefix-domainA-pnfName[6] + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />\n\n<!--<parameter name='tmp.LEAF.pnf-name-short' value=\"`$param-prefix-domainA-pnfName[8]`\" />-->\n<parameter name='tmp.LEAF.pnf-name-short' value=\"`$tmp.src.pnf-name`\" />\n\n<parameter name='tmp.LEAF.uni-p-interface-long' value=\"`$tmp.aai.network-route-A.next-hop + '-' + $tmp.aai.network-route-A.logical-interface-id`\" />\n<parameter name='tmp.LEAF.uni-tp-id' value=\"`$tmp.src.ltpId`\" />\n",\r
3167         "comments": "",\r
3168         "x": 3314.88330078125,\r
3169         "y": 1475,\r
3170         "z": "8bd89607.6248d8",\r
3171         "wires": []\r
3172     },\r
3173     {\r
3174         "id": "4a864e6a.471e",\r
3175         "type": "set",\r
3176         "name": "set ROOT stuff",\r
3177         "xml": "<set>\n<parameter name='tmp.ROOT.pnf-name-long' value=\"`$param-prefix-domainB-pnfName[0] + '-' +\n                                                   $param-prefix-domainB-pnfName[1] + '-' +\n                                                   $param-prefix-domainB-pnfName[2] + '-' +\n                                                   $param-prefix-domainB-pnfName[3] + '-' +\n                                                   $param-prefix-domainB-pnfName[4] + '-' +\n                                                   $param-prefix-domainB-pnfName[5] + '-' +\n                                                   $param-prefix-domainB-pnfName[6] + '-' +\n                                                   $param-prefix-domainB-pnfName[7] + '-' +\n                                                   $param-prefix-domainB-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.ROOT.pnf-name-short' value=\"`$tmp.dst.pnf-name`\" />\n\n<parameter name='tmp.ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-B.next-hop + '-' + $tmp.aai.network-route-B.logical-interface-id`\" />\n<parameter name='tmp.ROOT.uni-tp-id' value=\"`$tmp.dst.ltpId`\" />\n",\r
3178         "comments": "",\r
3179         "x": 3301.88330078125,\r
3180         "y": 1995.0001220703125,\r
3181         "z": "8bd89607.6248d8",\r
3182         "wires": []\r
3183     },\r
3184     {\r
3185         "id": "cfd6a168.75b7d8",\r
3186         "type": "execute",\r
3187         "name": "execute UUID generator for ethernet-service-name",\r
3188         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
3189         "comments": "",\r
3190         "outputs": 1,\r
3191         "x": 2426.883331298828,\r
3192         "y": 188,\r
3193         "z": "8bd89607.6248d8",\r
3194         "wires": [\r
3195             []\r
3196         ]\r
3197     },\r
3198     {\r
3199         "id": "fe93cfa.921edb",\r
3200         "type": "set",\r
3201         "name": "set new ethernet-service-name",\r
3202         "xml": "<set>\n<!--<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-name`\" />-->\n<parameter name='prop.ethernet-service-name' value=\"`$tmp.aai.logical-link.link-id`\" />\n\n\n",\r
3203         "comments": "",\r
3204         "x": 2360.883331298828,\r
3205         "y": 224,\r
3206         "z": "8bd89607.6248d8",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "85869c3a.24ed3",\r
3211         "type": "comment",\r
3212         "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
3213         "info": "",\r
3214         "comments": "",\r
3215         "x": 2545.883331298828,\r
3216         "y": 151,\r
3217         "z": "8bd89607.6248d8",\r
3218         "wires": []\r
3219     },\r
3220     {\r
3221         "id": "f5ea8856.4eb3f",\r
3222         "type": "comment",\r
3223         "name": "NOT NEEDED ANYMORE?",\r
3224         "info": "",\r
3225         "comments": "",\r
3226         "x": 4072.88330078125,\r
3227         "y": 1453,\r
3228         "z": "8bd89607.6248d8",\r
3229         "wires": []\r
3230     },\r
3231     {\r
3232         "id": "8e941b0d.26d14",\r
3233         "type": "comment",\r
3234         "name": "NOT NEEDED ANYMORE?",\r
3235         "info": "",\r
3236         "comments": "",\r
3237         "x": 4028.883270263672,\r
3238         "y": 1917,\r
3239         "z": "8bd89607.6248d8",\r
3240         "wires": []\r
3241     },\r
3242     {\r
3243         "id": "8cb68ccc.e851f8",\r
3244         "type": "call",\r
3245         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
3246         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
3247         "comments": "",\r
3248         "outputs": 1,\r
3249         "x": 3441.8837890625,\r
3250         "y": 7483.999969482422,\r
3251         "z": "8bd89607.6248d8",\r
3252         "wires": [\r
3253             []\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "80d49243.ddf01",\r
3258         "type": "comment",\r
3259         "name": "START OF DELETE OPERATION",\r
3260         "info": "",\r
3261         "comments": "",\r
3262         "x": 3296.88330078125,\r
3263         "y": 2476.999969482422,\r
3264         "z": "8bd89607.6248d8",\r
3265         "wires": []\r
3266     },\r
3267     {\r
3268         "id": "8f2ca941.64e03",\r
3269         "type": "save",\r
3270         "name": "delete LEAF uni resource in AAI",\r
3271         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
3272         "comments": "",\r
3273         "outputs": 1,\r
3274         "x": 3880.566650390625,\r
3275         "y": 2578.4000854492188,\r
3276         "z": "8bd89607.6248d8",\r
3277         "wires": [\r
3278             []\r
3279         ]\r
3280     },\r
3281     {\r
3282         "id": "afaae138.bb9798",\r
3283         "type": "save",\r
3284         "name": "get LEAF uni from aai",\r
3285         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.LEAF.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.leafuni\" >\n",\r
3286         "comments": "",\r
3287         "outputs": 1,\r
3288         "x": 3251.566650390625,\r
3289         "y": 2558.4000854492188,\r
3290         "z": "8bd89607.6248d8",\r
3291         "wires": [\r
3292             [\r
3293                 "661c06cc.3908b",\r
3294                 "1ca1166.e689c6a",\r
3295                 "b5955cba.954b1"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "1ca1166.e689c6a",\r
3301         "type": "not-found",\r
3302         "name": "not-found",\r
3303         "xml": "<outcome value='not-found'>\n",\r
3304         "comments": "",\r
3305         "outputs": 1,\r
3306         "x": 3479.0576171875,\r
3307         "y": 2530.9740600585938,\r
3308         "z": "8bd89607.6248d8",\r
3309         "wires": [\r
3310             [\r
3311                 "e6c36b4a.f9b0a8"\r
3312             ]\r
3313         ]\r
3314     },\r
3315     {\r
3316         "id": "b5955cba.954b1",\r
3317         "type": "failure",\r
3318         "name": "failure",\r
3319         "xml": "<outcome value='failure'>\n",\r
3320         "comments": "",\r
3321         "outputs": 1,\r
3322         "x": 3474.566650390625,\r
3323         "y": 2575.4000244140625,\r
3324         "z": "8bd89607.6248d8",\r
3325         "wires": [\r
3326             [\r
3327                 "9464bc90.391b5"\r
3328             ]\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "e6c36b4a.f9b0a8",\r
3333         "type": "returnFailure",\r
3334         "name": "return failure",\r
3335         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
3336         "comments": "",\r
3337         "x": 3641.629150390625,\r
3338         "y": 2530.259765625,\r
3339         "z": "8bd89607.6248d8",\r
3340         "wires": []\r
3341     },\r
3342     {\r
3343         "id": "9464bc90.391b5",\r
3344         "type": "returnFailure",\r
3345         "name": "return failure",\r
3346         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3347         "comments": "",\r
3348         "x": 3642.566650390625,\r
3349         "y": 2575.4000244140625,\r
3350         "z": "8bd89607.6248d8",\r
3351         "wires": []\r
3352     },\r
3353     {\r
3354         "id": "661c06cc.3908b",\r
3355         "type": "success",\r
3356         "name": "success",\r
3357         "xml": "<outcome value='success'>\n",\r
3358         "comments": "",\r
3359         "outputs": 1,\r
3360         "x": 3486.566650390625,\r
3361         "y": 2625.4000854492188,\r
3362         "z": "8bd89607.6248d8",\r
3363         "wires": [\r
3364             [\r
3365                 "8055efb.5ed0c9"\r
3366             ]\r
3367         ]\r
3368     },\r
3369     {\r
3370         "id": "8055efb.5ed0c9",\r
3371         "type": "block",\r
3372         "name": "block : atomic",\r
3373         "xml": "<block atomic='true'>",\r
3374         "atomic": "true",\r
3375         "comments": "",\r
3376         "outputs": 1,\r
3377         "x": 3638.88330078125,\r
3378         "y": 2628.9999389648438,\r
3379         "z": "8bd89607.6248d8",\r
3380         "wires": [\r
3381             [\r
3382                 "2d855333.ba947c",\r
3383                 "8f2ca941.64e03",\r
3384                 "7724024e.bb32ec",\r
3385                 "b98aea07.4499"\r
3386             ]\r
3387         ]\r
3388     },\r
3389     {\r
3390         "id": "2d855333.ba947c",\r
3391         "type": "set",\r
3392         "name": "set bwToBeDecreased tpid cvlan",\r
3393         "xml": "<set>\n<parameter name='bwToBeDecreased' value=\"`$tmp.aai.leafuni.data-source`\" />\n<parameter name='tpid' value='`$tmp.aai.leafuni.tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.leafuni.cvlan`' />\n\n\n",\r
3394         "comments": "",\r
3395         "x": 3883.566650390625,\r
3396         "y": 2521.4000854492188,\r
3397         "z": "8bd89607.6248d8",\r
3398         "wires": []\r
3399     },\r
3400     {\r
3401         "id": "a9e99fa6.0d7b7",\r
3402         "type": "comment",\r
3403         "name": "Update ROOT UNI's bw",\r
3404         "info": "",\r
3405         "comments": "",\r
3406         "x": 3845.566650390625,\r
3407         "y": 2632.199951171875,\r
3408         "z": "8bd89607.6248d8",\r
3409         "wires": []\r
3410     },\r
3411     {\r
3412         "id": "d2355b29.347a7",\r
3413         "type": "save",\r
3414         "name": "update ROOT UNI in AAI",\r
3415         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
3416         "comments": "",\r
3417         "outputs": 1,\r
3418         "x": 4523.566650390625,\r
3419         "y": 2675.199951171875,\r
3420         "z": "8bd89607.6248d8",\r
3421         "wires": [\r
3422             []\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "7724024e.bb32ec",\r
3427         "type": "save",\r
3428         "name": "get root uni from aai",\r
3429         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
3430         "comments": "",\r
3431         "outputs": 1,\r
3432         "x": 3837.56640625,\r
3433         "y": 2678.199951171875,\r
3434         "z": "8bd89607.6248d8",\r
3435         "wires": [\r
3436             [\r
3437                 "7f7b7065.dfb0f",\r
3438                 "18f5411.3947abf",\r
3439                 "5fedf83d.ca31e8"\r
3440             ]\r
3441         ]\r
3442     },\r
3443     {\r
3444         "id": "18f5411.3947abf",\r
3445         "type": "not-found",\r
3446         "name": "not-found",\r
3447         "xml": "<outcome value='not-found'>\n",\r
3448         "comments": "",\r
3449         "outputs": 1,\r
3450         "x": 4141.057373046875,\r
3451         "y": 2588.77392578125,\r
3452         "z": "8bd89607.6248d8",\r
3453         "wires": [\r
3454             [\r
3455                 "58e0cfbb.eeb22"\r
3456             ]\r
3457         ]\r
3458     },\r
3459     {\r
3460         "id": "5fedf83d.ca31e8",\r
3461         "type": "failure",\r
3462         "name": "failure",\r
3463         "xml": "<outcome value='failure'>\n",\r
3464         "comments": "",\r
3465         "outputs": 1,\r
3466         "x": 4136.56640625,\r
3467         "y": 2633.1998901367188,\r
3468         "z": "8bd89607.6248d8",\r
3469         "wires": [\r
3470             [\r
3471                 "9a2aec0d.d77f58"\r
3472             ]\r
3473         ]\r
3474     },\r
3475     {\r
3476         "id": "58e0cfbb.eeb22",\r
3477         "type": "returnFailure",\r
3478         "name": "return failure",\r
3479         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
3480         "comments": "",\r
3481         "x": 4303.62890625,\r
3482         "y": 2588.0596313476562,\r
3483         "z": "8bd89607.6248d8",\r
3484         "wires": []\r
3485     },\r
3486     {\r
3487         "id": "9a2aec0d.d77f58",\r
3488         "type": "returnFailure",\r
3489         "name": "return failure",\r
3490         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3491         "comments": "",\r
3492         "x": 4304.56640625,\r
3493         "y": 2633.1998901367188,\r
3494         "z": "8bd89607.6248d8",\r
3495         "wires": []\r
3496     },\r
3497     {\r
3498         "id": "2175339a.46dd54",\r
3499         "type": "block",\r
3500         "name": "block : atomic",\r
3501         "xml": "<block atomic=\"true\">",\r
3502         "atomic": "true",\r
3503         "outputs": 1,\r
3504         "x": 4301.56640625,\r
3505         "y": 2683.199951171875,\r
3506         "z": "8bd89607.6248d8",\r
3507         "wires": [\r
3508             [\r
3509                 "9319905e.cf01b",\r
3510                 "d2355b29.347a7"\r
3511             ]\r
3512         ]\r
3513     },\r
3514     {\r
3515         "id": "7f7b7065.dfb0f",\r
3516         "type": "success",\r
3517         "name": "success",\r
3518         "xml": "<outcome value='success'>\n",\r
3519         "comments": "",\r
3520         "outputs": 1,\r
3521         "x": 4132.56640625,\r
3522         "y": 2683.199951171875,\r
3523         "z": "8bd89607.6248d8",\r
3524         "wires": [\r
3525             [\r
3526                 "2175339a.46dd54"\r
3527             ]\r
3528         ]\r
3529     },\r
3530     {\r
3531         "id": "9319905e.cf01b",\r
3532         "type": "set",\r
3533         "name": "set new bw",\r
3534         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
3535         "comments": "",\r
3536         "x": 4483.567138671875,\r
3537         "y": 2625.199951171875,\r
3538         "z": "8bd89607.6248d8",\r
3539         "wires": []\r
3540     },\r
3541     {\r
3542         "id": "c9164c42.75d5f8",\r
3543         "type": "comment",\r
3544         "name": "Delete LEAF UNI",\r
3545         "info": "",\r
3546         "comments": "",\r
3547         "x": 3831.88330078125,\r
3548         "y": 2462.9999389648438,\r
3549         "z": "8bd89607.6248d8",\r
3550         "wires": []\r
3551     },\r
3552     {\r
3553         "id": "82a9b10f.cbf938",\r
3554         "type": "set",\r
3555         "name": "set current-provider-id and current-cvlan-id",\r
3556         "xml": "<set>\n<parameter name='tmp.current-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='tmp.current-cvlan-id' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />-->\n<!--<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />-->",\r
3557         "comments": "",\r
3558         "x": 3311.749969482422,\r
3559         "y": 3795.6000366210938,\r
3560         "z": "8bd89607.6248d8",\r
3561         "wires": []\r
3562     },\r
3563     {\r
3564         "id": "9a0ba695.c13258",\r
3565         "type": "call",\r
3566         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
3567         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
3568         "comments": "",\r
3569         "outputs": 1,\r
3570         "x": 3444.749969482422,\r
3571         "y": 3843.6000366210938,\r
3572         "z": "8bd89607.6248d8",\r
3573         "wires": [\r
3574             []\r
3575         ]\r
3576     },\r
3577     {\r
3578         "id": "a14834df.662a8",\r
3579         "type": "switchNode",\r
3580         "name": "switch found-connectivity?",\r
3581         "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
3582         "comments": "",\r
3583         "outputs": 1,\r
3584         "x": 3266.749969482422,\r
3585         "y": 3895.4000854492188,\r
3586         "z": "8bd89607.6248d8",\r
3587         "wires": [\r
3588             [\r
3589                 "b9a4b0ad.78d9e8",\r
3590                 "49168449.b48e54"\r
3591             ]\r
3592         ]\r
3593     },\r
3594     {\r
3595         "id": "b9a4b0ad.78d9e8",\r
3596         "type": "outcomeFalse",\r
3597         "name": "false",\r
3598         "xml": "<outcome value='false'>\n",\r
3599         "comments": "",\r
3600         "outputs": 1,\r
3601         "x": 3459.749969482422,\r
3602         "y": 3896.4000854492188,\r
3603         "z": "8bd89607.6248d8",\r
3604         "wires": [\r
3605             [\r
3606                 "c7d731c2.8648d8"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "c7d731c2.8648d8",\r
3612         "type": "returnFailure",\r
3613         "name": "return failure",\r
3614         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
3615         "comments": "",\r
3616         "x": 3603.749969482422,\r
3617         "y": 3892.6000366210938,\r
3618         "z": "8bd89607.6248d8",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "49168449.b48e54",\r
3623         "type": "outcomeTrue",\r
3624         "name": "true",\r
3625         "xml": "<outcome value='true'>\n",\r
3626         "comments": "",\r
3627         "outputs": 1,\r
3628         "x": 3463.749969482422,\r
3629         "y": 3940.4000854492188,\r
3630         "z": "8bd89607.6248d8",\r
3631         "wires": [\r
3632             [\r
3633                 "2b5fde97.f226ea"\r
3634             ]\r
3635         ]\r
3636     },\r
3637     {\r
3638         "id": "2b5fde97.f226ea",\r
3639         "type": "block",\r
3640         "name": "block : atomic",\r
3641         "xml": "<block atomic='true'>",\r
3642         "atomic": "true",\r
3643         "comments": "",\r
3644         "outputs": 1,\r
3645         "x": 3602.749969482422,\r
3646         "y": 3935.4000854492188,\r
3647         "z": "8bd89607.6248d8",\r
3648         "wires": [\r
3649             [\r
3650                 "6c8d251.aa4085c",\r
3651                 "1d93d9c1.b4dc36",\r
3652                 "2f3e9082.a03f"\r
3653             ]\r
3654         ]\r
3655     },\r
3656     {\r
3657         "id": "6c8d251.aa4085c",\r
3658         "type": "for",\r
3659         "name": "for each relationship",\r
3660         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
3661         "comments": "",\r
3662         "outputs": 1,\r
3663         "x": 3853.149627685547,\r
3664         "y": 3943.9166870117188,\r
3665         "z": "8bd89607.6248d8",\r
3666         "wires": [\r
3667             [\r
3668                 "8f03c967.45f27"\r
3669             ]\r
3670         ]\r
3671     },\r
3672     {\r
3673         "id": "8f03c967.45f27",\r
3674         "type": "switchNode",\r
3675         "name": "switch related-to",\r
3676         "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
3677         "comments": "",\r
3678         "outputs": 1,\r
3679         "x": 4075.149627685547,\r
3680         "y": 3921.9166870117188,\r
3681         "z": "8bd89607.6248d8",\r
3682         "wires": [\r
3683             [\r
3684                 "3959f0cf.96f36"\r
3685             ]\r
3686         ]\r
3687     },\r
3688     {\r
3689         "id": "3959f0cf.96f36",\r
3690         "type": "outcome",\r
3691         "name": "uni",\r
3692         "xml": "<outcome value='uni'>\n",\r
3693         "comments": "",\r
3694         "outputs": 1,\r
3695         "x": 4235.149139404297,\r
3696         "y": 3901.9166870117188,\r
3697         "z": "8bd89607.6248d8",\r
3698         "wires": [\r
3699             [\r
3700                 "1414f243.3459be"\r
3701             ]\r
3702         ]\r
3703     },\r
3704     {\r
3705         "id": "80ad8584.1bf2c8",\r
3706         "type": "block",\r
3707         "name": "block : atomic",\r
3708         "xml": "<block atomic=\"true\">",\r
3709         "atomic": "true",\r
3710         "outputs": 1,\r
3711         "x": 4388.149658203125,\r
3712         "y": 3882.916717529297,\r
3713         "z": "8bd89607.6248d8",\r
3714         "wires": [\r
3715             [\r
3716                 "dbcbba23.eadbb",\r
3717                 "2ba6b637.902e82"\r
3718             ]\r
3719         ]\r
3720     },\r
3721     {\r
3722         "id": "dbcbba23.eadbb",\r
3723         "type": "set",\r
3724         "name": "set tmp.stillHasUni to TRUE",\r
3725         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
3726         "comments": "",\r
3727         "x": 4584.649871826172,\r
3728         "y": 3850.9999389648438,\r
3729         "z": "8bd89607.6248d8",\r
3730         "wires": []\r
3731     },\r
3732     {\r
3733         "id": "1d93d9c1.b4dc36",\r
3734         "type": "set",\r
3735         "name": "set tmp.stillHasUn tmp.keepVPNBs to FALSE",\r
3736         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='false' />\n<parameter name='tmp.keepVPNBs' value='false' />\n",\r
3737         "comments": "",\r
3738         "x": 3959.64990234375,\r
3739         "y": 3862.999969482422,\r
3740         "z": "8bd89607.6248d8",\r
3741         "wires": []\r
3742     },\r
3743     {\r
3744         "id": "2f3e9082.a03f",\r
3745         "type": "switchNode",\r
3746         "name": "switch tmp.keepVPNBs?",\r
3747         "xml": "\n<switch test=\"`$tmp.keepVPNBs`\">\n\n",\r
3748         "comments": "",\r
3749         "outputs": 1,\r
3750         "x": 3767.64990234375,\r
3751         "y": 4284.000213623047,\r
3752         "z": "8bd89607.6248d8",\r
3753         "wires": [\r
3754             [\r
3755                 "f5f9b41d.cada7",\r
3756                 "3f4fef24.6df1a"\r
3757             ]\r
3758         ]\r
3759     },\r
3760     {\r
3761         "id": "2ba6b637.902e82",\r
3762         "type": "break",\r
3763         "name": "break",\r
3764         "xml": "<break>\n",\r
3765         "comments": "",\r
3766         "x": 4552.88330078125,\r
3767         "y": 3918.999969482422,\r
3768         "z": "8bd89607.6248d8",\r
3769         "wires": []\r
3770     },\r
3771     {\r
3772         "id": "3f4fef24.6df1a",\r
3773         "type": "outcomeFalse",\r
3774         "name": "false",\r
3775         "xml": "<outcome value='false'>\n",\r
3776         "comments": "",\r
3777         "outputs": 1,\r
3778         "x": 154.65066528320312,\r
3779         "y": 5348.000457763672,\r
3780         "z": "8bd89607.6248d8",\r
3781         "wires": [\r
3782             [\r
3783                 "16d898b2.82d4af"\r
3784             ]\r
3785         ]\r
3786     },\r
3787     {\r
3788         "id": "f5f9b41d.cada7",\r
3789         "type": "outcomeTrue",\r
3790         "name": "true",\r
3791         "xml": "<outcome value='true'>\n",\r
3792         "comments": "",\r
3793         "outputs": 1,\r
3794         "x": 3988.650634765625,\r
3795         "y": 4386.000213623047,\r
3796         "z": "8bd89607.6248d8",\r
3797         "wires": [\r
3798             [\r
3799                 "26c73a8d.4562be"\r
3800             ]\r
3801         ]\r
3802     },\r
3803     {\r
3804         "id": "26c73a8d.4562be",\r
3805         "type": "block",\r
3806         "name": "block",\r
3807         "xml": "<block>",\r
3808         "atomic": "false",\r
3809         "comments": "",\r
3810         "outputs": 1,\r
3811         "x": 4131.650634765625,\r
3812         "y": 4382.000213623047,\r
3813         "z": "8bd89607.6248d8",\r
3814         "wires": [\r
3815             [\r
3816                 "e9909468.33151",\r
3817                 "efe71d55.9caa78",\r
3818                 "21b48e5f.bc8462",\r
3819                 "55b631d2.803a38",\r
3820                 "a2022ff9.9bc538",\r
3821                 "702c8bba.ca32ac",\r
3822                 "e084df79.80ceb8",\r
3823                 "624968c9.f15538",\r
3824                 "abf74f44.8bd74"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "4355739e.98f0ec",\r
3830         "type": "comment",\r
3831         "name": "keepVPNBs == false, then check tmp.stillHasUni",\r
3832         "info": "(2) keepVPNBs == false, means there are no other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\ncheck if tmp.stillHasUni is True or False?\n\nif TRUE --> means this domain (connectivity) still has other UNIs\n- delete VPNBs\n- delete LEAF UNI in AAI -- DONE\n- upadte bw in ROOT UNI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC\n- change ROOT conn status to Modified\n--- mark LEAF connectivity as Modified because the underlay OTN tunnel list of this connectivity is now different\n\nif FALSE --> means this domain (connectivity) has no other UNIs\n\nif MMstillHasUni == TRUE, means scenario (3), else, means scenario (4)\n\n(3) & (4) both:\n- delete VPNBs\n- delete LEAF connectivity\n- delete LEAF Ethernet Service from PNC\n\n(3) only:\n- change ROOT conn status to Modified\n- Keep the middle-man-conn and DON'T delete\n\n(4) only:\n- delete ROOT UNI\n- delete ROOT conn from AAI\n- delete ROOT Ethernet Service from PNC\n- delete middle-man-conn from AAI\n\n",\r
3833         "comments": "",\r
3834         "x": 181,\r
3835         "y": 5304.000457763672,\r
3836         "z": "8bd89607.6248d8",\r
3837         "wires": []\r
3838     },\r
3839     {\r
3840         "id": "4da2ca0c.4a8b84",\r
3841         "type": "comment",\r
3842         "name": "There are still other UNIs in this connectivity that share same OLT node. Only update bw of the vpn-bindings involved",\r
3843         "info": "(1) keepVPNBs == true, means there are still other UNIs in this\nsame domain and same connectivity that share the same OLT node.\n\n- Only update bw of the vpn-bindings involved -- DONE\n- upadte bw in ROOT UNI -- DONE\n- change ROOT conn status to Modified -- DONE\n- delete LEAF UNI in AAI -- DONE\n- delete LEAF UNI in LEAF ethernet service PNC -- DONE\n- DON'T delete the connectivities of LEAF and ROOT -- DONE\nAlso update the ethernet services",\r
3844         "comments": "",\r
3845         "x": 4007.884033203125,\r
3846         "y": 4349.000213623047,\r
3847         "z": "8bd89607.6248d8",\r
3848         "wires": []\r
3849     },\r
3850     {\r
3851         "id": "9b3df18d.6f724",\r
3852         "type": "set",\r
3853         "name": "set srcTtp OTN layer",\r
3854         "xml": "<set>\n<!--<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node + '-' + -->\n<!--                                             $param-prefix-domainA[$param-prefix-domainA_length -2] + '-' +-->\n<!--                                             $tmp.source.ttp-id`\" />-->\n\n<parameter name='tmp.srcTtpOtnLayer' value=\"`$tmp.pce-src-node`\" />\n\n\n",\r
3855         "comments": "",\r
3856         "x": 4820.667724609375,\r
3857         "y": 4539.783660888672,\r
3858         "z": "8bd89607.6248d8",\r
3859         "wires": []\r
3860     },\r
3861     {\r
3862         "id": "84df48a4.4e5358",\r
3863         "type": "switchNode",\r
3864         "name": "switch provider-id domainA",\r
3865         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
3866         "comments": "",\r
3867         "outputs": 1,\r
3868         "x": 5165.667724609375,\r
3869         "y": 4401.783660888672,\r
3870         "z": "8bd89607.6248d8",\r
3871         "wires": [\r
3872             [\r
3873                 "cfc0c818.79fe68"\r
3874             ]\r
3875         ]\r
3876     },\r
3877     {\r
3878         "id": "10190e03.34bba2",\r
3879         "type": "for",\r
3880         "name": "for netwidx..allNetworksList_length",\r
3881         "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
3882         "comments": "",\r
3883         "outputs": 1,\r
3884         "x": 4872.667724609375,\r
3885         "y": 4395.783660888672,\r
3886         "z": "8bd89607.6248d8",\r
3887         "wires": [\r
3888             [\r
3889                 "84df48a4.4e5358"\r
3890             ]\r
3891         ]\r
3892     },\r
3893     {\r
3894         "id": "1796601b.dbfbf",\r
3895         "type": "not-found",\r
3896         "name": "not-found",\r
3897         "xml": "<outcome value='not-found'>\n",\r
3898         "comments": "",\r
3899         "outputs": 1,\r
3900         "x": 5127.667724609375,\r
3901         "y": 4352.783660888672,\r
3902         "z": "8bd89607.6248d8",\r
3903         "wires": [\r
3904             []\r
3905         ]\r
3906     },\r
3907     {\r
3908         "id": "4871207.ade70e",\r
3909         "type": "set",\r
3910         "name": "unset parameters",\r
3911         "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
3912         "comments": "",\r
3913         "x": 4816.667724609375,\r
3914         "y": 4447.783660888672,\r
3915         "z": "8bd89607.6248d8",\r
3916         "wires": []\r
3917     },\r
3918     {\r
3919         "id": "fe8bfdbc.e310b8",\r
3920         "type": "set",\r
3921         "name": "set tmp.pce-src-node",\r
3922         "xml": "<set>\n<!--<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[1] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[2] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[3] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[4] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[5] + '-' +-->\n<!--                                                   1 + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[7] + '-' +-->\n<!--                                                   $param-prefix-domainA-pnfName[8]`\" />-->\n\n<parameter name='tmp.pce-src-node' value=\"`$param-prefix-domainA-pnfName[0] + '-' +\n                                                   $param-prefix-domainA-pnfName[1] + '-' +\n                                                   $param-prefix-domainA-pnfName[2] + '-' +\n                                                   $param-prefix-domainA-pnfName[3] + '-' +\n                                                   $param-prefix-domainA-pnfName[4] + '-' +\n                                                   $param-prefix-domainA-pnfName[5] + '-' +\n                                                   $otnTopoIdSrc + '-' +\n                                                   $param-prefix-domainA-pnfName[7] + '-' +\n                                                   $param-prefix-domainA-pnfName[8]`\" />",\r
3923         "comments": "",\r
3924         "x": 4824.667724609375,\r
3925         "y": 4492.783660888672,\r
3926         "z": "8bd89607.6248d8",\r
3927         "wires": []\r
3928     },\r
3929     {\r
3930         "id": "ed94bc94.c3085",\r
3931         "type": "set",\r
3932         "name": "unset otnTopoIdSrc",\r
3933         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
3934         "comments": "",\r
3935         "x": 4821.667724609375,\r
3936         "y": 4345.783660888672,\r
3937         "z": "8bd89607.6248d8",\r
3938         "wires": []\r
3939     },\r
3940     {\r
3941         "id": "cfc0c818.79fe68",\r
3942         "type": "outcomeTrue",\r
3943         "name": "true",\r
3944         "xml": "<outcome value='true'>\n",\r
3945         "comments": "",\r
3946         "outputs": 1,\r
3947         "x": 5074.667724609375,\r
3948         "y": 4469.783660888672,\r
3949         "z": "8bd89607.6248d8",\r
3950         "wires": [\r
3951             [\r
3952                 "3784b6ea.dad97a"\r
3953             ]\r
3954         ]\r
3955     },\r
3956     {\r
3957         "id": "3784b6ea.dad97a",\r
3958         "type": "switchNode",\r
3959         "name": "switch te-topo-id",\r
3960         "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
3961         "comments": "",\r
3962         "outputs": 1,\r
3963         "x": 5259.667724609375,\r
3964         "y": 4468.783660888672,\r
3965         "z": "8bd89607.6248d8",\r
3966         "wires": [\r
3967             [\r
3968                 "6ba573fe.abd33c"\r
3969             ]\r
3970         ]\r
3971     },\r
3972     {\r
3973         "id": "6ba573fe.abd33c",\r
3974         "type": "outcomeTrue",\r
3975         "name": "true",\r
3976         "xml": "<outcome value='true'>\n",\r
3977         "comments": "",\r
3978         "outputs": 1,\r
3979         "x": 5451.667724609375,\r
3980         "y": 4471.783660888672,\r
3981         "z": "8bd89607.6248d8",\r
3982         "wires": [\r
3983             [\r
3984                 "a8101530.41669"\r
3985             ]\r
3986         ]\r
3987     },\r
3988     {\r
3989         "id": "a8101530.41669",\r
3990         "type": "set",\r
3991         "name": "set otnTopoIdSrc",\r
3992         "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
3993         "comments": "",\r
3994         "x": 5623.667724609375,\r
3995         "y": 4467.783660888672,\r
3996         "z": "8bd89607.6248d8",\r
3997         "wires": []\r
3998     },\r
3999     {\r
4000         "id": "3a63decd.7b4cb2",\r
4001         "type": "call",\r
4002         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
4003         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
4004         "comments": "",\r
4005         "outputs": 1,\r
4006         "x": 4999.667724609375,\r
4007         "y": 4582.783660888672,\r
4008         "z": "8bd89607.6248d8",\r
4009         "wires": [\r
4010             []\r
4011         ]\r
4012     },\r
4013     {\r
4014         "id": "e9909468.33151",\r
4015         "type": "block",\r
4016         "name": "block",\r
4017         "xml": "<block>\n",\r
4018         "atomic": "false",\r
4019         "comments": "",\r
4020         "outputs": 1,\r
4021         "x": 4516.667724609375,\r
4022         "y": 4367.783660888672,\r
4023         "z": "8bd89607.6248d8",\r
4024         "wires": [\r
4025             [\r
4026                 "9c834ddf.7b5a8",\r
4027                 "1b5b7b9f.240eac",\r
4028                 "4871207.ade70e",\r
4029                 "fe8bfdbc.e310b8",\r
4030                 "9b3df18d.6f724",\r
4031                 "10190e03.34bba2",\r
4032                 "3a63decd.7b4cb2"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "5418760e.ea421",\r
4038         "type": "comment",\r
4039         "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4040         "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4041         "comments": "",\r
4042         "x": 4501.667724609375,\r
4043         "y": 4301.783660888672,\r
4044         "z": "8bd89607.6248d8",\r
4045         "wires": []\r
4046     },\r
4047     {\r
4048         "id": "1b5b7b9f.240eac",\r
4049         "type": "get-resource",\r
4050         "name": "get-resource network-resources-list",\r
4051         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-resources\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/network-resources?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"allNetworksList\" >",\r
4052         "comments": "",\r
4053         "outputs": 1,\r
4054         "x": 4880.667724609375,\r
4055         "y": 4288.783660888672,\r
4056         "z": "8bd89607.6248d8",\r
4057         "wires": [\r
4058             [\r
4059                 "cdc8c3cd.7743d8",\r
4060                 "829501cc.19a87",\r
4061                 "1796601b.dbfbf"\r
4062             ]\r
4063         ]\r
4064     },\r
4065     {\r
4066         "id": "cdc8c3cd.7743d8",\r
4067         "type": "success",\r
4068         "name": "success",\r
4069         "xml": "<outcome value='success'>\n",\r
4070         "comments": "",\r
4071         "outputs": 1,\r
4072         "x": 5116.667724609375,\r
4073         "y": 4271.783660888672,\r
4074         "z": "8bd89607.6248d8",\r
4075         "wires": [\r
4076             []\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "829501cc.19a87",\r
4081         "type": "other",\r
4082         "name": "other",\r
4083         "xml": "<outcome value='Other'>\n",\r
4084         "comments": "",\r
4085         "outputs": 1,\r
4086         "x": 5113.667724609375,\r
4087         "y": 4312.783660888672,\r
4088         "z": "8bd89607.6248d8",\r
4089         "wires": [\r
4090             []\r
4091         ]\r
4092     },\r
4093     {\r
4094         "id": "9c834ddf.7b5a8",\r
4095         "type": "set",\r
4096         "name": "unset parameters",\r
4097         "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4098         "comments": "",\r
4099         "x": 4829.667724609375,\r
4100         "y": 4245.783660888672,\r
4101         "z": "8bd89607.6248d8",\r
4102         "wires": []\r
4103     },\r
4104     {\r
4105         "id": "efe71d55.9caa78",\r
4106         "type": "set",\r
4107         "name": "unset tmp.aai.all-vpn-bindings",\r
4108         "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
4109         "comments": "",\r
4110         "x": 4336.667724609375,\r
4111         "y": 4700.183563232422,\r
4112         "z": "8bd89607.6248d8",\r
4113         "wires": []\r
4114     },\r
4115     {\r
4116         "id": "429a4c62.ec5bdc",\r
4117         "type": "comment",\r
4118         "name": "find all OTNs that have srcTtpOtnLayer and decrease their bandwidth",\r
4119         "info": "",\r
4120         "comments": "",\r
4121         "x": 4459.968017578125,\r
4122         "y": 4739.183563232422,\r
4123         "z": "8bd89607.6248d8",\r
4124         "wires": []\r
4125     },\r
4126     {\r
4127         "id": "21b48e5f.bc8462",\r
4128         "type": "save",\r
4129         "name": "get all-vpn-bindings from aai",\r
4130         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-bindings\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/vpn-bindings\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.all-vpn-bindings\" >\n",\r
4131         "comments": "",\r
4132         "outputs": 1,\r
4133         "x": 4357.968017578125,\r
4134         "y": 4774.183563232422,\r
4135         "z": "8bd89607.6248d8",\r
4136         "wires": [\r
4137             [\r
4138                 "a823d247.f64a98",\r
4139                 "36823aa3.4d18a6",\r
4140                 "eb8482c0.2d4878"\r
4141             ]\r
4142         ]\r
4143     },\r
4144     {\r
4145         "id": "a823d247.f64a98",\r
4146         "type": "success",\r
4147         "name": "success",\r
4148         "xml": "<outcome value='success'>\n",\r
4149         "comments": "",\r
4150         "outputs": 1,\r
4151         "x": 4562.968017578125,\r
4152         "y": 4771.183563232422,\r
4153         "z": "8bd89607.6248d8",\r
4154         "wires": [\r
4155             [\r
4156                 "8498bebb.23bf48"\r
4157             ]\r
4158         ]\r
4159     },\r
4160     {\r
4161         "id": "36823aa3.4d18a6",\r
4162         "type": "not-found",\r
4163         "name": "not-found",\r
4164         "xml": "<outcome value='not-found'>\n",\r
4165         "comments": "",\r
4166         "outputs": 1,\r
4167         "x": 4546.458984375,\r
4168         "y": 4832.757598876953,\r
4169         "z": "8bd89607.6248d8",\r
4170         "wires": [\r
4171             [\r
4172                 "386b7921.748fb6"\r
4173             ]\r
4174         ]\r
4175     },\r
4176     {\r
4177         "id": "eb8482c0.2d4878",\r
4178         "type": "failure",\r
4179         "name": "failure",\r
4180         "xml": "<outcome value='failure'>\n",\r
4181         "comments": "",\r
4182         "outputs": 1,\r
4183         "x": 4543.968017578125,\r
4184         "y": 4876.183563232422,\r
4185         "z": "8bd89607.6248d8",\r
4186         "wires": [\r
4187             [\r
4188                 "134c42f5.f94555"\r
4189             ]\r
4190         ]\r
4191     },\r
4192     {\r
4193         "id": "8498bebb.23bf48",\r
4194         "type": "block",\r
4195         "name": "block : atomic",\r
4196         "xml": "<block atomic=\"true\">",\r
4197         "atomic": "true",\r
4198         "outputs": 1,\r
4199         "x": 4730.96826171875,\r
4200         "y": 4766.183563232422,\r
4201         "z": "8bd89607.6248d8",\r
4202         "wires": [\r
4203             [\r
4204                 "6b12d916.16568"\r
4205             ]\r
4206         ]\r
4207     },\r
4208     {\r
4209         "id": "386b7921.748fb6",\r
4210         "type": "returnFailure",\r
4211         "name": "return failure",\r
4212         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
4213         "comments": "",\r
4214         "x": 4709.0303955078125,\r
4215         "y": 4833.0433349609375,\r
4216         "z": "8bd89607.6248d8",\r
4217         "wires": []\r
4218     },\r
4219     {\r
4220         "id": "134c42f5.f94555",\r
4221         "type": "returnFailure",\r
4222         "name": "return failure",\r
4223         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4224         "comments": "",\r
4225         "x": 4710.968017578125,\r
4226         "y": 4875.183563232422,\r
4227         "z": "8bd89607.6248d8",\r
4228         "wires": []\r
4229     },\r
4230     {\r
4231         "id": "6b12d916.16568",\r
4232         "type": "for",\r
4233         "name": "for vpnidx in all-vpn-bindings",\r
4234         "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4235         "comments": "",\r
4236         "outputs": 1,\r
4237         "x": 4968.96826171875,\r
4238         "y": 4771.183563232422,\r
4239         "z": "8bd89607.6248d8",\r
4240         "wires": [\r
4241             [\r
4242                 "cfa150d4.94ff28"\r
4243             ]\r
4244         ]\r
4245     },\r
4246     {\r
4247         "id": "cfa150d4.94ff28",\r
4248         "type": "block",\r
4249         "name": "block : atomic",\r
4250         "xml": "<block atomic='true'>",\r
4251         "atomic": "true",\r
4252         "comments": "",\r
4253         "outputs": 1,\r
4254         "x": 5202.968017578125,\r
4255         "y": 4778.183563232422,\r
4256         "z": "8bd89607.6248d8",\r
4257         "wires": [\r
4258             [\r
4259                 "e4eccca9.9724c8"\r
4260             ]\r
4261         ]\r
4262     },\r
4263     {\r
4264         "id": "dd4e0e04.50655",\r
4265         "type": "comment",\r
4266         "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4267         "info": "",\r
4268         "comments": "",\r
4269         "x": 5119.783935546875,\r
4270         "y": 4849.349884033203,\r
4271         "z": "8bd89607.6248d8",\r
4272         "wires": []\r
4273     },\r
4274     {\r
4275         "id": "e4eccca9.9724c8",\r
4276         "type": "switchNode",\r
4277         "name": "switch ops-note is srcTtpOtnLayer",\r
4278         "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4279         "comments": "",\r
4280         "outputs": 1,\r
4281         "x": 5063.783935546875,\r
4282         "y": 4898.349884033203,\r
4283         "z": "8bd89607.6248d8",\r
4284         "wires": [\r
4285             [\r
4286                 "7056a1ab.16f5c8",\r
4287                 "9ff2677.5b72918"\r
4288             ]\r
4289         ]\r
4290     },\r
4291     {\r
4292         "id": "9ff2677.5b72918",\r
4293         "type": "outcomeFalse",\r
4294         "name": "false",\r
4295         "xml": "<outcome value='false'>\n",\r
4296         "comments": "",\r
4297         "outputs": 1,\r
4298         "x": 5306.784423828125,\r
4299         "y": 4939.349395751953,\r
4300         "z": "8bd89607.6248d8",\r
4301         "wires": [\r
4302             []\r
4303         ]\r
4304     },\r
4305     {\r
4306         "id": "7056a1ab.16f5c8",\r
4307         "type": "outcomeTrue",\r
4308         "name": "true",\r
4309         "xml": "<outcome value='true'>\n",\r
4310         "comments": "",\r
4311         "outputs": 1,\r
4312         "x": 5317.7841796875,\r
4313         "y": 4896.349609375,\r
4314         "z": "8bd89607.6248d8",\r
4315         "wires": [\r
4316             [\r
4317                 "2f2661a7.5dc1e6"\r
4318             ]\r
4319         ]\r
4320     },\r
4321     {\r
4322         "id": "a26e073.3ca98f8",\r
4323         "type": "block",\r
4324         "name": "block : atomic",\r
4325         "xml": "<block atomic='true'>",\r
4326         "atomic": "true",\r
4327         "comments": "",\r
4328         "outputs": 1,\r
4329         "x": 5544.767578125,\r
4330         "y": 4903.76611328125,\r
4331         "z": "8bd89607.6248d8",\r
4332         "wires": [\r
4333             [\r
4334                 "ff1ba77c.30ef7",\r
4335                 "6cee0088.2f0908",\r
4336                 "acf1096d.49e23"\r
4337             ]\r
4338         ]\r
4339     },\r
4340     {\r
4341         "id": "6e1088cb.02b348",\r
4342         "type": "for",\r
4343         "name": "for each relationship",\r
4344         "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
4345         "comments": "",\r
4346         "outputs": 1,\r
4347         "x": 5709.8173828125,\r
4348         "y": 4788.766571044922,\r
4349         "z": "8bd89607.6248d8",\r
4350         "wires": [\r
4351             [\r
4352                 "28fa48d0.c1f11"\r
4353             ]\r
4354         ]\r
4355     },\r
4356     {\r
4357         "id": "28fa48d0.c1f11",\r
4358         "type": "switchNode",\r
4359         "name": "switch related-to",\r
4360         "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
4361         "comments": "",\r
4362         "outputs": 1,\r
4363         "x": 5901.8173828125,\r
4364         "y": 4777.766815185547,\r
4365         "z": "8bd89607.6248d8",\r
4366         "wires": [\r
4367             [\r
4368                 "794e0693.bafff"\r
4369             ]\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "ff1ba77c.30ef7",\r
4374         "type": "set",\r
4375         "name": "unset tmp.aai.the-vpn-binding",\r
4376         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4377         "comments": "",\r
4378         "x": 5658.334228515625,\r
4379         "y": 4678.983612060547,\r
4380         "z": "8bd89607.6248d8",\r
4381         "wires": []\r
4382     },\r
4383     {\r
4384         "id": "6cee0088.2f0908",\r
4385         "type": "set",\r
4386         "name": "set tmp.aai.the-vpn-binding",\r
4387         "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4388         "comments": "",\r
4389         "x": 5650.334228515625,\r
4390         "y": 4727.983612060547,\r
4391         "z": "8bd89607.6248d8",\r
4392         "wires": []\r
4393     },\r
4394     {\r
4395         "id": "acf1096d.49e23",\r
4396         "type": "save",\r
4397         "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4398         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.the-vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.the-vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.the-vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher - $bwToBeDecreased`' />\n<parameter name='operational-status' value='Modified' />\n",\r
4399         "comments": "",\r
4400         "outputs": 1,\r
4401         "x": 5881.751220703125,\r
4402         "y": 4909.149627685547,\r
4403         "z": "8bd89607.6248d8",\r
4404         "wires": [\r
4405             []\r
4406         ]\r
4407     },\r
4408     {\r
4409         "id": "7591a9e8.920d7",\r
4410         "type": "save",\r
4411         "name": "update connectivity resource in AAI",\r
4412         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.the-connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n<!--<parameter name='bandwidth-profile-name' value='`$gfp`' />-->\n<!--<parameter name='cir' value='`$gfp *1000000`' />-->\n<!--<parameter name='eir' value='`$gfp *1000000`' />-->\n",\r
4413         "comments": "",\r
4414         "outputs": 1,\r
4415         "x": 5833.401123046875,\r
4416         "y": 4956.466522216797,\r
4417         "z": "8bd89607.6248d8",\r
4418         "wires": [\r
4419             []\r
4420         ]\r
4421     },\r
4422     {\r
4423         "id": "20c2cafd.4f2b6e",\r
4424         "type": "comment",\r
4425         "name": "decrease the bw of the-vpn-binding and change status to modified",\r
4426         "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
4427         "comments": "",\r
4428         "x": 5905.751220703125,\r
4429         "y": 4870.149627685547,\r
4430         "z": "8bd89607.6248d8",\r
4431         "wires": []\r
4432     },\r
4433     {\r
4434         "id": "794e0693.bafff",\r
4435         "type": "outcome",\r
4436         "name": "connectivity",\r
4437         "xml": "<outcome value='connectivity'>\n",\r
4438         "comments": "",\r
4439         "outputs": 1,\r
4440         "x": 6083.8173828125,\r
4441         "y": 4756.766815185547,\r
4442         "z": "8bd89607.6248d8",\r
4443         "wires": [\r
4444             [\r
4445                 "cb67e673.c3b218"\r
4446             ]\r
4447         ]\r
4448     },\r
4449     {\r
4450         "id": "cb67e673.c3b218",\r
4451         "type": "block",\r
4452         "name": "block : atomic",\r
4453         "xml": "<block atomic=\"true\">",\r
4454         "atomic": "true",\r
4455         "outputs": 1,\r
4456         "x": 6245.8173828125,\r
4457         "y": 4745.766815185547,\r
4458         "z": "8bd89607.6248d8",\r
4459         "wires": [\r
4460             [\r
4461                 "28efce3c.031a02",\r
4462                 "a7f7a502.452a7"\r
4463             ]\r
4464         ]\r
4465     },\r
4466     {\r
4467         "id": "28efce3c.031a02",\r
4468         "type": "set",\r
4469         "name": "unset tmp.the-connectivity",\r
4470         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
4471         "comments": "",\r
4472         "x": 6442.8173828125,\r
4473         "y": 4674.766815185547,\r
4474         "z": "8bd89607.6248d8",\r
4475         "wires": []\r
4476     },\r
4477     {\r
4478         "id": "a7f7a502.452a7",\r
4479         "type": "set",\r
4480         "name": "set tmp.the-connectivity",\r
4481         "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
4482         "comments": "",\r
4483         "x": 6440.2841796875,\r
4484         "y": 4773.983612060547,\r
4485         "z": "8bd89607.6248d8",\r
4486         "wires": []\r
4487     },\r
4488     {\r
4489         "id": "121ba89c.f4d387",\r
4490         "type": "call",\r
4491         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
4492         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
4493         "comments": "",\r
4494         "outputs": 1,\r
4495         "x": 3097.800048828125,\r
4496         "y": 3232.800018310547,\r
4497         "z": "8bd89607.6248d8",\r
4498         "wires": [\r
4499             []\r
4500         ]\r
4501     },\r
4502     {\r
4503         "id": "e7a924f9.c6032",\r
4504         "type": "switchNode",\r
4505         "name": "switch found-middle-man?",\r
4506         "xml": "<switch test='`$found-middle-man`'>\n",\r
4507         "comments": "",\r
4508         "outputs": 1,\r
4509         "x": 2974.800048828125,\r
4510         "y": 3342.800018310547,\r
4511         "z": "8bd89607.6248d8",\r
4512         "wires": [\r
4513             [\r
4514                 "a8ce787f.7ca8b8",\r
4515                 "dab4cfcf.e3306"\r
4516             ]\r
4517         ]\r
4518     },\r
4519     {\r
4520         "id": "a8ce787f.7ca8b8",\r
4521         "type": "outcomeFalse",\r
4522         "name": "false",\r
4523         "xml": "<outcome value='false'>\n",\r
4524         "comments": "",\r
4525         "outputs": 1,\r
4526         "x": 3158.800048828125,\r
4527         "y": 3321.800018310547,\r
4528         "z": "8bd89607.6248d8",\r
4529         "wires": [\r
4530             [\r
4531                 "3ed4168e.db435a"\r
4532             ]\r
4533         ]\r
4534     },\r
4535     {\r
4536         "id": "3ed4168e.db435a",\r
4537         "type": "block",\r
4538         "name": "block : atomic",\r
4539         "xml": "<block atomic='true'>",\r
4540         "atomic": "true",\r
4541         "comments": "",\r
4542         "outputs": 1,\r
4543         "x": 3301.800048828125,\r
4544         "y": 3321.800018310547,\r
4545         "z": "8bd89607.6248d8",\r
4546         "wires": [\r
4547             [\r
4548                 "d46982de.a36698"\r
4549             ]\r
4550         ]\r
4551     },\r
4552     {\r
4553         "id": "d46982de.a36698",\r
4554         "type": "returnFailure",\r
4555         "name": "return failure",\r
4556         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"LEAF CONN DOES NOT EXIST BUT IT SHOULD BE.\" />\n\n",\r
4557         "comments": "",\r
4558         "x": 3477.800048828125,\r
4559         "y": 3319.800018310547,\r
4560         "z": "8bd89607.6248d8",\r
4561         "wires": []\r
4562     },\r
4563     {\r
4564         "id": "dab4cfcf.e3306",\r
4565         "type": "outcomeTrue",\r
4566         "name": "true",\r
4567         "xml": "<outcome value='true'>\n",\r
4568         "comments": "",\r
4569         "outputs": 1,\r
4570         "x": 3156.800048828125,\r
4571         "y": 3376.800018310547,\r
4572         "z": "8bd89607.6248d8",\r
4573         "wires": [\r
4574             [\r
4575                 "55aae2f8.8a15b4"\r
4576             ]\r
4577         ]\r
4578     },\r
4579     {\r
4580         "id": "55aae2f8.8a15b4",\r
4581         "type": "block",\r
4582         "name": "block : atomic",\r
4583         "xml": "<block atomic='true'>",\r
4584         "atomic": "true",\r
4585         "comments": "",\r
4586         "outputs": 1,\r
4587         "x": 3003.800048828125,\r
4588         "y": 3509.800018310547,\r
4589         "z": "8bd89607.6248d8",\r
4590         "wires": [\r
4591             [\r
4592                 "82a9b10f.cbf938",\r
4593                 "9a0ba695.c13258",\r
4594                 "a14834df.662a8",\r
4595                 "87bd7501.49bf18",\r
4596                 "4331a4c2.0089dc",\r
4597                 "b9e9be73.6c3be"\r
4598             ]\r
4599         ]\r
4600     },\r
4601     {\r
4602         "id": "6411a3c0.06e7c4",\r
4603         "type": "comment",\r
4604         "name": "Find LEAF connectivity",\r
4605         "info": "",\r
4606         "comments": "",\r
4607         "x": 3225.88330078125,\r
4608         "y": 3749.999969482422,\r
4609         "z": "8bd89607.6248d8",\r
4610         "wires": []\r
4611     },\r
4612     {\r
4613         "id": "87bd7501.49bf18",\r
4614         "type": "set",\r
4615         "name": "set tmp.MMstillHasUni to FALSE",\r
4616         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='false' />\n",\r
4617         "comments": "",\r
4618         "x": 3308.333251953125,\r
4619         "y": 3522.800018310547,\r
4620         "z": "8bd89607.6248d8",\r
4621         "wires": []\r
4622     },\r
4623     {\r
4624         "id": "4331a4c2.0089dc",\r
4625         "type": "for",\r
4626         "name": "for each relationship of middle-man-conn",\r
4627         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
4628         "comments": "",\r
4629         "outputs": 1,\r
4630         "x": 3306.8330078125,\r
4631         "y": 3568.716766357422,\r
4632         "z": "8bd89607.6248d8",\r
4633         "wires": [\r
4634             [\r
4635                 "3cfcd803.984ff"\r
4636             ]\r
4637         ]\r
4638     },\r
4639     {\r
4640         "id": "3cfcd803.984ff",\r
4641         "type": "switchNode",\r
4642         "name": "switch related-to",\r
4643         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$cridx].related-to`'>\n",\r
4644         "comments": "",\r
4645         "outputs": 1,\r
4646         "x": 3569.8330078125,\r
4647         "y": 3563.716766357422,\r
4648         "z": "8bd89607.6248d8",\r
4649         "wires": [\r
4650             [\r
4651                 "19e3fea0.d430a9"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "19e3fea0.d430a9",\r
4657         "type": "outcome",\r
4658         "name": "uni",\r
4659         "xml": "<outcome value='uni'>\n",\r
4660         "comments": "",\r
4661         "outputs": 1,\r
4662         "x": 3729.83251953125,\r
4663         "y": 3543.716766357422,\r
4664         "z": "8bd89607.6248d8",\r
4665         "wires": [\r
4666             [\r
4667                 "cc595a48.1912e8"\r
4668             ]\r
4669         ]\r
4670     },\r
4671     {\r
4672         "id": "db4c40a7.875698",\r
4673         "type": "block",\r
4674         "name": "block : atomic",\r
4675         "xml": "<block atomic=\"true\">",\r
4676         "atomic": "true",\r
4677         "outputs": 1,\r
4678         "x": 5066.834228515625,\r
4679         "y": 3574.716796875,\r
4680         "z": "8bd89607.6248d8",\r
4681         "wires": [\r
4682             [\r
4683                 "7118b227.f4c97c",\r
4684                 "642017c6.da5f18",\r
4685                 "d7647a1a.599238"\r
4686             ]\r
4687         ]\r
4688     },\r
4689     {\r
4690         "id": "7118b227.f4c97c",\r
4691         "type": "set",\r
4692         "name": "set tmp.MMstillHasUni to TRUE",\r
4693         "xml": "<set>\n<parameter name='tmp.MMstillHasUni' value='true' />\n",\r
4694         "comments": "",\r
4695         "x": 5306.334716796875,\r
4696         "y": 3523.800048828125,\r
4697         "z": "8bd89607.6248d8",\r
4698         "wires": []\r
4699     },\r
4700     {\r
4701         "id": "642017c6.da5f18",\r
4702         "type": "break",\r
4703         "name": "break",\r
4704         "xml": "<break>\n",\r
4705         "comments": "",\r
4706         "x": 5239.568145751953,\r
4707         "y": 3596.800079345703,\r
4708         "z": "8bd89607.6248d8",\r
4709         "wires": []\r
4710     },\r
4711     {\r
4712         "id": "d96806ce.d6ba3",\r
4713         "type": "comment",\r
4714         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
4715         "info": "",\r
4716         "comments": "",\r
4717         "x": 4432.88427734375,\r
4718         "y": 5131.000213623047,\r
4719         "z": "8bd89607.6248d8",\r
4720         "wires": []\r
4721     },\r
4722     {\r
4723         "id": "55b631d2.803a38",\r
4724         "type": "set",\r
4725         "name": "set tmp.leafconn.",\r
4726         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
4727         "comments": "",\r
4728         "x": 4331.317138671875,\r
4729         "y": 5182.916717529297,\r
4730         "z": "8bd89607.6248d8",\r
4731         "wires": []\r
4732     },\r
4733     {\r
4734         "id": "e084df79.80ceb8",\r
4735         "type": "call",\r
4736         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4737         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4738         "comments": "",\r
4739         "outputs": 1,\r
4740         "x": 4482.317138671875,\r
4741         "y": 5625.916717529297,\r
4742         "z": "8bd89607.6248d8",\r
4743         "wires": [\r
4744             []\r
4745         ]\r
4746     },\r
4747     {\r
4748         "id": "624968c9.f15538",\r
4749         "type": "switchNode",\r
4750         "name": "switch found-root-connectivity",\r
4751         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4752         "comments": "",\r
4753         "outputs": 1,\r
4754         "x": 4297.317138671875,\r
4755         "y": 5692.916717529297,\r
4756         "z": "8bd89607.6248d8",\r
4757         "wires": [\r
4758             [\r
4759                 "3ebbf801.286498",\r
4760                 "76ebd92f.1642a"\r
4761             ]\r
4762         ]\r
4763     },\r
4764     {\r
4765         "id": "3ebbf801.286498",\r
4766         "type": "outcomeTrue",\r
4767         "name": "true",\r
4768         "xml": "<outcome value='true'>\n",\r
4769         "comments": "",\r
4770         "outputs": 1,\r
4771         "x": 4562.317138671875,\r
4772         "y": 5677.916717529297,\r
4773         "z": "8bd89607.6248d8",\r
4774         "wires": [\r
4775             [\r
4776                 "37d1d73c.eecfd"\r
4777             ]\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "76ebd92f.1642a",\r
4782         "type": "outcomeFalse",\r
4783         "name": "false",\r
4784         "xml": "<outcome value='false'>\n",\r
4785         "comments": "",\r
4786         "outputs": 1,\r
4787         "x": 4558.317138671875,\r
4788         "y": 5725.916717529297,\r
4789         "z": "8bd89607.6248d8",\r
4790         "wires": [\r
4791             [\r
4792                 "199fe1ad.b53f66"\r
4793             ]\r
4794         ]\r
4795     },\r
4796     {\r
4797         "id": "37d1d73c.eecfd",\r
4798         "type": "block",\r
4799         "name": "block : atomic",\r
4800         "xml": "<block atomic='true'>",\r
4801         "atomic": "true",\r
4802         "comments": "",\r
4803         "outputs": 1,\r
4804         "x": 4718.317138671875,\r
4805         "y": 5673.916717529297,\r
4806         "z": "8bd89607.6248d8",\r
4807         "wires": [\r
4808             [\r
4809                 "31a9971.ad96268"\r
4810             ]\r
4811         ]\r
4812     },\r
4813     {\r
4814         "id": "199fe1ad.b53f66",\r
4815         "type": "returnFailure",\r
4816         "name": "return failure",\r
4817         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4818         "comments": "",\r
4819         "x": 4706.317138671875,\r
4820         "y": 5720.916717529297,\r
4821         "z": "8bd89607.6248d8",\r
4822         "wires": []\r
4823     },\r
4824     {\r
4825         "id": "802c1097.dcd94",\r
4826         "type": "set",\r
4827         "name": "set tmp.rootconn.",\r
4828         "xml": "<set>\n<parameter name='tmp.rootconn.' value=\"`$tmp.aai.ROOT.connectivity.`\" />\n\n\n",\r
4829         "comments": "",\r
4830         "x": 5138.3173828125,\r
4831         "y": 5615.916717529297,\r
4832         "z": "8bd89607.6248d8",\r
4833         "wires": []\r
4834     },\r
4835     {\r
4836         "id": "8e64de53.2c9fe8",\r
4837         "type": "set",\r
4838         "name": "set pnf-name",\r
4839         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
4840         "comments": "",\r
4841         "x": 4540.734130859375,\r
4842         "y": 5212.200408935547,\r
4843         "z": "8bd89607.6248d8",\r
4844         "wires": []\r
4845     },\r
4846     {\r
4847         "id": "a2022ff9.9bc538",\r
4848         "type": "block",\r
4849         "name": "block : atomic",\r
4850         "xml": "<block atomic=\"true\">",\r
4851         "atomic": "true",\r
4852         "outputs": 1,\r
4853         "x": 4311.734130859375,\r
4854         "y": 5301.200408935547,\r
4855         "z": "8bd89607.6248d8",\r
4856         "wires": [\r
4857             [\r
4858                 "8e64de53.2c9fe8",\r
4859                 "2a874f25.a11e68"\r
4860             ]\r
4861         ]\r
4862     },\r
4863     {\r
4864         "id": "2a874f25.a11e68",\r
4865         "type": "get-resource",\r
4866         "name": "get-resource src pnf",\r
4867         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
4868         "comments": "",\r
4869         "outputs": 1,\r
4870         "x": 4547.734130859375,\r
4871         "y": 5294.200408935547,\r
4872         "z": "8bd89607.6248d8",\r
4873         "wires": [\r
4874             [\r
4875                 "42e4546b.7efc04",\r
4876                 "8902c91a.a1454",\r
4877                 "2a8da0f.130cae"\r
4878             ]\r
4879         ]\r
4880     },\r
4881     {\r
4882         "id": "42e4546b.7efc04",\r
4883         "type": "success",\r
4884         "name": "success",\r
4885         "xml": "<outcome value='success'>\n",\r
4886         "comments": "",\r
4887         "outputs": 1,\r
4888         "x": 4743.2342529296875,\r
4889         "y": 5246.200408935547,\r
4890         "z": "8bd89607.6248d8",\r
4891         "wires": [\r
4892             [\r
4893                 "374d8.3341eb28c"\r
4894             ]\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "8902c91a.a1454",\r
4899         "type": "not-found",\r
4900         "name": "not-found",\r
4901         "xml": "<outcome value='not-found'>\n",\r
4902         "comments": "",\r
4903         "outputs": 1,\r
4904         "x": 4735.2342529296875,\r
4905         "y": 5301.200408935547,\r
4906         "z": "8bd89607.6248d8",\r
4907         "wires": [\r
4908             [\r
4909                 "1ff3bcec.a42b9b"\r
4910             ]\r
4911         ]\r
4912     },\r
4913     {\r
4914         "id": "374d8.3341eb28c",\r
4915         "type": "block",\r
4916         "name": "block",\r
4917         "xml": "<block>\n",\r
4918         "atomic": "false",\r
4919         "comments": "",\r
4920         "outputs": 1,\r
4921         "x": 4887.6165771484375,\r
4922         "y": 5245.8560791015625,\r
4923         "z": "8bd89607.6248d8",\r
4924         "wires": [\r
4925             [\r
4926                 "ec0686db.c1a878"\r
4927             ]\r
4928         ]\r
4929     },\r
4930     {\r
4931         "id": "ec0686db.c1a878",\r
4932         "type": "for",\r
4933         "name": "for each relationship",\r
4934         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
4935         "comments": "",\r
4936         "outputs": 1,\r
4937         "x": 5071.734130859375,\r
4938         "y": 5244.200408935547,\r
4939         "z": "8bd89607.6248d8",\r
4940         "wires": [\r
4941             [\r
4942                 "d4462e32.3100d8"\r
4943             ]\r
4944         ]\r
4945     },\r
4946     {\r
4947         "id": "d4462e32.3100d8",\r
4948         "type": "switchNode",\r
4949         "name": "switch related-to",\r
4950         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
4951         "comments": "",\r
4952         "outputs": 1,\r
4953         "x": 5266.734130859375,\r
4954         "y": 5244.200408935547,\r
4955         "z": "8bd89607.6248d8",\r
4956         "wires": [\r
4957             [\r
4958                 "3a9e0096.e3a448"\r
4959             ]\r
4960         ]\r
4961     },\r
4962     {\r
4963         "id": "2a8da0f.130cae",\r
4964         "type": "other",\r
4965         "name": "other",\r
4966         "xml": "<outcome value='Other'>\n",\r
4967         "comments": "",\r
4968         "outputs": 1,\r
4969         "x": 4740.2342529296875,\r
4970         "y": 5358.200408935547,\r
4971         "z": "8bd89607.6248d8",\r
4972         "wires": [\r
4973             [\r
4974                 "17a678b2.952aef"\r
4975             ]\r
4976         ]\r
4977     },\r
4978     {\r
4979         "id": "17a678b2.952aef",\r
4980         "type": "returnFailure",\r
4981         "name": "return failure",\r
4982         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
4983         "comments": "",\r
4984         "x": 4892.2342529296875,\r
4985         "y": 5359.200408935547,\r
4986         "z": "8bd89607.6248d8",\r
4987         "wires": []\r
4988     },\r
4989     {\r
4990         "id": "1ff3bcec.a42b9b",\r
4991         "type": "returnFailure",\r
4992         "name": "return failure",\r
4993         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
4994         "comments": "",\r
4995         "x": 4903.2342529296875,\r
4996         "y": 5302.200408935547,\r
4997         "z": "8bd89607.6248d8",\r
4998         "wires": []\r
4999     },\r
5000     {\r
5001         "id": "318d00c4.ca52c",\r
5002         "type": "block",\r
5003         "name": "block : atomic",\r
5004         "xml": "<block atomic=\"true\">",\r
5005         "atomic": "true",\r
5006         "outputs": 1,\r
5007         "x": 5648.734130859375,\r
5008         "y": 5248.200408935547,\r
5009         "z": "8bd89607.6248d8",\r
5010         "wires": [\r
5011             [\r
5012                 "46db4a25.4363a4",\r
5013                 "34953acc.5d5dc6",\r
5014                 "9de681b9.d85948"\r
5015             ]\r
5016         ]\r
5017     },\r
5018     {\r
5019         "id": "3a9e0096.e3a448",\r
5020         "type": "outcome",\r
5021         "name": "esr-thirdparty-sdnc",\r
5022         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5023         "comments": "",\r
5024         "outputs": 1,\r
5025         "x": 5469.734130859375,\r
5026         "y": 5248.200408935547,\r
5027         "z": "8bd89607.6248d8",\r
5028         "wires": [\r
5029             [\r
5030                 "318d00c4.ca52c"\r
5031             ]\r
5032         ]\r
5033     },\r
5034     {\r
5035         "id": "34953acc.5d5dc6",\r
5036         "type": "execute",\r
5037         "name": "get esr-thirdparty-sdnc",\r
5038         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5039         "comments": "",\r
5040         "outputs": 1,\r
5041         "x": 5854.734130859375,\r
5042         "y": 5261.200408935547,\r
5043         "z": "8bd89607.6248d8",\r
5044         "wires": [\r
5045             [\r
5046                 "a1306b3e.752188",\r
5047                 "af1e227.d98756",\r
5048                 "c7dc9a0c.c1a12"\r
5049             ]\r
5050         ]\r
5051     },\r
5052     {\r
5053         "id": "46db4a25.4363a4",\r
5054         "type": "set",\r
5055         "name": "set esr-thirdparty-sdnc domain id",\r
5056         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5057         "comments": "",\r
5058         "x": 5884.734130859375,\r
5059         "y": 5209.200408935547,\r
5060         "z": "8bd89607.6248d8",\r
5061         "wires": []\r
5062     },\r
5063     {\r
5064         "id": "a1306b3e.752188",\r
5065         "type": "success",\r
5066         "name": "success",\r
5067         "xml": "<outcome value='success'>\n",\r
5068         "comments": "",\r
5069         "outputs": 1,\r
5070         "x": 6064.734130859375,\r
5071         "y": 5252.200408935547,\r
5072         "z": "8bd89607.6248d8",\r
5073         "wires": [\r
5074             [\r
5075                 "c17f0a30.28a8c"\r
5076             ]\r
5077         ]\r
5078     },\r
5079     {\r
5080         "id": "af1e227.d98756",\r
5081         "type": "not-found",\r
5082         "name": "not-found",\r
5083         "xml": "<outcome value='not-found'>\n",\r
5084         "comments": "",\r
5085         "outputs": 1,\r
5086         "x": 6056.734130859375,\r
5087         "y": 5307.200408935547,\r
5088         "z": "8bd89607.6248d8",\r
5089         "wires": [\r
5090             [\r
5091                 "f59cff5b.1a7268"\r
5092             ]\r
5093         ]\r
5094     },\r
5095     {\r
5096         "id": "c7dc9a0c.c1a12",\r
5097         "type": "other",\r
5098         "name": "other",\r
5099         "xml": "<outcome value='Other'>\n",\r
5100         "comments": "",\r
5101         "outputs": 1,\r
5102         "x": 6061.734130859375,\r
5103         "y": 5364.200408935547,\r
5104         "z": "8bd89607.6248d8",\r
5105         "wires": [\r
5106             [\r
5107                 "18fa3a10.34d806"\r
5108             ]\r
5109         ]\r
5110     },\r
5111     {\r
5112         "id": "18fa3a10.34d806",\r
5113         "type": "returnFailure",\r
5114         "name": "return failure",\r
5115         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5116         "comments": "",\r
5117         "x": 6213.734130859375,\r
5118         "y": 5365.200408935547,\r
5119         "z": "8bd89607.6248d8",\r
5120         "wires": []\r
5121     },\r
5122     {\r
5123         "id": "f59cff5b.1a7268",\r
5124         "type": "returnFailure",\r
5125         "name": "return failure",\r
5126         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5127         "comments": "",\r
5128         "x": 6224.734130859375,\r
5129         "y": 5310.200408935547,\r
5130         "z": "8bd89607.6248d8",\r
5131         "wires": []\r
5132     },\r
5133     {\r
5134         "id": "c17f0a30.28a8c",\r
5135         "type": "block",\r
5136         "name": "block",\r
5137         "xml": "<block>\n",\r
5138         "atomic": "false",\r
5139         "comments": "",\r
5140         "outputs": 1,\r
5141         "x": 6209.116455078125,\r
5142         "y": 5249.8560791015625,\r
5143         "z": "8bd89607.6248d8",\r
5144         "wires": [\r
5145             [\r
5146                 "7a04be69.78c07"\r
5147             ]\r
5148         ]\r
5149     },\r
5150     {\r
5151         "id": "7a04be69.78c07",\r
5152         "type": "set",\r
5153         "name": "set controller domain data",\r
5154         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
5155         "comments": "",\r
5156         "x": 6423.734130859375,\r
5157         "y": 5246.200408935547,\r
5158         "z": "8bd89607.6248d8",\r
5159         "wires": []\r
5160     },\r
5161     {\r
5162         "id": "9de681b9.d85948",\r
5163         "type": "break",\r
5164         "name": "break",\r
5165         "xml": "<break>\n",\r
5166         "comments": "",\r
5167         "x": 5804.734130859375,\r
5168         "y": 5325.200408935547,\r
5169         "z": "8bd89607.6248d8",\r
5170         "wires": []\r
5171     },\r
5172     {\r
5173         "id": "702c8bba.ca32ac",\r
5174         "type": "execute",\r
5175         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
5176         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
5177         "comments": "",\r
5178         "outputs": 1,\r
5179         "x": 4453.234375,\r
5180         "y": 5405.800018310547,\r
5181         "z": "8bd89607.6248d8",\r
5182         "wires": [\r
5183             [\r
5184                 "b53a2357.cb19f",\r
5185                 "1f266f6e.997129"\r
5186             ]\r
5187         ]\r
5188     },\r
5189     {\r
5190         "id": "b53a2357.cb19f",\r
5191         "type": "failure",\r
5192         "name": "failure",\r
5193         "xml": "<outcome value='failure'>\n",\r
5194         "comments": "",\r
5195         "outputs": 1,\r
5196         "x": 4813.734130859375,\r
5197         "y": 5413.800018310547,\r
5198         "z": "8bd89607.6248d8",\r
5199         "wires": [\r
5200             [\r
5201                 "1f814603.8b079a"\r
5202             ]\r
5203         ]\r
5204     },\r
5205     {\r
5206         "id": "1f814603.8b079a",\r
5207         "type": "returnFailure",\r
5208         "name": "return failure",\r
5209         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
5210         "comments": "",\r
5211         "x": 4971.734130859375,\r
5212         "y": 5413.800018310547,\r
5213         "z": "8bd89607.6248d8",\r
5214         "wires": []\r
5215     },\r
5216     {\r
5217         "id": "3ef4bb2e.ea4704",\r
5218         "type": "block",\r
5219         "name": "block : atomic",\r
5220         "xml": "<block atomic=\"true\">",\r
5221         "atomic": "true",\r
5222         "comments": "",\r
5223         "outputs": 1,\r
5224         "x": 4975.234130859375,\r
5225         "y": 5453.800018310547,\r
5226         "z": "8bd89607.6248d8",\r
5227         "wires": [\r
5228             []\r
5229         ]\r
5230     },\r
5231     {\r
5232         "id": "1f266f6e.997129",\r
5233         "type": "success",\r
5234         "name": "success",\r
5235         "xml": "<outcome value='success'>\n",\r
5236         "comments": "",\r
5237         "outputs": 1,\r
5238         "x": 4817.734130859375,\r
5239         "y": 5453.800018310547,\r
5240         "z": "8bd89607.6248d8",\r
5241         "wires": [\r
5242             [\r
5243                 "3ef4bb2e.ea4704"\r
5244             ]\r
5245         ]\r
5246     },\r
5247     {\r
5248         "id": "4cb994af.f28aac",\r
5249         "type": "block",\r
5250         "name": "block : atomic",\r
5251         "xml": "<block atomic=\"true\">",\r
5252         "atomic": "true",\r
5253         "outputs": 1,\r
5254         "x": 5126.451171875,\r
5255         "y": 5667.800018310547,\r
5256         "z": "8bd89607.6248d8",\r
5257         "wires": [\r
5258             [\r
5259                 "37db8c04.dcc65c",\r
5260                 "e00788f7.d2c01"\r
5261             ]\r
5262         ]\r
5263     },\r
5264     {\r
5265         "id": "e00788f7.d2c01",\r
5266         "type": "get-resource",\r
5267         "name": "get-resource src pnf",\r
5268         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
5269         "comments": "",\r
5270         "outputs": 1,\r
5271         "x": 5368.450927734375,\r
5272         "y": 5617.800018310547,\r
5273         "z": "8bd89607.6248d8",\r
5274         "wires": [\r
5275             [\r
5276                 "bd67e663.b6cc68",\r
5277                 "6a96c9e9.f60f08",\r
5278                 "24f63010.71743"\r
5279             ]\r
5280         ]\r
5281     },\r
5282     {\r
5283         "id": "bd67e663.b6cc68",\r
5284         "type": "success",\r
5285         "name": "success",\r
5286         "xml": "<outcome value='success'>\n",\r
5287         "comments": "",\r
5288         "outputs": 1,\r
5289         "x": 5563.951171875,\r
5290         "y": 5551.800018310547,\r
5291         "z": "8bd89607.6248d8",\r
5292         "wires": [\r
5293             [\r
5294                 "9c952b2f.2e4c48"\r
5295             ]\r
5296         ]\r
5297     },\r
5298     {\r
5299         "id": "6a96c9e9.f60f08",\r
5300         "type": "not-found",\r
5301         "name": "not-found",\r
5302         "xml": "<outcome value='not-found'>\n",\r
5303         "comments": "",\r
5304         "outputs": 1,\r
5305         "x": 5559.951171875,\r
5306         "y": 5607.800018310547,\r
5307         "z": "8bd89607.6248d8",\r
5308         "wires": [\r
5309             [\r
5310                 "72760d9d.ebda64"\r
5311             ]\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "9c952b2f.2e4c48",\r
5316         "type": "block",\r
5317         "name": "block",\r
5318         "xml": "<block>\n",\r
5319         "atomic": "false",\r
5320         "comments": "",\r
5321         "outputs": 1,\r
5322         "x": 5708.3333740234375,\r
5323         "y": 5569.4556884765625,\r
5324         "z": "8bd89607.6248d8",\r
5325         "wires": [\r
5326             [\r
5327                 "27765347.4a6a3c"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "27765347.4a6a3c",\r
5333         "type": "for",\r
5334         "name": "for each relationship",\r
5335         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
5336         "comments": "",\r
5337         "outputs": 1,\r
5338         "x": 5892.450927734375,\r
5339         "y": 5567.800018310547,\r
5340         "z": "8bd89607.6248d8",\r
5341         "wires": [\r
5342             [\r
5343                 "cd6a7530.d2bb8"\r
5344             ]\r
5345         ]\r
5346     },\r
5347     {\r
5348         "id": "24f63010.71743",\r
5349         "type": "other",\r
5350         "name": "other",\r
5351         "xml": "<outcome value='Other'>\n",\r
5352         "comments": "",\r
5353         "outputs": 1,\r
5354         "x": 5569.951171875,\r
5355         "y": 5652.800018310547,\r
5356         "z": "8bd89607.6248d8",\r
5357         "wires": [\r
5358             [\r
5359                 "a1473e64.1f4fc8"\r
5360             ]\r
5361         ]\r
5362     },\r
5363     {\r
5364         "id": "a1473e64.1f4fc8",\r
5365         "type": "returnFailure",\r
5366         "name": "return failure",\r
5367         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5368         "comments": "",\r
5369         "x": 5748.951171875,\r
5370         "y": 5668.800018310547,\r
5371         "z": "8bd89607.6248d8",\r
5372         "wires": []\r
5373     },\r
5374     {\r
5375         "id": "72760d9d.ebda64",\r
5376         "type": "returnFailure",\r
5377         "name": "return failure",\r
5378         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5379         "comments": "",\r
5380         "x": 5730.951171875,\r
5381         "y": 5620.800018310547,\r
5382         "z": "8bd89607.6248d8",\r
5383         "wires": []\r
5384     },\r
5385     {\r
5386         "id": "b65e14dd.2b2b98",\r
5387         "type": "execute",\r
5388         "name": "execute RestApiCallNode Delete UNI of ethernet Service without token",\r
5389         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.rootconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.ROOT.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
5390         "comments": "",\r
5391         "outputs": 1,\r
5392         "x": 5279.951171875,\r
5393         "y": 5723.399627685547,\r
5394         "z": "8bd89607.6248d8",\r
5395         "wires": [\r
5396             [\r
5397                 "f4d26e19.4a33a",\r
5398                 "2b318383.32132c"\r
5399             ]\r
5400         ]\r
5401     },\r
5402     {\r
5403         "id": "f4d26e19.4a33a",\r
5404         "type": "failure",\r
5405         "name": "failure",\r
5406         "xml": "<outcome value='failure'>\n",\r
5407         "comments": "",\r
5408         "outputs": 1,\r
5409         "x": 5628.451171875,\r
5410         "y": 5705.399627685547,\r
5411         "z": "8bd89607.6248d8",\r
5412         "wires": [\r
5413             [\r
5414                 "cc266f68.3170a8"\r
5415             ]\r
5416         ]\r
5417     },\r
5418     {\r
5419         "id": "cc266f68.3170a8",\r
5420         "type": "returnFailure",\r
5421         "name": "return failure",\r
5422         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
5423         "comments": "",\r
5424         "x": 5884.451171875,\r
5425         "y": 5708.399627685547,\r
5426         "z": "8bd89607.6248d8",\r
5427         "wires": []\r
5428     },\r
5429     {\r
5430         "id": "e9302632.da2fb8",\r
5431         "type": "block",\r
5432         "name": "block : atomic",\r
5433         "xml": "<block atomic=\"true\">",\r
5434         "atomic": "true",\r
5435         "comments": "",\r
5436         "outputs": 1,\r
5437         "x": 5836.951171875,\r
5438         "y": 5749.399627685547,\r
5439         "z": "8bd89607.6248d8",\r
5440         "wires": [\r
5441             []\r
5442         ]\r
5443     },\r
5444     {\r
5445         "id": "2b318383.32132c",\r
5446         "type": "success",\r
5447         "name": "success",\r
5448         "xml": "<outcome value='success'>\n",\r
5449         "comments": "",\r
5450         "outputs": 1,\r
5451         "x": 5638.451171875,\r
5452         "y": 5754.399627685547,\r
5453         "z": "8bd89607.6248d8",\r
5454         "wires": [\r
5455             [\r
5456                 "e9302632.da2fb8"\r
5457             ]\r
5458         ]\r
5459     },\r
5460     {\r
5461         "id": "37db8c04.dcc65c",\r
5462         "type": "set",\r
5463         "name": "set pnf-name",\r
5464         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.rootconn.access-provider-id + '-clientId-' +\n                                                   $tmp.rootconn.access-client-id + '-topologyId-' +\n                                                   $tmp.rootconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.rootconn.access-node-id`\" />\n",\r
5465         "comments": "",\r
5466         "x": 5361.450927734375,\r
5467         "y": 5535.800018310547,\r
5468         "z": "8bd89607.6248d8",\r
5469         "wires": []\r
5470     },\r
5471     {\r
5472         "id": "cd6a7530.d2bb8",\r
5473         "type": "switchNode",\r
5474         "name": "switch related-to",\r
5475         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
5476         "comments": "",\r
5477         "outputs": 1,\r
5478         "x": 6087.450927734375,\r
5479         "y": 5567.800018310547,\r
5480         "z": "8bd89607.6248d8",\r
5481         "wires": [\r
5482             [\r
5483                 "40d39185.b5e49"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "96e4f3b6.f5cd5",\r
5489         "type": "block",\r
5490         "name": "block : atomic",\r
5491         "xml": "<block atomic=\"true\">",\r
5492         "atomic": "true",\r
5493         "outputs": 1,\r
5494         "x": 6469.450927734375,\r
5495         "y": 5571.800018310547,\r
5496         "z": "8bd89607.6248d8",\r
5497         "wires": [\r
5498             [\r
5499                 "4ecdd233.2c761c",\r
5500                 "4b4d74a7.6aa104",\r
5501                 "563a66cd.e07e68"\r
5502             ]\r
5503         ]\r
5504     },\r
5505     {\r
5506         "id": "40d39185.b5e49",\r
5507         "type": "outcome",\r
5508         "name": "esr-thirdparty-sdnc",\r
5509         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
5510         "comments": "",\r
5511         "outputs": 1,\r
5512         "x": 6290.450927734375,\r
5513         "y": 5571.800018310547,\r
5514         "z": "8bd89607.6248d8",\r
5515         "wires": [\r
5516             [\r
5517                 "96e4f3b6.f5cd5"\r
5518             ]\r
5519         ]\r
5520     },\r
5521     {\r
5522         "id": "4b4d74a7.6aa104",\r
5523         "type": "execute",\r
5524         "name": "get esr-thirdparty-sdnc",\r
5525         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
5526         "comments": "",\r
5527         "outputs": 1,\r
5528         "x": 6675.450927734375,\r
5529         "y": 5584.800018310547,\r
5530         "z": "8bd89607.6248d8",\r
5531         "wires": [\r
5532             [\r
5533                 "5212e394.a625ac",\r
5534                 "8a0a8abd.557d58",\r
5535                 "fe612827.fce1d"\r
5536             ]\r
5537         ]\r
5538     },\r
5539     {\r
5540         "id": "4ecdd233.2c761c",\r
5541         "type": "set",\r
5542         "name": "set esr-thirdparty-sdnc domain id",\r
5543         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
5544         "comments": "",\r
5545         "x": 6705.450927734375,\r
5546         "y": 5532.800018310547,\r
5547         "z": "8bd89607.6248d8",\r
5548         "wires": []\r
5549     },\r
5550     {\r
5551         "id": "5212e394.a625ac",\r
5552         "type": "success",\r
5553         "name": "success",\r
5554         "xml": "<outcome value='success'>\n",\r
5555         "comments": "",\r
5556         "outputs": 1,\r
5557         "x": 6885.450927734375,\r
5558         "y": 5575.800018310547,\r
5559         "z": "8bd89607.6248d8",\r
5560         "wires": [\r
5561             [\r
5562                 "22d6ab8e.b3d594"\r
5563             ]\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "8a0a8abd.557d58",\r
5568         "type": "not-found",\r
5569         "name": "not-found",\r
5570         "xml": "<outcome value='not-found'>\n",\r
5571         "comments": "",\r
5572         "outputs": 1,\r
5573         "x": 6877.450927734375,\r
5574         "y": 5630.800018310547,\r
5575         "z": "8bd89607.6248d8",\r
5576         "wires": [\r
5577             [\r
5578                 "d2e549e.aa0e038"\r
5579             ]\r
5580         ]\r
5581     },\r
5582     {\r
5583         "id": "fe612827.fce1d",\r
5584         "type": "other",\r
5585         "name": "other",\r
5586         "xml": "<outcome value='Other'>\n",\r
5587         "comments": "",\r
5588         "outputs": 1,\r
5589         "x": 6882.450927734375,\r
5590         "y": 5687.800018310547,\r
5591         "z": "8bd89607.6248d8",\r
5592         "wires": [\r
5593             [\r
5594                 "18a7205c.94ea5"\r
5595             ]\r
5596         ]\r
5597     },\r
5598     {\r
5599         "id": "18a7205c.94ea5",\r
5600         "type": "returnFailure",\r
5601         "name": "return failure",\r
5602         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5603         "comments": "",\r
5604         "x": 7034.450927734375,\r
5605         "y": 5688.800018310547,\r
5606         "z": "8bd89607.6248d8",\r
5607         "wires": []\r
5608     },\r
5609     {\r
5610         "id": "d2e549e.aa0e038",\r
5611         "type": "returnFailure",\r
5612         "name": "return failure",\r
5613         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
5614         "comments": "",\r
5615         "x": 7045.450927734375,\r
5616         "y": 5633.800018310547,\r
5617         "z": "8bd89607.6248d8",\r
5618         "wires": []\r
5619     },\r
5620     {\r
5621         "id": "22d6ab8e.b3d594",\r
5622         "type": "block",\r
5623         "name": "block",\r
5624         "xml": "<block>\n",\r
5625         "atomic": "false",\r
5626         "comments": "",\r
5627         "outputs": 1,\r
5628         "x": 7029.833251953125,\r
5629         "y": 5573.4556884765625,\r
5630         "z": "8bd89607.6248d8",\r
5631         "wires": [\r
5632             [\r
5633                 "c312e16c.c44d58"\r
5634             ]\r
5635         ]\r
5636     },\r
5637     {\r
5638         "id": "c312e16c.c44d58",\r
5639         "type": "set",\r
5640         "name": "set controller domain data",\r
5641         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
5642         "comments": "",\r
5643         "x": 7244.450927734375,\r
5644         "y": 5569.800018310547,\r
5645         "z": "8bd89607.6248d8",\r
5646         "wires": []\r
5647     },\r
5648     {\r
5649         "id": "563a66cd.e07e68",\r
5650         "type": "break",\r
5651         "name": "break",\r
5652         "xml": "<break>\n",\r
5653         "comments": "",\r
5654         "x": 6625.450927734375,\r
5655         "y": 5648.800018310547,\r
5656         "z": "8bd89607.6248d8",\r
5657         "wires": []\r
5658     },\r
5659     {\r
5660         "id": "cc595a48.1912e8",\r
5661         "type": "block",\r
5662         "name": "block",\r
5663         "xml": "<block>\n",\r
5664         "atomic": "false",\r
5665         "comments": "",\r
5666         "outputs": 1,\r
5667         "x": 3854.88330078125,\r
5668         "y": 3537.999969482422,\r
5669         "z": "8bd89607.6248d8",\r
5670         "wires": [\r
5671             [\r
5672                 "eec6a040.1af03",\r
5673                 "d560f701.2c7f08"\r
5674             ]\r
5675         ]\r
5676     },\r
5677     {\r
5678         "id": "eec6a040.1af03",\r
5679         "type": "set",\r
5680         "name": "set tmp.mmUNI-id-long",\r
5681         "xml": "<set>\n<parameter name='tmp.mmUNI-id-long' value='`$middle-man-conn.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5682         "comments": "",\r
5683         "x": 4045.466552734375,\r
5684         "y": 3480.800018310547,\r
5685         "z": "8bd89607.6248d8",\r
5686         "wires": []\r
5687     },\r
5688     {\r
5689         "id": "d560f701.2c7f08",\r
5690         "type": "switchNode",\r
5691         "name": "switch tmp.mmUNI-id-long != ROOT UNI",\r
5692         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.ROOT.uni-p-interface-long`\">\n\n",\r
5693         "comments": "",\r
5694         "outputs": 1,\r
5695         "x": 4092.466552734375,\r
5696         "y": 3551.800018310547,\r
5697         "z": "8bd89607.6248d8",\r
5698         "wires": [\r
5699             [\r
5700                 "70d2875.2f53ff8",\r
5701                 "b1bb56dc.337f2"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "70d2875.2f53ff8",\r
5707         "type": "outcomeFalse",\r
5708         "name": "false",\r
5709         "xml": "<outcome value='false'>\n",\r
5710         "comments": "",\r
5711         "outputs": 1,\r
5712         "x": 4330.884033203125,\r
5713         "y": 3510.999969482422,\r
5714         "z": "8bd89607.6248d8",\r
5715         "wires": [\r
5716             [\r
5717                 "f216f825.2991a8"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "b1bb56dc.337f2",\r
5723         "type": "outcomeTrue",\r
5724         "name": "true",\r
5725         "xml": "<outcome value='true'>\n",\r
5726         "comments": "",\r
5727         "outputs": 1,\r
5728         "x": 4337.884246826172,\r
5729         "y": 3567.9999389648438,\r
5730         "z": "8bd89607.6248d8",\r
5731         "wires": [\r
5732             [\r
5733                 "28b93260.26eace"\r
5734             ]\r
5735         ]\r
5736     },\r
5737     {\r
5738         "id": "f216f825.2991a8",\r
5739         "type": "block",\r
5740         "name": "block",\r
5741         "xml": "<block>\n",\r
5742         "atomic": "false",\r
5743         "comments": "",\r
5744         "outputs": 1,\r
5745         "x": 4458.884521484375,\r
5746         "y": 3506.999969482422,\r
5747         "z": "8bd89607.6248d8",\r
5748         "wires": [\r
5749             []\r
5750         ]\r
5751     },\r
5752     {\r
5753         "id": "b9e9be73.6c3be",\r
5754         "type": "set",\r
5755         "name": "set tmp.MMonlyHasROOT to TRUE",\r
5756         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='true' />\n",\r
5757         "comments": "",\r
5758         "x": 3314.083251953125,\r
5759         "y": 3465.400115966797,\r
5760         "z": "8bd89607.6248d8",\r
5761         "wires": []\r
5762     },\r
5763     {\r
5764         "id": "d7647a1a.599238",\r
5765         "type": "set",\r
5766         "name": "set tmp.MMonlyHasROOT to FALSE",\r
5767         "xml": "<set>\n<parameter name='tmp.MMonlyHasROOT' value='false' />\n",\r
5768         "comments": "",\r
5769         "x": 5295.91748046875,\r
5770         "y": 3467.400146484375,\r
5771         "z": "8bd89607.6248d8",\r
5772         "wires": []\r
5773     },\r
5774     {\r
5775         "id": "1414f243.3459be",\r
5776         "type": "block",\r
5777         "name": "block : atomic",\r
5778         "xml": "<block atomic=\"true\">",\r
5779         "atomic": "true",\r
5780         "outputs": 1,\r
5781         "x": 4407.6669921875,\r
5782         "y": 3987.616668701172,\r
5783         "z": "8bd89607.6248d8",\r
5784         "wires": [\r
5785             [\r
5786                 "45f92202.e9d224",\r
5787                 "9274acbb.bb64f"\r
5788             ]\r
5789         ]\r
5790     },\r
5791     {\r
5792         "id": "45f92202.e9d224",\r
5793         "type": "set",\r
5794         "name": "set tmp.uni.id",\r
5795         "xml": "<set>\n<parameter name='tmp.uni.id' value='`$tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value`' />\n",\r
5796         "comments": "",\r
5797         "x": 4580.5498046875,\r
5798         "y": 3983.276336669922,\r
5799         "z": "8bd89607.6248d8",\r
5800         "wires": []\r
5801     },\r
5802     {\r
5803         "id": "9274acbb.bb64f",\r
5804         "type": "save",\r
5805         "name": "get uni from aai",\r
5806         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.uni.id\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.uni\" >\n\n",\r
5807         "comments": "",\r
5808         "outputs": 1,\r
5809         "x": 4583.5498046875,\r
5810         "y": 4030.276336669922,\r
5811         "z": "8bd89607.6248d8",\r
5812         "wires": [\r
5813             [\r
5814                 "4b44a73a.87e16",\r
5815                 "13d9fc09.409024",\r
5816                 "52115c05.c8dcf4"\r
5817             ]\r
5818         ]\r
5819     },\r
5820     {\r
5821         "id": "4b44a73a.87e16",\r
5822         "type": "success",\r
5823         "name": "success",\r
5824         "xml": "<outcome value='success'>\n",\r
5825         "comments": "",\r
5826         "outputs": 1,\r
5827         "x": 4755.5498046875,\r
5828         "y": 4014.276336669922,\r
5829         "z": "8bd89607.6248d8",\r
5830         "wires": [\r
5831             [\r
5832                 "40f66b99.edebbc"\r
5833             ]\r
5834         ]\r
5835     },\r
5836     {\r
5837         "id": "13d9fc09.409024",\r
5838         "type": "not-found",\r
5839         "name": "not-found",\r
5840         "xml": "<outcome value='not-found'>\n",\r
5841         "comments": "",\r
5842         "outputs": 1,\r
5843         "x": 4756.040771484375,\r
5844         "y": 4059.850372314453,\r
5845         "z": "8bd89607.6248d8",\r
5846         "wires": [\r
5847             []\r
5848         ]\r
5849     },\r
5850     {\r
5851         "id": "52115c05.c8dcf4",\r
5852         "type": "failure",\r
5853         "name": "failure",\r
5854         "xml": "<outcome value='failure'>\n",\r
5855         "comments": "",\r
5856         "outputs": 1,\r
5857         "x": 4756.5498046875,\r
5858         "y": 4100.276336669922,\r
5859         "z": "8bd89607.6248d8",\r
5860         "wires": [\r
5861             []\r
5862         ]\r
5863     },\r
5864     {\r
5865         "id": "40f66b99.edebbc",\r
5866         "type": "block",\r
5867         "name": "block : atomic",\r
5868         "xml": "<block atomic='true'>",\r
5869         "atomic": "true",\r
5870         "comments": "",\r
5871         "outputs": 1,\r
5872         "x": 4916.5498046875,\r
5873         "y": 4010.276336669922,\r
5874         "z": "8bd89607.6248d8",\r
5875         "wires": [\r
5876             [\r
5877                 "de7bc652.3681b8",\r
5878                 "eebe95d8.077038",\r
5879                 "efb01679.580728"\r
5880             ]\r
5881         ]\r
5882     },\r
5883     {\r
5884         "id": "f38b6801.52bee8",\r
5885         "type": "comment",\r
5886         "name": "find the node part of the uni.id (uni-tp-id-node-part)",\r
5887         "info": "",\r
5888         "comments": "",\r
5889         "x": 5249.5498046875,\r
5890         "y": 3941.276336669922,\r
5891         "z": "8bd89607.6248d8",\r
5892         "wires": []\r
5893     },\r
5894     {\r
5895         "id": "eebe95d8.077038",\r
5896         "type": "execute",\r
5897         "name": "execute split id to get pnf-name",\r
5898         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.uni.id`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-uni-pnfName\"/>\n\n",\r
5899         "comments": "",\r
5900         "outputs": 1,\r
5901         "x": 5184.5498046875,\r
5902         "y": 3998.276336669922,\r
5903         "z": "8bd89607.6248d8",\r
5904         "wires": [\r
5905             [\r
5906                 "20f99809.a45e68",\r
5907                 "f98fd083.5f84c"\r
5908             ]\r
5909         ]\r
5910     },\r
5911     {\r
5912         "id": "f98fd083.5f84c",\r
5913         "type": "failure",\r
5914         "name": "success",\r
5915         "xml": "<outcome value='success'>\n",\r
5916         "comments": "",\r
5917         "outputs": 1,\r
5918         "x": 5407.5498046875,\r
5919         "y": 3984.276336669922,\r
5920         "z": "8bd89607.6248d8",\r
5921         "wires": [\r
5922             [\r
5923                 "e9001fe4.5ec9"\r
5924             ]\r
5925         ]\r
5926     },\r
5927     {\r
5928         "id": "20f99809.a45e68",\r
5929         "type": "failure",\r
5930         "name": "failure",\r
5931         "xml": "<outcome value='failure'>\n",\r
5932         "comments": "",\r
5933         "outputs": 1,\r
5934         "x": 5409.5498046875,\r
5935         "y": 4017.276336669922,\r
5936         "z": "8bd89607.6248d8",\r
5937         "wires": [\r
5938             [\r
5939                 "c4ea9853.8f7b9"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "e9001fe4.5ec9",\r
5945         "type": "block",\r
5946         "name": "block : atomic",\r
5947         "xml": "<block atomic=\"true\">",\r
5948         "atomic": "true",\r
5949         "outputs": 1,\r
5950         "x": 5555.5498046875,\r
5951         "y": 3977.276336669922,\r
5952         "z": "8bd89607.6248d8",\r
5953         "wires": [\r
5954             [\r
5955                 "efdb6ef0.5c83c"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "c4ea9853.8f7b9",\r
5961         "type": "returnFailure",\r
5962         "name": "return failure",\r
5963         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
5964         "comments": "",\r
5965         "x": 5552.5498046875,\r
5966         "y": 4014.276336669922,\r
5967         "z": "8bd89607.6248d8",\r
5968         "wires": []\r
5969     },\r
5970     {\r
5971         "id": "efdb6ef0.5c83c",\r
5972         "type": "set",\r
5973         "name": "set pnf-name",\r
5974         "xml": "<set>\n<parameter name='tmp.uni.pnf-name' value=\"`$param-prefix-uni-pnfName[0] + '-' +\n                                                   $param-prefix-uni-pnfName[1] + '-' +\n                                                   $param-prefix-uni-pnfName[2] + '-' +\n                                                   $param-prefix-uni-pnfName[3] + '-' +\n                                                   $param-prefix-uni-pnfName[4] + '-' +\n                                                   $param-prefix-uni-pnfName[5] + '-' +\n                                                   $param-prefix-uni-pnfName[6] + '-' +\n                                                   $param-prefix-uni-pnfName[7] + '-' +\n                                                   $param-prefix-uni-pnfName[8]`\" />\n",\r
5975         "comments": "",\r
5976         "x": 5732.5498046875,\r
5977         "y": 3977.276336669922,\r
5978         "z": "8bd89607.6248d8",\r
5979         "wires": []\r
5980     },\r
5981     {\r
5982         "id": "de7bc652.3681b8",\r
5983         "type": "switchNode",\r
5984         "name": "switch uni-tp-id-node-part is the same as the LEAF node",\r
5985         "xml": "<switch test='`$tmp.uni.pnf-name == $tmp.LEAF.pnf-name-long`'>\n",\r
5986         "comments": "",\r
5987         "outputs": 1,\r
5988         "x": 5228.5498046875,\r
5989         "y": 4132.276336669922,\r
5990         "z": "8bd89607.6248d8",\r
5991         "wires": [\r
5992             [\r
5993                 "7639ee60.41df3",\r
5994                 "7e06cc80.35387c"\r
5995             ]\r
5996         ]\r
5997     },\r
5998     {\r
5999         "id": "7639ee60.41df3",\r
6000         "type": "outcomeFalse",\r
6001         "name": "false",\r
6002         "xml": "<outcome value='false'>\n",\r
6003         "comments": "",\r
6004         "outputs": 1,\r
6005         "x": 5509.5498046875,\r
6006         "y": 4109.276336669922,\r
6007         "z": "8bd89607.6248d8",\r
6008         "wires": [\r
6009             [\r
6010                 "d6573f78.845c78"\r
6011             ]\r
6012         ]\r
6013     },\r
6014     {\r
6015         "id": "7e06cc80.35387c",\r
6016         "type": "outcomeTrue",\r
6017         "name": "true",\r
6018         "xml": "<outcome value='true'>\n",\r
6019         "comments": "",\r
6020         "outputs": 1,\r
6021         "x": 5502.5498046875,\r
6022         "y": 4168.276336669922,\r
6023         "z": "8bd89607.6248d8",\r
6024         "wires": [\r
6025             [\r
6026                 "14bc3378.1253a5"\r
6027             ]\r
6028         ]\r
6029     },\r
6030     {\r
6031         "id": "d6573f78.845c78",\r
6032         "type": "block",\r
6033         "name": "block",\r
6034         "xml": "<block>\n",\r
6035         "atomic": "false",\r
6036         "comments": "",\r
6037         "outputs": 1,\r
6038         "x": 5639.5498046875,\r
6039         "y": 4113.276336669922,\r
6040         "z": "8bd89607.6248d8",\r
6041         "wires": [\r
6042             []\r
6043         ]\r
6044     },\r
6045     {\r
6046         "id": "14bc3378.1253a5",\r
6047         "type": "block",\r
6048         "name": "block : atomic",\r
6049         "xml": "<block atomic='true'>",\r
6050         "atomic": "true",\r
6051         "comments": "",\r
6052         "outputs": 1,\r
6053         "x": 5644.5498046875,\r
6054         "y": 4167.276336669922,\r
6055         "z": "8bd89607.6248d8",\r
6056         "wires": [\r
6057             [\r
6058                 "f0b195ca.19df6",\r
6059                 "fec7cdec.3f23"\r
6060             ]\r
6061         ]\r
6062     },\r
6063     {\r
6064         "id": "f0b195ca.19df6",\r
6065         "type": "set",\r
6066         "name": "set no-pce-call",\r
6067         "xml": "<set>\n<parameter name='no-pce-call' value=\"true\" />\n",\r
6068         "comments": "",\r
6069         "x": 5836.5498046875,\r
6070         "y": 4134.276336669922,\r
6071         "z": "8bd89607.6248d8",\r
6072         "wires": []\r
6073     },\r
6074     {\r
6075         "id": "14cfe3f0.60188c",\r
6076         "type": "set",\r
6077         "name": "set middle-man-conn",\r
6078         "xml": "<set>\n<parameter name='middle-man-conn.' value='`$tmp.aai.all-connectivities.connectivity[$connidx].`' />\n",\r
6079         "comments": "",\r
6080         "x": 5852.5498046875,\r
6081         "y": 4186.276336669922,\r
6082         "z": "8bd89607.6248d8",\r
6083         "wires": []\r
6084     },\r
6085     {\r
6086         "id": "fec7cdec.3f23",\r
6087         "type": "set",\r
6088         "name": "set tmp.stillHasUni and tmp.keepVPNBs to TRUE",\r
6089         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n<parameter name='tmp.keepVPNBs' value='true' />\n",\r
6090         "comments": "",\r
6091         "x": 5870.83349609375,\r
6092         "y": 4255.866668701172,\r
6093         "z": "8bd89607.6248d8",\r
6094         "wires": []\r
6095     },\r
6096     {\r
6097         "id": "efb01679.580728",\r
6098         "type": "set",\r
6099         "name": "set tmp.stillHasUni to TRUE",\r
6100         "xml": "<set>\n<parameter name='tmp.stillHasUni' value='true' />\n",\r
6101         "comments": "",\r
6102         "x": 5147.533203125,\r
6103         "y": 4081.766571044922,\r
6104         "z": "8bd89607.6248d8",\r
6105         "wires": []\r
6106     },\r
6107     {\r
6108         "id": "16d898b2.82d4af",\r
6109         "type": "switchNode",\r
6110         "name": "switch tmp.stillHasUni?",\r
6111         "xml": "\n<switch test=\"`$tmp.stillHasUni`\">\n\n",\r
6112         "comments": "",\r
6113         "outputs": 1,\r
6114         "x": 383.7339172363281,\r
6115         "y": 5351.966278076172,\r
6116         "z": "8bd89607.6248d8",\r
6117         "wires": [\r
6118             [\r
6119                 "2ef37de6.fb696a",\r
6120                 "d4b46a3b.e544d"\r
6121             ]\r
6122         ]\r
6123     },\r
6124     {\r
6125         "id": "bb7a24ed.4756b",\r
6126         "type": "save",\r
6127         "name": "get root uni from aai",\r
6128         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.rootuni\" >\n",\r
6129         "comments": "",\r
6130         "outputs": 1,\r
6131         "x": 4288.516357421875,\r
6132         "y": 5515.850067138672,\r
6133         "z": "8bd89607.6248d8",\r
6134         "wires": [\r
6135             [\r
6136                 "b93cd05c.18e338",\r
6137                 "28c478b5.8c3cf",\r
6138                 "ad4069fd.35ec2"\r
6139             ]\r
6140         ]\r
6141     },\r
6142     {\r
6143         "id": "cd789bfb.94ca8",\r
6144         "type": "comment",\r
6145         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
6146         "info": "",\r
6147         "comments": "",\r
6148         "x": 4286.516845703125,\r
6149         "y": 5467.850311279297,\r
6150         "z": "8bd89607.6248d8",\r
6151         "wires": []\r
6152     },\r
6153     {\r
6154         "id": "f7d2d4f8.f1e648",\r
6155         "type": "save",\r
6156         "name": "update ROOT UNI in AAI",\r
6157         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
6158         "comments": "",\r
6159         "outputs": 1,\r
6160         "x": 4903.5166015625,\r
6161         "y": 5585.850311279297,\r
6162         "z": "8bd89607.6248d8",\r
6163         "wires": [\r
6164             []\r
6165         ]\r
6166     },\r
6167     {\r
6168         "id": "28c478b5.8c3cf",\r
6169         "type": "not-found",\r
6170         "name": "not-found",\r
6171         "xml": "<outcome value='not-found'>\n",\r
6172         "comments": "",\r
6173         "outputs": 1,\r
6174         "x": 4506.007568359375,\r
6175         "y": 5486.424285888672,\r
6176         "z": "8bd89607.6248d8",\r
6177         "wires": [\r
6178             [\r
6179                 "4927866f.a84e1"\r
6180             ]\r
6181         ]\r
6182     },\r
6183     {\r
6184         "id": "ad4069fd.35ec2",\r
6185         "type": "failure",\r
6186         "name": "failure",\r
6187         "xml": "<outcome value='failure'>\n",\r
6188         "comments": "",\r
6189         "outputs": 1,\r
6190         "x": 4501.5166015625,\r
6191         "y": 5530.850250244141,\r
6192         "z": "8bd89607.6248d8",\r
6193         "wires": [\r
6194             [\r
6195                 "c4a31719.674e"\r
6196             ]\r
6197         ]\r
6198     },\r
6199     {\r
6200         "id": "4927866f.a84e1",\r
6201         "type": "returnFailure",\r
6202         "name": "return failure",\r
6203         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
6204         "comments": "",\r
6205         "x": 4668.5791015625,\r
6206         "y": 5485.709991455078,\r
6207         "z": "8bd89607.6248d8",\r
6208         "wires": []\r
6209     },\r
6210     {\r
6211         "id": "c4a31719.674e",\r
6212         "type": "returnFailure",\r
6213         "name": "return failure",\r
6214         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6215         "comments": "",\r
6216         "x": 4669.5166015625,\r
6217         "y": 5530.850250244141,\r
6218         "z": "8bd89607.6248d8",\r
6219         "wires": []\r
6220     },\r
6221     {\r
6222         "id": "f08cda49.ab7188",\r
6223         "type": "block",\r
6224         "name": "block : atomic",\r
6225         "xml": "<block atomic=\"true\">",\r
6226         "atomic": "true",\r
6227         "outputs": 1,\r
6228         "x": 4666.5166015625,\r
6229         "y": 5580.850311279297,\r
6230         "z": "8bd89607.6248d8",\r
6231         "wires": [\r
6232             [\r
6233                 "ed324322.59277",\r
6234                 "f7d2d4f8.f1e648"\r
6235             ]\r
6236         ]\r
6237     },\r
6238     {\r
6239         "id": "b93cd05c.18e338",\r
6240         "type": "success",\r
6241         "name": "success",\r
6242         "xml": "<outcome value='success'>\n",\r
6243         "comments": "",\r
6244         "outputs": 1,\r
6245         "x": 4497.5166015625,\r
6246         "y": 5580.850311279297,\r
6247         "z": "8bd89607.6248d8",\r
6248         "wires": [\r
6249             [\r
6250                 "f08cda49.ab7188"\r
6251             ]\r
6252         ]\r
6253     },\r
6254     {\r
6255         "id": "ed324322.59277",\r
6256         "type": "set",\r
6257         "name": "set new bw",\r
6258         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $bwToBeDecreased`' />\n",\r
6259         "comments": "",\r
6260         "x": 4859.517578125,\r
6261         "y": 5505.850311279297,\r
6262         "z": "8bd89607.6248d8",\r
6263         "wires": []\r
6264     },\r
6265     {\r
6266         "id": "61d36925.a62e",\r
6267         "type": "comment",\r
6268         "name": "Update connectivity status to modified",\r
6269         "info": "",\r
6270         "comments": "",\r
6271         "x": 5288.216796875,\r
6272         "y": 5443.616912841797,\r
6273         "z": "8bd89607.6248d8",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "31a9971.ad96268",\r
6278         "type": "save",\r
6279         "name": "update ROOT connectivity resource in AAI",\r
6280         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
6281         "comments": "",\r
6282         "outputs": 1,\r
6283         "x": 5314,\r
6284         "y": 5485.817108154297,\r
6285         "z": "8bd89607.6248d8",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "2ef37de6.fb696a",\r
6292         "type": "outcomeFalse",\r
6293         "name": "false",\r
6294         "xml": "<outcome value='false'>\n",\r
6295         "comments": "",\r
6296         "outputs": 1,\r
6297         "x": 567.8836059570312,\r
6298         "y": 5402.999969482422,\r
6299         "z": "8bd89607.6248d8",\r
6300         "wires": [\r
6301             [\r
6302                 "97fb2b7.67063d8"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "d4b46a3b.e544d",\r
6308         "type": "outcomeTrue",\r
6309         "name": "true",\r
6310         "xml": "<outcome value='true'>\n",\r
6311         "comments": "",\r
6312         "outputs": 1,\r
6313         "x": 550.883544921875,\r
6314         "y": 5324.999969482422,\r
6315         "z": "8bd89607.6248d8",\r
6316         "wires": [\r
6317             [\r
6318                 "d28cabbc.30ca5"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "4a0919d1.fbc9d8",\r
6324         "type": "block",\r
6325         "name": "block",\r
6326         "xml": "<block>\n",\r
6327         "atomic": "false",\r
6328         "comments": "",\r
6329         "outputs": 1,\r
6330         "x": 679.8833923339844,\r
6331         "y": 4411.999694824219,\r
6332         "z": "8bd89607.6248d8",\r
6333         "wires": [\r
6334             [\r
6335                 "551f2a9f.a9466c",\r
6336                 "6f7adb55.d0de94",\r
6337                 "7279f474.ca532c",\r
6338                 "c28774e0.0f37e8",\r
6339                 "fd804c17.d00668",\r
6340                 "6504876a.65a0e",\r
6341                 "d39caf18.6babe"\r
6342             ]\r
6343         ]\r
6344     },\r
6345     {\r
6346         "id": "551f2a9f.a9466c",\r
6347         "type": "set",\r
6348         "name": "set tmp.leafconn.",\r
6349         "xml": "<set>\n<parameter name='tmp.leafconn.' value='`$tmp.the-connectivity.`' />\n",\r
6350         "comments": "",\r
6351         "x": 931.5667419433594,\r
6352         "y": 4390.049499511719,\r
6353         "z": "8bd89607.6248d8",\r
6354         "wires": []\r
6355     },\r
6356     {\r
6357         "id": "1a5de4c8.98ba3b",\r
6358         "type": "comment",\r
6359         "name": "Find LEAF and ROOT connectivities and remove UNI from PNC",\r
6360         "info": "",\r
6361         "comments": "",\r
6362         "x": 1033.1338806152344,\r
6363         "y": 4338.132995605469,\r
6364         "z": "8bd89607.6248d8",\r
6365         "wires": []\r
6366     },\r
6367     {\r
6368         "id": "35555086.07bd08",\r
6369         "type": "set",\r
6370         "name": "set pnf-name",\r
6371         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.leafconn.access-provider-id + '-clientId-' +\n                                                   $tmp.leafconn.access-client-id + '-topologyId-' +\n                                                   $tmp.leafconn.access-topology-id + '-nodeId-' +\n                                                   $tmp.leafconn.access-node-id`\" />\n",\r
6372         "comments": "",\r
6373         "x": 1140.9837341308594,\r
6374         "y": 4419.333190917969,\r
6375         "z": "8bd89607.6248d8",\r
6376         "wires": []\r
6377     },\r
6378     {\r
6379         "id": "6f7adb55.d0de94",\r
6380         "type": "block",\r
6381         "name": "block : atomic",\r
6382         "xml": "<block atomic=\"true\">",\r
6383         "atomic": "true",\r
6384         "outputs": 1,\r
6385         "x": 911.9837341308594,\r
6386         "y": 4508.333190917969,\r
6387         "z": "8bd89607.6248d8",\r
6388         "wires": [\r
6389             [\r
6390                 "35555086.07bd08",\r
6391                 "f6475b04.522d68"\r
6392             ]\r
6393         ]\r
6394     },\r
6395     {\r
6396         "id": "f6475b04.522d68",\r
6397         "type": "get-resource",\r
6398         "name": "get-resource src pnf",\r
6399         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
6400         "comments": "",\r
6401         "outputs": 1,\r
6402         "x": 1147.9837341308594,\r
6403         "y": 4501.333190917969,\r
6404         "z": "8bd89607.6248d8",\r
6405         "wires": [\r
6406             [\r
6407                 "d9d0b846.fc4eb",\r
6408                 "859bebef.e15268",\r
6409                 "82bf3fe2.ca776"\r
6410             ]\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "d9d0b846.fc4eb",\r
6415         "type": "success",\r
6416         "name": "success",\r
6417         "xml": "<outcome value='success'>\n",\r
6418         "comments": "",\r
6419         "outputs": 1,\r
6420         "x": 1343.4838562011719,\r
6421         "y": 4453.333190917969,\r
6422         "z": "8bd89607.6248d8",\r
6423         "wires": [\r
6424             [\r
6425                 "54e66745.d0a218"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "859bebef.e15268",\r
6431         "type": "not-found",\r
6432         "name": "not-found",\r
6433         "xml": "<outcome value='not-found'>\n",\r
6434         "comments": "",\r
6435         "outputs": 1,\r
6436         "x": 1335.4838562011719,\r
6437         "y": 4508.333190917969,\r
6438         "z": "8bd89607.6248d8",\r
6439         "wires": [\r
6440             [\r
6441                 "6c2244a0.55dae4"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "54e66745.d0a218",\r
6447         "type": "block",\r
6448         "name": "block",\r
6449         "xml": "<block>\n",\r
6450         "atomic": "false",\r
6451         "comments": "",\r
6452         "outputs": 1,\r
6453         "x": 1487.8661804199219,\r
6454         "y": 4452.988861083984,\r
6455         "z": "8bd89607.6248d8",\r
6456         "wires": [\r
6457             [\r
6458                 "c5450793.0d4ff8"\r
6459             ]\r
6460         ]\r
6461     },\r
6462     {\r
6463         "id": "c5450793.0d4ff8",\r
6464         "type": "for",\r
6465         "name": "for each relationship",\r
6466         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
6467         "comments": "",\r
6468         "outputs": 1,\r
6469         "x": 1671.9837341308594,\r
6470         "y": 4451.333190917969,\r
6471         "z": "8bd89607.6248d8",\r
6472         "wires": [\r
6473             [\r
6474                 "8c14dfae.797ac"\r
6475             ]\r
6476         ]\r
6477     },\r
6478     {\r
6479         "id": "8c14dfae.797ac",\r
6480         "type": "switchNode",\r
6481         "name": "switch related-to",\r
6482         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
6483         "comments": "",\r
6484         "outputs": 1,\r
6485         "x": 1866.9837341308594,\r
6486         "y": 4451.333190917969,\r
6487         "z": "8bd89607.6248d8",\r
6488         "wires": [\r
6489             [\r
6490                 "2cd4e727.640d2"\r
6491             ]\r
6492         ]\r
6493     },\r
6494     {\r
6495         "id": "82bf3fe2.ca776",\r
6496         "type": "other",\r
6497         "name": "other",\r
6498         "xml": "<outcome value='Other'>\n",\r
6499         "comments": "",\r
6500         "outputs": 1,\r
6501         "x": 1340.4838562011719,\r
6502         "y": 4565.333190917969,\r
6503         "z": "8bd89607.6248d8",\r
6504         "wires": [\r
6505             [\r
6506                 "1f28baf3.4c601d"\r
6507             ]\r
6508         ]\r
6509     },\r
6510     {\r
6511         "id": "1f28baf3.4c601d",\r
6512         "type": "returnFailure",\r
6513         "name": "return failure",\r
6514         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6515         "comments": "",\r
6516         "x": 1492.4838562011719,\r
6517         "y": 4566.333190917969,\r
6518         "z": "8bd89607.6248d8",\r
6519         "wires": []\r
6520     },\r
6521     {\r
6522         "id": "6c2244a0.55dae4",\r
6523         "type": "returnFailure",\r
6524         "name": "return failure",\r
6525         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6526         "comments": "",\r
6527         "x": 1503.4838562011719,\r
6528         "y": 4509.333190917969,\r
6529         "z": "8bd89607.6248d8",\r
6530         "wires": []\r
6531     },\r
6532     {\r
6533         "id": "c7d8a4a1.11fab",\r
6534         "type": "block",\r
6535         "name": "block : atomic",\r
6536         "xml": "<block atomic=\"true\">",\r
6537         "atomic": "true",\r
6538         "outputs": 1,\r
6539         "x": 2248.9837341308594,\r
6540         "y": 4455.333190917969,\r
6541         "z": "8bd89607.6248d8",\r
6542         "wires": [\r
6543             [\r
6544                 "51d3a91c.c42e68",\r
6545                 "d0954d9b.2799a8",\r
6546                 "454e24ff.d6924c"\r
6547             ]\r
6548         ]\r
6549     },\r
6550     {\r
6551         "id": "2cd4e727.640d2",\r
6552         "type": "outcome",\r
6553         "name": "esr-thirdparty-sdnc",\r
6554         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
6555         "comments": "",\r
6556         "outputs": 1,\r
6557         "x": 2069.9837341308594,\r
6558         "y": 4455.333190917969,\r
6559         "z": "8bd89607.6248d8",\r
6560         "wires": [\r
6561             [\r
6562                 "c7d8a4a1.11fab"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "7279f474.ca532c",\r
6568         "type": "execute",\r
6569         "name": "execute RestApiCallNode Delete LEAF UNI of ethernet Service without token",\r
6570         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/etht-svc-end-points=' + $tmp.LEAF.uni-p-interface-long`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
6571         "comments": "",\r
6572         "outputs": 1,\r
6573         "x": 1053.4839782714844,\r
6574         "y": 4612.932800292969,\r
6575         "z": "8bd89607.6248d8",\r
6576         "wires": [\r
6577             [\r
6578                 "63493229.c5487c",\r
6579                 "9b59a379.ae234"\r
6580             ]\r
6581         ]\r
6582     },\r
6583     {\r
6584         "id": "9b59a379.ae234",\r
6585         "type": "success",\r
6586         "name": "success",\r
6587         "xml": "<outcome value='success'>\n",\r
6588         "comments": "",\r
6589         "outputs": 1,\r
6590         "x": 1417.9837341308594,\r
6591         "y": 4660.932800292969,\r
6592         "z": "8bd89607.6248d8",\r
6593         "wires": [\r
6594             [\r
6595                 "7641260e.a4325"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "63493229.c5487c",\r
6601         "type": "failure",\r
6602         "name": "failure",\r
6603         "xml": "<outcome value='failure'>\n",\r
6604         "comments": "",\r
6605         "outputs": 1,\r
6606         "x": 1413.9837341308594,\r
6607         "y": 4620.932800292969,\r
6608         "z": "8bd89607.6248d8",\r
6609         "wires": [\r
6610             [\r
6611                 "3e92540.7763d2c"\r
6612             ]\r
6613         ]\r
6614     },\r
6615     {\r
6616         "id": "3e92540.7763d2c",\r
6617         "type": "returnFailure",\r
6618         "name": "return failure",\r
6619         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
6620         "comments": "",\r
6621         "x": 1571.9837341308594,\r
6622         "y": 4620.932800292969,\r
6623         "z": "8bd89607.6248d8",\r
6624         "wires": []\r
6625     },\r
6626     {\r
6627         "id": "7641260e.a4325",\r
6628         "type": "block",\r
6629         "name": "block : atomic",\r
6630         "xml": "<block atomic=\"true\">",\r
6631         "atomic": "true",\r
6632         "comments": "",\r
6633         "outputs": 1,\r
6634         "x": 1575.4837341308594,\r
6635         "y": 4660.932800292969,\r
6636         "z": "8bd89607.6248d8",\r
6637         "wires": [\r
6638             []\r
6639         ]\r
6640     },\r
6641     {\r
6642         "id": "d0954d9b.2799a8",\r
6643         "type": "execute",\r
6644         "name": "get esr-thirdparty-sdnc",\r
6645         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
6646         "comments": "",\r
6647         "outputs": 1,\r
6648         "x": 2454.9837341308594,\r
6649         "y": 4468.333190917969,\r
6650         "z": "8bd89607.6248d8",\r
6651         "wires": [\r
6652             [\r
6653                 "53623639.5d8eb",\r
6654                 "11f800c8.cf014f",\r
6655                 "e0ce2e99.74a758"\r
6656             ]\r
6657         ]\r
6658     },\r
6659     {\r
6660         "id": "51d3a91c.c42e68",\r
6661         "type": "set",\r
6662         "name": "set esr-thirdparty-sdnc domain id",\r
6663         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
6664         "comments": "",\r
6665         "x": 2484.9837341308594,\r
6666         "y": 4416.333190917969,\r
6667         "z": "8bd89607.6248d8",\r
6668         "wires": []\r
6669     },\r
6670     {\r
6671         "id": "53623639.5d8eb",\r
6672         "type": "success",\r
6673         "name": "success",\r
6674         "xml": "<outcome value='success'>\n",\r
6675         "comments": "",\r
6676         "outputs": 1,\r
6677         "x": 2664.9837341308594,\r
6678         "y": 4459.333190917969,\r
6679         "z": "8bd89607.6248d8",\r
6680         "wires": [\r
6681             [\r
6682                 "73587898.c5bc6"\r
6683             ]\r
6684         ]\r
6685     },\r
6686     {\r
6687         "id": "11f800c8.cf014f",\r
6688         "type": "not-found",\r
6689         "name": "not-found",\r
6690         "xml": "<outcome value='not-found'>\n",\r
6691         "comments": "",\r
6692         "outputs": 1,\r
6693         "x": 2656.9837341308594,\r
6694         "y": 4514.333190917969,\r
6695         "z": "8bd89607.6248d8",\r
6696         "wires": [\r
6697             [\r
6698                 "7759dd63.3c0bd4"\r
6699             ]\r
6700         ]\r
6701     },\r
6702     {\r
6703         "id": "e0ce2e99.74a758",\r
6704         "type": "other",\r
6705         "name": "other",\r
6706         "xml": "<outcome value='Other'>\n",\r
6707         "comments": "",\r
6708         "outputs": 1,\r
6709         "x": 2661.9837341308594,\r
6710         "y": 4571.333190917969,\r
6711         "z": "8bd89607.6248d8",\r
6712         "wires": [\r
6713             [\r
6714                 "29744fd6.f0a3"\r
6715             ]\r
6716         ]\r
6717     },\r
6718     {\r
6719         "id": "29744fd6.f0a3",\r
6720         "type": "returnFailure",\r
6721         "name": "return failure",\r
6722         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6723         "comments": "",\r
6724         "x": 2813.9837341308594,\r
6725         "y": 4572.333190917969,\r
6726         "z": "8bd89607.6248d8",\r
6727         "wires": []\r
6728     },\r
6729     {\r
6730         "id": "7759dd63.3c0bd4",\r
6731         "type": "returnFailure",\r
6732         "name": "return failure",\r
6733         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
6734         "comments": "",\r
6735         "x": 2824.9837341308594,\r
6736         "y": 4517.333190917969,\r
6737         "z": "8bd89607.6248d8",\r
6738         "wires": []\r
6739     },\r
6740     {\r
6741         "id": "73587898.c5bc6",\r
6742         "type": "block",\r
6743         "name": "block",\r
6744         "xml": "<block>\n",\r
6745         "atomic": "false",\r
6746         "comments": "",\r
6747         "outputs": 1,\r
6748         "x": 2809.3660583496094,\r
6749         "y": 4456.988861083984,\r
6750         "z": "8bd89607.6248d8",\r
6751         "wires": [\r
6752             [\r
6753                 "2b6c0b59.4c3f54"\r
6754             ]\r
6755         ]\r
6756     },\r
6757     {\r
6758         "id": "2b6c0b59.4c3f54",\r
6759         "type": "set",\r
6760         "name": "set controller domain data",\r
6761         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
6762         "comments": "",\r
6763         "x": 3023.9837341308594,\r
6764         "y": 4453.333190917969,\r
6765         "z": "8bd89607.6248d8",\r
6766         "wires": []\r
6767     },\r
6768     {\r
6769         "id": "454e24ff.d6924c",\r
6770         "type": "break",\r
6771         "name": "break",\r
6772         "xml": "<break>\n",\r
6773         "comments": "",\r
6774         "x": 2404.9837341308594,\r
6775         "y": 4532.333190917969,\r
6776         "z": "8bd89607.6248d8",\r
6777         "wires": []\r
6778     },\r
6779     {\r
6780         "id": "c28774e0.0f37e8",\r
6781         "type": "call",\r
6782         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6783         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6784         "comments": "",\r
6785         "outputs": 1,\r
6786         "x": 1082.5667419433594,\r
6787         "y": 4833.049499511719,\r
6788         "z": "8bd89607.6248d8",\r
6789         "wires": [\r
6790             []\r
6791         ]\r
6792     },\r
6793     {\r
6794         "id": "fd804c17.d00668",\r
6795         "type": "switchNode",\r
6796         "name": "switch found-root-connectivity",\r
6797         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6798         "comments": "",\r
6799         "outputs": 1,\r
6800         "x": 897.5667419433594,\r
6801         "y": 4900.049499511719,\r
6802         "z": "8bd89607.6248d8",\r
6803         "wires": [\r
6804             [\r
6805                 "c90d3790.0c31f",\r
6806                 "b432c8fe.988cb"\r
6807             ]\r
6808         ]\r
6809     },\r
6810     {\r
6811         "id": "c90d3790.0c31f",\r
6812         "type": "outcomeTrue",\r
6813         "name": "true",\r
6814         "xml": "<outcome value='true'>\n",\r
6815         "comments": "",\r
6816         "outputs": 1,\r
6817         "x": 1162.5667419433594,\r
6818         "y": 4885.049499511719,\r
6819         "z": "8bd89607.6248d8",\r
6820         "wires": [\r
6821             [\r
6822                 "b12f48c6.75129"\r
6823             ]\r
6824         ]\r
6825     },\r
6826     {\r
6827         "id": "b432c8fe.988cb",\r
6828         "type": "outcomeFalse",\r
6829         "name": "false",\r
6830         "xml": "<outcome value='false'>\n",\r
6831         "comments": "",\r
6832         "outputs": 1,\r
6833         "x": 1158.5667419433594,\r
6834         "y": 4933.049499511719,\r
6835         "z": "8bd89607.6248d8",\r
6836         "wires": [\r
6837             [\r
6838                 "7a2784c6.a60bf4"\r
6839             ]\r
6840         ]\r
6841     },\r
6842     {\r
6843         "id": "b12f48c6.75129",\r
6844         "type": "block",\r
6845         "name": "block : atomic",\r
6846         "xml": "<block atomic='true'>",\r
6847         "atomic": "true",\r
6848         "comments": "",\r
6849         "outputs": 1,\r
6850         "x": 1318.5667419433594,\r
6851         "y": 4881.049499511719,\r
6852         "z": "8bd89607.6248d8",\r
6853         "wires": [\r
6854             [\r
6855                 "b537e67c.ce751"\r
6856             ]\r
6857         ]\r
6858     },\r
6859     {\r
6860         "id": "7a2784c6.a60bf4",\r
6861         "type": "returnFailure",\r
6862         "name": "return failure",\r
6863         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
6864         "comments": "",\r
6865         "x": 1306.5667419433594,\r
6866         "y": 4928.049499511719,\r
6867         "z": "8bd89607.6248d8",\r
6868         "wires": []\r
6869     },\r
6870     {\r
6871         "id": "5b301854.48435",\r
6872         "type": "comment",\r
6873         "name": "Update connectivity status to modified",\r
6874         "info": "",\r
6875         "comments": "",\r
6876         "x": 1587.4664001464844,\r
6877         "y": 4831.749694824219,\r
6878         "z": "8bd89607.6248d8",\r
6879         "wires": []\r
6880     },\r
6881     {\r
6882         "id": "b537e67c.ce751",\r
6883         "type": "save",\r
6884         "name": "update ROOT connectivity resource in AAI",\r
6885         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
6886         "comments": "",\r
6887         "outputs": 1,\r
6888         "x": 1613.2496032714844,\r
6889         "y": 4873.949890136719,\r
6890         "z": "8bd89607.6248d8",\r
6891         "wires": [\r
6892             []\r
6893         ]\r
6894     },\r
6895     {\r
6896         "id": "46575909.129948",\r
6897         "type": "call",\r
6898         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
6899         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
6900         "comments": "",\r
6901         "outputs": 1,\r
6902         "x": 1026.8833923339844,\r
6903         "y": 4147.316589355469,\r
6904         "z": "8bd89607.6248d8",\r
6905         "wires": [\r
6906             []\r
6907         ]\r
6908     },\r
6909     {\r
6910         "id": "d28cabbc.30ca5",\r
6911         "type": "block",\r
6912         "name": "block",\r
6913         "xml": "<block>\n",\r
6914         "atomic": "false",\r
6915         "comments": "",\r
6916         "outputs": 1,\r
6917         "x": 632.8834228515625,\r
6918         "y": 4151.999725341797,\r
6919         "z": "8bd89607.6248d8",\r
6920         "wires": [\r
6921             [\r
6922                 "46575909.129948",\r
6923                 "4a0919d1.fbc9d8"\r
6924             ]\r
6925         ]\r
6926     },\r
6927     {\r
6928         "id": "97fb2b7.67063d8",\r
6929         "type": "block",\r
6930         "name": "block",\r
6931         "xml": "<block>\n",\r
6932         "atomic": "false",\r
6933         "comments": "",\r
6934         "outputs": 1,\r
6935         "x": 716.3333740234375,\r
6936         "y": 5404.516571044922,\r
6937         "z": "8bd89607.6248d8",\r
6938         "wires": [\r
6939             [\r
6940                 "8c98b36e.448bc8",\r
6941                 "4b4a8b6f.30cb4c",\r
6942                 "232ef942.027ea6",\r
6943                 "9956c6b0.e8f5b"\r
6944             ]\r
6945         ]\r
6946     },\r
6947     {\r
6948         "id": "8c98b36e.448bc8",\r
6949         "type": "call",\r
6950         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-delete-VPNBs",\r
6951         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-delete-VPNBs' mode='sync' >\n\n",\r
6952         "comments": "",\r
6953         "outputs": 1,\r
6954         "x": 1077.7166748046875,\r
6955         "y": 5167.5166015625,\r
6956         "z": "8bd89607.6248d8",\r
6957         "wires": [\r
6958             []\r
6959         ]\r
6960     },\r
6961     {\r
6962         "id": "4b4a8b6f.30cb4c",\r
6963         "type": "save",\r
6964         "name": "delete LEAF connectivity resource in AAI",\r
6965         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id'>\n",\r
6966         "comments": "",\r
6967         "outputs": 1,\r
6968         "x": 988.7166748046875,\r
6969         "y": 5236.5166015625,\r
6970         "z": "8bd89607.6248d8",\r
6971         "wires": [\r
6972             []\r
6973         ]\r
6974     },\r
6975     {\r
6976         "id": "232ef942.027ea6",\r
6977         "type": "block",\r
6978         "name": "block : atomic",\r
6979         "xml": "<block atomic=\"true\">",\r
6980         "atomic": "true",\r
6981         "outputs": 1,\r
6982         "x": 879.88330078125,\r
6983         "y": 5471.5166015625,\r
6984         "z": "8bd89607.6248d8",\r
6985         "wires": [\r
6986             [\r
6987                 "3ef7ef40.ec34",\r
6988                 "afe6825d.3e4ed8",\r
6989                 "56fc7b03.ef7a34"\r
6990             ]\r
6991         ]\r
6992     },\r
6993     {\r
6994         "id": "8f4e88cb.a2731",\r
6995         "type": "execute",\r
6996         "name": "get esr-thirdparty-sdnc",\r
6997         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
6998         "comments": "",\r
6999         "outputs": 1,\r
7000         "x": 2588.882568359375,\r
7001         "y": 5396.5166015625,\r
7002         "z": "8bd89607.6248d8",\r
7003         "wires": [\r
7004             [\r
7005                 "4a46c897.331cf",\r
7006                 "c619cf4e.8ea4f8",\r
7007                 "c904c4c1.6a362"\r
7008             ]\r
7009         ]\r
7010     },\r
7011     {\r
7012         "id": "c656ce5c.18cf6",\r
7013         "type": "break",\r
7014         "name": "break",\r
7015         "xml": "<break>\n",\r
7016         "comments": "",\r
7017         "x": 2538.882568359375,\r
7018         "y": 5460.5166015625,\r
7019         "z": "8bd89607.6248d8",\r
7020         "wires": []\r
7021     },\r
7022     {\r
7023         "id": "c0938886.470a7",\r
7024         "type": "set",\r
7025         "name": "set esr-thirdparty-sdnc domain id",\r
7026         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
7027         "comments": "",\r
7028         "x": 2618.882568359375,\r
7029         "y": 5344.5166015625,\r
7030         "z": "8bd89607.6248d8",\r
7031         "wires": []\r
7032     },\r
7033     {\r
7034         "id": "4a46c897.331cf",\r
7035         "type": "success",\r
7036         "name": "success",\r
7037         "xml": "<outcome value='success'>\n",\r
7038         "comments": "",\r
7039         "outputs": 1,\r
7040         "x": 2906.8826904296875,\r
7041         "y": 5327.5166015625,\r
7042         "z": "8bd89607.6248d8",\r
7043         "wires": [\r
7044             [\r
7045                 "a7e4d7d8.d8bee"\r
7046             ]\r
7047         ]\r
7048     },\r
7049     {\r
7050         "id": "c619cf4e.8ea4f8",\r
7051         "type": "not-found",\r
7052         "name": "not-found",\r
7053         "xml": "<outcome value='not-found'>\n",\r
7054         "comments": "",\r
7055         "outputs": 1,\r
7056         "x": 2898.8826904296875,\r
7057         "y": 5382.5166015625,\r
7058         "z": "8bd89607.6248d8",\r
7059         "wires": [\r
7060             [\r
7061                 "8289ee53.c79808"\r
7062             ]\r
7063         ]\r
7064     },\r
7065     {\r
7066         "id": "c904c4c1.6a362",\r
7067         "type": "other",\r
7068         "name": "other",\r
7069         "xml": "<outcome value='Other'>\n",\r
7070         "comments": "",\r
7071         "outputs": 1,\r
7072         "x": 2903.8826904296875,\r
7073         "y": 5439.5166015625,\r
7074         "z": "8bd89607.6248d8",\r
7075         "wires": [\r
7076             [\r
7077                 "6baa18e0.e89e88"\r
7078             ]\r
7079         ]\r
7080     },\r
7081     {\r
7082         "id": "6baa18e0.e89e88",\r
7083         "type": "returnFailure",\r
7084         "name": "return failure",\r
7085         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7086         "comments": "",\r
7087         "x": 3055.8826904296875,\r
7088         "y": 5440.5166015625,\r
7089         "z": "8bd89607.6248d8",\r
7090         "wires": []\r
7091     },\r
7092     {\r
7093         "id": "8289ee53.c79808",\r
7094         "type": "returnFailure",\r
7095         "name": "return failure",\r
7096         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7097         "comments": "",\r
7098         "x": 3066.8826904296875,\r
7099         "y": 5385.5166015625,\r
7100         "z": "8bd89607.6248d8",\r
7101         "wires": []\r
7102     },\r
7103     {\r
7104         "id": "a7e4d7d8.d8bee",\r
7105         "type": "block",\r
7106         "name": "block",\r
7107         "xml": "<block>\n",\r
7108         "atomic": "false",\r
7109         "comments": "",\r
7110         "outputs": 1,\r
7111         "x": 3051.2650146484375,\r
7112         "y": 5325.172271728516,\r
7113         "z": "8bd89607.6248d8",\r
7114         "wires": [\r
7115             [\r
7116                 "ec15425b.c6de8"\r
7117             ]\r
7118         ]\r
7119     },\r
7120     {\r
7121         "id": "ec15425b.c6de8",\r
7122         "type": "set",\r
7123         "name": "set controller domain data",\r
7124         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
7125         "comments": "",\r
7126         "x": 3265.8826904296875,\r
7127         "y": 5321.5166015625,\r
7128         "z": "8bd89607.6248d8",\r
7129         "wires": []\r
7130     },\r
7131     {\r
7132         "id": "3ef7ef40.ec34",\r
7133         "type": "set",\r
7134         "name": "set pnf-name",\r
7135         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.the-connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.the-connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.the-connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.the-connectivity.access-node-id`\" />\n",\r
7136         "comments": "",\r
7137         "x": 1161.88330078125,\r
7138         "y": 5340.5166015625,\r
7139         "z": "8bd89607.6248d8",\r
7140         "wires": []\r
7141     },\r
7142     {\r
7143         "id": "a4339be5.b80c5",\r
7144         "type": "other",\r
7145         "name": "other",\r
7146         "xml": "<outcome value='Other'>\n",\r
7147         "comments": "",\r
7148         "outputs": 1,\r
7149         "x": 1372.3834228515625,\r
7150         "y": 5479.5166015625,\r
7151         "z": "8bd89607.6248d8",\r
7152         "wires": [\r
7153             [\r
7154                 "1127f42a.b3bf34"\r
7155             ]\r
7156         ]\r
7157     },\r
7158     {\r
7159         "id": "2e74a78.3df33d8",\r
7160         "type": "success",\r
7161         "name": "success",\r
7162         "xml": "<outcome value='success'>\n",\r
7163         "comments": "",\r
7164         "outputs": 1,\r
7165         "x": 1375.3834228515625,\r
7166         "y": 5367.5166015625,\r
7167         "z": "8bd89607.6248d8",\r
7168         "wires": [\r
7169             [\r
7170                 "5612018f.6df8"\r
7171             ]\r
7172         ]\r
7173     },\r
7174     {\r
7175         "id": "70a06659.f7e26",\r
7176         "type": "not-found",\r
7177         "name": "not-found",\r
7178         "xml": "<outcome value='not-found'>\n",\r
7179         "comments": "",\r
7180         "outputs": 1,\r
7181         "x": 1367.3834228515625,\r
7182         "y": 5422.5166015625,\r
7183         "z": "8bd89607.6248d8",\r
7184         "wires": [\r
7185             [\r
7186                 "f549eabc.91dae8"\r
7187             ]\r
7188         ]\r
7189     },\r
7190     {\r
7191         "id": "5612018f.6df8",\r
7192         "type": "block",\r
7193         "name": "block",\r
7194         "xml": "<block>\n",\r
7195         "atomic": "false",\r
7196         "comments": "",\r
7197         "outputs": 1,\r
7198         "x": 1509.765625,\r
7199         "y": 5362.17236328125,\r
7200         "z": "8bd89607.6248d8",\r
7201         "wires": [\r
7202             [\r
7203                 "e700427f.a90ed"\r
7204             ]\r
7205         ]\r
7206     },\r
7207     {\r
7208         "id": "1127f42a.b3bf34",\r
7209         "type": "returnFailure",\r
7210         "name": "return failure",\r
7211         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7212         "comments": "",\r
7213         "x": 1524.3834228515625,\r
7214         "y": 5480.5166015625,\r
7215         "z": "8bd89607.6248d8",\r
7216         "wires": []\r
7217     },\r
7218     {\r
7219         "id": "f549eabc.91dae8",\r
7220         "type": "returnFailure",\r
7221         "name": "return failure",\r
7222         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
7223         "comments": "",\r
7224         "x": 1535.3834228515625,\r
7225         "y": 5423.5166015625,\r
7226         "z": "8bd89607.6248d8",\r
7227         "wires": []\r
7228     },\r
7229     {\r
7230         "id": "e700427f.a90ed",\r
7231         "type": "for",\r
7232         "name": "for each relationship",\r
7233         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
7234         "comments": "",\r
7235         "outputs": 1,\r
7236         "x": 1696.8828125,\r
7237         "y": 5363.5166015625,\r
7238         "z": "8bd89607.6248d8",\r
7239         "wires": [\r
7240             [\r
7241                 "5799adae.feee0c"\r
7242             ]\r
7243         ]\r
7244     },\r
7245     {\r
7246         "id": "5799adae.feee0c",\r
7247         "type": "switchNode",\r
7248         "name": "switch related-to",\r
7249         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
7250         "comments": "",\r
7251         "outputs": 1,\r
7252         "x": 1924.8828125,\r
7253         "y": 5356.5166015625,\r
7254         "z": "8bd89607.6248d8",\r
7255         "wires": [\r
7256             [\r
7257                 "1e23480b.f981d8"\r
7258             ]\r
7259         ]\r
7260     },\r
7261     {\r
7262         "id": "afe6825d.3e4ed8",\r
7263         "type": "get-resource",\r
7264         "name": "get-resource src pnf",\r
7265         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
7266         "comments": "",\r
7267         "outputs": 1,\r
7268         "x": 1179.88330078125,\r
7269         "y": 5415.5166015625,\r
7270         "z": "8bd89607.6248d8",\r
7271         "wires": [\r
7272             [\r
7273                 "a4339be5.b80c5",\r
7274                 "2e74a78.3df33d8",\r
7275                 "70a06659.f7e26"\r
7276             ]\r
7277         ]\r
7278     },\r
7279     {\r
7280         "id": "1e23480b.f981d8",\r
7281         "type": "outcome",\r
7282         "name": "esr-thirdparty-sdnc",\r
7283         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
7284         "comments": "",\r
7285         "outputs": 1,\r
7286         "x": 2130.8828125,\r
7287         "y": 5353.5166015625,\r
7288         "z": "8bd89607.6248d8",\r
7289         "wires": [\r
7290             [\r
7291                 "82b93b0b.3752a"\r
7292             ]\r
7293         ]\r
7294     },\r
7295     {\r
7296         "id": "82b93b0b.3752a",\r
7297         "type": "block",\r
7298         "name": "block : atomic",\r
7299         "xml": "<block atomic=\"true\">",\r
7300         "atomic": "true",\r
7301         "outputs": 1,\r
7302         "x": 2345.8822021484375,\r
7303         "y": 5356.5166015625,\r
7304         "z": "8bd89607.6248d8",\r
7305         "wires": [\r
7306             [\r
7307                 "c0938886.470a7",\r
7308                 "8f4e88cb.a2731",\r
7309                 "c656ce5c.18cf6"\r
7310             ]\r
7311         ]\r
7312     },\r
7313     {\r
7314         "id": "56fc7b03.ef7a34",\r
7315         "type": "execute",\r
7316         "name": "execute RestApiCallNode Delete LEAF ethernet Service without token",\r
7317         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.the-connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
7318         "comments": "",\r
7319         "outputs": 1,\r
7320         "x": 1303.6500244140625,\r
7321         "y": 5564.91650390625,\r
7322         "z": "8bd89607.6248d8",\r
7323         "wires": [\r
7324             [\r
7325                 "5de191f6.0adf08",\r
7326                 "8645dbc5.336bd"\r
7327             ]\r
7328         ]\r
7329     },\r
7330     {\r
7331         "id": "5de191f6.0adf08",\r
7332         "type": "failure",\r
7333         "name": "failure",\r
7334         "xml": "<outcome value='failure'>\n",\r
7335         "comments": "",\r
7336         "outputs": 1,\r
7337         "x": 1650.1500244140625,\r
7338         "y": 5557.91650390625,\r
7339         "z": "8bd89607.6248d8",\r
7340         "wires": [\r
7341             [\r
7342                 "1d2e7b8b.bb158c"\r
7343             ]\r
7344         ]\r
7345     },\r
7346     {\r
7347         "id": "8645dbc5.336bd",\r
7348         "type": "success",\r
7349         "name": "success",\r
7350         "xml": "<outcome value='success'>\n",\r
7351         "comments": "",\r
7352         "outputs": 1,\r
7353         "x": 1654.1500244140625,\r
7354         "y": 5597.91650390625,\r
7355         "z": "8bd89607.6248d8",\r
7356         "wires": [\r
7357             [\r
7358                 "7a1f5009.c19bf"\r
7359             ]\r
7360         ]\r
7361     },\r
7362     {\r
7363         "id": "1d2e7b8b.bb158c",\r
7364         "type": "returnFailure",\r
7365         "name": "return failure",\r
7366         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
7367         "comments": "",\r
7368         "x": 1808.1500244140625,\r
7369         "y": 5557.91650390625,\r
7370         "z": "8bd89607.6248d8",\r
7371         "wires": []\r
7372     },\r
7373     {\r
7374         "id": "7a1f5009.c19bf",\r
7375         "type": "block",\r
7376         "name": "block : atomic",\r
7377         "xml": "<block atomic=\"true\">",\r
7378         "atomic": "true",\r
7379         "comments": "",\r
7380         "outputs": 1,\r
7381         "x": 1811.6500244140625,\r
7382         "y": 5597.91650390625,\r
7383         "z": "8bd89607.6248d8",\r
7384         "wires": [\r
7385             []\r
7386         ]\r
7387     },\r
7388     {\r
7389         "id": "9956c6b0.e8f5b",\r
7390         "type": "switchNode",\r
7391         "name": "switch tmp.MMstillHasUni?",\r
7392         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
7393         "comments": "",\r
7394         "outputs": 1,\r
7395         "x": 913.183349609375,\r
7396         "y": 5894.716766357422,\r
7397         "z": "8bd89607.6248d8",\r
7398         "wires": [\r
7399             [\r
7400                 "1b3dc283.1c72c5",\r
7401                 "6927d979.135438"\r
7402             ]\r
7403         ]\r
7404     },\r
7405     {\r
7406         "id": "1b3dc283.1c72c5",\r
7407         "type": "outcomeTrue",\r
7408         "name": "true",\r
7409         "xml": "<outcome value='true'>\n",\r
7410         "comments": "",\r
7411         "outputs": 1,\r
7412         "x": 1107.183349609375,\r
7413         "y": 5721.716796875,\r
7414         "z": "8bd89607.6248d8",\r
7415         "wires": [\r
7416             [\r
7417                 "90688337.4fcde8"\r
7418             ]\r
7419         ]\r
7420     },\r
7421     {\r
7422         "id": "6927d979.135438",\r
7423         "type": "outcomeFalse",\r
7424         "name": "false",\r
7425         "xml": "<outcome value='false'>\n",\r
7426         "comments": "",\r
7427         "outputs": 1,\r
7428         "x": 1093.3500366210938,\r
7429         "y": 6044.316864013672,\r
7430         "z": "8bd89607.6248d8",\r
7431         "wires": [\r
7432             [\r
7433                 "66475002.0efde8"\r
7434             ]\r
7435         ]\r
7436     },\r
7437     {\r
7438         "id": "90688337.4fcde8",\r
7439         "type": "block",\r
7440         "name": "block",\r
7441         "xml": "<block>\n",\r
7442         "atomic": "false",\r
7443         "comments": "",\r
7444         "outputs": 1,\r
7445         "x": 1255.35009765625,\r
7446         "y": 5721.31689453125,\r
7447         "z": "8bd89607.6248d8",\r
7448         "wires": [\r
7449             [\r
7450                 "88d77fb7.cde5d8",\r
7451                 "89314dbf.8366b8",\r
7452                 "68e0d31a.2e51f4"\r
7453             ]\r
7454         ]\r
7455     },\r
7456     {\r
7457         "id": "88d77fb7.cde5d8",\r
7458         "type": "call",\r
7459         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7460         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7461         "comments": "",\r
7462         "outputs": 1,\r
7463         "x": 1677.199951171875,\r
7464         "y": 5692.716796875,\r
7465         "z": "8bd89607.6248d8",\r
7466         "wires": [\r
7467             []\r
7468         ]\r
7469     },\r
7470     {\r
7471         "id": "89314dbf.8366b8",\r
7472         "type": "switchNode",\r
7473         "name": "switch found-root-connectivity",\r
7474         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7475         "comments": "",\r
7476         "outputs": 1,\r
7477         "x": 1492.199951171875,\r
7478         "y": 5759.716796875,\r
7479         "z": "8bd89607.6248d8",\r
7480         "wires": [\r
7481             [\r
7482                 "4d863da6.047404",\r
7483                 "e3c67257.c0375"\r
7484             ]\r
7485         ]\r
7486     },\r
7487     {\r
7488         "id": "4d863da6.047404",\r
7489         "type": "outcomeTrue",\r
7490         "name": "true",\r
7491         "xml": "<outcome value='true'>\n",\r
7492         "comments": "",\r
7493         "outputs": 1,\r
7494         "x": 1757.199951171875,\r
7495         "y": 5744.716796875,\r
7496         "z": "8bd89607.6248d8",\r
7497         "wires": [\r
7498             [\r
7499                 "798adf3a.473ef"\r
7500             ]\r
7501         ]\r
7502     },\r
7503     {\r
7504         "id": "e3c67257.c0375",\r
7505         "type": "outcomeFalse",\r
7506         "name": "false",\r
7507         "xml": "<outcome value='false'>\n",\r
7508         "comments": "",\r
7509         "outputs": 1,\r
7510         "x": 1756.199951171875,\r
7511         "y": 5792.716796875,\r
7512         "z": "8bd89607.6248d8",\r
7513         "wires": [\r
7514             [\r
7515                 "88e52eb1.fc93f"\r
7516             ]\r
7517         ]\r
7518     },\r
7519     {\r
7520         "id": "798adf3a.473ef",\r
7521         "type": "block",\r
7522         "name": "block : atomic",\r
7523         "xml": "<block atomic='true'>",\r
7524         "atomic": "true",\r
7525         "comments": "",\r
7526         "outputs": 1,\r
7527         "x": 1913.199951171875,\r
7528         "y": 5740.716796875,\r
7529         "z": "8bd89607.6248d8",\r
7530         "wires": [\r
7531             [\r
7532                 "733c34ed.517f9c"\r
7533             ]\r
7534         ]\r
7535     },\r
7536     {\r
7537         "id": "88e52eb1.fc93f",\r
7538         "type": "returnFailure",\r
7539         "name": "return failure",\r
7540         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7541         "comments": "",\r
7542         "x": 1904.199951171875,\r
7543         "y": 5787.716796875,\r
7544         "z": "8bd89607.6248d8",\r
7545         "wires": []\r
7546     },\r
7547     {\r
7548         "id": "733c34ed.517f9c",\r
7549         "type": "save",\r
7550         "name": "update ROOT connectivity resource in AAI",\r
7551         "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
7552         "comments": "",\r
7553         "outputs": 1,\r
7554         "x": 2221.8826904296875,\r
7555         "y": 5734.6171875,\r
7556         "z": "8bd89607.6248d8",\r
7557         "wires": [\r
7558             []\r
7559         ]\r
7560     },\r
7561     {\r
7562         "id": "51bb42c1.6468fc",\r
7563         "type": "comment",\r
7564         "name": "Update connectivity status to modified",\r
7565         "info": "",\r
7566         "comments": "",\r
7567         "x": 2196.0994873046875,\r
7568         "y": 5692.4169921875,\r
7569         "z": "8bd89607.6248d8",\r
7570         "wires": []\r
7571     },\r
7572     {\r
7573         "id": "66475002.0efde8",\r
7574         "type": "block",\r
7575         "name": "block",\r
7576         "xml": "<block>\n",\r
7577         "atomic": "false",\r
7578         "comments": "",\r
7579         "outputs": 1,\r
7580         "x": 1230.916748046875,\r
7581         "y": 6043.616668701172,\r
7582         "z": "8bd89607.6248d8",\r
7583         "wires": [\r
7584             [\r
7585                 "a0a718de.f23a",\r
7586                 "e9e38848.54da1"\r
7587             ]\r
7588         ]\r
7589     },\r
7590     {\r
7591         "id": "a0a718de.f23a",\r
7592         "type": "for",\r
7593         "name": "for each relationship of middle-man-conn",\r
7594         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7595         "comments": "",\r
7596         "outputs": 1,\r
7597         "x": 1544.23291015625,\r
7598         "y": 6037.816864013672,\r
7599         "z": "8bd89607.6248d8",\r
7600         "wires": [\r
7601             [\r
7602                 "76936a5f.84bc84"\r
7603             ]\r
7604         ]\r
7605     },\r
7606     {\r
7607         "id": "76936a5f.84bc84",\r
7608         "type": "switchNode",\r
7609         "name": "switch related-to",\r
7610         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7611         "comments": "",\r
7612         "outputs": 1,\r
7613         "x": 1844.566650390625,\r
7614         "y": 6032.816802978516,\r
7615         "z": "8bd89607.6248d8",\r
7616         "wires": [\r
7617             [\r
7618                 "44a7328f.e8be34"\r
7619             ]\r
7620         ]\r
7621     },\r
7622     {\r
7623         "id": "44a7328f.e8be34",\r
7624         "type": "outcome",\r
7625         "name": "connectivity",\r
7626         "xml": "<outcome value='connectivity'>\n",\r
7627         "comments": "",\r
7628         "outputs": 1,\r
7629         "x": 2024.2332763671875,\r
7630         "y": 6032.81689453125,\r
7631         "z": "8bd89607.6248d8",\r
7632         "wires": [\r
7633             [\r
7634                 "208791a0.d9f786"\r
7635             ]\r
7636         ]\r
7637     },\r
7638     {\r
7639         "id": "208791a0.d9f786",\r
7640         "type": "save",\r
7641         "name": "get connectivity from aai",\r
7642         "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
7643         "comments": "",\r
7644         "outputs": 1,\r
7645         "x": 2224.233154296875,\r
7646         "y": 6032.816864013672,\r
7647         "z": "8bd89607.6248d8",\r
7648         "wires": [\r
7649             [\r
7650                 "574a6228.5b1754",\r
7651                 "eafb76a9.ded53",\r
7652                 "327d9363.1aef4c"\r
7653             ]\r
7654         ]\r
7655     },\r
7656     {\r
7657         "id": "574a6228.5b1754",\r
7658         "type": "success",\r
7659         "name": "success",\r
7660         "xml": "<outcome value='success'>\n",\r
7661         "comments": "",\r
7662         "outputs": 1,\r
7663         "x": 2431.23291015625,\r
7664         "y": 6082.816864013672,\r
7665         "z": "8bd89607.6248d8",\r
7666         "wires": [\r
7667             [\r
7668                 "23760b0c.48685c"\r
7669             ]\r
7670         ]\r
7671     },\r
7672     {\r
7673         "id": "460767d0.d2c1b8",\r
7674         "type": "save",\r
7675         "name": "get vpn-binding from aai",\r
7676         "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
7677         "comments": "",\r
7678         "outputs": 1,\r
7679         "x": 2408.466552734375,\r
7680         "y": 6267.016571044922,\r
7681         "z": "8bd89607.6248d8",\r
7682         "wires": [\r
7683             [\r
7684                 "88082c33.393",\r
7685                 "e1f0fae1.b8f4d8",\r
7686                 "822aec8b.abd888"\r
7687             ]\r
7688         ]\r
7689     },\r
7690     {\r
7691         "id": "6361e7ff.46b828",\r
7692         "type": "for",\r
7693         "name": "for each relationship",\r
7694         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7695         "comments": "",\r
7696         "outputs": 1,\r
7697         "x": 1607.466552734375,\r
7698         "y": 6182.016571044922,\r
7699         "z": "8bd89607.6248d8",\r
7700         "wires": [\r
7701             [\r
7702                 "75dfc93.82d2038"\r
7703             ]\r
7704         ]\r
7705     },\r
7706     {\r
7707         "id": "75dfc93.82d2038",\r
7708         "type": "switchNode",\r
7709         "name": "switch related-to",\r
7710         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7711         "comments": "",\r
7712         "outputs": 1,\r
7713         "x": 1804.466552734375,\r
7714         "y": 6196.016571044922,\r
7715         "z": "8bd89607.6248d8",\r
7716         "wires": [\r
7717             [\r
7718                 "a28db7b9.a381c8",\r
7719                 "9f04b050.7c6fe8"\r
7720             ]\r
7721         ]\r
7722     },\r
7723     {\r
7724         "id": "a28db7b9.a381c8",\r
7725         "type": "outcome",\r
7726         "name": "vpn-binding",\r
7727         "xml": "<outcome value='vpn-binding'>\n",\r
7728         "comments": "",\r
7729         "outputs": 1,\r
7730         "x": 1972.466552734375,\r
7731         "y": 6189.016571044922,\r
7732         "z": "8bd89607.6248d8",\r
7733         "wires": [\r
7734             [\r
7735                 "136ceea8.d9cdf9"\r
7736             ]\r
7737         ]\r
7738     },\r
7739     {\r
7740         "id": "136ceea8.d9cdf9",\r
7741         "type": "block",\r
7742         "name": "block : atomic",\r
7743         "xml": "<block atomic=\"true\">",\r
7744         "atomic": "true",\r
7745         "outputs": 1,\r
7746         "x": 2135.466552734375,\r
7747         "y": 6189.016571044922,\r
7748         "z": "8bd89607.6248d8",\r
7749         "wires": [\r
7750             [\r
7751                 "460767d0.d2c1b8"\r
7752             ]\r
7753         ]\r
7754     },\r
7755     {\r
7756         "id": "9f04b050.7c6fe8",\r
7757         "type": "outcome",\r
7758         "name": "uni",\r
7759         "xml": "<outcome value='uni'>\n",\r
7760         "comments": "",\r
7761         "outputs": 1,\r
7762         "x": 1988.466552734375,\r
7763         "y": 6485.016571044922,\r
7764         "z": "8bd89607.6248d8",\r
7765         "wires": [\r
7766             [\r
7767                 "5e0bc78d.ba716"\r
7768             ]\r
7769         ]\r
7770     },\r
7771     {\r
7772         "id": "5e0bc78d.ba716",\r
7773         "type": "block",\r
7774         "name": "block : atomic",\r
7775         "xml": "<block atomic=\"true\">",\r
7776         "atomic": "true",\r
7777         "outputs": 1,\r
7778         "x": 2151.466552734375,\r
7779         "y": 6485.016571044922,\r
7780         "z": "8bd89607.6248d8",\r
7781         "wires": [\r
7782             [\r
7783                 "2848a471.d7d3ac"\r
7784             ]\r
7785         ]\r
7786     },\r
7787     {\r
7788         "id": "2848a471.d7d3ac",\r
7789         "type": "save",\r
7790         "name": "delete uni resource in AAI",\r
7791         "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
7792         "comments": "",\r
7793         "outputs": 1,\r
7794         "x": 2394.466552734375,\r
7795         "y": 6485.016571044922,\r
7796         "z": "8bd89607.6248d8",\r
7797         "wires": [\r
7798             []\r
7799         ]\r
7800     },\r
7801     {\r
7802         "id": "14cdbd34.9d5433",\r
7803         "type": "save",\r
7804         "name": "delete connectivity resource in AAI",\r
7805         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7806         "comments": "",\r
7807         "outputs": 1,\r
7808         "x": 1362.466552734375,\r
7809         "y": 7251.016571044922,\r
7810         "z": "8bd89607.6248d8",\r
7811         "wires": [\r
7812             []\r
7813         ]\r
7814     },\r
7815     {\r
7816         "id": "23760b0c.48685c",\r
7817         "type": "block",\r
7818         "name": "block",\r
7819         "xml": "<block>\n",\r
7820         "atomic": "false",\r
7821         "comments": "",\r
7822         "outputs": 1,\r
7823         "x": 1433.466552734375,\r
7824         "y": 6180.016571044922,\r
7825         "z": "8bd89607.6248d8",\r
7826         "wires": [\r
7827             [\r
7828                 "6361e7ff.46b828",\r
7829                 "14cdbd34.9d5433",\r
7830                 "468cb6c4.ffb168"\r
7831             ]\r
7832         ]\r
7833     },\r
7834     {\r
7835         "id": "88082c33.393",\r
7836         "type": "success",\r
7837         "name": "success",\r
7838         "xml": "<outcome value='success'>\n",\r
7839         "comments": "",\r
7840         "outputs": 1,\r
7841         "x": 2619.466552734375,\r
7842         "y": 6269.016571044922,\r
7843         "z": "8bd89607.6248d8",\r
7844         "wires": [\r
7845             [\r
7846                 "83017d89.d2d33"\r
7847             ]\r
7848         ]\r
7849     },\r
7850     {\r
7851         "id": "e1f0fae1.b8f4d8",\r
7852         "type": "not-found",\r
7853         "name": "not-found",\r
7854         "xml": "<outcome value='not-found'>\n",\r
7855         "comments": "",\r
7856         "outputs": 1,\r
7857         "x": 2619.95751953125,\r
7858         "y": 6314.590606689453,\r
7859         "z": "8bd89607.6248d8",\r
7860         "wires": [\r
7861             [\r
7862                 "ec259daf.cc4758"\r
7863             ]\r
7864         ]\r
7865     },\r
7866     {\r
7867         "id": "822aec8b.abd888",\r
7868         "type": "failure",\r
7869         "name": "failure",\r
7870         "xml": "<outcome value='failure'>\n",\r
7871         "comments": "",\r
7872         "outputs": 1,\r
7873         "x": 2617.466552734375,\r
7874         "y": 6358.016571044922,\r
7875         "z": "8bd89607.6248d8",\r
7876         "wires": [\r
7877             [\r
7878                 "ba3c2552.11f0b"\r
7879             ]\r
7880         ]\r
7881     },\r
7882     {\r
7883         "id": "327d9363.1aef4c",\r
7884         "type": "not-found",\r
7885         "name": "not-found",\r
7886         "xml": "<outcome value='not-found'>\n",\r
7887         "comments": "",\r
7888         "outputs": 1,\r
7889         "x": 2455.282958984375,\r
7890         "y": 5983.616668701172,\r
7891         "z": "8bd89607.6248d8",\r
7892         "wires": [\r
7893             []\r
7894         ]\r
7895     },\r
7896     {\r
7897         "id": "eafb76a9.ded53",\r
7898         "type": "failure",\r
7899         "name": "failure",\r
7900         "xml": "<outcome value='failure'>\n",\r
7901         "comments": "",\r
7902         "outputs": 1,\r
7903         "x": 2452.7919921875,\r
7904         "y": 6027.042633056641,\r
7905         "z": "8bd89607.6248d8",\r
7906         "wires": [\r
7907             []\r
7908         ]\r
7909     },\r
7910     {\r
7911         "id": "e9e38848.54da1",\r
7912         "type": "save",\r
7913         "name": "delete middle-man-conn resource in AAI",\r
7914         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
7915         "comments": "",\r
7916         "outputs": 1,\r
7917         "x": 1531.400146484375,\r
7918         "y": 6112.416473388672,\r
7919         "z": "8bd89607.6248d8",\r
7920         "wires": [\r
7921             []\r
7922         ]\r
7923     },\r
7924     {\r
7925         "id": "83017d89.d2d33",\r
7926         "type": "block",\r
7927         "name": "block : atomic",\r
7928         "xml": "<block atomic=\"true\">",\r
7929         "atomic": "true",\r
7930         "outputs": 1,\r
7931         "x": 2785.466552734375,\r
7932         "y": 6259.016571044922,\r
7933         "z": "8bd89607.6248d8",\r
7934         "wires": [\r
7935             [\r
7936                 "c9d43f06.0d115",\r
7937                 "b37c19e0.f8f32",\r
7938                 "60da6725.d98bd8",\r
7939                 "be2af461.e005a",\r
7940                 "cbf01fd8.d058c"\r
7941             ]\r
7942         ]\r
7943     },\r
7944     {\r
7945         "id": "ba3c2552.11f0b",\r
7946         "type": "returnFailure",\r
7947         "name": "return failure",\r
7948         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7949         "comments": "",\r
7950         "x": 2784.466552734375,\r
7951         "y": 6357.016571044922,\r
7952         "z": "8bd89607.6248d8",\r
7953         "wires": []\r
7954     },\r
7955     {\r
7956         "id": "ec259daf.cc4758",\r
7957         "type": "returnFailure",\r
7958         "name": "return failure",\r
7959         "xml": "<return 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
7960         "comments": "",\r
7961         "x": 2782.5289306640625,\r
7962         "y": 6314.8763427734375,\r
7963         "z": "8bd89607.6248d8",\r
7964         "wires": []\r
7965     },\r
7966     {\r
7967         "id": "c9d43f06.0d115",\r
7968         "type": "set",\r
7969         "name": "set pnf-name",\r
7970         "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
7971         "comments": "",\r
7972         "x": 3007.466552734375,\r
7973         "y": 5977.016571044922,\r
7974         "z": "8bd89607.6248d8",\r
7975         "wires": []\r
7976     },\r
7977     {\r
7978         "id": "b37c19e0.f8f32",\r
7979         "type": "get-resource",\r
7980         "name": "get-resource src pnf",\r
7981         "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
7982         "comments": "",\r
7983         "outputs": 1,\r
7984         "x": 3033.466552734375,\r
7985         "y": 6094.016571044922,\r
7986         "z": "8bd89607.6248d8",\r
7987         "wires": [\r
7988             [\r
7989                 "410583dd.d8121c",\r
7990                 "88eb934e.2f5b08",\r
7991                 "a865a4a5.d4df78"\r
7992             ]\r
7993         ]\r
7994     },\r
7995     {\r
7996         "id": "60da6725.d98bd8",\r
7997         "type": "execute",\r
7998         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
7999         "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
8000         "comments": "",\r
8001         "outputs": 1,\r
8002         "x": 3136.466552734375,\r
8003         "y": 6361.016571044922,\r
8004         "z": "8bd89607.6248d8",\r
8005         "wires": [\r
8006             [\r
8007                 "72b47bea.9a0f24",\r
8008                 "66f0d6b4.eb7008"\r
8009             ]\r
8010         ]\r
8011     },\r
8012     {\r
8013         "id": "be2af461.e005a",\r
8014         "type": "switchNode",\r
8015         "name": "switch connectivity has ethernet service",\r
8016         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8017         "comments": "",\r
8018         "outputs": 1,\r
8019         "x": 3074.466552734375,\r
8020         "y": 6496.016571044922,\r
8021         "z": "8bd89607.6248d8",\r
8022         "wires": [\r
8023             [\r
8024                 "2f67e97f.141fd6",\r
8025                 "7b5fd505.3b0694"\r
8026             ]\r
8027         ]\r
8028     },\r
8029     {\r
8030         "id": "cbf01fd8.d058c",\r
8031         "type": "save",\r
8032         "name": "delete vpn-binding resource in AAI",\r
8033         "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
8034         "comments": "",\r
8035         "outputs": 1,\r
8036         "x": 3055.466552734375,\r
8037         "y": 6612.016571044922,\r
8038         "z": "8bd89607.6248d8",\r
8039         "wires": [\r
8040             []\r
8041         ]\r
8042     },\r
8043     {\r
8044         "id": "410583dd.d8121c",\r
8045         "type": "success",\r
8046         "name": "success",\r
8047         "xml": "<outcome value='success'>\n",\r
8048         "comments": "",\r
8049         "outputs": 1,\r
8050         "x": 3228.9666748046875,\r
8051         "y": 6046.016571044922,\r
8052         "z": "8bd89607.6248d8",\r
8053         "wires": [\r
8054             [\r
8055                 "4a83ae1e.07b578"\r
8056             ]\r
8057         ]\r
8058     },\r
8059     {\r
8060         "id": "88eb934e.2f5b08",\r
8061         "type": "not-found",\r
8062         "name": "not-found",\r
8063         "xml": "<outcome value='not-found'>\n",\r
8064         "comments": "",\r
8065         "outputs": 1,\r
8066         "x": 3220.9666748046875,\r
8067         "y": 6101.016571044922,\r
8068         "z": "8bd89607.6248d8",\r
8069         "wires": [\r
8070             [\r
8071                 "282085b8.0d4512"\r
8072             ]\r
8073         ]\r
8074     },\r
8075     {\r
8076         "id": "4a83ae1e.07b578",\r
8077         "type": "block",\r
8078         "name": "block",\r
8079         "xml": "<block>\n",\r
8080         "atomic": "false",\r
8081         "comments": "",\r
8082         "outputs": 1,\r
8083         "x": 3363.348876953125,\r
8084         "y": 6040.672332763672,\r
8085         "z": "8bd89607.6248d8",\r
8086         "wires": [\r
8087             [\r
8088                 "33baf8b0.f059c8"\r
8089             ]\r
8090         ]\r
8091     },\r
8092     {\r
8093         "id": "a865a4a5.d4df78",\r
8094         "type": "other",\r
8095         "name": "other",\r
8096         "xml": "<outcome value='Other'>\n",\r
8097         "comments": "",\r
8098         "outputs": 1,\r
8099         "x": 3225.9666748046875,\r
8100         "y": 6158.016571044922,\r
8101         "z": "8bd89607.6248d8",\r
8102         "wires": [\r
8103             [\r
8104                 "63323518.7bcbac"\r
8105             ]\r
8106         ]\r
8107     },\r
8108     {\r
8109         "id": "63323518.7bcbac",\r
8110         "type": "returnFailure",\r
8111         "name": "return failure",\r
8112         "xml": "<return 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
8113         "comments": "",\r
8114         "x": 3377.9666748046875,\r
8115         "y": 6159.016571044922,\r
8116         "z": "8bd89607.6248d8",\r
8117         "wires": []\r
8118     },\r
8119     {\r
8120         "id": "282085b8.0d4512",\r
8121         "type": "returnFailure",\r
8122         "name": "return failure",\r
8123         "xml": "<return 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
8124         "comments": "",\r
8125         "x": 3388.9666748046875,\r
8126         "y": 6102.016571044922,\r
8127         "z": "8bd89607.6248d8",\r
8128         "wires": []\r
8129     },\r
8130     {\r
8131         "id": "7b5fd505.3b0694",\r
8132         "type": "other",\r
8133         "name": "other",\r
8134         "xml": "<outcome value='Other'>\n",\r
8135         "comments": "",\r
8136         "outputs": 1,\r
8137         "x": 3327.466552734375,\r
8138         "y": 6474.016571044922,\r
8139         "z": "8bd89607.6248d8",\r
8140         "wires": [\r
8141             [\r
8142                 "948366f4.fec95"\r
8143             ]\r
8144         ]\r
8145     },\r
8146     {\r
8147         "id": "2f67e97f.141fd6",\r
8148         "type": "outcome",\r
8149         "name": "Null",\r
8150         "xml": "<outcome value=''>\n",\r
8151         "comments": "",\r
8152         "outputs": 1,\r
8153         "x": 3327.466552734375,\r
8154         "y": 6530.016571044922,\r
8155         "z": "8bd89607.6248d8",\r
8156         "wires": [\r
8157             []\r
8158         ]\r
8159     },\r
8160     {\r
8161         "id": "33baf8b0.f059c8",\r
8162         "type": "for",\r
8163         "name": "for each relationship",\r
8164         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8165         "comments": "",\r
8166         "outputs": 1,\r
8167         "x": 3550.466064453125,\r
8168         "y": 6042.016571044922,\r
8169         "z": "8bd89607.6248d8",\r
8170         "wires": [\r
8171             [\r
8172                 "e2cf1880.b9d7c"\r
8173             ]\r
8174         ]\r
8175     },\r
8176     {\r
8177         "id": "e2cf1880.b9d7c",\r
8178         "type": "switchNode",\r
8179         "name": "switch related-to",\r
8180         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8181         "comments": "",\r
8182         "outputs": 1,\r
8183         "x": 3791.466064453125,\r
8184         "y": 6033.016571044922,\r
8185         "z": "8bd89607.6248d8",\r
8186         "wires": [\r
8187             [\r
8188                 "bc484497.a79ff8"\r
8189             ]\r
8190         ]\r
8191     },\r
8192     {\r
8193         "id": "948366f4.fec95",\r
8194         "type": "execute",\r
8195         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8196         "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
8197         "comments": "",\r
8198         "outputs": 1,\r
8199         "x": 3677.466064453125,\r
8200         "y": 6464.016571044922,\r
8201         "z": "8bd89607.6248d8",\r
8202         "wires": [\r
8203             [\r
8204                 "c37cd95d.368e7",\r
8205                 "92455633.bf0ee8"\r
8206             ]\r
8207         ]\r
8208     },\r
8209     {\r
8210         "id": "72b47bea.9a0f24",\r
8211         "type": "failure",\r
8212         "name": "failure",\r
8213         "xml": "<outcome value='failure'>\n",\r
8214         "comments": "",\r
8215         "outputs": 1,\r
8216         "x": 3443.966064453125,\r
8217         "y": 6386.016571044922,\r
8218         "z": "8bd89607.6248d8",\r
8219         "wires": [\r
8220             [\r
8221                 "f1048a1f.996e4"\r
8222             ]\r
8223         ]\r
8224     },\r
8225     {\r
8226         "id": "66f0d6b4.eb7008",\r
8227         "type": "success",\r
8228         "name": "success",\r
8229         "xml": "<outcome value='success'>\n",\r
8230         "comments": "",\r
8231         "outputs": 1,\r
8232         "x": 3444.966064453125,\r
8233         "y": 6331.016571044922,\r
8234         "z": "8bd89607.6248d8",\r
8235         "wires": [\r
8236             [\r
8237                 "314550b5.0a064"\r
8238             ]\r
8239         ]\r
8240     },\r
8241     {\r
8242         "id": "f1048a1f.996e4",\r
8243         "type": "returnFailure",\r
8244         "name": "return failure",\r
8245         "xml": "<return 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
8246         "comments": "",\r
8247         "x": 3615.966064453125,\r
8248         "y": 6384.016571044922,\r
8249         "z": "8bd89607.6248d8",\r
8250         "wires": []\r
8251     },\r
8252     {\r
8253         "id": "314550b5.0a064",\r
8254         "type": "block",\r
8255         "name": "block : atomic",\r
8256         "xml": "<block atomic=\"true\">",\r
8257         "atomic": "true",\r
8258         "comments": "",\r
8259         "outputs": 1,\r
8260         "x": 3612.466064453125,\r
8261         "y": 6333.016571044922,\r
8262         "z": "8bd89607.6248d8",\r
8263         "wires": [\r
8264             []\r
8265         ]\r
8266     },\r
8267     {\r
8268         "id": "926cd0b8.871b1",\r
8269         "type": "block",\r
8270         "name": "block : atomic",\r
8271         "xml": "<block atomic=\"true\">",\r
8272         "atomic": "true",\r
8273         "outputs": 1,\r
8274         "x": 4148.4658203125,\r
8275         "y": 5982.016571044922,\r
8276         "z": "8bd89607.6248d8",\r
8277         "wires": [\r
8278             [\r
8279                 "e5e99dd1.35ed8",\r
8280                 "977d12a.f8bd9f",\r
8281                 "b449b2c0.535c38"\r
8282             ]\r
8283         ]\r
8284     },\r
8285     {\r
8286         "id": "bc484497.a79ff8",\r
8287         "type": "outcome",\r
8288         "name": "esr-thirdparty-sdnc",\r
8289         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8290         "comments": "",\r
8291         "outputs": 1,\r
8292         "x": 3997.466064453125,\r
8293         "y": 6030.016571044922,\r
8294         "z": "8bd89607.6248d8",\r
8295         "wires": [\r
8296             [\r
8297                 "926cd0b8.871b1"\r
8298             ]\r
8299         ]\r
8300     },\r
8301     {\r
8302         "id": "c37cd95d.368e7",\r
8303         "type": "failure",\r
8304         "name": "failure",\r
8305         "xml": "<outcome value='failure'>\n",\r
8306         "comments": "",\r
8307         "outputs": 1,\r
8308         "x": 4009.966064453125,\r
8309         "y": 6438.016571044922,\r
8310         "z": "8bd89607.6248d8",\r
8311         "wires": [\r
8312             [\r
8313                 "b162e50d.7cae58"\r
8314             ]\r
8315         ]\r
8316     },\r
8317     {\r
8318         "id": "92455633.bf0ee8",\r
8319         "type": "success",\r
8320         "name": "success",\r
8321         "xml": "<outcome value='success'>\n",\r
8322         "comments": "",\r
8323         "outputs": 1,\r
8324         "x": 4013.966064453125,\r
8325         "y": 6478.016571044922,\r
8326         "z": "8bd89607.6248d8",\r
8327         "wires": [\r
8328             [\r
8329                 "2199ad10.a55eda"\r
8330             ]\r
8331         ]\r
8332     },\r
8333     {\r
8334         "id": "2199ad10.a55eda",\r
8335         "type": "block",\r
8336         "name": "block : atomic",\r
8337         "xml": "<block atomic=\"true\">",\r
8338         "atomic": "true",\r
8339         "comments": "",\r
8340         "outputs": 1,\r
8341         "x": 4201.466064453125,\r
8342         "y": 6482.016571044922,\r
8343         "z": "8bd89607.6248d8",\r
8344         "wires": [\r
8345             []\r
8346         ]\r
8347     },\r
8348     {\r
8349         "id": "b162e50d.7cae58",\r
8350         "type": "returnFailure",\r
8351         "name": "return failure",\r
8352         "xml": "<return 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
8353         "comments": "",\r
8354         "x": 4197.966064453125,\r
8355         "y": 6442.016571044922,\r
8356         "z": "8bd89607.6248d8",\r
8357         "wires": []\r
8358     },\r
8359     {\r
8360         "id": "977d12a.f8bd9f",\r
8361         "type": "execute",\r
8362         "name": "get esr-thirdparty-sdnc",\r
8363         "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
8364         "comments": "",\r
8365         "outputs": 1,\r
8366         "x": 4354.4658203125,\r
8367         "y": 5995.016571044922,\r
8368         "z": "8bd89607.6248d8",\r
8369         "wires": [\r
8370             [\r
8371                 "7f661594.98b80c",\r
8372                 "b4244919.5b3fa8",\r
8373                 "fd8c4c61.cc25e8"\r
8374             ]\r
8375         ]\r
8376     },\r
8377     {\r
8378         "id": "e5e99dd1.35ed8",\r
8379         "type": "set",\r
8380         "name": "set esr-thirdparty-sdnc domain id",\r
8381         "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
8382         "comments": "",\r
8383         "x": 4384.4658203125,\r
8384         "y": 5943.016571044922,\r
8385         "z": "8bd89607.6248d8",\r
8386         "wires": []\r
8387     },\r
8388     {\r
8389         "id": "7f661594.98b80c",\r
8390         "type": "success",\r
8391         "name": "success",\r
8392         "xml": "<outcome value='success'>\n",\r
8393         "comments": "",\r
8394         "outputs": 1,\r
8395         "x": 4564.4658203125,\r
8396         "y": 5986.016571044922,\r
8397         "z": "8bd89607.6248d8",\r
8398         "wires": [\r
8399             [\r
8400                 "b64e3b3c.b2614"\r
8401             ]\r
8402         ]\r
8403     },\r
8404     {\r
8405         "id": "b4244919.5b3fa8",\r
8406         "type": "not-found",\r
8407         "name": "not-found",\r
8408         "xml": "<outcome value='not-found'>\n",\r
8409         "comments": "",\r
8410         "outputs": 1,\r
8411         "x": 4556.4658203125,\r
8412         "y": 6041.016571044922,\r
8413         "z": "8bd89607.6248d8",\r
8414         "wires": [\r
8415             [\r
8416                 "13dd75f8.aa1f6a"\r
8417             ]\r
8418         ]\r
8419     },\r
8420     {\r
8421         "id": "fd8c4c61.cc25e8",\r
8422         "type": "other",\r
8423         "name": "other",\r
8424         "xml": "<outcome value='Other'>\n",\r
8425         "comments": "",\r
8426         "outputs": 1,\r
8427         "x": 4561.4658203125,\r
8428         "y": 6098.016571044922,\r
8429         "z": "8bd89607.6248d8",\r
8430         "wires": [\r
8431             [\r
8432                 "67c0a219.8d5f1c"\r
8433             ]\r
8434         ]\r
8435     },\r
8436     {\r
8437         "id": "b449b2c0.535c38",\r
8438         "type": "break",\r
8439         "name": "break",\r
8440         "xml": "<break>\n",\r
8441         "comments": "",\r
8442         "x": 4304.4658203125,\r
8443         "y": 6059.016571044922,\r
8444         "z": "8bd89607.6248d8",\r
8445         "wires": []\r
8446     },\r
8447     {\r
8448         "id": "67c0a219.8d5f1c",\r
8449         "type": "returnFailure",\r
8450         "name": "return failure",\r
8451         "xml": "<return 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
8452         "comments": "",\r
8453         "x": 4713.4658203125,\r
8454         "y": 6099.016571044922,\r
8455         "z": "8bd89607.6248d8",\r
8456         "wires": []\r
8457     },\r
8458     {\r
8459         "id": "13dd75f8.aa1f6a",\r
8460         "type": "returnFailure",\r
8461         "name": "return failure",\r
8462         "xml": "<return 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
8463         "comments": "",\r
8464         "x": 4724.4658203125,\r
8465         "y": 6044.016571044922,\r
8466         "z": "8bd89607.6248d8",\r
8467         "wires": []\r
8468     },\r
8469     {\r
8470         "id": "b64e3b3c.b2614",\r
8471         "type": "block",\r
8472         "name": "block",\r
8473         "xml": "<block>\n",\r
8474         "atomic": "false",\r
8475         "comments": "",\r
8476         "outputs": 1,\r
8477         "x": 4708.84814453125,\r
8478         "y": 5983.6722412109375,\r
8479         "z": "8bd89607.6248d8",\r
8480         "wires": [\r
8481             [\r
8482                 "a6322085.6bb328"\r
8483             ]\r
8484         ]\r
8485     },\r
8486     {\r
8487         "id": "a6322085.6bb328",\r
8488         "type": "set",\r
8489         "name": "set controller domain data",\r
8490         "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
8491         "comments": "",\r
8492         "x": 4923.4658203125,\r
8493         "y": 5980.016571044922,\r
8494         "z": "8bd89607.6248d8",\r
8495         "wires": []\r
8496     },\r
8497     {\r
8498         "id": "90358f7a.3bc868",\r
8499         "type": "set",\r
8500         "name": "set pnf-name",\r
8501         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
8502         "comments": "",\r
8503         "x": 1659.2332763671875,\r
8504         "y": 6777.616668701172,\r
8505         "z": "8bd89607.6248d8",\r
8506         "wires": []\r
8507     },\r
8508     {\r
8509         "id": "a442da27.96a27",\r
8510         "type": "get-resource",\r
8511         "name": "get-resource src pnf",\r
8512         "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
8513         "comments": "",\r
8514         "outputs": 1,\r
8515         "x": 1685.2332763671875,\r
8516         "y": 6894.616668701172,\r
8517         "z": "8bd89607.6248d8",\r
8518         "wires": [\r
8519             [\r
8520                 "5457374d.6393a8",\r
8521                 "c43cf1bd.3a9c48",\r
8522                 "aafe4c92.ab6148"\r
8523             ]\r
8524         ]\r
8525     },\r
8526     {\r
8527         "id": "5457374d.6393a8",\r
8528         "type": "success",\r
8529         "name": "success",\r
8530         "xml": "<outcome value='success'>\n",\r
8531         "comments": "",\r
8532         "outputs": 1,\r
8533         "x": 1880.7333984375,\r
8534         "y": 6846.616668701172,\r
8535         "z": "8bd89607.6248d8",\r
8536         "wires": [\r
8537             [\r
8538                 "53717e38.4ed96"\r
8539             ]\r
8540         ]\r
8541     },\r
8542     {\r
8543         "id": "c43cf1bd.3a9c48",\r
8544         "type": "not-found",\r
8545         "name": "not-found",\r
8546         "xml": "<outcome value='not-found'>\n",\r
8547         "comments": "",\r
8548         "outputs": 1,\r
8549         "x": 1872.7333984375,\r
8550         "y": 6901.616668701172,\r
8551         "z": "8bd89607.6248d8",\r
8552         "wires": [\r
8553             [\r
8554                 "f440d45f.e2c3b"\r
8555             ]\r
8556         ]\r
8557     },\r
8558     {\r
8559         "id": "53717e38.4ed96",\r
8560         "type": "block",\r
8561         "name": "block",\r
8562         "xml": "<block>\n",\r
8563         "atomic": "false",\r
8564         "comments": "",\r
8565         "outputs": 1,\r
8566         "x": 2015.1156005859375,\r
8567         "y": 6841.272430419922,\r
8568         "z": "8bd89607.6248d8",\r
8569         "wires": [\r
8570             [\r
8571                 "237db843.e1a28"\r
8572             ]\r
8573         ]\r
8574     },\r
8575     {\r
8576         "id": "aafe4c92.ab6148",\r
8577         "type": "other",\r
8578         "name": "other",\r
8579         "xml": "<outcome value='Other'>\n",\r
8580         "comments": "",\r
8581         "outputs": 1,\r
8582         "x": 1877.7333984375,\r
8583         "y": 6958.616668701172,\r
8584         "z": "8bd89607.6248d8",\r
8585         "wires": [\r
8586             [\r
8587                 "f21c5384.45f0a8"\r
8588             ]\r
8589         ]\r
8590     },\r
8591     {\r
8592         "id": "f21c5384.45f0a8",\r
8593         "type": "returnFailure",\r
8594         "name": "return failure",\r
8595         "xml": "<return 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
8596         "comments": "",\r
8597         "x": 2029.7333984375,\r
8598         "y": 6959.616668701172,\r
8599         "z": "8bd89607.6248d8",\r
8600         "wires": []\r
8601     },\r
8602     {\r
8603         "id": "f440d45f.e2c3b",\r
8604         "type": "returnFailure",\r
8605         "name": "return failure",\r
8606         "xml": "<return 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
8607         "comments": "",\r
8608         "x": 2040.7333984375,\r
8609         "y": 6902.616668701172,\r
8610         "z": "8bd89607.6248d8",\r
8611         "wires": []\r
8612     },\r
8613     {\r
8614         "id": "237db843.e1a28",\r
8615         "type": "for",\r
8616         "name": "for each relationship",\r
8617         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8618         "comments": "",\r
8619         "outputs": 1,\r
8620         "x": 2202.2327880859375,\r
8621         "y": 6842.616668701172,\r
8622         "z": "8bd89607.6248d8",\r
8623         "wires": [\r
8624             [\r
8625                 "df53e846.0627d8"\r
8626             ]\r
8627         ]\r
8628     },\r
8629     {\r
8630         "id": "df53e846.0627d8",\r
8631         "type": "switchNode",\r
8632         "name": "switch related-to",\r
8633         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8634         "comments": "",\r
8635         "outputs": 1,\r
8636         "x": 2443.2327880859375,\r
8637         "y": 6833.616668701172,\r
8638         "z": "8bd89607.6248d8",\r
8639         "wires": [\r
8640             [\r
8641                 "1dea4397.4ddefc"\r
8642             ]\r
8643         ]\r
8644     },\r
8645     {\r
8646         "id": "ddd8f461.6b9a28",\r
8647         "type": "block",\r
8648         "name": "block : atomic",\r
8649         "xml": "<block atomic=\"true\">",\r
8650         "atomic": "true",\r
8651         "outputs": 1,\r
8652         "x": 2800.2325439453125,\r
8653         "y": 6782.616668701172,\r
8654         "z": "8bd89607.6248d8",\r
8655         "wires": [\r
8656             [\r
8657                 "da1d6ae3.19a4a",\r
8658                 "f17b263b.0b92b8",\r
8659                 "e6be1026.0fc218"\r
8660             ]\r
8661         ]\r
8662     },\r
8663     {\r
8664         "id": "1dea4397.4ddefc",\r
8665         "type": "outcome",\r
8666         "name": "esr-thirdparty-sdnc",\r
8667         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8668         "comments": "",\r
8669         "outputs": 1,\r
8670         "x": 2649.2327880859375,\r
8671         "y": 6830.616668701172,\r
8672         "z": "8bd89607.6248d8",\r
8673         "wires": [\r
8674             [\r
8675                 "ddd8f461.6b9a28"\r
8676             ]\r
8677         ]\r
8678     },\r
8679     {\r
8680         "id": "f17b263b.0b92b8",\r
8681         "type": "execute",\r
8682         "name": "get esr-thirdparty-sdnc",\r
8683         "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
8684         "comments": "",\r
8685         "outputs": 1,\r
8686         "x": 3006.2325439453125,\r
8687         "y": 6795.616668701172,\r
8688         "z": "8bd89607.6248d8",\r
8689         "wires": [\r
8690             [\r
8691                 "93d3ae4.c48255",\r
8692                 "a8b7b61a.880ff",\r
8693                 "1b334b23.690f3d"\r
8694             ]\r
8695         ]\r
8696     },\r
8697     {\r
8698         "id": "e6be1026.0fc218",\r
8699         "type": "break",\r
8700         "name": "break",\r
8701         "xml": "<break>\n",\r
8702         "comments": "",\r
8703         "x": 2956.2325439453125,\r
8704         "y": 6859.616668701172,\r
8705         "z": "8bd89607.6248d8",\r
8706         "wires": []\r
8707     },\r
8708     {\r
8709         "id": "da1d6ae3.19a4a",\r
8710         "type": "set",\r
8711         "name": "set esr-thirdparty-sdnc domain id",\r
8712         "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
8713         "comments": "",\r
8714         "x": 3036.2325439453125,\r
8715         "y": 6743.616668701172,\r
8716         "z": "8bd89607.6248d8",\r
8717         "wires": []\r
8718     },\r
8719     {\r
8720         "id": "93d3ae4.c48255",\r
8721         "type": "success",\r
8722         "name": "success",\r
8723         "xml": "<outcome value='success'>\n",\r
8724         "comments": "",\r
8725         "outputs": 1,\r
8726         "x": 3216.2325439453125,\r
8727         "y": 6786.616668701172,\r
8728         "z": "8bd89607.6248d8",\r
8729         "wires": [\r
8730             [\r
8731                 "38012aaa.4db4be"\r
8732             ]\r
8733         ]\r
8734     },\r
8735     {\r
8736         "id": "a8b7b61a.880ff",\r
8737         "type": "not-found",\r
8738         "name": "not-found",\r
8739         "xml": "<outcome value='not-found'>\n",\r
8740         "comments": "",\r
8741         "outputs": 1,\r
8742         "x": 3208.2325439453125,\r
8743         "y": 6841.616668701172,\r
8744         "z": "8bd89607.6248d8",\r
8745         "wires": [\r
8746             [\r
8747                 "3b0a565e.7b9b52"\r
8748             ]\r
8749         ]\r
8750     },\r
8751     {\r
8752         "id": "1b334b23.690f3d",\r
8753         "type": "other",\r
8754         "name": "other",\r
8755         "xml": "<outcome value='Other'>\n",\r
8756         "comments": "",\r
8757         "outputs": 1,\r
8758         "x": 3213.2325439453125,\r
8759         "y": 6898.616668701172,\r
8760         "z": "8bd89607.6248d8",\r
8761         "wires": [\r
8762             [\r
8763                 "a42eaf3a.6fbc5"\r
8764             ]\r
8765         ]\r
8766     },\r
8767     {\r
8768         "id": "a42eaf3a.6fbc5",\r
8769         "type": "returnFailure",\r
8770         "name": "return failure",\r
8771         "xml": "<return 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
8772         "comments": "",\r
8773         "x": 3365.2325439453125,\r
8774         "y": 6899.616668701172,\r
8775         "z": "8bd89607.6248d8",\r
8776         "wires": []\r
8777     },\r
8778     {\r
8779         "id": "3b0a565e.7b9b52",\r
8780         "type": "returnFailure",\r
8781         "name": "return failure",\r
8782         "xml": "<return 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
8783         "comments": "",\r
8784         "x": 3376.2325439453125,\r
8785         "y": 6844.616668701172,\r
8786         "z": "8bd89607.6248d8",\r
8787         "wires": []\r
8788     },\r
8789     {\r
8790         "id": "38012aaa.4db4be",\r
8791         "type": "block",\r
8792         "name": "block",\r
8793         "xml": "<block>\n",\r
8794         "atomic": "false",\r
8795         "comments": "",\r
8796         "outputs": 1,\r
8797         "x": 3360.6148681640625,\r
8798         "y": 6784.2723388671875,\r
8799         "z": "8bd89607.6248d8",\r
8800         "wires": [\r
8801             [\r
8802                 "2c7d526d.80fc76"\r
8803             ]\r
8804         ]\r
8805     },\r
8806     {\r
8807         "id": "2c7d526d.80fc76",\r
8808         "type": "set",\r
8809         "name": "set controller domain data",\r
8810         "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
8811         "comments": "",\r
8812         "x": 3575.2325439453125,\r
8813         "y": 6780.616668701172,\r
8814         "z": "8bd89607.6248d8",\r
8815         "wires": []\r
8816     },\r
8817     {\r
8818         "id": "468cb6c4.ffb168",\r
8819         "type": "block",\r
8820         "name": "block : atomic",\r
8821         "xml": "<block atomic=\"true\">",\r
8822         "atomic": "true",\r
8823         "outputs": 1,\r
8824         "x": 1451.2332763671875,\r
8825         "y": 6905.616668701172,\r
8826         "z": "8bd89607.6248d8",\r
8827         "wires": [\r
8828             [\r
8829                 "90358f7a.3bc868",\r
8830                 "a442da27.96a27",\r
8831                 "12fc611d.1c5a0f"\r
8832             ]\r
8833         ]\r
8834     },\r
8835     {\r
8836         "id": "12fc611d.1c5a0f",\r
8837         "type": "switchNode",\r
8838         "name": "switch connectivity has ethernet service",\r
8839         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8840         "comments": "",\r
8841         "outputs": 1,\r
8842         "x": 1733.433349609375,\r
8843         "y": 7046.816864013672,\r
8844         "z": "8bd89607.6248d8",\r
8845         "wires": [\r
8846             [\r
8847                 "fd3fa457.558cb8",\r
8848                 "5e9ee12a.d5b628"\r
8849             ]\r
8850         ]\r
8851     },\r
8852     {\r
8853         "id": "5e9ee12a.d5b628",\r
8854         "type": "other",\r
8855         "name": "other",\r
8856         "xml": "<outcome value='Other'>\n",\r
8857         "comments": "",\r
8858         "outputs": 1,\r
8859         "x": 1986.433349609375,\r
8860         "y": 7024.816864013672,\r
8861         "z": "8bd89607.6248d8",\r
8862         "wires": [\r
8863             [\r
8864                 "c43e864.6fdea78"\r
8865             ]\r
8866         ]\r
8867     },\r
8868     {\r
8869         "id": "fd3fa457.558cb8",\r
8870         "type": "outcome",\r
8871         "name": "Null",\r
8872         "xml": "<outcome value=''>\n",\r
8873         "comments": "",\r
8874         "outputs": 1,\r
8875         "x": 1986.433349609375,\r
8876         "y": 7080.816864013672,\r
8877         "z": "8bd89607.6248d8",\r
8878         "wires": [\r
8879             []\r
8880         ]\r
8881     },\r
8882     {\r
8883         "id": "c43e864.6fdea78",\r
8884         "type": "execute",\r
8885         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8886         "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
8887         "comments": "",\r
8888         "outputs": 1,\r
8889         "x": 2336.432861328125,\r
8890         "y": 7014.816864013672,\r
8891         "z": "8bd89607.6248d8",\r
8892         "wires": [\r
8893             [\r
8894                 "d8cf4668.e6bf58",\r
8895                 "fc9a7200.07e08"\r
8896             ]\r
8897         ]\r
8898     },\r
8899     {\r
8900         "id": "d8cf4668.e6bf58",\r
8901         "type": "failure",\r
8902         "name": "failure",\r
8903         "xml": "<outcome value='failure'>\n",\r
8904         "comments": "",\r
8905         "outputs": 1,\r
8906         "x": 2668.932861328125,\r
8907         "y": 6988.816864013672,\r
8908         "z": "8bd89607.6248d8",\r
8909         "wires": [\r
8910             [\r
8911                 "fa6e7b78.6ccd98"\r
8912             ]\r
8913         ]\r
8914     },\r
8915     {\r
8916         "id": "fc9a7200.07e08",\r
8917         "type": "success",\r
8918         "name": "success",\r
8919         "xml": "<outcome value='success'>\n",\r
8920         "comments": "",\r
8921         "outputs": 1,\r
8922         "x": 2672.932861328125,\r
8923         "y": 7028.816864013672,\r
8924         "z": "8bd89607.6248d8",\r
8925         "wires": [\r
8926             [\r
8927                 "f96cab06.f1bd18"\r
8928             ]\r
8929         ]\r
8930     },\r
8931     {\r
8932         "id": "f96cab06.f1bd18",\r
8933         "type": "block",\r
8934         "name": "block : atomic",\r
8935         "xml": "<block atomic=\"true\">",\r
8936         "atomic": "true",\r
8937         "comments": "",\r
8938         "outputs": 1,\r
8939         "x": 2860.432861328125,\r
8940         "y": 7032.816864013672,\r
8941         "z": "8bd89607.6248d8",\r
8942         "wires": [\r
8943             []\r
8944         ]\r
8945     },\r
8946     {\r
8947         "id": "fa6e7b78.6ccd98",\r
8948         "type": "returnFailure",\r
8949         "name": "return failure",\r
8950         "xml": "<return 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
8951         "comments": "",\r
8952         "x": 2856.932861328125,\r
8953         "y": 6992.816864013672,\r
8954         "z": "8bd89607.6248d8",\r
8955         "wires": []\r
8956     },\r
8957     {\r
8958         "id": "6504876a.65a0e",\r
8959         "type": "execute",\r
8960         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
8961         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
8962         "comments": "",\r
8963         "outputs": 1,\r
8964         "x": 1089.25,\r
8965         "y": 4732.39990234375,\r
8966         "z": "8bd89607.6248d8",\r
8967         "wires": [\r
8968             [\r
8969                 "2f2c7d69.04a202",\r
8970                 "749e3757.254fd8"\r
8971             ]\r
8972         ]\r
8973     },\r
8974     {\r
8975         "id": "2f2c7d69.04a202",\r
8976         "type": "failure",\r
8977         "name": "failure",\r
8978         "xml": "<outcome value='failure'>\n",\r
8979         "comments": "",\r
8980         "outputs": 1,\r
8981         "x": 1517.749755859375,\r
8982         "y": 4720.39990234375,\r
8983         "z": "8bd89607.6248d8",\r
8984         "wires": [\r
8985             [\r
8986                 "e83630dc.e1ba"\r
8987             ]\r
8988         ]\r
8989     },\r
8990     {\r
8991         "id": "749e3757.254fd8",\r
8992         "type": "success",\r
8993         "name": "success",\r
8994         "xml": "<outcome value='success'>\n",\r
8995         "comments": "",\r
8996         "outputs": 1,\r
8997         "x": 1521.749755859375,\r
8998         "y": 4760.39990234375,\r
8999         "z": "8bd89607.6248d8",\r
9000         "wires": [\r
9001             [\r
9002                 "28010736.1a772"\r
9003             ]\r
9004         ]\r
9005     },\r
9006     {\r
9007         "id": "e83630dc.e1ba",\r
9008         "type": "returnFailure",\r
9009         "name": "return failure",\r
9010         "xml": "<return 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
9011         "comments": "",\r
9012         "x": 1675.749755859375,\r
9013         "y": 4720.39990234375,\r
9014         "z": "8bd89607.6248d8",\r
9015         "wires": []\r
9016     },\r
9017     {\r
9018         "id": "28010736.1a772",\r
9019         "type": "block",\r
9020         "name": "block : atomic",\r
9021         "xml": "<block atomic=\"true\">",\r
9022         "atomic": "true",\r
9023         "comments": "",\r
9024         "outputs": 1,\r
9025         "x": 1679.249755859375,\r
9026         "y": 4760.39990234375,\r
9027         "z": "8bd89607.6248d8",\r
9028         "wires": [\r
9029             []\r
9030         ]\r
9031     },\r
9032     {\r
9033         "id": "2f2661a7.5dc1e6",\r
9034         "type": "block",\r
9035         "name": "block : atomic",\r
9036         "xml": "<block atomic='true'>",\r
9037         "atomic": "true",\r
9038         "comments": "",\r
9039         "outputs": 1,\r
9040         "x": 5113,\r
9041         "y": 5053,\r
9042         "z": "8bd89607.6248d8",\r
9043         "wires": [\r
9044             [\r
9045                 "ae15e960.f1e88",\r
9046                 "28b0c0f7.1a36d8",\r
9047                 "8a83aff9.8ddf38"\r
9048             ]\r
9049         ]\r
9050     },\r
9051     {\r
9052         "id": "8a83aff9.8ddf38",\r
9053         "type": "set",\r
9054         "name": "set vpnNameToSearch",\r
9055         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
9056         "comments": "",\r
9057         "x": 5340,\r
9058         "y": 4998,\r
9059         "z": "8bd89607.6248d8",\r
9060         "wires": []\r
9061     },\r
9062     {\r
9063         "id": "ae15e960.f1e88",\r
9064         "type": "call",\r
9065         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
9066         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
9067         "comments": "",\r
9068         "outputs": 1,\r
9069         "x": 5494,\r
9070         "y": 5050,\r
9071         "z": "8bd89607.6248d8",\r
9072         "wires": [\r
9073             []\r
9074         ]\r
9075     },\r
9076     {\r
9077         "id": "28b0c0f7.1a36d8",\r
9078         "type": "switchNode",\r
9079         "name": "switch $foundVpnName",\r
9080         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
9081         "comments": "",\r
9082         "outputs": 1,\r
9083         "x": 5339,\r
9084         "y": 5105,\r
9085         "z": "8bd89607.6248d8",\r
9086         "wires": [\r
9087             [\r
9088                 "48fdd2f1.2b095c"\r
9089             ]\r
9090         ]\r
9091     },\r
9092     {\r
9093         "id": "48fdd2f1.2b095c",\r
9094         "type": "outcomeTrue",\r
9095         "name": "true",\r
9096         "xml": "<outcome value='true'>\n",\r
9097         "comments": "",\r
9098         "outputs": 1,\r
9099         "x": 5518,\r
9100         "y": 5104,\r
9101         "z": "8bd89607.6248d8",\r
9102         "wires": [\r
9103             [\r
9104                 "a26e073.3ca98f8"\r
9105             ]\r
9106         ]\r
9107     },\r
9108     {\r
9109         "id": "e3b4a4d3.b60598",\r
9110         "type": "set",\r
9111         "name": "unset secondary related variables",\r
9112         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
9113         "comments": "",\r
9114         "x": 3380.249969482422,\r
9115         "y": 459,\r
9116         "z": "8bd89607.6248d8",\r
9117         "wires": []\r
9118     },\r
9119     {\r
9120         "id": "22dcd918.a9e88e",\r
9121         "type": "set",\r
9122         "name": "set network-route-three",\r
9123         "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
9124         "comments": "",\r
9125         "x": 3344.249969482422,\r
9126         "y": 709,\r
9127         "z": "8bd89607.6248d8",\r
9128         "wires": []\r
9129     },\r
9130     {\r
9131         "id": "1743864d.d3d2f2",\r
9132         "type": "switchNode",\r
9133         "name": "switch secondary empty?",\r
9134         "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
9135         "comments": "",\r
9136         "outputs": 1,\r
9137         "x": 3347.666473388672,\r
9138         "y": 751.2499694824219,\r
9139         "z": "8bd89607.6248d8",\r
9140         "wires": [\r
9141             [\r
9142                 "a9f40bfb.e2369",\r
9143                 "3b2a9389.6292cc"\r
9144             ]\r
9145         ]\r
9146     },\r
9147     {\r
9148         "id": "a9f40bfb.e2369",\r
9149         "type": "outcomeTrue",\r
9150         "name": "true",\r
9151         "xml": "<outcome value='true'>\n",\r
9152         "comments": "",\r
9153         "outputs": 1,\r
9154         "x": 3586.6663513183594,\r
9155         "y": 587.25,\r
9156         "z": "8bd89607.6248d8",\r
9157         "wires": [\r
9158             [\r
9159                 "143a1a38.4be736"\r
9160             ]\r
9161         ]\r
9162     },\r
9163     {\r
9164         "id": "3b2a9389.6292cc",\r
9165         "type": "outcomeFalse",\r
9166         "name": "false",\r
9167         "xml": "<outcome value='false'>\n",\r
9168         "comments": "",\r
9169         "outputs": 1,\r
9170         "x": 3595.6663513183594,\r
9171         "y": 634.25,\r
9172         "z": "8bd89607.6248d8",\r
9173         "wires": [\r
9174             [\r
9175                 "90836078.d811b"\r
9176             ]\r
9177         ]\r
9178     },\r
9179     {\r
9180         "id": "90836078.d811b",\r
9181         "type": "set",\r
9182         "name": "set hasSecondary true",\r
9183         "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
9184         "comments": "",\r
9185         "x": 3809.6663513183594,\r
9186         "y": 628.25,\r
9187         "z": "8bd89607.6248d8",\r
9188         "wires": []\r
9189     },\r
9190     {\r
9191         "id": "143a1a38.4be736",\r
9192         "type": "set",\r
9193         "name": "set hasSecondary false",\r
9194         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
9195         "comments": "",\r
9196         "x": 3813.6663513183594,\r
9197         "y": 584.25,\r
9198         "z": "8bd89607.6248d8",\r
9199         "wires": []\r
9200     },\r
9201     {\r
9202         "id": "c2039341.ed7fe",\r
9203         "type": "outcome",\r
9204         "name": "SECONDARY-ROOT",\r
9205         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9206         "comments": "",\r
9207         "outputs": 1,\r
9208         "x": 4175.700408935547,\r
9209         "y": 537.699951171875,\r
9210         "z": "8bd89607.6248d8",\r
9211         "wires": [\r
9212             [\r
9213                 "8f42381e.256918"\r
9214             ]\r
9215         ]\r
9216     },\r
9217     {\r
9218         "id": "8f42381e.256918",\r
9219         "type": "block",\r
9220         "name": "block",\r
9221         "xml": "<block>\n",\r
9222         "atomic": "false",\r
9223         "comments": "",\r
9224         "outputs": 1,\r
9225         "x": 4349.700408935547,\r
9226         "y": 532.699951171875,\r
9227         "z": "8bd89607.6248d8",\r
9228         "wires": [\r
9229             [\r
9230                 "2dfbe8eb.6df208",\r
9231                 "ae5efca5.b13ee"\r
9232             ]\r
9233         ]\r
9234     },\r
9235     {\r
9236         "id": "2dfbe8eb.6df208",\r
9237         "type": "set",\r
9238         "name": "set network-route-SECONDARY-ROOT",\r
9239         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9240         "comments": "",\r
9241         "x": 4593.700653076172,\r
9242         "y": 524.699951171875,\r
9243         "z": "8bd89607.6248d8",\r
9244         "wires": []\r
9245     },\r
9246     {\r
9247         "id": "ae5efca5.b13ee",\r
9248         "type": "set",\r
9249         "name": "set network-route-C",\r
9250         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9251         "comments": "",\r
9252         "x": 4539.700653076172,\r
9253         "y": 564.699951171875,\r
9254         "z": "8bd89607.6248d8",\r
9255         "wires": []\r
9256     },\r
9257     {\r
9258         "id": "49cd1e6.2c21e6",\r
9259         "type": "outcome",\r
9260         "name": "SECONDARY-ROOT",\r
9261         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9262         "comments": "",\r
9263         "outputs": 1,\r
9264         "x": 4144.700408935547,\r
9265         "y": 767.0999755859375,\r
9266         "z": "8bd89607.6248d8",\r
9267         "wires": [\r
9268             [\r
9269                 "37d7c141.43238e"\r
9270             ]\r
9271         ]\r
9272     },\r
9273     {\r
9274         "id": "37d7c141.43238e",\r
9275         "type": "block",\r
9276         "name": "block",\r
9277         "xml": "<block>\n",\r
9278         "atomic": "false",\r
9279         "comments": "",\r
9280         "outputs": 1,\r
9281         "x": 4302.700164794922,\r
9282         "y": 810.0997924804688,\r
9283         "z": "8bd89607.6248d8",\r
9284         "wires": [\r
9285             [\r
9286                 "3e1881a7.808dae",\r
9287                 "e3ee5030.818c18"\r
9288             ]\r
9289         ]\r
9290     },\r
9291     {\r
9292         "id": "3e1881a7.808dae",\r
9293         "type": "set",\r
9294         "name": "set network-route-SECONDARY-ROOT",\r
9295         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9296         "comments": "",\r
9297         "x": 4524.700164794922,\r
9298         "y": 796.0999145507812,\r
9299         "z": "8bd89607.6248d8",\r
9300         "wires": []\r
9301     },\r
9302     {\r
9303         "id": "e3ee5030.818c18",\r
9304         "type": "set",\r
9305         "name": "set network-route-C",\r
9306         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9307         "comments": "",\r
9308         "x": 4470.700164794922,\r
9309         "y": 836.0999145507812,\r
9310         "z": "8bd89607.6248d8",\r
9311         "wires": []\r
9312     },\r
9313     {\r
9314         "id": "898efbe9.b7aab8",\r
9315         "type": "save",\r
9316         "name": "get network-route-three from aai",\r
9317         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
9318         "comments": "",\r
9319         "outputs": 1,\r
9320         "x": 3356.133270263672,\r
9321         "y": 1003.333251953125,\r
9322         "z": "8bd89607.6248d8",\r
9323         "wires": [\r
9324             [\r
9325                 "648675ef.25d1f4",\r
9326                 "2e60c86e.fc1c08",\r
9327                 "80896ca0.c29cc8"\r
9328             ]\r
9329         ]\r
9330     },\r
9331     {\r
9332         "id": "648675ef.25d1f4",\r
9333         "type": "not-found",\r
9334         "name": "not-found",\r
9335         "xml": "<outcome value='not-found'>\n",\r
9336         "comments": "",\r
9337         "outputs": 1,\r
9338         "x": 3596.133270263672,\r
9339         "y": 986.333251953125,\r
9340         "z": "8bd89607.6248d8",\r
9341         "wires": [\r
9342             []\r
9343         ]\r
9344     },\r
9345     {\r
9346         "id": "2e60c86e.fc1c08",\r
9347         "type": "failure",\r
9348         "name": "failure",\r
9349         "xml": "<outcome value='failure'>\n",\r
9350         "comments": "",\r
9351         "outputs": 1,\r
9352         "x": 3591.642333984375,\r
9353         "y": 1028.7593078613281,\r
9354         "z": "8bd89607.6248d8",\r
9355         "wires": [\r
9356             []\r
9357         ]\r
9358     },\r
9359     {\r
9360         "id": "80896ca0.c29cc8",\r
9361         "type": "success",\r
9362         "name": "success",\r
9363         "xml": "<outcome value='success'>\n",\r
9364         "comments": "",\r
9365         "outputs": 1,\r
9366         "x": 3595.642303466797,\r
9367         "y": 1076.75927734375,\r
9368         "z": "8bd89607.6248d8",\r
9369         "wires": [\r
9370             [\r
9371                 "1a4bd447.a95bf4"\r
9372             ]\r
9373         ]\r
9374     },\r
9375     {\r
9376         "id": "1a4bd447.a95bf4",\r
9377         "type": "block",\r
9378         "name": "block : atomic",\r
9379         "xml": "<block atomic=\"true\">",\r
9380         "atomic": "true",\r
9381         "outputs": 1,\r
9382         "x": 3751.133270263672,\r
9383         "y": 1046.3331909179688,\r
9384         "z": "8bd89607.6248d8",\r
9385         "wires": [\r
9386             [\r
9387                 "caee9e1d.8e2348"\r
9388             ]\r
9389         ]\r
9390     },\r
9391     {\r
9392         "id": "caee9e1d.8e2348",\r
9393         "type": "switchNode",\r
9394         "name": "switch nr type",\r
9395         "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
9396         "comments": "",\r
9397         "outputs": 1,\r
9398         "x": 3873.133270263672,\r
9399         "y": 993.3331909179688,\r
9400         "z": "8bd89607.6248d8",\r
9401         "wires": [\r
9402             [\r
9403                 "63dc4834.c55f2",\r
9404                 "861e97a1.4a94",\r
9405                 "50fdf697.5f0398"\r
9406             ]\r
9407         ]\r
9408     },\r
9409     {\r
9410         "id": "63dc4834.c55f2",\r
9411         "type": "outcome",\r
9412         "name": "ROOT",\r
9413         "xml": "<outcome value='ROOT'>\n",\r
9414         "comments": "",\r
9415         "outputs": 1,\r
9416         "x": 4109.133270263672,\r
9417         "y": 843.3331909179688,\r
9418         "z": "8bd89607.6248d8",\r
9419         "wires": [\r
9420             [\r
9421                 "15fc5ae7.def135"\r
9422             ]\r
9423         ]\r
9424     },\r
9425     {\r
9426         "id": "861e97a1.4a94",\r
9427         "type": "outcome",\r
9428         "name": "LEAF",\r
9429         "xml": "<outcome value='LEAF'>\n",\r
9430         "comments": "",\r
9431         "outputs": 1,\r
9432         "x": 4105.133270263672,\r
9433         "y": 899.3331909179688,\r
9434         "z": "8bd89607.6248d8",\r
9435         "wires": [\r
9436             [\r
9437                 "de3f550a.e65dd8"\r
9438             ]\r
9439         ]\r
9440     },\r
9441     {\r
9442         "id": "15fc5ae7.def135",\r
9443         "type": "block",\r
9444         "name": "block",\r
9445         "xml": "<block>\n",\r
9446         "atomic": "false",\r
9447         "comments": "",\r
9448         "outputs": 1,\r
9449         "x": 4235.133270263672,\r
9450         "y": 851.3331909179688,\r
9451         "z": "8bd89607.6248d8",\r
9452         "wires": [\r
9453             [\r
9454                 "a2d4f205.05df18",\r
9455                 "97e552b.298d73"\r
9456             ]\r
9457         ]\r
9458     },\r
9459     {\r
9460         "id": "de3f550a.e65dd8",\r
9461         "type": "block",\r
9462         "name": "block",\r
9463         "xml": "<block>\n",\r
9464         "atomic": "false",\r
9465         "comments": "",\r
9466         "outputs": 1,\r
9467         "x": 4238.133270263672,\r
9468         "y": 904.3331909179688,\r
9469         "z": "8bd89607.6248d8",\r
9470         "wires": [\r
9471             [\r
9472                 "77158a83.3502bc",\r
9473                 "fb7ab28b.9d9ce8"\r
9474             ]\r
9475         ]\r
9476     },\r
9477     {\r
9478         "id": "50fdf697.5f0398",\r
9479         "type": "outcome",\r
9480         "name": "SECONDARY-ROOT",\r
9481         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9482         "comments": "",\r
9483         "outputs": 1,\r
9484         "x": 4098.133270263672,\r
9485         "y": 977.3331909179688,\r
9486         "z": "8bd89607.6248d8",\r
9487         "wires": [\r
9488             [\r
9489                 "4a03238e.72a4b4"\r
9490             ]\r
9491         ]\r
9492     },\r
9493     {\r
9494         "id": "4a03238e.72a4b4",\r
9495         "type": "block",\r
9496         "name": "block",\r
9497         "xml": "<block>\n",\r
9498         "atomic": "false",\r
9499         "comments": "",\r
9500         "outputs": 1,\r
9501         "x": 4254.133270263672,\r
9502         "y": 998.3331909179688,\r
9503         "z": "8bd89607.6248d8",\r
9504         "wires": [\r
9505             [\r
9506                 "8f9b7ac9.e6c508",\r
9507                 "4399bcd6.51e06c"\r
9508             ]\r
9509         ]\r
9510     },\r
9511     {\r
9512         "id": "a2d4f205.05df18",\r
9513         "type": "set",\r
9514         "name": "set network-route-ROOT",\r
9515         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9516         "comments": "",\r
9517         "x": 4482.133270263672,\r
9518         "y": 881.3331909179688,\r
9519         "z": "8bd89607.6248d8",\r
9520         "wires": []\r
9521     },\r
9522     {\r
9523         "id": "97e552b.298d73",\r
9524         "type": "set",\r
9525         "name": "set network-route-B",\r
9526         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9527         "comments": "",\r
9528         "x": 4474.133270263672,\r
9529         "y": 923.3331909179688,\r
9530         "z": "8bd89607.6248d8",\r
9531         "wires": []\r
9532     },\r
9533     {\r
9534         "id": "77158a83.3502bc",\r
9535         "type": "set",\r
9536         "name": "set network-route-LEAF",\r
9537         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9538         "comments": "",\r
9539         "x": 4475.133270263672,\r
9540         "y": 975.3331909179688,\r
9541         "z": "8bd89607.6248d8",\r
9542         "wires": []\r
9543     },\r
9544     {\r
9545         "id": "fb7ab28b.9d9ce8",\r
9546         "type": "set",\r
9547         "name": "set network-route-A",\r
9548         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9549         "comments": "",\r
9550         "x": 4462.133270263672,\r
9551         "y": 1015.3331909179688,\r
9552         "z": "8bd89607.6248d8",\r
9553         "wires": []\r
9554     },\r
9555     {\r
9556         "id": "4399bcd6.51e06c",\r
9557         "type": "set",\r
9558         "name": "set network-route-C",\r
9559         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9560         "comments": "",\r
9561         "x": 4436.133270263672,\r
9562         "y": 1109.3331909179688,\r
9563         "z": "8bd89607.6248d8",\r
9564         "wires": []\r
9565     },\r
9566     {\r
9567         "id": "8f9b7ac9.e6c508",\r
9568         "type": "set",\r
9569         "name": "set network-route-SECONDARY-ROOT",\r
9570         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9571         "comments": "",\r
9572         "x": 4498.133270263672,\r
9573         "y": 1065.3331909179688,\r
9574         "z": "8bd89607.6248d8",\r
9575         "wires": []\r
9576     },\r
9577     {\r
9578         "id": "ac53fadb.549658",\r
9579         "type": "block",\r
9580         "name": "block : atomic",\r
9581         "xml": "<block atomic=\"true\">",\r
9582         "atomic": "true",\r
9583         "outputs": 1,\r
9584         "x": 3700.13330078125,\r
9585         "y": 2249,\r
9586         "z": "8bd89607.6248d8",\r
9587         "wires": [\r
9588             [\r
9589                 "a75c6a9f.cbf01",\r
9590                 "92c4a208.e0cb28"\r
9591             ]\r
9592         ]\r
9593     },\r
9594     {\r
9595         "id": "c76e7c83.8acf1",\r
9596         "type": "success",\r
9597         "name": "success",\r
9598         "xml": "<outcome value='success'>\n",\r
9599         "comments": "",\r
9600         "outputs": 1,\r
9601         "x": 3527.466796875,\r
9602         "y": 2250,\r
9603         "z": "8bd89607.6248d8",\r
9604         "wires": [\r
9605             [\r
9606                 "ac53fadb.549658"\r
9607             ]\r
9608         ]\r
9609     },\r
9610     {\r
9611         "id": "ac317b44.b3b988",\r
9612         "type": "not-found",\r
9613         "name": "not-found",\r
9614         "xml": "<outcome value='not-found'>\n",\r
9615         "comments": "",\r
9616         "outputs": 1,\r
9617         "x": 3536.957763671875,\r
9618         "y": 2292.5740356445312,\r
9619         "z": "8bd89607.6248d8",\r
9620         "wires": [\r
9621             []\r
9622         ]\r
9623     },\r
9624     {\r
9625         "id": "a866b4cc.e0caa",\r
9626         "type": "failure",\r
9627         "name": "failure",\r
9628         "xml": "<outcome value='failure'>\n",\r
9629         "comments": "",\r
9630         "outputs": 1,\r
9631         "x": 3525.466796875,\r
9632         "y": 2339,\r
9633         "z": "8bd89607.6248d8",\r
9634         "wires": [\r
9635             []\r
9636         ]\r
9637     },\r
9638     {\r
9639         "id": "a75c6a9f.cbf01",\r
9640         "type": "execute",\r
9641         "name": "execute split tp-id to get pnf-name",\r
9642         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
9643         "comments": "",\r
9644         "outputs": 1,\r
9645         "x": 3990.466796875,\r
9646         "y": 2265,\r
9647         "z": "8bd89607.6248d8",\r
9648         "wires": [\r
9649             [\r
9650                 "af57ae08.dd681",\r
9651                 "e5cbeb5f.6e9468"\r
9652             ]\r
9653         ]\r
9654     },\r
9655     {\r
9656         "id": "e5cbeb5f.6e9468",\r
9657         "type": "failure",\r
9658         "name": "success",\r
9659         "xml": "<outcome value='success'>\n",\r
9660         "comments": "",\r
9661         "outputs": 1,\r
9662         "x": 4213.466796875,\r
9663         "y": 2220,\r
9664         "z": "8bd89607.6248d8",\r
9665         "wires": [\r
9666             [\r
9667                 "5a256296.5bc59c"\r
9668             ]\r
9669         ]\r
9670     },\r
9671     {\r
9672         "id": "af57ae08.dd681",\r
9673         "type": "failure",\r
9674         "name": "failure",\r
9675         "xml": "<outcome value='failure'>\n",\r
9676         "comments": "",\r
9677         "outputs": 1,\r
9678         "x": 4215.466796875,\r
9679         "y": 2284,\r
9680         "z": "8bd89607.6248d8",\r
9681         "wires": [\r
9682             [\r
9683                 "c3ad5792.8dfac"\r
9684             ]\r
9685         ]\r
9686     },\r
9687     {\r
9688         "id": "f7bdbced.e4e6e",\r
9689         "type": "save",\r
9690         "name": "get p-interface-dst from aai",\r
9691         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
9692         "comments": "",\r
9693         "outputs": 1,\r
9694         "x": 3321.466796875,\r
9695         "y": 2271,\r
9696         "z": "8bd89607.6248d8",\r
9697         "wires": [\r
9698             [\r
9699                 "c76e7c83.8acf1",\r
9700                 "ac317b44.b3b988",\r
9701                 "a866b4cc.e0caa"\r
9702             ]\r
9703         ]\r
9704     },\r
9705     {\r
9706         "id": "4d6bf9fc.2af3d8",\r
9707         "type": "comment",\r
9708         "name": "Question?",\r
9709         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
9710         "comments": "",\r
9711         "x": 3260.466796875,\r
9712         "y": 2229,\r
9713         "z": "8bd89607.6248d8",\r
9714         "wires": []\r
9715     },\r
9716     {\r
9717         "id": "3ddfa25a.4bc3f6",\r
9718         "type": "execute",\r
9719         "name": "execute split tp-id to get pnf-name",\r
9720         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
9721         "comments": "",\r
9722         "outputs": 1,\r
9723         "x": 3341.466796875,\r
9724         "y": 2119,\r
9725         "z": "8bd89607.6248d8",\r
9726         "wires": [\r
9727             [\r
9728                 "1f8f213c.23a987",\r
9729                 "723c86fe.b2129"\r
9730             ]\r
9731         ]\r
9732     },\r
9733     {\r
9734         "id": "723c86fe.b2129",\r
9735         "type": "failure",\r
9736         "name": "success",\r
9737         "xml": "<outcome value='success'>\n",\r
9738         "comments": "",\r
9739         "outputs": 1,\r
9740         "x": 3564.466796875,\r
9741         "y": 2105,\r
9742         "z": "8bd89607.6248d8",\r
9743         "wires": [\r
9744             [\r
9745                 "2b76ade7.37f3aa"\r
9746             ]\r
9747         ]\r
9748     },\r
9749     {\r
9750         "id": "1f8f213c.23a987",\r
9751         "type": "failure",\r
9752         "name": "failure",\r
9753         "xml": "<outcome value='failure'>\n",\r
9754         "comments": "",\r
9755         "outputs": 1,\r
9756         "x": 3566.466796875,\r
9757         "y": 2138,\r
9758         "z": "8bd89607.6248d8",\r
9759         "wires": [\r
9760             []\r
9761         ]\r
9762     },\r
9763     {\r
9764         "id": "2b76ade7.37f3aa",\r
9765         "type": "block",\r
9766         "name": "block : atomic",\r
9767         "xml": "<block atomic=\"true\">",\r
9768         "atomic": "true",\r
9769         "outputs": 1,\r
9770         "x": 3712.466796875,\r
9771         "y": 2098,\r
9772         "z": "8bd89607.6248d8",\r
9773         "wires": [\r
9774             [\r
9775                 "a96a9fab.149bd",\r
9776                 "6bae074d.4cc69"\r
9777             ]\r
9778         ]\r
9779     },\r
9780     {\r
9781         "id": "a96a9fab.149bd",\r
9782         "type": "set",\r
9783         "name": "set pnf-name",\r
9784         "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
9785         "comments": "",\r
9786         "x": 3904.4666748046875,\r
9787         "y": 2035,\r
9788         "z": "8bd89607.6248d8",\r
9789         "wires": []\r
9790     },\r
9791     {\r
9792         "id": "92c4a208.e0cb28",\r
9793         "type": "for",\r
9794         "name": "for each relationship",\r
9795         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
9796         "comments": "",\r
9797         "outputs": 1,\r
9798         "x": 3971.466796875,\r
9799         "y": 2396,\r
9800         "z": "8bd89607.6248d8",\r
9801         "wires": [\r
9802             [\r
9803                 "fb667e00.cdee38"\r
9804             ]\r
9805         ]\r
9806     },\r
9807     {\r
9808         "id": "fb667e00.cdee38",\r
9809         "type": "switchNode",\r
9810         "name": "switch related-to",\r
9811         "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
9812         "comments": "",\r
9813         "outputs": 1,\r
9814         "x": 4177.466796875,\r
9815         "y": 2396,\r
9816         "z": "8bd89607.6248d8",\r
9817         "wires": [\r
9818             [\r
9819                 "7f231a25.219aec"\r
9820             ]\r
9821         ]\r
9822     },\r
9823     {\r
9824         "id": "6bae074d.4cc69",\r
9825         "type": "get-resource",\r
9826         "name": "get-resource src pnf",\r
9827         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
9828         "comments": "",\r
9829         "outputs": 1,\r
9830         "x": 3926.4666748046875,\r
9831         "y": 2103,\r
9832         "z": "8bd89607.6248d8",\r
9833         "wires": [\r
9834             [\r
9835                 "6f9fafbd.595338",\r
9836                 "5fece99f.57a078",\r
9837                 "53c7941c.fd6f84"\r
9838             ]\r
9839         ]\r
9840     },\r
9841     {\r
9842         "id": "6f9fafbd.595338",\r
9843         "type": "success",\r
9844         "name": "success",\r
9845         "xml": "<outcome value='success'>\n",\r
9846         "comments": "",\r
9847         "outputs": 1,\r
9848         "x": 4121.966796875,\r
9849         "y": 2055,\r
9850         "z": "8bd89607.6248d8",\r
9851         "wires": [\r
9852             [\r
9853                 "1ef2a52f.ce58c3"\r
9854             ]\r
9855         ]\r
9856     },\r
9857     {\r
9858         "id": "5fece99f.57a078",\r
9859         "type": "not-found",\r
9860         "name": "not-found",\r
9861         "xml": "<outcome value='not-found'>\n",\r
9862         "comments": "",\r
9863         "outputs": 1,\r
9864         "x": 4113.966796875,\r
9865         "y": 2110,\r
9866         "z": "8bd89607.6248d8",\r
9867         "wires": [\r
9868             [\r
9869                 "d353a27e.170a88"\r
9870             ]\r
9871         ]\r
9872     },\r
9873     {\r
9874         "id": "53c7941c.fd6f84",\r
9875         "type": "other",\r
9876         "name": "other",\r
9877         "xml": "<outcome value='Other'>\n",\r
9878         "comments": "",\r
9879         "outputs": 1,\r
9880         "x": 4118.966796875,\r
9881         "y": 2167,\r
9882         "z": "8bd89607.6248d8",\r
9883         "wires": [\r
9884             [\r
9885                 "815f83cf.c9ecf"\r
9886             ]\r
9887         ]\r
9888     },\r
9889     {\r
9890         "id": "815f83cf.c9ecf",\r
9891         "type": "returnFailure",\r
9892         "name": "return failure",\r
9893         "xml": "<return 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
9894         "comments": "",\r
9895         "x": 4270.966796875,\r
9896         "y": 2168,\r
9897         "z": "8bd89607.6248d8",\r
9898         "wires": []\r
9899     },\r
9900     {\r
9901         "id": "1ef2a52f.ce58c3",\r
9902         "type": "block",\r
9903         "name": "block",\r
9904         "xml": "<block>\n",\r
9905         "atomic": "false",\r
9906         "comments": "",\r
9907         "outputs": 1,\r
9908         "x": 4266.34912109375,\r
9909         "y": 2052.6556701660156,\r
9910         "z": "8bd89607.6248d8",\r
9911         "wires": [\r
9912             [\r
9913                 "df579443.2dfaa"\r
9914             ]\r
9915         ]\r
9916     },\r
9917     {\r
9918         "id": "b2f7d29a.c36bc8",\r
9919         "type": "set",\r
9920         "name": "set SECONDARY-ROOT stuff",\r
9921         "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
9922         "comments": "",\r
9923         "x": 3322.13330078125,\r
9924         "y": 2364,\r
9925         "z": "8bd89607.6248d8",\r
9926         "wires": []\r
9927     },\r
9928     {\r
9929         "id": "29a75985.a4b2ae",\r
9930         "type": "comment",\r
9931         "name": "NOT NEEDED ANYMORE?",\r
9932         "info": "",\r
9933         "comments": "",\r
9934         "x": 4001.133270263672,\r
9935         "y": 2339.9998474121094,\r
9936         "z": "8bd89607.6248d8",\r
9937         "wires": []\r
9938     },\r
9939     {\r
9940         "id": "c3ad5792.8dfac",\r
9941         "type": "returnFailure",\r
9942         "name": "return failure",\r
9943         "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
9944         "comments": "",\r
9945         "x": 4374.466796875,\r
9946         "y": 2303,\r
9947         "z": "8bd89607.6248d8",\r
9948         "wires": []\r
9949     },\r
9950     {\r
9951         "id": "5a256296.5bc59c",\r
9952         "type": "block",\r
9953         "name": "block : atomic",\r
9954         "xml": "<block atomic=\"true\">",\r
9955         "atomic": "true",\r
9956         "outputs": 1,\r
9957         "x": 4378.466796875,\r
9958         "y": 2217,\r
9959         "z": "8bd89607.6248d8",\r
9960         "wires": [\r
9961             [\r
9962                 "a0a57c60.9feaa",\r
9963                 "8f9217bc.ce51e"\r
9964             ]\r
9965         ]\r
9966     },\r
9967     {\r
9968         "id": "7f231a25.219aec",\r
9969         "type": "outcome",\r
9970         "name": "tunnel-termination-point",\r
9971         "xml": "<outcome value='tunnel-termination-point'>\n",\r
9972         "comments": "",\r
9973         "outputs": 1,\r
9974         "x": 4394.75244140625,\r
9975         "y": 2394.82177734375,\r
9976         "z": "8bd89607.6248d8",\r
9977         "wires": [\r
9978             [\r
9979                 "f1964530.52cb1"\r
9980             ]\r
9981         ]\r
9982     },\r
9983     {\r
9984         "id": "d353a27e.170a88",\r
9985         "type": "returnFailure",\r
9986         "name": "return failure",\r
9987         "xml": "<return 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
9988         "comments": "",\r
9989         "x": 4281.966796875,\r
9990         "y": 2113,\r
9991         "z": "8bd89607.6248d8",\r
9992         "wires": []\r
9993     },\r
9994     {\r
9995         "id": "a0a57c60.9feaa",\r
9996         "type": "set",\r
9997         "name": "set ltpId",\r
9998         "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
9999         "comments": "",\r
10000         "x": 4548.466796875,\r
10001         "y": 2178,\r
10002         "z": "8bd89607.6248d8",\r
10003         "wires": []\r
10004     },\r
10005     {\r
10006         "id": "8f9217bc.ce51e",\r
10007         "type": "set",\r
10008         "name": "set pnf-name",\r
10009         "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
10010         "comments": "",\r
10011         "x": 4549.466796875,\r
10012         "y": 2283,\r
10013         "z": "8bd89607.6248d8",\r
10014         "wires": []\r
10015     },\r
10016     {\r
10017         "id": "1ea5e7d3.f23f9",\r
10018         "type": "comment",\r
10019         "name": "TODO: FIXME",\r
10020         "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
10021         "comments": "",\r
10022         "x": 4544.466796875,\r
10023         "y": 2232,\r
10024         "z": "8bd89607.6248d8",\r
10025         "wires": []\r
10026     },\r
10027     {\r
10028         "id": "f1964530.52cb1",\r
10029         "type": "block",\r
10030         "name": "block : atomic",\r
10031         "xml": "<block atomic=\"true\">",\r
10032         "atomic": "true",\r
10033         "outputs": 1,\r
10034         "x": 4601.583984375,\r
10035         "y": 2384.3404541015625,\r
10036         "z": "8bd89607.6248d8",\r
10037         "wires": [\r
10038             [\r
10039                 "cbbeb825.19f92",\r
10040                 "b0c2600a.46c7c",\r
10041                 "511030eb.63bcc8"\r
10042             ]\r
10043         ]\r
10044     },\r
10045     {\r
10046         "id": "cbbeb825.19f92",\r
10047         "type": "set",\r
10048         "name": "set destination ttp-id",\r
10049         "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
10050         "comments": "",\r
10051         "x": 4816.583984375,\r
10052         "y": 2346.3404541015625,\r
10053         "z": "8bd89607.6248d8",\r
10054         "wires": []\r
10055     },\r
10056     {\r
10057         "id": "b0c2600a.46c7c",\r
10058         "type": "get-resource",\r
10059         "name": "get-resource src TTP",\r
10060         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
10061         "comments": "",\r
10062         "outputs": 1,\r
10063         "x": 4813.583984375,\r
10064         "y": 2385.3404541015625,\r
10065         "z": "8bd89607.6248d8",\r
10066         "wires": [\r
10067             [\r
10068                 "ce425175.45de18"\r
10069             ]\r
10070         ]\r
10071     },\r
10072     {\r
10073         "id": "511030eb.63bcc8",\r
10074         "type": "break",\r
10075         "name": "break",\r
10076         "xml": "<break>\n",\r
10077         "comments": "",\r
10078         "x": 4769.083984375,\r
10079         "y": 2427.3404541015625,\r
10080         "z": "8bd89607.6248d8",\r
10081         "wires": []\r
10082     },\r
10083     {\r
10084         "id": "b757d82d.12f65",\r
10085         "type": "outcome",\r
10086         "name": "esr-thirdparty-sdnc",\r
10087         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
10088         "comments": "",\r
10089         "outputs": 1,\r
10090         "x": 4850.466796875,\r
10091         "y": 2137.0001220703125,\r
10092         "z": "8bd89607.6248d8",\r
10093         "wires": [\r
10094             [\r
10095                 "8ab896d8.87229"\r
10096             ]\r
10097         ]\r
10098     },\r
10099     {\r
10100         "id": "df579443.2dfaa",\r
10101         "type": "for",\r
10102         "name": "for each relationship",\r
10103         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
10104         "comments": "",\r
10105         "outputs": 1,\r
10106         "x": 4450.4666748046875,\r
10107         "y": 2067,\r
10108         "z": "8bd89607.6248d8",\r
10109         "wires": [\r
10110             [\r
10111                 "51046da7.24d494"\r
10112             ]\r
10113         ]\r
10114     },\r
10115     {\r
10116         "id": "51046da7.24d494",\r
10117         "type": "switchNode",\r
10118         "name": "switch related-to",\r
10119         "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
10120         "comments": "",\r
10121         "outputs": 1,\r
10122         "x": 4647.466796875,\r
10123         "y": 2133.0001220703125,\r
10124         "z": "8bd89607.6248d8",\r
10125         "wires": [\r
10126             [\r
10127                 "b757d82d.12f65",\r
10128                 "4ad69efc.b2bd68"\r
10129             ]\r
10130         ]\r
10131     },\r
10132     {\r
10133         "id": "4ad69efc.b2bd68",\r
10134         "type": "outcome",\r
10135         "name": "network-resource",\r
10136         "xml": "<outcome value='network-resource'>",\r
10137         "comments": "",\r
10138         "outputs": 1,\r
10139         "x": 4852.466796875,\r
10140         "y": 2210.0001220703125,\r
10141         "z": "8bd89607.6248d8",\r
10142         "wires": [\r
10143             [\r
10144                 "a0ad2556.3951b8"\r
10145             ]\r
10146         ]\r
10147     },\r
10148     {\r
10149         "id": "ce425175.45de18",\r
10150         "type": "success",\r
10151         "name": "success",\r
10152         "xml": "<outcome value='success'>\n",\r
10153         "comments": "",\r
10154         "outputs": 1,\r
10155         "x": 4994.083984375,\r
10156         "y": 2384.3404541015625,\r
10157         "z": "8bd89607.6248d8",\r
10158         "wires": [\r
10159             [\r
10160                 "822b3c7.3a67ac"\r
10161             ]\r
10162         ]\r
10163     },\r
10164     {\r
10165         "id": "822b3c7.3a67ac",\r
10166         "type": "block",\r
10167         "name": "block : atomic",\r
10168         "xml": "<block atomic=\"true\">",\r
10169         "atomic": "true",\r
10170         "outputs": 1,\r
10171         "x": 5152.083984375,\r
10172         "y": 2384.3404541015625,\r
10173         "z": "8bd89607.6248d8",\r
10174         "wires": [\r
10175             [\r
10176                 "71be1479.f150cc"\r
10177             ]\r
10178         ]\r
10179     },\r
10180     {\r
10181         "id": "71be1479.f150cc",\r
10182         "type": "set",\r
10183         "name": "set destination tunnel tp ip",\r
10184         "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
10185         "comments": "",\r
10186         "x": 5359.083984375,\r
10187         "y": 2384.3404541015625,\r
10188         "z": "8bd89607.6248d8",\r
10189         "wires": []\r
10190     },\r
10191     {\r
10192         "id": "8ab896d8.87229",\r
10193         "type": "block",\r
10194         "name": "block : atomic",\r
10195         "xml": "<block atomic=\"true\">",\r
10196         "atomic": "true",\r
10197         "outputs": 1,\r
10198         "x": 5027.466796875,\r
10199         "y": 2129.0001220703125,\r
10200         "z": "8bd89607.6248d8",\r
10201         "wires": [\r
10202             [\r
10203                 "d7fa69fb.085438",\r
10204                 "ce745876.37fbb"\r
10205             ]\r
10206         ]\r
10207     },\r
10208     {\r
10209         "id": "ce745876.37fbb",\r
10210         "type": "execute",\r
10211         "name": "get esr-thirdparty-sdnc",\r
10212         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
10213         "comments": "",\r
10214         "outputs": 1,\r
10215         "x": 5235.466796875,\r
10216         "y": 2136.0001220703125,\r
10217         "z": "8bd89607.6248d8",\r
10218         "wires": [\r
10219             [\r
10220                 "10a5091f.ce791f",\r
10221                 "70c5216d.20762",\r
10222                 "eee03948.c8ee08"\r
10223             ]\r
10224         ]\r
10225     },\r
10226     {\r
10227         "id": "a0ad2556.3951b8",\r
10228         "type": "block",\r
10229         "name": "block : atomic",\r
10230         "xml": "<block atomic=\"true\">",\r
10231         "atomic": "true",\r
10232         "outputs": 1,\r
10233         "x": 5029.466796875,\r
10234         "y": 2202.0001220703125,\r
10235         "z": "8bd89607.6248d8",\r
10236         "wires": [\r
10237             [\r
10238                 "dba8eb8b.b7ea7"\r
10239             ]\r
10240         ]\r
10241     },\r
10242     {\r
10243         "id": "d7fa69fb.085438",\r
10244         "type": "set",\r
10245         "name": "set esr-thirdparty-sdnc domainC id",\r
10246         "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10247         "comments": "",\r
10248         "x": 5265.466796875,\r
10249         "y": 2084.0001220703125,\r
10250         "z": "8bd89607.6248d8",\r
10251         "wires": []\r
10252     },\r
10253     {\r
10254         "id": "dba8eb8b.b7ea7",\r
10255         "type": "set",\r
10256         "name": "set domainC ethernet layer network-id",\r
10257         "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10258         "comments": "",\r
10259         "x": 5264.466796875,\r
10260         "y": 2326.0001220703125,\r
10261         "z": "8bd89607.6248d8",\r
10262         "wires": []\r
10263     },\r
10264     {\r
10265         "id": "10a5091f.ce791f",\r
10266         "type": "success",\r
10267         "name": "success",\r
10268         "xml": "<outcome value='success'>\n",\r
10269         "comments": "",\r
10270         "outputs": 1,\r
10271         "x": 5445.466796875,\r
10272         "y": 2127.0001220703125,\r
10273         "z": "8bd89607.6248d8",\r
10274         "wires": [\r
10275             [\r
10276                 "d091f788.e8c778"\r
10277             ]\r
10278         ]\r
10279     },\r
10280     {\r
10281         "id": "70c5216d.20762",\r
10282         "type": "not-found",\r
10283         "name": "not-found",\r
10284         "xml": "<outcome value='not-found'>\n",\r
10285         "comments": "",\r
10286         "outputs": 1,\r
10287         "x": 5437.466796875,\r
10288         "y": 2182.0001220703125,\r
10289         "z": "8bd89607.6248d8",\r
10290         "wires": [\r
10291             [\r
10292                 "52797bd8.2181a4"\r
10293             ]\r
10294         ]\r
10295     },\r
10296     {\r
10297         "id": "eee03948.c8ee08",\r
10298         "type": "other",\r
10299         "name": "other",\r
10300         "xml": "<outcome value='Other'>\n",\r
10301         "comments": "",\r
10302         "outputs": 1,\r
10303         "x": 5442.466796875,\r
10304         "y": 2239.0001220703125,\r
10305         "z": "8bd89607.6248d8",\r
10306         "wires": [\r
10307             [\r
10308                 "a5f87747.8903"\r
10309             ]\r
10310         ]\r
10311     },\r
10312     {\r
10313         "id": "a5f87747.8903",\r
10314         "type": "returnFailure",\r
10315         "name": "return failure",\r
10316         "xml": "<return 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
10317         "comments": "",\r
10318         "x": 5594.466796875,\r
10319         "y": 2240.0001220703125,\r
10320         "z": "8bd89607.6248d8",\r
10321         "wires": []\r
10322     },\r
10323     {\r
10324         "id": "52797bd8.2181a4",\r
10325         "type": "returnFailure",\r
10326         "name": "return failure",\r
10327         "xml": "<return 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
10328         "comments": "",\r
10329         "x": 5605.466796875,\r
10330         "y": 2185.0001220703125,\r
10331         "z": "8bd89607.6248d8",\r
10332         "wires": []\r
10333     },\r
10334     {\r
10335         "id": "d091f788.e8c778",\r
10336         "type": "block",\r
10337         "name": "block",\r
10338         "xml": "<block>\n",\r
10339         "atomic": "false",\r
10340         "comments": "",\r
10341         "outputs": 1,\r
10342         "x": 5589.84912109375,\r
10343         "y": 2124.655792236328,\r
10344         "z": "8bd89607.6248d8",\r
10345         "wires": [\r
10346             [\r
10347                 "4f5aa4ec.a9ba44"\r
10348             ]\r
10349         ]\r
10350     },\r
10351     {\r
10352         "id": "4f5aa4ec.a9ba44",\r
10353         "type": "set",\r
10354         "name": "set controller domainC data",\r
10355         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
10356         "comments": "",\r
10357         "x": 5804.466796875,\r
10358         "y": 2121.0001220703125,\r
10359         "z": "8bd89607.6248d8",\r
10360         "wires": []\r
10361     },\r
10362     {\r
10363         "id": "b98aea07.4499",\r
10364         "type": "switchNode",\r
10365         "name": "switch $hasSecondary",\r
10366         "xml": "<switch test='`$hasSecondary`'>\n",\r
10367         "comments": "",\r
10368         "outputs": 1,\r
10369         "x": 3836.13330078125,\r
10370         "y": 2733,\r
10371         "z": "8bd89607.6248d8",\r
10372         "wires": [\r
10373             [\r
10374                 "7d724c43.dd872c"\r
10375             ]\r
10376         ]\r
10377     },\r
10378     {\r
10379         "id": "7d724c43.dd872c",\r
10380         "type": "outcomeTrue",\r
10381         "name": "true",\r
10382         "xml": "<outcome value='true'>\n",\r
10383         "comments": "",\r
10384         "outputs": 1,\r
10385         "x": 4027.13330078125,\r
10386         "y": 2737,\r
10387         "z": "8bd89607.6248d8",\r
10388         "wires": [\r
10389             [\r
10390                 "c26943ed.871ed8"\r
10391             ]\r
10392         ]\r
10393     },\r
10394     {\r
10395         "id": "c26943ed.871ed8",\r
10396         "type": "block",\r
10397         "name": "block",\r
10398         "xml": "<block>\n",\r
10399         "atomic": "false",\r
10400         "comments": "",\r
10401         "outputs": 1,\r
10402         "x": 4154.13330078125,\r
10403         "y": 2736,\r
10404         "z": "8bd89607.6248d8",\r
10405         "wires": [\r
10406             [\r
10407                 "a43135d6.d32b28"\r
10408             ]\r
10409         ]\r
10410     },\r
10411     {\r
10412         "id": "a43135d6.d32b28",\r
10413         "type": "save",\r
10414         "name": "get secondary root uni from aai",\r
10415         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
10416         "comments": "",\r
10417         "outputs": 1,\r
10418         "x": 4380.467041015625,\r
10419         "y": 2729.3336181640625,\r
10420         "z": "8bd89607.6248d8",\r
10421         "wires": [\r
10422             [\r
10423                 "a8ebbe95.3f6e4",\r
10424                 "38e80218.b5d4ce",\r
10425                 "b6cd2169.c74bc8"\r
10426             ]\r
10427         ]\r
10428     },\r
10429     {\r
10430         "id": "a8ebbe95.3f6e4",\r
10431         "type": "not-found",\r
10432         "name": "not-found",\r
10433         "xml": "<outcome value='not-found'>\n",\r
10434         "comments": "",\r
10435         "outputs": 1,\r
10436         "x": 4747.466796875,\r
10437         "y": 2623.33349609375,\r
10438         "z": "8bd89607.6248d8",\r
10439         "wires": [\r
10440             [\r
10441                 "e22da322.d0127"\r
10442             ]\r
10443         ]\r
10444     },\r
10445     {\r
10446         "id": "38e80218.b5d4ce",\r
10447         "type": "failure",\r
10448         "name": "failure",\r
10449         "xml": "<outcome value='failure'>\n",\r
10450         "comments": "",\r
10451         "outputs": 1,\r
10452         "x": 4742.975830078125,\r
10453         "y": 2667.7594604492188,\r
10454         "z": "8bd89607.6248d8",\r
10455         "wires": [\r
10456             [\r
10457                 "cc355488.cae9f"\r
10458             ]\r
10459         ]\r
10460     },\r
10461     {\r
10462         "id": "b6cd2169.c74bc8",\r
10463         "type": "success",\r
10464         "name": "success",\r
10465         "xml": "<outcome value='success'>\n",\r
10466         "comments": "",\r
10467         "outputs": 1,\r
10468         "x": 4738.975830078125,\r
10469         "y": 2717.759521484375,\r
10470         "z": "8bd89607.6248d8",\r
10471         "wires": [\r
10472             [\r
10473                 "78c42cb1.03bbb4"\r
10474             ]\r
10475         ]\r
10476     },\r
10477     {\r
10478         "id": "61178516.955b94",\r
10479         "type": "save",\r
10480         "name": "update SECONDARY-ROOT UNI in AAI",\r
10481         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
10482         "comments": "",\r
10483         "outputs": 1,\r
10484         "x": 5186.976318359375,\r
10485         "y": 2712.7596435546875,\r
10486         "z": "8bd89607.6248d8",\r
10487         "wires": [\r
10488             []\r
10489         ]\r
10490     },\r
10491     {\r
10492         "id": "e22da322.d0127",\r
10493         "type": "returnFailure",\r
10494         "name": "return failure",\r
10495         "xml": "<return 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
10496         "comments": "",\r
10497         "x": 4910.038330078125,\r
10498         "y": 2622.6192016601562,\r
10499         "z": "8bd89607.6248d8",\r
10500         "wires": []\r
10501     },\r
10502     {\r
10503         "id": "cc355488.cae9f",\r
10504         "type": "returnFailure",\r
10505         "name": "return failure",\r
10506         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
10507         "comments": "",\r
10508         "x": 4910.975830078125,\r
10509         "y": 2667.7594604492188,\r
10510         "z": "8bd89607.6248d8",\r
10511         "wires": []\r
10512     },\r
10513     {\r
10514         "id": "78c42cb1.03bbb4",\r
10515         "type": "block",\r
10516         "name": "block : atomic",\r
10517         "xml": "<block atomic=\"true\">",\r
10518         "atomic": "true",\r
10519         "outputs": 1,\r
10520         "x": 4907.975830078125,\r
10521         "y": 2717.759521484375,\r
10522         "z": "8bd89607.6248d8",\r
10523         "wires": [\r
10524             [\r
10525                 "67900f7a.aee708",\r
10526                 "61178516.955b94"\r
10527             ]\r
10528         ]\r
10529     },\r
10530     {\r
10531         "id": "67900f7a.aee708",\r
10532         "type": "set",\r
10533         "name": "set new bw",\r
10534         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
10535         "comments": "",\r
10536         "x": 5089.9765625,\r
10537         "y": 2659.759521484375,\r
10538         "z": "8bd89607.6248d8",\r
10539         "wires": []\r
10540     },\r
10541     {\r
10542         "id": "28b93260.26eace",\r
10543         "type": "switchNode",\r
10544         "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
10545         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
10546         "comments": "",\r
10547         "outputs": 1,\r
10548         "x": 4624.467041015625,\r
10549         "y": 3573.333251953125,\r
10550         "z": "8bd89607.6248d8",\r
10551         "wires": [\r
10552             [\r
10553                 "462ac15.49ec0c"\r
10554             ]\r
10555         ]\r
10556     },\r
10557     {\r
10558         "id": "462ac15.49ec0c",\r
10559         "type": "outcomeTrue",\r
10560         "name": "true",\r
10561         "xml": "<outcome value='true'>\n",\r
10562         "comments": "",\r
10563         "outputs": 1,\r
10564         "x": 4914.467041015625,\r
10565         "y": 3575.333251953125,\r
10566         "z": "8bd89607.6248d8",\r
10567         "wires": [\r
10568             [\r
10569                 "db4c40a7.875698"\r
10570             ]\r
10571         ]\r
10572     },\r
10573     {\r
10574         "id": "abf74f44.8bd74",\r
10575         "type": "switchNode",\r
10576         "name": "switch $hasSecondary",\r
10577         "xml": "<switch test='`$hasSecondary`'>\n",\r
10578         "comments": "",\r
10579         "outputs": 1,\r
10580         "x": 4277,\r
10581         "y": 5803.33349609375,\r
10582         "z": "8bd89607.6248d8",\r
10583         "wires": [\r
10584             [\r
10585                 "b3e521a4.a97f4"\r
10586             ]\r
10587         ]\r
10588     },\r
10589     {\r
10590         "id": "b3e521a4.a97f4",\r
10591         "type": "outcomeTrue",\r
10592         "name": "true",\r
10593         "xml": "<outcome value='true'>\n",\r
10594         "comments": "",\r
10595         "outputs": 1,\r
10596         "x": 4468,\r
10597         "y": 5807.33349609375,\r
10598         "z": "8bd89607.6248d8",\r
10599         "wires": [\r
10600             [\r
10601                 "aa154017.d63388"\r
10602             ]\r
10603         ]\r
10604     },\r
10605     {\r
10606         "id": "aa154017.d63388",\r
10607         "type": "block",\r
10608         "name": "block",\r
10609         "xml": "<block>\n",\r
10610         "atomic": "false",\r
10611         "comments": "",\r
10612         "outputs": 1,\r
10613         "x": 4595,\r
10614         "y": 5806.33349609375,\r
10615         "z": "8bd89607.6248d8",\r
10616         "wires": [\r
10617             [\r
10618                 "ea396a9e.94917"\r
10619             ]\r
10620         ]\r
10621     },\r
10622     {\r
10623         "id": "ea396a9e.94917",\r
10624         "type": "switchNode",\r
10625         "name": "switch 2-ROOTS in same domain?",\r
10626         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10627         "comments": "",\r
10628         "outputs": 1,\r
10629         "x": 4820.3330078125,\r
10630         "y": 5808.33349609375,\r
10631         "z": "8bd89607.6248d8",\r
10632         "wires": [\r
10633             [\r
10634                 "4aa7a407.8eccb4",\r
10635                 "90951777.87e61"\r
10636             ]\r
10637         ]\r
10638     },\r
10639     {\r
10640         "id": "4aa7a407.8eccb4",\r
10641         "type": "outcomeTrue",\r
10642         "name": "true",\r
10643         "xml": "<outcome value='true'>\n",\r
10644         "comments": "",\r
10645         "outputs": 1,\r
10646         "x": 5030.3330078125,\r
10647         "y": 5785.33349609375,\r
10648         "z": "8bd89607.6248d8",\r
10649         "wires": [\r
10650             [\r
10651                 "6131b803.ead228"\r
10652             ]\r
10653         ]\r
10654     },\r
10655     {\r
10656         "id": "90951777.87e61",\r
10657         "type": "outcomeTrue",\r
10658         "name": "false",\r
10659         "xml": "<outcome value='false'>\n",\r
10660         "comments": "",\r
10661         "outputs": 1,\r
10662         "x": 5035.3330078125,\r
10663         "y": 5834.33349609375,\r
10664         "z": "8bd89607.6248d8",\r
10665         "wires": [\r
10666             [\r
10667                 "9203f8f4.976da"\r
10668             ]\r
10669         ]\r
10670     },\r
10671     {\r
10672         "id": "6131b803.ead228",\r
10673         "type": "block",\r
10674         "name": "block",\r
10675         "xml": "<block>\n",\r
10676         "atomic": "false",\r
10677         "comments": "",\r
10678         "outputs": 1,\r
10679         "x": 5156.3330078125,\r
10680         "y": 5785.33349609375,\r
10681         "z": "8bd89607.6248d8",\r
10682         "wires": [\r
10683             []\r
10684         ]\r
10685     },\r
10686     {\r
10687         "id": "9203f8f4.976da",\r
10688         "type": "block",\r
10689         "name": "block",\r
10690         "xml": "<block>\n",\r
10691         "atomic": "false",\r
10692         "comments": "",\r
10693         "outputs": 1,\r
10694         "x": 5153.3330078125,\r
10695         "y": 5841.33349609375,\r
10696         "z": "8bd89607.6248d8",\r
10697         "wires": [\r
10698             [\r
10699                 "252aad6f.949002",\r
10700                 "2be015ab.396d82"\r
10701             ]\r
10702         ]\r
10703     },\r
10704     {\r
10705         "id": "252aad6f.949002",\r
10706         "type": "save",\r
10707         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10708         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10709         "comments": "",\r
10710         "outputs": 1,\r
10711         "x": 5467.3330078125,\r
10712         "y": 5900.33349609375,\r
10713         "z": "8bd89607.6248d8",\r
10714         "wires": [\r
10715             []\r
10716         ]\r
10717     },\r
10718     {\r
10719         "id": "1524ee99.1e1cd1",\r
10720         "type": "comment",\r
10721         "name": "Update connectivity status to modified",\r
10722         "info": "",\r
10723         "comments": "",\r
10724         "x": 5399.550048828125,\r
10725         "y": 5852.13330078125,\r
10726         "z": "8bd89607.6248d8",\r
10727         "wires": []\r
10728     },\r
10729     {\r
10730         "id": "2be015ab.396d82",\r
10731         "type": "call",\r
10732         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10733         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10734         "comments": "",\r
10735         "outputs": 1,\r
10736         "x": 5598,\r
10737         "y": 5810.33349609375,\r
10738         "z": "8bd89607.6248d8",\r
10739         "wires": [\r
10740             []\r
10741         ]\r
10742     },\r
10743     {\r
10744         "id": "d39caf18.6babe",\r
10745         "type": "switchNode",\r
10746         "name": "switch $hasSecondary",\r
10747         "xml": "<switch test='`$hasSecondary`'>\n",\r
10748         "comments": "",\r
10749         "outputs": 1,\r
10750         "x": 868,\r
10751         "y": 5000.3330078125,\r
10752         "z": "8bd89607.6248d8",\r
10753         "wires": [\r
10754             [\r
10755                 "bb5f541b.ab1a88"\r
10756             ]\r
10757         ]\r
10758     },\r
10759     {\r
10760         "id": "bb5f541b.ab1a88",\r
10761         "type": "outcomeTrue",\r
10762         "name": "true",\r
10763         "xml": "<outcome value='true'>\n",\r
10764         "comments": "",\r
10765         "outputs": 1,\r
10766         "x": 1059,\r
10767         "y": 5004.3330078125,\r
10768         "z": "8bd89607.6248d8",\r
10769         "wires": [\r
10770             [\r
10771                 "d475fb98.0c79f"\r
10772             ]\r
10773         ]\r
10774     },\r
10775     {\r
10776         "id": "d475fb98.0c79f",\r
10777         "type": "block",\r
10778         "name": "block",\r
10779         "xml": "<block>\n",\r
10780         "atomic": "false",\r
10781         "comments": "",\r
10782         "outputs": 1,\r
10783         "x": 1186,\r
10784         "y": 5003.3330078125,\r
10785         "z": "8bd89607.6248d8",\r
10786         "wires": [\r
10787             [\r
10788                 "4975d2d3.1f477c"\r
10789             ]\r
10790         ]\r
10791     },\r
10792     {\r
10793         "id": "4975d2d3.1f477c",\r
10794         "type": "switchNode",\r
10795         "name": "switch 2-ROOTS in same domain?",\r
10796         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10797         "comments": "",\r
10798         "outputs": 1,\r
10799         "x": 1411.3330078125,\r
10800         "y": 5005.3330078125,\r
10801         "z": "8bd89607.6248d8",\r
10802         "wires": [\r
10803             [\r
10804                 "78d676eb.347948",\r
10805                 "b9cebfbe.3a16d8"\r
10806             ]\r
10807         ]\r
10808     },\r
10809     {\r
10810         "id": "78d676eb.347948",\r
10811         "type": "outcomeTrue",\r
10812         "name": "true",\r
10813         "xml": "<outcome value='true'>\n",\r
10814         "comments": "",\r
10815         "outputs": 1,\r
10816         "x": 1621.3330078125,\r
10817         "y": 4982.3330078125,\r
10818         "z": "8bd89607.6248d8",\r
10819         "wires": [\r
10820             [\r
10821                 "be0beff9.053b6"\r
10822             ]\r
10823         ]\r
10824     },\r
10825     {\r
10826         "id": "b9cebfbe.3a16d8",\r
10827         "type": "outcomeTrue",\r
10828         "name": "false",\r
10829         "xml": "<outcome value='false'>\n",\r
10830         "comments": "",\r
10831         "outputs": 1,\r
10832         "x": 1626.3330078125,\r
10833         "y": 5031.3330078125,\r
10834         "z": "8bd89607.6248d8",\r
10835         "wires": [\r
10836             [\r
10837                 "1ec18968.883e37"\r
10838             ]\r
10839         ]\r
10840     },\r
10841     {\r
10842         "id": "be0beff9.053b6",\r
10843         "type": "block",\r
10844         "name": "block",\r
10845         "xml": "<block>\n",\r
10846         "atomic": "false",\r
10847         "comments": "",\r
10848         "outputs": 1,\r
10849         "x": 1747.3330078125,\r
10850         "y": 4982.3330078125,\r
10851         "z": "8bd89607.6248d8",\r
10852         "wires": [\r
10853             []\r
10854         ]\r
10855     },\r
10856     {\r
10857         "id": "1ec18968.883e37",\r
10858         "type": "block",\r
10859         "name": "block",\r
10860         "xml": "<block>\n",\r
10861         "atomic": "false",\r
10862         "comments": "",\r
10863         "outputs": 1,\r
10864         "x": 1744.3330078125,\r
10865         "y": 5038.3330078125,\r
10866         "z": "8bd89607.6248d8",\r
10867         "wires": [\r
10868             [\r
10869                 "3f1c1ffb.4cacd8",\r
10870                 "643240ac.3a15a"\r
10871             ]\r
10872         ]\r
10873     },\r
10874     {\r
10875         "id": "643240ac.3a15a",\r
10876         "type": "call",\r
10877         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10878         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10879         "comments": "",\r
10880         "outputs": 1,\r
10881         "x": 2189,\r
10882         "y": 5007.3330078125,\r
10883         "z": "8bd89607.6248d8",\r
10884         "wires": [\r
10885             []\r
10886         ]\r
10887     },\r
10888     {\r
10889         "id": "16675ac.2ba7ba5",\r
10890         "type": "comment",\r
10891         "name": "Update connectivity status to modified",\r
10892         "info": "",\r
10893         "comments": "",\r
10894         "x": 1990.550048828125,\r
10895         "y": 5049.1328125,\r
10896         "z": "8bd89607.6248d8",\r
10897         "wires": []\r
10898     },\r
10899     {\r
10900         "id": "3f1c1ffb.4cacd8",\r
10901         "type": "save",\r
10902         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10903         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10904         "comments": "",\r
10905         "outputs": 1,\r
10906         "x": 2058.3330078125,\r
10907         "y": 5097.3330078125,\r
10908         "z": "8bd89607.6248d8",\r
10909         "wires": [\r
10910             []\r
10911         ]\r
10912     },\r
10913     {\r
10914         "id": "68e0d31a.2e51f4",\r
10915         "type": "switchNode",\r
10916         "name": "switch $hasSecondary",\r
10917         "xml": "<switch test='`$hasSecondary`'>\n",\r
10918         "comments": "",\r
10919         "outputs": 1,\r
10920         "x": 1470.3333740234375,\r
10921         "y": 5841.33349609375,\r
10922         "z": "8bd89607.6248d8",\r
10923         "wires": [\r
10924             [\r
10925                 "2c8509f2.c5786e"\r
10926             ]\r
10927         ]\r
10928     },\r
10929     {\r
10930         "id": "2c8509f2.c5786e",\r
10931         "type": "outcomeTrue",\r
10932         "name": "true",\r
10933         "xml": "<outcome value='true'>\n",\r
10934         "comments": "",\r
10935         "outputs": 1,\r
10936         "x": 1661.3333740234375,\r
10937         "y": 5845.33349609375,\r
10938         "z": "8bd89607.6248d8",\r
10939         "wires": [\r
10940             [\r
10941                 "30f6f14a.076056"\r
10942             ]\r
10943         ]\r
10944     },\r
10945     {\r
10946         "id": "30f6f14a.076056",\r
10947         "type": "block",\r
10948         "name": "block",\r
10949         "xml": "<block>\n",\r
10950         "atomic": "false",\r
10951         "comments": "",\r
10952         "outputs": 1,\r
10953         "x": 1788.3333740234375,\r
10954         "y": 5844.33349609375,\r
10955         "z": "8bd89607.6248d8",\r
10956         "wires": [\r
10957             [\r
10958                 "b9a2493.fce2438"\r
10959             ]\r
10960         ]\r
10961     },\r
10962     {\r
10963         "id": "b9a2493.fce2438",\r
10964         "type": "switchNode",\r
10965         "name": "switch 2-ROOTS in same domain?",\r
10966         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10967         "comments": "",\r
10968         "outputs": 1,\r
10969         "x": 2013.6663818359375,\r
10970         "y": 5846.33349609375,\r
10971         "z": "8bd89607.6248d8",\r
10972         "wires": [\r
10973             [\r
10974                 "7c5427a0.bfcb2",\r
10975                 "2b71ce9a.05df6a"\r
10976             ]\r
10977         ]\r
10978     },\r
10979     {\r
10980         "id": "7c5427a0.bfcb2",\r
10981         "type": "outcomeTrue",\r
10982         "name": "true",\r
10983         "xml": "<outcome value='true'>\n",\r
10984         "comments": "",\r
10985         "outputs": 1,\r
10986         "x": 2223.6663818359375,\r
10987         "y": 5823.33349609375,\r
10988         "z": "8bd89607.6248d8",\r
10989         "wires": [\r
10990             [\r
10991                 "7c8ca33d.b99804"\r
10992             ]\r
10993         ]\r
10994     },\r
10995     {\r
10996         "id": "2b71ce9a.05df6a",\r
10997         "type": "outcomeTrue",\r
10998         "name": "false",\r
10999         "xml": "<outcome value='false'>\n",\r
11000         "comments": "",\r
11001         "outputs": 1,\r
11002         "x": 2228.6663818359375,\r
11003         "y": 5872.33349609375,\r
11004         "z": "8bd89607.6248d8",\r
11005         "wires": [\r
11006             [\r
11007                 "af2e72.47de599"\r
11008             ]\r
11009         ]\r
11010     },\r
11011     {\r
11012         "id": "7c8ca33d.b99804",\r
11013         "type": "block",\r
11014         "name": "block",\r
11015         "xml": "<block>\n",\r
11016         "atomic": "false",\r
11017         "comments": "",\r
11018         "outputs": 1,\r
11019         "x": 2349.6663818359375,\r
11020         "y": 5823.33349609375,\r
11021         "z": "8bd89607.6248d8",\r
11022         "wires": [\r
11023             []\r
11024         ]\r
11025     },\r
11026     {\r
11027         "id": "af2e72.47de599",\r
11028         "type": "block",\r
11029         "name": "block",\r
11030         "xml": "<block>\n",\r
11031         "atomic": "false",\r
11032         "comments": "",\r
11033         "outputs": 1,\r
11034         "x": 2346.6663818359375,\r
11035         "y": 5879.33349609375,\r
11036         "z": "8bd89607.6248d8",\r
11037         "wires": [\r
11038             [\r
11039                 "2f308234.b92f6e",\r
11040                 "e716a684.8ec94"\r
11041             ]\r
11042         ]\r
11043     },\r
11044     {\r
11045         "id": "e716a684.8ec94",\r
11046         "type": "call",\r
11047         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
11048         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
11049         "comments": "",\r
11050         "outputs": 1,\r
11051         "x": 2791.3333740234375,\r
11052         "y": 5848.33349609375,\r
11053         "z": "8bd89607.6248d8",\r
11054         "wires": [\r
11055             []\r
11056         ]\r
11057     },\r
11058     {\r
11059         "id": "1f18634c.d886cd",\r
11060         "type": "comment",\r
11061         "name": "Update connectivity status to modified",\r
11062         "info": "",\r
11063         "comments": "",\r
11064         "x": 2592.8834228515625,\r
11065         "y": 5890.13330078125,\r
11066         "z": "8bd89607.6248d8",\r
11067         "wires": []\r
11068     },\r
11069     {\r
11070         "id": "2f308234.b92f6e",\r
11071         "type": "save",\r
11072         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
11073         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
11074         "comments": "",\r
11075         "outputs": 1,\r
11076         "x": 2660.6663818359375,\r
11077         "y": 5938.33349609375,\r
11078         "z": "8bd89607.6248d8",\r
11079         "wires": [\r
11080             []\r
11081         ]\r
11082     }\r
11083 ]