5fb058b72d4f3cf3dcbb32a532649ee516149702
[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": "b3c61f0e.0e195",\r
4         "type": "dgstart",\r
5         "name": "DGSTART",\r
6         "outputs": 1,\r
7         "x": 183.56666564941406,\r
8         "y": 161.56666564941406,\r
9         "z": "1b4ba1fc.83240e",\r
10         "wires": [\r
11             [\r
12                 "a48494fd.8b7d"\r
13             ]\r
14         ]\r
15     },\r
16     {\r
17         "id": "a48494fd.8b7d",\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": 481.8523864746094,\r
26         "y": 217.8047742843628,\r
27         "z": "1b4ba1fc.83240e",\r
28         "wires": [\r
29             [\r
30                 "6868eec5.8eff3"\r
31             ]\r
32         ]\r
33     },\r
34     {\r
35         "id": "6868eec5.8eff3",\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": 487.99530029296875,\r
42         "y": 302.5666961669922,\r
43         "z": "1b4ba1fc.83240e",\r
44         "wires": [\r
45             [\r
46                 "42b0c518.6297dc"\r
47             ]\r
48         ]\r
49     },\r
50     {\r
51         "id": "42b0c518.6297dc",\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": 837.5666961669922,\r
58         "y": 361.56666564941406,\r
59         "z": "1b4ba1fc.83240e",\r
60         "wires": [\r
61             [\r
62                 "fec7e153.ea24b",\r
63                 "30575656.398222",\r
64                 "189baf2e.d72529"\r
65             ]\r
66         ]\r
67     },\r
68     {\r
69         "id": "fec7e153.ea24b",\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": 1138.9001922607422,\r
75         "y": 632.4969635009766,\r
76         "z": "1b4ba1fc.83240e",\r
77         "wires": []\r
78     },\r
79     {\r
80         "id": "30575656.398222",\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": 1160.3286590576172,\r
87         "y": 334.8999786376953,\r
88         "z": "1b4ba1fc.83240e",\r
89         "wires": [\r
90             [\r
91                 "27345488.79731c",\r
92                 "7e08d842.a4058",\r
93                 "14b3e2f5.681565"\r
94             ]\r
95         ]\r
96     },\r
97     {\r
98         "id": "27345488.79731c",\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": 1385.3286590576172,\r
105         "y": 192.8999786376953,\r
106         "z": "1b4ba1fc.83240e",\r
107         "wires": [\r
108             [\r
109                 "a8487fba.2cb09"\r
110             ]\r
111         ]\r
112     },\r
113     {\r
114         "id": "7e08d842.a4058",\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": 1380.8196258544922,\r
121         "y": 262.47401428222656,\r
122         "z": "1b4ba1fc.83240e",\r
123         "wires": [\r
124             [\r
125                 "26698778.b41f38"\r
126             ]\r
127         ]\r
128     },\r
129     {\r
130         "id": "14b3e2f5.681565",\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": 1369.3286590576172,\r
137         "y": 308.8999786376953,\r
138         "z": "1b4ba1fc.83240e",\r
139         "wires": [\r
140             [\r
141                 "e03cea3a.82881"\r
142             ]\r
143         ]\r
144     },\r
145     {\r
146         "id": "b94ba14f.99f16",\r
147         "type": "comment",\r
148         "name": "new for TransportSlicing",\r
149         "info": "",\r
150         "comments": "",\r
151         "x": 1139.3286590576172,\r
152         "y": 222.8999786376953,\r
153         "z": "1b4ba1fc.83240e",\r
154         "wires": []\r
155     },\r
156     {\r
157         "id": "189baf2e.d72529",\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": 1127.3286590576172,\r
164         "y": 274.8999786376953,\r
165         "z": "1b4ba1fc.83240e",\r
166         "wires": [\r
167             []\r
168         ]\r
169     },\r
170     {\r
171         "id": "a8487fba.2cb09",\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": 1625.5666961669922,\r
178         "y": 189.56666564941406,\r
179         "z": "1b4ba1fc.83240e",\r
180         "wires": [\r
181             [\r
182                 "7bdf94e9.87c2bc",\r
183                 "770405a0.0ddc6c"\r
184             ]\r
185         ]\r
186     },\r
187     {\r
188         "id": "26698778.b41f38",\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": 1535.6290740966797,\r
194         "y": 265.4264373779297,\r
195         "z": "1b4ba1fc.83240e",\r
196         "wires": []\r
197     },\r
198     {\r
199         "id": "e03cea3a.82881",\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": 1539.5666961669922,\r
205         "y": 309.56666564941406,\r
206         "z": "1b4ba1fc.83240e",\r
207         "wires": []\r
208     },\r
209     {\r
210         "id": "7bdf94e9.87c2bc",\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": 1830.5666961669922,\r
217         "y": 226.56666564941406,\r
218         "z": "1b4ba1fc.83240e",\r
219         "wires": [\r
220             [\r
221                 "79eb131c.176e44"\r
222             ]\r
223         ]\r
224     },\r
225     {\r
226         "id": "770405a0.0ddc6c",\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": 1840.5666961669922,\r
233         "y": 153.56666564941406,\r
234         "z": "1b4ba1fc.83240e",\r
235         "wires": [\r
236             []\r
237         ]\r
238     },\r
239     {\r
240         "id": "79eb131c.176e44",\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": 1823.5666961669922,\r
248         "y": 301.56666564941406,\r
249         "z": "1b4ba1fc.83240e",\r
250         "wires": [\r
251             [\r
252                 "9d4673ee.891e5",\r
253                 "1a86601d.154a48",\r
254                 "d6a895b8.ea711",\r
255                 "3f0be5e9.f7ecd2",\r
256                 "eca8d05b.38fb78"\r
257             ]\r
258         ]\r
259     },\r
260     {\r
261         "id": "fd1dcea.f15be3",\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": 2309.566696166992,\r
268         "y": 352.56666564941406,\r
269         "z": "1b4ba1fc.83240e",\r
270         "wires": [\r
271             [\r
272                 "2555bbc5.26f19c",\r
273                 "93423d46.b14978",\r
274                 "4c790d06.05e3ec"\r
275             ]\r
276         ]\r
277     },\r
278     {\r
279         "id": "2555bbc5.26f19c",\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": 2525.566696166992,\r
286         "y": 419.56666564941406,\r
287         "z": "1b4ba1fc.83240e",\r
288         "wires": [\r
289             [\r
290                 "cc8af145.1212b8"\r
291             ]\r
292         ]\r
293     },\r
294     {\r
295         "id": "93423d46.b14978",\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": 2526.057662963867,\r
302         "y": 319.14064025878906,\r
303         "z": "1b4ba1fc.83240e",\r
304         "wires": [\r
305             [\r
306                 "fbfefea4.a2d338"\r
307             ]\r
308         ]\r
309     },\r
310     {\r
311         "id": "4c790d06.05e3ec",\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": 2521.566696166992,\r
318         "y": 368.56666564941406,\r
319         "z": "1b4ba1fc.83240e",\r
320         "wires": [\r
321             [\r
322                 "d962a49c.c504b8"\r
323             ]\r
324         ]\r
325     },\r
326     {\r
327         "id": "9d4673ee.891e5",\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": 2026.5666961669922,\r
334         "y": 333.56666564941406,\r
335         "z": "1b4ba1fc.83240e",\r
336         "wires": [\r
337             [\r
338                 "d3206ca7.c31d1",\r
339                 "fd1dcea.f15be3",\r
340                 "426ddfc0.c628b",\r
341                 "d0874bda.7e1ac"\r
342             ]\r
343         ]\r
344     },\r
345     {\r
346         "id": "d3206ca7.c31d1",\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": 2306.566696166992,\r
352         "y": 271.56666564941406,\r
353         "z": "1b4ba1fc.83240e",\r
354         "wires": []\r
355     },\r
356     {\r
357         "id": "3f0be5e9.f7ecd2",\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": 2000.5666961669922,\r
363         "y": 283.56666564941406,\r
364         "z": "1b4ba1fc.83240e",\r
365         "wires": []\r
366     },\r
367     {\r
368         "id": "1a86601d.154a48",\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": 2043.5666961669922,\r
375         "y": 142.56666564941406,\r
376         "z": "1b4ba1fc.83240e",\r
377         "wires": [\r
378             []\r
379         ]\r
380     },\r
381     {\r
382         "id": "d6a895b8.ea711",\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": 2055.566696166992,\r
389         "y": 183.56666564941406,\r
390         "z": "1b4ba1fc.83240e",\r
391         "wires": [\r
392             []\r
393         ]\r
394     },\r
395     {\r
396         "id": "c8d3ec04.e3f8a8",\r
397         "type": "comment",\r
398         "name": "The following two nodes are for PCE",\r
399         "info": "",\r
400         "comments": "",\r
401         "x": 2080.566696166992,\r
402         "y": 95.56666564941406,\r
403         "z": "1b4ba1fc.83240e",\r
404         "wires": []\r
405     },\r
406     {\r
407         "id": "d7434469.de441",\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": 2000.5666961669922,\r
413         "y": 229.56666564941406,\r
414         "z": "1b4ba1fc.83240e",\r
415         "wires": []\r
416     },\r
417     {\r
418         "id": "fbfefea4.a2d338",\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": 2704.566696166992,\r
424         "y": 321.56666564941406,\r
425         "z": "1b4ba1fc.83240e",\r
426         "wires": []\r
427     },\r
428     {\r
429         "id": "d962a49c.c504b8",\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": 2704.504196166992,\r
435         "y": 370.70692443847656,\r
436         "z": "1b4ba1fc.83240e",\r
437         "wires": []\r
438     },\r
439     {\r
440         "id": "cc8af145.1212b8",\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": 2706.504196166992,\r
447         "y": 421.70692443847656,\r
448         "z": "1b4ba1fc.83240e",\r
449         "wires": [\r
450             [\r
451                 "30ad22b3.c0b5e6"\r
452             ]\r
453         ]\r
454     },\r
455     {\r
456         "id": "30ad22b3.c0b5e6",\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": 2999.504196166992,\r
463         "y": 368.70692443847656,\r
464         "z": "1b4ba1fc.83240e",\r
465         "wires": [\r
466             [\r
467                 "5234d98d.9f94d",\r
468                 "83314642.8bc358",\r
469                 "55523c43.af8514"\r
470             ]\r
471         ]\r
472     },\r
473     {\r
474         "id": "83314642.8bc358",\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": 3302.995132446289,\r
481         "y": 25.280899047851562,\r
482         "z": "1b4ba1fc.83240e",\r
483         "wires": [\r
484             [\r
485                 "f9033318.3a82e"\r
486             ]\r
487         ]\r
488     },\r
489     {\r
490         "id": "f9033318.3a82e",\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": 3480.566665649414,\r
496         "y": 25.566665649414062,\r
497         "z": "1b4ba1fc.83240e",\r
498         "wires": []\r
499     },\r
500     {\r
501         "id": "55523c43.af8514",\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": 3298.504165649414,\r
508         "y": 74.70692443847656,\r
509         "z": "1b4ba1fc.83240e",\r
510         "wires": [\r
511             [\r
512                 "ed442c0e.cae2b8"\r
513             ]\r
514         ]\r
515     },\r
516     {\r
517         "id": "ed442c0e.cae2b8",\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": 3480.504165649414,\r
523         "y": 74.70692443847656,\r
524         "z": "1b4ba1fc.83240e",\r
525         "wires": []\r
526     },\r
527     {\r
528         "id": "5234d98d.9f94d",\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": 3302.504165649414,\r
535         "y": 125.70692443847656,\r
536         "z": "1b4ba1fc.83240e",\r
537         "wires": [\r
538             [\r
539                 "7ab56666.401778"\r
540             ]\r
541         ]\r
542     },\r
543     {\r
544         "id": "7ab56666.401778",\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": 3482.504165649414,\r
551         "y": 125.70692443847656,\r
552         "z": "1b4ba1fc.83240e",\r
553         "wires": [\r
554             [\r
555                 "6c101067.0de5e8"\r
556             ]\r
557         ]\r
558     },\r
559     {\r
560         "id": "6c101067.0de5e8",\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": 3018.566696166992,\r
567         "y": 496.56666564941406,\r
568         "z": "1b4ba1fc.83240e",\r
569         "wires": [\r
570             [\r
571                 "646ab584.76e45c",\r
572                 "ffe35827.b1255"\r
573             ]\r
574         ]\r
575     },\r
576     {\r
577         "id": "ffe35827.b1255",\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": 3358.566665649414,\r
584         "y": 267.56666564941406,\r
585         "z": "1b4ba1fc.83240e",\r
586         "wires": [\r
587             []\r
588         ]\r
589     },\r
590     {\r
591         "id": "646ab584.76e45c",\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": 3357.566665649414,\r
598         "y": 321.56666564941406,\r
599         "z": "1b4ba1fc.83240e",\r
600         "wires": [\r
601             [\r
602                 "7579f2ad.787884"\r
603             ]\r
604         ]\r
605     },\r
606     {\r
607         "id": "76ff4ece.4716a",\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": 4102.566665649414,\r
614         "y": 275.56666564941406,\r
615         "z": "1b4ba1fc.83240e",\r
616         "wires": [\r
617             [\r
618                 "522d04a5.cf337c"\r
619             ]\r
620         ]\r
621     },\r
622     {\r
623         "id": "522d04a5.cf337c",\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": 4279.566543579102,\r
630         "y": 268.56654357910156,\r
631         "z": "1b4ba1fc.83240e",\r
632         "wires": [\r
633             [\r
634                 "ff700b35.f88fd",\r
635                 "a95b674a.f71a"\r
636             ]\r
637         ]\r
638     },\r
639     {\r
640         "id": "7579f2ad.787884",\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": 3521.566665649414,\r
647         "y": 247.56666564941406,\r
648         "z": "1b4ba1fc.83240e",\r
649         "wires": [\r
650             [\r
651                 "687e4dd8.df6004",\r
652                 "7a6c4648.75b9a"\r
653             ]\r
654         ]\r
655     },\r
656     {\r
657         "id": "687e4dd8.df6004",\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": 3802.566665649414,\r
664         "y": 203.56666564941406,\r
665         "z": "1b4ba1fc.83240e",\r
666         "wires": [\r
667             [\r
668                 "498ba81e.b961f8"\r
669             ]\r
670         ]\r
671     },\r
672     {\r
673         "id": "498ba81e.b961f8",\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": 4064.566665649414,\r
680         "y": 203.56666564941406,\r
681         "z": "1b4ba1fc.83240e",\r
682         "wires": [\r
683             [\r
684                 "76ff4ece.4716a"\r
685             ]\r
686         ]\r
687     },\r
688     {\r
689         "id": "ff700b35.f88fd",\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": 4522.566543579102,\r
695         "y": 225.56654357910156,\r
696         "z": "1b4ba1fc.83240e",\r
697         "wires": []\r
698     },\r
699     {\r
700         "id": "a95b674a.f71a",\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": 4511.566543579102,\r
707         "y": 280.56654357910156,\r
708         "z": "1b4ba1fc.83240e",\r
709         "wires": [\r
710             [\r
711                 "4864ccac.4c9fb4",\r
712                 "b78f5441.c1bfd",\r
713                 "4088ff64.ba745"\r
714             ]\r
715         ]\r
716     },\r
717     {\r
718         "id": "4088ff64.ba745",\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": 4764.566665649414,\r
725         "y": 166.56666564941406,\r
726         "z": "1b4ba1fc.83240e",\r
727         "wires": [\r
728             [\r
729                 "745cd258.155a8c"\r
730             ]\r
731         ]\r
732     },\r
733     {\r
734         "id": "745cd258.155a8c",\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": 4913.138198852539,\r
740         "y": 166.85243225097656,\r
741         "z": "1b4ba1fc.83240e",\r
742         "wires": []\r
743     },\r
744     {\r
745         "id": "d814f814.02812",\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": 4912.075698852539,\r
751         "y": 210.99269104003906,\r
752         "z": "1b4ba1fc.83240e",\r
753         "wires": []\r
754     },\r
755     {\r
756         "id": "b78f5441.c1bfd",\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": 4753.075698852539,\r
763         "y": 210.99269104003906,\r
764         "z": "1b4ba1fc.83240e",\r
765         "wires": [\r
766             [\r
767                 "d814f814.02812"\r
768             ]\r
769         ]\r
770     },\r
771     {\r
772         "id": "4864ccac.4c9fb4",\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": 4760.075698852539,\r
779         "y": 289.99269104003906,\r
780         "z": "1b4ba1fc.83240e",\r
781         "wires": [\r
782             [\r
783                 "efd9fdb1.0f83a"\r
784             ]\r
785         ]\r
786     },\r
787     {\r
788         "id": "efd9fdb1.0f83a",\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": 4899.075698852539,\r
796         "y": 289.99269104003906,\r
797         "z": "1b4ba1fc.83240e",\r
798         "wires": [\r
799             [\r
800                 "f2ffc2c8.9c3d6",\r
801                 "ca4f06f7.bf7198"\r
802             ]\r
803         ]\r
804     },\r
805     {\r
806         "id": "f2ffc2c8.9c3d6",\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": 5104.566665649414,\r
812         "y": 287.56666564941406,\r
813         "z": "1b4ba1fc.83240e",\r
814         "wires": []\r
815     },\r
816     {\r
817         "id": "ca4f06f7.bf7198",\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": 5103.566665649414,\r
823         "y": 333.56666564941406,\r
824         "z": "1b4ba1fc.83240e",\r
825         "wires": []\r
826     },\r
827     {\r
828         "id": "7a6c4648.75b9a",\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": 3619.566665649414,\r
835         "y": 319.56666564941406,\r
836         "z": "1b4ba1fc.83240e",\r
837         "wires": [\r
838             [\r
839                 "2b038d01.8bcf5a"\r
840             ]\r
841         ]\r
842     },\r
843     {\r
844         "id": "2b038d01.8bcf5a",\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": 3899.566665649414,\r
851         "y": 319.56666564941406,\r
852         "z": "1b4ba1fc.83240e",\r
853         "wires": [\r
854             [\r
855                 "924692b1.dbe118"\r
856             ]\r
857         ]\r
858     },\r
859     {\r
860         "id": "924692b1.dbe118",\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": 2282.5668182373047,\r
867         "y": 808.5667877197266,\r
868         "z": "1b4ba1fc.83240e",\r
869         "wires": [\r
870             [\r
871                 "e627a5b7.666348"\r
872             ]\r
873         ]\r
874     },\r
875     {\r
876         "id": "e627a5b7.666348",\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": 2459.566696166992,\r
883         "y": 801.5666656494141,\r
884         "z": "1b4ba1fc.83240e",\r
885         "wires": [\r
886             [\r
887                 "abe018e3.2ab958",\r
888                 "b299dbd0.7106d8"\r
889             ]\r
890         ]\r
891     },\r
892     {\r
893         "id": "abe018e3.2ab958",\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": 2702.566696166992,\r
899         "y": 758.5666656494141,\r
900         "z": "1b4ba1fc.83240e",\r
901         "wires": []\r
902     },\r
903     {\r
904         "id": "b299dbd0.7106d8",\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": 2691.566696166992,\r
911         "y": 813.5666656494141,\r
912         "z": "1b4ba1fc.83240e",\r
913         "wires": [\r
914             [\r
915                 "73425fcf.6d608",\r
916                 "9a2fb745.49c558",\r
917                 "c8c584c4.60469"\r
918             ]\r
919         ]\r
920     },\r
921     {\r
922         "id": "73425fcf.6d608",\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": 2983.057662963867,\r
929         "y": 792.1406402587891,\r
930         "z": "1b4ba1fc.83240e",\r
931         "wires": [\r
932             [\r
933                 "11a6918b.0ed79e"\r
934             ]\r
935         ]\r
936     },\r
937     {\r
938         "id": "9a2fb745.49c558",\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": 2971.566696166992,\r
945         "y": 836.5666656494141,\r
946         "z": "1b4ba1fc.83240e",\r
947         "wires": [\r
948             [\r
949                 "147fb75c.cecad1"\r
950             ]\r
951         ]\r
952     },\r
953     {\r
954         "id": "11a6918b.0ed79e",\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": 3131.629196166992,\r
960         "y": 792.4264068603516,\r
961         "z": "1b4ba1fc.83240e",\r
962         "wires": []\r
963     },\r
964     {\r
965         "id": "147fb75c.cecad1",\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": 3130.566696166992,\r
971         "y": 836.5666656494141,\r
972         "z": "1b4ba1fc.83240e",\r
973         "wires": []\r
974     },\r
975     {\r
976         "id": "c8c584c4.60469",\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": 2978.566696166992,\r
983         "y": 915.5666656494141,\r
984         "z": "1b4ba1fc.83240e",\r
985         "wires": [\r
986             [\r
987                 "18430aa7.b0cd65"\r
988             ]\r
989         ]\r
990     },\r
991     {\r
992         "id": "18430aa7.b0cd65",\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": 3117.566696166992,\r
1000         "y": 915.5666656494141,\r
1001         "z": "1b4ba1fc.83240e",\r
1002         "wires": [\r
1003             [\r
1004                 "a56438ce.7b3648",\r
1005                 "cd9c4fe8.e67498",\r
1006                 "b8cad49c.dd7ca",\r
1007                 "768c9bf8.5beb74",\r
1008                 "6f1a328d.ae400c",\r
1009                 "b16688a0.4defc",\r
1010                 "2c1d8b21.e96e8c",\r
1011                 "63cddf09.26d868",\r
1012                 "9d9de9db.5c38b8",\r
1013                 "e5f9b3dc.c2f9f",\r
1014                 "169ca3b9.4d31a4",\r
1015                 "1c28fc30.faaf74",\r
1016                 "19822907.e2052f",\r
1017                 "e8ad32eb.9df94",\r
1018                 "cf9533e5.c2371",\r
1019                 "22a945f9.085212",\r
1020                 "94938481.855978",\r
1021                 "7edb995a.421908",\r
1022                 "f054f8f8.d1b3a",\r
1023                 "dab7847.8f75af8",\r
1024                 "71a7eba7.ddb6fc",\r
1025                 "a71111e6.40602"\r
1026             ]\r
1027         ]\r
1028     },\r
1029     {\r
1030         "id": "ece3c8dc.fca8e",\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": 3461.566635131836,\r
1037         "y": 389.56666564941406,\r
1038         "z": "1b4ba1fc.83240e",\r
1039         "wires": [\r
1040             []\r
1041         ]\r
1042     },\r
1043     {\r
1044         "id": "a56438ce.7b3648",\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": 3442.566635131836,\r
1051         "y": 489.56666564941406,\r
1052         "z": "1b4ba1fc.83240e",\r
1053         "wires": [\r
1054             []\r
1055         ]\r
1056     },\r
1057     {\r
1058         "id": "1c28fc30.faaf74",\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": 3396.566635131836,\r
1064         "y": 540.5666656494141,\r
1065         "z": "1b4ba1fc.83240e",\r
1066         "wires": []\r
1067     },\r
1068     {\r
1069         "id": "cd9c4fe8.e67498",\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": 3370.566635131836,\r
1075         "y": 589.5666656494141,\r
1076         "z": "1b4ba1fc.83240e",\r
1077         "wires": []\r
1078     },\r
1079     {\r
1080         "id": "b8cad49c.dd7ca",\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": 3369.566635131836,\r
1086         "y": 638.5666656494141,\r
1087         "z": "1b4ba1fc.83240e",\r
1088         "wires": []\r
1089     },\r
1090     {\r
1091         "id": "768c9bf8.5beb74",\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": 3378.566635131836,\r
1098         "y": 776.5666656494141,\r
1099         "z": "1b4ba1fc.83240e",\r
1100         "wires": [\r
1101             [\r
1102                 "fe7f9a9e.cf1db8",\r
1103                 "156916f6.f1ec61",\r
1104                 "66ef43c6.2e3d64"\r
1105             ]\r
1106         ]\r
1107     },\r
1108     {\r
1109         "id": "6f1a328d.ae400c",\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": 3371.566635131836,\r
1116         "y": 837.5665435791016,\r
1117         "z": "1b4ba1fc.83240e",\r
1118         "wires": [\r
1119             [\r
1120                 "6dadc494.d9aa04",\r
1121                 "672f337a.746964",\r
1122                 "bcaed2fe.1f9ae"\r
1123             ]\r
1124         ]\r
1125     },\r
1126     {\r
1127         "id": "fe7f9a9e.cf1db8",\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": 3627.566390991211,\r
1134         "y": 671.5666656494141,\r
1135         "z": "1b4ba1fc.83240e",\r
1136         "wires": [\r
1137             [\r
1138                 "cc05b9e7.0fc9a"\r
1139             ]\r
1140         ]\r
1141     },\r
1142     {\r
1143         "id": "156916f6.f1ec61",\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": 3621.075424194336,\r
1150         "y": 712.9926910400391,\r
1151         "z": "1b4ba1fc.83240e",\r
1152         "wires": [\r
1153             [\r
1154                 "4587637b.94db5c"\r
1155             ]\r
1156         ]\r
1157     },\r
1158     {\r
1159         "id": "66ef43c6.2e3d64",\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": 3616.075424194336,\r
1166         "y": 762.9926910400391,\r
1167         "z": "1b4ba1fc.83240e",\r
1168         "wires": [\r
1169             [\r
1170                 "1eb5ad40.d06413"\r
1171             ]\r
1172         ]\r
1173     },\r
1174     {\r
1175         "id": "cc05b9e7.0fc9a",\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": 3776.137924194336,\r
1181         "y": 670.8524322509766,\r
1182         "z": "1b4ba1fc.83240e",\r
1183         "wires": []\r
1184     },\r
1185     {\r
1186         "id": "4587637b.94db5c",\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": 3766.075424194336,\r
1192         "y": 720.9926910400391,\r
1193         "z": "1b4ba1fc.83240e",\r
1194         "wires": []\r
1195     },\r
1196     {\r
1197         "id": "6dadc494.d9aa04",\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": 3592.566635131836,\r
1204         "y": 823.5665435791016,\r
1205         "z": "1b4ba1fc.83240e",\r
1206         "wires": [\r
1207             [\r
1208                 "1b1304b9.a5e66b"\r
1209             ]\r
1210         ]\r
1211     },\r
1212     {\r
1213         "id": "672f337a.746964",\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": 3588.075668334961,\r
1220         "y": 872.9925689697266,\r
1221         "z": "1b4ba1fc.83240e",\r
1222         "wires": [\r
1223             [\r
1224                 "e774fced.6104a8"\r
1225             ]\r
1226         ]\r
1227     },\r
1228     {\r
1229         "id": "bcaed2fe.1f9ae",\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": 3589.075668334961,\r
1236         "y": 925.9925689697266,\r
1237         "z": "1b4ba1fc.83240e",\r
1238         "wires": [\r
1239             [\r
1240                 "c076d47b.eaded"\r
1241             ]\r
1242         ]\r
1243     },\r
1244     {\r
1245         "id": "1b1304b9.a5e66b",\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": 3745.1380157470703,\r
1251         "y": 828.8523101806641,\r
1252         "z": "1b4ba1fc.83240e",\r
1253         "wires": []\r
1254     },\r
1255     {\r
1256         "id": "e774fced.6104a8",\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": 3731.075668334961,\r
1262         "y": 872.9925689697266,\r
1263         "z": "1b4ba1fc.83240e",\r
1264         "wires": []\r
1265     },\r
1266     {\r
1267         "id": "1eb5ad40.d06413",\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": 3788.566390991211,\r
1274         "y": 773.5666656494141,\r
1275         "z": "1b4ba1fc.83240e",\r
1276         "wires": [\r
1277             [\r
1278                 "7f2b8c9b.099c14"\r
1279             ]\r
1280         ]\r
1281     },\r
1282     {\r
1283         "id": "c076d47b.eaded",\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": 3742.566635131836,\r
1290         "y": 925.5665435791016,\r
1291         "z": "1b4ba1fc.83240e",\r
1292         "wires": [\r
1293             [\r
1294                 "8445401a.e44628"\r
1295             ]\r
1296         ]\r
1297     },\r
1298     {\r
1299         "id": "7f2b8c9b.099c14",\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": 3949.566635131836,\r
1306         "y": 660.5666656494141,\r
1307         "z": "1b4ba1fc.83240e",\r
1308         "wires": [\r
1309             [\r
1310                 "b0a8e75a.0829b8",\r
1311                 "40b074e3.b8cf9c",\r
1312                 "9b9082d.d33238"\r
1313             ]\r
1314         ]\r
1315     },\r
1316     {\r
1317         "id": "8445401a.e44628",\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": 3941.566635131836,\r
1324         "y": 845.5666656494141,\r
1325         "z": "1b4ba1fc.83240e",\r
1326         "wires": [\r
1327             [\r
1328                 "65174d4b.beb5c4",\r
1329                 "b443365d.1a3bf",\r
1330                 "a01fe37.2547ea"\r
1331             ]\r
1332         ]\r
1333     },\r
1334     {\r
1335         "id": "b0a8e75a.0829b8",\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": 4173.567123413086,\r
1342         "y": 364.5666046142578,\r
1343         "z": "1b4ba1fc.83240e",\r
1344         "wires": [\r
1345             [\r
1346                 "9aca5d50.3d0028"\r
1347             ]\r
1348         ]\r
1349     },\r
1350     {\r
1351         "id": "40b074e3.b8cf9c",\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": 4175.567123413086,\r
1358         "y": 418.5666046142578,\r
1359         "z": "1b4ba1fc.83240e",\r
1360         "wires": [\r
1361             [\r
1362                 "d411ea2f.0fea6"\r
1363             ]\r
1364         ]\r
1365     },\r
1366     {\r
1367         "id": "65174d4b.beb5c4",\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": 4139.567123413086,\r
1374         "y": 624.5666656494141,\r
1375         "z": "1b4ba1fc.83240e",\r
1376         "wires": [\r
1377             [\r
1378                 "b1818ac5.01eff"\r
1379             ]\r
1380         ]\r
1381     },\r
1382     {\r
1383         "id": "b443365d.1a3bf",\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": 4141.567123413086,\r
1390         "y": 678.5666656494141,\r
1391         "z": "1b4ba1fc.83240e",\r
1392         "wires": [\r
1393             [\r
1394                 "7efc1cf.1fed664"\r
1395             ]\r
1396         ]\r
1397     },\r
1398     {\r
1399         "id": "f6cae941.406738",\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": 4483.567123413086,\r
1405         "y": 316.5666046142578,\r
1406         "z": "1b4ba1fc.83240e",\r
1407         "wires": []\r
1408     },\r
1409     {\r
1410         "id": "71276df1.c00474",\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": 4476.567123413086,\r
1416         "y": 414.5666046142578,\r
1417         "z": "1b4ba1fc.83240e",\r
1418         "wires": []\r
1419     },\r
1420     {\r
1421         "id": "18b30ce8.3b3b9b",\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": 4455.567123413086,\r
1427         "y": 597.5666656494141,\r
1428         "z": "1b4ba1fc.83240e",\r
1429         "wires": []\r
1430     },\r
1431     {\r
1432         "id": "bdb5a388.dc57d",\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": 4459.567123413086,\r
1438         "y": 690.5666656494141,\r
1439         "z": "1b4ba1fc.83240e",\r
1440         "wires": []\r
1441     },\r
1442     {\r
1443         "id": "365f833d.25b8d4",\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": 3635.566665649414,\r
1450         "y": 1350.566665649414,\r
1451         "z": "1b4ba1fc.83240e",\r
1452         "wires": [\r
1453             [\r
1454                 "9fbce841.2e2e5"\r
1455             ]\r
1456         ]\r
1457     },\r
1458     {\r
1459         "id": "374e0e92.acb9ca",\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": 3645.057632446289,\r
1466         "y": 1393.1407012939453,\r
1467         "z": "1b4ba1fc.83240e",\r
1468         "wires": [\r
1469             [\r
1470                 "544f9b1.6ea9ce4"\r
1471             ]\r
1472         ]\r
1473     },\r
1474     {\r
1475         "id": "a1cbd1ad.ad2c18",\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": 3633.566665649414,\r
1482         "y": 1439.566665649414,\r
1483         "z": "1b4ba1fc.83240e",\r
1484         "wires": [\r
1485             [\r
1486                 "875bb611.eebb3"\r
1487             ]\r
1488         ]\r
1489     },\r
1490     {\r
1491         "id": "def43ac8.216f6",\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": 3335.566665649414,\r
1497         "y": 1312.566665649414,\r
1498         "z": "1b4ba1fc.83240e",\r
1499         "wires": []\r
1500     },\r
1501     {\r
1502         "id": "2c1d8b21.e96e8c",\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": 3378.566665649414,\r
1509         "y": 1377.566665649414,\r
1510         "z": "1b4ba1fc.83240e",\r
1511         "wires": [\r
1512             [\r
1513                 "365f833d.25b8d4",\r
1514                 "374e0e92.acb9ca",\r
1515                 "a1cbd1ad.ad2c18"\r
1516             ]\r
1517         ]\r
1518     },\r
1519     {\r
1520         "id": "b16688a0.4defc",\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": 3379.566635131836,\r
1527         "y": 1129.566665649414,\r
1528         "z": "1b4ba1fc.83240e",\r
1529         "wires": [\r
1530             [\r
1531                 "34aa1b4f.ba281c",\r
1532                 "141fecfc.2b9053"\r
1533             ]\r
1534         ]\r
1535     },\r
1536     {\r
1537         "id": "141fecfc.2b9053",\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": 3602.566635131836,\r
1544         "y": 1115.566665649414,\r
1545         "z": "1b4ba1fc.83240e",\r
1546         "wires": [\r
1547             [\r
1548                 "6c70ba9f.edd1f4"\r
1549             ]\r
1550         ]\r
1551     },\r
1552     {\r
1553         "id": "34aa1b4f.ba281c",\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": 3604.566635131836,\r
1560         "y": 1148.566665649414,\r
1561         "z": "1b4ba1fc.83240e",\r
1562         "wires": [\r
1563             [\r
1564                 "809a76b0.69bfb"\r
1565             ]\r
1566         ]\r
1567     },\r
1568     {\r
1569         "id": "9fbce841.2e2e5",\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": 3808.233169555664,\r
1576         "y": 1349.566665649414,\r
1577         "z": "1b4ba1fc.83240e",\r
1578         "wires": [\r
1579             [\r
1580                 "d947a96b.ec0e98",\r
1581                 "78e35528.26de5c"\r
1582             ]\r
1583         ]\r
1584     },\r
1585     {\r
1586         "id": "544f9b1.6ea9ce4",\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": 3798.6290435791016,\r
1592         "y": 1396.4264373779297,\r
1593         "z": "1b4ba1fc.83240e",\r
1594         "wires": []\r
1595     },\r
1596     {\r
1597         "id": "875bb611.eebb3",\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": 3802.566665649414,\r
1603         "y": 1440.566665649414,\r
1604         "z": "1b4ba1fc.83240e",\r
1605         "wires": []\r
1606     },\r
1607     {\r
1608         "id": "d947a96b.ec0e98",\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": 4072.566665649414,\r
1615         "y": 1333.566665649414,\r
1616         "z": "1b4ba1fc.83240e",\r
1617         "wires": [\r
1618             [\r
1619                 "15bba4b9.d2a05b",\r
1620                 "3ad9867a.e42d4a"\r
1621             ]\r
1622         ]\r
1623     },\r
1624     {\r
1625         "id": "3ad9867a.e42d4a",\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": 4295.566665649414,\r
1632         "y": 1288.566665649414,\r
1633         "z": "1b4ba1fc.83240e",\r
1634         "wires": [\r
1635             [\r
1636                 "6b929f53.c8f4f8"\r
1637             ]\r
1638         ]\r
1639     },\r
1640     {\r
1641         "id": "15bba4b9.d2a05b",\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": 4297.566665649414,\r
1648         "y": 1352.566665649414,\r
1649         "z": "1b4ba1fc.83240e",\r
1650         "wires": [\r
1651             [\r
1652                 "1ee9816c.cbffbf"\r
1653             ]\r
1654         ]\r
1655     },\r
1656     {\r
1657         "id": "1ee9816c.cbffbf",\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": 4459.566665649414,\r
1663         "y": 1348.566665649414,\r
1664         "z": "1b4ba1fc.83240e",\r
1665         "wires": []\r
1666     },\r
1667     {\r
1668         "id": "6b929f53.c8f4f8",\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": 4460.566665649414,\r
1675         "y": 1285.566665649414,\r
1676         "z": "1b4ba1fc.83240e",\r
1677         "wires": [\r
1678             [\r
1679                 "2ecc2d46.f12c7a",\r
1680                 "9183827d.0d9718"\r
1681             ]\r
1682         ]\r
1683     },\r
1684     {\r
1685         "id": "809a76b0.69bfb",\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": 3747.566635131836,\r
1691         "y": 1145.566665649414,\r
1692         "z": "1b4ba1fc.83240e",\r
1693         "wires": []\r
1694     },\r
1695     {\r
1696         "id": "6c70ba9f.edd1f4",\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": 3750.566635131836,\r
1703         "y": 1108.566665649414,\r
1704         "z": "1b4ba1fc.83240e",\r
1705         "wires": [\r
1706             [\r
1707                 "920604a0.fd0cf",\r
1708                 "ad826b52.8e9fa"\r
1709             ]\r
1710         ]\r
1711     },\r
1712     {\r
1713         "id": "920604a0.fd0cf",\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": 3942.566635131836,\r
1719         "y": 1110.566665649414,\r
1720         "z": "1b4ba1fc.83240e",\r
1721         "wires": []\r
1722     },\r
1723     {\r
1724         "id": "78e35528.26de5c",\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": 4032.566665649414,\r
1731         "y": 1465.566665649414,\r
1732         "z": "1b4ba1fc.83240e",\r
1733         "wires": [\r
1734             [\r
1735                 "75c2427c.8c10cc"\r
1736             ]\r
1737         ]\r
1738     },\r
1739     {\r
1740         "id": "75c2427c.8c10cc",\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": 4238.566665649414,\r
1747         "y": 1465.566665649414,\r
1748         "z": "1b4ba1fc.83240e",\r
1749         "wires": [\r
1750             [\r
1751                 "5fbadc48.b9fad4"\r
1752             ]\r
1753         ]\r
1754     },\r
1755     {\r
1756         "id": "5fbadc48.b9fad4",\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": 4453.852310180664,\r
1763         "y": 1465.388442993164,\r
1764         "z": "1b4ba1fc.83240e",\r
1765         "wires": [\r
1766             [\r
1767                 "4d8b1a53.4482f4"\r
1768             ]\r
1769         ]\r
1770     },\r
1771     {\r
1772         "id": "ad826b52.8e9fa",\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": 3939.566635131836,\r
1779         "y": 1175.566665649414,\r
1780         "z": "1b4ba1fc.83240e",\r
1781         "wires": [\r
1782             [\r
1783                 "70c21f01.ccf8c",\r
1784                 "fd021df7.11e338",\r
1785                 "df54403.64867c"\r
1786             ]\r
1787         ]\r
1788     },\r
1789     {\r
1790         "id": "70c21f01.ccf8c",\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": 4135.066757202148,\r
1797         "y": 1127.566665649414,\r
1798         "z": "1b4ba1fc.83240e",\r
1799         "wires": [\r
1800             [\r
1801                 "37006658.3814c2"\r
1802             ]\r
1803         ]\r
1804     },\r
1805     {\r
1806         "id": "fd021df7.11e338",\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": 4127.066757202148,\r
1813         "y": 1182.566665649414,\r
1814         "z": "1b4ba1fc.83240e",\r
1815         "wires": [\r
1816             [\r
1817                 "24c12ef7.012c52"\r
1818             ]\r
1819         ]\r
1820     },\r
1821     {\r
1822         "id": "df54403.64867c",\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": 4132.066757202148,\r
1829         "y": 1239.566665649414,\r
1830         "z": "1b4ba1fc.83240e",\r
1831         "wires": [\r
1832             [\r
1833                 "2b777797.09f0b8"\r
1834             ]\r
1835         ]\r
1836     },\r
1837     {\r
1838         "id": "2b777797.09f0b8",\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": 4284.066757202148,\r
1844         "y": 1240.566665649414,\r
1845         "z": "1b4ba1fc.83240e",\r
1846         "wires": []\r
1847     },\r
1848     {\r
1849         "id": "24c12ef7.012c52",\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": 4295.066757202148,\r
1855         "y": 1185.566665649414,\r
1856         "z": "1b4ba1fc.83240e",\r
1857         "wires": []\r
1858     },\r
1859     {\r
1860         "id": "37006658.3814c2",\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": 4279.449081420898,\r
1868         "y": 1125.2223358154297,\r
1869         "z": "1b4ba1fc.83240e",\r
1870         "wires": [\r
1871             [\r
1872                 "9c96e054.d5da8"\r
1873             ]\r
1874         ]\r
1875     },\r
1876     {\r
1877         "id": "9c96e054.d5da8",\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": 4473.566635131836,\r
1884         "y": 1169.5666046142578,\r
1885         "z": "1b4ba1fc.83240e",\r
1886         "wires": [\r
1887             [\r
1888                 "efaf74dd.57cd28"\r
1889             ]\r
1890         ]\r
1891     },\r
1892     {\r
1893         "id": "9183827d.0d9718",\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": 4630.566665649414,\r
1899         "y": 1243.566665649414,\r
1900         "z": "1b4ba1fc.83240e",\r
1901         "wires": []\r
1902     },\r
1903     {\r
1904         "id": "2ecc2d46.f12c7a",\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": 4631.566665649414,\r
1910         "y": 1351.566665649414,\r
1911         "z": "1b4ba1fc.83240e",\r
1912         "wires": []\r
1913     },\r
1914     {\r
1915         "id": "e06b7ada.eb82e8",\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": 4632.566665649414,\r
1921         "y": 1300.566665649414,\r
1922         "z": "1b4ba1fc.83240e",\r
1923         "wires": []\r
1924     },\r
1925     {\r
1926         "id": "4d8b1a53.4482f4",\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": 4660.683853149414,\r
1933         "y": 1465.906997680664,\r
1934         "z": "1b4ba1fc.83240e",\r
1935         "wires": [\r
1936             [\r
1937                 "dced3e1c.40e48",\r
1938                 "5a4be8c3.e9f088",\r
1939                 "301c508b.710a5"\r
1940             ]\r
1941         ]\r
1942     },\r
1943     {\r
1944         "id": "dced3e1c.40e48",\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": 4875.683853149414,\r
1950         "y": 1427.906997680664,\r
1951         "z": "1b4ba1fc.83240e",\r
1952         "wires": []\r
1953     },\r
1954     {\r
1955         "id": "5a4be8c3.e9f088",\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": 4872.683853149414,\r
1962         "y": 1466.906997680664,\r
1963         "z": "1b4ba1fc.83240e",\r
1964         "wires": [\r
1965             [\r
1966                 "34a88173.395bbe"\r
1967             ]\r
1968         ]\r
1969     },\r
1970     {\r
1971         "id": "301c508b.710a5",\r
1972         "type": "break",\r
1973         "name": "break",\r
1974         "xml": "<break>\n",\r
1975         "comments": "",\r
1976         "x": 4828.183853149414,\r
1977         "y": 1508.906997680664,\r
1978         "z": "1b4ba1fc.83240e",\r
1979         "wires": []\r
1980     },\r
1981     {\r
1982         "id": "34a88173.395bbe",\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": 5053.183853149414,\r
1989         "y": 1465.906997680664,\r
1990         "z": "1b4ba1fc.83240e",\r
1991         "wires": [\r
1992             [\r
1993                 "91aa780.576ce08"\r
1994             ]\r
1995         ]\r
1996     },\r
1997     {\r
1998         "id": "46f94459.4a6e34",\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": 4861.566665649414,\r
2005         "y": 1061.566665649414,\r
2006         "z": "1b4ba1fc.83240e",\r
2007         "wires": [\r
2008             [\r
2009                 "eb72bb20.19559"\r
2010             ]\r
2011         ]\r
2012     },\r
2013     {\r
2014         "id": "eb72bb20.19559",\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": 5038.566665649414,\r
2021         "y": 1053.566665649414,\r
2022         "z": "1b4ba1fc.83240e",\r
2023         "wires": [\r
2024             [\r
2025                 "32b5afac.4ae738",\r
2026                 "92ed0f08.6c0c2"\r
2027             ]\r
2028         ]\r
2029     },\r
2030     {\r
2031         "id": "efaf74dd.57cd28",\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": 4664.566635131836,\r
2038         "y": 1159.5666046142578,\r
2039         "z": "1b4ba1fc.83240e",\r
2040         "wires": [\r
2041             [\r
2042                 "46f94459.4a6e34",\r
2043                 "95ea5c2d.7d46e8"\r
2044             ]\r
2045         ]\r
2046     },\r
2047     {\r
2048         "id": "95ea5c2d.7d46e8",\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": 4864.566665649414,\r
2055         "y": 1135.566665649414,\r
2056         "z": "1b4ba1fc.83240e",\r
2057         "wires": [\r
2058             [\r
2059                 "93430c1b.104ce"\r
2060             ]\r
2061         ]\r
2062     },\r
2063     {\r
2064         "id": "93430c1b.104ce",\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": 5041.566665649414,\r
2071         "y": 1127.566665649414,\r
2072         "z": "1b4ba1fc.83240e",\r
2073         "wires": [\r
2074             [\r
2075                 "78b310b8.dd74"\r
2076             ]\r
2077         ]\r
2078     },\r
2079     {\r
2080         "id": "91aa780.576ce08",\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": 5211.183853149414,\r
2087         "y": 1465.906997680664,\r
2088         "z": "1b4ba1fc.83240e",\r
2089         "wires": [\r
2090             [\r
2091                 "5b4e25f5.7b14e4"\r
2092             ]\r
2093         ]\r
2094     },\r
2095     {\r
2096         "id": "5b4e25f5.7b14e4",\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": 5418.183853149414,\r
2102         "y": 1465.906997680664,\r
2103         "z": "1b4ba1fc.83240e",\r
2104         "wires": []\r
2105     },\r
2106     {\r
2107         "id": "92ed0f08.6c0c2",\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": 5246.566665649414,\r
2114         "y": 1060.566665649414,\r
2115         "z": "1b4ba1fc.83240e",\r
2116         "wires": [\r
2117             [\r
2118                 "322d8e2.13d36f2",\r
2119                 "a2041883.aae29",\r
2120                 "fe986e1.586ed1"\r
2121             ]\r
2122         ]\r
2123     },\r
2124     {\r
2125         "id": "32b5afac.4ae738",\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": 5276.566665649414,\r
2131         "y": 1008.5666656494141,\r
2132         "z": "1b4ba1fc.83240e",\r
2133         "wires": []\r
2134     },\r
2135     {\r
2136         "id": "322d8e2.13d36f2",\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": 5456.566665649414,\r
2143         "y": 1051.566665649414,\r
2144         "z": "1b4ba1fc.83240e",\r
2145         "wires": [\r
2146             [\r
2147                 "9ca79008.c70bf8"\r
2148             ]\r
2149         ]\r
2150     },\r
2151     {\r
2152         "id": "a2041883.aae29",\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": 5448.566665649414,\r
2159         "y": 1106.566665649414,\r
2160         "z": "1b4ba1fc.83240e",\r
2161         "wires": [\r
2162             [\r
2163                 "ec84ed8c.59c368"\r
2164             ]\r
2165         ]\r
2166     },\r
2167     {\r
2168         "id": "fe986e1.586ed1",\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": 5453.566665649414,\r
2175         "y": 1163.566665649414,\r
2176         "z": "1b4ba1fc.83240e",\r
2177         "wires": [\r
2178             [\r
2179                 "ae200af1.d5e5c8"\r
2180             ]\r
2181         ]\r
2182     },\r
2183     {\r
2184         "id": "ae200af1.d5e5c8",\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": 5605.566665649414,\r
2190         "y": 1164.566665649414,\r
2191         "z": "1b4ba1fc.83240e",\r
2192         "wires": []\r
2193     },\r
2194     {\r
2195         "id": "ec84ed8c.59c368",\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": 5616.566665649414,\r
2201         "y": 1109.566665649414,\r
2202         "z": "1b4ba1fc.83240e",\r
2203         "wires": []\r
2204     },\r
2205     {\r
2206         "id": "9ca79008.c70bf8",\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": 5600.948989868164,\r
2214         "y": 1049.2223358154297,\r
2215         "z": "1b4ba1fc.83240e",\r
2216         "wires": [\r
2217             [\r
2218                 "e75f84ea.1b627"\r
2219             ]\r
2220         ]\r
2221     },\r
2222     {\r
2223         "id": "78b310b8.dd74",\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": 5276.566665649414,\r
2229         "y": 1251.566665649414,\r
2230         "z": "1b4ba1fc.83240e",\r
2231         "wires": []\r
2232     },\r
2233     {\r
2234         "id": "e75f84ea.1b627",\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": 5815.566665649414,\r
2240         "y": 1045.566665649414,\r
2241         "z": "1b4ba1fc.83240e",\r
2242         "wires": []\r
2243     },\r
2244     {\r
2245         "id": "d425ccce.04f6a",\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": 4471.567123413086,\r
2251         "y": 352.5666046142578,\r
2252         "z": "1b4ba1fc.83240e",\r
2253         "wires": []\r
2254     },\r
2255     {\r
2256         "id": "72647ac9.fcc034",\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": 4472.567092895508,\r
2262         "y": 456.5666046142578,\r
2263         "z": "1b4ba1fc.83240e",\r
2264         "wires": []\r
2265     },\r
2266     {\r
2267         "id": "9aca5d50.3d0028",\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": 4296.567123413086,\r
2275         "y": 358.5666046142578,\r
2276         "z": "1b4ba1fc.83240e",\r
2277         "wires": [\r
2278             [\r
2279                 "f6cae941.406738",\r
2280                 "d425ccce.04f6a"\r
2281             ]\r
2282         ]\r
2283     },\r
2284     {\r
2285         "id": "d411ea2f.0fea6",\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": 4302.567123413086,\r
2293         "y": 422.5666046142578,\r
2294         "z": "1b4ba1fc.83240e",\r
2295         "wires": [\r
2296             [\r
2297                 "71276df1.c00474",\r
2298                 "72647ac9.fcc034"\r
2299             ]\r
2300         ]\r
2301     },\r
2302     {\r
2303         "id": "b1818ac5.01eff",\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": 4267.567123413086,\r
2311         "y": 624.5666656494141,\r
2312         "z": "1b4ba1fc.83240e",\r
2313         "wires": [\r
2314             [\r
2315                 "18b30ce8.3b3b9b",\r
2316                 "e0b34ba1.74f538"\r
2317             ]\r
2318         ]\r
2319     },\r
2320     {\r
2321         "id": "7efc1cf.1fed664",\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": 4270.567123413086,\r
2329         "y": 677.5666656494141,\r
2330         "z": "1b4ba1fc.83240e",\r
2331         "wires": [\r
2332             [\r
2333                 "bdb5a388.dc57d",\r
2334                 "f08a6dfd.10adf"\r
2335             ]\r
2336         ]\r
2337     },\r
2338     {\r
2339         "id": "e0b34ba1.74f538",\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": 4441.567123413086,\r
2345         "y": 637.5666656494141,\r
2346         "z": "1b4ba1fc.83240e",\r
2347         "wires": []\r
2348     },\r
2349     {\r
2350         "id": "f08a6dfd.10adf",\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": 4444.567123413086,\r
2356         "y": 728.5666656494141,\r
2357         "z": "1b4ba1fc.83240e",\r
2358         "wires": []\r
2359     },\r
2360     {\r
2361         "id": "e27939d4.dc1f9",\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": 3767.566665649414,\r
2368         "y": 1807.5667877197266,\r
2369         "z": "1b4ba1fc.83240e",\r
2370         "wires": [\r
2371             [\r
2372                 "e945ebed.eb7548",\r
2373                 "77e0d458.7dce6c"\r
2374             ]\r
2375         ]\r
2376     },\r
2377     {\r
2378         "id": "f47a2634.b211d8",\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": 3594.900161743164,\r
2385         "y": 1808.5667877197266,\r
2386         "z": "1b4ba1fc.83240e",\r
2387         "wires": [\r
2388             [\r
2389                 "e27939d4.dc1f9"\r
2390             ]\r
2391         ]\r
2392     },\r
2393     {\r
2394         "id": "4a8297d6.2a928",\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": 3604.391128540039,\r
2401         "y": 1851.1408233642578,\r
2402         "z": "1b4ba1fc.83240e",\r
2403         "wires": [\r
2404             [\r
2405                 "5c13cfc7.d7d798"\r
2406             ]\r
2407         ]\r
2408     },\r
2409     {\r
2410         "id": "aeb5511b.98c418",\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": 3592.900161743164,\r
2417         "y": 1897.5667877197266,\r
2418         "z": "1b4ba1fc.83240e",\r
2419         "wires": [\r
2420             [\r
2421                 "6967c0f4.670908"\r
2422             ]\r
2423         ]\r
2424     },\r
2425     {\r
2426         "id": "5c13cfc7.d7d798",\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": 3757.9625396728516,\r
2432         "y": 1854.4265594482422,\r
2433         "z": "1b4ba1fc.83240e",\r
2434         "wires": []\r
2435     },\r
2436     {\r
2437         "id": "6967c0f4.670908",\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": 3761.900161743164,\r
2443         "y": 1898.5667877197266,\r
2444         "z": "1b4ba1fc.83240e",\r
2445         "wires": []\r
2446     },\r
2447     {\r
2448         "id": "e945ebed.eb7548",\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": 4053.900161743164,\r
2455         "y": 1811.566909790039,\r
2456         "z": "1b4ba1fc.83240e",\r
2457         "wires": [\r
2458             [\r
2459                 "e55a817f.49527",\r
2460                 "d5120a58.c5add"\r
2461             ]\r
2462         ]\r
2463     },\r
2464     {\r
2465         "id": "d5120a58.c5add",\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": 4276.900161743164,\r
2472         "y": 1766.566909790039,\r
2473         "z": "1b4ba1fc.83240e",\r
2474         "wires": [\r
2475             [\r
2476                 "754abe34.cc3b8"\r
2477             ]\r
2478         ]\r
2479     },\r
2480     {\r
2481         "id": "e55a817f.49527",\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": 4278.900161743164,\r
2488         "y": 1830.566909790039,\r
2489         "z": "1b4ba1fc.83240e",\r
2490         "wires": [\r
2491             [\r
2492                 "1b1e2d9b.600bda"\r
2493             ]\r
2494         ]\r
2495     },\r
2496     {\r
2497         "id": "1b1e2d9b.600bda",\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": 4437.900161743164,\r
2503         "y": 1849.566909790039,\r
2504         "z": "1b4ba1fc.83240e",\r
2505         "wires": []\r
2506     },\r
2507     {\r
2508         "id": "754abe34.cc3b8",\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": 4441.900161743164,\r
2515         "y": 1763.566909790039,\r
2516         "z": "1b4ba1fc.83240e",\r
2517         "wires": [\r
2518             [\r
2519                 "e1fca79d.bcc158",\r
2520                 "d062e564.f9cc3"\r
2521             ]\r
2522         ]\r
2523     },\r
2524     {\r
2525         "id": "9d9de9db.5c38b8",\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": 3366.900161743164,\r
2532         "y": 1843.5667877197266,\r
2533         "z": "1b4ba1fc.83240e",\r
2534         "wires": [\r
2535             [\r
2536                 "f47a2634.b211d8",\r
2537                 "4a8297d6.2a928",\r
2538                 "aeb5511b.98c418"\r
2539             ]\r
2540         ]\r
2541     },\r
2542     {\r
2543         "id": "dcd55e2.3f6482",\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": 3327.900161743164,\r
2549         "y": 1787.5667877197266,\r
2550         "z": "1b4ba1fc.83240e",\r
2551         "wires": []\r
2552     },\r
2553     {\r
2554         "id": "63cddf09.26d868",\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": 3378.900161743164,\r
2561         "y": 1582.566665649414,\r
2562         "z": "1b4ba1fc.83240e",\r
2563         "wires": [\r
2564             [\r
2565                 "43aff4f9.b6b3e4",\r
2566                 "25e76471.03af04"\r
2567             ]\r
2568         ]\r
2569     },\r
2570     {\r
2571         "id": "25e76471.03af04",\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": 3601.900161743164,\r
2578         "y": 1568.566665649414,\r
2579         "z": "1b4ba1fc.83240e",\r
2580         "wires": [\r
2581             [\r
2582                 "a96745eb.fd51a8"\r
2583             ]\r
2584         ]\r
2585     },\r
2586     {\r
2587         "id": "43aff4f9.b6b3e4",\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": 3603.900161743164,\r
2594         "y": 1601.566665649414,\r
2595         "z": "1b4ba1fc.83240e",\r
2596         "wires": [\r
2597             [\r
2598                 "65d2388d.31966"\r
2599             ]\r
2600         ]\r
2601     },\r
2602     {\r
2603         "id": "65d2388d.31966",\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": 3746.900161743164,\r
2609         "y": 1598.566665649414,\r
2610         "z": "1b4ba1fc.83240e",\r
2611         "wires": []\r
2612     },\r
2613     {\r
2614         "id": "a96745eb.fd51a8",\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": 3749.900161743164,\r
2621         "y": 1561.566665649414,\r
2622         "z": "1b4ba1fc.83240e",\r
2623         "wires": [\r
2624             [\r
2625                 "e299d57.a910ca8",\r
2626                 "f2c7502b.08699"\r
2627             ]\r
2628         ]\r
2629     },\r
2630     {\r
2631         "id": "e299d57.a910ca8",\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": 3943.900161743164,\r
2637         "y": 1564.5667877197266,\r
2638         "z": "1b4ba1fc.83240e",\r
2639         "wires": []\r
2640     },\r
2641     {\r
2642         "id": "77e0d458.7dce6c",\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": 3994.900131225586,\r
2649         "y": 1944.566665649414,\r
2650         "z": "1b4ba1fc.83240e",\r
2651         "wires": [\r
2652             [\r
2653                 "e086896d.a84a3"\r
2654             ]\r
2655         ]\r
2656     },\r
2657     {\r
2658         "id": "e086896d.a84a3",\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": 4200.900131225586,\r
2665         "y": 1944.566665649414,\r
2666         "z": "1b4ba1fc.83240e",\r
2667         "wires": [\r
2668             [\r
2669                 "7b35902c.38cf98"\r
2670             ]\r
2671         ]\r
2672     },\r
2673     {\r
2674         "id": "7b35902c.38cf98",\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": 4418.185775756836,\r
2681         "y": 1943.388442993164,\r
2682         "z": "1b4ba1fc.83240e",\r
2683         "wires": [\r
2684             [\r
2685                 "3adb3c4.e1dbc44"\r
2686             ]\r
2687         ]\r
2688     },\r
2689     {\r
2690         "id": "f2c7502b.08699",\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": 3965.900161743164,\r
2697         "y": 1632.5667877197266,\r
2698         "z": "1b4ba1fc.83240e",\r
2699         "wires": [\r
2700             [\r
2701                 "816c398a.a95008",\r
2702                 "793de235.310dbc",\r
2703                 "438956b5.03e5"\r
2704             ]\r
2705         ]\r
2706     },\r
2707     {\r
2708         "id": "816c398a.a95008",\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": 4161.400283813477,\r
2715         "y": 1584.5667877197266,\r
2716         "z": "1b4ba1fc.83240e",\r
2717         "wires": [\r
2718             [\r
2719                 "c1f38920.d25ea"\r
2720             ]\r
2721         ]\r
2722     },\r
2723     {\r
2724         "id": "793de235.310dbc",\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": 4153.400283813477,\r
2731         "y": 1639.5667877197266,\r
2732         "z": "1b4ba1fc.83240e",\r
2733         "wires": [\r
2734             [\r
2735                 "cab6de35.b52228"\r
2736             ]\r
2737         ]\r
2738     },\r
2739     {\r
2740         "id": "438956b5.03e5",\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": 4158.400283813477,\r
2747         "y": 1696.5667877197266,\r
2748         "z": "1b4ba1fc.83240e",\r
2749         "wires": [\r
2750             [\r
2751                 "a8484dc0.47884"\r
2752             ]\r
2753         ]\r
2754     },\r
2755     {\r
2756         "id": "a8484dc0.47884",\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": 4310.400283813477,\r
2762         "y": 1697.5667877197266,\r
2763         "z": "1b4ba1fc.83240e",\r
2764         "wires": []\r
2765     },\r
2766     {\r
2767         "id": "cab6de35.b52228",\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": 4321.400283813477,\r
2773         "y": 1642.5667877197266,\r
2774         "z": "1b4ba1fc.83240e",\r
2775         "wires": []\r
2776     },\r
2777     {\r
2778         "id": "c1f38920.d25ea",\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": 4305.782608032227,\r
2786         "y": 1582.2224578857422,\r
2787         "z": "1b4ba1fc.83240e",\r
2788         "wires": [\r
2789             [\r
2790                 "afe15cf0.f36818"\r
2791             ]\r
2792         ]\r
2793     },\r
2794     {\r
2795         "id": "e1fca79d.bcc158",\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": 4611.900161743164,\r
2801         "y": 1724.566909790039,\r
2802         "z": "1b4ba1fc.83240e",\r
2803         "wires": []\r
2804     },\r
2805     {\r
2806         "id": "d062e564.f9cc3",\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": 4612.900161743164,\r
2812         "y": 1829.566909790039,\r
2813         "z": "1b4ba1fc.83240e",\r
2814         "wires": []\r
2815     },\r
2816     {\r
2817         "id": "808f1d51.43ea1",\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": 4607.900161743164,\r
2823         "y": 1778.566909790039,\r
2824         "z": "1b4ba1fc.83240e",\r
2825         "wires": []\r
2826     },\r
2827     {\r
2828         "id": "3adb3c4.e1dbc44",\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": 4625.017318725586,\r
2835         "y": 1932.9071197509766,\r
2836         "z": "1b4ba1fc.83240e",\r
2837         "wires": [\r
2838             [\r
2839                 "d9f1d004.ab36e8",\r
2840                 "c34231fa.58e828",\r
2841                 "e0d690d7.a8c998"\r
2842             ]\r
2843         ]\r
2844     },\r
2845     {\r
2846         "id": "d9f1d004.ab36e8",\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": 4840.017318725586,\r
2852         "y": 1894.9071197509766,\r
2853         "z": "1b4ba1fc.83240e",\r
2854         "wires": []\r
2855     },\r
2856     {\r
2857         "id": "c34231fa.58e828",\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": 4837.017318725586,\r
2864         "y": 1933.9071197509766,\r
2865         "z": "1b4ba1fc.83240e",\r
2866         "wires": [\r
2867             [\r
2868                 "1c725cd0.b941cb"\r
2869             ]\r
2870         ]\r
2871     },\r
2872     {\r
2873         "id": "e0d690d7.a8c998",\r
2874         "type": "break",\r
2875         "name": "break",\r
2876         "xml": "<break>\n",\r
2877         "comments": "",\r
2878         "x": 4792.517318725586,\r
2879         "y": 1975.9071197509766,\r
2880         "z": "1b4ba1fc.83240e",\r
2881         "wires": []\r
2882     },\r
2883     {\r
2884         "id": "1c725cd0.b941cb",\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": 5017.517318725586,\r
2891         "y": 1932.9071197509766,\r
2892         "z": "1b4ba1fc.83240e",\r
2893         "wires": [\r
2894             [\r
2895                 "d4ead200.f358d"\r
2896             ]\r
2897         ]\r
2898     },\r
2899     {\r
2900         "id": "d4ead200.f358d",\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": 5175.517318725586,\r
2907         "y": 1932.9071197509766,\r
2908         "z": "1b4ba1fc.83240e",\r
2909         "wires": [\r
2910             [\r
2911                 "21d1a6b2.01b042"\r
2912             ]\r
2913         ]\r
2914     },\r
2915     {\r
2916         "id": "21d1a6b2.01b042",\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": 5382.517318725586,\r
2922         "y": 1932.9071197509766,\r
2923         "z": "1b4ba1fc.83240e",\r
2924         "wires": []\r
2925     },\r
2926     {\r
2927         "id": "4c098907.41a99",\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": 4887.900161743164,\r
2934         "y": 1600.5667877197266,\r
2935         "z": "1b4ba1fc.83240e",\r
2936         "wires": [\r
2937             [\r
2938                 "801eca00.935f68"\r
2939             ]\r
2940         ]\r
2941     },\r
2942     {\r
2943         "id": "801eca00.935f68",\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": 5064.900161743164,\r
2950         "y": 1592.5667877197266,\r
2951         "z": "1b4ba1fc.83240e",\r
2952         "wires": [\r
2953             [\r
2954                 "387f801c.205ae8",\r
2955                 "9175f1b.049129"\r
2956             ]\r
2957         ]\r
2958     },\r
2959     {\r
2960         "id": "afe15cf0.f36818",\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": 4489.900161743164,\r
2967         "y": 1596.5667877197266,\r
2968         "z": "1b4ba1fc.83240e",\r
2969         "wires": [\r
2970             [\r
2971                 "311e9242.e1d87e"\r
2972             ]\r
2973         ]\r
2974     },\r
2975     {\r
2976         "id": "311e9242.e1d87e",\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": 4684.900161743164,\r
2983         "y": 1596.5667877197266,\r
2984         "z": "1b4ba1fc.83240e",\r
2985         "wires": [\r
2986             [\r
2987                 "4c098907.41a99",\r
2988                 "349df30f.7cba04"\r
2989             ]\r
2990         ]\r
2991     },\r
2992     {\r
2993         "id": "9175f1b.049129",\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": 5272.900161743164,\r
3000         "y": 1599.5667877197266,\r
3001         "z": "1b4ba1fc.83240e",\r
3002         "wires": [\r
3003             [\r
3004                 "42985b25.52fcec",\r
3005                 "e5b701e3.8392b",\r
3006                 "3efd20ec.3f4778"\r
3007             ]\r
3008         ]\r
3009     },\r
3010     {\r
3011         "id": "b70a777b.22a5f8",\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": 5066.900161743164,\r
3018         "y": 1665.5667877197266,\r
3019         "z": "1b4ba1fc.83240e",\r
3020         "wires": [\r
3021             [\r
3022                 "8a34b29e.6de5e8"\r
3023             ]\r
3024         ]\r
3025     },\r
3026     {\r
3027         "id": "349df30f.7cba04",\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": 4889.900161743164,\r
3034         "y": 1673.5667877197266,\r
3035         "z": "1b4ba1fc.83240e",\r
3036         "wires": [\r
3037             [\r
3038                 "b70a777b.22a5f8"\r
3039             ]\r
3040         ]\r
3041     },\r
3042     {\r
3043         "id": "387f801c.205ae8",\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": 5302.900161743164,\r
3049         "y": 1547.5667877197266,\r
3050         "z": "1b4ba1fc.83240e",\r
3051         "wires": []\r
3052     },\r
3053     {\r
3054         "id": "8a34b29e.6de5e8",\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": 5279.900161743164,\r
3060         "y": 1731.5667877197266,\r
3061         "z": "1b4ba1fc.83240e",\r
3062         "wires": []\r
3063     },\r
3064     {\r
3065         "id": "42985b25.52fcec",\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": 5482.900161743164,\r
3072         "y": 1590.5667877197266,\r
3073         "z": "1b4ba1fc.83240e",\r
3074         "wires": [\r
3075             [\r
3076                 "16d18a71.6daf16"\r
3077             ]\r
3078         ]\r
3079     },\r
3080     {\r
3081         "id": "e5b701e3.8392b",\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": 5474.900161743164,\r
3088         "y": 1645.5667877197266,\r
3089         "z": "1b4ba1fc.83240e",\r
3090         "wires": [\r
3091             [\r
3092                 "6ba1c131.2a9348"\r
3093             ]\r
3094         ]\r
3095     },\r
3096     {\r
3097         "id": "3efd20ec.3f4778",\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": 5479.900161743164,\r
3104         "y": 1702.5667877197266,\r
3105         "z": "1b4ba1fc.83240e",\r
3106         "wires": [\r
3107             [\r
3108                 "e5aceb1d.a2ff7"\r
3109             ]\r
3110         ]\r
3111     },\r
3112     {\r
3113         "id": "e5aceb1d.a2ff7",\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": 5631.900161743164,\r
3119         "y": 1703.5667877197266,\r
3120         "z": "1b4ba1fc.83240e",\r
3121         "wires": []\r
3122     },\r
3123     {\r
3124         "id": "6ba1c131.2a9348",\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": 5642.900161743164,\r
3130         "y": 1648.5667877197266,\r
3131         "z": "1b4ba1fc.83240e",\r
3132         "wires": []\r
3133     },\r
3134     {\r
3135         "id": "16d18a71.6daf16",\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": 5627.282485961914,\r
3143         "y": 1588.2224578857422,\r
3144         "z": "1b4ba1fc.83240e",\r
3145         "wires": [\r
3146             [\r
3147                 "c4efa7e8.819f98"\r
3148             ]\r
3149         ]\r
3150     },\r
3151     {\r
3152         "id": "c4efa7e8.819f98",\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": 5841.900161743164,\r
3158         "y": 1584.5667877197266,\r
3159         "z": "1b4ba1fc.83240e",\r
3160         "wires": []\r
3161     },\r
3162     {\r
3163         "id": "e5f9b3dc.c2f9f",\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": 3340.566665649414,\r
3169         "y": 1454.566665649414,\r
3170         "z": "1b4ba1fc.83240e",\r
3171         "wires": []\r
3172     },\r
3173     {\r
3174         "id": "169ca3b9.4d31a4",\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": 3327.566665649414,\r
3180         "y": 1974.5667877197266,\r
3181         "z": "1b4ba1fc.83240e",\r
3182         "wires": []\r
3183     },\r
3184     {\r
3185         "id": "426ddfc0.c628b",\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": 2452.566696166992,\r
3192         "y": 167.56666564941406,\r
3193         "z": "1b4ba1fc.83240e",\r
3194         "wires": [\r
3195             []\r
3196         ]\r
3197     },\r
3198     {\r
3199         "id": "d0874bda.7e1ac",\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": 2386.566696166992,\r
3205         "y": 203.56666564941406,\r
3206         "z": "1b4ba1fc.83240e",\r
3207         "wires": []\r
3208     },\r
3209     {\r
3210         "id": "2daf88d4.4069b",\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": 2571.566696166992,\r
3216         "y": 130.56666564941406,\r
3217         "z": "1b4ba1fc.83240e",\r
3218         "wires": []\r
3219     },\r
3220     {\r
3221         "id": "4d0caa12.a83adc",\r
3222         "type": "comment",\r
3223         "name": "NOT NEEDED ANYMORE?",\r
3224         "info": "",\r
3225         "comments": "",\r
3226         "x": 4098.566665649414,\r
3227         "y": 1432.566665649414,\r
3228         "z": "1b4ba1fc.83240e",\r
3229         "wires": []\r
3230     },\r
3231     {\r
3232         "id": "325da1a4.661aa6",\r
3233         "type": "comment",\r
3234         "name": "NOT NEEDED ANYMORE?",\r
3235         "info": "",\r
3236         "comments": "",\r
3237         "x": 4054.566635131836,\r
3238         "y": 1896.566665649414,\r
3239         "z": "1b4ba1fc.83240e",\r
3240         "wires": []\r
3241     },\r
3242     {\r
3243         "id": "eca8d05b.38fb78",\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": 2763.5670318603516,\r
3250         "y": 7264.566543579102,\r
3251         "z": "1b4ba1fc.83240e",\r
3252         "wires": [\r
3253             []\r
3254         ]\r
3255     },\r
3256     {\r
3257         "id": "9a99585.3b52728",\r
3258         "type": "comment",\r
3259         "name": "START OF DELETE OPERATION",\r
3260         "info": "",\r
3261         "comments": "",\r
3262         "x": 3322.566665649414,\r
3263         "y": 2456.566635131836,\r
3264         "z": "1b4ba1fc.83240e",\r
3265         "wires": []\r
3266     },\r
3267     {\r
3268         "id": "e1bb190b.e249c8",\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": 3906.250015258789,\r
3275         "y": 2557.966751098633,\r
3276         "z": "1b4ba1fc.83240e",\r
3277         "wires": [\r
3278             []\r
3279         ]\r
3280     },\r
3281     {\r
3282         "id": "19822907.e2052f",\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": 3277.250015258789,\r
3289         "y": 2537.966751098633,\r
3290         "z": "1b4ba1fc.83240e",\r
3291         "wires": [\r
3292             [\r
3293                 "3e98cd57.b05732",\r
3294                 "c601135d.8ebcb8",\r
3295                 "224a5da0.cc93c2"\r
3296             ]\r
3297         ]\r
3298     },\r
3299     {\r
3300         "id": "c601135d.8ebcb8",\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": 3504.740982055664,\r
3307         "y": 2510.540725708008,\r
3308         "z": "1b4ba1fc.83240e",\r
3309         "wires": [\r
3310             [\r
3311                 "ad084de2.e988e8"\r
3312             ]\r
3313         ]\r
3314     },\r
3315     {\r
3316         "id": "224a5da0.cc93c2",\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": 3500.250015258789,\r
3323         "y": 2554.9666900634766,\r
3324         "z": "1b4ba1fc.83240e",\r
3325         "wires": [\r
3326             [\r
3327                 "dcac28ad.d4a36"\r
3328             ]\r
3329         ]\r
3330     },\r
3331     {\r
3332         "id": "ad084de2.e988e8",\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": 3667.312515258789,\r
3338         "y": 2509.826431274414,\r
3339         "z": "1b4ba1fc.83240e",\r
3340         "wires": []\r
3341     },\r
3342     {\r
3343         "id": "dcac28ad.d4a36",\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": 3668.250015258789,\r
3349         "y": 2554.9666900634766,\r
3350         "z": "1b4ba1fc.83240e",\r
3351         "wires": []\r
3352     },\r
3353     {\r
3354         "id": "3e98cd57.b05732",\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": 3512.250015258789,\r
3361         "y": 2604.966751098633,\r
3362         "z": "1b4ba1fc.83240e",\r
3363         "wires": [\r
3364             [\r
3365                 "eb73cd4.3d8393"\r
3366             ]\r
3367         ]\r
3368     },\r
3369     {\r
3370         "id": "eb73cd4.3d8393",\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": 3664.566665649414,\r
3378         "y": 2608.566604614258,\r
3379         "z": "1b4ba1fc.83240e",\r
3380         "wires": [\r
3381             [\r
3382                 "24f11631.71c6d2",\r
3383                 "e1bb190b.e249c8",\r
3384                 "5066cd38.1c6414",\r
3385                 "5dc3af5e.92a278"\r
3386             ]\r
3387         ]\r
3388     },\r
3389     {\r
3390         "id": "24f11631.71c6d2",\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": 3909.250015258789,\r
3396         "y": 2500.966751098633,\r
3397         "z": "1b4ba1fc.83240e",\r
3398         "wires": []\r
3399     },\r
3400     {\r
3401         "id": "80dbb6de.b49838",\r
3402         "type": "comment",\r
3403         "name": "Update ROOT UNI's bw",\r
3404         "info": "",\r
3405         "comments": "",\r
3406         "x": 3871.250015258789,\r
3407         "y": 2611.766616821289,\r
3408         "z": "1b4ba1fc.83240e",\r
3409         "wires": []\r
3410     },\r
3411     {\r
3412         "id": "45c0e5f4.f4ad34",\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": 4549.250015258789,\r
3419         "y": 2654.766616821289,\r
3420         "z": "1b4ba1fc.83240e",\r
3421         "wires": [\r
3422             []\r
3423         ]\r
3424     },\r
3425     {\r
3426         "id": "5066cd38.1c6414",\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": 3863.249771118164,\r
3433         "y": 2657.766616821289,\r
3434         "z": "1b4ba1fc.83240e",\r
3435         "wires": [\r
3436             [\r
3437                 "a6e50ef0.8e2c5",\r
3438                 "13029608.69349a",\r
3439                 "208dd481.7b2554"\r
3440             ]\r
3441         ]\r
3442     },\r
3443     {\r
3444         "id": "13029608.69349a",\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": 4166.740737915039,\r
3451         "y": 2568.340591430664,\r
3452         "z": "1b4ba1fc.83240e",\r
3453         "wires": [\r
3454             [\r
3455                 "a4cd8e0.5d99ef"\r
3456             ]\r
3457         ]\r
3458     },\r
3459     {\r
3460         "id": "208dd481.7b2554",\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": 4162.249771118164,\r
3467         "y": 2612.766555786133,\r
3468         "z": "1b4ba1fc.83240e",\r
3469         "wires": [\r
3470             [\r
3471                 "a8fd408a.63278"\r
3472             ]\r
3473         ]\r
3474     },\r
3475     {\r
3476         "id": "a4cd8e0.5d99ef",\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": 4329.312271118164,\r
3482         "y": 2567.6262969970703,\r
3483         "z": "1b4ba1fc.83240e",\r
3484         "wires": []\r
3485     },\r
3486     {\r
3487         "id": "a8fd408a.63278",\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": 4330.249771118164,\r
3493         "y": 2612.766555786133,\r
3494         "z": "1b4ba1fc.83240e",\r
3495         "wires": []\r
3496     },\r
3497     {\r
3498         "id": "108d95bc.e243b2",\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": 4327.249771118164,\r
3505         "y": 2662.766616821289,\r
3506         "z": "1b4ba1fc.83240e",\r
3507         "wires": [\r
3508             [\r
3509                 "6fb618e0.320358",\r
3510                 "45c0e5f4.f4ad34"\r
3511             ]\r
3512         ]\r
3513     },\r
3514     {\r
3515         "id": "a6e50ef0.8e2c5",\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": 4158.249771118164,\r
3522         "y": 2662.766616821289,\r
3523         "z": "1b4ba1fc.83240e",\r
3524         "wires": [\r
3525             [\r
3526                 "108d95bc.e243b2"\r
3527             ]\r
3528         ]\r
3529     },\r
3530     {\r
3531         "id": "6fb618e0.320358",\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": 4509.250503540039,\r
3537         "y": 2604.766616821289,\r
3538         "z": "1b4ba1fc.83240e",\r
3539         "wires": []\r
3540     },\r
3541     {\r
3542         "id": "501ef6fe.de27d8",\r
3543         "type": "comment",\r
3544         "name": "Delete LEAF UNI",\r
3545         "info": "",\r
3546         "comments": "",\r
3547         "x": 3857.566665649414,\r
3548         "y": 2442.566604614258,\r
3549         "z": "1b4ba1fc.83240e",\r
3550         "wires": []\r
3551     },\r
3552     {\r
3553         "id": "13751b77.2d6a35",\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": 3337.433334350586,\r
3559         "y": 3775.166702270508,\r
3560         "z": "1b4ba1fc.83240e",\r
3561         "wires": []\r
3562     },\r
3563     {\r
3564         "id": "42ae91e0.cfd958",\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": 3470.433334350586,\r
3571         "y": 3823.166702270508,\r
3572         "z": "1b4ba1fc.83240e",\r
3573         "wires": [\r
3574             []\r
3575         ]\r
3576     },\r
3577     {\r
3578         "id": "f0c980e9.4c97f",\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": 3292.433334350586,\r
3585         "y": 3874.966751098633,\r
3586         "z": "1b4ba1fc.83240e",\r
3587         "wires": [\r
3588             [\r
3589                 "ddd00137.0625f8",\r
3590                 "49bc5de5.143edc"\r
3591             ]\r
3592         ]\r
3593     },\r
3594     {\r
3595         "id": "ddd00137.0625f8",\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": 3485.433334350586,\r
3602         "y": 3875.966751098633,\r
3603         "z": "1b4ba1fc.83240e",\r
3604         "wires": [\r
3605             [\r
3606                 "baae6201.7fdf3"\r
3607             ]\r
3608         ]\r
3609     },\r
3610     {\r
3611         "id": "baae6201.7fdf3",\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": 3629.433334350586,\r
3617         "y": 3872.166702270508,\r
3618         "z": "1b4ba1fc.83240e",\r
3619         "wires": []\r
3620     },\r
3621     {\r
3622         "id": "49bc5de5.143edc",\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": 3489.433334350586,\r
3629         "y": 3919.966751098633,\r
3630         "z": "1b4ba1fc.83240e",\r
3631         "wires": [\r
3632             [\r
3633                 "8955d942.ba6bc"\r
3634             ]\r
3635         ]\r
3636     },\r
3637     {\r
3638         "id": "8955d942.ba6bc",\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": 3628.433334350586,\r
3646         "y": 3914.966751098633,\r
3647         "z": "1b4ba1fc.83240e",\r
3648         "wires": [\r
3649             [\r
3650                 "2c8b9b3a.156d1c",\r
3651                 "942c3741.17e638",\r
3652                 "ea29b2fb.fa9b"\r
3653             ]\r
3654         ]\r
3655     },\r
3656     {\r
3657         "id": "2c8b9b3a.156d1c",\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": 3878.832992553711,\r
3664         "y": 3923.483352661133,\r
3665         "z": "1b4ba1fc.83240e",\r
3666         "wires": [\r
3667             [\r
3668                 "829ce491.bb75d8"\r
3669             ]\r
3670         ]\r
3671     },\r
3672     {\r
3673         "id": "829ce491.bb75d8",\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": 4100.832992553711,\r
3680         "y": 3901.483352661133,\r
3681         "z": "1b4ba1fc.83240e",\r
3682         "wires": [\r
3683             [\r
3684                 "b35a1aab.3a595"\r
3685             ]\r
3686         ]\r
3687     },\r
3688     {\r
3689         "id": "b35a1aab.3a595",\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": 4260.832504272461,\r
3696         "y": 3881.483352661133,\r
3697         "z": "1b4ba1fc.83240e",\r
3698         "wires": [\r
3699             [\r
3700                 "335ed745.f60fb8"\r
3701             ]\r
3702         ]\r
3703     },\r
3704     {\r
3705         "id": "f8921006.06e1a",\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": 4413.833023071289,\r
3712         "y": 3862.483383178711,\r
3713         "z": "1b4ba1fc.83240e",\r
3714         "wires": [\r
3715             [\r
3716                 "8d9ae5c3.a9c288",\r
3717                 "b59230eb.4dd598"\r
3718             ]\r
3719         ]\r
3720     },\r
3721     {\r
3722         "id": "8d9ae5c3.a9c288",\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": 4610.333236694336,\r
3728         "y": 3830.566604614258,\r
3729         "z": "1b4ba1fc.83240e",\r
3730         "wires": []\r
3731     },\r
3732     {\r
3733         "id": "942c3741.17e638",\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": 3985.333267211914,\r
3739         "y": 3842.566635131836,\r
3740         "z": "1b4ba1fc.83240e",\r
3741         "wires": []\r
3742     },\r
3743     {\r
3744         "id": "ea29b2fb.fa9b",\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": 3793.333267211914,\r
3751         "y": 4263.566879272461,\r
3752         "z": "1b4ba1fc.83240e",\r
3753         "wires": [\r
3754             [\r
3755                 "1074f3a1.e40104",\r
3756                 "49cd5621.2fb45"\r
3757             ]\r
3758         ]\r
3759     },\r
3760     {\r
3761         "id": "b59230eb.4dd598",\r
3762         "type": "break",\r
3763         "name": "break",\r
3764         "xml": "<break>\n",\r
3765         "comments": "",\r
3766         "x": 4578.566665649414,\r
3767         "y": 3898.566635131836,\r
3768         "z": "1b4ba1fc.83240e",\r
3769         "wires": []\r
3770     },\r
3771     {\r
3772         "id": "49cd5621.2fb45",\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": 180.3340301513672,\r
3779         "y": 5327.567123413086,\r
3780         "z": "1b4ba1fc.83240e",\r
3781         "wires": [\r
3782             [\r
3783                 "94db503d.b50288"\r
3784             ]\r
3785         ]\r
3786     },\r
3787     {\r
3788         "id": "1074f3a1.e40104",\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": 4014.333999633789,\r
3795         "y": 4365.566879272461,\r
3796         "z": "1b4ba1fc.83240e",\r
3797         "wires": [\r
3798             [\r
3799                 "98bce2a7.eae0e8"\r
3800             ]\r
3801         ]\r
3802     },\r
3803     {\r
3804         "id": "98bce2a7.eae0e8",\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": 4157.333999633789,\r
3812         "y": 4361.566879272461,\r
3813         "z": "1b4ba1fc.83240e",\r
3814         "wires": [\r
3815             [\r
3816                 "700868f.6d62d18",\r
3817                 "9e6ef63b.470c28",\r
3818                 "98c15798.fc2c28",\r
3819                 "a474eb09.bdcea",\r
3820                 "4e75594e.323fe8",\r
3821                 "8985192.1ed6868",\r
3822                 "bbed6bed.031a08",\r
3823                 "9b06d9ac.c2c2b",\r
3824                 "35800841.c29e7"\r
3825             ]\r
3826         ]\r
3827     },\r
3828     {\r
3829         "id": "7a0c4e0f.7452f",\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": 206.68336486816406,\r
3835         "y": 5283.567123413086,\r
3836         "z": "1b4ba1fc.83240e",\r
3837         "wires": []\r
3838     },\r
3839     {\r
3840         "id": "7ce224df.f32d34",\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": 4033.567398071289,\r
3846         "y": 4328.566879272461,\r
3847         "z": "1b4ba1fc.83240e",\r
3848         "wires": []\r
3849     },\r
3850     {\r
3851         "id": "eb1e9e05.cb15c8",\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": 4846.351089477539,\r
3857         "y": 4519.350326538086,\r
3858         "z": "1b4ba1fc.83240e",\r
3859         "wires": []\r
3860     },\r
3861     {\r
3862         "id": "1fff7e41.5e97da",\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": 5191.351089477539,\r
3869         "y": 4381.350326538086,\r
3870         "z": "1b4ba1fc.83240e",\r
3871         "wires": [\r
3872             [\r
3873                 "384897a.b5a9568"\r
3874             ]\r
3875         ]\r
3876     },\r
3877     {\r
3878         "id": "3095386e.cc8938",\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": 4898.351089477539,\r
3885         "y": 4375.350326538086,\r
3886         "z": "1b4ba1fc.83240e",\r
3887         "wires": [\r
3888             [\r
3889                 "1fff7e41.5e97da"\r
3890             ]\r
3891         ]\r
3892     },\r
3893     {\r
3894         "id": "31c473ae.f4e764",\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": 5153.351089477539,\r
3901         "y": 4332.350326538086,\r
3902         "z": "1b4ba1fc.83240e",\r
3903         "wires": [\r
3904             []\r
3905         ]\r
3906     },\r
3907     {\r
3908         "id": "ca81f202.b30418",\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": 4842.351089477539,\r
3914         "y": 4427.350326538086,\r
3915         "z": "1b4ba1fc.83240e",\r
3916         "wires": []\r
3917     },\r
3918     {\r
3919         "id": "b2478692.ea1d6",\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": 4850.351089477539,\r
3925         "y": 4472.350326538086,\r
3926         "z": "1b4ba1fc.83240e",\r
3927         "wires": []\r
3928     },\r
3929     {\r
3930         "id": "eb2b76ee.d20fa8",\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": 4847.351089477539,\r
3936         "y": 4325.350326538086,\r
3937         "z": "1b4ba1fc.83240e",\r
3938         "wires": []\r
3939     },\r
3940     {\r
3941         "id": "384897a.b5a9568",\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": 5100.351089477539,\r
3948         "y": 4449.350326538086,\r
3949         "z": "1b4ba1fc.83240e",\r
3950         "wires": [\r
3951             [\r
3952                 "a1cf1e6d.96424"\r
3953             ]\r
3954         ]\r
3955     },\r
3956     {\r
3957         "id": "a1cf1e6d.96424",\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": 5285.351089477539,\r
3964         "y": 4448.350326538086,\r
3965         "z": "1b4ba1fc.83240e",\r
3966         "wires": [\r
3967             [\r
3968                 "e54e7c9a.d7146"\r
3969             ]\r
3970         ]\r
3971     },\r
3972     {\r
3973         "id": "e54e7c9a.d7146",\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": 5477.351089477539,\r
3980         "y": 4451.350326538086,\r
3981         "z": "1b4ba1fc.83240e",\r
3982         "wires": [\r
3983             [\r
3984                 "88338270.bbe028"\r
3985             ]\r
3986         ]\r
3987     },\r
3988     {\r
3989         "id": "88338270.bbe028",\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": 5649.351089477539,\r
3995         "y": 4447.350326538086,\r
3996         "z": "1b4ba1fc.83240e",\r
3997         "wires": []\r
3998     },\r
3999     {\r
4000         "id": "5518c3fe.6c8f7c",\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": 5025.351089477539,\r
4007         "y": 4562.350326538086,\r
4008         "z": "1b4ba1fc.83240e",\r
4009         "wires": [\r
4010             []\r
4011         ]\r
4012     },\r
4013     {\r
4014         "id": "700868f.6d62d18",\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": 4542.351089477539,\r
4022         "y": 4347.350326538086,\r
4023         "z": "1b4ba1fc.83240e",\r
4024         "wires": [\r
4025             [\r
4026                 "7996b8d7.d892b8",\r
4027                 "fc1f2ae1.cce1f",\r
4028                 "ca81f202.b30418",\r
4029                 "b2478692.ea1d6",\r
4030                 "eb1e9e05.cb15c8",\r
4031                 "3095386e.cc8938",\r
4032                 "5518c3fe.6c8f7c"\r
4033             ]\r
4034         ]\r
4035     },\r
4036     {\r
4037         "id": "aec75daf.8805f",\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": 4527.351089477539,\r
4043         "y": 4281.350326538086,\r
4044         "z": "1b4ba1fc.83240e",\r
4045         "wires": []\r
4046     },\r
4047     {\r
4048         "id": "fc1f2ae1.cce1f",\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": 4906.351089477539,\r
4055         "y": 4268.350326538086,\r
4056         "z": "1b4ba1fc.83240e",\r
4057         "wires": [\r
4058             [\r
4059                 "74fcf491.6cb18c",\r
4060                 "27200085.4f11f",\r
4061                 "31c473ae.f4e764"\r
4062             ]\r
4063         ]\r
4064     },\r
4065     {\r
4066         "id": "74fcf491.6cb18c",\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": 5142.351089477539,\r
4073         "y": 4251.350326538086,\r
4074         "z": "1b4ba1fc.83240e",\r
4075         "wires": [\r
4076             []\r
4077         ]\r
4078     },\r
4079     {\r
4080         "id": "27200085.4f11f",\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": 5139.351089477539,\r
4087         "y": 4292.350326538086,\r
4088         "z": "1b4ba1fc.83240e",\r
4089         "wires": [\r
4090             []\r
4091         ]\r
4092     },\r
4093     {\r
4094         "id": "7996b8d7.d892b8",\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": 4855.351089477539,\r
4100         "y": 4225.350326538086,\r
4101         "z": "1b4ba1fc.83240e",\r
4102         "wires": []\r
4103     },\r
4104     {\r
4105         "id": "9e6ef63b.470c28",\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": 4362.351089477539,\r
4111         "y": 4679.750228881836,\r
4112         "z": "1b4ba1fc.83240e",\r
4113         "wires": []\r
4114     },\r
4115     {\r
4116         "id": "d0de5ca9.0d9ed8",\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": 4485.651382446289,\r
4122         "y": 4718.750228881836,\r
4123         "z": "1b4ba1fc.83240e",\r
4124         "wires": []\r
4125     },\r
4126     {\r
4127         "id": "98c15798.fc2c28",\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": 4383.651382446289,\r
4134         "y": 4753.750228881836,\r
4135         "z": "1b4ba1fc.83240e",\r
4136         "wires": [\r
4137             [\r
4138                 "435ca159.b40ef",\r
4139                 "d725cba9.49bb",\r
4140                 "47bda61e.d52e08"\r
4141             ]\r
4142         ]\r
4143     },\r
4144     {\r
4145         "id": "435ca159.b40ef",\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": 4588.651382446289,\r
4152         "y": 4750.750228881836,\r
4153         "z": "1b4ba1fc.83240e",\r
4154         "wires": [\r
4155             [\r
4156                 "293c4671.01eaaa"\r
4157             ]\r
4158         ]\r
4159     },\r
4160     {\r
4161         "id": "d725cba9.49bb",\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": 4572.142349243164,\r
4168         "y": 4812.324264526367,\r
4169         "z": "1b4ba1fc.83240e",\r
4170         "wires": [\r
4171             [\r
4172                 "107ae3d6.bea87c"\r
4173             ]\r
4174         ]\r
4175     },\r
4176     {\r
4177         "id": "47bda61e.d52e08",\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": 4569.651382446289,\r
4184         "y": 4855.750228881836,\r
4185         "z": "1b4ba1fc.83240e",\r
4186         "wires": [\r
4187             [\r
4188                 "b006b7ef.442db8"\r
4189             ]\r
4190         ]\r
4191     },\r
4192     {\r
4193         "id": "293c4671.01eaaa",\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": 4756.651626586914,\r
4200         "y": 4745.750228881836,\r
4201         "z": "1b4ba1fc.83240e",\r
4202         "wires": [\r
4203             [\r
4204                 "94070507.2dec4"\r
4205             ]\r
4206         ]\r
4207     },\r
4208     {\r
4209         "id": "107ae3d6.bea87c",\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": 4734.713760375977,\r
4215         "y": 4812.610000610352,\r
4216         "z": "1b4ba1fc.83240e",\r
4217         "wires": []\r
4218     },\r
4219     {\r
4220         "id": "b006b7ef.442db8",\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": 4736.651382446289,\r
4226         "y": 4854.750228881836,\r
4227         "z": "1b4ba1fc.83240e",\r
4228         "wires": []\r
4229     },\r
4230     {\r
4231         "id": "94070507.2dec4",\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": 4994.651626586914,\r
4238         "y": 4750.750228881836,\r
4239         "z": "1b4ba1fc.83240e",\r
4240         "wires": [\r
4241             [\r
4242                 "db3073d6.6320c8"\r
4243             ]\r
4244         ]\r
4245     },\r
4246     {\r
4247         "id": "db3073d6.6320c8",\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": 5228.651382446289,\r
4255         "y": 4757.750228881836,\r
4256         "z": "1b4ba1fc.83240e",\r
4257         "wires": [\r
4258             [\r
4259                 "37f340bd.0a3438"\r
4260             ]\r
4261         ]\r
4262     },\r
4263     {\r
4264         "id": "fcec711e.ca4568",\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": 5145.467300415039,\r
4270         "y": 4828.916549682617,\r
4271         "z": "1b4ba1fc.83240e",\r
4272         "wires": []\r
4273     },\r
4274     {\r
4275         "id": "37f340bd.0a3438",\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": 5089.467300415039,\r
4282         "y": 4877.916549682617,\r
4283         "z": "1b4ba1fc.83240e",\r
4284         "wires": [\r
4285             [\r
4286                 "ab022fe7.308e68",\r
4287                 "3eb6abc9.a7b9b4"\r
4288             ]\r
4289         ]\r
4290     },\r
4291     {\r
4292         "id": "3eb6abc9.a7b9b4",\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": 5332.467788696289,\r
4299         "y": 4918.916061401367,\r
4300         "z": "1b4ba1fc.83240e",\r
4301         "wires": [\r
4302             []\r
4303         ]\r
4304     },\r
4305     {\r
4306         "id": "ab022fe7.308e68",\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": 5343.467544555664,\r
4313         "y": 4875.916275024414,\r
4314         "z": "1b4ba1fc.83240e",\r
4315         "wires": [\r
4316             [\r
4317                 "82036bd3.d2b678"\r
4318             ]\r
4319         ]\r
4320     },\r
4321     {\r
4322         "id": "8f49a5ce.76f168",\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": 5570.450942993164,\r
4330         "y": 4883.332778930664,\r
4331         "z": "1b4ba1fc.83240e",\r
4332         "wires": [\r
4333             [\r
4334                 "c997366c.5a655",\r
4335                 "3dbdc2ab.0fbd3e",\r
4336                 "bd51e31d.644ad8"\r
4337             ]\r
4338         ]\r
4339     },\r
4340     {\r
4341         "id": "cd343233.3d4178",\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": 5735.500747680664,\r
4348         "y": 4768.333236694336,\r
4349         "z": "1b4ba1fc.83240e",\r
4350         "wires": [\r
4351             [\r
4352                 "355f9f95.f927e8"\r
4353             ]\r
4354         ]\r
4355     },\r
4356     {\r
4357         "id": "355f9f95.f927e8",\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": 5927.500747680664,\r
4364         "y": 4757.333480834961,\r
4365         "z": "1b4ba1fc.83240e",\r
4366         "wires": [\r
4367             [\r
4368                 "d2bb482a.6b0258"\r
4369             ]\r
4370         ]\r
4371     },\r
4372     {\r
4373         "id": "c997366c.5a655",\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": 5684.017593383789,\r
4379         "y": 4658.550277709961,\r
4380         "z": "1b4ba1fc.83240e",\r
4381         "wires": []\r
4382     },\r
4383     {\r
4384         "id": "3dbdc2ab.0fbd3e",\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": 5676.017593383789,\r
4390         "y": 4707.550277709961,\r
4391         "z": "1b4ba1fc.83240e",\r
4392         "wires": []\r
4393     },\r
4394     {\r
4395         "id": "bd51e31d.644ad8",\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": 5907.434585571289,\r
4402         "y": 4888.716293334961,\r
4403         "z": "1b4ba1fc.83240e",\r
4404         "wires": [\r
4405             []\r
4406         ]\r
4407     },\r
4408     {\r
4409         "id": "284b8a46.878cde",\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": 5859.084487915039,\r
4416         "y": 4936.033187866211,\r
4417         "z": "1b4ba1fc.83240e",\r
4418         "wires": [\r
4419             []\r
4420         ]\r
4421     },\r
4422     {\r
4423         "id": "d8829575.9f3a28",\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": 5931.434585571289,\r
4429         "y": 4849.716293334961,\r
4430         "z": "1b4ba1fc.83240e",\r
4431         "wires": []\r
4432     },\r
4433     {\r
4434         "id": "d2bb482a.6b0258",\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": 6109.500747680664,\r
4441         "y": 4736.333480834961,\r
4442         "z": "1b4ba1fc.83240e",\r
4443         "wires": [\r
4444             [\r
4445                 "c2a155f5.9faa88"\r
4446             ]\r
4447         ]\r
4448     },\r
4449     {\r
4450         "id": "c2a155f5.9faa88",\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": 6271.500747680664,\r
4457         "y": 4725.333480834961,\r
4458         "z": "1b4ba1fc.83240e",\r
4459         "wires": [\r
4460             [\r
4461                 "560d06d2.09f708",\r
4462                 "97054905.242338"\r
4463             ]\r
4464         ]\r
4465     },\r
4466     {\r
4467         "id": "560d06d2.09f708",\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": 6468.500747680664,\r
4473         "y": 4654.333480834961,\r
4474         "z": "1b4ba1fc.83240e",\r
4475         "wires": []\r
4476     },\r
4477     {\r
4478         "id": "97054905.242338",\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": 6465.967544555664,\r
4484         "y": 4753.550277709961,\r
4485         "z": "1b4ba1fc.83240e",\r
4486         "wires": []\r
4487     },\r
4488     {\r
4489         "id": "e8ad32eb.9df94",\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": 3123.483413696289,\r
4496         "y": 3212.366683959961,\r
4497         "z": "1b4ba1fc.83240e",\r
4498         "wires": [\r
4499             []\r
4500         ]\r
4501     },\r
4502     {\r
4503         "id": "cf9533e5.c2371",\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": 3000.483413696289,\r
4510         "y": 3322.366683959961,\r
4511         "z": "1b4ba1fc.83240e",\r
4512         "wires": [\r
4513             [\r
4514                 "6d545915.394bc",\r
4515                 "8fea5bf9.a101b8"\r
4516             ]\r
4517         ]\r
4518     },\r
4519     {\r
4520         "id": "6d545915.394bc",\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": 3184.483413696289,\r
4527         "y": 3301.366683959961,\r
4528         "z": "1b4ba1fc.83240e",\r
4529         "wires": [\r
4530             [\r
4531                 "a2317561.56953"\r
4532             ]\r
4533         ]\r
4534     },\r
4535     {\r
4536         "id": "a2317561.56953",\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": 3327.483413696289,\r
4544         "y": 3301.366683959961,\r
4545         "z": "1b4ba1fc.83240e",\r
4546         "wires": [\r
4547             [\r
4548                 "a264af99.117e28"\r
4549             ]\r
4550         ]\r
4551     },\r
4552     {\r
4553         "id": "a264af99.117e28",\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": 3503.483413696289,\r
4559         "y": 3299.366683959961,\r
4560         "z": "1b4ba1fc.83240e",\r
4561         "wires": []\r
4562     },\r
4563     {\r
4564         "id": "8fea5bf9.a101b8",\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": 3182.483413696289,\r
4571         "y": 3356.366683959961,\r
4572         "z": "1b4ba1fc.83240e",\r
4573         "wires": [\r
4574             [\r
4575                 "3fcc1946.2227c6"\r
4576             ]\r
4577         ]\r
4578     },\r
4579     {\r
4580         "id": "3fcc1946.2227c6",\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": 3029.483413696289,\r
4588         "y": 3489.366683959961,\r
4589         "z": "1b4ba1fc.83240e",\r
4590         "wires": [\r
4591             [\r
4592                 "13751b77.2d6a35",\r
4593                 "42ae91e0.cfd958",\r
4594                 "f0c980e9.4c97f",\r
4595                 "15cfd0d2.c7223f",\r
4596                 "566cdb6f.69a6a4",\r
4597                 "130e3d11.8bda33"\r
4598             ]\r
4599         ]\r
4600     },\r
4601     {\r
4602         "id": "b391ba6b.5d625",\r
4603         "type": "comment",\r
4604         "name": "Find LEAF connectivity",\r
4605         "info": "",\r
4606         "comments": "",\r
4607         "x": 3251.566665649414,\r
4608         "y": 3729.566635131836,\r
4609         "z": "1b4ba1fc.83240e",\r
4610         "wires": []\r
4611     },\r
4612     {\r
4613         "id": "15cfd0d2.c7223f",\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": 3334.016616821289,\r
4619         "y": 3502.366683959961,\r
4620         "z": "1b4ba1fc.83240e",\r
4621         "wires": []\r
4622     },\r
4623     {\r
4624         "id": "566cdb6f.69a6a4",\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": 3332.516372680664,\r
4631         "y": 3548.283432006836,\r
4632         "z": "1b4ba1fc.83240e",\r
4633         "wires": [\r
4634             [\r
4635                 "69987cbf.ba882c"\r
4636             ]\r
4637         ]\r
4638     },\r
4639     {\r
4640         "id": "69987cbf.ba882c",\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": 3595.516372680664,\r
4647         "y": 3543.283432006836,\r
4648         "z": "1b4ba1fc.83240e",\r
4649         "wires": [\r
4650             [\r
4651                 "6b4b309c.a784f8"\r
4652             ]\r
4653         ]\r
4654     },\r
4655     {\r
4656         "id": "6b4b309c.a784f8",\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": 3755.515884399414,\r
4663         "y": 3523.283432006836,\r
4664         "z": "1b4ba1fc.83240e",\r
4665         "wires": [\r
4666             [\r
4667                 "537f8032.a139c8"\r
4668             ]\r
4669         ]\r
4670     },\r
4671     {\r
4672         "id": "608ff90c.2e5fc",\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": 5092.517593383789,\r
4679         "y": 3554.283462524414,\r
4680         "z": "1b4ba1fc.83240e",\r
4681         "wires": [\r
4682             [\r
4683                 "b2d28e5c.e8fb18",\r
4684                 "d55c5cbc.26dad8",\r
4685                 "99b14097.a9c1b8"\r
4686             ]\r
4687         ]\r
4688     },\r
4689     {\r
4690         "id": "b2d28e5c.e8fb18",\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": 5332.018081665039,\r
4696         "y": 3503.366714477539,\r
4697         "z": "1b4ba1fc.83240e",\r
4698         "wires": []\r
4699     },\r
4700     {\r
4701         "id": "d55c5cbc.26dad8",\r
4702         "type": "break",\r
4703         "name": "break",\r
4704         "xml": "<break>\n",\r
4705         "comments": "",\r
4706         "x": 5265.251510620117,\r
4707         "y": 3576.366744995117,\r
4708         "z": "1b4ba1fc.83240e",\r
4709         "wires": []\r
4710     },\r
4711     {\r
4712         "id": "3b35e0ea.5843e8",\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": 4458.567642211914,\r
4718         "y": 5110.566879272461,\r
4719         "z": "1b4ba1fc.83240e",\r
4720         "wires": []\r
4721     },\r
4722     {\r
4723         "id": "a474eb09.bdcea",\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": 4357.000503540039,\r
4729         "y": 5162.483383178711,\r
4730         "z": "1b4ba1fc.83240e",\r
4731         "wires": []\r
4732     },\r
4733     {\r
4734         "id": "bbed6bed.031a08",\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": 4508.000503540039,\r
4741         "y": 5605.483383178711,\r
4742         "z": "1b4ba1fc.83240e",\r
4743         "wires": [\r
4744             []\r
4745         ]\r
4746     },\r
4747     {\r
4748         "id": "9b06d9ac.c2c2b",\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": 4323.000503540039,\r
4755         "y": 5672.483383178711,\r
4756         "z": "1b4ba1fc.83240e",\r
4757         "wires": [\r
4758             [\r
4759                 "da6e8509.7a87a8",\r
4760                 "16a08f38.4e9a49"\r
4761             ]\r
4762         ]\r
4763     },\r
4764     {\r
4765         "id": "da6e8509.7a87a8",\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": 4588.000503540039,\r
4772         "y": 5657.483383178711,\r
4773         "z": "1b4ba1fc.83240e",\r
4774         "wires": [\r
4775             [\r
4776                 "c2e76143.b6b218"\r
4777             ]\r
4778         ]\r
4779     },\r
4780     {\r
4781         "id": "16a08f38.4e9a49",\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": 4584.000503540039,\r
4788         "y": 5705.483383178711,\r
4789         "z": "1b4ba1fc.83240e",\r
4790         "wires": [\r
4791             [\r
4792                 "8fe2e656.247af"\r
4793             ]\r
4794         ]\r
4795     },\r
4796     {\r
4797         "id": "c2e76143.b6b218",\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": 4744.000503540039,\r
4805         "y": 5653.483383178711,\r
4806         "z": "1b4ba1fc.83240e",\r
4807         "wires": [\r
4808             [\r
4809                 "9d183ed0.0c624"\r
4810             ]\r
4811         ]\r
4812     },\r
4813     {\r
4814         "id": "8fe2e656.247af",\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": 4732.000503540039,\r
4820         "y": 5700.483383178711,\r
4821         "z": "1b4ba1fc.83240e",\r
4822         "wires": []\r
4823     },\r
4824     {\r
4825         "id": "2c1c4698.bb1b8a",\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": 5164.000747680664,\r
4831         "y": 5595.483383178711,\r
4832         "z": "1b4ba1fc.83240e",\r
4833         "wires": []\r
4834     },\r
4835     {\r
4836         "id": "39f2eed6.a40982",\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": 4566.417495727539,\r
4842         "y": 5191.767074584961,\r
4843         "z": "1b4ba1fc.83240e",\r
4844         "wires": []\r
4845     },\r
4846     {\r
4847         "id": "4e75594e.323fe8",\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": 4337.417495727539,\r
4854         "y": 5280.767074584961,\r
4855         "z": "1b4ba1fc.83240e",\r
4856         "wires": [\r
4857             [\r
4858                 "39f2eed6.a40982",\r
4859                 "ec0a5547.230718"\r
4860             ]\r
4861         ]\r
4862     },\r
4863     {\r
4864         "id": "ec0a5547.230718",\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": 4573.417495727539,\r
4871         "y": 5273.767074584961,\r
4872         "z": "1b4ba1fc.83240e",\r
4873         "wires": [\r
4874             [\r
4875                 "f4f0abfb.959d98",\r
4876                 "6d247b2e.c14f4c",\r
4877                 "ac6604fb.6b0698"\r
4878             ]\r
4879         ]\r
4880     },\r
4881     {\r
4882         "id": "f4f0abfb.959d98",\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": 4768.917617797852,\r
4889         "y": 5225.767074584961,\r
4890         "z": "1b4ba1fc.83240e",\r
4891         "wires": [\r
4892             [\r
4893                 "7a4a15ea.cb5f7c"\r
4894             ]\r
4895         ]\r
4896     },\r
4897     {\r
4898         "id": "6d247b2e.c14f4c",\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": 4760.917617797852,\r
4905         "y": 5280.767074584961,\r
4906         "z": "1b4ba1fc.83240e",\r
4907         "wires": [\r
4908             [\r
4909                 "9d792ff5.12f1d8"\r
4910             ]\r
4911         ]\r
4912     },\r
4913     {\r
4914         "id": "7a4a15ea.cb5f7c",\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": 4913.299942016602,\r
4922         "y": 5225.422744750977,\r
4923         "z": "1b4ba1fc.83240e",\r
4924         "wires": [\r
4925             [\r
4926                 "22a044c0.3de0ec"\r
4927             ]\r
4928         ]\r
4929     },\r
4930     {\r
4931         "id": "22a044c0.3de0ec",\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": 5097.417495727539,\r
4938         "y": 5223.767074584961,\r
4939         "z": "1b4ba1fc.83240e",\r
4940         "wires": [\r
4941             [\r
4942                 "afda241e.dc7d4"\r
4943             ]\r
4944         ]\r
4945     },\r
4946     {\r
4947         "id": "afda241e.dc7d4",\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": 5292.417495727539,\r
4954         "y": 5223.767074584961,\r
4955         "z": "1b4ba1fc.83240e",\r
4956         "wires": [\r
4957             [\r
4958                 "7162d2d.84a60ac"\r
4959             ]\r
4960         ]\r
4961     },\r
4962     {\r
4963         "id": "ac6604fb.6b0698",\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": 4765.917617797852,\r
4970         "y": 5337.767074584961,\r
4971         "z": "1b4ba1fc.83240e",\r
4972         "wires": [\r
4973             [\r
4974                 "cc0a2fe1.d0b358"\r
4975             ]\r
4976         ]\r
4977     },\r
4978     {\r
4979         "id": "cc0a2fe1.d0b358",\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": 4917.917617797852,\r
4985         "y": 5338.767074584961,\r
4986         "z": "1b4ba1fc.83240e",\r
4987         "wires": []\r
4988     },\r
4989     {\r
4990         "id": "9d792ff5.12f1d8",\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": 4928.917617797852,\r
4996         "y": 5281.767074584961,\r
4997         "z": "1b4ba1fc.83240e",\r
4998         "wires": []\r
4999     },\r
5000     {\r
5001         "id": "9e3505a2.ad7f68",\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": 5674.417495727539,\r
5008         "y": 5227.767074584961,\r
5009         "z": "1b4ba1fc.83240e",\r
5010         "wires": [\r
5011             [\r
5012                 "ea7ae99e.7714a",\r
5013                 "97767b77.532b48",\r
5014                 "bd9bb3b2.0d8698"\r
5015             ]\r
5016         ]\r
5017     },\r
5018     {\r
5019         "id": "7162d2d.84a60ac",\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": 5495.417495727539,\r
5026         "y": 5227.767074584961,\r
5027         "z": "1b4ba1fc.83240e",\r
5028         "wires": [\r
5029             [\r
5030                 "9e3505a2.ad7f68"\r
5031             ]\r
5032         ]\r
5033     },\r
5034     {\r
5035         "id": "97767b77.532b48",\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": 5880.417495727539,\r
5042         "y": 5240.767074584961,\r
5043         "z": "1b4ba1fc.83240e",\r
5044         "wires": [\r
5045             [\r
5046                 "8ede340c.5a66c8",\r
5047                 "74477750.32976",\r
5048                 "ea5203af.a882c8"\r
5049             ]\r
5050         ]\r
5051     },\r
5052     {\r
5053         "id": "ea7ae99e.7714a",\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": 5910.417495727539,\r
5059         "y": 5188.767074584961,\r
5060         "z": "1b4ba1fc.83240e",\r
5061         "wires": []\r
5062     },\r
5063     {\r
5064         "id": "8ede340c.5a66c8",\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": 6090.417495727539,\r
5071         "y": 5231.767074584961,\r
5072         "z": "1b4ba1fc.83240e",\r
5073         "wires": [\r
5074             [\r
5075                 "5e0e6cb.070b594"\r
5076             ]\r
5077         ]\r
5078     },\r
5079     {\r
5080         "id": "74477750.32976",\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": 6082.417495727539,\r
5087         "y": 5286.767074584961,\r
5088         "z": "1b4ba1fc.83240e",\r
5089         "wires": [\r
5090             [\r
5091                 "8bfb7c50.692e68"\r
5092             ]\r
5093         ]\r
5094     },\r
5095     {\r
5096         "id": "ea5203af.a882c8",\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": 6087.417495727539,\r
5103         "y": 5343.767074584961,\r
5104         "z": "1b4ba1fc.83240e",\r
5105         "wires": [\r
5106             [\r
5107                 "1d7cc732.18ead1"\r
5108             ]\r
5109         ]\r
5110     },\r
5111     {\r
5112         "id": "1d7cc732.18ead1",\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": 6239.417495727539,\r
5118         "y": 5344.767074584961,\r
5119         "z": "1b4ba1fc.83240e",\r
5120         "wires": []\r
5121     },\r
5122     {\r
5123         "id": "8bfb7c50.692e68",\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": 6250.417495727539,\r
5129         "y": 5289.767074584961,\r
5130         "z": "1b4ba1fc.83240e",\r
5131         "wires": []\r
5132     },\r
5133     {\r
5134         "id": "5e0e6cb.070b594",\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": 6234.799819946289,\r
5142         "y": 5229.422744750977,\r
5143         "z": "1b4ba1fc.83240e",\r
5144         "wires": [\r
5145             [\r
5146                 "20b06727.e2f538"\r
5147             ]\r
5148         ]\r
5149     },\r
5150     {\r
5151         "id": "20b06727.e2f538",\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": 6449.417495727539,\r
5157         "y": 5225.767074584961,\r
5158         "z": "1b4ba1fc.83240e",\r
5159         "wires": []\r
5160     },\r
5161     {\r
5162         "id": "bd9bb3b2.0d8698",\r
5163         "type": "break",\r
5164         "name": "break",\r
5165         "xml": "<break>\n",\r
5166         "comments": "",\r
5167         "x": 5830.417495727539,\r
5168         "y": 5304.767074584961,\r
5169         "z": "1b4ba1fc.83240e",\r
5170         "wires": []\r
5171     },\r
5172     {\r
5173         "id": "8985192.1ed6868",\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": 4478.917739868164,\r
5180         "y": 5385.366683959961,\r
5181         "z": "1b4ba1fc.83240e",\r
5182         "wires": [\r
5183             [\r
5184                 "62c705b1.502d1c",\r
5185                 "1b875464.e01f44"\r
5186             ]\r
5187         ]\r
5188     },\r
5189     {\r
5190         "id": "62c705b1.502d1c",\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": 4839.417495727539,\r
5197         "y": 5393.366683959961,\r
5198         "z": "1b4ba1fc.83240e",\r
5199         "wires": [\r
5200             [\r
5201                 "d191549e.030218"\r
5202             ]\r
5203         ]\r
5204     },\r
5205     {\r
5206         "id": "d191549e.030218",\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": 4997.417495727539,\r
5212         "y": 5393.366683959961,\r
5213         "z": "1b4ba1fc.83240e",\r
5214         "wires": []\r
5215     },\r
5216     {\r
5217         "id": "18bca107.e50237",\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": 5000.917495727539,\r
5225         "y": 5433.366683959961,\r
5226         "z": "1b4ba1fc.83240e",\r
5227         "wires": [\r
5228             []\r
5229         ]\r
5230     },\r
5231     {\r
5232         "id": "1b875464.e01f44",\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": 4843.417495727539,\r
5239         "y": 5433.366683959961,\r
5240         "z": "1b4ba1fc.83240e",\r
5241         "wires": [\r
5242             [\r
5243                 "18bca107.e50237"\r
5244             ]\r
5245         ]\r
5246     },\r
5247     {\r
5248         "id": "8380c690.faafc",\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": 5152.134536743164,\r
5255         "y": 5647.366683959961,\r
5256         "z": "1b4ba1fc.83240e",\r
5257         "wires": [\r
5258             [\r
5259                 "1f713bf9.1daaec",\r
5260                 "39b06195.a8d3be"\r
5261             ]\r
5262         ]\r
5263     },\r
5264     {\r
5265         "id": "39b06195.a8d3be",\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": 5394.134292602539,\r
5272         "y": 5597.366683959961,\r
5273         "z": "1b4ba1fc.83240e",\r
5274         "wires": [\r
5275             [\r
5276                 "fbd8ede5.0e2c68",\r
5277                 "fe4285c6.cb2308",\r
5278                 "3fecf8f4.4ce3f"\r
5279             ]\r
5280         ]\r
5281     },\r
5282     {\r
5283         "id": "fbd8ede5.0e2c68",\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": 5589.634536743164,\r
5290         "y": 5531.366683959961,\r
5291         "z": "1b4ba1fc.83240e",\r
5292         "wires": [\r
5293             [\r
5294                 "10a1ac3d.04aa44"\r
5295             ]\r
5296         ]\r
5297     },\r
5298     {\r
5299         "id": "fe4285c6.cb2308",\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": 5585.634536743164,\r
5306         "y": 5587.366683959961,\r
5307         "z": "1b4ba1fc.83240e",\r
5308         "wires": [\r
5309             [\r
5310                 "f166d116.9a8368"\r
5311             ]\r
5312         ]\r
5313     },\r
5314     {\r
5315         "id": "10a1ac3d.04aa44",\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": 5734.016738891602,\r
5323         "y": 5549.022354125977,\r
5324         "z": "1b4ba1fc.83240e",\r
5325         "wires": [\r
5326             [\r
5327                 "2f38d9ab.5bfbbe"\r
5328             ]\r
5329         ]\r
5330     },\r
5331     {\r
5332         "id": "2f38d9ab.5bfbbe",\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": 5918.134292602539,\r
5339         "y": 5547.366683959961,\r
5340         "z": "1b4ba1fc.83240e",\r
5341         "wires": [\r
5342             [\r
5343                 "e1d73c4d.409db8"\r
5344             ]\r
5345         ]\r
5346     },\r
5347     {\r
5348         "id": "3fecf8f4.4ce3f",\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": 5595.634536743164,\r
5355         "y": 5632.366683959961,\r
5356         "z": "1b4ba1fc.83240e",\r
5357         "wires": [\r
5358             [\r
5359                 "ba50366d.81301"\r
5360             ]\r
5361         ]\r
5362     },\r
5363     {\r
5364         "id": "ba50366d.81301",\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": 5774.634536743164,\r
5370         "y": 5648.366683959961,\r
5371         "z": "1b4ba1fc.83240e",\r
5372         "wires": []\r
5373     },\r
5374     {\r
5375         "id": "f166d116.9a8368",\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": 5756.634536743164,\r
5381         "y": 5600.366683959961,\r
5382         "z": "1b4ba1fc.83240e",\r
5383         "wires": []\r
5384     },\r
5385     {\r
5386         "id": "1d5ce61.ba31c9a",\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": 5305.634536743164,\r
5393         "y": 5702.966293334961,\r
5394         "z": "1b4ba1fc.83240e",\r
5395         "wires": [\r
5396             [\r
5397                 "8374d45d.c41588",\r
5398                 "6d72c625.482d5"\r
5399             ]\r
5400         ]\r
5401     },\r
5402     {\r
5403         "id": "8374d45d.c41588",\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": 5654.134536743164,\r
5410         "y": 5684.966293334961,\r
5411         "z": "1b4ba1fc.83240e",\r
5412         "wires": [\r
5413             [\r
5414                 "53e0b67e.6fc768"\r
5415             ]\r
5416         ]\r
5417     },\r
5418     {\r
5419         "id": "53e0b67e.6fc768",\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": 5910.134536743164,\r
5425         "y": 5687.966293334961,\r
5426         "z": "1b4ba1fc.83240e",\r
5427         "wires": []\r
5428     },\r
5429     {\r
5430         "id": "1ee806c.abb34f9",\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": 5862.634536743164,\r
5438         "y": 5728.966293334961,\r
5439         "z": "1b4ba1fc.83240e",\r
5440         "wires": [\r
5441             []\r
5442         ]\r
5443     },\r
5444     {\r
5445         "id": "6d72c625.482d5",\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": 5664.134536743164,\r
5452         "y": 5733.966293334961,\r
5453         "z": "1b4ba1fc.83240e",\r
5454         "wires": [\r
5455             [\r
5456                 "1ee806c.abb34f9"\r
5457             ]\r
5458         ]\r
5459     },\r
5460     {\r
5461         "id": "1f713bf9.1daaec",\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": 5387.134292602539,\r
5467         "y": 5515.366683959961,\r
5468         "z": "1b4ba1fc.83240e",\r
5469         "wires": []\r
5470     },\r
5471     {\r
5472         "id": "e1d73c4d.409db8",\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": 6113.134292602539,\r
5479         "y": 5547.366683959961,\r
5480         "z": "1b4ba1fc.83240e",\r
5481         "wires": [\r
5482             [\r
5483                 "b323e9c9.c4083"\r
5484             ]\r
5485         ]\r
5486     },\r
5487     {\r
5488         "id": "be7ed337.773238",\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": 6495.134292602539,\r
5495         "y": 5551.366683959961,\r
5496         "z": "1b4ba1fc.83240e",\r
5497         "wires": [\r
5498             [\r
5499                 "1a0db354.43c10d",\r
5500                 "711b7fd1.39246",\r
5501                 "1b22d01c.0f5988"\r
5502             ]\r
5503         ]\r
5504     },\r
5505     {\r
5506         "id": "b323e9c9.c4083",\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": 6316.134292602539,\r
5513         "y": 5551.366683959961,\r
5514         "z": "1b4ba1fc.83240e",\r
5515         "wires": [\r
5516             [\r
5517                 "be7ed337.773238"\r
5518             ]\r
5519         ]\r
5520     },\r
5521     {\r
5522         "id": "711b7fd1.39246",\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": 6701.134292602539,\r
5529         "y": 5564.366683959961,\r
5530         "z": "1b4ba1fc.83240e",\r
5531         "wires": [\r
5532             [\r
5533                 "d1222469.959ab8",\r
5534                 "2ce3fcd5.8dd1cc",\r
5535                 "95dec9e7.124ae"\r
5536             ]\r
5537         ]\r
5538     },\r
5539     {\r
5540         "id": "1a0db354.43c10d",\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": 6731.134292602539,\r
5546         "y": 5512.366683959961,\r
5547         "z": "1b4ba1fc.83240e",\r
5548         "wires": []\r
5549     },\r
5550     {\r
5551         "id": "d1222469.959ab8",\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": 6911.134292602539,\r
5558         "y": 5555.366683959961,\r
5559         "z": "1b4ba1fc.83240e",\r
5560         "wires": [\r
5561             [\r
5562                 "15af61ce.93dc56"\r
5563             ]\r
5564         ]\r
5565     },\r
5566     {\r
5567         "id": "2ce3fcd5.8dd1cc",\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": 6903.134292602539,\r
5574         "y": 5610.366683959961,\r
5575         "z": "1b4ba1fc.83240e",\r
5576         "wires": [\r
5577             [\r
5578                 "85d2a0c5.7b74c"\r
5579             ]\r
5580         ]\r
5581     },\r
5582     {\r
5583         "id": "95dec9e7.124ae",\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": 6908.134292602539,\r
5590         "y": 5667.366683959961,\r
5591         "z": "1b4ba1fc.83240e",\r
5592         "wires": [\r
5593             [\r
5594                 "6c15ae6.0ebeb5"\r
5595             ]\r
5596         ]\r
5597     },\r
5598     {\r
5599         "id": "6c15ae6.0ebeb5",\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": 7060.134292602539,\r
5605         "y": 5668.366683959961,\r
5606         "z": "1b4ba1fc.83240e",\r
5607         "wires": []\r
5608     },\r
5609     {\r
5610         "id": "85d2a0c5.7b74c",\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": 7071.134292602539,\r
5616         "y": 5613.366683959961,\r
5617         "z": "1b4ba1fc.83240e",\r
5618         "wires": []\r
5619     },\r
5620     {\r
5621         "id": "15af61ce.93dc56",\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": 7055.516616821289,\r
5629         "y": 5553.022354125977,\r
5630         "z": "1b4ba1fc.83240e",\r
5631         "wires": [\r
5632             [\r
5633                 "370a475d.301248"\r
5634             ]\r
5635         ]\r
5636     },\r
5637     {\r
5638         "id": "370a475d.301248",\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": 7270.134292602539,\r
5644         "y": 5549.366683959961,\r
5645         "z": "1b4ba1fc.83240e",\r
5646         "wires": []\r
5647     },\r
5648     {\r
5649         "id": "1b22d01c.0f5988",\r
5650         "type": "break",\r
5651         "name": "break",\r
5652         "xml": "<break>\n",\r
5653         "comments": "",\r
5654         "x": 6651.134292602539,\r
5655         "y": 5628.366683959961,\r
5656         "z": "1b4ba1fc.83240e",\r
5657         "wires": []\r
5658     },\r
5659     {\r
5660         "id": "537f8032.a139c8",\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": 3880.566665649414,\r
5668         "y": 3517.566635131836,\r
5669         "z": "1b4ba1fc.83240e",\r
5670         "wires": [\r
5671             [\r
5672                 "4c0087b1.a54ff",\r
5673                 "543f9693.a47c"\r
5674             ]\r
5675         ]\r
5676     },\r
5677     {\r
5678         "id": "4c0087b1.a54ff",\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": 4071.149917602539,\r
5684         "y": 3460.366683959961,\r
5685         "z": "1b4ba1fc.83240e",\r
5686         "wires": []\r
5687     },\r
5688     {\r
5689         "id": "543f9693.a47c",\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": 4118.149917602539,\r
5696         "y": 3531.366683959961,\r
5697         "z": "1b4ba1fc.83240e",\r
5698         "wires": [\r
5699             [\r
5700                 "e4164ac6.db6c38",\r
5701                 "5e838a6b.5e0f0c"\r
5702             ]\r
5703         ]\r
5704     },\r
5705     {\r
5706         "id": "e4164ac6.db6c38",\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": 4356.567398071289,\r
5713         "y": 3490.566635131836,\r
5714         "z": "1b4ba1fc.83240e",\r
5715         "wires": [\r
5716             [\r
5717                 "4d697267.53d1ec"\r
5718             ]\r
5719         ]\r
5720     },\r
5721     {\r
5722         "id": "5e838a6b.5e0f0c",\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": 4363.567611694336,\r
5729         "y": 3547.566604614258,\r
5730         "z": "1b4ba1fc.83240e",\r
5731         "wires": [\r
5732             [\r
5733                 "fa76b584.bdbd9"\r
5734             ]\r
5735         ]\r
5736     },\r
5737     {\r
5738         "id": "4d697267.53d1ec",\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": 4484.567886352539,\r
5746         "y": 3486.566635131836,\r
5747         "z": "1b4ba1fc.83240e",\r
5748         "wires": [\r
5749             []\r
5750         ]\r
5751     },\r
5752     {\r
5753         "id": "130e3d11.8bda33",\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": 3339.766616821289,\r
5759         "y": 3444.966781616211,\r
5760         "z": "1b4ba1fc.83240e",\r
5761         "wires": []\r
5762     },\r
5763     {\r
5764         "id": "99b14097.a9c1b8",\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": 5321.600845336914,\r
5770         "y": 3446.966812133789,\r
5771         "z": "1b4ba1fc.83240e",\r
5772         "wires": []\r
5773     },\r
5774     {\r
5775         "id": "335ed745.f60fb8",\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": 4433.350357055664,\r
5782         "y": 3967.183334350586,\r
5783         "z": "1b4ba1fc.83240e",\r
5784         "wires": [\r
5785             [\r
5786                 "64f170e7.ccc2d",\r
5787                 "d03c542e.06f138"\r
5788             ]\r
5789         ]\r
5790     },\r
5791     {\r
5792         "id": "64f170e7.ccc2d",\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": 4606.233169555664,\r
5798         "y": 3962.843002319336,\r
5799         "z": "1b4ba1fc.83240e",\r
5800         "wires": []\r
5801     },\r
5802     {\r
5803         "id": "d03c542e.06f138",\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": 4609.233169555664,\r
5810         "y": 4009.843002319336,\r
5811         "z": "1b4ba1fc.83240e",\r
5812         "wires": [\r
5813             [\r
5814                 "d5d4471e.75f138",\r
5815                 "fea86c4e.6eb66",\r
5816                 "9876b951.6d5f9"\r
5817             ]\r
5818         ]\r
5819     },\r
5820     {\r
5821         "id": "d5d4471e.75f138",\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": 4781.233169555664,\r
5828         "y": 3993.843002319336,\r
5829         "z": "1b4ba1fc.83240e",\r
5830         "wires": [\r
5831             [\r
5832                 "c08f73d3.bbadb"\r
5833             ]\r
5834         ]\r
5835     },\r
5836     {\r
5837         "id": "fea86c4e.6eb66",\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": 4781.724136352539,\r
5844         "y": 4039.417037963867,\r
5845         "z": "1b4ba1fc.83240e",\r
5846         "wires": [\r
5847             []\r
5848         ]\r
5849     },\r
5850     {\r
5851         "id": "9876b951.6d5f9",\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": 4782.233169555664,\r
5858         "y": 4079.843002319336,\r
5859         "z": "1b4ba1fc.83240e",\r
5860         "wires": [\r
5861             []\r
5862         ]\r
5863     },\r
5864     {\r
5865         "id": "c08f73d3.bbadb",\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": 4942.233169555664,\r
5873         "y": 3989.843002319336,\r
5874         "z": "1b4ba1fc.83240e",\r
5875         "wires": [\r
5876             [\r
5877                 "71418de6.0d2394",\r
5878                 "d8794541.6fe0d",\r
5879                 "69521be3.cd51ac"\r
5880             ]\r
5881         ]\r
5882     },\r
5883     {\r
5884         "id": "7f40068a.c630c8",\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": 5275.233169555664,\r
5890         "y": 3920.843002319336,\r
5891         "z": "1b4ba1fc.83240e",\r
5892         "wires": []\r
5893     },\r
5894     {\r
5895         "id": "d8794541.6fe0d",\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": 5210.233169555664,\r
5902         "y": 3977.843002319336,\r
5903         "z": "1b4ba1fc.83240e",\r
5904         "wires": [\r
5905             [\r
5906                 "eb66d929.7d0b9",\r
5907                 "25fd01e0.613c0e"\r
5908             ]\r
5909         ]\r
5910     },\r
5911     {\r
5912         "id": "25fd01e0.613c0e",\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": 5433.233169555664,\r
5919         "y": 3963.843002319336,\r
5920         "z": "1b4ba1fc.83240e",\r
5921         "wires": [\r
5922             [\r
5923                 "b7f38bd8.a0bf3"\r
5924             ]\r
5925         ]\r
5926     },\r
5927     {\r
5928         "id": "eb66d929.7d0b9",\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": 5435.233169555664,\r
5935         "y": 3996.843002319336,\r
5936         "z": "1b4ba1fc.83240e",\r
5937         "wires": [\r
5938             [\r
5939                 "23361310.a1a764"\r
5940             ]\r
5941         ]\r
5942     },\r
5943     {\r
5944         "id": "b7f38bd8.a0bf3",\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": 5581.233169555664,\r
5951         "y": 3956.843002319336,\r
5952         "z": "1b4ba1fc.83240e",\r
5953         "wires": [\r
5954             [\r
5955                 "16198ed9.69ab49"\r
5956             ]\r
5957         ]\r
5958     },\r
5959     {\r
5960         "id": "23361310.a1a764",\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": 5578.233169555664,\r
5966         "y": 3993.843002319336,\r
5967         "z": "1b4ba1fc.83240e",\r
5968         "wires": []\r
5969     },\r
5970     {\r
5971         "id": "16198ed9.69ab49",\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": 5758.233169555664,\r
5977         "y": 3956.843002319336,\r
5978         "z": "1b4ba1fc.83240e",\r
5979         "wires": []\r
5980     },\r
5981     {\r
5982         "id": "71418de6.0d2394",\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": 5254.233169555664,\r
5989         "y": 4111.843002319336,\r
5990         "z": "1b4ba1fc.83240e",\r
5991         "wires": [\r
5992             [\r
5993                 "adaeb862.473368",\r
5994                 "2ff17e89.b4833a"\r
5995             ]\r
5996         ]\r
5997     },\r
5998     {\r
5999         "id": "adaeb862.473368",\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": 5535.233169555664,\r
6006         "y": 4088.843002319336,\r
6007         "z": "1b4ba1fc.83240e",\r
6008         "wires": [\r
6009             [\r
6010                 "b52ce206.918da8"\r
6011             ]\r
6012         ]\r
6013     },\r
6014     {\r
6015         "id": "2ff17e89.b4833a",\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": 5528.233169555664,\r
6022         "y": 4147.843002319336,\r
6023         "z": "1b4ba1fc.83240e",\r
6024         "wires": [\r
6025             [\r
6026                 "b7c68567.02237"\r
6027             ]\r
6028         ]\r
6029     },\r
6030     {\r
6031         "id": "b52ce206.918da8",\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": 5665.233169555664,\r
6039         "y": 4092.843002319336,\r
6040         "z": "1b4ba1fc.83240e",\r
6041         "wires": [\r
6042             []\r
6043         ]\r
6044     },\r
6045     {\r
6046         "id": "b7c68567.02237",\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": 5670.233169555664,\r
6054         "y": 4146.843002319336,\r
6055         "z": "1b4ba1fc.83240e",\r
6056         "wires": [\r
6057             [\r
6058                 "e0f7b55.335ff48",\r
6059                 "cb97a1e2.dfe9f8"\r
6060             ]\r
6061         ]\r
6062     },\r
6063     {\r
6064         "id": "e0f7b55.335ff48",\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": 5862.233169555664,\r
6070         "y": 4113.843002319336,\r
6071         "z": "1b4ba1fc.83240e",\r
6072         "wires": []\r
6073     },\r
6074     {\r
6075         "id": "8511bfc9.24e818",\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": 5878.233169555664,\r
6081         "y": 4165.843002319336,\r
6082         "z": "1b4ba1fc.83240e",\r
6083         "wires": []\r
6084     },\r
6085     {\r
6086         "id": "cb97a1e2.dfe9f8",\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": 5896.516860961914,\r
6092         "y": 4235.433334350586,\r
6093         "z": "1b4ba1fc.83240e",\r
6094         "wires": []\r
6095     },\r
6096     {\r
6097         "id": "69521be3.cd51ac",\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": 5173.216567993164,\r
6103         "y": 4061.333236694336,\r
6104         "z": "1b4ba1fc.83240e",\r
6105         "wires": []\r
6106     },\r
6107     {\r
6108         "id": "94db503d.b50288",\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": 409.4172821044922,\r
6115         "y": 5331.532943725586,\r
6116         "z": "1b4ba1fc.83240e",\r
6117         "wires": [\r
6118             [\r
6119                 "98c37402.345048",\r
6120                 "44b19987.103118"\r
6121             ]\r
6122         ]\r
6123     },\r
6124     {\r
6125         "id": "5e023344.61a9f4",\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": 4314.199722290039,\r
6132         "y": 5495.416732788086,\r
6133         "z": "1b4ba1fc.83240e",\r
6134         "wires": [\r
6135             [\r
6136                 "76f7324c.5ab6f4",\r
6137                 "92aa08d0.816178",\r
6138                 "84add947.e60b78"\r
6139             ]\r
6140         ]\r
6141     },\r
6142     {\r
6143         "id": "26cdc27d.9e4c6e",\r
6144         "type": "comment",\r
6145         "name": "Update ROOT UNI's bw -- ALREADY DONE",\r
6146         "info": "",\r
6147         "comments": "",\r
6148         "x": 4312.200210571289,\r
6149         "y": 5447.416976928711,\r
6150         "z": "1b4ba1fc.83240e",\r
6151         "wires": []\r
6152     },\r
6153     {\r
6154         "id": "eb8b95c0.79475",\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": 4929.199966430664,\r
6161         "y": 5565.416976928711,\r
6162         "z": "1b4ba1fc.83240e",\r
6163         "wires": [\r
6164             []\r
6165         ]\r
6166     },\r
6167     {\r
6168         "id": "92aa08d0.816178",\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": 4531.690933227539,\r
6175         "y": 5465.990951538086,\r
6176         "z": "1b4ba1fc.83240e",\r
6177         "wires": [\r
6178             [\r
6179                 "8b26daec.dead98"\r
6180             ]\r
6181         ]\r
6182     },\r
6183     {\r
6184         "id": "84add947.e60b78",\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": 4527.199966430664,\r
6191         "y": 5510.416915893555,\r
6192         "z": "1b4ba1fc.83240e",\r
6193         "wires": [\r
6194             [\r
6195                 "6ddd64cd.a4b574"\r
6196             ]\r
6197         ]\r
6198     },\r
6199     {\r
6200         "id": "8b26daec.dead98",\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": 4694.262466430664,\r
6206         "y": 5465.276657104492,\r
6207         "z": "1b4ba1fc.83240e",\r
6208         "wires": []\r
6209     },\r
6210     {\r
6211         "id": "6ddd64cd.a4b574",\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": 4695.199966430664,\r
6217         "y": 5510.416915893555,\r
6218         "z": "1b4ba1fc.83240e",\r
6219         "wires": []\r
6220     },\r
6221     {\r
6222         "id": "5ac227ed.4c0b7",\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": 4692.199966430664,\r
6229         "y": 5560.416976928711,\r
6230         "z": "1b4ba1fc.83240e",\r
6231         "wires": [\r
6232             [\r
6233                 "176f7b0f.04a15d",\r
6234                 "eb8b95c0.79475"\r
6235             ]\r
6236         ]\r
6237     },\r
6238     {\r
6239         "id": "76f7324c.5ab6f4",\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": 4523.199966430664,\r
6246         "y": 5560.416976928711,\r
6247         "z": "1b4ba1fc.83240e",\r
6248         "wires": [\r
6249             [\r
6250                 "5ac227ed.4c0b7"\r
6251             ]\r
6252         ]\r
6253     },\r
6254     {\r
6255         "id": "176f7b0f.04a15d",\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": 4885.200942993164,\r
6261         "y": 5485.416976928711,\r
6262         "z": "1b4ba1fc.83240e",\r
6263         "wires": []\r
6264     },\r
6265     {\r
6266         "id": "2932b285.c1e58e",\r
6267         "type": "comment",\r
6268         "name": "Update connectivity status to modified",\r
6269         "info": "",\r
6270         "comments": "",\r
6271         "x": 5313.900161743164,\r
6272         "y": 5423.183578491211,\r
6273         "z": "1b4ba1fc.83240e",\r
6274         "wires": []\r
6275     },\r
6276     {\r
6277         "id": "9d183ed0.0c624",\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": 5339.683364868164,\r
6284         "y": 5465.383773803711,\r
6285         "z": "1b4ba1fc.83240e",\r
6286         "wires": [\r
6287             []\r
6288         ]\r
6289     },\r
6290     {\r
6291         "id": "98c37402.345048",\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": 593.5669708251953,\r
6298         "y": 5382.566635131836,\r
6299         "z": "1b4ba1fc.83240e",\r
6300         "wires": [\r
6301             [\r
6302                 "e53158e8.a8e898"\r
6303             ]\r
6304         ]\r
6305     },\r
6306     {\r
6307         "id": "44b19987.103118",\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": 576.5669097900391,\r
6314         "y": 5304.566635131836,\r
6315         "z": "1b4ba1fc.83240e",\r
6316         "wires": [\r
6317             [\r
6318                 "d82acda1.7d932"\r
6319             ]\r
6320         ]\r
6321     },\r
6322     {\r
6323         "id": "add9e89e.85dcc8",\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": 705.5667572021484,\r
6331         "y": 4391.566360473633,\r
6332         "z": "1b4ba1fc.83240e",\r
6333         "wires": [\r
6334             [\r
6335                 "1b682749.fdf219",\r
6336                 "555aecf4.9d0abc",\r
6337                 "fa8f69fe.c57418",\r
6338                 "924743a9.bdd1d",\r
6339                 "eeb2edff.f77838",\r
6340                 "b3758874.8f232",\r
6341                 "9c7760f0.090d48"\r
6342             ]\r
6343         ]\r
6344     },\r
6345     {\r
6346         "id": "1b682749.fdf219",\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": 957.2501068115234,\r
6352         "y": 4369.616165161133,\r
6353         "z": "1b4ba1fc.83240e",\r
6354         "wires": []\r
6355     },\r
6356     {\r
6357         "id": "20195ed4.4f043a",\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": 1058.8172454833984,\r
6363         "y": 4317.699661254883,\r
6364         "z": "1b4ba1fc.83240e",\r
6365         "wires": []\r
6366     },\r
6367     {\r
6368         "id": "9fa4061c.f2e2c8",\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": 1166.6670989990234,\r
6374         "y": 4398.899856567383,\r
6375         "z": "1b4ba1fc.83240e",\r
6376         "wires": []\r
6377     },\r
6378     {\r
6379         "id": "555aecf4.9d0abc",\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": 937.6670989990234,\r
6386         "y": 4487.899856567383,\r
6387         "z": "1b4ba1fc.83240e",\r
6388         "wires": [\r
6389             [\r
6390                 "9fa4061c.f2e2c8",\r
6391                 "a9e7fb46.8bda4"\r
6392             ]\r
6393         ]\r
6394     },\r
6395     {\r
6396         "id": "a9e7fb46.8bda4",\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": 1173.6670989990234,\r
6403         "y": 4480.899856567383,\r
6404         "z": "1b4ba1fc.83240e",\r
6405         "wires": [\r
6406             [\r
6407                 "caf23ffe.0efab",\r
6408                 "c3c6018c.a6e8b8",\r
6409                 "a18cc13f.db156"\r
6410             ]\r
6411         ]\r
6412     },\r
6413     {\r
6414         "id": "caf23ffe.0efab",\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": 1369.167221069336,\r
6421         "y": 4432.899856567383,\r
6422         "z": "1b4ba1fc.83240e",\r
6423         "wires": [\r
6424             [\r
6425                 "f910fabf.7d6ff8"\r
6426             ]\r
6427         ]\r
6428     },\r
6429     {\r
6430         "id": "c3c6018c.a6e8b8",\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": 1361.167221069336,\r
6437         "y": 4487.899856567383,\r
6438         "z": "1b4ba1fc.83240e",\r
6439         "wires": [\r
6440             [\r
6441                 "7989bd98.acfa84"\r
6442             ]\r
6443         ]\r
6444     },\r
6445     {\r
6446         "id": "f910fabf.7d6ff8",\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": 1513.549545288086,\r
6454         "y": 4432.555526733398,\r
6455         "z": "1b4ba1fc.83240e",\r
6456         "wires": [\r
6457             [\r
6458                 "ffb71773.7c6d48"\r
6459             ]\r
6460         ]\r
6461     },\r
6462     {\r
6463         "id": "ffb71773.7c6d48",\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": 1697.6670989990234,\r
6470         "y": 4430.899856567383,\r
6471         "z": "1b4ba1fc.83240e",\r
6472         "wires": [\r
6473             [\r
6474                 "a91274f1.8c8af"\r
6475             ]\r
6476         ]\r
6477     },\r
6478     {\r
6479         "id": "a91274f1.8c8af",\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": 1892.6670989990234,\r
6486         "y": 4430.899856567383,\r
6487         "z": "1b4ba1fc.83240e",\r
6488         "wires": [\r
6489             [\r
6490                 "4cf12171.7f9938"\r
6491             ]\r
6492         ]\r
6493     },\r
6494     {\r
6495         "id": "a18cc13f.db156",\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": 1366.167221069336,\r
6502         "y": 4544.899856567383,\r
6503         "z": "1b4ba1fc.83240e",\r
6504         "wires": [\r
6505             [\r
6506                 "3d61f539.cfb7aa"\r
6507             ]\r
6508         ]\r
6509     },\r
6510     {\r
6511         "id": "3d61f539.cfb7aa",\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": 1518.167221069336,\r
6517         "y": 4545.899856567383,\r
6518         "z": "1b4ba1fc.83240e",\r
6519         "wires": []\r
6520     },\r
6521     {\r
6522         "id": "7989bd98.acfa84",\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": 1529.167221069336,\r
6528         "y": 4488.899856567383,\r
6529         "z": "1b4ba1fc.83240e",\r
6530         "wires": []\r
6531     },\r
6532     {\r
6533         "id": "a5cb8297.ace3c",\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": 2274.6670989990234,\r
6540         "y": 4434.899856567383,\r
6541         "z": "1b4ba1fc.83240e",\r
6542         "wires": [\r
6543             [\r
6544                 "2680c237.68eca6",\r
6545                 "fc040fd7.89c84",\r
6546                 "2a46caf5.5b4116"\r
6547             ]\r
6548         ]\r
6549     },\r
6550     {\r
6551         "id": "4cf12171.7f9938",\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": 2095.6670989990234,\r
6558         "y": 4434.899856567383,\r
6559         "z": "1b4ba1fc.83240e",\r
6560         "wires": [\r
6561             [\r
6562                 "a5cb8297.ace3c"\r
6563             ]\r
6564         ]\r
6565     },\r
6566     {\r
6567         "id": "fa8f69fe.c57418",\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": 1079.1673431396484,\r
6574         "y": 4592.499465942383,\r
6575         "z": "1b4ba1fc.83240e",\r
6576         "wires": [\r
6577             [\r
6578                 "f60ef44c.acdc6",\r
6579                 "f2d3c91e.712808"\r
6580             ]\r
6581         ]\r
6582     },\r
6583     {\r
6584         "id": "f2d3c91e.712808",\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": 1443.6670989990234,\r
6591         "y": 4640.499465942383,\r
6592         "z": "1b4ba1fc.83240e",\r
6593         "wires": [\r
6594             [\r
6595                 "95261a80.102e28"\r
6596             ]\r
6597         ]\r
6598     },\r
6599     {\r
6600         "id": "f60ef44c.acdc6",\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": 1439.6670989990234,\r
6607         "y": 4600.499465942383,\r
6608         "z": "1b4ba1fc.83240e",\r
6609         "wires": [\r
6610             [\r
6611                 "93ef3053.4d666"\r
6612             ]\r
6613         ]\r
6614     },\r
6615     {\r
6616         "id": "93ef3053.4d666",\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": 1597.6670989990234,\r
6622         "y": 4600.499465942383,\r
6623         "z": "1b4ba1fc.83240e",\r
6624         "wires": []\r
6625     },\r
6626     {\r
6627         "id": "95261a80.102e28",\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": 1601.1670989990234,\r
6635         "y": 4640.499465942383,\r
6636         "z": "1b4ba1fc.83240e",\r
6637         "wires": [\r
6638             []\r
6639         ]\r
6640     },\r
6641     {\r
6642         "id": "fc040fd7.89c84",\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": 2480.6670989990234,\r
6649         "y": 4447.899856567383,\r
6650         "z": "1b4ba1fc.83240e",\r
6651         "wires": [\r
6652             [\r
6653                 "3d8ec7b4.a91e7",\r
6654                 "f9528a5a.50e1f8",\r
6655                 "f194c3a5.898d88"\r
6656             ]\r
6657         ]\r
6658     },\r
6659     {\r
6660         "id": "2680c237.68eca6",\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": 2510.6670989990234,\r
6666         "y": 4395.899856567383,\r
6667         "z": "1b4ba1fc.83240e",\r
6668         "wires": []\r
6669     },\r
6670     {\r
6671         "id": "3d8ec7b4.a91e7",\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": 2690.6670989990234,\r
6678         "y": 4438.899856567383,\r
6679         "z": "1b4ba1fc.83240e",\r
6680         "wires": [\r
6681             [\r
6682                 "e578c39c.344a5"\r
6683             ]\r
6684         ]\r
6685     },\r
6686     {\r
6687         "id": "f9528a5a.50e1f8",\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": 2682.6670989990234,\r
6694         "y": 4493.899856567383,\r
6695         "z": "1b4ba1fc.83240e",\r
6696         "wires": [\r
6697             [\r
6698                 "b1a83287.5e83a"\r
6699             ]\r
6700         ]\r
6701     },\r
6702     {\r
6703         "id": "f194c3a5.898d88",\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": 2687.6670989990234,\r
6710         "y": 4550.899856567383,\r
6711         "z": "1b4ba1fc.83240e",\r
6712         "wires": [\r
6713             [\r
6714                 "d1a6ffed.890f4"\r
6715             ]\r
6716         ]\r
6717     },\r
6718     {\r
6719         "id": "d1a6ffed.890f4",\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": 2839.6670989990234,\r
6725         "y": 4551.899856567383,\r
6726         "z": "1b4ba1fc.83240e",\r
6727         "wires": []\r
6728     },\r
6729     {\r
6730         "id": "b1a83287.5e83a",\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": 2850.6670989990234,\r
6736         "y": 4496.899856567383,\r
6737         "z": "1b4ba1fc.83240e",\r
6738         "wires": []\r
6739     },\r
6740     {\r
6741         "id": "e578c39c.344a5",\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": 2835.0494232177734,\r
6749         "y": 4436.555526733398,\r
6750         "z": "1b4ba1fc.83240e",\r
6751         "wires": [\r
6752             [\r
6753                 "dfc70a8a.f85818"\r
6754             ]\r
6755         ]\r
6756     },\r
6757     {\r
6758         "id": "dfc70a8a.f85818",\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": 3049.6670989990234,\r
6764         "y": 4432.899856567383,\r
6765         "z": "1b4ba1fc.83240e",\r
6766         "wires": []\r
6767     },\r
6768     {\r
6769         "id": "2a46caf5.5b4116",\r
6770         "type": "break",\r
6771         "name": "break",\r
6772         "xml": "<break>\n",\r
6773         "comments": "",\r
6774         "x": 2430.6670989990234,\r
6775         "y": 4511.899856567383,\r
6776         "z": "1b4ba1fc.83240e",\r
6777         "wires": []\r
6778     },\r
6779     {\r
6780         "id": "924743a9.bdd1d",\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": 1108.2501068115234,\r
6787         "y": 4812.616165161133,\r
6788         "z": "1b4ba1fc.83240e",\r
6789         "wires": [\r
6790             []\r
6791         ]\r
6792     },\r
6793     {\r
6794         "id": "eeb2edff.f77838",\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": 923.2501068115234,\r
6801         "y": 4879.616165161133,\r
6802         "z": "1b4ba1fc.83240e",\r
6803         "wires": [\r
6804             [\r
6805                 "33b186f1.cd717a",\r
6806                 "46c96756.fc5c58"\r
6807             ]\r
6808         ]\r
6809     },\r
6810     {\r
6811         "id": "33b186f1.cd717a",\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": 1188.2501068115234,\r
6818         "y": 4864.616165161133,\r
6819         "z": "1b4ba1fc.83240e",\r
6820         "wires": [\r
6821             [\r
6822                 "cdcc95c0.40a4e8"\r
6823             ]\r
6824         ]\r
6825     },\r
6826     {\r
6827         "id": "46c96756.fc5c58",\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": 1184.2501068115234,\r
6834         "y": 4912.616165161133,\r
6835         "z": "1b4ba1fc.83240e",\r
6836         "wires": [\r
6837             [\r
6838                 "5f6a4b73.d387f4"\r
6839             ]\r
6840         ]\r
6841     },\r
6842     {\r
6843         "id": "cdcc95c0.40a4e8",\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": 1344.2501068115234,\r
6851         "y": 4860.616165161133,\r
6852         "z": "1b4ba1fc.83240e",\r
6853         "wires": [\r
6854             [\r
6855                 "5134ba22.f81734"\r
6856             ]\r
6857         ]\r
6858     },\r
6859     {\r
6860         "id": "5f6a4b73.d387f4",\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": 1332.2501068115234,\r
6866         "y": 4907.616165161133,\r
6867         "z": "1b4ba1fc.83240e",\r
6868         "wires": []\r
6869     },\r
6870     {\r
6871         "id": "73beafc9.2c20a8",\r
6872         "type": "comment",\r
6873         "name": "Update connectivity status to modified",\r
6874         "info": "",\r
6875         "comments": "",\r
6876         "x": 1613.1497650146484,\r
6877         "y": 4811.316360473633,\r
6878         "z": "1b4ba1fc.83240e",\r
6879         "wires": []\r
6880     },\r
6881     {\r
6882         "id": "5134ba22.f81734",\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": 1638.9329681396484,\r
6889         "y": 4853.516555786133,\r
6890         "z": "1b4ba1fc.83240e",\r
6891         "wires": [\r
6892             []\r
6893         ]\r
6894     },\r
6895     {\r
6896         "id": "39215cce.b57e94",\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": 1052.5667572021484,\r
6903         "y": 4126.883255004883,\r
6904         "z": "1b4ba1fc.83240e",\r
6905         "wires": [\r
6906             []\r
6907         ]\r
6908     },\r
6909     {\r
6910         "id": "d82acda1.7d932",\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": 658.5667877197266,\r
6918         "y": 4131.566390991211,\r
6919         "z": "1b4ba1fc.83240e",\r
6920         "wires": [\r
6921             [\r
6922                 "39215cce.b57e94",\r
6923                 "add9e89e.85dcc8"\r
6924             ]\r
6925         ]\r
6926     },\r
6927     {\r
6928         "id": "e53158e8.a8e898",\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": 742.0167388916016,\r
6936         "y": 5384.083236694336,\r
6937         "z": "1b4ba1fc.83240e",\r
6938         "wires": [\r
6939             [\r
6940                 "5f6a4675.ad6e08",\r
6941                 "454309b7.55d6d8",\r
6942                 "1e655667.3c83ca",\r
6943                 "36ecf6b9.5afb0a"\r
6944             ]\r
6945         ]\r
6946     },\r
6947     {\r
6948         "id": "5f6a4675.ad6e08",\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": 1103.4000396728516,\r
6955         "y": 5147.083267211914,\r
6956         "z": "1b4ba1fc.83240e",\r
6957         "wires": [\r
6958             []\r
6959         ]\r
6960     },\r
6961     {\r
6962         "id": "454309b7.55d6d8",\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": 1014.4000396728516,\r
6969         "y": 5216.083267211914,\r
6970         "z": "1b4ba1fc.83240e",\r
6971         "wires": [\r
6972             []\r
6973         ]\r
6974     },\r
6975     {\r
6976         "id": "1e655667.3c83ca",\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": 905.5666656494141,\r
6983         "y": 5451.083267211914,\r
6984         "z": "1b4ba1fc.83240e",\r
6985         "wires": [\r
6986             [\r
6987                 "96f2f082.9a3518",\r
6988                 "4b895364.485e14",\r
6989                 "2fffa63d.405042"\r
6990             ]\r
6991         ]\r
6992     },\r
6993     {\r
6994         "id": "bd546556.218588",\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": 2614.565933227539,\r
7001         "y": 5376.083267211914,\r
7002         "z": "1b4ba1fc.83240e",\r
7003         "wires": [\r
7004             [\r
7005                 "d9b04f13.72ba2",\r
7006                 "6f67d0fd.f943c",\r
7007                 "d85e2a4.827e658"\r
7008             ]\r
7009         ]\r
7010     },\r
7011     {\r
7012         "id": "eb3b9787.8ee65",\r
7013         "type": "break",\r
7014         "name": "break",\r
7015         "xml": "<break>\n",\r
7016         "comments": "",\r
7017         "x": 2564.565933227539,\r
7018         "y": 5440.083267211914,\r
7019         "z": "1b4ba1fc.83240e",\r
7020         "wires": []\r
7021     },\r
7022     {\r
7023         "id": "89310244.45d948",\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": 2644.565933227539,\r
7029         "y": 5324.083267211914,\r
7030         "z": "1b4ba1fc.83240e",\r
7031         "wires": []\r
7032     },\r
7033     {\r
7034         "id": "d9b04f13.72ba2",\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": 2932.5660552978516,\r
7041         "y": 5307.083267211914,\r
7042         "z": "1b4ba1fc.83240e",\r
7043         "wires": [\r
7044             [\r
7045                 "ca13eb43.a9266"\r
7046             ]\r
7047         ]\r
7048     },\r
7049     {\r
7050         "id": "6f67d0fd.f943c",\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": 2924.5660552978516,\r
7057         "y": 5362.083267211914,\r
7058         "z": "1b4ba1fc.83240e",\r
7059         "wires": [\r
7060             [\r
7061                 "7e30219a.74a1a8"\r
7062             ]\r
7063         ]\r
7064     },\r
7065     {\r
7066         "id": "d85e2a4.827e658",\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": 2929.5660552978516,\r
7073         "y": 5419.083267211914,\r
7074         "z": "1b4ba1fc.83240e",\r
7075         "wires": [\r
7076             [\r
7077                 "1fa2a159.15189f"\r
7078             ]\r
7079         ]\r
7080     },\r
7081     {\r
7082         "id": "1fa2a159.15189f",\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": 3081.5660552978516,\r
7088         "y": 5420.083267211914,\r
7089         "z": "1b4ba1fc.83240e",\r
7090         "wires": []\r
7091     },\r
7092     {\r
7093         "id": "7e30219a.74a1a8",\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": 3092.5660552978516,\r
7099         "y": 5365.083267211914,\r
7100         "z": "1b4ba1fc.83240e",\r
7101         "wires": []\r
7102     },\r
7103     {\r
7104         "id": "ca13eb43.a9266",\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": 3076.9483795166016,\r
7112         "y": 5304.73893737793,\r
7113         "z": "1b4ba1fc.83240e",\r
7114         "wires": [\r
7115             [\r
7116                 "3ed958.dd670ea8"\r
7117             ]\r
7118         ]\r
7119     },\r
7120     {\r
7121         "id": "3ed958.dd670ea8",\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": 3291.5660552978516,\r
7127         "y": 5301.083267211914,\r
7128         "z": "1b4ba1fc.83240e",\r
7129         "wires": []\r
7130     },\r
7131     {\r
7132         "id": "96f2f082.9a3518",\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": 1187.566665649414,\r
7138         "y": 5320.083267211914,\r
7139         "z": "1b4ba1fc.83240e",\r
7140         "wires": []\r
7141     },\r
7142     {\r
7143         "id": "bd5e9405.7c27a8",\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": 1398.0667877197266,\r
7150         "y": 5459.083267211914,\r
7151         "z": "1b4ba1fc.83240e",\r
7152         "wires": [\r
7153             [\r
7154                 "de47c705.79a8b8"\r
7155             ]\r
7156         ]\r
7157     },\r
7158     {\r
7159         "id": "6b3e7adb.d2bb84",\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": 1401.0667877197266,\r
7166         "y": 5347.083267211914,\r
7167         "z": "1b4ba1fc.83240e",\r
7168         "wires": [\r
7169             [\r
7170                 "a396ce34.a18e2"\r
7171             ]\r
7172         ]\r
7173     },\r
7174     {\r
7175         "id": "a85067c1.2cd6d",\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": 1393.0667877197266,\r
7182         "y": 5402.083267211914,\r
7183         "z": "1b4ba1fc.83240e",\r
7184         "wires": [\r
7185             [\r
7186                 "d6007294.f11f4"\r
7187             ]\r
7188         ]\r
7189     },\r
7190     {\r
7191         "id": "a396ce34.a18e2",\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": 1535.448989868164,\r
7199         "y": 5341.739028930664,\r
7200         "z": "1b4ba1fc.83240e",\r
7201         "wires": [\r
7202             [\r
7203                 "7dd1d4e7.a0f1bc"\r
7204             ]\r
7205         ]\r
7206     },\r
7207     {\r
7208         "id": "de47c705.79a8b8",\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": 1550.0667877197266,\r
7214         "y": 5460.083267211914,\r
7215         "z": "1b4ba1fc.83240e",\r
7216         "wires": []\r
7217     },\r
7218     {\r
7219         "id": "d6007294.f11f4",\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": 1561.0667877197266,\r
7225         "y": 5403.083267211914,\r
7226         "z": "1b4ba1fc.83240e",\r
7227         "wires": []\r
7228     },\r
7229     {\r
7230         "id": "7dd1d4e7.a0f1bc",\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": 1722.566177368164,\r
7237         "y": 5343.083267211914,\r
7238         "z": "1b4ba1fc.83240e",\r
7239         "wires": [\r
7240             [\r
7241                 "559db4ec.64792c"\r
7242             ]\r
7243         ]\r
7244     },\r
7245     {\r
7246         "id": "559db4ec.64792c",\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": 1950.566177368164,\r
7253         "y": 5336.083267211914,\r
7254         "z": "1b4ba1fc.83240e",\r
7255         "wires": [\r
7256             [\r
7257                 "799fadac.e2e6ec"\r
7258             ]\r
7259         ]\r
7260     },\r
7261     {\r
7262         "id": "4b895364.485e14",\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": 1205.566665649414,\r
7269         "y": 5395.083267211914,\r
7270         "z": "1b4ba1fc.83240e",\r
7271         "wires": [\r
7272             [\r
7273                 "bd5e9405.7c27a8",\r
7274                 "6b3e7adb.d2bb84",\r
7275                 "a85067c1.2cd6d"\r
7276             ]\r
7277         ]\r
7278     },\r
7279     {\r
7280         "id": "799fadac.e2e6ec",\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": 2156.566177368164,\r
7287         "y": 5333.083267211914,\r
7288         "z": "1b4ba1fc.83240e",\r
7289         "wires": [\r
7290             [\r
7291                 "7cbbce76.57d9f"\r
7292             ]\r
7293         ]\r
7294     },\r
7295     {\r
7296         "id": "7cbbce76.57d9f",\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": 2371.5655670166016,\r
7303         "y": 5336.083267211914,\r
7304         "z": "1b4ba1fc.83240e",\r
7305         "wires": [\r
7306             [\r
7307                 "89310244.45d948",\r
7308                 "bd546556.218588",\r
7309                 "eb3b9787.8ee65"\r
7310             ]\r
7311         ]\r
7312     },\r
7313     {\r
7314         "id": "2fffa63d.405042",\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": 1329.3333892822266,\r
7321         "y": 5544.483169555664,\r
7322         "z": "1b4ba1fc.83240e",\r
7323         "wires": [\r
7324             [\r
7325                 "fb4bb7df.e56c5",\r
7326                 "af1e6659.9dd9c8"\r
7327             ]\r
7328         ]\r
7329     },\r
7330     {\r
7331         "id": "fb4bb7df.e56c5",\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": 1675.8333892822266,\r
7338         "y": 5537.483169555664,\r
7339         "z": "1b4ba1fc.83240e",\r
7340         "wires": [\r
7341             [\r
7342                 "84518bf4.248028"\r
7343             ]\r
7344         ]\r
7345     },\r
7346     {\r
7347         "id": "af1e6659.9dd9c8",\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": 1679.8333892822266,\r
7354         "y": 5577.483169555664,\r
7355         "z": "1b4ba1fc.83240e",\r
7356         "wires": [\r
7357             [\r
7358                 "b347040e.1f286"\r
7359             ]\r
7360         ]\r
7361     },\r
7362     {\r
7363         "id": "84518bf4.248028",\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": 1833.8333892822266,\r
7369         "y": 5537.483169555664,\r
7370         "z": "1b4ba1fc.83240e",\r
7371         "wires": []\r
7372     },\r
7373     {\r
7374         "id": "b347040e.1f286",\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": 1837.3333892822266,\r
7382         "y": 5577.483169555664,\r
7383         "z": "1b4ba1fc.83240e",\r
7384         "wires": [\r
7385             [\r
7386                 "3d1d7271.d95cbe"\r
7387             ]\r
7388         ]\r
7389     },\r
7390     {\r
7391         "id": "36ecf6b9.5afb0a",\r
7392         "type": "switchNode",\r
7393         "name": "switch tmp.MMstillHasUni?",\r
7394         "xml": "\n<switch test=\"`$tmp.MMstillHasUni`\">\n\n",\r
7395         "comments": "",\r
7396         "outputs": 1,\r
7397         "x": 938.8667144775391,\r
7398         "y": 5874.283432006836,\r
7399         "z": "1b4ba1fc.83240e",\r
7400         "wires": [\r
7401             [\r
7402                 "4a5bd207.ca776c",\r
7403                 "b171c0.d456c64"\r
7404             ]\r
7405         ]\r
7406     },\r
7407     {\r
7408         "id": "4a5bd207.ca776c",\r
7409         "type": "outcomeTrue",\r
7410         "name": "true",\r
7411         "xml": "<outcome value='true'>\n",\r
7412         "comments": "",\r
7413         "outputs": 1,\r
7414         "x": 1132.866714477539,\r
7415         "y": 5701.283462524414,\r
7416         "z": "1b4ba1fc.83240e",\r
7417         "wires": [\r
7418             [\r
7419                 "b00c5aa2.01bbe8"\r
7420             ]\r
7421         ]\r
7422     },\r
7423     {\r
7424         "id": "b171c0.d456c64",\r
7425         "type": "outcomeFalse",\r
7426         "name": "false",\r
7427         "xml": "<outcome value='false'>\n",\r
7428         "comments": "",\r
7429         "outputs": 1,\r
7430         "x": 1119.0334014892578,\r
7431         "y": 6023.883529663086,\r
7432         "z": "1b4ba1fc.83240e",\r
7433         "wires": [\r
7434             [\r
7435                 "782b8611.563688"\r
7436             ]\r
7437         ]\r
7438     },\r
7439     {\r
7440         "id": "b00c5aa2.01bbe8",\r
7441         "type": "block",\r
7442         "name": "block",\r
7443         "xml": "<block>\n",\r
7444         "atomic": "false",\r
7445         "comments": "",\r
7446         "outputs": 1,\r
7447         "x": 1281.033462524414,\r
7448         "y": 5700.883560180664,\r
7449         "z": "1b4ba1fc.83240e",\r
7450         "wires": [\r
7451             [\r
7452                 "8daf379c.cd379",\r
7453                 "ae051555.1a065",\r
7454                 "5d9c1c4d.83462c"\r
7455             ]\r
7456         ]\r
7457     },\r
7458     {\r
7459         "id": "8daf379c.cd379",\r
7460         "type": "call",\r
7461         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7462         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7463         "comments": "",\r
7464         "outputs": 1,\r
7465         "x": 1702.883316040039,\r
7466         "y": 5672.283462524414,\r
7467         "z": "1b4ba1fc.83240e",\r
7468         "wires": [\r
7469             []\r
7470         ]\r
7471     },\r
7472     {\r
7473         "id": "ae051555.1a065",\r
7474         "type": "switchNode",\r
7475         "name": "switch found-root-connectivity",\r
7476         "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7477         "comments": "",\r
7478         "outputs": 1,\r
7479         "x": 1517.883316040039,\r
7480         "y": 5739.283462524414,\r
7481         "z": "1b4ba1fc.83240e",\r
7482         "wires": [\r
7483             [\r
7484                 "f1328e61.aaecf8",\r
7485                 "75cc2f9e.02c51"\r
7486             ]\r
7487         ]\r
7488     },\r
7489     {\r
7490         "id": "f1328e61.aaecf8",\r
7491         "type": "outcomeTrue",\r
7492         "name": "true",\r
7493         "xml": "<outcome value='true'>\n",\r
7494         "comments": "",\r
7495         "outputs": 1,\r
7496         "x": 1782.883316040039,\r
7497         "y": 5724.283462524414,\r
7498         "z": "1b4ba1fc.83240e",\r
7499         "wires": [\r
7500             [\r
7501                 "320d795a.de0396"\r
7502             ]\r
7503         ]\r
7504     },\r
7505     {\r
7506         "id": "75cc2f9e.02c51",\r
7507         "type": "outcomeFalse",\r
7508         "name": "false",\r
7509         "xml": "<outcome value='false'>\n",\r
7510         "comments": "",\r
7511         "outputs": 1,\r
7512         "x": 1781.883316040039,\r
7513         "y": 5772.283462524414,\r
7514         "z": "1b4ba1fc.83240e",\r
7515         "wires": [\r
7516             [\r
7517                 "9b6d9f14.bbdc1"\r
7518             ]\r
7519         ]\r
7520     },\r
7521     {\r
7522         "id": "320d795a.de0396",\r
7523         "type": "block",\r
7524         "name": "block : atomic",\r
7525         "xml": "<block atomic='true'>",\r
7526         "atomic": "true",\r
7527         "comments": "",\r
7528         "outputs": 1,\r
7529         "x": 1938.883316040039,\r
7530         "y": 5720.283462524414,\r
7531         "z": "1b4ba1fc.83240e",\r
7532         "wires": [\r
7533             [\r
7534                 "d445fc4a.df5c"\r
7535             ]\r
7536         ]\r
7537     },\r
7538     {\r
7539         "id": "9b6d9f14.bbdc1",\r
7540         "type": "returnFailure",\r
7541         "name": "return failure",\r
7542         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7543         "comments": "",\r
7544         "x": 1929.883316040039,\r
7545         "y": 5767.283462524414,\r
7546         "z": "1b4ba1fc.83240e",\r
7547         "wires": []\r
7548     },\r
7549     {\r
7550         "id": "d445fc4a.df5c",\r
7551         "type": "save",\r
7552         "name": "update ROOT connectivity resource in AAI",\r
7553         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7554         "comments": "",\r
7555         "outputs": 1,\r
7556         "x": 2247.5660552978516,\r
7557         "y": 5714.183853149414,\r
7558         "z": "1b4ba1fc.83240e",\r
7559         "wires": [\r
7560             []\r
7561         ]\r
7562     },\r
7563     {\r
7564         "id": "d355d862.978bc",\r
7565         "type": "comment",\r
7566         "name": "Update connectivity status to modified",\r
7567         "info": "",\r
7568         "comments": "",\r
7569         "x": 2221.7828521728516,\r
7570         "y": 5671.983657836914,\r
7571         "z": "1b4ba1fc.83240e",\r
7572         "wires": []\r
7573     },\r
7574     {\r
7575         "id": "782b8611.563688",\r
7576         "type": "block",\r
7577         "name": "block",\r
7578         "xml": "<block>\n",\r
7579         "atomic": "false",\r
7580         "comments": "",\r
7581         "outputs": 1,\r
7582         "x": 1256.600112915039,\r
7583         "y": 6023.183334350586,\r
7584         "z": "1b4ba1fc.83240e",\r
7585         "wires": [\r
7586             [\r
7587                 "dfb91948.e397a8",\r
7588                 "a8afb078.60b068",\r
7589                 "9067b91d.deea4"\r
7590             ]\r
7591         ]\r
7592     },\r
7593     {\r
7594         "id": "dfb91948.e397a8",\r
7595         "type": "for",\r
7596         "name": "for each relationship of middle-man-conn",\r
7597         "xml": "<for index='rel-index' start='0' end='`$middle-man-conn.relationship-list.relationship_length`' >\n",\r
7598         "comments": "",\r
7599         "outputs": 1,\r
7600         "x": 1561.9162139892578,\r
7601         "y": 5956.383438110352,\r
7602         "z": "1b4ba1fc.83240e",\r
7603         "wires": [\r
7604             [\r
7605                 "9cf25842.080a8"\r
7606             ]\r
7607         ]\r
7608     },\r
7609     {\r
7610         "id": "9cf25842.080a8",\r
7611         "type": "switchNode",\r
7612         "name": "switch related-to",\r
7613         "xml": "<switch test='`$middle-man-conn.relationship-list.relationship[$rel-index].related-to`'>\n",\r
7614         "comments": "",\r
7615         "outputs": 1,\r
7616         "x": 1870.250015258789,\r
7617         "y": 6012.38346862793,\r
7618         "z": "1b4ba1fc.83240e",\r
7619         "wires": [\r
7620             [\r
7621                 "6539b459.18686c"\r
7622             ]\r
7623         ]\r
7624     },\r
7625     {\r
7626         "id": "6539b459.18686c",\r
7627         "type": "outcome",\r
7628         "name": "connectivity",\r
7629         "xml": "<outcome value='connectivity'>\n",\r
7630         "comments": "",\r
7631         "outputs": 1,\r
7632         "x": 2049.9166412353516,\r
7633         "y": 6012.383560180664,\r
7634         "z": "1b4ba1fc.83240e",\r
7635         "wires": [\r
7636             [\r
7637                 "eb5ca2dd.0acd08"\r
7638             ]\r
7639         ]\r
7640     },\r
7641     {\r
7642         "id": "eb5ca2dd.0acd08",\r
7643         "type": "save",\r
7644         "name": "get connectivity from aai",\r
7645         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $middle-man-conn.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.connectivity\" >\n",\r
7646         "comments": "",\r
7647         "outputs": 1,\r
7648         "x": 2249.916519165039,\r
7649         "y": 6012.383529663086,\r
7650         "z": "1b4ba1fc.83240e",\r
7651         "wires": [\r
7652             [\r
7653                 "d2d794d6.23b038",\r
7654                 "fd78cb11.7b7858",\r
7655                 "dc3bf10c.53584"\r
7656             ]\r
7657         ]\r
7658     },\r
7659     {\r
7660         "id": "d2d794d6.23b038",\r
7661         "type": "success",\r
7662         "name": "success",\r
7663         "xml": "<outcome value='success'>\n",\r
7664         "comments": "",\r
7665         "outputs": 1,\r
7666         "x": 2456.916275024414,\r
7667         "y": 6062.383529663086,\r
7668         "z": "1b4ba1fc.83240e",\r
7669         "wires": [\r
7670             [\r
7671                 "2ee18ab4.452c46"\r
7672             ]\r
7673         ]\r
7674     },\r
7675     {\r
7676         "id": "6518db29.e12ccc",\r
7677         "type": "save",\r
7678         "name": "get vpn-binding from aai",\r
7679         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
7680         "comments": "",\r
7681         "outputs": 1,\r
7682         "x": 2434.149917602539,\r
7683         "y": 6246.583236694336,\r
7684         "z": "1b4ba1fc.83240e",\r
7685         "wires": [\r
7686             [\r
7687                 "1586acc8.b40733",\r
7688                 "3f4ac64b.7a4a4a",\r
7689                 "c51a0fc1.cf0b78"\r
7690             ]\r
7691         ]\r
7692     },\r
7693     {\r
7694         "id": "2ead9053.75b73",\r
7695         "type": "for",\r
7696         "name": "for each relationship",\r
7697         "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.connectivity.relationship-list.relationship_length`' >\n\n",\r
7698         "comments": "",\r
7699         "outputs": 1,\r
7700         "x": 1603.1498565673828,\r
7701         "y": 6289.583145141602,\r
7702         "z": "1b4ba1fc.83240e",\r
7703         "wires": [\r
7704             [\r
7705                 "606f2389.64cdcc"\r
7706             ]\r
7707         ]\r
7708     },\r
7709     {\r
7710         "id": "606f2389.64cdcc",\r
7711         "type": "switchNode",\r
7712         "name": "switch related-to",\r
7713         "xml": "<switch test='`$tmp.aai.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
7714         "comments": "",\r
7715         "outputs": 1,\r
7716         "x": 1800.1498565673828,\r
7717         "y": 6303.583145141602,\r
7718         "z": "1b4ba1fc.83240e",\r
7719         "wires": [\r
7720             [\r
7721                 "c7f0bc3b.019c9",\r
7722                 "c9900403.e4a84"\r
7723             ]\r
7724         ]\r
7725     },\r
7726     {\r
7727         "id": "c7f0bc3b.019c9",\r
7728         "type": "outcome",\r
7729         "name": "vpn-binding",\r
7730         "xml": "<outcome value='vpn-binding'>\n",\r
7731         "comments": "",\r
7732         "outputs": 1,\r
7733         "x": 2004.149917602539,\r
7734         "y": 6206.583145141602,\r
7735         "z": "1b4ba1fc.83240e",\r
7736         "wires": [\r
7737             [\r
7738                 "b4e58d4e.4eaf1"\r
7739             ]\r
7740         ]\r
7741     },\r
7742     {\r
7743         "id": "b4e58d4e.4eaf1",\r
7744         "type": "block",\r
7745         "name": "block : atomic",\r
7746         "xml": "<block atomic=\"true\">",\r
7747         "atomic": "true",\r
7748         "outputs": 1,\r
7749         "x": 2185.149917602539,\r
7750         "y": 6222.583145141602,\r
7751         "z": "1b4ba1fc.83240e",\r
7752         "wires": [\r
7753             [\r
7754                 "6518db29.e12ccc"\r
7755             ]\r
7756         ]\r
7757     },\r
7758     {\r
7759         "id": "c9900403.e4a84",\r
7760         "type": "outcome",\r
7761         "name": "uni",\r
7762         "xml": "<outcome value='uni'>\n",\r
7763         "comments": "",\r
7764         "outputs": 1,\r
7765         "x": 2014.149917602539,\r
7766         "y": 6464.583236694336,\r
7767         "z": "1b4ba1fc.83240e",\r
7768         "wires": [\r
7769             [\r
7770                 "5c8dbf44.909798"\r
7771             ]\r
7772         ]\r
7773     },\r
7774     {\r
7775         "id": "5c8dbf44.909798",\r
7776         "type": "block",\r
7777         "name": "block : atomic",\r
7778         "xml": "<block atomic=\"true\">",\r
7779         "atomic": "true",\r
7780         "outputs": 1,\r
7781         "x": 2177.149917602539,\r
7782         "y": 6464.583236694336,\r
7783         "z": "1b4ba1fc.83240e",\r
7784         "wires": [\r
7785             [\r
7786                 "972de022.0ff4c8"\r
7787             ]\r
7788         ]\r
7789     },\r
7790     {\r
7791         "id": "972de022.0ff4c8",\r
7792         "type": "save",\r
7793         "name": "delete uni resource in AAI",\r
7794         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.aai.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value'>\n",\r
7795         "comments": "",\r
7796         "outputs": 1,\r
7797         "x": 2420.149917602539,\r
7798         "y": 6464.583236694336,\r
7799         "z": "1b4ba1fc.83240e",\r
7800         "wires": [\r
7801             []\r
7802         ]\r
7803     },\r
7804     {\r
7805         "id": "d7d50183.fdbf5",\r
7806         "type": "save",\r
7807         "name": "delete connectivity resource in AAI",\r
7808         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.connectivity.connectivity-id'>\n",\r
7809         "comments": "",\r
7810         "outputs": 1,\r
7811         "x": 1388.149917602539,\r
7812         "y": 7230.583236694336,\r
7813         "z": "1b4ba1fc.83240e",\r
7814         "wires": [\r
7815             []\r
7816         ]\r
7817     },\r
7818     {\r
7819         "id": "2ee18ab4.452c46",\r
7820         "type": "block",\r
7821         "name": "block",\r
7822         "xml": "<block>\n",\r
7823         "atomic": "false",\r
7824         "comments": "",\r
7825         "outputs": 1,\r
7826         "x": 1429.1498565673828,\r
7827         "y": 6287.583145141602,\r
7828         "z": "1b4ba1fc.83240e",\r
7829         "wires": [\r
7830             [\r
7831                 "2ead9053.75b73",\r
7832                 "d7d50183.fdbf5",\r
7833                 "e2860ec7.2879b"\r
7834             ]\r
7835         ]\r
7836     },\r
7837     {\r
7838         "id": "1586acc8.b40733",\r
7839         "type": "success",\r
7840         "name": "success",\r
7841         "xml": "<outcome value='success'>\n",\r
7842         "comments": "",\r
7843         "outputs": 1,\r
7844         "x": 2645.149917602539,\r
7845         "y": 6248.583236694336,\r
7846         "z": "1b4ba1fc.83240e",\r
7847         "wires": [\r
7848             [\r
7849                 "31acc7de.eb35a"\r
7850             ]\r
7851         ]\r
7852     },\r
7853     {\r
7854         "id": "3f4ac64b.7a4a4a",\r
7855         "type": "not-found",\r
7856         "name": "not-found",\r
7857         "xml": "<outcome value='not-found'>\n",\r
7858         "comments": "",\r
7859         "outputs": 1,\r
7860         "x": 2645.640884399414,\r
7861         "y": 6294.157272338867,\r
7862         "z": "1b4ba1fc.83240e",\r
7863         "wires": [\r
7864             [\r
7865                 "a537397f.244a6"\r
7866             ]\r
7867         ]\r
7868     },\r
7869     {\r
7870         "id": "c51a0fc1.cf0b78",\r
7871         "type": "failure",\r
7872         "name": "failure",\r
7873         "xml": "<outcome value='failure'>\n",\r
7874         "comments": "",\r
7875         "outputs": 1,\r
7876         "x": 2643.149917602539,\r
7877         "y": 6337.583236694336,\r
7878         "z": "1b4ba1fc.83240e",\r
7879         "wires": [\r
7880             [\r
7881                 "c765f98e.c8b24"\r
7882             ]\r
7883         ]\r
7884     },\r
7885     {\r
7886         "id": "dc3bf10c.53584",\r
7887         "type": "not-found",\r
7888         "name": "not-found",\r
7889         "xml": "<outcome value='not-found'>\n",\r
7890         "comments": "",\r
7891         "outputs": 1,\r
7892         "x": 2480.966323852539,\r
7893         "y": 5963.183334350586,\r
7894         "z": "1b4ba1fc.83240e",\r
7895         "wires": [\r
7896             []\r
7897         ]\r
7898     },\r
7899     {\r
7900         "id": "fd78cb11.7b7858",\r
7901         "type": "failure",\r
7902         "name": "failure",\r
7903         "xml": "<outcome value='failure'>\n",\r
7904         "comments": "",\r
7905         "outputs": 1,\r
7906         "x": 2478.475357055664,\r
7907         "y": 6006.609298706055,\r
7908         "z": "1b4ba1fc.83240e",\r
7909         "wires": [\r
7910             []\r
7911         ]\r
7912     },\r
7913     {\r
7914         "id": "a8afb078.60b068",\r
7915         "type": "save",\r
7916         "name": "delete middle-man-conn resource in AAI",\r
7917         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id'>\n",\r
7918         "comments": "",\r
7919         "outputs": 1,\r
7920         "x": 1559.0834503173828,\r
7921         "y": 6017.983047485352,\r
7922         "z": "1b4ba1fc.83240e",\r
7923         "wires": [\r
7924             []\r
7925         ]\r
7926     },\r
7927     {\r
7928         "id": "31acc7de.eb35a",\r
7929         "type": "block",\r
7930         "name": "block : atomic",\r
7931         "xml": "<block atomic=\"true\">",\r
7932         "atomic": "true",\r
7933         "outputs": 1,\r
7934         "x": 2811.149917602539,\r
7935         "y": 6238.583236694336,\r
7936         "z": "1b4ba1fc.83240e",\r
7937         "wires": [\r
7938             [\r
7939                 "d6296a84.0c07b",\r
7940                 "f2b7ba42.95aca8",\r
7941                 "d7abab02.efd25",\r
7942                 "933064b1.3f6b68",\r
7943                 "31b8d600.38568a"\r
7944             ]\r
7945         ]\r
7946     },\r
7947     {\r
7948         "id": "c765f98e.c8b24",\r
7949         "type": "returnFailure",\r
7950         "name": "return failure",\r
7951         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7952         "comments": "",\r
7953         "x": 2810.149917602539,\r
7954         "y": 6336.583236694336,\r
7955         "z": "1b4ba1fc.83240e",\r
7956         "wires": []\r
7957     },\r
7958     {\r
7959         "id": "a537397f.244a6",\r
7960         "type": "returnFailure",\r
7961         "name": "return failure",\r
7962         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
7963         "comments": "",\r
7964         "x": 2808.2122955322266,\r
7965         "y": 6294.443008422852,\r
7966         "z": "1b4ba1fc.83240e",\r
7967         "wires": []\r
7968     },\r
7969     {\r
7970         "id": "d6296a84.0c07b",\r
7971         "type": "set",\r
7972         "name": "set pnf-name",\r
7973         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.vpn-binding.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.vpn-binding.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.vpn-binding.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.vpn-binding.src-access-node-id`\" />\n",\r
7974         "comments": "",\r
7975         "x": 3033.149917602539,\r
7976         "y": 5956.583236694336,\r
7977         "z": "1b4ba1fc.83240e",\r
7978         "wires": []\r
7979     },\r
7980     {\r
7981         "id": "f2b7ba42.95aca8",\r
7982         "type": "get-resource",\r
7983         "name": "get-resource src pnf",\r
7984         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
7985         "comments": "",\r
7986         "outputs": 1,\r
7987         "x": 3059.149917602539,\r
7988         "y": 6073.583236694336,\r
7989         "z": "1b4ba1fc.83240e",\r
7990         "wires": [\r
7991             [\r
7992                 "c16bbe6e.2f18e8",\r
7993                 "8e5054c2.6d8be8",\r
7994                 "8a22e0f4.ac84d"\r
7995             ]\r
7996         ]\r
7997     },\r
7998     {\r
7999         "id": "d7abab02.efd25",\r
8000         "type": "execute",\r
8001         "name": "execute RestApiCallNode Delete OTN tunnel with token",\r
8002         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.ts-otn-src-domain-creation.templatefile`\" />-->\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-te:te/tunnels/tunnel=' + $tmp.aai.vpn-binding.vpn-name`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name=\"responsePrefix\" value=\"otn-oof\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"`'X-ACCESS-TOKEN=' + $prop.sdncRestApi.token_id`\" />",\r
8003         "comments": "",\r
8004         "outputs": 1,\r
8005         "x": 3162.149917602539,\r
8006         "y": 6340.583236694336,\r
8007         "z": "1b4ba1fc.83240e",\r
8008         "wires": [\r
8009             [\r
8010                 "fc236214.f51f38",\r
8011                 "6b8cfbc.a2c4d84"\r
8012             ]\r
8013         ]\r
8014     },\r
8015     {\r
8016         "id": "933064b1.3f6b68",\r
8017         "type": "switchNode",\r
8018         "name": "switch connectivity has ethernet service",\r
8019         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8020         "comments": "",\r
8021         "outputs": 1,\r
8022         "x": 3100.149917602539,\r
8023         "y": 6475.583236694336,\r
8024         "z": "1b4ba1fc.83240e",\r
8025         "wires": [\r
8026             [\r
8027                 "2126f3a4.668d54",\r
8028                 "a948f36a.4c2d08"\r
8029             ]\r
8030         ]\r
8031     },\r
8032     {\r
8033         "id": "31b8d600.38568a",\r
8034         "type": "save",\r
8035         "name": "delete vpn-binding resource in AAI",\r
8036         "xml": "<delete plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n",\r
8037         "comments": "",\r
8038         "outputs": 1,\r
8039         "x": 3081.149917602539,\r
8040         "y": 6591.583236694336,\r
8041         "z": "1b4ba1fc.83240e",\r
8042         "wires": [\r
8043             []\r
8044         ]\r
8045     },\r
8046     {\r
8047         "id": "c16bbe6e.2f18e8",\r
8048         "type": "success",\r
8049         "name": "success",\r
8050         "xml": "<outcome value='success'>\n",\r
8051         "comments": "",\r
8052         "outputs": 1,\r
8053         "x": 3254.6500396728516,\r
8054         "y": 6025.583236694336,\r
8055         "z": "1b4ba1fc.83240e",\r
8056         "wires": [\r
8057             [\r
8058                 "78bd184e.3e97c8"\r
8059             ]\r
8060         ]\r
8061     },\r
8062     {\r
8063         "id": "8e5054c2.6d8be8",\r
8064         "type": "not-found",\r
8065         "name": "not-found",\r
8066         "xml": "<outcome value='not-found'>\n",\r
8067         "comments": "",\r
8068         "outputs": 1,\r
8069         "x": 3246.6500396728516,\r
8070         "y": 6080.583236694336,\r
8071         "z": "1b4ba1fc.83240e",\r
8072         "wires": [\r
8073             [\r
8074                 "12475557.66bd73"\r
8075             ]\r
8076         ]\r
8077     },\r
8078     {\r
8079         "id": "78bd184e.3e97c8",\r
8080         "type": "block",\r
8081         "name": "block",\r
8082         "xml": "<block>\n",\r
8083         "atomic": "false",\r
8084         "comments": "",\r
8085         "outputs": 1,\r
8086         "x": 3389.032241821289,\r
8087         "y": 6020.238998413086,\r
8088         "z": "1b4ba1fc.83240e",\r
8089         "wires": [\r
8090             [\r
8091                 "6ef9af4.3be5bd"\r
8092             ]\r
8093         ]\r
8094     },\r
8095     {\r
8096         "id": "8a22e0f4.ac84d",\r
8097         "type": "other",\r
8098         "name": "other",\r
8099         "xml": "<outcome value='Other'>\n",\r
8100         "comments": "",\r
8101         "outputs": 1,\r
8102         "x": 3251.6500396728516,\r
8103         "y": 6137.583236694336,\r
8104         "z": "1b4ba1fc.83240e",\r
8105         "wires": [\r
8106             [\r
8107                 "28978481.66e84c"\r
8108             ]\r
8109         ]\r
8110     },\r
8111     {\r
8112         "id": "28978481.66e84c",\r
8113         "type": "returnFailure",\r
8114         "name": "return failure",\r
8115         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8116         "comments": "",\r
8117         "x": 3403.6500396728516,\r
8118         "y": 6138.583236694336,\r
8119         "z": "1b4ba1fc.83240e",\r
8120         "wires": []\r
8121     },\r
8122     {\r
8123         "id": "12475557.66bd73",\r
8124         "type": "returnFailure",\r
8125         "name": "return failure",\r
8126         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8127         "comments": "",\r
8128         "x": 3414.6500396728516,\r
8129         "y": 6081.583236694336,\r
8130         "z": "1b4ba1fc.83240e",\r
8131         "wires": []\r
8132     },\r
8133     {\r
8134         "id": "a948f36a.4c2d08",\r
8135         "type": "other",\r
8136         "name": "other",\r
8137         "xml": "<outcome value='Other'>\n",\r
8138         "comments": "",\r
8139         "outputs": 1,\r
8140         "x": 3353.149917602539,\r
8141         "y": 6453.583236694336,\r
8142         "z": "1b4ba1fc.83240e",\r
8143         "wires": [\r
8144             [\r
8145                 "a8dc909e.5f43f8"\r
8146             ]\r
8147         ]\r
8148     },\r
8149     {\r
8150         "id": "2126f3a4.668d54",\r
8151         "type": "outcome",\r
8152         "name": "Null",\r
8153         "xml": "<outcome value=''>\n",\r
8154         "comments": "",\r
8155         "outputs": 1,\r
8156         "x": 3353.149917602539,\r
8157         "y": 6509.583236694336,\r
8158         "z": "1b4ba1fc.83240e",\r
8159         "wires": [\r
8160             []\r
8161         ]\r
8162     },\r
8163     {\r
8164         "id": "6ef9af4.3be5bd",\r
8165         "type": "for",\r
8166         "name": "for each relationship",\r
8167         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8168         "comments": "",\r
8169         "outputs": 1,\r
8170         "x": 3576.149429321289,\r
8171         "y": 6021.583236694336,\r
8172         "z": "1b4ba1fc.83240e",\r
8173         "wires": [\r
8174             [\r
8175                 "3b761727.cf2a9"\r
8176             ]\r
8177         ]\r
8178     },\r
8179     {\r
8180         "id": "3b761727.cf2a9",\r
8181         "type": "switchNode",\r
8182         "name": "switch related-to",\r
8183         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8184         "comments": "",\r
8185         "outputs": 1,\r
8186         "x": 3817.149429321289,\r
8187         "y": 6012.583236694336,\r
8188         "z": "1b4ba1fc.83240e",\r
8189         "wires": [\r
8190             [\r
8191                 "68d5173c.b0347"\r
8192             ]\r
8193         ]\r
8194     },\r
8195     {\r
8196         "id": "a8dc909e.5f43f8",\r
8197         "type": "execute",\r
8198         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8199         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
8200         "comments": "",\r
8201         "outputs": 1,\r
8202         "x": 3703.149429321289,\r
8203         "y": 6443.583236694336,\r
8204         "z": "1b4ba1fc.83240e",\r
8205         "wires": [\r
8206             [\r
8207                 "dcfeac9e.5fc9a8",\r
8208                 "8f5d17cf.8dabd"\r
8209             ]\r
8210         ]\r
8211     },\r
8212     {\r
8213         "id": "fc236214.f51f38",\r
8214         "type": "failure",\r
8215         "name": "failure",\r
8216         "xml": "<outcome value='failure'>\n",\r
8217         "comments": "",\r
8218         "outputs": 1,\r
8219         "x": 3469.649429321289,\r
8220         "y": 6365.583236694336,\r
8221         "z": "1b4ba1fc.83240e",\r
8222         "wires": [\r
8223             [\r
8224                 "f765e05b.501478"\r
8225             ]\r
8226         ]\r
8227     },\r
8228     {\r
8229         "id": "6b8cfbc.a2c4d84",\r
8230         "type": "success",\r
8231         "name": "success",\r
8232         "xml": "<outcome value='success'>\n",\r
8233         "comments": "",\r
8234         "outputs": 1,\r
8235         "x": 3470.649429321289,\r
8236         "y": 6310.583236694336,\r
8237         "z": "1b4ba1fc.83240e",\r
8238         "wires": [\r
8239             [\r
8240                 "4d6a8560.f17a1c"\r
8241             ]\r
8242         ]\r
8243     },\r
8244     {\r
8245         "id": "f765e05b.501478",\r
8246         "type": "returnFailure",\r
8247         "name": "return failure",\r
8248         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete OTN tunnel rest api\" />\n",\r
8249         "comments": "",\r
8250         "x": 3641.649429321289,\r
8251         "y": 6363.583236694336,\r
8252         "z": "1b4ba1fc.83240e",\r
8253         "wires": []\r
8254     },\r
8255     {\r
8256         "id": "4d6a8560.f17a1c",\r
8257         "type": "block",\r
8258         "name": "block : atomic",\r
8259         "xml": "<block atomic=\"true\">",\r
8260         "atomic": "true",\r
8261         "comments": "",\r
8262         "outputs": 1,\r
8263         "x": 3638.149429321289,\r
8264         "y": 6312.583236694336,\r
8265         "z": "1b4ba1fc.83240e",\r
8266         "wires": [\r
8267             []\r
8268         ]\r
8269     },\r
8270     {\r
8271         "id": "432d0671.cb443",\r
8272         "type": "block",\r
8273         "name": "block : atomic",\r
8274         "xml": "<block atomic=\"true\">",\r
8275         "atomic": "true",\r
8276         "outputs": 1,\r
8277         "x": 4174.149185180664,\r
8278         "y": 5961.583236694336,\r
8279         "z": "1b4ba1fc.83240e",\r
8280         "wires": [\r
8281             [\r
8282                 "78d865b4.b939ac",\r
8283                 "5830c911.f22ee",\r
8284                 "aa227269.131cb"\r
8285             ]\r
8286         ]\r
8287     },\r
8288     {\r
8289         "id": "68d5173c.b0347",\r
8290         "type": "outcome",\r
8291         "name": "esr-thirdparty-sdnc",\r
8292         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8293         "comments": "",\r
8294         "outputs": 1,\r
8295         "x": 4023.149429321289,\r
8296         "y": 6009.583236694336,\r
8297         "z": "1b4ba1fc.83240e",\r
8298         "wires": [\r
8299             [\r
8300                 "432d0671.cb443"\r
8301             ]\r
8302         ]\r
8303     },\r
8304     {\r
8305         "id": "dcfeac9e.5fc9a8",\r
8306         "type": "failure",\r
8307         "name": "failure",\r
8308         "xml": "<outcome value='failure'>\n",\r
8309         "comments": "",\r
8310         "outputs": 1,\r
8311         "x": 4035.649429321289,\r
8312         "y": 6417.583236694336,\r
8313         "z": "1b4ba1fc.83240e",\r
8314         "wires": [\r
8315             [\r
8316                 "7c5aa740.2ac998"\r
8317             ]\r
8318         ]\r
8319     },\r
8320     {\r
8321         "id": "8f5d17cf.8dabd",\r
8322         "type": "success",\r
8323         "name": "success",\r
8324         "xml": "<outcome value='success'>\n",\r
8325         "comments": "",\r
8326         "outputs": 1,\r
8327         "x": 4039.649429321289,\r
8328         "y": 6457.583236694336,\r
8329         "z": "1b4ba1fc.83240e",\r
8330         "wires": [\r
8331             [\r
8332                 "61ae232.1605c5c"\r
8333             ]\r
8334         ]\r
8335     },\r
8336     {\r
8337         "id": "61ae232.1605c5c",\r
8338         "type": "block",\r
8339         "name": "block : atomic",\r
8340         "xml": "<block atomic=\"true\">",\r
8341         "atomic": "true",\r
8342         "comments": "",\r
8343         "outputs": 1,\r
8344         "x": 4227.149429321289,\r
8345         "y": 6461.583236694336,\r
8346         "z": "1b4ba1fc.83240e",\r
8347         "wires": [\r
8348             []\r
8349         ]\r
8350     },\r
8351     {\r
8352         "id": "7c5aa740.2ac998",\r
8353         "type": "returnFailure",\r
8354         "name": "return failure",\r
8355         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
8356         "comments": "",\r
8357         "x": 4223.649429321289,\r
8358         "y": 6421.583236694336,\r
8359         "z": "1b4ba1fc.83240e",\r
8360         "wires": []\r
8361     },\r
8362     {\r
8363         "id": "5830c911.f22ee",\r
8364         "type": "execute",\r
8365         "name": "get esr-thirdparty-sdnc",\r
8366         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
8367         "comments": "",\r
8368         "outputs": 1,\r
8369         "x": 4380.149185180664,\r
8370         "y": 5974.583236694336,\r
8371         "z": "1b4ba1fc.83240e",\r
8372         "wires": [\r
8373             [\r
8374                 "9672ea53.f6fc4",\r
8375                 "10a5745e.fad27c",\r
8376                 "4c3d97fc.40ae6"\r
8377             ]\r
8378         ]\r
8379     },\r
8380     {\r
8381         "id": "78d865b4.b939ac",\r
8382         "type": "set",\r
8383         "name": "set esr-thirdparty-sdnc domain id",\r
8384         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
8385         "comments": "",\r
8386         "x": 4410.149185180664,\r
8387         "y": 5922.583236694336,\r
8388         "z": "1b4ba1fc.83240e",\r
8389         "wires": []\r
8390     },\r
8391     {\r
8392         "id": "9672ea53.f6fc4",\r
8393         "type": "success",\r
8394         "name": "success",\r
8395         "xml": "<outcome value='success'>\n",\r
8396         "comments": "",\r
8397         "outputs": 1,\r
8398         "x": 4590.149185180664,\r
8399         "y": 5965.583236694336,\r
8400         "z": "1b4ba1fc.83240e",\r
8401         "wires": [\r
8402             [\r
8403                 "a62535f9.bce6d8"\r
8404             ]\r
8405         ]\r
8406     },\r
8407     {\r
8408         "id": "10a5745e.fad27c",\r
8409         "type": "not-found",\r
8410         "name": "not-found",\r
8411         "xml": "<outcome value='not-found'>\n",\r
8412         "comments": "",\r
8413         "outputs": 1,\r
8414         "x": 4582.149185180664,\r
8415         "y": 6020.583236694336,\r
8416         "z": "1b4ba1fc.83240e",\r
8417         "wires": [\r
8418             [\r
8419                 "f6286309.b286"\r
8420             ]\r
8421         ]\r
8422     },\r
8423     {\r
8424         "id": "4c3d97fc.40ae6",\r
8425         "type": "other",\r
8426         "name": "other",\r
8427         "xml": "<outcome value='Other'>\n",\r
8428         "comments": "",\r
8429         "outputs": 1,\r
8430         "x": 4587.149185180664,\r
8431         "y": 6077.583236694336,\r
8432         "z": "1b4ba1fc.83240e",\r
8433         "wires": [\r
8434             [\r
8435                 "5b2489d7.40c81"\r
8436             ]\r
8437         ]\r
8438     },\r
8439     {\r
8440         "id": "aa227269.131cb",\r
8441         "type": "break",\r
8442         "name": "break",\r
8443         "xml": "<break>\n",\r
8444         "comments": "",\r
8445         "x": 4330.149185180664,\r
8446         "y": 6038.583236694336,\r
8447         "z": "1b4ba1fc.83240e",\r
8448         "wires": []\r
8449     },\r
8450     {\r
8451         "id": "5b2489d7.40c81",\r
8452         "type": "returnFailure",\r
8453         "name": "return failure",\r
8454         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8455         "comments": "",\r
8456         "x": 4739.149185180664,\r
8457         "y": 6078.583236694336,\r
8458         "z": "1b4ba1fc.83240e",\r
8459         "wires": []\r
8460     },\r
8461     {\r
8462         "id": "f6286309.b286",\r
8463         "type": "returnFailure",\r
8464         "name": "return failure",\r
8465         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8466         "comments": "",\r
8467         "x": 4750.149185180664,\r
8468         "y": 6023.583236694336,\r
8469         "z": "1b4ba1fc.83240e",\r
8470         "wires": []\r
8471     },\r
8472     {\r
8473         "id": "a62535f9.bce6d8",\r
8474         "type": "block",\r
8475         "name": "block",\r
8476         "xml": "<block>\n",\r
8477         "atomic": "false",\r
8478         "comments": "",\r
8479         "outputs": 1,\r
8480         "x": 4734.531509399414,\r
8481         "y": 5963.238906860352,\r
8482         "z": "1b4ba1fc.83240e",\r
8483         "wires": [\r
8484             [\r
8485                 "34794224.ac9ad6"\r
8486             ]\r
8487         ]\r
8488     },\r
8489     {\r
8490         "id": "34794224.ac9ad6",\r
8491         "type": "set",\r
8492         "name": "set controller domain data",\r
8493         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
8494         "comments": "",\r
8495         "x": 4949.149185180664,\r
8496         "y": 5959.583236694336,\r
8497         "z": "1b4ba1fc.83240e",\r
8498         "wires": []\r
8499     },\r
8500     {\r
8501         "id": "8d1e7ba3.e7c148",\r
8502         "type": "set",\r
8503         "name": "set pnf-name",\r
8504         "xml": "<set>\n<parameter name='tmp.domain.pnf-name' value=\"`'networkId-providerId-' +\n                                                   $tmp.aai.connectivity.access-provider-id + '-clientId-' +\n                                                   $tmp.aai.connectivity.access-client-id + '-topologyId-' +\n                                                   $tmp.aai.connectivity.access-topology-id + '-nodeId-' +\n                                                   $tmp.aai.connectivity.access-node-id`\" />\n",\r
8505         "comments": "",\r
8506         "x": 1684.9166412353516,\r
8507         "y": 6757.183334350586,\r
8508         "z": "1b4ba1fc.83240e",\r
8509         "wires": []\r
8510     },\r
8511     {\r
8512         "id": "6711b1e6.015f5",\r
8513         "type": "get-resource",\r
8514         "name": "get-resource src pnf",\r
8515         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.domain.pnf-name\"\n        pfx='tmp.aai.source-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
8516         "comments": "",\r
8517         "outputs": 1,\r
8518         "x": 1710.9166412353516,\r
8519         "y": 6874.183334350586,\r
8520         "z": "1b4ba1fc.83240e",\r
8521         "wires": [\r
8522             [\r
8523                 "89c94611.e7551",\r
8524                 "372b07e6.2f493",\r
8525                 "93b4846e.f3d23"\r
8526             ]\r
8527         ]\r
8528     },\r
8529     {\r
8530         "id": "89c94611.e7551",\r
8531         "type": "success",\r
8532         "name": "success",\r
8533         "xml": "<outcome value='success'>\n",\r
8534         "comments": "",\r
8535         "outputs": 1,\r
8536         "x": 1906.416763305664,\r
8537         "y": 6826.183334350586,\r
8538         "z": "1b4ba1fc.83240e",\r
8539         "wires": [\r
8540             [\r
8541                 "bdc72764.d7a65"\r
8542             ]\r
8543         ]\r
8544     },\r
8545     {\r
8546         "id": "372b07e6.2f493",\r
8547         "type": "not-found",\r
8548         "name": "not-found",\r
8549         "xml": "<outcome value='not-found'>\n",\r
8550         "comments": "",\r
8551         "outputs": 1,\r
8552         "x": 1898.416763305664,\r
8553         "y": 6881.183334350586,\r
8554         "z": "1b4ba1fc.83240e",\r
8555         "wires": [\r
8556             [\r
8557                 "4210f39b.7722f4"\r
8558             ]\r
8559         ]\r
8560     },\r
8561     {\r
8562         "id": "bdc72764.d7a65",\r
8563         "type": "block",\r
8564         "name": "block",\r
8565         "xml": "<block>\n",\r
8566         "atomic": "false",\r
8567         "comments": "",\r
8568         "outputs": 1,\r
8569         "x": 2040.7989654541016,\r
8570         "y": 6820.839096069336,\r
8571         "z": "1b4ba1fc.83240e",\r
8572         "wires": [\r
8573             [\r
8574                 "8221a60d.0a6"\r
8575             ]\r
8576         ]\r
8577     },\r
8578     {\r
8579         "id": "93b4846e.f3d23",\r
8580         "type": "other",\r
8581         "name": "other",\r
8582         "xml": "<outcome value='Other'>\n",\r
8583         "comments": "",\r
8584         "outputs": 1,\r
8585         "x": 1903.416763305664,\r
8586         "y": 6938.183334350586,\r
8587         "z": "1b4ba1fc.83240e",\r
8588         "wires": [\r
8589             [\r
8590                 "534b689.ea55a98"\r
8591             ]\r
8592         ]\r
8593     },\r
8594     {\r
8595         "id": "534b689.ea55a98",\r
8596         "type": "returnFailure",\r
8597         "name": "return failure",\r
8598         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8599         "comments": "",\r
8600         "x": 2055.416763305664,\r
8601         "y": 6939.183334350586,\r
8602         "z": "1b4ba1fc.83240e",\r
8603         "wires": []\r
8604     },\r
8605     {\r
8606         "id": "4210f39b.7722f4",\r
8607         "type": "returnFailure",\r
8608         "name": "return failure",\r
8609         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8610         "comments": "",\r
8611         "x": 2066.416763305664,\r
8612         "y": 6882.183334350586,\r
8613         "z": "1b4ba1fc.83240e",\r
8614         "wires": []\r
8615     },\r
8616     {\r
8617         "id": "8221a60d.0a6",\r
8618         "type": "for",\r
8619         "name": "for each relationship",\r
8620         "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
8621         "comments": "",\r
8622         "outputs": 1,\r
8623         "x": 2227.9161529541016,\r
8624         "y": 6822.183334350586,\r
8625         "z": "1b4ba1fc.83240e",\r
8626         "wires": [\r
8627             [\r
8628                 "70fb3446.1294d4"\r
8629             ]\r
8630         ]\r
8631     },\r
8632     {\r
8633         "id": "70fb3446.1294d4",\r
8634         "type": "switchNode",\r
8635         "name": "switch related-to",\r
8636         "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
8637         "comments": "",\r
8638         "outputs": 1,\r
8639         "x": 2468.9161529541016,\r
8640         "y": 6813.183334350586,\r
8641         "z": "1b4ba1fc.83240e",\r
8642         "wires": [\r
8643             [\r
8644                 "7728eab2.206384"\r
8645             ]\r
8646         ]\r
8647     },\r
8648     {\r
8649         "id": "5e0f68b.e6e5b18",\r
8650         "type": "block",\r
8651         "name": "block : atomic",\r
8652         "xml": "<block atomic=\"true\">",\r
8653         "atomic": "true",\r
8654         "outputs": 1,\r
8655         "x": 2825.9159088134766,\r
8656         "y": 6762.183334350586,\r
8657         "z": "1b4ba1fc.83240e",\r
8658         "wires": [\r
8659             [\r
8660                 "1f9f6b0b.3a7bad",\r
8661                 "3a372a08.82b95e",\r
8662                 "20000492.69e4a4"\r
8663             ]\r
8664         ]\r
8665     },\r
8666     {\r
8667         "id": "7728eab2.206384",\r
8668         "type": "outcome",\r
8669         "name": "esr-thirdparty-sdnc",\r
8670         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8671         "comments": "",\r
8672         "outputs": 1,\r
8673         "x": 2674.9161529541016,\r
8674         "y": 6810.183334350586,\r
8675         "z": "1b4ba1fc.83240e",\r
8676         "wires": [\r
8677             [\r
8678                 "5e0f68b.e6e5b18"\r
8679             ]\r
8680         ]\r
8681     },\r
8682     {\r
8683         "id": "3a372a08.82b95e",\r
8684         "type": "execute",\r
8685         "name": "get esr-thirdparty-sdnc",\r
8686         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domain.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domain.esr-thirdparty-sdnc' local-only='false' >",\r
8687         "comments": "",\r
8688         "outputs": 1,\r
8689         "x": 3031.9159088134766,\r
8690         "y": 6775.183334350586,\r
8691         "z": "1b4ba1fc.83240e",\r
8692         "wires": [\r
8693             [\r
8694                 "78de1b03.bad77c",\r
8695                 "d65c6861.1c4098",\r
8696                 "dc64de9d.8956c8"\r
8697             ]\r
8698         ]\r
8699     },\r
8700     {\r
8701         "id": "20000492.69e4a4",\r
8702         "type": "break",\r
8703         "name": "break",\r
8704         "xml": "<break>\n",\r
8705         "comments": "",\r
8706         "x": 2981.9159088134766,\r
8707         "y": 6839.183334350586,\r
8708         "z": "1b4ba1fc.83240e",\r
8709         "wires": []\r
8710     },\r
8711     {\r
8712         "id": "1f9f6b0b.3a7bad",\r
8713         "type": "set",\r
8714         "name": "set esr-thirdparty-sdnc domain id",\r
8715         "xml": "<set>\n<parameter name='tmp.domain.esr-thirdparty-id' value=\"`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].relationship-data[0].relationship-value`\" />\n",\r
8716         "comments": "",\r
8717         "x": 3061.9159088134766,\r
8718         "y": 6723.183334350586,\r
8719         "z": "1b4ba1fc.83240e",\r
8720         "wires": []\r
8721     },\r
8722     {\r
8723         "id": "78de1b03.bad77c",\r
8724         "type": "success",\r
8725         "name": "success",\r
8726         "xml": "<outcome value='success'>\n",\r
8727         "comments": "",\r
8728         "outputs": 1,\r
8729         "x": 3241.9159088134766,\r
8730         "y": 6766.183334350586,\r
8731         "z": "1b4ba1fc.83240e",\r
8732         "wires": [\r
8733             [\r
8734                 "13eb6200.778f26"\r
8735             ]\r
8736         ]\r
8737     },\r
8738     {\r
8739         "id": "d65c6861.1c4098",\r
8740         "type": "not-found",\r
8741         "name": "not-found",\r
8742         "xml": "<outcome value='not-found'>\n",\r
8743         "comments": "",\r
8744         "outputs": 1,\r
8745         "x": 3233.9159088134766,\r
8746         "y": 6821.183334350586,\r
8747         "z": "1b4ba1fc.83240e",\r
8748         "wires": [\r
8749             [\r
8750                 "bff87948.e35e"\r
8751             ]\r
8752         ]\r
8753     },\r
8754     {\r
8755         "id": "dc64de9d.8956c8",\r
8756         "type": "other",\r
8757         "name": "other",\r
8758         "xml": "<outcome value='Other'>\n",\r
8759         "comments": "",\r
8760         "outputs": 1,\r
8761         "x": 3238.9159088134766,\r
8762         "y": 6878.183334350586,\r
8763         "z": "1b4ba1fc.83240e",\r
8764         "wires": [\r
8765             [\r
8766                 "573969ab.842a48"\r
8767             ]\r
8768         ]\r
8769     },\r
8770     {\r
8771         "id": "573969ab.842a48",\r
8772         "type": "returnFailure",\r
8773         "name": "return failure",\r
8774         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8775         "comments": "",\r
8776         "x": 3390.9159088134766,\r
8777         "y": 6879.183334350586,\r
8778         "z": "1b4ba1fc.83240e",\r
8779         "wires": []\r
8780     },\r
8781     {\r
8782         "id": "bff87948.e35e",\r
8783         "type": "returnFailure",\r
8784         "name": "return failure",\r
8785         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
8786         "comments": "",\r
8787         "x": 3401.9159088134766,\r
8788         "y": 6824.183334350586,\r
8789         "z": "1b4ba1fc.83240e",\r
8790         "wires": []\r
8791     },\r
8792     {\r
8793         "id": "13eb6200.778f26",\r
8794         "type": "block",\r
8795         "name": "block",\r
8796         "xml": "<block>\n",\r
8797         "atomic": "false",\r
8798         "comments": "",\r
8799         "outputs": 1,\r
8800         "x": 3386.2982330322266,\r
8801         "y": 6763.839004516602,\r
8802         "z": "1b4ba1fc.83240e",\r
8803         "wires": [\r
8804             [\r
8805                 "f7bc1d31.5e03a"\r
8806             ]\r
8807         ]\r
8808     },\r
8809     {\r
8810         "id": "f7bc1d31.5e03a",\r
8811         "type": "set",\r
8812         "name": "set controller domain data",\r
8813         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.url' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.user' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domain.password' value=\"`$tmp.aai.domain.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
8814         "comments": "",\r
8815         "x": 3600.9159088134766,\r
8816         "y": 6760.183334350586,\r
8817         "z": "1b4ba1fc.83240e",\r
8818         "wires": []\r
8819     },\r
8820     {\r
8821         "id": "e2860ec7.2879b",\r
8822         "type": "block",\r
8823         "name": "block : atomic",\r
8824         "xml": "<block atomic=\"true\">",\r
8825         "atomic": "true",\r
8826         "outputs": 1,\r
8827         "x": 1476.9166412353516,\r
8828         "y": 6885.183334350586,\r
8829         "z": "1b4ba1fc.83240e",\r
8830         "wires": [\r
8831             [\r
8832                 "8d1e7ba3.e7c148",\r
8833                 "6711b1e6.015f5",\r
8834                 "91e5ef44.c1379"\r
8835             ]\r
8836         ]\r
8837     },\r
8838     {\r
8839         "id": "91e5ef44.c1379",\r
8840         "type": "switchNode",\r
8841         "name": "switch connectivity has ethernet service",\r
8842         "xml": "<switch test='`$tmp.aai.connectivity.etht-svc-name`'>\n",\r
8843         "comments": "",\r
8844         "outputs": 1,\r
8845         "x": 1759.116714477539,\r
8846         "y": 7026.383529663086,\r
8847         "z": "1b4ba1fc.83240e",\r
8848         "wires": [\r
8849             [\r
8850                 "9d430c54.8affb",\r
8851                 "4e9e0184.b64f38"\r
8852             ]\r
8853         ]\r
8854     },\r
8855     {\r
8856         "id": "4e9e0184.b64f38",\r
8857         "type": "other",\r
8858         "name": "other",\r
8859         "xml": "<outcome value='Other'>\n",\r
8860         "comments": "",\r
8861         "outputs": 1,\r
8862         "x": 2012.116714477539,\r
8863         "y": 7004.383529663086,\r
8864         "z": "1b4ba1fc.83240e",\r
8865         "wires": [\r
8866             [\r
8867                 "8c955553.2a5b4"\r
8868             ]\r
8869         ]\r
8870     },\r
8871     {\r
8872         "id": "9d430c54.8affb",\r
8873         "type": "outcome",\r
8874         "name": "Null",\r
8875         "xml": "<outcome value=''>\n",\r
8876         "comments": "",\r
8877         "outputs": 1,\r
8878         "x": 2012.116714477539,\r
8879         "y": 7060.383529663086,\r
8880         "z": "1b4ba1fc.83240e",\r
8881         "wires": [\r
8882             []\r
8883         ]\r
8884     },\r
8885     {\r
8886         "id": "8c955553.2a5b4",\r
8887         "type": "execute",\r
8888         "name": "execute RestApiCallNode Delete ethernet Service without token",\r
8889         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.aai.connectivity.etht-svc-name`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
8890         "comments": "",\r
8891         "outputs": 1,\r
8892         "x": 2362.116226196289,\r
8893         "y": 6994.383529663086,\r
8894         "z": "1b4ba1fc.83240e",\r
8895         "wires": [\r
8896             [\r
8897                 "7b6e5c2.eee3ea4",\r
8898                 "23885c26.87d57c"\r
8899             ]\r
8900         ]\r
8901     },\r
8902     {\r
8903         "id": "7b6e5c2.eee3ea4",\r
8904         "type": "failure",\r
8905         "name": "failure",\r
8906         "xml": "<outcome value='failure'>\n",\r
8907         "comments": "",\r
8908         "outputs": 1,\r
8909         "x": 2694.616226196289,\r
8910         "y": 6968.383529663086,\r
8911         "z": "1b4ba1fc.83240e",\r
8912         "wires": [\r
8913             [\r
8914                 "6e7264f6.b603bc"\r
8915             ]\r
8916         ]\r
8917     },\r
8918     {\r
8919         "id": "23885c26.87d57c",\r
8920         "type": "success",\r
8921         "name": "success",\r
8922         "xml": "<outcome value='success'>\n",\r
8923         "comments": "",\r
8924         "outputs": 1,\r
8925         "x": 2698.616226196289,\r
8926         "y": 7008.383529663086,\r
8927         "z": "1b4ba1fc.83240e",\r
8928         "wires": [\r
8929             [\r
8930                 "7c20df87.4ce228"\r
8931             ]\r
8932         ]\r
8933     },\r
8934     {\r
8935         "id": "7c20df87.4ce228",\r
8936         "type": "block",\r
8937         "name": "block : atomic",\r
8938         "xml": "<block atomic=\"true\">",\r
8939         "atomic": "true",\r
8940         "comments": "",\r
8941         "outputs": 1,\r
8942         "x": 2886.116226196289,\r
8943         "y": 7012.383529663086,\r
8944         "z": "1b4ba1fc.83240e",\r
8945         "wires": [\r
8946             []\r
8947         ]\r
8948     },\r
8949     {\r
8950         "id": "6e7264f6.b603bc",\r
8951         "type": "returnFailure",\r
8952         "name": "return failure",\r
8953         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
8954         "comments": "",\r
8955         "x": 2882.616226196289,\r
8956         "y": 6972.383529663086,\r
8957         "z": "1b4ba1fc.83240e",\r
8958         "wires": []\r
8959     },\r
8960     {\r
8961         "id": "b3758874.8f232",\r
8962         "type": "execute",\r
8963         "name": "execute RestApiCallNode Delete Underlay OTN tunnel from the LEAF ethernet Service",\r
8964         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/data/ietf-eth-tran-service:etht-svc/etht-svc-instances=' + $tmp.leafconn.etht-svc-name + '/underlay/otn-tunnels=' + $tmp.underlayOTN`\" />\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.restapi.connection-oof-url`\" />-->\n<!--<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/sotn-ethernet-service.json'`\" />-->\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.password`\" />\n<parameter name=\"format\" value=\"json\"/>\n<parameter name=\"httpMethod\" value=\"delete\"/>\n<parameter name='dirPath' value=\"/opt/onap/sdnc/restconfapi/yang\" />\n<parameter name=\"responsePrefix\" value=\"vpn-result\"/>\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n",\r
8965         "comments": "",\r
8966         "outputs": 1,\r
8967         "x": 1114.933364868164,\r
8968         "y": 4711.966567993164,\r
8969         "z": "1b4ba1fc.83240e",\r
8970         "wires": [\r
8971             [\r
8972                 "d41942d3.562958",\r
8973                 "ebe016f8.97161"\r
8974             ]\r
8975         ]\r
8976     },\r
8977     {\r
8978         "id": "d41942d3.562958",\r
8979         "type": "failure",\r
8980         "name": "failure",\r
8981         "xml": "<outcome value='failure'>\n",\r
8982         "comments": "",\r
8983         "outputs": 1,\r
8984         "x": 1543.433120727539,\r
8985         "y": 4699.966567993164,\r
8986         "z": "1b4ba1fc.83240e",\r
8987         "wires": [\r
8988             [\r
8989                 "5ea52c46.125904"\r
8990             ]\r
8991         ]\r
8992     },\r
8993     {\r
8994         "id": "ebe016f8.97161",\r
8995         "type": "success",\r
8996         "name": "success",\r
8997         "xml": "<outcome value='success'>\n",\r
8998         "comments": "",\r
8999         "outputs": 1,\r
9000         "x": 1547.433120727539,\r
9001         "y": 4739.966567993164,\r
9002         "z": "1b4ba1fc.83240e",\r
9003         "wires": [\r
9004             [\r
9005                 "f81bc98a.2445d"\r
9006             ]\r
9007         ]\r
9008     },\r
9009     {\r
9010         "id": "5ea52c46.125904",\r
9011         "type": "returnFailure",\r
9012         "name": "return failure",\r
9013         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"Error executing delete ethernet service rest api\" />\n",\r
9014         "comments": "",\r
9015         "x": 1701.433120727539,\r
9016         "y": 4699.966567993164,\r
9017         "z": "1b4ba1fc.83240e",\r
9018         "wires": []\r
9019     },\r
9020     {\r
9021         "id": "f81bc98a.2445d",\r
9022         "type": "block",\r
9023         "name": "block : atomic",\r
9024         "xml": "<block atomic=\"true\">",\r
9025         "atomic": "true",\r
9026         "comments": "",\r
9027         "outputs": 1,\r
9028         "x": 1704.933120727539,\r
9029         "y": 4739.966567993164,\r
9030         "z": "1b4ba1fc.83240e",\r
9031         "wires": [\r
9032             []\r
9033         ]\r
9034     },\r
9035     {\r
9036         "id": "82036bd3.d2b678",\r
9037         "type": "block",\r
9038         "name": "block : atomic",\r
9039         "xml": "<block atomic='true'>",\r
9040         "atomic": "true",\r
9041         "comments": "",\r
9042         "outputs": 1,\r
9043         "x": 5138.683364868164,\r
9044         "y": 5032.566665649414,\r
9045         "z": "1b4ba1fc.83240e",\r
9046         "wires": [\r
9047             [\r
9048                 "54859efe.15c158",\r
9049                 "fd20f3ef.b5a108",\r
9050                 "bf190cd2.45b99"\r
9051             ]\r
9052         ]\r
9053     },\r
9054     {\r
9055         "id": "bf190cd2.45b99",\r
9056         "type": "set",\r
9057         "name": "set vpnNameToSearch",\r
9058         "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
9059         "comments": "",\r
9060         "x": 5365.683364868164,\r
9061         "y": 4977.566665649414,\r
9062         "z": "1b4ba1fc.83240e",\r
9063         "wires": []\r
9064     },\r
9065     {\r
9066         "id": "54859efe.15c158",\r
9067         "type": "call",\r
9068         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
9069         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
9070         "comments": "",\r
9071         "outputs": 1,\r
9072         "x": 5519.683364868164,\r
9073         "y": 5029.566665649414,\r
9074         "z": "1b4ba1fc.83240e",\r
9075         "wires": [\r
9076             []\r
9077         ]\r
9078     },\r
9079     {\r
9080         "id": "fd20f3ef.b5a108",\r
9081         "type": "switchNode",\r
9082         "name": "switch $foundVpnName",\r
9083         "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
9084         "comments": "",\r
9085         "outputs": 1,\r
9086         "x": 5364.683364868164,\r
9087         "y": 5084.566665649414,\r
9088         "z": "1b4ba1fc.83240e",\r
9089         "wires": [\r
9090             [\r
9091                 "290514d0.09f59c"\r
9092             ]\r
9093         ]\r
9094     },\r
9095     {\r
9096         "id": "290514d0.09f59c",\r
9097         "type": "outcomeTrue",\r
9098         "name": "true",\r
9099         "xml": "<outcome value='true'>\n",\r
9100         "comments": "",\r
9101         "outputs": 1,\r
9102         "x": 5543.683364868164,\r
9103         "y": 5083.566665649414,\r
9104         "z": "1b4ba1fc.83240e",\r
9105         "wires": [\r
9106             [\r
9107                 "8f49a5ce.76f168"\r
9108             ]\r
9109         ]\r
9110     },\r
9111     {\r
9112         "id": "22a945f9.085212",\r
9113         "type": "set",\r
9114         "name": "unset secondary related variables",\r
9115         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
9116         "comments": "",\r
9117         "x": 3405.933334350586,\r
9118         "y": 438.56666564941406,\r
9119         "z": "1b4ba1fc.83240e",\r
9120         "wires": []\r
9121     },\r
9122     {\r
9123         "id": "94938481.855978",\r
9124         "type": "set",\r
9125         "name": "set network-route-three",\r
9126         "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
9127         "comments": "",\r
9128         "x": 3369.933334350586,\r
9129         "y": 688.5666656494141,\r
9130         "z": "1b4ba1fc.83240e",\r
9131         "wires": []\r
9132     },\r
9133     {\r
9134         "id": "7edb995a.421908",\r
9135         "type": "switchNode",\r
9136         "name": "switch secondary empty?",\r
9137         "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
9138         "comments": "",\r
9139         "outputs": 1,\r
9140         "x": 3373.349838256836,\r
9141         "y": 730.8166351318359,\r
9142         "z": "1b4ba1fc.83240e",\r
9143         "wires": [\r
9144             [\r
9145                 "2aad068d.f37552",\r
9146                 "160f6f1.9c78f91"\r
9147             ]\r
9148         ]\r
9149     },\r
9150     {\r
9151         "id": "2aad068d.f37552",\r
9152         "type": "outcomeTrue",\r
9153         "name": "true",\r
9154         "xml": "<outcome value='true'>\n",\r
9155         "comments": "",\r
9156         "outputs": 1,\r
9157         "x": 3612.3497161865234,\r
9158         "y": 566.8166656494141,\r
9159         "z": "1b4ba1fc.83240e",\r
9160         "wires": [\r
9161             [\r
9162                 "1be1e31f.1947f5"\r
9163             ]\r
9164         ]\r
9165     },\r
9166     {\r
9167         "id": "160f6f1.9c78f91",\r
9168         "type": "outcomeFalse",\r
9169         "name": "false",\r
9170         "xml": "<outcome value='false'>\n",\r
9171         "comments": "",\r
9172         "outputs": 1,\r
9173         "x": 3621.3497161865234,\r
9174         "y": 613.8166656494141,\r
9175         "z": "1b4ba1fc.83240e",\r
9176         "wires": [\r
9177             [\r
9178                 "939cd6fd.61434"\r
9179             ]\r
9180         ]\r
9181     },\r
9182     {\r
9183         "id": "939cd6fd.61434",\r
9184         "type": "set",\r
9185         "name": "set hasSecondary true",\r
9186         "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
9187         "comments": "",\r
9188         "x": 3835.3497161865234,\r
9189         "y": 607.8166656494141,\r
9190         "z": "1b4ba1fc.83240e",\r
9191         "wires": []\r
9192     },\r
9193     {\r
9194         "id": "1be1e31f.1947f5",\r
9195         "type": "set",\r
9196         "name": "set hasSecondary false",\r
9197         "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
9198         "comments": "",\r
9199         "x": 3839.3497161865234,\r
9200         "y": 563.8166656494141,\r
9201         "z": "1b4ba1fc.83240e",\r
9202         "wires": []\r
9203     },\r
9204     {\r
9205         "id": "9b9082d.d33238",\r
9206         "type": "outcome",\r
9207         "name": "SECONDARY-ROOT",\r
9208         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9209         "comments": "",\r
9210         "outputs": 1,\r
9211         "x": 4201.383773803711,\r
9212         "y": 517.2666168212891,\r
9213         "z": "1b4ba1fc.83240e",\r
9214         "wires": [\r
9215             [\r
9216                 "5bb9e60d.7c50c8"\r
9217             ]\r
9218         ]\r
9219     },\r
9220     {\r
9221         "id": "5bb9e60d.7c50c8",\r
9222         "type": "block",\r
9223         "name": "block",\r
9224         "xml": "<block>\n",\r
9225         "atomic": "false",\r
9226         "comments": "",\r
9227         "outputs": 1,\r
9228         "x": 4375.383773803711,\r
9229         "y": 512.2666168212891,\r
9230         "z": "1b4ba1fc.83240e",\r
9231         "wires": [\r
9232             [\r
9233                 "7a7e54e9.bf28b4",\r
9234                 "1946febe.bd9461"\r
9235             ]\r
9236         ]\r
9237     },\r
9238     {\r
9239         "id": "7a7e54e9.bf28b4",\r
9240         "type": "set",\r
9241         "name": "set network-route-SECONDARY-ROOT",\r
9242         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9243         "comments": "",\r
9244         "x": 4619.384017944336,\r
9245         "y": 504.26661682128906,\r
9246         "z": "1b4ba1fc.83240e",\r
9247         "wires": []\r
9248     },\r
9249     {\r
9250         "id": "1946febe.bd9461",\r
9251         "type": "set",\r
9252         "name": "set network-route-C",\r
9253         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
9254         "comments": "",\r
9255         "x": 4565.384017944336,\r
9256         "y": 544.2666168212891,\r
9257         "z": "1b4ba1fc.83240e",\r
9258         "wires": []\r
9259     },\r
9260     {\r
9261         "id": "a01fe37.2547ea",\r
9262         "type": "outcome",\r
9263         "name": "SECONDARY-ROOT",\r
9264         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9265         "comments": "",\r
9266         "outputs": 1,\r
9267         "x": 4170.383773803711,\r
9268         "y": 746.6666412353516,\r
9269         "z": "1b4ba1fc.83240e",\r
9270         "wires": [\r
9271             [\r
9272                 "918e4345.efda7"\r
9273             ]\r
9274         ]\r
9275     },\r
9276     {\r
9277         "id": "918e4345.efda7",\r
9278         "type": "block",\r
9279         "name": "block",\r
9280         "xml": "<block>\n",\r
9281         "atomic": "false",\r
9282         "comments": "",\r
9283         "outputs": 1,\r
9284         "x": 4328.383529663086,\r
9285         "y": 789.6664581298828,\r
9286         "z": "1b4ba1fc.83240e",\r
9287         "wires": [\r
9288             [\r
9289                 "6e675e43.dde0d8",\r
9290                 "80002079.3161b8"\r
9291             ]\r
9292         ]\r
9293     },\r
9294     {\r
9295         "id": "6e675e43.dde0d8",\r
9296         "type": "set",\r
9297         "name": "set network-route-SECONDARY-ROOT",\r
9298         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9299         "comments": "",\r
9300         "x": 4550.383529663086,\r
9301         "y": 775.6665802001953,\r
9302         "z": "1b4ba1fc.83240e",\r
9303         "wires": []\r
9304     },\r
9305     {\r
9306         "id": "80002079.3161b8",\r
9307         "type": "set",\r
9308         "name": "set network-route-C",\r
9309         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9310         "comments": "",\r
9311         "x": 4496.383529663086,\r
9312         "y": 815.6665802001953,\r
9313         "z": "1b4ba1fc.83240e",\r
9314         "wires": []\r
9315     },\r
9316     {\r
9317         "id": "f054f8f8.d1b3a",\r
9318         "type": "save",\r
9319         "name": "get network-route-three from aai",\r
9320         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
9321         "comments": "",\r
9322         "outputs": 1,\r
9323         "x": 3381.816635131836,\r
9324         "y": 982.8999176025391,\r
9325         "z": "1b4ba1fc.83240e",\r
9326         "wires": [\r
9327             [\r
9328                 "36902805.8d90e",\r
9329                 "becbd8eb.e312f8",\r
9330                 "8659a4ac.581568"\r
9331             ]\r
9332         ]\r
9333     },\r
9334     {\r
9335         "id": "36902805.8d90e",\r
9336         "type": "not-found",\r
9337         "name": "not-found",\r
9338         "xml": "<outcome value='not-found'>\n",\r
9339         "comments": "",\r
9340         "outputs": 1,\r
9341         "x": 3621.816635131836,\r
9342         "y": 965.8999176025391,\r
9343         "z": "1b4ba1fc.83240e",\r
9344         "wires": [\r
9345             []\r
9346         ]\r
9347     },\r
9348     {\r
9349         "id": "becbd8eb.e312f8",\r
9350         "type": "failure",\r
9351         "name": "failure",\r
9352         "xml": "<outcome value='failure'>\n",\r
9353         "comments": "",\r
9354         "outputs": 1,\r
9355         "x": 3617.325698852539,\r
9356         "y": 1008.3259735107422,\r
9357         "z": "1b4ba1fc.83240e",\r
9358         "wires": [\r
9359             []\r
9360         ]\r
9361     },\r
9362     {\r
9363         "id": "8659a4ac.581568",\r
9364         "type": "success",\r
9365         "name": "success",\r
9366         "xml": "<outcome value='success'>\n",\r
9367         "comments": "",\r
9368         "outputs": 1,\r
9369         "x": 3621.325668334961,\r
9370         "y": 1056.325942993164,\r
9371         "z": "1b4ba1fc.83240e",\r
9372         "wires": [\r
9373             [\r
9374                 "3e8b9bd4.673dec"\r
9375             ]\r
9376         ]\r
9377     },\r
9378     {\r
9379         "id": "3e8b9bd4.673dec",\r
9380         "type": "block",\r
9381         "name": "block : atomic",\r
9382         "xml": "<block atomic=\"true\">",\r
9383         "atomic": "true",\r
9384         "outputs": 1,\r
9385         "x": 3776.816635131836,\r
9386         "y": 1025.8998565673828,\r
9387         "z": "1b4ba1fc.83240e",\r
9388         "wires": [\r
9389             [\r
9390                 "dcd7f0d5.69944"\r
9391             ]\r
9392         ]\r
9393     },\r
9394     {\r
9395         "id": "dcd7f0d5.69944",\r
9396         "type": "switchNode",\r
9397         "name": "switch nr type",\r
9398         "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
9399         "comments": "",\r
9400         "outputs": 1,\r
9401         "x": 3898.816635131836,\r
9402         "y": 972.8998565673828,\r
9403         "z": "1b4ba1fc.83240e",\r
9404         "wires": [\r
9405             [\r
9406                 "b21b1a8d.ec399",\r
9407                 "40a89314.47b21c",\r
9408                 "f3bd5a06.f854e"\r
9409             ]\r
9410         ]\r
9411     },\r
9412     {\r
9413         "id": "b21b1a8d.ec399",\r
9414         "type": "outcome",\r
9415         "name": "ROOT",\r
9416         "xml": "<outcome value='ROOT'>\n",\r
9417         "comments": "",\r
9418         "outputs": 1,\r
9419         "x": 4134.816635131836,\r
9420         "y": 822.8998565673828,\r
9421         "z": "1b4ba1fc.83240e",\r
9422         "wires": [\r
9423             [\r
9424                 "c5a6386c.ce6e1"\r
9425             ]\r
9426         ]\r
9427     },\r
9428     {\r
9429         "id": "40a89314.47b21c",\r
9430         "type": "outcome",\r
9431         "name": "LEAF",\r
9432         "xml": "<outcome value='LEAF'>\n",\r
9433         "comments": "",\r
9434         "outputs": 1,\r
9435         "x": 4130.816635131836,\r
9436         "y": 878.8998565673828,\r
9437         "z": "1b4ba1fc.83240e",\r
9438         "wires": [\r
9439             [\r
9440                 "12081a23.d55f7e"\r
9441             ]\r
9442         ]\r
9443     },\r
9444     {\r
9445         "id": "c5a6386c.ce6e1",\r
9446         "type": "block",\r
9447         "name": "block",\r
9448         "xml": "<block>\n",\r
9449         "atomic": "false",\r
9450         "comments": "",\r
9451         "outputs": 1,\r
9452         "x": 4260.816635131836,\r
9453         "y": 830.8998565673828,\r
9454         "z": "1b4ba1fc.83240e",\r
9455         "wires": [\r
9456             [\r
9457                 "bedffac2.d82048",\r
9458                 "6105d759.fbeec8"\r
9459             ]\r
9460         ]\r
9461     },\r
9462     {\r
9463         "id": "12081a23.d55f7e",\r
9464         "type": "block",\r
9465         "name": "block",\r
9466         "xml": "<block>\n",\r
9467         "atomic": "false",\r
9468         "comments": "",\r
9469         "outputs": 1,\r
9470         "x": 4263.816635131836,\r
9471         "y": 883.8998565673828,\r
9472         "z": "1b4ba1fc.83240e",\r
9473         "wires": [\r
9474             [\r
9475                 "7ef90f2d.cab8",\r
9476                 "728a110f.c5d4a8"\r
9477             ]\r
9478         ]\r
9479     },\r
9480     {\r
9481         "id": "f3bd5a06.f854e",\r
9482         "type": "outcome",\r
9483         "name": "SECONDARY-ROOT",\r
9484         "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
9485         "comments": "",\r
9486         "outputs": 1,\r
9487         "x": 4123.816635131836,\r
9488         "y": 956.8998565673828,\r
9489         "z": "1b4ba1fc.83240e",\r
9490         "wires": [\r
9491             [\r
9492                 "a50b1577.32615"\r
9493             ]\r
9494         ]\r
9495     },\r
9496     {\r
9497         "id": "a50b1577.32615",\r
9498         "type": "block",\r
9499         "name": "block",\r
9500         "xml": "<block>\n",\r
9501         "atomic": "false",\r
9502         "comments": "",\r
9503         "outputs": 1,\r
9504         "x": 4279.816635131836,\r
9505         "y": 977.8998565673828,\r
9506         "z": "1b4ba1fc.83240e",\r
9507         "wires": [\r
9508             [\r
9509                 "8c375d88.8bcbe",\r
9510                 "79733ca8.98d714"\r
9511             ]\r
9512         ]\r
9513     },\r
9514     {\r
9515         "id": "bedffac2.d82048",\r
9516         "type": "set",\r
9517         "name": "set network-route-ROOT",\r
9518         "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9519         "comments": "",\r
9520         "x": 4507.816635131836,\r
9521         "y": 860.8998565673828,\r
9522         "z": "1b4ba1fc.83240e",\r
9523         "wires": []\r
9524     },\r
9525     {\r
9526         "id": "6105d759.fbeec8",\r
9527         "type": "set",\r
9528         "name": "set network-route-B",\r
9529         "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9530         "comments": "",\r
9531         "x": 4499.816635131836,\r
9532         "y": 902.8998565673828,\r
9533         "z": "1b4ba1fc.83240e",\r
9534         "wires": []\r
9535     },\r
9536     {\r
9537         "id": "7ef90f2d.cab8",\r
9538         "type": "set",\r
9539         "name": "set network-route-LEAF",\r
9540         "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9541         "comments": "",\r
9542         "x": 4500.816635131836,\r
9543         "y": 954.8998565673828,\r
9544         "z": "1b4ba1fc.83240e",\r
9545         "wires": []\r
9546     },\r
9547     {\r
9548         "id": "728a110f.c5d4a8",\r
9549         "type": "set",\r
9550         "name": "set network-route-A",\r
9551         "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
9552         "comments": "",\r
9553         "x": 4487.816635131836,\r
9554         "y": 994.8998565673828,\r
9555         "z": "1b4ba1fc.83240e",\r
9556         "wires": []\r
9557     },\r
9558     {\r
9559         "id": "79733ca8.98d714",\r
9560         "type": "set",\r
9561         "name": "set network-route-C",\r
9562         "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9563         "comments": "",\r
9564         "x": 4461.816635131836,\r
9565         "y": 1088.8998565673828,\r
9566         "z": "1b4ba1fc.83240e",\r
9567         "wires": []\r
9568     },\r
9569     {\r
9570         "id": "8c375d88.8bcbe",\r
9571         "type": "set",\r
9572         "name": "set network-route-SECONDARY-ROOT",\r
9573         "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
9574         "comments": "",\r
9575         "x": 4523.816635131836,\r
9576         "y": 1044.8998565673828,\r
9577         "z": "1b4ba1fc.83240e",\r
9578         "wires": []\r
9579     },\r
9580     {\r
9581         "id": "663710d5.9b6118",\r
9582         "type": "block",\r
9583         "name": "block : atomic",\r
9584         "xml": "<block atomic=\"true\">",\r
9585         "atomic": "true",\r
9586         "outputs": 1,\r
9587         "x": 3725.816665649414,\r
9588         "y": 2228.566665649414,\r
9589         "z": "1b4ba1fc.83240e",\r
9590         "wires": [\r
9591             [\r
9592                 "4284e0ad.37004",\r
9593                 "54bef6f2.4fc7a"\r
9594             ]\r
9595         ]\r
9596     },\r
9597     {\r
9598         "id": "16d496be.188cb9",\r
9599         "type": "success",\r
9600         "name": "success",\r
9601         "xml": "<outcome value='success'>\n",\r
9602         "comments": "",\r
9603         "outputs": 1,\r
9604         "x": 3553.150161743164,\r
9605         "y": 2229.566665649414,\r
9606         "z": "1b4ba1fc.83240e",\r
9607         "wires": [\r
9608             [\r
9609                 "663710d5.9b6118"\r
9610             ]\r
9611         ]\r
9612     },\r
9613     {\r
9614         "id": "545ddc0c.5d5ecc",\r
9615         "type": "not-found",\r
9616         "name": "not-found",\r
9617         "xml": "<outcome value='not-found'>\n",\r
9618         "comments": "",\r
9619         "outputs": 1,\r
9620         "x": 3562.641128540039,\r
9621         "y": 2272.1407012939453,\r
9622         "z": "1b4ba1fc.83240e",\r
9623         "wires": [\r
9624             []\r
9625         ]\r
9626     },\r
9627     {\r
9628         "id": "5e1fc0e8.d800d8",\r
9629         "type": "failure",\r
9630         "name": "failure",\r
9631         "xml": "<outcome value='failure'>\n",\r
9632         "comments": "",\r
9633         "outputs": 1,\r
9634         "x": 3551.150161743164,\r
9635         "y": 2318.566665649414,\r
9636         "z": "1b4ba1fc.83240e",\r
9637         "wires": [\r
9638             []\r
9639         ]\r
9640     },\r
9641     {\r
9642         "id": "4284e0ad.37004",\r
9643         "type": "execute",\r
9644         "name": "execute split tp-id to get pnf-name",\r
9645         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
9646         "comments": "",\r
9647         "outputs": 1,\r
9648         "x": 4016.150161743164,\r
9649         "y": 2244.566665649414,\r
9650         "z": "1b4ba1fc.83240e",\r
9651         "wires": [\r
9652             [\r
9653                 "7adfe0fe.0b09c",\r
9654                 "70e2db35.da559c"\r
9655             ]\r
9656         ]\r
9657     },\r
9658     {\r
9659         "id": "70e2db35.da559c",\r
9660         "type": "failure",\r
9661         "name": "success",\r
9662         "xml": "<outcome value='success'>\n",\r
9663         "comments": "",\r
9664         "outputs": 1,\r
9665         "x": 4239.150161743164,\r
9666         "y": 2199.566665649414,\r
9667         "z": "1b4ba1fc.83240e",\r
9668         "wires": [\r
9669             [\r
9670                 "624b6d74.0c220c"\r
9671             ]\r
9672         ]\r
9673     },\r
9674     {\r
9675         "id": "7adfe0fe.0b09c",\r
9676         "type": "failure",\r
9677         "name": "failure",\r
9678         "xml": "<outcome value='failure'>\n",\r
9679         "comments": "",\r
9680         "outputs": 1,\r
9681         "x": 4241.150161743164,\r
9682         "y": 2263.566665649414,\r
9683         "z": "1b4ba1fc.83240e",\r
9684         "wires": [\r
9685             [\r
9686                 "44c8e026.3089e"\r
9687             ]\r
9688         ]\r
9689     },\r
9690     {\r
9691         "id": "71a7eba7.ddb6fc",\r
9692         "type": "save",\r
9693         "name": "get p-interface-dst from aai",\r
9694         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
9695         "comments": "",\r
9696         "outputs": 1,\r
9697         "x": 3347.150161743164,\r
9698         "y": 2250.566665649414,\r
9699         "z": "1b4ba1fc.83240e",\r
9700         "wires": [\r
9701             [\r
9702                 "16d496be.188cb9",\r
9703                 "545ddc0c.5d5ecc",\r
9704                 "5e1fc0e8.d800d8"\r
9705             ]\r
9706         ]\r
9707     },\r
9708     {\r
9709         "id": "720f0fd3.e06eb",\r
9710         "type": "comment",\r
9711         "name": "Question?",\r
9712         "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
9713         "comments": "",\r
9714         "x": 3286.150161743164,\r
9715         "y": 2208.566665649414,\r
9716         "z": "1b4ba1fc.83240e",\r
9717         "wires": []\r
9718     },\r
9719     {\r
9720         "id": "dab7847.8f75af8",\r
9721         "type": "execute",\r
9722         "name": "execute split tp-id to get pnf-name",\r
9723         "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
9724         "comments": "",\r
9725         "outputs": 1,\r
9726         "x": 3367.150161743164,\r
9727         "y": 2098.566665649414,\r
9728         "z": "1b4ba1fc.83240e",\r
9729         "wires": [\r
9730             [\r
9731                 "bb6830ab.78043",\r
9732                 "943e3a24.27d0d"\r
9733             ]\r
9734         ]\r
9735     },\r
9736     {\r
9737         "id": "943e3a24.27d0d",\r
9738         "type": "failure",\r
9739         "name": "success",\r
9740         "xml": "<outcome value='success'>\n",\r
9741         "comments": "",\r
9742         "outputs": 1,\r
9743         "x": 3590.150161743164,\r
9744         "y": 2084.566665649414,\r
9745         "z": "1b4ba1fc.83240e",\r
9746         "wires": [\r
9747             [\r
9748                 "14789ba.27922e4"\r
9749             ]\r
9750         ]\r
9751     },\r
9752     {\r
9753         "id": "bb6830ab.78043",\r
9754         "type": "failure",\r
9755         "name": "failure",\r
9756         "xml": "<outcome value='failure'>\n",\r
9757         "comments": "",\r
9758         "outputs": 1,\r
9759         "x": 3592.150161743164,\r
9760         "y": 2117.566665649414,\r
9761         "z": "1b4ba1fc.83240e",\r
9762         "wires": [\r
9763             []\r
9764         ]\r
9765     },\r
9766     {\r
9767         "id": "14789ba.27922e4",\r
9768         "type": "block",\r
9769         "name": "block : atomic",\r
9770         "xml": "<block atomic=\"true\">",\r
9771         "atomic": "true",\r
9772         "outputs": 1,\r
9773         "x": 3738.150161743164,\r
9774         "y": 2077.566665649414,\r
9775         "z": "1b4ba1fc.83240e",\r
9776         "wires": [\r
9777             [\r
9778                 "f084bd9b.374fe",\r
9779                 "635334a7.ad5104"\r
9780             ]\r
9781         ]\r
9782     },\r
9783     {\r
9784         "id": "f084bd9b.374fe",\r
9785         "type": "set",\r
9786         "name": "set pnf-name",\r
9787         "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
9788         "comments": "",\r
9789         "x": 3930.1500396728516,\r
9790         "y": 2014.566665649414,\r
9791         "z": "1b4ba1fc.83240e",\r
9792         "wires": []\r
9793     },\r
9794     {\r
9795         "id": "54bef6f2.4fc7a",\r
9796         "type": "for",\r
9797         "name": "for each relationship",\r
9798         "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
9799         "comments": "",\r
9800         "outputs": 1,\r
9801         "x": 3997.150161743164,\r
9802         "y": 2375.566665649414,\r
9803         "z": "1b4ba1fc.83240e",\r
9804         "wires": [\r
9805             [\r
9806                 "2fc07773.c6e698"\r
9807             ]\r
9808         ]\r
9809     },\r
9810     {\r
9811         "id": "2fc07773.c6e698",\r
9812         "type": "switchNode",\r
9813         "name": "switch related-to",\r
9814         "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
9815         "comments": "",\r
9816         "outputs": 1,\r
9817         "x": 4203.150161743164,\r
9818         "y": 2375.566665649414,\r
9819         "z": "1b4ba1fc.83240e",\r
9820         "wires": [\r
9821             [\r
9822                 "eda47f6d.73a9a"\r
9823             ]\r
9824         ]\r
9825     },\r
9826     {\r
9827         "id": "635334a7.ad5104",\r
9828         "type": "get-resource",\r
9829         "name": "get-resource src pnf",\r
9830         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
9831         "comments": "",\r
9832         "outputs": 1,\r
9833         "x": 3952.1500396728516,\r
9834         "y": 2082.566665649414,\r
9835         "z": "1b4ba1fc.83240e",\r
9836         "wires": [\r
9837             [\r
9838                 "fd3d2e45.ba5c18",\r
9839                 "6f65faaa.29e51c",\r
9840                 "979b3e61.62e1e8"\r
9841             ]\r
9842         ]\r
9843     },\r
9844     {\r
9845         "id": "fd3d2e45.ba5c18",\r
9846         "type": "success",\r
9847         "name": "success",\r
9848         "xml": "<outcome value='success'>\n",\r
9849         "comments": "",\r
9850         "outputs": 1,\r
9851         "x": 4147.650161743164,\r
9852         "y": 2034.566665649414,\r
9853         "z": "1b4ba1fc.83240e",\r
9854         "wires": [\r
9855             [\r
9856                 "76cbe983.f31c3"\r
9857             ]\r
9858         ]\r
9859     },\r
9860     {\r
9861         "id": "6f65faaa.29e51c",\r
9862         "type": "not-found",\r
9863         "name": "not-found",\r
9864         "xml": "<outcome value='not-found'>\n",\r
9865         "comments": "",\r
9866         "outputs": 1,\r
9867         "x": 4139.650161743164,\r
9868         "y": 2089.566665649414,\r
9869         "z": "1b4ba1fc.83240e",\r
9870         "wires": [\r
9871             [\r
9872                 "ad429934.3c84f"\r
9873             ]\r
9874         ]\r
9875     },\r
9876     {\r
9877         "id": "979b3e61.62e1e8",\r
9878         "type": "other",\r
9879         "name": "other",\r
9880         "xml": "<outcome value='Other'>\n",\r
9881         "comments": "",\r
9882         "outputs": 1,\r
9883         "x": 4144.650161743164,\r
9884         "y": 2146.566665649414,\r
9885         "z": "1b4ba1fc.83240e",\r
9886         "wires": [\r
9887             [\r
9888                 "bbff5204.a70cf8"\r
9889             ]\r
9890         ]\r
9891     },\r
9892     {\r
9893         "id": "bbff5204.a70cf8",\r
9894         "type": "returnFailure",\r
9895         "name": "return failure",\r
9896         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
9897         "comments": "",\r
9898         "x": 4296.650161743164,\r
9899         "y": 2147.566665649414,\r
9900         "z": "1b4ba1fc.83240e",\r
9901         "wires": []\r
9902     },\r
9903     {\r
9904         "id": "76cbe983.f31c3",\r
9905         "type": "block",\r
9906         "name": "block",\r
9907         "xml": "<block>\n",\r
9908         "atomic": "false",\r
9909         "comments": "",\r
9910         "outputs": 1,\r
9911         "x": 4292.032485961914,\r
9912         "y": 2032.2223358154297,\r
9913         "z": "1b4ba1fc.83240e",\r
9914         "wires": [\r
9915             [\r
9916                 "181d9117.3dc1c7"\r
9917             ]\r
9918         ]\r
9919     },\r
9920     {\r
9921         "id": "a71111e6.40602",\r
9922         "type": "set",\r
9923         "name": "set SECONDARY-ROOT stuff",\r
9924         "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
9925         "comments": "",\r
9926         "x": 3347.816665649414,\r
9927         "y": 2343.566665649414,\r
9928         "z": "1b4ba1fc.83240e",\r
9929         "wires": []\r
9930     },\r
9931     {\r
9932         "id": "f86bd22d.6a796",\r
9933         "type": "comment",\r
9934         "name": "NOT NEEDED ANYMORE?",\r
9935         "info": "",\r
9936         "comments": "",\r
9937         "x": 4026.816635131836,\r
9938         "y": 2319.5665130615234,\r
9939         "z": "1b4ba1fc.83240e",\r
9940         "wires": []\r
9941     },\r
9942     {\r
9943         "id": "44c8e026.3089e",\r
9944         "type": "returnFailure",\r
9945         "name": "return failure",\r
9946         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value=\"An error occured while splitting sna1_route\" />\n",\r
9947         "comments": "",\r
9948         "x": 4400.150161743164,\r
9949         "y": 2282.566665649414,\r
9950         "z": "1b4ba1fc.83240e",\r
9951         "wires": []\r
9952     },\r
9953     {\r
9954         "id": "624b6d74.0c220c",\r
9955         "type": "block",\r
9956         "name": "block : atomic",\r
9957         "xml": "<block atomic=\"true\">",\r
9958         "atomic": "true",\r
9959         "outputs": 1,\r
9960         "x": 4404.150161743164,\r
9961         "y": 2196.566665649414,\r
9962         "z": "1b4ba1fc.83240e",\r
9963         "wires": [\r
9964             [\r
9965                 "6725a861.5cac68",\r
9966                 "116c17e7.39a43"\r
9967             ]\r
9968         ]\r
9969     },\r
9970     {\r
9971         "id": "eda47f6d.73a9a",\r
9972         "type": "outcome",\r
9973         "name": "tunnel-termination-point",\r
9974         "xml": "<outcome value='tunnel-termination-point'>\n",\r
9975         "comments": "",\r
9976         "outputs": 1,\r
9977         "x": 4420.435806274414,\r
9978         "y": 2374.388442993164,\r
9979         "z": "1b4ba1fc.83240e",\r
9980         "wires": [\r
9981             [\r
9982                 "c2e9db6e.5e8918"\r
9983             ]\r
9984         ]\r
9985     },\r
9986     {\r
9987         "id": "ad429934.3c84f",\r
9988         "type": "returnFailure",\r
9989         "name": "return failure",\r
9990         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
9991         "comments": "",\r
9992         "x": 4307.650161743164,\r
9993         "y": 2092.566665649414,\r
9994         "z": "1b4ba1fc.83240e",\r
9995         "wires": []\r
9996     },\r
9997     {\r
9998         "id": "6725a861.5cac68",\r
9999         "type": "set",\r
10000         "name": "set ltpId",\r
10001         "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
10002         "comments": "",\r
10003         "x": 4574.150161743164,\r
10004         "y": 2157.566665649414,\r
10005         "z": "1b4ba1fc.83240e",\r
10006         "wires": []\r
10007     },\r
10008     {\r
10009         "id": "116c17e7.39a43",\r
10010         "type": "set",\r
10011         "name": "set pnf-name",\r
10012         "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
10013         "comments": "",\r
10014         "x": 4575.150161743164,\r
10015         "y": 2262.566665649414,\r
10016         "z": "1b4ba1fc.83240e",\r
10017         "wires": []\r
10018     },\r
10019     {\r
10020         "id": "d91f7d75.bbcbd8",\r
10021         "type": "comment",\r
10022         "name": "TODO: FIXME",\r
10023         "info": "using the output of regex string arrays,\nconcatinate index 0 to index[length-2] all together\nin order to assemble the correct pnf-name",\r
10024         "comments": "",\r
10025         "x": 4570.150161743164,\r
10026         "y": 2211.566665649414,\r
10027         "z": "1b4ba1fc.83240e",\r
10028         "wires": []\r
10029     },\r
10030     {\r
10031         "id": "c2e9db6e.5e8918",\r
10032         "type": "block",\r
10033         "name": "block : atomic",\r
10034         "xml": "<block atomic=\"true\">",\r
10035         "atomic": "true",\r
10036         "outputs": 1,\r
10037         "x": 4627.267349243164,\r
10038         "y": 2363.9071197509766,\r
10039         "z": "1b4ba1fc.83240e",\r
10040         "wires": [\r
10041             [\r
10042                 "a655b2d0.b12cf8",\r
10043                 "1b13a85a.c9fe7",\r
10044                 "4c91f5f3.8ae07c"\r
10045             ]\r
10046         ]\r
10047     },\r
10048     {\r
10049         "id": "a655b2d0.b12cf8",\r
10050         "type": "set",\r
10051         "name": "set destination ttp-id",\r
10052         "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
10053         "comments": "",\r
10054         "x": 4842.267349243164,\r
10055         "y": 2325.9071197509766,\r
10056         "z": "1b4ba1fc.83240e",\r
10057         "wires": []\r
10058     },\r
10059     {\r
10060         "id": "1b13a85a.c9fe7",\r
10061         "type": "get-resource",\r
10062         "name": "get-resource src TTP",\r
10063         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
10064         "comments": "",\r
10065         "outputs": 1,\r
10066         "x": 4839.267349243164,\r
10067         "y": 2364.9071197509766,\r
10068         "z": "1b4ba1fc.83240e",\r
10069         "wires": [\r
10070             [\r
10071                 "14ad9c89.4bb913"\r
10072             ]\r
10073         ]\r
10074     },\r
10075     {\r
10076         "id": "4c91f5f3.8ae07c",\r
10077         "type": "break",\r
10078         "name": "break",\r
10079         "xml": "<break>\n",\r
10080         "comments": "",\r
10081         "x": 4794.767349243164,\r
10082         "y": 2406.9071197509766,\r
10083         "z": "1b4ba1fc.83240e",\r
10084         "wires": []\r
10085     },\r
10086     {\r
10087         "id": "5e825807.3f1cc",\r
10088         "type": "outcome",\r
10089         "name": "esr-thirdparty-sdnc",\r
10090         "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
10091         "comments": "",\r
10092         "outputs": 1,\r
10093         "x": 4876.150161743164,\r
10094         "y": 2116.5667877197266,\r
10095         "z": "1b4ba1fc.83240e",\r
10096         "wires": [\r
10097             [\r
10098                 "fd8902be.b515c8"\r
10099             ]\r
10100         ]\r
10101     },\r
10102     {\r
10103         "id": "181d9117.3dc1c7",\r
10104         "type": "for",\r
10105         "name": "for each relationship",\r
10106         "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
10107         "comments": "",\r
10108         "outputs": 1,\r
10109         "x": 4476.150039672852,\r
10110         "y": 2046.566665649414,\r
10111         "z": "1b4ba1fc.83240e",\r
10112         "wires": [\r
10113             [\r
10114                 "b70e554c.645b38"\r
10115             ]\r
10116         ]\r
10117     },\r
10118     {\r
10119         "id": "b70e554c.645b38",\r
10120         "type": "switchNode",\r
10121         "name": "switch related-to",\r
10122         "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
10123         "comments": "",\r
10124         "outputs": 1,\r
10125         "x": 4673.150161743164,\r
10126         "y": 2112.5667877197266,\r
10127         "z": "1b4ba1fc.83240e",\r
10128         "wires": [\r
10129             [\r
10130                 "5e825807.3f1cc",\r
10131                 "25292003.2c4df"\r
10132             ]\r
10133         ]\r
10134     },\r
10135     {\r
10136         "id": "25292003.2c4df",\r
10137         "type": "outcome",\r
10138         "name": "network-resource",\r
10139         "xml": "<outcome value='network-resource'>",\r
10140         "comments": "",\r
10141         "outputs": 1,\r
10142         "x": 4878.150161743164,\r
10143         "y": 2189.5667877197266,\r
10144         "z": "1b4ba1fc.83240e",\r
10145         "wires": [\r
10146             [\r
10147                 "c08bfda1.3541a8"\r
10148             ]\r
10149         ]\r
10150     },\r
10151     {\r
10152         "id": "14ad9c89.4bb913",\r
10153         "type": "success",\r
10154         "name": "success",\r
10155         "xml": "<outcome value='success'>\n",\r
10156         "comments": "",\r
10157         "outputs": 1,\r
10158         "x": 5019.767349243164,\r
10159         "y": 2363.9071197509766,\r
10160         "z": "1b4ba1fc.83240e",\r
10161         "wires": [\r
10162             [\r
10163                 "f56384d9.606e1"\r
10164             ]\r
10165         ]\r
10166     },\r
10167     {\r
10168         "id": "f56384d9.606e1",\r
10169         "type": "block",\r
10170         "name": "block : atomic",\r
10171         "xml": "<block atomic=\"true\">",\r
10172         "atomic": "true",\r
10173         "outputs": 1,\r
10174         "x": 5177.767349243164,\r
10175         "y": 2363.9071197509766,\r
10176         "z": "1b4ba1fc.83240e",\r
10177         "wires": [\r
10178             [\r
10179                 "a47e1ae7.393b38"\r
10180             ]\r
10181         ]\r
10182     },\r
10183     {\r
10184         "id": "a47e1ae7.393b38",\r
10185         "type": "set",\r
10186         "name": "set destination tunnel tp ip",\r
10187         "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
10188         "comments": "",\r
10189         "x": 5384.767349243164,\r
10190         "y": 2363.9071197509766,\r
10191         "z": "1b4ba1fc.83240e",\r
10192         "wires": []\r
10193     },\r
10194     {\r
10195         "id": "fd8902be.b515c8",\r
10196         "type": "block",\r
10197         "name": "block : atomic",\r
10198         "xml": "<block atomic=\"true\">",\r
10199         "atomic": "true",\r
10200         "outputs": 1,\r
10201         "x": 5053.150161743164,\r
10202         "y": 2108.5667877197266,\r
10203         "z": "1b4ba1fc.83240e",\r
10204         "wires": [\r
10205             [\r
10206                 "3983145.c01d1ec",\r
10207                 "ded6bcc1.37b508"\r
10208             ]\r
10209         ]\r
10210     },\r
10211     {\r
10212         "id": "ded6bcc1.37b508",\r
10213         "type": "execute",\r
10214         "name": "get esr-thirdparty-sdnc",\r
10215         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
10216         "comments": "",\r
10217         "outputs": 1,\r
10218         "x": 5261.150161743164,\r
10219         "y": 2115.5667877197266,\r
10220         "z": "1b4ba1fc.83240e",\r
10221         "wires": [\r
10222             [\r
10223                 "15291f10.bfa1d1",\r
10224                 "4ad88ea0.313028",\r
10225                 "9de78895.27ba68"\r
10226             ]\r
10227         ]\r
10228     },\r
10229     {\r
10230         "id": "c08bfda1.3541a8",\r
10231         "type": "block",\r
10232         "name": "block : atomic",\r
10233         "xml": "<block atomic=\"true\">",\r
10234         "atomic": "true",\r
10235         "outputs": 1,\r
10236         "x": 5055.150161743164,\r
10237         "y": 2181.5667877197266,\r
10238         "z": "1b4ba1fc.83240e",\r
10239         "wires": [\r
10240             [\r
10241                 "757e0ab3.492124"\r
10242             ]\r
10243         ]\r
10244     },\r
10245     {\r
10246         "id": "3983145.c01d1ec",\r
10247         "type": "set",\r
10248         "name": "set esr-thirdparty-sdnc domainC id",\r
10249         "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10250         "comments": "",\r
10251         "x": 5291.150161743164,\r
10252         "y": 2063.5667877197266,\r
10253         "z": "1b4ba1fc.83240e",\r
10254         "wires": []\r
10255     },\r
10256     {\r
10257         "id": "757e0ab3.492124",\r
10258         "type": "set",\r
10259         "name": "set domainC ethernet layer network-id",\r
10260         "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
10261         "comments": "",\r
10262         "x": 5290.150161743164,\r
10263         "y": 2305.5667877197266,\r
10264         "z": "1b4ba1fc.83240e",\r
10265         "wires": []\r
10266     },\r
10267     {\r
10268         "id": "15291f10.bfa1d1",\r
10269         "type": "success",\r
10270         "name": "success",\r
10271         "xml": "<outcome value='success'>\n",\r
10272         "comments": "",\r
10273         "outputs": 1,\r
10274         "x": 5471.150161743164,\r
10275         "y": 2106.5667877197266,\r
10276         "z": "1b4ba1fc.83240e",\r
10277         "wires": [\r
10278             [\r
10279                 "f933124d.0d0d48"\r
10280             ]\r
10281         ]\r
10282     },\r
10283     {\r
10284         "id": "4ad88ea0.313028",\r
10285         "type": "not-found",\r
10286         "name": "not-found",\r
10287         "xml": "<outcome value='not-found'>\n",\r
10288         "comments": "",\r
10289         "outputs": 1,\r
10290         "x": 5463.150161743164,\r
10291         "y": 2161.5667877197266,\r
10292         "z": "1b4ba1fc.83240e",\r
10293         "wires": [\r
10294             [\r
10295                 "708c5d46.721ab4"\r
10296             ]\r
10297         ]\r
10298     },\r
10299     {\r
10300         "id": "9de78895.27ba68",\r
10301         "type": "other",\r
10302         "name": "other",\r
10303         "xml": "<outcome value='Other'>\n",\r
10304         "comments": "",\r
10305         "outputs": 1,\r
10306         "x": 5468.150161743164,\r
10307         "y": 2218.5667877197266,\r
10308         "z": "1b4ba1fc.83240e",\r
10309         "wires": [\r
10310             [\r
10311                 "c3cc12ab.3cd488"\r
10312             ]\r
10313         ]\r
10314     },\r
10315     {\r
10316         "id": "c3cc12ab.3cd488",\r
10317         "type": "returnFailure",\r
10318         "name": "return failure",\r
10319         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'Unexpected error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
10320         "comments": "",\r
10321         "x": 5620.150161743164,\r
10322         "y": 2219.5667877197266,\r
10323         "z": "1b4ba1fc.83240e",\r
10324         "wires": []\r
10325     },\r
10326     {\r
10327         "id": "708c5d46.721ab4",\r
10328         "type": "returnFailure",\r
10329         "name": "return failure",\r
10330         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.connection-attachement.access-node-id`\" />\n\n",\r
10331         "comments": "",\r
10332         "x": 5631.150161743164,\r
10333         "y": 2164.5667877197266,\r
10334         "z": "1b4ba1fc.83240e",\r
10335         "wires": []\r
10336     },\r
10337     {\r
10338         "id": "f933124d.0d0d48",\r
10339         "type": "block",\r
10340         "name": "block",\r
10341         "xml": "<block>\n",\r
10342         "atomic": "false",\r
10343         "comments": "",\r
10344         "outputs": 1,\r
10345         "x": 5615.532485961914,\r
10346         "y": 2104.222457885742,\r
10347         "z": "1b4ba1fc.83240e",\r
10348         "wires": [\r
10349             [\r
10350                 "2ba1c8df.2a738"\r
10351             ]\r
10352         ]\r
10353     },\r
10354     {\r
10355         "id": "2ba1c8df.2a738",\r
10356         "type": "set",\r
10357         "name": "set controller domainC data",\r
10358         "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
10359         "comments": "",\r
10360         "x": 5830.150161743164,\r
10361         "y": 2100.5667877197266,\r
10362         "z": "1b4ba1fc.83240e",\r
10363         "wires": []\r
10364     },\r
10365     {\r
10366         "id": "5dc3af5e.92a278",\r
10367         "type": "switchNode",\r
10368         "name": "switch $hasSecondary",\r
10369         "xml": "<switch test='`$hasSecondary`'>\n",\r
10370         "comments": "",\r
10371         "outputs": 1,\r
10372         "x": 3861.816665649414,\r
10373         "y": 2712.566665649414,\r
10374         "z": "1b4ba1fc.83240e",\r
10375         "wires": [\r
10376             [\r
10377                 "a2e190cc.8d4f1"\r
10378             ]\r
10379         ]\r
10380     },\r
10381     {\r
10382         "id": "a2e190cc.8d4f1",\r
10383         "type": "outcomeTrue",\r
10384         "name": "true",\r
10385         "xml": "<outcome value='true'>\n",\r
10386         "comments": "",\r
10387         "outputs": 1,\r
10388         "x": 4052.816665649414,\r
10389         "y": 2716.566665649414,\r
10390         "z": "1b4ba1fc.83240e",\r
10391         "wires": [\r
10392             [\r
10393                 "d5cbc45b.cf7e18"\r
10394             ]\r
10395         ]\r
10396     },\r
10397     {\r
10398         "id": "d5cbc45b.cf7e18",\r
10399         "type": "block",\r
10400         "name": "block",\r
10401         "xml": "<block>\n",\r
10402         "atomic": "false",\r
10403         "comments": "",\r
10404         "outputs": 1,\r
10405         "x": 4179.816665649414,\r
10406         "y": 2715.566665649414,\r
10407         "z": "1b4ba1fc.83240e",\r
10408         "wires": [\r
10409             [\r
10410                 "9dcfaa3c.2df838"\r
10411             ]\r
10412         ]\r
10413     },\r
10414     {\r
10415         "id": "9dcfaa3c.2df838",\r
10416         "type": "save",\r
10417         "name": "get secondary root uni from aai",\r
10418         "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
10419         "comments": "",\r
10420         "outputs": 1,\r
10421         "x": 4406.150405883789,\r
10422         "y": 2708.9002838134766,\r
10423         "z": "1b4ba1fc.83240e",\r
10424         "wires": [\r
10425             [\r
10426                 "9b50524c.8f5e2",\r
10427                 "d7d45f06.b90c18",\r
10428                 "a735aab1.9f93a8"\r
10429             ]\r
10430         ]\r
10431     },\r
10432     {\r
10433         "id": "9b50524c.8f5e2",\r
10434         "type": "not-found",\r
10435         "name": "not-found",\r
10436         "xml": "<outcome value='not-found'>\n",\r
10437         "comments": "",\r
10438         "outputs": 1,\r
10439         "x": 4773.150161743164,\r
10440         "y": 2602.900161743164,\r
10441         "z": "1b4ba1fc.83240e",\r
10442         "wires": [\r
10443             [\r
10444                 "c267b95.509ac48"\r
10445             ]\r
10446         ]\r
10447     },\r
10448     {\r
10449         "id": "d7d45f06.b90c18",\r
10450         "type": "failure",\r
10451         "name": "failure",\r
10452         "xml": "<outcome value='failure'>\n",\r
10453         "comments": "",\r
10454         "outputs": 1,\r
10455         "x": 4768.659194946289,\r
10456         "y": 2647.326126098633,\r
10457         "z": "1b4ba1fc.83240e",\r
10458         "wires": [\r
10459             [\r
10460                 "bfc554f5.bfe79"\r
10461             ]\r
10462         ]\r
10463     },\r
10464     {\r
10465         "id": "a735aab1.9f93a8",\r
10466         "type": "success",\r
10467         "name": "success",\r
10468         "xml": "<outcome value='success'>\n",\r
10469         "comments": "",\r
10470         "outputs": 1,\r
10471         "x": 4764.659194946289,\r
10472         "y": 2697.326187133789,\r
10473         "z": "1b4ba1fc.83240e",\r
10474         "wires": [\r
10475             [\r
10476                 "6ab7706d.b84f78"\r
10477             ]\r
10478         ]\r
10479     },\r
10480     {\r
10481         "id": "5ae763e6.35d8f4",\r
10482         "type": "save",\r
10483         "name": "update SECONDARY-ROOT UNI in AAI",\r
10484         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
10485         "comments": "",\r
10486         "outputs": 1,\r
10487         "x": 5212.659683227539,\r
10488         "y": 2692.3263092041016,\r
10489         "z": "1b4ba1fc.83240e",\r
10490         "wires": [\r
10491             []\r
10492         ]\r
10493     },\r
10494     {\r
10495         "id": "c267b95.509ac48",\r
10496         "type": "returnFailure",\r
10497         "name": "return failure",\r
10498         "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
10499         "comments": "",\r
10500         "x": 4935.721694946289,\r
10501         "y": 2602.1858673095703,\r
10502         "z": "1b4ba1fc.83240e",\r
10503         "wires": []\r
10504     },\r
10505     {\r
10506         "id": "bfc554f5.bfe79",\r
10507         "type": "returnFailure",\r
10508         "name": "return failure",\r
10509         "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
10510         "comments": "",\r
10511         "x": 4936.659194946289,\r
10512         "y": 2647.326126098633,\r
10513         "z": "1b4ba1fc.83240e",\r
10514         "wires": []\r
10515     },\r
10516     {\r
10517         "id": "6ab7706d.b84f78",\r
10518         "type": "block",\r
10519         "name": "block : atomic",\r
10520         "xml": "<block atomic=\"true\">",\r
10521         "atomic": "true",\r
10522         "outputs": 1,\r
10523         "x": 4933.659194946289,\r
10524         "y": 2697.326187133789,\r
10525         "z": "1b4ba1fc.83240e",\r
10526         "wires": [\r
10527             [\r
10528                 "3400e5b4.3cd32a",\r
10529                 "5ae763e6.35d8f4"\r
10530             ]\r
10531         ]\r
10532     },\r
10533     {\r
10534         "id": "3400e5b4.3cd32a",\r
10535         "type": "set",\r
10536         "name": "set new bw",\r
10537         "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source - $bwToBeDecreased`' />\n",\r
10538         "comments": "",\r
10539         "x": 5115.659927368164,\r
10540         "y": 2639.326187133789,\r
10541         "z": "1b4ba1fc.83240e",\r
10542         "wires": []\r
10543     },\r
10544     {\r
10545         "id": "fa76b584.bdbd9",\r
10546         "type": "switchNode",\r
10547         "name": "switch tmp.mmUNI-id-long != SECONDARY-ROOT UNI",\r
10548         "xml": "\n<switch test=\"`$tmp.mmUNI-id-long != $tmp.SECONDARY-ROOT.uni-p-interface-long`\">\n\n",\r
10549         "comments": "",\r
10550         "outputs": 1,\r
10551         "x": 4650.150405883789,\r
10552         "y": 3552.899917602539,\r
10553         "z": "1b4ba1fc.83240e",\r
10554         "wires": [\r
10555             [\r
10556                 "ef9b97c4.4f1c68"\r
10557             ]\r
10558         ]\r
10559     },\r
10560     {\r
10561         "id": "ef9b97c4.4f1c68",\r
10562         "type": "outcomeTrue",\r
10563         "name": "true",\r
10564         "xml": "<outcome value='true'>\n",\r
10565         "comments": "",\r
10566         "outputs": 1,\r
10567         "x": 4940.150405883789,\r
10568         "y": 3554.899917602539,\r
10569         "z": "1b4ba1fc.83240e",\r
10570         "wires": [\r
10571             [\r
10572                 "608ff90c.2e5fc"\r
10573             ]\r
10574         ]\r
10575     },\r
10576     {\r
10577         "id": "35800841.c29e7",\r
10578         "type": "switchNode",\r
10579         "name": "switch $hasSecondary",\r
10580         "xml": "<switch test='`$hasSecondary`'>\n",\r
10581         "comments": "",\r
10582         "outputs": 1,\r
10583         "x": 4302.683364868164,\r
10584         "y": 5782.900161743164,\r
10585         "z": "1b4ba1fc.83240e",\r
10586         "wires": [\r
10587             [\r
10588                 "23246adb.7861de"\r
10589             ]\r
10590         ]\r
10591     },\r
10592     {\r
10593         "id": "23246adb.7861de",\r
10594         "type": "outcomeTrue",\r
10595         "name": "true",\r
10596         "xml": "<outcome value='true'>\n",\r
10597         "comments": "",\r
10598         "outputs": 1,\r
10599         "x": 4493.683364868164,\r
10600         "y": 5786.900161743164,\r
10601         "z": "1b4ba1fc.83240e",\r
10602         "wires": [\r
10603             [\r
10604                 "f3b9dd7.5ea102"\r
10605             ]\r
10606         ]\r
10607     },\r
10608     {\r
10609         "id": "f3b9dd7.5ea102",\r
10610         "type": "block",\r
10611         "name": "block",\r
10612         "xml": "<block>\n",\r
10613         "atomic": "false",\r
10614         "comments": "",\r
10615         "outputs": 1,\r
10616         "x": 4620.683364868164,\r
10617         "y": 5785.900161743164,\r
10618         "z": "1b4ba1fc.83240e",\r
10619         "wires": [\r
10620             [\r
10621                 "60b7ba2f.bc3c0c"\r
10622             ]\r
10623         ]\r
10624     },\r
10625     {\r
10626         "id": "60b7ba2f.bc3c0c",\r
10627         "type": "switchNode",\r
10628         "name": "switch 2-ROOTS in same domain?",\r
10629         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10630         "comments": "",\r
10631         "outputs": 1,\r
10632         "x": 4846.016372680664,\r
10633         "y": 5787.900161743164,\r
10634         "z": "1b4ba1fc.83240e",\r
10635         "wires": [\r
10636             [\r
10637                 "2443ceec.623df2",\r
10638                 "ad2ba37e.796088"\r
10639             ]\r
10640         ]\r
10641     },\r
10642     {\r
10643         "id": "2443ceec.623df2",\r
10644         "type": "outcomeTrue",\r
10645         "name": "true",\r
10646         "xml": "<outcome value='true'>\n",\r
10647         "comments": "",\r
10648         "outputs": 1,\r
10649         "x": 5056.016372680664,\r
10650         "y": 5764.900161743164,\r
10651         "z": "1b4ba1fc.83240e",\r
10652         "wires": [\r
10653             [\r
10654                 "bd893034.6b25e8"\r
10655             ]\r
10656         ]\r
10657     },\r
10658     {\r
10659         "id": "ad2ba37e.796088",\r
10660         "type": "outcomeTrue",\r
10661         "name": "false",\r
10662         "xml": "<outcome value='false'>\n",\r
10663         "comments": "",\r
10664         "outputs": 1,\r
10665         "x": 5061.016372680664,\r
10666         "y": 5813.900161743164,\r
10667         "z": "1b4ba1fc.83240e",\r
10668         "wires": [\r
10669             [\r
10670                 "d0993207.1b217"\r
10671             ]\r
10672         ]\r
10673     },\r
10674     {\r
10675         "id": "bd893034.6b25e8",\r
10676         "type": "block",\r
10677         "name": "block",\r
10678         "xml": "<block>\n",\r
10679         "atomic": "false",\r
10680         "comments": "",\r
10681         "outputs": 1,\r
10682         "x": 5182.016372680664,\r
10683         "y": 5764.900161743164,\r
10684         "z": "1b4ba1fc.83240e",\r
10685         "wires": [\r
10686             []\r
10687         ]\r
10688     },\r
10689     {\r
10690         "id": "d0993207.1b217",\r
10691         "type": "block",\r
10692         "name": "block",\r
10693         "xml": "<block>\n",\r
10694         "atomic": "false",\r
10695         "comments": "",\r
10696         "outputs": 1,\r
10697         "x": 5179.016372680664,\r
10698         "y": 5820.900161743164,\r
10699         "z": "1b4ba1fc.83240e",\r
10700         "wires": [\r
10701             [\r
10702                 "7824302d.31915",\r
10703                 "638f8d60.f2970c"\r
10704             ]\r
10705         ]\r
10706     },\r
10707     {\r
10708         "id": "7824302d.31915",\r
10709         "type": "save",\r
10710         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10711         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10712         "comments": "",\r
10713         "outputs": 1,\r
10714         "x": 5493.016372680664,\r
10715         "y": 5879.900161743164,\r
10716         "z": "1b4ba1fc.83240e",\r
10717         "wires": [\r
10718             []\r
10719         ]\r
10720     },\r
10721     {\r
10722         "id": "b539af9b.8e6488",\r
10723         "type": "comment",\r
10724         "name": "Update connectivity status to modified",\r
10725         "info": "",\r
10726         "comments": "",\r
10727         "x": 5425.233413696289,\r
10728         "y": 5831.699966430664,\r
10729         "z": "1b4ba1fc.83240e",\r
10730         "wires": []\r
10731     },\r
10732     {\r
10733         "id": "638f8d60.f2970c",\r
10734         "type": "call",\r
10735         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10736         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10737         "comments": "",\r
10738         "outputs": 1,\r
10739         "x": 5623.683364868164,\r
10740         "y": 5789.900161743164,\r
10741         "z": "1b4ba1fc.83240e",\r
10742         "wires": [\r
10743             []\r
10744         ]\r
10745     },\r
10746     {\r
10747         "id": "9c7760f0.090d48",\r
10748         "type": "switchNode",\r
10749         "name": "switch $hasSecondary",\r
10750         "xml": "<switch test='`$hasSecondary`'>\n",\r
10751         "comments": "",\r
10752         "outputs": 1,\r
10753         "x": 893.6833648681641,\r
10754         "y": 4979.899673461914,\r
10755         "z": "1b4ba1fc.83240e",\r
10756         "wires": [\r
10757             [\r
10758                 "89d9c849.63865"\r
10759             ]\r
10760         ]\r
10761     },\r
10762     {\r
10763         "id": "89d9c849.63865",\r
10764         "type": "outcomeTrue",\r
10765         "name": "true",\r
10766         "xml": "<outcome value='true'>\n",\r
10767         "comments": "",\r
10768         "outputs": 1,\r
10769         "x": 1084.683364868164,\r
10770         "y": 4983.899673461914,\r
10771         "z": "1b4ba1fc.83240e",\r
10772         "wires": [\r
10773             [\r
10774                 "71eabcdb.edbe1c"\r
10775             ]\r
10776         ]\r
10777     },\r
10778     {\r
10779         "id": "71eabcdb.edbe1c",\r
10780         "type": "block",\r
10781         "name": "block",\r
10782         "xml": "<block>\n",\r
10783         "atomic": "false",\r
10784         "comments": "",\r
10785         "outputs": 1,\r
10786         "x": 1211.683364868164,\r
10787         "y": 4982.899673461914,\r
10788         "z": "1b4ba1fc.83240e",\r
10789         "wires": [\r
10790             [\r
10791                 "b655e9e.17d4118"\r
10792             ]\r
10793         ]\r
10794     },\r
10795     {\r
10796         "id": "b655e9e.17d4118",\r
10797         "type": "switchNode",\r
10798         "name": "switch 2-ROOTS in same domain?",\r
10799         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10800         "comments": "",\r
10801         "outputs": 1,\r
10802         "x": 1437.016372680664,\r
10803         "y": 4984.899673461914,\r
10804         "z": "1b4ba1fc.83240e",\r
10805         "wires": [\r
10806             [\r
10807                 "451cba7b.55b034",\r
10808                 "89345bed.8540d8"\r
10809             ]\r
10810         ]\r
10811     },\r
10812     {\r
10813         "id": "451cba7b.55b034",\r
10814         "type": "outcomeTrue",\r
10815         "name": "true",\r
10816         "xml": "<outcome value='true'>\n",\r
10817         "comments": "",\r
10818         "outputs": 1,\r
10819         "x": 1647.016372680664,\r
10820         "y": 4961.899673461914,\r
10821         "z": "1b4ba1fc.83240e",\r
10822         "wires": [\r
10823             [\r
10824                 "6b3712d.199ce6c"\r
10825             ]\r
10826         ]\r
10827     },\r
10828     {\r
10829         "id": "89345bed.8540d8",\r
10830         "type": "outcomeTrue",\r
10831         "name": "false",\r
10832         "xml": "<outcome value='false'>\n",\r
10833         "comments": "",\r
10834         "outputs": 1,\r
10835         "x": 1652.016372680664,\r
10836         "y": 5010.899673461914,\r
10837         "z": "1b4ba1fc.83240e",\r
10838         "wires": [\r
10839             [\r
10840                 "84894ba9.2f6d9"\r
10841             ]\r
10842         ]\r
10843     },\r
10844     {\r
10845         "id": "6b3712d.199ce6c",\r
10846         "type": "block",\r
10847         "name": "block",\r
10848         "xml": "<block>\n",\r
10849         "atomic": "false",\r
10850         "comments": "",\r
10851         "outputs": 1,\r
10852         "x": 1773.016372680664,\r
10853         "y": 4961.899673461914,\r
10854         "z": "1b4ba1fc.83240e",\r
10855         "wires": [\r
10856             []\r
10857         ]\r
10858     },\r
10859     {\r
10860         "id": "84894ba9.2f6d9",\r
10861         "type": "block",\r
10862         "name": "block",\r
10863         "xml": "<block>\n",\r
10864         "atomic": "false",\r
10865         "comments": "",\r
10866         "outputs": 1,\r
10867         "x": 1770.016372680664,\r
10868         "y": 5017.899673461914,\r
10869         "z": "1b4ba1fc.83240e",\r
10870         "wires": [\r
10871             [\r
10872                 "d5552e7d.44cc8",\r
10873                 "e67d570d.d5f9f"\r
10874             ]\r
10875         ]\r
10876     },\r
10877     {\r
10878         "id": "e67d570d.d5f9f",\r
10879         "type": "call",\r
10880         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10881         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10882         "comments": "",\r
10883         "outputs": 1,\r
10884         "x": 2214.683364868164,\r
10885         "y": 4986.899673461914,\r
10886         "z": "1b4ba1fc.83240e",\r
10887         "wires": [\r
10888             []\r
10889         ]\r
10890     },\r
10891     {\r
10892         "id": "41723099.7f44e8",\r
10893         "type": "comment",\r
10894         "name": "Update connectivity status to modified",\r
10895         "info": "",\r
10896         "comments": "",\r
10897         "x": 2016.233413696289,\r
10898         "y": 5028.699478149414,\r
10899         "z": "1b4ba1fc.83240e",\r
10900         "wires": []\r
10901     },\r
10902     {\r
10903         "id": "d5552e7d.44cc8",\r
10904         "type": "save",\r
10905         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
10906         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10907         "comments": "",\r
10908         "outputs": 1,\r
10909         "x": 2084.016372680664,\r
10910         "y": 5076.899673461914,\r
10911         "z": "1b4ba1fc.83240e",\r
10912         "wires": [\r
10913             []\r
10914         ]\r
10915     },\r
10916     {\r
10917         "id": "5d9c1c4d.83462c",\r
10918         "type": "switchNode",\r
10919         "name": "switch $hasSecondary",\r
10920         "xml": "<switch test='`$hasSecondary`'>\n",\r
10921         "comments": "",\r
10922         "outputs": 1,\r
10923         "x": 1496.0167388916016,\r
10924         "y": 5820.900161743164,\r
10925         "z": "1b4ba1fc.83240e",\r
10926         "wires": [\r
10927             [\r
10928                 "4a1beb8f.c1dbac"\r
10929             ]\r
10930         ]\r
10931     },\r
10932     {\r
10933         "id": "4a1beb8f.c1dbac",\r
10934         "type": "outcomeTrue",\r
10935         "name": "true",\r
10936         "xml": "<outcome value='true'>\n",\r
10937         "comments": "",\r
10938         "outputs": 1,\r
10939         "x": 1687.0167388916016,\r
10940         "y": 5824.900161743164,\r
10941         "z": "1b4ba1fc.83240e",\r
10942         "wires": [\r
10943             [\r
10944                 "c43fef47.9c947"\r
10945             ]\r
10946         ]\r
10947     },\r
10948     {\r
10949         "id": "c43fef47.9c947",\r
10950         "type": "block",\r
10951         "name": "block",\r
10952         "xml": "<block>\n",\r
10953         "atomic": "false",\r
10954         "comments": "",\r
10955         "outputs": 1,\r
10956         "x": 1814.0167388916016,\r
10957         "y": 5823.900161743164,\r
10958         "z": "1b4ba1fc.83240e",\r
10959         "wires": [\r
10960             [\r
10961                 "40808ad0.742134"\r
10962             ]\r
10963         ]\r
10964     },\r
10965     {\r
10966         "id": "40808ad0.742134",\r
10967         "type": "switchNode",\r
10968         "name": "switch 2-ROOTS in same domain?",\r
10969         "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
10970         "comments": "",\r
10971         "outputs": 1,\r
10972         "x": 2039.3497467041016,\r
10973         "y": 5825.900161743164,\r
10974         "z": "1b4ba1fc.83240e",\r
10975         "wires": [\r
10976             [\r
10977                 "5a051931.8c6a5",\r
10978                 "818560aa.91932"\r
10979             ]\r
10980         ]\r
10981     },\r
10982     {\r
10983         "id": "5a051931.8c6a5",\r
10984         "type": "outcomeTrue",\r
10985         "name": "true",\r
10986         "xml": "<outcome value='true'>\n",\r
10987         "comments": "",\r
10988         "outputs": 1,\r
10989         "x": 2249.3497467041016,\r
10990         "y": 5802.900161743164,\r
10991         "z": "1b4ba1fc.83240e",\r
10992         "wires": [\r
10993             [\r
10994                 "8edca568.ede98"\r
10995             ]\r
10996         ]\r
10997     },\r
10998     {\r
10999         "id": "818560aa.91932",\r
11000         "type": "outcomeTrue",\r
11001         "name": "false",\r
11002         "xml": "<outcome value='false'>\n",\r
11003         "comments": "",\r
11004         "outputs": 1,\r
11005         "x": 2254.3497467041016,\r
11006         "y": 5851.900161743164,\r
11007         "z": "1b4ba1fc.83240e",\r
11008         "wires": [\r
11009             [\r
11010                 "9a80cebb.ff473"\r
11011             ]\r
11012         ]\r
11013     },\r
11014     {\r
11015         "id": "8edca568.ede98",\r
11016         "type": "block",\r
11017         "name": "block",\r
11018         "xml": "<block>\n",\r
11019         "atomic": "false",\r
11020         "comments": "",\r
11021         "outputs": 1,\r
11022         "x": 2375.3497467041016,\r
11023         "y": 5802.900161743164,\r
11024         "z": "1b4ba1fc.83240e",\r
11025         "wires": [\r
11026             []\r
11027         ]\r
11028     },\r
11029     {\r
11030         "id": "9a80cebb.ff473",\r
11031         "type": "block",\r
11032         "name": "block",\r
11033         "xml": "<block>\n",\r
11034         "atomic": "false",\r
11035         "comments": "",\r
11036         "outputs": 1,\r
11037         "x": 2372.3497467041016,\r
11038         "y": 5858.900161743164,\r
11039         "z": "1b4ba1fc.83240e",\r
11040         "wires": [\r
11041             [\r
11042                 "cc186b3e.b594b",\r
11043                 "5f3c966d.1d57c"\r
11044             ]\r
11045         ]\r
11046     },\r
11047     {\r
11048         "id": "5f3c966d.1d57c",\r
11049         "type": "call",\r
11050         "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
11051         "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
11052         "comments": "",\r
11053         "outputs": 1,\r
11054         "x": 2817.0167388916016,\r
11055         "y": 5827.900161743164,\r
11056         "z": "1b4ba1fc.83240e",\r
11057         "wires": [\r
11058             []\r
11059         ]\r
11060     },\r
11061     {\r
11062         "id": "224407cc.d62a7",\r
11063         "type": "comment",\r
11064         "name": "Update connectivity status to modified",\r
11065         "info": "",\r
11066         "comments": "",\r
11067         "x": 2618.5667877197266,\r
11068         "y": 5869.699966430664,\r
11069         "z": "1b4ba1fc.83240e",\r
11070         "wires": []\r
11071     },\r
11072     {\r
11073         "id": "cc186b3e.b594b",\r
11074         "type": "save",\r
11075         "name": "update SECONDARY-ROOT connectivity resource in AAI",\r
11076         "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id'>\n<parameter name='connectivity-id' value='`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`' />\n<parameter name='operational-status' value='Modified' />\n",\r
11077         "comments": "",\r
11078         "outputs": 1,\r
11079         "x": 2686.3497467041016,\r
11080         "y": 5917.900161743164,\r
11081         "z": "1b4ba1fc.83240e",\r
11082         "wires": [\r
11083             []\r
11084         ]\r
11085     },\r
11086     {\r
11087         "id": "9067b91d.deea4",\r
11088         "type": "execute",\r
11089         "name": "execute Terminate SSE Connection",\r
11090         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
11091         "comments": "",\r
11092         "outputs": 1,\r
11093         "x": 1546.4500274658203,\r
11094         "y": 6126.280899047852,\r
11095         "z": "1b4ba1fc.83240e",\r
11096         "wires": [\r
11097             []\r
11098         ]\r
11099     },\r
11100     {\r
11101         "id": "61909f2b.d81a28",\r
11102         "type": "set",\r
11103         "name": "set parameters",\r
11104         "xml": "<set>\n<parameter name='subscriptionId' value='`$rcvd-bandwidth-value`' />\n",\r
11105         "comments": "",\r
11106         "x": 1478.483413696289,\r
11107         "y": 6067.680801391602,\r
11108         "z": "1b4ba1fc.83240e",\r
11109         "wires": []\r
11110     },\r
11111     {\r
11112         "id": "3d1d7271.d95cbe",\r
11113         "type": "execute",\r
11114         "name": "execute Terminate SSE Connection",\r
11115         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restconfdiscovery.RestconfDiscoveryNode' method='deleteSubscriptionAndSseConnection' >\n<parameter name=\"subscriberId\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url`\" />\n<parameter name=\"templateFileName\" value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.cll-terminate-notification.templatefile`\" />\n<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domain.url + '/restconf/operations/ietf-subscribed-notifications:delete-subscription'`\" />\n<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.user`\" />\n<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.domainConn.password`\" />\n<parameter name=\"dirPath\" value=\"/opt/sdnc/restconfapi/yang/notification\" />\n<parameter name=\"format\" value=\"json\" />\n<parameter name=\"httpMethod\" value=\"post\" />\n<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>\n<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>\n<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>\n<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>\n<parameter name='customHttpHeaders' value=\"X-ACCESS-TOKEN=x-ik2ps4ikvzupbx0486ft1ebzs7rt85futh9ho6eofy3wjsap7wqktemlqm4bbsmnar3vrtbyrzukbv5itd6m1cftldpjarnyle3sdcqq9hftc4lebz464b5ffxmlbvg9\" />\n<parameter name=\"module\" value=\"GENERIC-RESOURCE-API\" />\n<parameter name=\"rpc\" value=\"cll-vnf-topology-operation-cll-callbackdg-notification\" />\n<parameter name=\"version\" value=\"`$project.version`\" />\n<parameter name=\"mode\" value=\"sync\" />\n<parameter name=\"responsePrefix\" value=\"restapi-result\"/>\n",\r
11116         "comments": "",\r
11117         "outputs": 1,\r
11118         "x": 2095.116714477539,\r
11119         "y": 5574.514297485352,\r
11120         "z": "1b4ba1fc.83240e",\r
11121         "wires": [\r
11122             []\r
11123         ]\r
11124     }\r
11125 ]