Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
1 [\r
2   {\r
3     "id": "25755a71.e1632e",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 123.56666564941406,\r
8     "y": 162.085693359375,\r
9     "z": "9718fe15.98603",\r
10     "wires": [\r
11       [\r
12         "9782b41f.c0bae8"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "9782b41f.c0bae8",\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": 407.85235595703125,\r
26     "y": 223.32380199432373,\r
27     "z": "9718fe15.98603",\r
28     "wires": [\r
29       [\r
30         "aa6f3182.becc9"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "aa6f3182.becc9",\r
36     "type": "method",\r
37     "name": "method cll-vnf-topology-operation-cll-modify",\r
38     "xml": "<method rpc='cll-vnf-topology-operation-cll-modify' mode='sync'>\n",\r
39     "comments": "",\r
40     "outputs": 1,\r
41     "x": 413.9952697753906,\r
42     "y": 308.0857238769531,\r
43     "z": "9718fe15.98603",\r
44     "wires": [\r
45       [\r
46         "29bc2f8.db80dd"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "29bc2f8.db80dd",\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": 763.5666656494141,\r
58     "y": 367.085693359375,\r
59     "z": "9718fe15.98603",\r
60     "wires": [\r
61       [\r
62         "9c0eb1ca.43b71",\r
63         "3646fbaf.66abd4",\r
64         "ab0c0a1d.943358"\r
65       ]\r
66     ]\r
67   },\r
68   {\r
69     "id": "9c0eb1ca.43b71",\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": 1064.900161743164,\r
75     "y": 638.0159912109375,\r
76     "z": "9718fe15.98603",\r
77     "wires": []\r
78   },\r
79   {\r
80     "id": "3646fbaf.66abd4",\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": 1086.328628540039,\r
87     "y": 340.41900634765625,\r
88     "z": "9718fe15.98603",\r
89     "wires": [\r
90       [\r
91         "7f13e7b9.528038",\r
92         "21855f86.1eb1c",\r
93         "8626acaa.0dcb08"\r
94       ]\r
95     ]\r
96   },\r
97   {\r
98     "id": "7f13e7b9.528038",\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": 1311.328628540039,\r
105     "y": 198.41900634765625,\r
106     "z": "9718fe15.98603",\r
107     "wires": [\r
108       [\r
109         "d8a6bab4.98cd48"\r
110       ]\r
111     ]\r
112   },\r
113   {\r
114     "id": "21855f86.1eb1c",\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": 1306.819595336914,\r
121     "y": 267.9930419921875,\r
122     "z": "9718fe15.98603",\r
123     "wires": [\r
124       [\r
125         "2ec478eb.d4cdf8"\r
126       ]\r
127     ]\r
128   },\r
129   {\r
130     "id": "8626acaa.0dcb08",\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": 1295.328628540039,\r
137     "y": 314.41900634765625,\r
138     "z": "9718fe15.98603",\r
139     "wires": [\r
140       [\r
141         "7ead638e.196dac"\r
142       ]\r
143     ]\r
144   },\r
145   {\r
146     "id": "250bdb2a.4b0894",\r
147     "type": "comment",\r
148     "name": "new for TransportSlicing",\r
149     "info": "",\r
150     "comments": "",\r
151     "x": 1065.328628540039,\r
152     "y": 228.41900634765625,\r
153     "z": "9718fe15.98603",\r
154     "wires": []\r
155   },\r
156   {\r
157     "id": "ab0c0a1d.943358",\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": 1053.328628540039,\r
164     "y": 280.41900634765625,\r
165     "z": "9718fe15.98603",\r
166     "wires": [\r
167       []\r
168     ]\r
169   },\r
170   {\r
171     "id": "d8a6bab4.98cd48",\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": 1551.566665649414,\r
178     "y": 195.085693359375,\r
179     "z": "9718fe15.98603",\r
180     "wires": [\r
181       [\r
182         "ddda0f66.6b349",\r
183         "66168207.1d9724"\r
184       ]\r
185     ]\r
186   },\r
187   {\r
188     "id": "2ec478eb.d4cdf8",\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": 1461.6290435791016,\r
194     "y": 270.9454650878906,\r
195     "z": "9718fe15.98603",\r
196     "wires": []\r
197   },\r
198   {\r
199     "id": "7ead638e.196dac",\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": 1465.566665649414,\r
205     "y": 315.085693359375,\r
206     "z": "9718fe15.98603",\r
207     "wires": []\r
208   },\r
209   {\r
210     "id": "ddda0f66.6b349",\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": 1756.566665649414,\r
217     "y": 232.085693359375,\r
218     "z": "9718fe15.98603",\r
219     "wires": [\r
220       [\r
221         "5c931c3f.aba674"\r
222       ]\r
223     ]\r
224   },\r
225   {\r
226     "id": "66168207.1d9724",\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": 1766.566665649414,\r
233     "y": 159.085693359375,\r
234     "z": "9718fe15.98603",\r
235     "wires": [\r
236       []\r
237     ]\r
238   },\r
239   {\r
240     "id": "5c931c3f.aba674",\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": 1749.566665649414,\r
248     "y": 307.085693359375,\r
249     "z": "9718fe15.98603",\r
250     "wires": [\r
251       [\r
252         "b951c0d0.48c67",\r
253         "3ae502fc.de69ae",\r
254         "7554f41e.870f04",\r
255         "b94dc7e3.86f89",\r
256         "37dc60ca.62221"\r
257       ]\r
258     ]\r
259   },\r
260   {\r
261     "id": "fb84a849.18463",\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": 2235.566665649414,\r
268     "y": 358.085693359375,\r
269     "z": "9718fe15.98603",\r
270     "wires": [\r
271       [\r
272         "7f791be2.0d23ec",\r
273         "6090d832.b4d3b8",\r
274         "b011647e.200f58"\r
275       ]\r
276     ]\r
277   },\r
278   {\r
279     "id": "7f791be2.0d23ec",\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": 2451.566665649414,\r
286     "y": 425.085693359375,\r
287     "z": "9718fe15.98603",\r
288     "wires": [\r
289       [\r
290         "f400ea8d.94bbd8"\r
291       ]\r
292     ]\r
293   },\r
294   {\r
295     "id": "6090d832.b4d3b8",\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": 2452.057632446289,\r
302     "y": 324.65966796875,\r
303     "z": "9718fe15.98603",\r
304     "wires": [\r
305       [\r
306         "84744d3b.9da2a"\r
307       ]\r
308     ]\r
309   },\r
310   {\r
311     "id": "b011647e.200f58",\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": 2447.566665649414,\r
318     "y": 374.085693359375,\r
319     "z": "9718fe15.98603",\r
320     "wires": [\r
321       [\r
322         "d7ef13e5.e943b8"\r
323       ]\r
324     ]\r
325   },\r
326   {\r
327     "id": "b951c0d0.48c67",\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": 1952.566665649414,\r
334     "y": 339.085693359375,\r
335     "z": "9718fe15.98603",\r
336     "wires": [\r
337       [\r
338         "4b529d8b.e7269c",\r
339         "fb84a849.18463",\r
340         "4f8a0bf3.f76a6c",\r
341         "6a76544b.f753cc"\r
342       ]\r
343     ]\r
344   },\r
345   {\r
346     "id": "4b529d8b.e7269c",\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": 2232.566665649414,\r
352     "y": 277.085693359375,\r
353     "z": "9718fe15.98603",\r
354     "wires": []\r
355   },\r
356   {\r
357     "id": "b94dc7e3.86f89",\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": 1926.566665649414,\r
363     "y": 289.085693359375,\r
364     "z": "9718fe15.98603",\r
365     "wires": []\r
366   },\r
367   {\r
368     "id": "3ae502fc.de69ae",\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/v25/network/pnfs?depth=0' depth = 0\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
372     "comments": "",\r
373     "outputs": 1,\r
374     "x": 1969.566665649414,\r
375     "y": 148.085693359375,\r
376     "z": "9718fe15.98603",\r
377     "wires": [\r
378       []\r
379     ]\r
380   },\r
381   {\r
382     "id": "7554f41e.870f04",\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": 1981.566665649414,\r
389     "y": 189.085693359375,\r
390     "z": "9718fe15.98603",\r
391     "wires": [\r
392       []\r
393     ]\r
394   },\r
395   {\r
396     "id": "c4ed6feb.870ac",\r
397     "type": "comment",\r
398     "name": "The following two nodes are for PCE",\r
399     "info": "",\r
400     "comments": "",\r
401     "x": 2006.566665649414,\r
402     "y": 101.085693359375,\r
403     "z": "9718fe15.98603",\r
404     "wires": []\r
405   },\r
406   {\r
407     "id": "3fa0fea5.b1a7a2",\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": 1926.566665649414,\r
413     "y": 235.085693359375,\r
414     "z": "9718fe15.98603",\r
415     "wires": []\r
416   },\r
417   {\r
418     "id": "84744d3b.9da2a",\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": 2630.566665649414,\r
424     "y": 327.085693359375,\r
425     "z": "9718fe15.98603",\r
426     "wires": []\r
427   },\r
428   {\r
429     "id": "d7ef13e5.e943b8",\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": 2630.504165649414,\r
435     "y": 376.2259521484375,\r
436     "z": "9718fe15.98603",\r
437     "wires": []\r
438   },\r
439   {\r
440     "id": "f400ea8d.94bbd8",\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": 2632.504165649414,\r
447     "y": 427.2259521484375,\r
448     "z": "9718fe15.98603",\r
449     "wires": [\r
450       [\r
451         "3f239fa1.c0b958"\r
452       ]\r
453     ]\r
454   },\r
455   {\r
456     "id": "3f239fa1.c0b958",\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": 2967.504165649414,\r
463     "y": 196.22596740722656,\r
464     "z": "9718fe15.98603",\r
465     "wires": [\r
466       [\r
467         "b38986d.d0d7878",\r
468         "824af3e9.18d3c",\r
469         "c4ad697c.ed235"\r
470       ]\r
471     ]\r
472   },\r
473   {\r
474     "id": "824af3e9.18d3c",\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": 3240.995132446289,\r
481     "y": 88.79994201660156,\r
482     "z": "9718fe15.98603",\r
483     "wires": [\r
484       [\r
485         "53ebc234.9c89e4"\r
486       ]\r
487     ]\r
488   },\r
489   {\r
490     "id": "53ebc234.9c89e4",\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": 3418.566665649414,\r
496     "y": 89.08570861816406,\r
497     "z": "9718fe15.98603",\r
498     "wires": []\r
499   },\r
500   {\r
501     "id": "c4ad697c.ed235",\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": 3236.504165649414,\r
508     "y": 138.22596740722656,\r
509     "z": "9718fe15.98603",\r
510     "wires": [\r
511       [\r
512         "d35b45c.ac75538"\r
513       ]\r
514     ]\r
515   },\r
516   {\r
517     "id": "d35b45c.ac75538",\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": 3418.504165649414,\r
523     "y": 138.22596740722656,\r
524     "z": "9718fe15.98603",\r
525     "wires": []\r
526   },\r
527   {\r
528     "id": "b38986d.d0d7878",\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": 3240.504165649414,\r
535     "y": 189.22596740722656,\r
536     "z": "9718fe15.98603",\r
537     "wires": [\r
538       [\r
539         "cda04f1c.b5e8e8"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "cda04f1c.b5e8e8",\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": 3420.504165649414,\r
551     "y": 189.22596740722656,\r
552     "z": "9718fe15.98603",\r
553     "wires": [\r
554       [\r
555         "9d21d2af.f1a338"\r
556       ]\r
557     ]\r
558   },\r
559   {\r
560     "id": "9d21d2af.f1a338",\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": 2986.566665649414,\r
567     "y": 324.08570861816406,\r
568     "z": "9718fe15.98603",\r
569     "wires": [\r
570       [\r
571         "2a81c517.5bc7ca",\r
572         "6137d6c5.a89918"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "6137d6c5.a89918",\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": 3296.566665649414,\r
584     "y": 331.08570861816406,\r
585     "z": "9718fe15.98603",\r
586     "wires": [\r
587       []\r
588     ]\r
589   },\r
590   {\r
591     "id": "2a81c517.5bc7ca",\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": 3295.566665649414,\r
598     "y": 385.08570861816406,\r
599     "z": "9718fe15.98603",\r
600     "wires": [\r
601       [\r
602         "5824c72f.9c5af"\r
603       ]\r
604     ]\r
605   },\r
606   {\r
607     "id": "28f331ee.9053e6",\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": 4040.566665649414,\r
614     "y": 339.08570861816406,\r
615     "z": "9718fe15.98603",\r
616     "wires": [\r
617       [\r
618         "75d3715b.ab7198"\r
619       ]\r
620     ]\r
621   },\r
622   {\r
623     "id": "75d3715b.ab7198",\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": 4217.566543579102,\r
630     "y": 332.08558654785156,\r
631     "z": "9718fe15.98603",\r
632     "wires": [\r
633       [\r
634         "ae2a4fce.8a1ea",\r
635         "2c72c44.f2aec3c"\r
636       ]\r
637     ]\r
638   },\r
639   {\r
640     "id": "5824c72f.9c5af",\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": 3459.566665649414,\r
647     "y": 311.08570861816406,\r
648     "z": "9718fe15.98603",\r
649     "wires": [\r
650       [\r
651         "a5e82cdc.4d956",\r
652         "b714d40c.0dac68"\r
653       ]\r
654     ]\r
655   },\r
656   {\r
657     "id": "a5e82cdc.4d956",\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": 3740.566665649414,\r
664     "y": 267.08570861816406,\r
665     "z": "9718fe15.98603",\r
666     "wires": [\r
667       [\r
668         "e552898d.0c1d9"\r
669       ]\r
670     ]\r
671   },\r
672   {\r
673     "id": "e552898d.0c1d9",\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": 4002.566665649414,\r
680     "y": 267.08570861816406,\r
681     "z": "9718fe15.98603",\r
682     "wires": [\r
683       [\r
684         "28f331ee.9053e6"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "ae2a4fce.8a1ea",\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": 4460.566543579102,\r
695     "y": 289.08558654785156,\r
696     "z": "9718fe15.98603",\r
697     "wires": []\r
698   },\r
699   {\r
700     "id": "2c72c44.f2aec3c",\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": 4449.566543579102,\r
707     "y": 344.08558654785156,\r
708     "z": "9718fe15.98603",\r
709     "wires": [\r
710       [\r
711         "9efeb089.3f19c",\r
712         "79f2e4c0.6b947c",\r
713         "6e1f853a.2f305c"\r
714       ]\r
715     ]\r
716   },\r
717   {\r
718     "id": "6e1f853a.2f305c",\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": 4780.566665649414,\r
725     "y": 252.085693359375,\r
726     "z": "9718fe15.98603",\r
727     "wires": [\r
728       [\r
729         "4cb6456e.ff636c"\r
730       ]\r
731     ]\r
732   },\r
733   {\r
734     "id": "4cb6456e.ff636c",\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": 4929.138198852539,\r
740     "y": 252.3714599609375,\r
741     "z": "9718fe15.98603",\r
742     "wires": []\r
743   },\r
744   {\r
745     "id": "7e5b3ac6.b0f59c",\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": 4928.075698852539,\r
751     "y": 296.51171875,\r
752     "z": "9718fe15.98603",\r
753     "wires": []\r
754   },\r
755   {\r
756     "id": "79f2e4c0.6b947c",\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": 4769.075698852539,\r
763     "y": 296.51171875,\r
764     "z": "9718fe15.98603",\r
765     "wires": [\r
766       [\r
767         "7e5b3ac6.b0f59c"\r
768       ]\r
769     ]\r
770   },\r
771   {\r
772     "id": "9efeb089.3f19c",\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": 4776.075698852539,\r
779     "y": 375.51171875,\r
780     "z": "9718fe15.98603",\r
781     "wires": [\r
782       [\r
783         "826c9ce5.e54c8"\r
784       ]\r
785     ]\r
786   },\r
787   {\r
788     "id": "826c9ce5.e54c8",\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": 4915.075698852539,\r
796     "y": 375.51171875,\r
797     "z": "9718fe15.98603",\r
798     "wires": [\r
799       [\r
800         "97cd2b3d.5361c",\r
801         "b21dac06.214a"\r
802       ]\r
803     ]\r
804   },\r
805   {\r
806     "id": "97cd2b3d.5361c",\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": 5120.566665649414,\r
812     "y": 373.085693359375,\r
813     "z": "9718fe15.98603",\r
814     "wires": []\r
815   },\r
816   {\r
817     "id": "b21dac06.214a",\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": 5119.566665649414,\r
823     "y": 419.085693359375,\r
824     "z": "9718fe15.98603",\r
825     "wires": []\r
826   },\r
827   {\r
828     "id": "b714d40c.0dac68",\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": 3557.566665649414,\r
835     "y": 383.08570861816406,\r
836     "z": "9718fe15.98603",\r
837     "wires": [\r
838       [\r
839         "1e5b0c1.e0c2e74"\r
840       ]\r
841     ]\r
842   },\r
843   {\r
844     "id": "1e5b0c1.e0c2e74",\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": 3837.566665649414,\r
851     "y": 383.08570861816406,\r
852     "z": "9718fe15.98603",\r
853     "wires": [\r
854       [\r
855         "4e4dff53.dcf898"\r
856       ]\r
857     ]\r
858   },\r
859   {\r
860     "id": "4e4dff53.dcf898",\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": 2208.5667877197266,\r
867     "y": 814.0858154296875,\r
868     "z": "9718fe15.98603",\r
869     "wires": [\r
870       [\r
871         "ac446985.9d513"\r
872       ]\r
873     ]\r
874   },\r
875   {\r
876     "id": "ac446985.9d513",\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": 2385.566665649414,\r
883     "y": 807.085693359375,\r
884     "z": "9718fe15.98603",\r
885     "wires": [\r
886       [\r
887         "8274477.dcf57b8",\r
888         "276accab.cdfa24"\r
889       ]\r
890     ]\r
891   },\r
892   {\r
893     "id": "8274477.dcf57b8",\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": 2628.566665649414,\r
899     "y": 764.085693359375,\r
900     "z": "9718fe15.98603",\r
901     "wires": []\r
902   },\r
903   {\r
904     "id": "276accab.cdfa24",\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": 2617.566665649414,\r
911     "y": 819.085693359375,\r
912     "z": "9718fe15.98603",\r
913     "wires": [\r
914       [\r
915         "650f90f1.61d618",\r
916         "627e407c.cdb6e8",\r
917         "11b910a0.ac71f7"\r
918       ]\r
919     ]\r
920   },\r
921   {\r
922     "id": "650f90f1.61d618",\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": 2909.057632446289,\r
929     "y": 797.65966796875,\r
930     "z": "9718fe15.98603",\r
931     "wires": [\r
932       [\r
933         "4873b670.d0b66"\r
934       ]\r
935     ]\r
936   },\r
937   {\r
938     "id": "627e407c.cdb6e8",\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": 2897.566665649414,\r
945     "y": 842.085693359375,\r
946     "z": "9718fe15.98603",\r
947     "wires": [\r
948       [\r
949         "24b3a747.017c5"\r
950       ]\r
951     ]\r
952   },\r
953   {\r
954     "id": "4873b670.d0b66",\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": 3057.629165649414,\r
960     "y": 797.9454345703125,\r
961     "z": "9718fe15.98603",\r
962     "wires": []\r
963   },\r
964   {\r
965     "id": "24b3a747.017c5",\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": 3056.566665649414,\r
971     "y": 842.085693359375,\r
972     "z": "9718fe15.98603",\r
973     "wires": []\r
974   },\r
975   {\r
976     "id": "11b910a0.ac71f7",\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": 2904.566665649414,\r
983     "y": 921.085693359375,\r
984     "z": "9718fe15.98603",\r
985     "wires": [\r
986       [\r
987         "90fde557.205cd"\r
988       ]\r
989     ]\r
990   },\r
991   {\r
992     "id": "90fde557.205cd",\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": 3043.566665649414,\r
1000     "y": 921.085693359375,\r
1001     "z": "9718fe15.98603",\r
1002     "wires": [\r
1003       [\r
1004         "c9c2aba8.a4026",\r
1005         "ff35ed1f.a0a938",\r
1006         "85e3c5ae.d3ea4",\r
1007         "f6929a04.bb038",\r
1008         "aab96898.397318",\r
1009         "1f6e9e43.7e8d42",\r
1010         "158807bc.c2dde8",\r
1011         "b53436ed.4e5d8",\r
1012         "8c4c723a.871028",\r
1013         "af5ed41e.3d53d8",\r
1014         "ad7d5348.0e5498",\r
1015         "36740b66.98fa4c",\r
1016         "344dee20.fc9faa",\r
1017         "8b000822.1c253",\r
1018         "4b552ff.dab62d",\r
1019         "76a3b118.862498",\r
1020         "62eac021.71055",\r
1021         "fbc065ad.333e38",\r
1022         "28bc0683.b68302"\r
1023       ]\r
1024     ]\r
1025   },\r
1026   {\r
1027     "id": "e37a586.c072528",\r
1028     "type": "execute",\r
1029     "name": "execute UUID generator for ethernet-service-name",\r
1030     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1031     "comments": "",\r
1032     "outputs": 1,\r
1033     "x": 3355.566665649414,\r
1034     "y": 471.085693359375,\r
1035     "z": "9718fe15.98603",\r
1036     "wires": [\r
1037       []\r
1038     ]\r
1039   },\r
1040   {\r
1041     "id": "c9c2aba8.a4026",\r
1042     "type": "execute",\r
1043     "name": "execute UUID generator for otn-tunnel-name",\r
1044     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1045     "comments": "",\r
1046     "outputs": 1,\r
1047     "x": 3342.5665435791016,\r
1048     "y": 563.085693359375,\r
1049     "z": "9718fe15.98603",\r
1050     "wires": [\r
1051       []\r
1052     ]\r
1053   },\r
1054   {\r
1055     "id": "8b000822.1c253",\r
1056     "type": "set",\r
1057     "name": "set new ethernet-service-name",\r
1058     "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
1059     "comments": "",\r
1060     "x": 3299.5665435791016,\r
1061     "y": 608.085693359375,\r
1062     "z": "9718fe15.98603",\r
1063     "wires": []\r
1064   },\r
1065   {\r
1066     "id": "ff35ed1f.a0a938",\r
1067     "type": "set",\r
1068     "name": "set network-route-one",\r
1069     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1070     "comments": "",\r
1071     "x": 3274.5665435791016,\r
1072     "y": 671.085693359375,\r
1073     "z": "9718fe15.98603",\r
1074     "wires": []\r
1075   },\r
1076   {\r
1077     "id": "85e3c5ae.d3ea4",\r
1078     "type": "set",\r
1079     "name": "set network-route-two",\r
1080     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1081     "comments": "",\r
1082     "x": 3275.5665435791016,\r
1083     "y": 726.085693359375,\r
1084     "z": "9718fe15.98603",\r
1085     "wires": []\r
1086   },\r
1087   {\r
1088     "id": "f6929a04.bb038",\r
1089     "type": "save",\r
1090     "name": "get network-route-one from aai",\r
1091     "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
1092     "comments": "",\r
1093     "outputs": 1,\r
1094     "x": 3291.5665435791016,\r
1095     "y": 774.085693359375,\r
1096     "z": "9718fe15.98603",\r
1097     "wires": [\r
1098       [\r
1099         "b38ce95d.a8d8b",\r
1100         "924a9986.e8ef18",\r
1101         "f99ce89.2f90198"\r
1102       ]\r
1103     ]\r
1104   },\r
1105   {\r
1106     "id": "aab96898.397318",\r
1107     "type": "save",\r
1108     "name": "get network-route-two from aai",\r
1109     "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
1110     "comments": "",\r
1111     "outputs": 1,\r
1112     "x": 3286.566665649414,\r
1113     "y": 841.0855712890625,\r
1114     "z": "9718fe15.98603",\r
1115     "wires": [\r
1116       [\r
1117         "84f95296.4ca828",\r
1118         "1e5b7441.b6964c",\r
1119         "529168b7.ab36c8"\r
1120       ]\r
1121     ]\r
1122   },\r
1123   {\r
1124     "id": "b38ce95d.a8d8b",\r
1125     "type": "not-found",\r
1126     "name": "not-found",\r
1127     "xml": "<outcome value='not-found'>\n",\r
1128     "comments": "",\r
1129     "outputs": 1,\r
1130     "x": 3532.566665649414,\r
1131     "y": 602.085693359375,\r
1132     "z": "9718fe15.98603",\r
1133     "wires": [\r
1134       [\r
1135         "b93c3fb5.8aab08"\r
1136       ]\r
1137     ]\r
1138   },\r
1139   {\r
1140     "id": "924a9986.e8ef18",\r
1141     "type": "failure",\r
1142     "name": "failure",\r
1143     "xml": "<outcome value='failure'>\n",\r
1144     "comments": "",\r
1145     "outputs": 1,\r
1146     "x": 3528.075698852539,\r
1147     "y": 651.51171875,\r
1148     "z": "9718fe15.98603",\r
1149     "wires": [\r
1150       [\r
1151         "e5b21304.84d3f"\r
1152       ]\r
1153     ]\r
1154   },\r
1155   {\r
1156     "id": "f99ce89.2f90198",\r
1157     "type": "success",\r
1158     "name": "success",\r
1159     "xml": "<outcome value='success'>\n",\r
1160     "comments": "",\r
1161     "outputs": 1,\r
1162     "x": 3532.075698852539,\r
1163     "y": 704.51171875,\r
1164     "z": "9718fe15.98603",\r
1165     "wires": [\r
1166       [\r
1167         "27a2d9bd.f2416e"\r
1168       ]\r
1169     ]\r
1170   },\r
1171   {\r
1172     "id": "b93c3fb5.8aab08",\r
1173     "type": "returnFailure",\r
1174     "name": "return failure",\r
1175     "xml": "<return 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
1176     "comments": "",\r
1177     "x": 3681.138198852539,\r
1178     "y": 601.3714599609375,\r
1179     "z": "9718fe15.98603",\r
1180     "wires": []\r
1181   },\r
1182   {\r
1183     "id": "e5b21304.84d3f",\r
1184     "type": "returnFailure",\r
1185     "name": "return failure",\r
1186     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1187     "comments": "",\r
1188     "x": 3671.075698852539,\r
1189     "y": 651.51171875,\r
1190     "z": "9718fe15.98603",\r
1191     "wires": []\r
1192   },\r
1193   {\r
1194     "id": "84f95296.4ca828",\r
1195     "type": "not-found",\r
1196     "name": "not-found",\r
1197     "xml": "<outcome value='not-found'>\n",\r
1198     "comments": "",\r
1199     "outputs": 1,\r
1200     "x": 3536.566665649414,\r
1201     "y": 758.0855712890625,\r
1202     "z": "9718fe15.98603",\r
1203     "wires": [\r
1204       [\r
1205         "5554565c.9228c"\r
1206       ]\r
1207     ]\r
1208   },\r
1209   {\r
1210     "id": "1e5b7441.b6964c",\r
1211     "type": "failure",\r
1212     "name": "failure",\r
1213     "xml": "<outcome value='failure'>\n",\r
1214     "comments": "",\r
1215     "outputs": 1,\r
1216     "x": 3532.075698852539,\r
1217     "y": 807.5115966796875,\r
1218     "z": "9718fe15.98603",\r
1219     "wires": [\r
1220       [\r
1221         "6ebd88b9.37bc78"\r
1222       ]\r
1223     ]\r
1224   },\r
1225   {\r
1226     "id": "529168b7.ab36c8",\r
1227     "type": "success",\r
1228     "name": "success",\r
1229     "xml": "<outcome value='success'>\n",\r
1230     "comments": "",\r
1231     "outputs": 1,\r
1232     "x": 3515.075698852539,\r
1233     "y": 855.5115966796875,\r
1234     "z": "9718fe15.98603",\r
1235     "wires": [\r
1236       [\r
1237         "a79b682c.88ba1"\r
1238       ]\r
1239     ]\r
1240   },\r
1241   {\r
1242     "id": "5554565c.9228c",\r
1243     "type": "returnFailure",\r
1244     "name": "return failure",\r
1245     "xml": "<return 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
1246     "comments": "",\r
1247     "x": 3685.138198852539,\r
1248     "y": 757.371337890625,\r
1249     "z": "9718fe15.98603",\r
1250     "wires": []\r
1251   },\r
1252   {\r
1253     "id": "6ebd88b9.37bc78",\r
1254     "type": "returnFailure",\r
1255     "name": "return failure",\r
1256     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1257     "comments": "",\r
1258     "x": 3675.075698852539,\r
1259     "y": 807.5115966796875,\r
1260     "z": "9718fe15.98603",\r
1261     "wires": []\r
1262   },\r
1263   {\r
1264     "id": "27a2d9bd.f2416e",\r
1265     "type": "block",\r
1266     "name": "block : atomic",\r
1267     "xml": "<block atomic=\"true\">",\r
1268     "atomic": "true",\r
1269     "outputs": 1,\r
1270     "x": 3693.566665649414,\r
1271     "y": 704.085693359375,\r
1272     "z": "9718fe15.98603",\r
1273     "wires": [\r
1274       [\r
1275         "e35dbf37.07c328"\r
1276       ]\r
1277     ]\r
1278   },\r
1279   {\r
1280     "id": "a79b682c.88ba1",\r
1281     "type": "block",\r
1282     "name": "block : atomic",\r
1283     "xml": "<block atomic=\"true\">",\r
1284     "atomic": "true",\r
1285     "outputs": 1,\r
1286     "x": 3668.566665649414,\r
1287     "y": 855.0855712890625,\r
1288     "z": "9718fe15.98603",\r
1289     "wires": [\r
1290       [\r
1291         "25d6cc4d.0a0984"\r
1292       ]\r
1293     ]\r
1294   },\r
1295   {\r
1296     "id": "e35dbf37.07c328",\r
1297     "type": "switchNode",\r
1298     "name": "switch nr type",\r
1299     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1300     "comments": "",\r
1301     "outputs": 1,\r
1302     "x": 3865.566665649414,\r
1303     "y": 704.085693359375,\r
1304     "z": "9718fe15.98603",\r
1305     "wires": [\r
1306       [\r
1307         "df69d2ac.c94928",\r
1308         "d63273d9.506ef8",\r
1309         "3dcf3da2.14e88a"\r
1310       ]\r
1311     ]\r
1312   },\r
1313   {\r
1314     "id": "25d6cc4d.0a0984",\r
1315     "type": "switchNode",\r
1316     "name": "switch nr type",\r
1317     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1318     "comments": "",\r
1319     "outputs": 1,\r
1320     "x": 3860.566665649414,\r
1321     "y": 789.085693359375,\r
1322     "z": "9718fe15.98603",\r
1323     "wires": [\r
1324       [\r
1325         "284fe38.7ff599c",\r
1326         "574139dc.c55898",\r
1327         "f46ebe04.450d9"\r
1328       ]\r
1329     ]\r
1330   },\r
1331   {\r
1332     "id": "df69d2ac.c94928",\r
1333     "type": "outcome",\r
1334     "name": "ROOT",\r
1335     "xml": "<outcome value='ROOT'>\n",\r
1336     "comments": "",\r
1337     "outputs": 1,\r
1338     "x": 4026.566177368164,\r
1339     "y": 440.085693359375,\r
1340     "z": "9718fe15.98603",\r
1341     "wires": [\r
1342       [\r
1343         "7ce464fa.676414"\r
1344       ]\r
1345     ]\r
1346   },\r
1347   {\r
1348     "id": "d63273d9.506ef8",\r
1349     "type": "outcome",\r
1350     "name": "LEAF",\r
1351     "xml": "<outcome value='LEAF'>\n",\r
1352     "comments": "",\r
1353     "outputs": 1,\r
1354     "x": 4028.566177368164,\r
1355     "y": 494.085693359375,\r
1356     "z": "9718fe15.98603",\r
1357     "wires": [\r
1358       [\r
1359         "6bd6b0d9.b558a"\r
1360       ]\r
1361     ]\r
1362   },\r
1363   {\r
1364     "id": "284fe38.7ff599c",\r
1365     "type": "outcome",\r
1366     "name": "ROOT",\r
1367     "xml": "<outcome value='ROOT'>\n",\r
1368     "comments": "",\r
1369     "outputs": 1,\r
1370     "x": 4041.565933227539,\r
1371     "y": 662.085693359375,\r
1372     "z": "9718fe15.98603",\r
1373     "wires": [\r
1374       [\r
1375         "6918e709.d57e78"\r
1376       ]\r
1377     ]\r
1378   },\r
1379   {\r
1380     "id": "574139dc.c55898",\r
1381     "type": "outcome",\r
1382     "name": "LEAF",\r
1383     "xml": "<outcome value='LEAF'>\n",\r
1384     "comments": "",\r
1385     "outputs": 1,\r
1386     "x": 4043.565933227539,\r
1387     "y": 716.085693359375,\r
1388     "z": "9718fe15.98603",\r
1389     "wires": [\r
1390       [\r
1391         "688d98a0.dbdc1"\r
1392       ]\r
1393     ]\r
1394   },\r
1395   {\r
1396     "id": "69d167e5.40c62",\r
1397     "type": "set",\r
1398     "name": "set network-route-ROOT",\r
1399     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1400     "comments": "",\r
1401     "x": 4336.566177368164,\r
1402     "y": 392.085693359375,\r
1403     "z": "9718fe15.98603",\r
1404     "wires": []\r
1405   },\r
1406   {\r
1407     "id": "e079feb5.4893f8",\r
1408     "type": "set",\r
1409     "name": "set network-route-LEAF",\r
1410     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1411     "comments": "",\r
1412     "x": 4329.566177368164,\r
1413     "y": 490.085693359375,\r
1414     "z": "9718fe15.98603",\r
1415     "wires": []\r
1416   },\r
1417   {\r
1418     "id": "81aa5c4a.edfc28",\r
1419     "type": "set",\r
1420     "name": "set network-route-ROOT",\r
1421     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1422     "comments": "",\r
1423     "x": 4405.565933227539,\r
1424     "y": 689.085693359375,\r
1425     "z": "9718fe15.98603",\r
1426     "wires": []\r
1427   },\r
1428   {\r
1429     "id": "3e901a8b.2e5bae",\r
1430     "type": "set",\r
1431     "name": "set network-route-LEAF",\r
1432     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1433     "comments": "",\r
1434     "x": 4409.565933227539,\r
1435     "y": 782.085693359375,\r
1436     "z": "9718fe15.98603",\r
1437     "wires": []\r
1438   },\r
1439   {\r
1440     "id": "93aaa3a6.0ddda8",\r
1441     "type": "success",\r
1442     "name": "success",\r
1443     "xml": "<outcome value='success'>\n",\r
1444     "comments": "",\r
1445     "outputs": 1,\r
1446     "x": 3487.566665649414,\r
1447     "y": 1205.085693359375,\r
1448     "z": "9718fe15.98603",\r
1449     "wires": [\r
1450       [\r
1451         "e42413be.b1fcf8"\r
1452       ]\r
1453     ]\r
1454   },\r
1455   {\r
1456     "id": "9cfab2db.ec2e9",\r
1457     "type": "not-found",\r
1458     "name": "not-found",\r
1459     "xml": "<outcome value='not-found'>\n",\r
1460     "comments": "",\r
1461     "outputs": 1,\r
1462     "x": 3497.057632446289,\r
1463     "y": 1247.6597290039062,\r
1464     "z": "9718fe15.98603",\r
1465     "wires": [\r
1466       [\r
1467         "b6bb4e8e.b484d"\r
1468       ]\r
1469     ]\r
1470   },\r
1471   {\r
1472     "id": "aba7aaee.8e0cf8",\r
1473     "type": "failure",\r
1474     "name": "failure",\r
1475     "xml": "<outcome value='failure'>\n",\r
1476     "comments": "",\r
1477     "outputs": 1,\r
1478     "x": 3485.566665649414,\r
1479     "y": 1294.085693359375,\r
1480     "z": "9718fe15.98603",\r
1481     "wires": [\r
1482       [\r
1483         "30b7412f.1199ae"\r
1484       ]\r
1485     ]\r
1486   },\r
1487   {\r
1488     "id": "3ca3d712.007d28",\r
1489     "type": "comment",\r
1490     "name": "Question?",\r
1491     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1492     "comments": "",\r
1493     "x": 3187.566665649414,\r
1494     "y": 1167.085693359375,\r
1495     "z": "9718fe15.98603",\r
1496     "wires": []\r
1497   },\r
1498   {\r
1499     "id": "158807bc.c2dde8",\r
1500     "type": "save",\r
1501     "name": "get p-interface-src from aai",\r
1502     "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
1503     "comments": "",\r
1504     "outputs": 1,\r
1505     "x": 3230.566665649414,\r
1506     "y": 1232.085693359375,\r
1507     "z": "9718fe15.98603",\r
1508     "wires": [\r
1509       [\r
1510         "93aaa3a6.0ddda8",\r
1511         "9cfab2db.ec2e9",\r
1512         "aba7aaee.8e0cf8"\r
1513       ]\r
1514     ]\r
1515   },\r
1516   {\r
1517     "id": "1f6e9e43.7e8d42",\r
1518     "type": "execute",\r
1519     "name": "execute split tp-id to get pnf-name",\r
1520     "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
1521     "comments": "",\r
1522     "outputs": 1,\r
1523     "x": 3219.566665649414,\r
1524     "y": 1082.085693359375,\r
1525     "z": "9718fe15.98603",\r
1526     "wires": [\r
1527       [\r
1528         "aef080fa.c114b",\r
1529         "ec7d5fb1.6942b"\r
1530       ]\r
1531     ]\r
1532   },\r
1533   {\r
1534     "id": "ec7d5fb1.6942b",\r
1535     "type": "failure",\r
1536     "name": "success",\r
1537     "xml": "<outcome value='success'>\n",\r
1538     "comments": "",\r
1539     "outputs": 1,\r
1540     "x": 3442.566665649414,\r
1541     "y": 1068.085693359375,\r
1542     "z": "9718fe15.98603",\r
1543     "wires": [\r
1544       [\r
1545         "fd803677.f63638"\r
1546       ]\r
1547     ]\r
1548   },\r
1549   {\r
1550     "id": "aef080fa.c114b",\r
1551     "type": "failure",\r
1552     "name": "failure",\r
1553     "xml": "<outcome value='failure'>\n",\r
1554     "comments": "",\r
1555     "outputs": 1,\r
1556     "x": 3444.566665649414,\r
1557     "y": 1101.085693359375,\r
1558     "z": "9718fe15.98603",\r
1559     "wires": [\r
1560       [\r
1561         "51e88d79.18cdf4"\r
1562       ]\r
1563     ]\r
1564   },\r
1565   {\r
1566     "id": "e42413be.b1fcf8",\r
1567     "type": "block",\r
1568     "name": "block : atomic",\r
1569     "xml": "<block atomic=\"true\">",\r
1570     "atomic": "true",\r
1571     "outputs": 1,\r
1572     "x": 3660.233169555664,\r
1573     "y": 1204.085693359375,\r
1574     "z": "9718fe15.98603",\r
1575     "wires": [\r
1576       [\r
1577         "4ed4fbc5.711d0c",\r
1578         "90207f5c.a05dd8"\r
1579       ]\r
1580     ]\r
1581   },\r
1582   {\r
1583     "id": "b6bb4e8e.b484d",\r
1584     "type": "returnFailure",\r
1585     "name": "return failure",\r
1586     "xml": "<return 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
1587     "comments": "",\r
1588     "x": 3650.6290435791016,\r
1589     "y": 1250.9454650878906,\r
1590     "z": "9718fe15.98603",\r
1591     "wires": []\r
1592   },\r
1593   {\r
1594     "id": "30b7412f.1199ae",\r
1595     "type": "returnFailure",\r
1596     "name": "return failure",\r
1597     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1598     "comments": "",\r
1599     "x": 3654.566665649414,\r
1600     "y": 1295.085693359375,\r
1601     "z": "9718fe15.98603",\r
1602     "wires": []\r
1603   },\r
1604   {\r
1605     "id": "4ed4fbc5.711d0c",\r
1606     "type": "execute",\r
1607     "name": "execute split tp-id to get pnf-name",\r
1608     "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
1609     "comments": "",\r
1610     "outputs": 1,\r
1611     "x": 3924.566665649414,\r
1612     "y": 1255.085693359375,\r
1613     "z": "9718fe15.98603",\r
1614     "wires": [\r
1615       [\r
1616         "db4ec7c1.fb8ff8",\r
1617         "8a68098.2ae2578"\r
1618       ]\r
1619     ]\r
1620   },\r
1621   {\r
1622     "id": "8a68098.2ae2578",\r
1623     "type": "failure",\r
1624     "name": "success",\r
1625     "xml": "<outcome value='success'>\n",\r
1626     "comments": "",\r
1627     "outputs": 1,\r
1628     "x": 4100.566665649414,\r
1629     "y": 1305.085693359375,\r
1630     "z": "9718fe15.98603",\r
1631     "wires": [\r
1632       [\r
1633         "9f8db296.d1b7"\r
1634       ]\r
1635     ]\r
1636   },\r
1637   {\r
1638     "id": "db4ec7c1.fb8ff8",\r
1639     "type": "failure",\r
1640     "name": "failure",\r
1641     "xml": "<outcome value='failure'>\n",\r
1642     "comments": "",\r
1643     "outputs": 1,\r
1644     "x": 4102.566665649414,\r
1645     "y": 1369.085693359375,\r
1646     "z": "9718fe15.98603",\r
1647     "wires": [\r
1648       [\r
1649         "19ec1ce6.638d63"\r
1650       ]\r
1651     ]\r
1652   },\r
1653   {\r
1654     "id": "19ec1ce6.638d63",\r
1655     "type": "returnFailure",\r
1656     "name": "return failure",\r
1657     "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
1658     "comments": "",\r
1659     "x": 4264.566665649414,\r
1660     "y": 1365.085693359375,\r
1661     "z": "9718fe15.98603",\r
1662     "wires": []\r
1663   },\r
1664   {\r
1665     "id": "9f8db296.d1b7",\r
1666     "type": "block",\r
1667     "name": "block : atomic",\r
1668     "xml": "<block atomic=\"true\">",\r
1669     "atomic": "true",\r
1670     "outputs": 1,\r
1671     "x": 4265.566665649414,\r
1672     "y": 1302.085693359375,\r
1673     "z": "9718fe15.98603",\r
1674     "wires": [\r
1675       [\r
1676         "5c94bd3f.3e7f94",\r
1677         "fc089afb.f44ed8"\r
1678       ]\r
1679     ]\r
1680   },\r
1681   {\r
1682     "id": "51e88d79.18cdf4",\r
1683     "type": "returnFailure",\r
1684     "name": "return failure",\r
1685     "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
1686     "comments": "",\r
1687     "x": 3587.566665649414,\r
1688     "y": 1098.085693359375,\r
1689     "z": "9718fe15.98603",\r
1690     "wires": []\r
1691   },\r
1692   {\r
1693     "id": "fd803677.f63638",\r
1694     "type": "block",\r
1695     "name": "block : atomic",\r
1696     "xml": "<block atomic=\"true\">",\r
1697     "atomic": "true",\r
1698     "outputs": 1,\r
1699     "x": 3590.566665649414,\r
1700     "y": 1061.085693359375,\r
1701     "z": "9718fe15.98603",\r
1702     "wires": [\r
1703       [\r
1704         "eccb372c.34c8d",\r
1705         "98d2965b.47a9d8"\r
1706       ]\r
1707     ]\r
1708   },\r
1709   {\r
1710     "id": "eccb372c.34c8d",\r
1711     "type": "set",\r
1712     "name": "set pnf-name",\r
1713     "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
1714     "comments": "",\r
1715     "x": 3764.566665649414,\r
1716     "y": 1017.085693359375,\r
1717     "z": "9718fe15.98603",\r
1718     "wires": []\r
1719   },\r
1720   {\r
1721     "id": "90207f5c.a05dd8",\r
1722     "type": "for",\r
1723     "name": "for each relationship",\r
1724     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1725     "comments": "",\r
1726     "outputs": 1,\r
1727     "x": 3636.566665649414,\r
1728     "y": 1386.085693359375,\r
1729     "z": "9718fe15.98603",\r
1730     "wires": [\r
1731       [\r
1732         "5a97a44a.833984"\r
1733       ]\r
1734     ]\r
1735   },\r
1736   {\r
1737     "id": "5a97a44a.833984",\r
1738     "type": "switchNode",\r
1739     "name": "switch related-to",\r
1740     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1741     "comments": "",\r
1742     "outputs": 1,\r
1743     "x": 3917.566665649414,\r
1744     "y": 1381.085693359375,\r
1745     "z": "9718fe15.98603",\r
1746     "wires": [\r
1747       [\r
1748         "1a323487.0d80a3"\r
1749       ]\r
1750     ]\r
1751   },\r
1752   {\r
1753     "id": "1a323487.0d80a3",\r
1754     "type": "outcome",\r
1755     "name": "tunnel-termination-point",\r
1756     "xml": "<outcome value='tunnel-termination-point'>\n",\r
1757     "comments": "",\r
1758     "outputs": 1,\r
1759     "x": 4228.852310180664,\r
1760     "y": 1455.907470703125,\r
1761     "z": "9718fe15.98603",\r
1762     "wires": [\r
1763       [\r
1764         "25962334.407414"\r
1765       ]\r
1766     ]\r
1767   },\r
1768   {\r
1769     "id": "98d2965b.47a9d8",\r
1770     "type": "get-resource",\r
1771     "name": "get-resource src pnf",\r
1772     "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
1773     "comments": "",\r
1774     "outputs": 1,\r
1775     "x": 3779.566665649414,\r
1776     "y": 1128.085693359375,\r
1777     "z": "9718fe15.98603",\r
1778     "wires": [\r
1779       [\r
1780         "3ec80c0c.a7d6a4",\r
1781         "fb8be251.80b5",\r
1782         "c39223e5.81b608"\r
1783       ]\r
1784     ]\r
1785   },\r
1786   {\r
1787     "id": "3ec80c0c.a7d6a4",\r
1788     "type": "success",\r
1789     "name": "success",\r
1790     "xml": "<outcome value='success'>\n",\r
1791     "comments": "",\r
1792     "outputs": 1,\r
1793     "x": 3975.0667877197266,\r
1794     "y": 1080.085693359375,\r
1795     "z": "9718fe15.98603",\r
1796     "wires": [\r
1797       [\r
1798         "cee29929.100dd"\r
1799       ]\r
1800     ]\r
1801   },\r
1802   {\r
1803     "id": "fb8be251.80b5",\r
1804     "type": "not-found",\r
1805     "name": "not-found",\r
1806     "xml": "<outcome value='not-found'>\n",\r
1807     "comments": "",\r
1808     "outputs": 1,\r
1809     "x": 3967.0667877197266,\r
1810     "y": 1135.085693359375,\r
1811     "z": "9718fe15.98603",\r
1812     "wires": [\r
1813       [\r
1814         "75204f77.c3b168"\r
1815       ]\r
1816     ]\r
1817   },\r
1818   {\r
1819     "id": "c39223e5.81b608",\r
1820     "type": "other",\r
1821     "name": "other",\r
1822     "xml": "<outcome value='Other'>\n",\r
1823     "comments": "",\r
1824     "outputs": 1,\r
1825     "x": 3972.0667877197266,\r
1826     "y": 1192.085693359375,\r
1827     "z": "9718fe15.98603",\r
1828     "wires": [\r
1829       [\r
1830         "24e0ef02.5cfcc"\r
1831       ]\r
1832     ]\r
1833   },\r
1834   {\r
1835     "id": "24e0ef02.5cfcc",\r
1836     "type": "returnFailure",\r
1837     "name": "return failure",\r
1838     "xml": "<return 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
1839     "comments": "",\r
1840     "x": 4124.066787719727,\r
1841     "y": 1193.085693359375,\r
1842     "z": "9718fe15.98603",\r
1843     "wires": []\r
1844   },\r
1845   {\r
1846     "id": "75204f77.c3b168",\r
1847     "type": "returnFailure",\r
1848     "name": "return failure",\r
1849     "xml": "<return 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
1850     "comments": "",\r
1851     "x": 4135.066787719727,\r
1852     "y": 1138.085693359375,\r
1853     "z": "9718fe15.98603",\r
1854     "wires": []\r
1855   },\r
1856   {\r
1857     "id": "cee29929.100dd",\r
1858     "type": "block",\r
1859     "name": "block",\r
1860     "xml": "<block>\n",\r
1861     "atomic": "false",\r
1862     "comments": "",\r
1863     "outputs": 1,\r
1864     "x": 4119.449111938477,\r
1865     "y": 1077.7413635253906,\r
1866     "z": "9718fe15.98603",\r
1867     "wires": [\r
1868       [\r
1869         "20e9a108.5fcefe"\r
1870       ]\r
1871     ]\r
1872   },\r
1873   {\r
1874     "id": "20e9a108.5fcefe",\r
1875     "type": "for",\r
1876     "name": "for each relationship",\r
1877     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1878     "comments": "",\r
1879     "outputs": 1,\r
1880     "x": 4342.566909790039,\r
1881     "y": 1216.085693359375,\r
1882     "z": "9718fe15.98603",\r
1883     "wires": [\r
1884       [\r
1885         "4c952f98.568af8"\r
1886       ]\r
1887     ]\r
1888   },\r
1889   {\r
1890     "id": "fc089afb.f44ed8",\r
1891     "type": "set",\r
1892     "name": "set ltpId",\r
1893     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1894     "comments": "",\r
1895     "x": 4435.566665649414,\r
1896     "y": 1260.085693359375,\r
1897     "z": "9718fe15.98603",\r
1898     "wires": []\r
1899   },\r
1900   {\r
1901     "id": "5c94bd3f.3e7f94",\r
1902     "type": "set",\r
1903     "name": "set pnf-name",\r
1904     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1905     "comments": "",\r
1906     "x": 4436.566665649414,\r
1907     "y": 1368.085693359375,\r
1908     "z": "9718fe15.98603",\r
1909     "wires": []\r
1910   },\r
1911   {\r
1912     "id": "e2e3430b.441438",\r
1913     "type": "comment",\r
1914     "name": "TODO: FIXME",\r
1915     "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
1916     "comments": "",\r
1917     "x": 4437.566665649414,\r
1918     "y": 1317.085693359375,\r
1919     "z": "9718fe15.98603",\r
1920     "wires": []\r
1921   },\r
1922   {\r
1923     "id": "25962334.407414",\r
1924     "type": "block",\r
1925     "name": "block : atomic",\r
1926     "xml": "<block atomic=\"true\">",\r
1927     "atomic": "true",\r
1928     "outputs": 1,\r
1929     "x": 4435.683853149414,\r
1930     "y": 1456.426025390625,\r
1931     "z": "9718fe15.98603",\r
1932     "wires": [\r
1933       [\r
1934         "c4c94be4.c4e6d8",\r
1935         "778cb9b9.8f8fe8",\r
1936         "bf204b7b.9bfdb"\r
1937       ]\r
1938     ]\r
1939   },\r
1940   {\r
1941     "id": "c4c94be4.c4e6d8",\r
1942     "type": "set",\r
1943     "name": "set source ttp-id",\r
1944     "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
1945     "comments": "",\r
1946     "x": 4650.683853149414,\r
1947     "y": 1418.426025390625,\r
1948     "z": "9718fe15.98603",\r
1949     "wires": []\r
1950   },\r
1951   {\r
1952     "id": "778cb9b9.8f8fe8",\r
1953     "type": "get-resource",\r
1954     "name": "get-resource src TTP",\r
1955     "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
1956     "comments": "",\r
1957     "outputs": 1,\r
1958     "x": 4647.683853149414,\r
1959     "y": 1457.426025390625,\r
1960     "z": "9718fe15.98603",\r
1961     "wires": [\r
1962       [\r
1963         "ec4224f7.9e7cd8"\r
1964       ]\r
1965     ]\r
1966   },\r
1967   {\r
1968     "id": "bf204b7b.9bfdb",\r
1969     "type": "break",\r
1970     "name": "break",\r
1971     "xml": "<break>\n",\r
1972     "comments": "",\r
1973     "x": 4603.183853149414,\r
1974     "y": 1499.426025390625,\r
1975     "z": "9718fe15.98603",\r
1976     "wires": []\r
1977   },\r
1978   {\r
1979     "id": "ec4224f7.9e7cd8",\r
1980     "type": "success",\r
1981     "name": "success",\r
1982     "xml": "<outcome value='success'>\n",\r
1983     "comments": "",\r
1984     "outputs": 1,\r
1985     "x": 4828.183853149414,\r
1986     "y": 1456.426025390625,\r
1987     "z": "9718fe15.98603",\r
1988     "wires": [\r
1989       [\r
1990         "582de34f.7fb28c"\r
1991       ]\r
1992     ]\r
1993   },\r
1994   {\r
1995     "id": "594a82b5.27abf4",\r
1996     "type": "outcome",\r
1997     "name": "esr-thirdparty-sdnc",\r
1998     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
1999     "comments": "",\r
2000     "outputs": 1,\r
2001     "x": 4740.566909790039,\r
2002     "y": 1220.085693359375,\r
2003     "z": "9718fe15.98603",\r
2004     "wires": [\r
2005       [\r
2006         "66078b.852b6874"\r
2007       ]\r
2008     ]\r
2009   },\r
2010   {\r
2011     "id": "66078b.852b6874",\r
2012     "type": "block",\r
2013     "name": "block : atomic",\r
2014     "xml": "<block atomic=\"true\">",\r
2015     "atomic": "true",\r
2016     "outputs": 1,\r
2017     "x": 4917.566909790039,\r
2018     "y": 1212.085693359375,\r
2019     "z": "9718fe15.98603",\r
2020     "wires": [\r
2021       [\r
2022         "845ac8fd.748f28",\r
2023         "83b24a05.2f8a"\r
2024       ]\r
2025     ]\r
2026   },\r
2027   {\r
2028     "id": "4c952f98.568af8",\r
2029     "type": "switchNode",\r
2030     "name": "switch related-to",\r
2031     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2032     "comments": "",\r
2033     "outputs": 1,\r
2034     "x": 4537.566909790039,\r
2035     "y": 1216.085693359375,\r
2036     "z": "9718fe15.98603",\r
2037     "wires": [\r
2038       [\r
2039         "594a82b5.27abf4",\r
2040         "5ed6730.6c8c00c"\r
2041       ]\r
2042     ]\r
2043   },\r
2044   {\r
2045     "id": "5ed6730.6c8c00c",\r
2046     "type": "outcome",\r
2047     "name": "network-resource",\r
2048     "xml": "<outcome value='network-resource'>",\r
2049     "comments": "",\r
2050     "outputs": 1,\r
2051     "x": 4606.566909790039,\r
2052     "y": 1290.085693359375,\r
2053     "z": "9718fe15.98603",\r
2054     "wires": [\r
2055       [\r
2056         "4c5161e.9fd722"\r
2057       ]\r
2058     ]\r
2059   },\r
2060   {\r
2061     "id": "4c5161e.9fd722",\r
2062     "type": "block",\r
2063     "name": "block : atomic",\r
2064     "xml": "<block atomic=\"true\">",\r
2065     "atomic": "true",\r
2066     "outputs": 1,\r
2067     "x": 4802.566909790039,\r
2068     "y": 1290.085693359375,\r
2069     "z": "9718fe15.98603",\r
2070     "wires": [\r
2071       [\r
2072         "56b33693.b47598"\r
2073       ]\r
2074     ]\r
2075   },\r
2076   {\r
2077     "id": "582de34f.7fb28c",\r
2078     "type": "block",\r
2079     "name": "block : atomic",\r
2080     "xml": "<block atomic=\"true\">",\r
2081     "atomic": "true",\r
2082     "outputs": 1,\r
2083     "x": 4986.183853149414,\r
2084     "y": 1456.426025390625,\r
2085     "z": "9718fe15.98603",\r
2086     "wires": [\r
2087       [\r
2088         "85577907.9676c"\r
2089       ]\r
2090     ]\r
2091   },\r
2092   {\r
2093     "id": "85577907.9676c",\r
2094     "type": "set",\r
2095     "name": "set source tunnel tp ip",\r
2096     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2097     "comments": "",\r
2098     "x": 5193.183853149414,\r
2099     "y": 1456.426025390625,\r
2100     "z": "9718fe15.98603",\r
2101     "wires": []\r
2102   },\r
2103   {\r
2104     "id": "83b24a05.2f8a",\r
2105     "type": "execute",\r
2106     "name": "get esr-thirdparty-sdnc",\r
2107     "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
2108     "comments": "",\r
2109     "outputs": 1,\r
2110     "x": 5142.566909790039,\r
2111     "y": 1208.085693359375,\r
2112     "z": "9718fe15.98603",\r
2113     "wires": [\r
2114       [\r
2115         "713c5be.b2c37a4",\r
2116         "d56276.26041588",\r
2117         "196389ff.ab755e"\r
2118       ]\r
2119     ]\r
2120   },\r
2121   {\r
2122     "id": "845ac8fd.748f28",\r
2123     "type": "set",\r
2124     "name": "set esr-thirdparty-sdnc domainA id",\r
2125     "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
2126     "comments": "",\r
2127     "x": 5172.566909790039,\r
2128     "y": 1156.085693359375,\r
2129     "z": "9718fe15.98603",\r
2130     "wires": []\r
2131   },\r
2132   {\r
2133     "id": "713c5be.b2c37a4",\r
2134     "type": "success",\r
2135     "name": "success",\r
2136     "xml": "<outcome value='success'>\n",\r
2137     "comments": "",\r
2138     "outputs": 1,\r
2139     "x": 5352.566909790039,\r
2140     "y": 1199.085693359375,\r
2141     "z": "9718fe15.98603",\r
2142     "wires": [\r
2143       [\r
2144         "d0702051.0907f"\r
2145       ]\r
2146     ]\r
2147   },\r
2148   {\r
2149     "id": "d56276.26041588",\r
2150     "type": "not-found",\r
2151     "name": "not-found",\r
2152     "xml": "<outcome value='not-found'>\n",\r
2153     "comments": "",\r
2154     "outputs": 1,\r
2155     "x": 5344.566909790039,\r
2156     "y": 1254.085693359375,\r
2157     "z": "9718fe15.98603",\r
2158     "wires": [\r
2159       [\r
2160         "8b99771a.c5d7d8"\r
2161       ]\r
2162     ]\r
2163   },\r
2164   {\r
2165     "id": "196389ff.ab755e",\r
2166     "type": "other",\r
2167     "name": "other",\r
2168     "xml": "<outcome value='Other'>\n",\r
2169     "comments": "",\r
2170     "outputs": 1,\r
2171     "x": 5349.566909790039,\r
2172     "y": 1311.085693359375,\r
2173     "z": "9718fe15.98603",\r
2174     "wires": [\r
2175       [\r
2176         "a51c05da.8af508"\r
2177       ]\r
2178     ]\r
2179   },\r
2180   {\r
2181     "id": "a51c05da.8af508",\r
2182     "type": "returnFailure",\r
2183     "name": "return failure",\r
2184     "xml": "<return 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
2185     "comments": "",\r
2186     "x": 5501.566909790039,\r
2187     "y": 1312.085693359375,\r
2188     "z": "9718fe15.98603",\r
2189     "wires": []\r
2190   },\r
2191   {\r
2192     "id": "8b99771a.c5d7d8",\r
2193     "type": "returnFailure",\r
2194     "name": "return failure",\r
2195     "xml": "<return 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
2196     "comments": "",\r
2197     "x": 5512.566909790039,\r
2198     "y": 1257.085693359375,\r
2199     "z": "9718fe15.98603",\r
2200     "wires": []\r
2201   },\r
2202   {\r
2203     "id": "d0702051.0907f",\r
2204     "type": "block",\r
2205     "name": "block",\r
2206     "xml": "<block>\n",\r
2207     "atomic": "false",\r
2208     "comments": "",\r
2209     "outputs": 1,\r
2210     "x": 5496.949234008789,\r
2211     "y": 1196.7413635253906,\r
2212     "z": "9718fe15.98603",\r
2213     "wires": [\r
2214       [\r
2215         "2f7031d3.9cf0ee"\r
2216       ]\r
2217     ]\r
2218   },\r
2219   {\r
2220     "id": "56b33693.b47598",\r
2221     "type": "set",\r
2222     "name": "set domainA ethernet layer network-id",\r
2223     "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
2224     "comments": "",\r
2225     "x": 5065.566909790039,\r
2226     "y": 1293.085693359375,\r
2227     "z": "9718fe15.98603",\r
2228     "wires": []\r
2229   },\r
2230   {\r
2231     "id": "2f7031d3.9cf0ee",\r
2232     "type": "set",\r
2233     "name": "set controller domainA data",\r
2234     "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
2235     "comments": "",\r
2236     "x": 5683.566909790039,\r
2237     "y": 1193.085693359375,\r
2238     "z": "9718fe15.98603",\r
2239     "wires": []\r
2240   },\r
2241   {\r
2242     "id": "f189d378.846e88",\r
2243     "type": "set",\r
2244     "name": "set network-route-B",\r
2245     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2246     "comments": "",\r
2247     "x": 4324.566177368164,\r
2248     "y": 428.085693359375,\r
2249     "z": "9718fe15.98603",\r
2250     "wires": []\r
2251   },\r
2252   {\r
2253     "id": "b971caad.98e088",\r
2254     "type": "set",\r
2255     "name": "set network-route-A",\r
2256     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2257     "comments": "",\r
2258     "x": 4315.566177368164,\r
2259     "y": 526.085693359375,\r
2260     "z": "9718fe15.98603",\r
2261     "wires": []\r
2262   },\r
2263   {\r
2264     "id": "7ce464fa.676414",\r
2265     "type": "block",\r
2266     "name": "block",\r
2267     "xml": "<block>\n",\r
2268     "atomic": "false",\r
2269     "comments": "",\r
2270     "outputs": 1,\r
2271     "x": 4149.566177368164,\r
2272     "y": 434.085693359375,\r
2273     "z": "9718fe15.98603",\r
2274     "wires": [\r
2275       [\r
2276         "69d167e5.40c62",\r
2277         "f189d378.846e88"\r
2278       ]\r
2279     ]\r
2280   },\r
2281   {\r
2282     "id": "6bd6b0d9.b558a",\r
2283     "type": "block",\r
2284     "name": "block",\r
2285     "xml": "<block>\n",\r
2286     "atomic": "false",\r
2287     "comments": "",\r
2288     "outputs": 1,\r
2289     "x": 4155.566177368164,\r
2290     "y": 498.085693359375,\r
2291     "z": "9718fe15.98603",\r
2292     "wires": [\r
2293       [\r
2294         "e079feb5.4893f8",\r
2295         "b971caad.98e088"\r
2296       ]\r
2297     ]\r
2298   },\r
2299   {\r
2300     "id": "6918e709.d57e78",\r
2301     "type": "block",\r
2302     "name": "block",\r
2303     "xml": "<block>\n",\r
2304     "atomic": "false",\r
2305     "comments": "",\r
2306     "outputs": 1,\r
2307     "x": 4169.565933227539,\r
2308     "y": 662.085693359375,\r
2309     "z": "9718fe15.98603",\r
2310     "wires": [\r
2311       [\r
2312         "81aa5c4a.edfc28",\r
2313         "94706e58.1662e"\r
2314       ]\r
2315     ]\r
2316   },\r
2317   {\r
2318     "id": "688d98a0.dbdc1",\r
2319     "type": "block",\r
2320     "name": "block",\r
2321     "xml": "<block>\n",\r
2322     "atomic": "false",\r
2323     "comments": "",\r
2324     "outputs": 1,\r
2325     "x": 4172.565933227539,\r
2326     "y": 715.085693359375,\r
2327     "z": "9718fe15.98603",\r
2328     "wires": [\r
2329       [\r
2330         "3e901a8b.2e5bae",\r
2331         "fa86abe3.b1432"\r
2332       ]\r
2333     ]\r
2334   },\r
2335   {\r
2336     "id": "94706e58.1662e",\r
2337     "type": "set",\r
2338     "name": "set network-route-B",\r
2339     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2340     "comments": "",\r
2341     "x": 4391.565933227539,\r
2342     "y": 729.085693359375,\r
2343     "z": "9718fe15.98603",\r
2344     "wires": []\r
2345   },\r
2346   {\r
2347     "id": "fa86abe3.b1432",\r
2348     "type": "set",\r
2349     "name": "set network-route-A",\r
2350     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2351     "comments": "",\r
2352     "x": 4394.565933227539,\r
2353     "y": 820.085693359375,\r
2354     "z": "9718fe15.98603",\r
2355     "wires": []\r
2356   },\r
2357   {\r
2358     "id": "86d40228.e6791",\r
2359     "type": "block",\r
2360     "name": "block : atomic",\r
2361     "xml": "<block atomic=\"true\">",\r
2362     "atomic": "true",\r
2363     "outputs": 1,\r
2364     "x": 3550.566665649414,\r
2365     "y": 1766.085693359375,\r
2366     "z": "9718fe15.98603",\r
2367     "wires": [\r
2368       [\r
2369         "6a32c154.ba6f4",\r
2370         "1782aa9f.237955"\r
2371       ]\r
2372     ]\r
2373   },\r
2374   {\r
2375     "id": "9ec80efb.c2577",\r
2376     "type": "success",\r
2377     "name": "success",\r
2378     "xml": "<outcome value='success'>\n",\r
2379     "comments": "",\r
2380     "outputs": 1,\r
2381     "x": 3377.900161743164,\r
2382     "y": 1767.085693359375,\r
2383     "z": "9718fe15.98603",\r
2384     "wires": [\r
2385       [\r
2386         "86d40228.e6791"\r
2387       ]\r
2388     ]\r
2389   },\r
2390   {\r
2391     "id": "43e3fed6.1297b8",\r
2392     "type": "not-found",\r
2393     "name": "not-found",\r
2394     "xml": "<outcome value='not-found'>\n",\r
2395     "comments": "",\r
2396     "outputs": 1,\r
2397     "x": 3387.391128540039,\r
2398     "y": 1809.6597290039062,\r
2399     "z": "9718fe15.98603",\r
2400     "wires": [\r
2401       [\r
2402         "334a1379.e9843c"\r
2403       ]\r
2404     ]\r
2405   },\r
2406   {\r
2407     "id": "1f47b68f.a8eef1",\r
2408     "type": "failure",\r
2409     "name": "failure",\r
2410     "xml": "<outcome value='failure'>\n",\r
2411     "comments": "",\r
2412     "outputs": 1,\r
2413     "x": 3375.900161743164,\r
2414     "y": 1856.085693359375,\r
2415     "z": "9718fe15.98603",\r
2416     "wires": [\r
2417       [\r
2418         "5bb133ac.e78e0c"\r
2419       ]\r
2420     ]\r
2421   },\r
2422   {\r
2423     "id": "334a1379.e9843c",\r
2424     "type": "returnFailure",\r
2425     "name": "return failure",\r
2426     "xml": "<return 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
2427     "comments": "",\r
2428     "x": 3540.9625396728516,\r
2429     "y": 1812.9454650878906,\r
2430     "z": "9718fe15.98603",\r
2431     "wires": []\r
2432   },\r
2433   {\r
2434     "id": "5bb133ac.e78e0c",\r
2435     "type": "returnFailure",\r
2436     "name": "return failure",\r
2437     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2438     "comments": "",\r
2439     "x": 3544.900161743164,\r
2440     "y": 1857.085693359375,\r
2441     "z": "9718fe15.98603",\r
2442     "wires": []\r
2443   },\r
2444   {\r
2445     "id": "6a32c154.ba6f4",\r
2446     "type": "execute",\r
2447     "name": "execute split tp-id to get pnf-name",\r
2448     "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
2449     "comments": "",\r
2450     "outputs": 1,\r
2451     "x": 3836.900161743164,\r
2452     "y": 1770.0858154296875,\r
2453     "z": "9718fe15.98603",\r
2454     "wires": [\r
2455       [\r
2456         "ca43a356.ba0b08",\r
2457         "e66d0b8d.a97b4"\r
2458       ]\r
2459     ]\r
2460   },\r
2461   {\r
2462     "id": "e66d0b8d.a97b4",\r
2463     "type": "failure",\r
2464     "name": "success",\r
2465     "xml": "<outcome value='success'>\n",\r
2466     "comments": "",\r
2467     "outputs": 1,\r
2468     "x": 4059.900161743164,\r
2469     "y": 1725.0858154296875,\r
2470     "z": "9718fe15.98603",\r
2471     "wires": [\r
2472       [\r
2473         "fd8de530.926928"\r
2474       ]\r
2475     ]\r
2476   },\r
2477   {\r
2478     "id": "ca43a356.ba0b08",\r
2479     "type": "failure",\r
2480     "name": "failure",\r
2481     "xml": "<outcome value='failure'>\n",\r
2482     "comments": "",\r
2483     "outputs": 1,\r
2484     "x": 4061.900161743164,\r
2485     "y": 1789.0858154296875,\r
2486     "z": "9718fe15.98603",\r
2487     "wires": [\r
2488       [\r
2489         "ac8c9391.216608"\r
2490       ]\r
2491     ]\r
2492   },\r
2493   {\r
2494     "id": "ac8c9391.216608",\r
2495     "type": "returnFailure",\r
2496     "name": "return failure",\r
2497     "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
2498     "comments": "",\r
2499     "x": 4220.900161743164,\r
2500     "y": 1808.0858154296875,\r
2501     "z": "9718fe15.98603",\r
2502     "wires": []\r
2503   },\r
2504   {\r
2505     "id": "fd8de530.926928",\r
2506     "type": "block",\r
2507     "name": "block : atomic",\r
2508     "xml": "<block atomic=\"true\">",\r
2509     "atomic": "true",\r
2510     "outputs": 1,\r
2511     "x": 4224.900161743164,\r
2512     "y": 1722.0858154296875,\r
2513     "z": "9718fe15.98603",\r
2514     "wires": [\r
2515       [\r
2516         "23cc210e.ee0c06",\r
2517         "6fca06b.e0d07f8"\r
2518       ]\r
2519     ]\r
2520   },\r
2521   {\r
2522     "id": "8c4c723a.871028",\r
2523     "type": "save",\r
2524     "name": "get p-interface-dst from aai",\r
2525     "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
2526     "comments": "",\r
2527     "outputs": 1,\r
2528     "x": 3149.900161743164,\r
2529     "y": 1802.085693359375,\r
2530     "z": "9718fe15.98603",\r
2531     "wires": [\r
2532       [\r
2533         "9ec80efb.c2577",\r
2534         "43e3fed6.1297b8",\r
2535         "1f47b68f.a8eef1"\r
2536       ]\r
2537     ]\r
2538   },\r
2539   {\r
2540     "id": "24043c86.21d3b4",\r
2541     "type": "comment",\r
2542     "name": "Question?",\r
2543     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2544     "comments": "",\r
2545     "x": 3110.900161743164,\r
2546     "y": 1746.085693359375,\r
2547     "z": "9718fe15.98603",\r
2548     "wires": []\r
2549   },\r
2550   {\r
2551     "id": "b53436ed.4e5d8",\r
2552     "type": "execute",\r
2553     "name": "execute split tp-id to get pnf-name",\r
2554     "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
2555     "comments": "",\r
2556     "outputs": 1,\r
2557     "x": 3162.900161743164,\r
2558     "y": 1548.085693359375,\r
2559     "z": "9718fe15.98603",\r
2560     "wires": [\r
2561       [\r
2562         "b0d17fd7.22179",\r
2563         "dd9d4fb5.ef81d"\r
2564       ]\r
2565     ]\r
2566   },\r
2567   {\r
2568     "id": "dd9d4fb5.ef81d",\r
2569     "type": "failure",\r
2570     "name": "success",\r
2571     "xml": "<outcome value='success'>\n",\r
2572     "comments": "",\r
2573     "outputs": 1,\r
2574     "x": 3385.900161743164,\r
2575     "y": 1534.085693359375,\r
2576     "z": "9718fe15.98603",\r
2577     "wires": [\r
2578       [\r
2579         "b04c1433.ec2b4"\r
2580       ]\r
2581     ]\r
2582   },\r
2583   {\r
2584     "id": "b0d17fd7.22179",\r
2585     "type": "failure",\r
2586     "name": "failure",\r
2587     "xml": "<outcome value='failure'>\n",\r
2588     "comments": "",\r
2589     "outputs": 1,\r
2590     "x": 3387.900161743164,\r
2591     "y": 1567.085693359375,\r
2592     "z": "9718fe15.98603",\r
2593     "wires": [\r
2594       [\r
2595         "774ab139.4714d"\r
2596       ]\r
2597     ]\r
2598   },\r
2599   {\r
2600     "id": "774ab139.4714d",\r
2601     "type": "returnFailure",\r
2602     "name": "return failure",\r
2603     "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
2604     "comments": "",\r
2605     "x": 3530.900161743164,\r
2606     "y": 1564.085693359375,\r
2607     "z": "9718fe15.98603",\r
2608     "wires": []\r
2609   },\r
2610   {\r
2611     "id": "b04c1433.ec2b4",\r
2612     "type": "block",\r
2613     "name": "block : atomic",\r
2614     "xml": "<block atomic=\"true\">",\r
2615     "atomic": "true",\r
2616     "outputs": 1,\r
2617     "x": 3533.900161743164,\r
2618     "y": 1527.085693359375,\r
2619     "z": "9718fe15.98603",\r
2620     "wires": [\r
2621       [\r
2622         "1e9a896f.f9bc1f",\r
2623         "93b99c7d.fb3988"\r
2624       ]\r
2625     ]\r
2626   },\r
2627   {\r
2628     "id": "1e9a896f.f9bc1f",\r
2629     "type": "set",\r
2630     "name": "set pnf-name",\r
2631     "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
2632     "comments": "",\r
2633     "x": 3727.900161743164,\r
2634     "y": 1530.0858154296875,\r
2635     "z": "9718fe15.98603",\r
2636     "wires": []\r
2637   },\r
2638   {\r
2639     "id": "1782aa9f.237955",\r
2640     "type": "for",\r
2641     "name": "for each relationship",\r
2642     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2643     "comments": "",\r
2644     "outputs": 1,\r
2645     "x": 3780.900161743164,\r
2646     "y": 1889.085693359375,\r
2647     "z": "9718fe15.98603",\r
2648     "wires": [\r
2649       [\r
2650         "2e3481a6.9bb10e"\r
2651       ]\r
2652     ]\r
2653   },\r
2654   {\r
2655     "id": "2e3481a6.9bb10e",\r
2656     "type": "switchNode",\r
2657     "name": "switch related-to",\r
2658     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2659     "comments": "",\r
2660     "outputs": 1,\r
2661     "x": 3986.900161743164,\r
2662     "y": 1889.085693359375,\r
2663     "z": "9718fe15.98603",\r
2664     "wires": [\r
2665       [\r
2666         "6540c5f1.0a5994"\r
2667       ]\r
2668     ]\r
2669   },\r
2670   {\r
2671     "id": "6540c5f1.0a5994",\r
2672     "type": "outcome",\r
2673     "name": "tunnel-termination-point",\r
2674     "xml": "<outcome value='tunnel-termination-point'>\n",\r
2675     "comments": "",\r
2676     "outputs": 1,\r
2677     "x": 4204.185806274414,\r
2678     "y": 1887.907470703125,\r
2679     "z": "9718fe15.98603",\r
2680     "wires": [\r
2681       [\r
2682         "95bcf360.d32c3"\r
2683       ]\r
2684     ]\r
2685   },\r
2686   {\r
2687     "id": "93b99c7d.fb3988",\r
2688     "type": "get-resource",\r
2689     "name": "get-resource src pnf",\r
2690     "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
2691     "comments": "",\r
2692     "outputs": 1,\r
2693     "x": 3749.900161743164,\r
2694     "y": 1598.0858154296875,\r
2695     "z": "9718fe15.98603",\r
2696     "wires": [\r
2697       [\r
2698         "56130ba2.c1cf54",\r
2699         "ae8939cc.fc31",\r
2700         "2a03aebc.9defb2"\r
2701       ]\r
2702     ]\r
2703   },\r
2704   {\r
2705     "id": "56130ba2.c1cf54",\r
2706     "type": "success",\r
2707     "name": "success",\r
2708     "xml": "<outcome value='success'>\n",\r
2709     "comments": "",\r
2710     "outputs": 1,\r
2711     "x": 3945.4002838134766,\r
2712     "y": 1550.0858154296875,\r
2713     "z": "9718fe15.98603",\r
2714     "wires": [\r
2715       [\r
2716         "d6a55773.4a4c"\r
2717       ]\r
2718     ]\r
2719   },\r
2720   {\r
2721     "id": "ae8939cc.fc31",\r
2722     "type": "not-found",\r
2723     "name": "not-found",\r
2724     "xml": "<outcome value='not-found'>\n",\r
2725     "comments": "",\r
2726     "outputs": 1,\r
2727     "x": 3937.4002838134766,\r
2728     "y": 1605.0858154296875,\r
2729     "z": "9718fe15.98603",\r
2730     "wires": [\r
2731       [\r
2732         "9b459bcd.2098d"\r
2733       ]\r
2734     ]\r
2735   },\r
2736   {\r
2737     "id": "2a03aebc.9defb2",\r
2738     "type": "other",\r
2739     "name": "other",\r
2740     "xml": "<outcome value='Other'>\n",\r
2741     "comments": "",\r
2742     "outputs": 1,\r
2743     "x": 3942.4002838134766,\r
2744     "y": 1662.0858154296875,\r
2745     "z": "9718fe15.98603",\r
2746     "wires": [\r
2747       [\r
2748         "649fe73e.2ce088"\r
2749       ]\r
2750     ]\r
2751   },\r
2752   {\r
2753     "id": "649fe73e.2ce088",\r
2754     "type": "returnFailure",\r
2755     "name": "return failure",\r
2756     "xml": "<return 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
2757     "comments": "",\r
2758     "x": 4094.4002838134766,\r
2759     "y": 1663.0858154296875,\r
2760     "z": "9718fe15.98603",\r
2761     "wires": []\r
2762   },\r
2763   {\r
2764     "id": "9b459bcd.2098d",\r
2765     "type": "returnFailure",\r
2766     "name": "return failure",\r
2767     "xml": "<return 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
2768     "comments": "",\r
2769     "x": 4105.400283813477,\r
2770     "y": 1608.0858154296875,\r
2771     "z": "9718fe15.98603",\r
2772     "wires": []\r
2773   },\r
2774   {\r
2775     "id": "d6a55773.4a4c",\r
2776     "type": "block",\r
2777     "name": "block",\r
2778     "xml": "<block>\n",\r
2779     "atomic": "false",\r
2780     "comments": "",\r
2781     "outputs": 1,\r
2782     "x": 4089.7826080322266,\r
2783     "y": 1547.7414855957031,\r
2784     "z": "9718fe15.98603",\r
2785     "wires": [\r
2786       [\r
2787         "bede9152.115d78"\r
2788       ]\r
2789     ]\r
2790   },\r
2791   {\r
2792     "id": "23cc210e.ee0c06",\r
2793     "type": "set",\r
2794     "name": "set ltpId",\r
2795     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2796     "comments": "",\r
2797     "x": 4394.900161743164,\r
2798     "y": 1683.0858154296875,\r
2799     "z": "9718fe15.98603",\r
2800     "wires": []\r
2801   },\r
2802   {\r
2803     "id": "6fca06b.e0d07f8",\r
2804     "type": "set",\r
2805     "name": "set pnf-name",\r
2806     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2807     "comments": "",\r
2808     "x": 4395.900161743164,\r
2809     "y": 1788.0858154296875,\r
2810     "z": "9718fe15.98603",\r
2811     "wires": []\r
2812   },\r
2813   {\r
2814     "id": "69bceee8.94dc1",\r
2815     "type": "comment",\r
2816     "name": "TODO: FIXME",\r
2817     "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
2818     "comments": "",\r
2819     "x": 4390.900161743164,\r
2820     "y": 1737.0858154296875,\r
2821     "z": "9718fe15.98603",\r
2822     "wires": []\r
2823   },\r
2824   {\r
2825     "id": "95bcf360.d32c3",\r
2826     "type": "block",\r
2827     "name": "block : atomic",\r
2828     "xml": "<block atomic=\"true\">",\r
2829     "atomic": "true",\r
2830     "outputs": 1,\r
2831     "x": 4411.017349243164,\r
2832     "y": 1877.4261474609375,\r
2833     "z": "9718fe15.98603",\r
2834     "wires": [\r
2835       [\r
2836         "d7309d49.1473f8",\r
2837         "2eed2e93.5097fa",\r
2838         "930eaed5.6d5ba"\r
2839       ]\r
2840     ]\r
2841   },\r
2842   {\r
2843     "id": "d7309d49.1473f8",\r
2844     "type": "set",\r
2845     "name": "set destination ttp-id",\r
2846     "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
2847     "comments": "",\r
2848     "x": 4626.017349243164,\r
2849     "y": 1839.4261474609375,\r
2850     "z": "9718fe15.98603",\r
2851     "wires": []\r
2852   },\r
2853   {\r
2854     "id": "2eed2e93.5097fa",\r
2855     "type": "get-resource",\r
2856     "name": "get-resource src TTP",\r
2857     "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
2858     "comments": "",\r
2859     "outputs": 1,\r
2860     "x": 4623.017349243164,\r
2861     "y": 1878.4261474609375,\r
2862     "z": "9718fe15.98603",\r
2863     "wires": [\r
2864       [\r
2865         "2f95459c.265a5a"\r
2866       ]\r
2867     ]\r
2868   },\r
2869   {\r
2870     "id": "930eaed5.6d5ba",\r
2871     "type": "break",\r
2872     "name": "break",\r
2873     "xml": "<break>\n",\r
2874     "comments": "",\r
2875     "x": 4578.517349243164,\r
2876     "y": 1920.4261474609375,\r
2877     "z": "9718fe15.98603",\r
2878     "wires": []\r
2879   },\r
2880   {\r
2881     "id": "2f95459c.265a5a",\r
2882     "type": "success",\r
2883     "name": "success",\r
2884     "xml": "<outcome value='success'>\n",\r
2885     "comments": "",\r
2886     "outputs": 1,\r
2887     "x": 4803.517349243164,\r
2888     "y": 1877.4261474609375,\r
2889     "z": "9718fe15.98603",\r
2890     "wires": [\r
2891       [\r
2892         "d078b0a.68a52d"\r
2893       ]\r
2894     ]\r
2895   },\r
2896   {\r
2897     "id": "d078b0a.68a52d",\r
2898     "type": "block",\r
2899     "name": "block : atomic",\r
2900     "xml": "<block atomic=\"true\">",\r
2901     "atomic": "true",\r
2902     "outputs": 1,\r
2903     "x": 4961.517349243164,\r
2904     "y": 1877.4261474609375,\r
2905     "z": "9718fe15.98603",\r
2906     "wires": [\r
2907       [\r
2908         "30e98951.5e07a6"\r
2909       ]\r
2910     ]\r
2911   },\r
2912   {\r
2913     "id": "30e98951.5e07a6",\r
2914     "type": "set",\r
2915     "name": "set destination tunnel tp ip",\r
2916     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2917     "comments": "",\r
2918     "x": 5168.517349243164,\r
2919     "y": 1877.4261474609375,\r
2920     "z": "9718fe15.98603",\r
2921     "wires": []\r
2922   },\r
2923   {\r
2924     "id": "981701b9.ec871",\r
2925     "type": "outcome",\r
2926     "name": "esr-thirdparty-sdnc",\r
2927     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2928     "comments": "",\r
2929     "outputs": 1,\r
2930     "x": 4671.900161743164,\r
2931     "y": 1566.0858154296875,\r
2932     "z": "9718fe15.98603",\r
2933     "wires": [\r
2934       [\r
2935         "d77b06b.6f4d6f8"\r
2936       ]\r
2937     ]\r
2938   },\r
2939   {\r
2940     "id": "d77b06b.6f4d6f8",\r
2941     "type": "block",\r
2942     "name": "block : atomic",\r
2943     "xml": "<block atomic=\"true\">",\r
2944     "atomic": "true",\r
2945     "outputs": 1,\r
2946     "x": 4848.900161743164,\r
2947     "y": 1558.0858154296875,\r
2948     "z": "9718fe15.98603",\r
2949     "wires": [\r
2950       [\r
2951         "3a0f923c.08de3e",\r
2952         "973e1032.2176f8"\r
2953       ]\r
2954     ]\r
2955   },\r
2956   {\r
2957     "id": "bede9152.115d78",\r
2958     "type": "for",\r
2959     "name": "for each relationship",\r
2960     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2961     "comments": "",\r
2962     "outputs": 1,\r
2963     "x": 4273.900161743164,\r
2964     "y": 1562.0858154296875,\r
2965     "z": "9718fe15.98603",\r
2966     "wires": [\r
2967       [\r
2968         "fdc36db2.a87e28"\r
2969       ]\r
2970     ]\r
2971   },\r
2972   {\r
2973     "id": "fdc36db2.a87e28",\r
2974     "type": "switchNode",\r
2975     "name": "switch related-to",\r
2976     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2977     "comments": "",\r
2978     "outputs": 1,\r
2979     "x": 4468.900161743164,\r
2980     "y": 1562.0858154296875,\r
2981     "z": "9718fe15.98603",\r
2982     "wires": [\r
2983       [\r
2984         "981701b9.ec871",\r
2985         "be6d1ad1.f19078"\r
2986       ]\r
2987     ]\r
2988   },\r
2989   {\r
2990     "id": "973e1032.2176f8",\r
2991     "type": "execute",\r
2992     "name": "get esr-thirdparty-sdnc",\r
2993     "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
2994     "comments": "",\r
2995     "outputs": 1,\r
2996     "x": 5056.900161743164,\r
2997     "y": 1565.0858154296875,\r
2998     "z": "9718fe15.98603",\r
2999     "wires": [\r
3000       [\r
3001         "ca9140fb.c087c8",\r
3002         "6d0312aa.d002b4",\r
3003         "f05eee5.baf501"\r
3004       ]\r
3005     ]\r
3006   },\r
3007   {\r
3008     "id": "6e647d31.2d49bc",\r
3009     "type": "block",\r
3010     "name": "block : atomic",\r
3011     "xml": "<block atomic=\"true\">",\r
3012     "atomic": "true",\r
3013     "outputs": 1,\r
3014     "x": 4850.900161743164,\r
3015     "y": 1631.0858154296875,\r
3016     "z": "9718fe15.98603",\r
3017     "wires": [\r
3018       [\r
3019         "e3a19b14.5a697"\r
3020       ]\r
3021     ]\r
3022   },\r
3023   {\r
3024     "id": "be6d1ad1.f19078",\r
3025     "type": "outcome",\r
3026     "name": "network-resource",\r
3027     "xml": "<outcome value='network-resource'>",\r
3028     "comments": "",\r
3029     "outputs": 1,\r
3030     "x": 4673.900161743164,\r
3031     "y": 1639.0858154296875,\r
3032     "z": "9718fe15.98603",\r
3033     "wires": [\r
3034       [\r
3035         "6e647d31.2d49bc"\r
3036       ]\r
3037     ]\r
3038   },\r
3039   {\r
3040     "id": "3a0f923c.08de3e",\r
3041     "type": "set",\r
3042     "name": "set esr-thirdparty-sdnc domainB id",\r
3043     "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
3044     "comments": "",\r
3045     "x": 5086.900161743164,\r
3046     "y": 1513.0858154296875,\r
3047     "z": "9718fe15.98603",\r
3048     "wires": []\r
3049   },\r
3050   {\r
3051     "id": "e3a19b14.5a697",\r
3052     "type": "set",\r
3053     "name": "set domainB ethernet layer network-id",\r
3054     "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
3055     "comments": "",\r
3056     "x": 5032.900161743164,\r
3057     "y": 1695.0858154296875,\r
3058     "z": "9718fe15.98603",\r
3059     "wires": []\r
3060   },\r
3061   {\r
3062     "id": "ca9140fb.c087c8",\r
3063     "type": "success",\r
3064     "name": "success",\r
3065     "xml": "<outcome value='success'>\n",\r
3066     "comments": "",\r
3067     "outputs": 1,\r
3068     "x": 5266.900161743164,\r
3069     "y": 1556.0858154296875,\r
3070     "z": "9718fe15.98603",\r
3071     "wires": [\r
3072       [\r
3073         "b8d407f0.fa2f2"\r
3074       ]\r
3075     ]\r
3076   },\r
3077   {\r
3078     "id": "6d0312aa.d002b4",\r
3079     "type": "not-found",\r
3080     "name": "not-found",\r
3081     "xml": "<outcome value='not-found'>\n",\r
3082     "comments": "",\r
3083     "outputs": 1,\r
3084     "x": 5258.900161743164,\r
3085     "y": 1611.0858154296875,\r
3086     "z": "9718fe15.98603",\r
3087     "wires": [\r
3088       [\r
3089         "4b944ffd.e25418"\r
3090       ]\r
3091     ]\r
3092   },\r
3093   {\r
3094     "id": "f05eee5.baf501",\r
3095     "type": "other",\r
3096     "name": "other",\r
3097     "xml": "<outcome value='Other'>\n",\r
3098     "comments": "",\r
3099     "outputs": 1,\r
3100     "x": 5263.900161743164,\r
3101     "y": 1668.0858154296875,\r
3102     "z": "9718fe15.98603",\r
3103     "wires": [\r
3104       [\r
3105         "ee8e04d7.272aa8"\r
3106       ]\r
3107     ]\r
3108   },\r
3109   {\r
3110     "id": "ee8e04d7.272aa8",\r
3111     "type": "returnFailure",\r
3112     "name": "return failure",\r
3113     "xml": "<return 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
3114     "comments": "",\r
3115     "x": 5415.900161743164,\r
3116     "y": 1669.0858154296875,\r
3117     "z": "9718fe15.98603",\r
3118     "wires": []\r
3119   },\r
3120   {\r
3121     "id": "4b944ffd.e25418",\r
3122     "type": "returnFailure",\r
3123     "name": "return failure",\r
3124     "xml": "<return 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
3125     "comments": "",\r
3126     "x": 5426.900161743164,\r
3127     "y": 1614.0858154296875,\r
3128     "z": "9718fe15.98603",\r
3129     "wires": []\r
3130   },\r
3131   {\r
3132     "id": "b8d407f0.fa2f2",\r
3133     "type": "block",\r
3134     "name": "block",\r
3135     "xml": "<block>\n",\r
3136     "atomic": "false",\r
3137     "comments": "",\r
3138     "outputs": 1,\r
3139     "x": 5411.282485961914,\r
3140     "y": 1553.7414855957031,\r
3141     "z": "9718fe15.98603",\r
3142     "wires": [\r
3143       [\r
3144         "6d9ea0b0.8eb598"\r
3145       ]\r
3146     ]\r
3147   },\r
3148   {\r
3149     "id": "6d9ea0b0.8eb598",\r
3150     "type": "set",\r
3151     "name": "set controller domainB data",\r
3152     "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
3153     "comments": "",\r
3154     "x": 5625.900161743164,\r
3155     "y": 1550.0858154296875,\r
3156     "z": "9718fe15.98603",\r
3157     "wires": []\r
3158   },\r
3159   {\r
3160     "id": "af5ed41e.3d53d8",\r
3161     "type": "set",\r
3162     "name": "set LEAF stuff",\r
3163     "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
3164     "comments": "",\r
3165     "x": 3214.566665649414,\r
3166     "y": 1372.085693359375,\r
3167     "z": "9718fe15.98603",\r
3168     "wires": []\r
3169   },\r
3170   {\r
3171     "id": "8ca11cdb.f07238",\r
3172     "type": "comment",\r
3173     "name": "This is it (should be)",\r
3174     "info": "",\r
3175     "comments": "",\r
3176     "x": 4491.566177368164,\r
3177     "y": 512.085693359375,\r
3178     "z": "9718fe15.98603",\r
3179     "wires": []\r
3180   },\r
3181   {\r
3182     "id": "d8ad8c3e.d0237",\r
3183     "type": "comment",\r
3184     "name": "This is it (should be)",\r
3185     "info": "",\r
3186     "comments": "",\r
3187     "x": 4559.565933227539,\r
3188     "y": 714.085693359375,\r
3189     "z": "9718fe15.98603",\r
3190     "wires": []\r
3191   },\r
3192   {\r
3193     "id": "ad7d5348.0e5498",\r
3194     "type": "set",\r
3195     "name": "set ROOT stuff",\r
3196     "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
3197     "comments": "",\r
3198     "x": 3110.566665649414,\r
3199     "y": 1933.085693359375,\r
3200     "z": "9718fe15.98603",\r
3201     "wires": []\r
3202   },\r
3203   {\r
3204     "id": "36740b66.98fa4c",\r
3205     "type": "call",\r
3206     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
3207     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
3208     "comments": "",\r
3209     "outputs": 1,\r
3210     "x": 3372.566665649414,\r
3211     "y": 2846.085693359375,\r
3212     "z": "9718fe15.98603",\r
3213     "wires": [\r
3214       []\r
3215     ]\r
3216   },\r
3217   {\r
3218     "id": "344dee20.fc9faa",\r
3219     "type": "switchNode",\r
3220     "name": "switch found-middle-man?",\r
3221     "xml": "<switch test='`$found-middle-man`'>\n",\r
3222     "comments": "",\r
3223     "outputs": 1,\r
3224     "x": 3249.566665649414,\r
3225     "y": 2956.085693359375,\r
3226     "z": "9718fe15.98603",\r
3227     "wires": [\r
3228       [\r
3229         "ae20b5d5.d95098",\r
3230         "c9495f1c.3bc2f8"\r
3231       ]\r
3232     ]\r
3233   },\r
3234   {\r
3235     "id": "ae20b5d5.d95098",\r
3236     "type": "outcomeFalse",\r
3237     "name": "false",\r
3238     "xml": "<outcome value='false'>\n",\r
3239     "comments": "",\r
3240     "outputs": 1,\r
3241     "x": 3433.566665649414,\r
3242     "y": 2935.085693359375,\r
3243     "z": "9718fe15.98603",\r
3244     "wires": [\r
3245       [\r
3246         "dbad0754.935cf"\r
3247       ]\r
3248     ]\r
3249   },\r
3250   {\r
3251     "id": "c9495f1c.3bc2f8",\r
3252     "type": "outcomeTrue",\r
3253     "name": "true",\r
3254     "xml": "<outcome value='true'>\n",\r
3255     "comments": "",\r
3256     "outputs": 1,\r
3257     "x": 2969.566665649414,\r
3258     "y": 4521.085693359375,\r
3259     "z": "9718fe15.98603",\r
3260     "wires": [\r
3261       [\r
3262         "89fb91c7.4bd6f"\r
3263       ]\r
3264     ]\r
3265   },\r
3266   {\r
3267     "id": "10e6ecec.11b933",\r
3268     "type": "block",\r
3269     "name": "block : atomic",\r
3270     "xml": "<block atomic='true'>",\r
3271     "atomic": "true",\r
3272     "comments": "",\r
3273     "outputs": 1,\r
3274     "x": 3480.566665649414,\r
3275     "y": 5106.085693359375,\r
3276     "z": "9718fe15.98603",\r
3277     "wires": [\r
3278       [\r
3279         "965aea89.b04fc8",\r
3280         "f18404c6.f7135",\r
3281         "e65dde18.8f2e28",\r
3282         "1e648504.a919f3",\r
3283         "518cc181.03ac48",\r
3284         "3f0ddd6.f3f1022"\r
3285       ]\r
3286     ]\r
3287   },\r
3288   {\r
3289     "id": "dbad0754.935cf",\r
3290     "type": "block",\r
3291     "name": "block : atomic",\r
3292     "xml": "<block atomic='true'>",\r
3293     "atomic": "true",\r
3294     "comments": "",\r
3295     "outputs": 1,\r
3296     "x": 6146.566665649414,\r
3297     "y": 1755.085693359375,\r
3298     "z": "9718fe15.98603",\r
3299     "wires": [\r
3300       [\r
3301         "36824bf8.d68ef4",\r
3302         "2dc163c.5688f1c",\r
3303         "aefc0847.3297e8",\r
3304         "f9d64859.5035b",\r
3305         "378565ef.1147ba",\r
3306         "ea2b2456.c327d",\r
3307         "41693c79.da7d5c",\r
3308         "632a01d1.5b8d1",\r
3309         "3ebd5a04.12a166",\r
3310         "f08579e.3888c08",\r
3311         "c49cd07d.45dca",\r
3312         "64b31039.d88b18",\r
3313         "9f309da2.930198",\r
3314         "bc5b333d.5b219",\r
3315         "4ee4ed66.f0512c",\r
3316         "11738810.45add",\r
3317         "997f20e4.966598",\r
3318         "90ca3b9e.d9782",\r
3319         "99bc893b.a732e",\r
3320         "98d8658a.1dab08",\r
3321         "d8f4cd5c.153e9",\r
3322         "96928e3.987df7"\r
3323       ]\r
3324     ]\r
3325   },\r
3326   {\r
3327     "id": "3ebd5a04.12a166",\r
3328     "type": "execute",\r
3329     "name": "execute UUID generator for connectivity domainB",\r
3330     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
3331     "comments": "",\r
3332     "outputs": 1,\r
3333     "x": 6517.566665649414,\r
3334     "y": 1678.085693359375,\r
3335     "z": "9718fe15.98603",\r
3336     "wires": [\r
3337       []\r
3338     ]\r
3339   },\r
3340   {\r
3341     "id": "36824bf8.d68ef4",\r
3342     "type": "save",\r
3343     "name": "save connectivity resource in AAI",\r
3344     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3345     "comments": "",\r
3346     "outputs": 1,\r
3347     "x": 6471.566665649414,\r
3348     "y": 1776.085693359375,\r
3349     "z": "9718fe15.98603",\r
3350     "wires": [\r
3351       []\r
3352     ]\r
3353   },\r
3354   {\r
3355     "id": "2dc163c.5688f1c",\r
3356     "type": "save",\r
3357     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3358     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3359     "comments": "",\r
3360     "outputs": 1,\r
3361     "x": 6607.566665649414,\r
3362     "y": 1823.085693359375,\r
3363     "z": "9718fe15.98603",\r
3364     "wires": [\r
3365       []\r
3366     ]\r
3367   },\r
3368   {\r
3369     "id": "c7f7058b.2d43",\r
3370     "type": "comment",\r
3371     "name": "Create ROOT connectivity",\r
3372     "info": "",\r
3373     "comments": "",\r
3374     "x": 6438.566665649414,\r
3375     "y": 1627.085693359375,\r
3376     "z": "9718fe15.98603",\r
3377     "wires": []\r
3378   },\r
3379   {\r
3380     "id": "288fb927.99235e",\r
3381     "type": "comment",\r
3382     "name": "create middle man connectivity and ...",\r
3383     "info": "1- create middle man connectivity\n2- create relation with all connectivities\n   in the path\n3- put srcTtp (+dstTtp) somewhere in the\n   vpn-binding -> this is for later on to find\n   which OTN tunnel's bandwidth has to be increased.\n5- create UNIs\n4- create relationship to UNIs",\r
3384     "comments": "",\r
3385     "x": 6934.566665649414,\r
3386     "y": 2363.085693359375,\r
3387     "z": "9718fe15.98603",\r
3388     "wires": []\r
3389   },\r
3390   {\r
3391     "id": "aefc0847.3297e8",\r
3392     "type": "execute",\r
3393     "name": "execute UUID generator for connectivity middle-man",\r
3394     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-middle-man-uuid\"/>\n",\r
3395     "comments": "",\r
3396     "outputs": 1,\r
3397     "x": 6498.566665649414,\r
3398     "y": 2402.085693359375,\r
3399     "z": "9718fe15.98603",\r
3400     "wires": [\r
3401       []\r
3402     ]\r
3403   },\r
3404   {\r
3405     "id": "f9d64859.5035b",\r
3406     "type": "save",\r
3407     "name": "save connectivity resource in AAI",\r
3408     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-middle-man-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-middle-man-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<!--The followings are not needed for the middle-man-connectivity-->\n<!--<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />-->\n<!--<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />-->\n<!--<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />-->\n<!--<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />-->\n<!--<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />-->\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='mdsc' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3409     "comments": "",\r
3410     "outputs": 1,\r
3411     "x": 6446.566665649414,\r
3412     "y": 2453.085693359375,\r
3413     "z": "9718fe15.98603",\r
3414     "wires": [\r
3415       []\r
3416     ]\r
3417   },\r
3418   {\r
3419     "id": "378565ef.1147ba",\r
3420     "type": "save",\r
3421     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3422     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-middle-man-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-middle-man-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3423     "comments": "",\r
3424     "outputs": 1,\r
3425     "x": 6582.566665649414,\r
3426     "y": 2500.085693359375,\r
3427     "z": "9718fe15.98603",\r
3428     "wires": [\r
3429       []\r
3430     ]\r
3431   },\r
3432   {\r
3433     "id": "718897ce.fb3b1",\r
3434     "type": "comment",\r
3435     "name": "Create MIDDLE-MAN connectivity",\r
3436     "info": "",\r
3437     "comments": "",\r
3438     "x": 6439.566665649414,\r
3439     "y": 2362.085693359375,\r
3440     "z": "9718fe15.98603",\r
3441     "wires": []\r
3442   },\r
3443   {\r
3444     "id": "42817fe0.95098",\r
3445     "type": "block",\r
3446     "name": "block : atomic",\r
3447     "xml": "<block atomic='true'>",\r
3448     "atomic": "true",\r
3449     "comments": "",\r
3450     "outputs": 1,\r
3451     "x": 6869.566665649414,\r
3452     "y": 2559.085693359375,\r
3453     "z": "9718fe15.98603",\r
3454     "wires": [\r
3455       []\r
3456     ]\r
3457   },\r
3458   {\r
3459     "id": "ea2b2456.c327d",\r
3460     "type": "save",\r
3461     "name": "get middle-man connectivity from aai",\r
3462     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"connectivity\"\n\t    key=\"connectivity.connectivity-id = $prop.connectivity-middle-man-uuid\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"middle-man-conn\" >\n",\r
3463     "comments": "",\r
3464     "outputs": 1,\r
3465     "x": 6460.566665649414,\r
3466     "y": 2606.085693359375,\r
3467     "z": "9718fe15.98603",\r
3468     "wires": [\r
3469       [\r
3470         "7708ed16.f5264c",\r
3471         "77c895d1.87f4a4",\r
3472         "866d7f4e.404768"\r
3473       ]\r
3474     ]\r
3475   },\r
3476   {\r
3477     "id": "7708ed16.f5264c",\r
3478     "type": "success",\r
3479     "name": "success",\r
3480     "xml": "<outcome value='success'>\n",\r
3481     "comments": "",\r
3482     "outputs": 1,\r
3483     "x": 6707.566665649414,\r
3484     "y": 2560.085693359375,\r
3485     "z": "9718fe15.98603",\r
3486     "wires": [\r
3487       [\r
3488         "42817fe0.95098"\r
3489       ]\r
3490     ]\r
3491   },\r
3492   {\r
3493     "id": "77c895d1.87f4a4",\r
3494     "type": "not-found",\r
3495     "name": "not-found",\r
3496     "xml": "<outcome value='not-found'>\n",\r
3497     "comments": "",\r
3498     "outputs": 1,\r
3499     "x": 6708.057632446289,\r
3500     "y": 2605.6597290039062,\r
3501     "z": "9718fe15.98603",\r
3502     "wires": [\r
3503       [\r
3504         "372888d7.b266f8"\r
3505       ]\r
3506     ]\r
3507   },\r
3508   {\r
3509     "id": "866d7f4e.404768",\r
3510     "type": "failure",\r
3511     "name": "failure",\r
3512     "xml": "<outcome value='failure'>\n",\r
3513     "comments": "",\r
3514     "outputs": 1,\r
3515     "x": 6705.566665649414,\r
3516     "y": 2649.085693359375,\r
3517     "z": "9718fe15.98603",\r
3518     "wires": [\r
3519       [\r
3520         "5cb60ec5.ffb7e8"\r
3521       ]\r
3522     ]\r
3523   },\r
3524   {\r
3525     "id": "372888d7.b266f8",\r
3526     "type": "returnFailure",\r
3527     "name": "return failure",\r
3528     "xml": "<return 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
3529     "comments": "",\r
3530     "x": 6870.629043579102,\r
3531     "y": 2605.9454650878906,\r
3532     "z": "9718fe15.98603",\r
3533     "wires": []\r
3534   },\r
3535   {\r
3536     "id": "5cb60ec5.ffb7e8",\r
3537     "type": "returnFailure",\r
3538     "name": "return failure",\r
3539     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3540     "comments": "",\r
3541     "x": 6874.566665649414,\r
3542     "y": 2650.085693359375,\r
3543     "z": "9718fe15.98603",\r
3544     "wires": []\r
3545   },\r
3546   {\r
3547     "id": "4ee4ed66.f0512c",\r
3548     "type": "save",\r
3549     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
3550     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
3551     "comments": "",\r
3552     "outputs": 1,\r
3553     "x": 6514.566665649414,\r
3554     "y": 2922.085693359375,\r
3555     "z": "9718fe15.98603",\r
3556     "wires": [\r
3557       []\r
3558     ]\r
3559   },\r
3560   {\r
3561     "id": "11738810.45add",\r
3562     "type": "save",\r
3563     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
3564     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainB-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainB-uuid`\" />",\r
3565     "comments": "",\r
3566     "outputs": 1,\r
3567     "x": 6517.566665649414,\r
3568     "y": 2967.085693359375,\r
3569     "z": "9718fe15.98603",\r
3570     "wires": [\r
3571       []\r
3572     ]\r
3573   },\r
3574   {\r
3575     "id": "90ca3b9e.d9782",\r
3576     "type": "save",\r
3577     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3578     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3579     "comments": "",\r
3580     "outputs": 1,\r
3581     "x": 6509.566665649414,\r
3582     "y": 2721.085693359375,\r
3583     "z": "9718fe15.98603",\r
3584     "wires": [\r
3585       []\r
3586     ]\r
3587   },\r
3588   {\r
3589     "id": "99bc893b.a732e",\r
3590     "type": "save",\r
3591     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
3592     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
3593     "comments": "",\r
3594     "outputs": 1,\r
3595     "x": 6511.566665649414,\r
3596     "y": 2768.085693359375,\r
3597     "z": "9718fe15.98603",\r
3598     "wires": [\r
3599       []\r
3600     ]\r
3601   },\r
3602   {\r
3603     "id": "ce999bfb.8752f",\r
3604     "type": "comment",\r
3605     "name": "The following two will be done in F1",\r
3606     "info": "",\r
3607     "comments": "",\r
3608     "x": 6430.566665649414,\r
3609     "y": 2875.085693359375,\r
3610     "z": "9718fe15.98603",\r
3611     "wires": []\r
3612   },\r
3613   {\r
3614     "id": "618f9b48.ad8ea4",\r
3615     "type": "save",\r
3616     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3617     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3618     "comments": "",\r
3619     "outputs": 1,\r
3620     "x": 4430.566909790039,\r
3621     "y": 5268.085693359375,\r
3622     "z": "9718fe15.98603",\r
3623     "wires": [\r
3624       []\r
3625     ]\r
3626   },\r
3627   {\r
3628     "id": "965aea89.b04fc8",\r
3629     "type": "switchNode",\r
3630     "name": "switch no-pce-call",\r
3631     "xml": "<switch test='`$no-pce-call`'>\n",\r
3632     "comments": "",\r
3633     "outputs": 1,\r
3634     "x": 3695.566665649414,\r
3635     "y": 5087.085693359375,\r
3636     "z": "9718fe15.98603",\r
3637     "wires": [\r
3638       [\r
3639         "c53bf166.c2e718",\r
3640         "936c4fdb.103588"\r
3641       ]\r
3642     ]\r
3643   },\r
3644   {\r
3645     "id": "936c4fdb.103588",\r
3646     "type": "outcomeFalse",\r
3647     "name": "false",\r
3648     "xml": "<outcome value='false'>\n",\r
3649     "comments": "",\r
3650     "outputs": 1,\r
3651     "x": 3867.566665649414,\r
3652     "y": 5084.085693359375,\r
3653     "z": "9718fe15.98603",\r
3654     "wires": [\r
3655       [\r
3656         "8b1c5fc9.627c"\r
3657       ]\r
3658     ]\r
3659   },\r
3660   {\r
3661     "id": "c53bf166.c2e718",\r
3662     "type": "outcomeFalse",\r
3663     "name": "true",\r
3664     "xml": "<outcome value='true'>\n",\r
3665     "comments": "",\r
3666     "outputs": 1,\r
3667     "x": 3819.566665649414,\r
3668     "y": 5931.085693359375,\r
3669     "z": "9718fe15.98603",\r
3670     "wires": [\r
3671       [\r
3672         "eab327e7.a5f748"\r
3673       ]\r
3674     ]\r
3675   },\r
3676   {\r
3677     "id": "3f493e72.b6d702",\r
3678     "type": "comment",\r
3679     "name": "1 --> PCE is needed",\r
3680     "info": "",\r
3681     "comments": "",\r
3682     "x": 3880.566665649414,\r
3683     "y": 5054.085693359375,\r
3684     "z": "9718fe15.98603",\r
3685     "wires": []\r
3686   },\r
3687   {\r
3688     "id": "4859c2db.d9b9e4",\r
3689     "type": "comment",\r
3690     "name": "2 --> no need to call PCE",\r
3691     "info": "",\r
3692     "comments": "",\r
3693     "x": 3890.566665649414,\r
3694     "y": 5889.085693359375,\r
3695     "z": "9718fe15.98603",\r
3696     "wires": []\r
3697   },\r
3698   {\r
3699     "id": "41693c79.da7d5c",\r
3700     "type": "call",\r
3701     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3702     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3703     "comments": "",\r
3704     "outputs": 1,\r
3705     "x": 6516.566665649414,\r
3706     "y": 3101.085693359375,\r
3707     "z": "9718fe15.98603",\r
3708     "wires": [\r
3709       []\r
3710     ]\r
3711   },\r
3712   {\r
3713     "id": "8b1c5fc9.627c",\r
3714     "type": "block",\r
3715     "name": "block : atomic",\r
3716     "xml": "<block atomic='true'>",\r
3717     "atomic": "true",\r
3718     "comments": "",\r
3719     "outputs": 1,\r
3720     "x": 4043.566665649414,\r
3721     "y": 5086.085693359375,\r
3722     "z": "9718fe15.98603",\r
3723     "wires": [\r
3724       [\r
3725         "a815fc28.26a0f",\r
3726         "8b2580e9.dc4908",\r
3727         "63429691.f224b",\r
3728         "2532ed2.07c3292",\r
3729         "d070f297.71c91",\r
3730         "d66ee6cb.59aee8",\r
3731         "618f9b48.ad8ea4",\r
3732         "4f6ebd11.7928d4",\r
3733         "53cb53b2.198aa4"\r
3734       ]\r
3735     ]\r
3736   },\r
3737   {\r
3738     "id": "7eea77d.c16dd08",\r
3739     "type": "comment",\r
3740     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
3741     "info": "",\r
3742     "comments": "",\r
3743     "x": 5487.566421508789,\r
3744     "y": 5011.085693359375,\r
3745     "z": "9718fe15.98603",\r
3746     "wires": []\r
3747   },\r
3748   {\r
3749     "id": "a815fc28.26a0f",\r
3750     "type": "call",\r
3751     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3752     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3753     "comments": "",\r
3754     "outputs": 1,\r
3755     "x": 4289.566909790039,\r
3756     "y": 5767.085693359375,\r
3757     "z": "9718fe15.98603",\r
3758     "wires": [\r
3759       []\r
3760     ]\r
3761   },\r
3762   {\r
3763     "id": "632a01d1.5b8d1",\r
3764     "type": "save",\r
3765     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
3766     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.ROOT.uni-p-interface-long`\" />",\r
3767     "comments": "",\r
3768     "outputs": 1,\r
3769     "x": 6523.566665649414,\r
3770     "y": 2017.085693359375,\r
3771     "z": "9718fe15.98603",\r
3772     "wires": [\r
3773       []\r
3774     ]\r
3775   },\r
3776   {\r
3777     "id": "5eff9d93.842974",\r
3778     "type": "set",\r
3779     "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
3780     "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
3781     "comments": "",\r
3782     "x": 6573.566665649414,\r
3783     "y": 1720.085693359375,\r
3784     "z": "9718fe15.98603",\r
3785     "wires": []\r
3786   },\r
3787   {\r
3788     "id": "f08579e.3888c08",\r
3789     "type": "execute",\r
3790     "name": "execute UUID generator for connectivity domainA",\r
3791     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3792     "comments": "",\r
3793     "outputs": 1,\r
3794     "x": 6520.566665649414,\r
3795     "y": 1308.085693359375,\r
3796     "z": "9718fe15.98603",\r
3797     "wires": [\r
3798       []\r
3799     ]\r
3800   },\r
3801   {\r
3802     "id": "c49cd07d.45dca",\r
3803     "type": "save",\r
3804     "name": "save connectivity resource in AAI",\r
3805     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3806     "comments": "",\r
3807     "outputs": 1,\r
3808     "x": 6468.566665649414,\r
3809     "y": 1356.085693359375,\r
3810     "z": "9718fe15.98603",\r
3811     "wires": [\r
3812       []\r
3813     ]\r
3814   },\r
3815   {\r
3816     "id": "64b31039.d88b18",\r
3817     "type": "save",\r
3818     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3819     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3820     "comments": "",\r
3821     "outputs": 1,\r
3822     "x": 6596.566665649414,\r
3823     "y": 1403.085693359375,\r
3824     "z": "9718fe15.98603",\r
3825     "wires": [\r
3826       []\r
3827     ]\r
3828   },\r
3829   {\r
3830     "id": "6013e30e.dd851c",\r
3831     "type": "comment",\r
3832     "name": "Create LEAF connectivity",\r
3833     "info": "",\r
3834     "comments": "",\r
3835     "x": 6433.566665649414,\r
3836     "y": 1266.085693359375,\r
3837     "z": "9718fe15.98603",\r
3838     "wires": []\r
3839   },\r
3840   {\r
3841     "id": "9f309da2.930198",\r
3842     "type": "save",\r
3843     "name": "save LEAF UNI in AAI",\r
3844     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
3845     "comments": "",\r
3846     "outputs": 1,\r
3847     "x": 6430.566665649414,\r
3848     "y": 1494.085693359375,\r
3849     "z": "9718fe15.98603",\r
3850     "wires": [\r
3851       []\r
3852     ]\r
3853   },\r
3854   {\r
3855     "id": "bc5b333d.5b219",\r
3856     "type": "save",\r
3857     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3858     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3859     "comments": "",\r
3860     "outputs": 1,\r
3861     "x": 6523.566665649414,\r
3862     "y": 1547.085693359375,\r
3863     "z": "9718fe15.98603",\r
3864     "wires": [\r
3865       []\r
3866     ]\r
3867   },\r
3868   {\r
3869     "id": "cdd019be.ce295",\r
3870     "type": "comment",\r
3871     "name": "Create LEAF UNI",\r
3872     "info": "",\r
3873     "comments": "",\r
3874     "x": 6414.566665649414,\r
3875     "y": 1450.085693359375,\r
3876     "z": "9718fe15.98603",\r
3877     "wires": []\r
3878   },\r
3879   {\r
3880     "id": "aeaa5a0f.0b3cf",\r
3881     "type": "comment",\r
3882     "name": "Create ROOT UNI",\r
3883     "info": "",\r
3884     "comments": "",\r
3885     "x": 6420.566665649414,\r
3886     "y": 1900.085693359375,\r
3887     "z": "9718fe15.98603",\r
3888     "wires": []\r
3889   },\r
3890   {\r
3891     "id": "2532ed2.07c3292",\r
3892     "type": "save",\r
3893     "name": "save LEAF UNI in AAI",\r
3894     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
3895     "comments": "",\r
3896     "outputs": 1,\r
3897     "x": 4356.566421508789,\r
3898     "y": 5019.085693359375,\r
3899     "z": "9718fe15.98603",\r
3900     "wires": [\r
3901       []\r
3902     ]\r
3903   },\r
3904   {\r
3905     "id": "3a34d279.a99216",\r
3906     "type": "comment",\r
3907     "name": "Create LEAF UNI",\r
3908     "info": "",\r
3909     "comments": "",\r
3910     "x": 4340.566421508789,\r
3911     "y": 4975.085693359375,\r
3912     "z": "9718fe15.98603",\r
3913     "wires": []\r
3914   },\r
3915   {\r
3916     "id": "4c6450c4.cdb8b8",\r
3917     "type": "comment",\r
3918     "name": "Create LEAF connectivity",\r
3919     "info": "",\r
3920     "comments": "",\r
3921     "x": 5087.566421508789,\r
3922     "y": 5006.085693359375,\r
3923     "z": "9718fe15.98603",\r
3924     "wires": []\r
3925   },\r
3926   {\r
3927     "id": "d6b231ff.4e48",\r
3928     "type": "execute",\r
3929     "name": "execute UUID generator for connectivity domainA",\r
3930     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3931     "comments": "",\r
3932     "outputs": 1,\r
3933     "x": 5174.566421508789,\r
3934     "y": 5048.085693359375,\r
3935     "z": "9718fe15.98603",\r
3936     "wires": [\r
3937       []\r
3938     ]\r
3939   },\r
3940   {\r
3941     "id": "e479d260.5097c",\r
3942     "type": "save",\r
3943     "name": "save connectivity resource in AAI",\r
3944     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$middle-man-conn.etht-svc-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='vpn-type' value='leaf' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3945     "comments": "",\r
3946     "outputs": 1,\r
3947     "x": 5122.566421508789,\r
3948     "y": 5096.085693359375,\r
3949     "z": "9718fe15.98603",\r
3950     "wires": [\r
3951       []\r
3952     ]\r
3953   },\r
3954   {\r
3955     "id": "c8a578a.1c83e08",\r
3956     "type": "save",\r
3957     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3958     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
3959     "comments": "",\r
3960     "outputs": 1,\r
3961     "x": 5250.566421508789,\r
3962     "y": 5143.085693359375,\r
3963     "z": "9718fe15.98603",\r
3964     "wires": [\r
3965       []\r
3966     ]\r
3967   },\r
3968   {\r
3969     "id": "d66ee6cb.59aee8",\r
3970     "type": "save",\r
3971     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3972     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3973     "comments": "",\r
3974     "outputs": 1,\r
3975     "x": 4418.566909790039,\r
3976     "y": 5310.085693359375,\r
3977     "z": "9718fe15.98603",\r
3978     "wires": [\r
3979       []\r
3980     ]\r
3981   },\r
3982   {\r
3983     "id": "85a1c373.0d0068",\r
3984     "type": "comment",\r
3985     "name": "populate connectivity-B variable in the context map",\r
3986     "info": "",\r
3987     "comments": "",\r
3988     "x": 4401.566909790039,\r
3989     "y": 5372.085693359375,\r
3990     "z": "9718fe15.98603",\r
3991     "wires": []\r
3992   },\r
3993   {\r
3994     "id": "8b2580e9.dc4908",\r
3995     "type": "call",\r
3996     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
3997     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
3998     "comments": "",\r
3999     "outputs": 1,\r
4000     "x": 4512.566909790039,\r
4001     "y": 5414.085693359375,\r
4002     "z": "9718fe15.98603",\r
4003     "wires": [\r
4004       []\r
4005     ]\r
4006   },\r
4007   {\r
4008     "id": "2bc22db1.d483d2",\r
4009     "type": "set",\r
4010     "name": "set prop.connectivity-domainB-uuid",\r
4011     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
4012     "comments": "",\r
4013     "x": 4969.566421508789,\r
4014     "y": 5585.085693359375,\r
4015     "z": "9718fe15.98603",\r
4016     "wires": []\r
4017   },\r
4018   {\r
4019     "id": "47c00ee.a0fdbf",\r
4020     "type": "save",\r
4021     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
4022     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
4023     "comments": "",\r
4024     "outputs": 1,\r
4025     "x": 4279.566421508789,\r
4026     "y": 6283.085693359375,\r
4027     "z": "9718fe15.98603",\r
4028     "wires": [\r
4029       []\r
4030     ]\r
4031   },\r
4032   {\r
4033     "id": "afc7e373.9dd788",\r
4034     "type": "save",\r
4035     "name": "save LEAF UNI in AAI",\r
4036     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
4037     "comments": "",\r
4038     "outputs": 1,\r
4039     "x": 4212.566421508789,\r
4040     "y": 6237.085693359375,\r
4041     "z": "9718fe15.98603",\r
4042     "wires": [\r
4043       []\r
4044     ]\r
4045   },\r
4046   {\r
4047     "id": "13eeaed2.223169",\r
4048     "type": "comment",\r
4049     "name": "Create LEAF UNI",\r
4050     "info": "",\r
4051     "comments": "",\r
4052     "x": 4161.566421508789,\r
4053     "y": 6188.085693359375,\r
4054     "z": "9718fe15.98603",\r
4055     "wires": []\r
4056   },\r
4057   {\r
4058     "id": "9fd3ad0c.c5f0a",\r
4059     "type": "save",\r
4060     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
4061     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $tmp.the-connectivity.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
4062     "comments": "",\r
4063     "outputs": 1,\r
4064     "x": 4944.566665649414,\r
4065     "y": 6394.085693359375,\r
4066     "z": "9718fe15.98603",\r
4067     "wires": [\r
4068       []\r
4069     ]\r
4070   },\r
4071   {\r
4072     "id": "63429691.f224b",\r
4073     "type": "switchNode",\r
4074     "name": "switch found-root-connectivity",\r
4075     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4076     "comments": "",\r
4077     "outputs": 1,\r
4078     "x": 4339.566909790039,\r
4079     "y": 5471.085693359375,\r
4080     "z": "9718fe15.98603",\r
4081     "wires": [\r
4082       [\r
4083         "4766abce.851ac4",\r
4084         "ca35b158.85d38"\r
4085       ]\r
4086     ]\r
4087   },\r
4088   {\r
4089     "id": "4766abce.851ac4",\r
4090     "type": "outcomeTrue",\r
4091     "name": "true",\r
4092     "xml": "<outcome value='true'>\n",\r
4093     "comments": "",\r
4094     "outputs": 1,\r
4095     "x": 4550.566909790039,\r
4096     "y": 5471.085693359375,\r
4097     "z": "9718fe15.98603",\r
4098     "wires": [\r
4099       [\r
4100         "2ab4c487.b40124"\r
4101       ]\r
4102     ]\r
4103   },\r
4104   {\r
4105     "id": "2ab4c487.b40124",\r
4106     "type": "block",\r
4107     "name": "block : atomic",\r
4108     "xml": "<block atomic='true'>",\r
4109     "atomic": "true",\r
4110     "comments": "",\r
4111     "outputs": 1,\r
4112     "x": 4706.566909790039,\r
4113     "y": 5467.085693359375,\r
4114     "z": "9718fe15.98603",\r
4115     "wires": [\r
4116       [\r
4117         "2bc22db1.d483d2",\r
4118         "b27ea187.400a38",\r
4119         "ca1c65a6.dca85"\r
4120       ]\r
4121     ]\r
4122   },\r
4123   {\r
4124     "id": "ca35b158.85d38",\r
4125     "type": "outcomeFalse",\r
4126     "name": "false",\r
4127     "xml": "<outcome value='false'>\n",\r
4128     "comments": "",\r
4129     "outputs": 1,\r
4130     "x": 4546.566909790039,\r
4131     "y": 5519.085693359375,\r
4132     "z": "9718fe15.98603",\r
4133     "wires": [\r
4134       [\r
4135         "e1bf2cff.d57f2"\r
4136       ]\r
4137     ]\r
4138   },\r
4139   {\r
4140     "id": "e1bf2cff.d57f2",\r
4141     "type": "returnFailure",\r
4142     "name": "return failure",\r
4143     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4144     "comments": "",\r
4145     "x": 4694.566909790039,\r
4146     "y": 5514.085693359375,\r
4147     "z": "9718fe15.98603",\r
4148     "wires": []\r
4149   },\r
4150   {\r
4151     "id": "b408049f.7933a",\r
4152     "type": "save",\r
4153     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
4154     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $uuid.connectivity-domainA-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$uuid.connectivity-domainA-uuid`\" />",\r
4155     "comments": "",\r
4156     "outputs": 1,\r
4157     "x": 5211.566421508789,\r
4158     "y": 5214.085693359375,\r
4159     "z": "9718fe15.98603",\r
4160     "wires": [\r
4161       []\r
4162     ]\r
4163   },\r
4164   {\r
4165     "id": "4f8a0bf3.f76a6c",\r
4166     "type": "execute",\r
4167     "name": "execute UUID generator for ethernet-service-name",\r
4168     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
4169     "comments": "",\r
4170     "outputs": 1,\r
4171     "x": 2378.566665649414,\r
4172     "y": 173.085693359375,\r
4173     "z": "9718fe15.98603",\r
4174     "wires": [\r
4175       []\r
4176     ]\r
4177   },\r
4178   {\r
4179     "id": "6a76544b.f753cc",\r
4180     "type": "set",\r
4181     "name": "set new ethernet-service-name",\r
4182     "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
4183     "comments": "",\r
4184     "x": 2312.566665649414,\r
4185     "y": 209.085693359375,\r
4186     "z": "9718fe15.98603",\r
4187     "wires": []\r
4188   },\r
4189   {\r
4190     "id": "23b662d9.16701e",\r
4191     "type": "comment",\r
4192     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
4193     "info": "",\r
4194     "comments": "",\r
4195     "x": 2497.566665649414,\r
4196     "y": 136.085693359375,\r
4197     "z": "9718fe15.98603",\r
4198     "wires": []\r
4199   },\r
4200   {\r
4201     "id": "3d0b458a.f9a2a2",\r
4202     "type": "set",\r
4203     "name": "set current-provider-id and current-cvlan-id",\r
4204     "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
4205     "comments": "",\r
4206     "x": 4246.566421508789,\r
4207     "y": 6349.085693359375,\r
4208     "z": "9718fe15.98603",\r
4209     "wires": []\r
4210   },\r
4211   {\r
4212     "id": "a3e7b437.8026b",\r
4213     "type": "call",\r
4214     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4215     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4216     "comments": "",\r
4217     "outputs": 1,\r
4218     "x": 4379.566421508789,\r
4219     "y": 6397.085693359375,\r
4220     "z": "9718fe15.98603",\r
4221     "wires": [\r
4222       []\r
4223     ]\r
4224   },\r
4225   {\r
4226     "id": "2ab2c1b2.c4462e",\r
4227     "type": "switchNode",\r
4228     "name": "switch found-connectivity?",\r
4229     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4230     "comments": "",\r
4231     "outputs": 1,\r
4232     "x": 4198.566421508789,\r
4233     "y": 6455.085693359375,\r
4234     "z": "9718fe15.98603",\r
4235     "wires": [\r
4236       [\r
4237         "6310145f.4f2a84",\r
4238         "deaf1bfa.406858"\r
4239       ]\r
4240     ]\r
4241   },\r
4242   {\r
4243     "id": "6310145f.4f2a84",\r
4244     "type": "outcomeFalse",\r
4245     "name": "false",\r
4246     "xml": "<outcome value='false'>\n",\r
4247     "comments": "",\r
4248     "outputs": 1,\r
4249     "x": 4391.566421508789,\r
4250     "y": 6456.085693359375,\r
4251     "z": "9718fe15.98603",\r
4252     "wires": [\r
4253       [\r
4254         "92986ec9.51c668"\r
4255       ]\r
4256     ]\r
4257   },\r
4258   {\r
4259     "id": "92986ec9.51c668",\r
4260     "type": "returnFailure",\r
4261     "name": "return failure",\r
4262     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
4263     "comments": "",\r
4264     "x": 4547.566421508789,\r
4265     "y": 6453.085693359375,\r
4266     "z": "9718fe15.98603",\r
4267     "wires": []\r
4268   },\r
4269   {\r
4270     "id": "deaf1bfa.406858",\r
4271     "type": "outcomeTrue",\r
4272     "name": "true",\r
4273     "xml": "<outcome value='true'>\n",\r
4274     "comments": "",\r
4275     "outputs": 1,\r
4276     "x": 4395.566421508789,\r
4277     "y": 6500.085693359375,\r
4278     "z": "9718fe15.98603",\r
4279     "wires": [\r
4280       [\r
4281         "a4ec2716.41f19"\r
4282       ]\r
4283     ]\r
4284   },\r
4285   {\r
4286     "id": "a4ec2716.41f19",\r
4287     "type": "block",\r
4288     "name": "block",\r
4289     "xml": "<block>\n",\r
4290     "atomic": "false",\r
4291     "comments": "",\r
4292     "outputs": 1,\r
4293     "x": 4534.566421508789,\r
4294     "y": 6495.085693359375,\r
4295     "z": "9718fe15.98603",\r
4296     "wires": [\r
4297       [\r
4298         "9fd3ad0c.c5f0a",\r
4299         "4aae1198.db26d8",\r
4300         "b8ff0583.7b229",\r
4301         "35f40d66.777f92",\r
4302         "4c2ed97e.80e7a8",\r
4303         "1d9d64e4.a08beb",\r
4304         "fb131710.b3fbe",\r
4305         "fa9aa1ff.8bf6e",\r
4306         "c8446998.29dfe",\r
4307         "a215a7d6.657bc8",\r
4308         "977f17a0.9f41a",\r
4309         "5d58f01d.864e08",\r
4310         "ecfaffd6.100b2"\r
4311       ]\r
4312     ]\r
4313   },\r
4314   {\r
4315     "id": "fb131710.b3fbe",\r
4316     "type": "save",\r
4317     "name": "get all-vpn-bindings from aai",\r
4318     "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
4319     "comments": "",\r
4320     "outputs": 1,\r
4321     "x": 4731.566421508789,\r
4322     "y": 7174.085693359375,\r
4323     "z": "9718fe15.98603",\r
4324     "wires": [\r
4325       [\r
4326         "cd8a8557.f7b3c8",\r
4327         "49f465a0.b6d20c",\r
4328         "5fdb4c32.46cfb4"\r
4329       ]\r
4330     ]\r
4331   },\r
4332   {\r
4333     "id": "cd8a8557.f7b3c8",\r
4334     "type": "success",\r
4335     "name": "success",\r
4336     "xml": "<outcome value='success'>\n",\r
4337     "comments": "",\r
4338     "outputs": 1,\r
4339     "x": 4926.566635131836,\r
4340     "y": 7150.085662841797,\r
4341     "z": "9718fe15.98603",\r
4342     "wires": [\r
4343       [\r
4344         "7e4f80d.5c6488"\r
4345       ]\r
4346     ]\r
4347   },\r
4348   {\r
4349     "id": "49f465a0.b6d20c",\r
4350     "type": "not-found",\r
4351     "name": "not-found",\r
4352     "xml": "<outcome value='not-found'>\n",\r
4353     "comments": "",\r
4354     "outputs": 1,\r
4355     "x": 4919.057601928711,\r
4356     "y": 7186.659698486328,\r
4357     "z": "9718fe15.98603",\r
4358     "wires": [\r
4359       [\r
4360         "80117652.9958b8"\r
4361       ]\r
4362     ]\r
4363   },\r
4364   {\r
4365     "id": "5fdb4c32.46cfb4",\r
4366     "type": "failure",\r
4367     "name": "failure",\r
4368     "xml": "<outcome value='failure'>\n",\r
4369     "comments": "",\r
4370     "outputs": 1,\r
4371     "x": 4916.566635131836,\r
4372     "y": 7230.085662841797,\r
4373     "z": "9718fe15.98603",\r
4374     "wires": [\r
4375       [\r
4376         "7193c18c.ae073"\r
4377       ]\r
4378     ]\r
4379   },\r
4380   {\r
4381     "id": "7e4f80d.5c6488",\r
4382     "type": "block",\r
4383     "name": "block : atomic",\r
4384     "xml": "<block atomic=\"true\">",\r
4385     "atomic": "true",\r
4386     "outputs": 1,\r
4387     "x": 5098.566635131836,\r
4388     "y": 7148.085662841797,\r
4389     "z": "9718fe15.98603",\r
4390     "wires": [\r
4391       [\r
4392         "d9a6ee9f.5c31f8"\r
4393       ]\r
4394     ]\r
4395   },\r
4396   {\r
4397     "id": "80117652.9958b8",\r
4398     "type": "returnFailure",\r
4399     "name": "return failure",\r
4400     "xml": "<return 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
4401     "comments": "",\r
4402     "x": 5081.629013061523,\r
4403     "y": 7186.9454345703125,\r
4404     "z": "9718fe15.98603",\r
4405     "wires": []\r
4406   },\r
4407   {\r
4408     "id": "7193c18c.ae073",\r
4409     "type": "returnFailure",\r
4410     "name": "return failure",\r
4411     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4412     "comments": "",\r
4413     "x": 5083.566635131836,\r
4414     "y": 7229.085662841797,\r
4415     "z": "9718fe15.98603",\r
4416     "wires": []\r
4417   },\r
4418   {\r
4419     "id": "d9a6ee9f.5c31f8",\r
4420     "type": "for",\r
4421     "name": "for vpnidx in all-vpn-bindings",\r
4422     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4423     "comments": "",\r
4424     "outputs": 1,\r
4425     "x": 5339.566421508789,\r
4426     "y": 7182.085693359375,\r
4427     "z": "9718fe15.98603",\r
4428     "wires": [\r
4429       [\r
4430         "9aea7b31.b501a8"\r
4431       ]\r
4432     ]\r
4433   },\r
4434   {\r
4435     "id": "9aea7b31.b501a8",\r
4436     "type": "block",\r
4437     "name": "block : atomic",\r
4438     "xml": "<block atomic='true'>",\r
4439     "atomic": "true",\r
4440     "comments": "",\r
4441     "outputs": 1,\r
4442     "x": 5576.566421508789,\r
4443     "y": 7178.085693359375,\r
4444     "z": "9718fe15.98603",\r
4445     "wires": [\r
4446       [\r
4447         "686e53e3.1ad1dc"\r
4448       ]\r
4449     ]\r
4450   },\r
4451   {\r
4452     "id": "2df6b745.3fe8d",\r
4453     "type": "switchNode",\r
4454     "name": "switch vpnuuid is for this slice",\r
4455     "xml": "<!--<switch test=\"`$tmp.slicevpnuuids[$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-id] != '' `\">-->\n\n<!-- Replace vpn-type with slice-id (a new attribbute in the latest AAI) -->\n<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].slice-id == $tmp.aai.service-instance.service-instance-id `\">\n\n",\r
4456     "comments": "",\r
4457     "outputs": 1,\r
4458     "x": 5843.566421508789,\r
4459     "y": 7144.085693359375,\r
4460     "z": "9718fe15.98603",\r
4461     "wires": [\r
4462       [\r
4463         "3835a5ae.8b815a",\r
4464         "a4db2f80.721418"\r
4465       ]\r
4466     ]\r
4467   },\r
4468   {\r
4469     "id": "3835a5ae.8b815a",\r
4470     "type": "outcomeTrue",\r
4471     "name": "true",\r
4472     "xml": "<outcome value='true'>\n",\r
4473     "comments": "",\r
4474     "outputs": 1,\r
4475     "x": 6024.566421508789,\r
4476     "y": 7170.085693359375,\r
4477     "z": "9718fe15.98603",\r
4478     "wires": [\r
4479       [\r
4480         "686e53e3.1ad1dc"\r
4481       ]\r
4482     ]\r
4483   },\r
4484   {\r
4485     "id": "a4db2f80.721418",\r
4486     "type": "outcomeFalse",\r
4487     "name": "false",\r
4488     "xml": "<outcome value='false'>\n",\r
4489     "comments": "",\r
4490     "outputs": 1,\r
4491     "x": 6023.566421508789,\r
4492     "y": 7123.085693359375,\r
4493     "z": "9718fe15.98603",\r
4494     "wires": [\r
4495       []\r
4496     ]\r
4497   },\r
4498   {\r
4499     "id": "686e53e3.1ad1dc",\r
4500     "type": "block",\r
4501     "name": "block : atomic",\r
4502     "xml": "<block atomic='true'>",\r
4503     "atomic": "true",\r
4504     "comments": "",\r
4505     "outputs": 1,\r
4506     "x": 4540.566635131836,\r
4507     "y": 7318.085662841797,\r
4508     "z": "9718fe15.98603",\r
4509     "wires": [\r
4510       [\r
4511         "a6487ee6.2cb7c"\r
4512       ]\r
4513     ]\r
4514   },\r
4515   {\r
4516     "id": "380ab70.5227a4a",\r
4517     "type": "set",\r
4518     "name": "set tmp.aai.the-vpn-binding",\r
4519     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4520     "comments": "",\r
4521     "x": 5616.566421508789,\r
4522     "y": 7350.085693359375,\r
4523     "z": "9718fe15.98603",\r
4524     "wires": []\r
4525   },\r
4526   {\r
4527     "id": "a81b3e84.443f78",\r
4528     "type": "comment",\r
4529     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4530     "info": "",\r
4531     "comments": "",\r
4532     "x": 4829.566635131836,\r
4533     "y": 7086.085662841797,\r
4534     "z": "9718fe15.98603",\r
4535     "wires": []\r
4536   },\r
4537   {\r
4538     "id": "1d9d64e4.a08beb",\r
4539     "type": "set",\r
4540     "name": "set srcTtp OTN layer",\r
4541     "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
4542     "comments": "",\r
4543     "x": 4713.566421508789,\r
4544     "y": 6970.085693359375,\r
4545     "z": "9718fe15.98603",\r
4546     "wires": []\r
4547   },\r
4548   {\r
4549     "id": "b1c30fd3.1d3b28",\r
4550     "type": "switchNode",\r
4551     "name": "switch provider-id domainA",\r
4552     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
4553     "comments": "",\r
4554     "outputs": 1,\r
4555     "x": 5058.566421508789,\r
4556     "y": 6801.085693359375,\r
4557     "z": "9718fe15.98603",\r
4558     "wires": [\r
4559       [\r
4560         "886001f.2b8eb8"\r
4561       ]\r
4562     ]\r
4563   },\r
4564   {\r
4565     "id": "886001f.2b8eb8",\r
4566     "type": "outcomeTrue",\r
4567     "name": "true",\r
4568     "xml": "<outcome value='true'>\n",\r
4569     "comments": "",\r
4570     "outputs": 1,\r
4571     "x": 5278.566421508789,\r
4572     "y": 6807.085693359375,\r
4573     "z": "9718fe15.98603",\r
4574     "wires": [\r
4575       [\r
4576         "7a4c6acb.556084"\r
4577       ]\r
4578     ]\r
4579   },\r
4580   {\r
4581     "id": "7a4c6acb.556084",\r
4582     "type": "switchNode",\r
4583     "name": "switch te-topo-id",\r
4584     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4585     "comments": "",\r
4586     "outputs": 1,\r
4587     "x": 5463.566421508789,\r
4588     "y": 6806.085693359375,\r
4589     "z": "9718fe15.98603",\r
4590     "wires": [\r
4591       [\r
4592         "801921d3.c16518"\r
4593       ]\r
4594     ]\r
4595   },\r
4596   {\r
4597     "id": "801921d3.c16518",\r
4598     "type": "outcomeTrue",\r
4599     "name": "true",\r
4600     "xml": "<outcome value='true'>\n",\r
4601     "comments": "",\r
4602     "outputs": 1,\r
4603     "x": 5655.566421508789,\r
4604     "y": 6809.085693359375,\r
4605     "z": "9718fe15.98603",\r
4606     "wires": [\r
4607       [\r
4608         "a260b342.bdfc38"\r
4609       ]\r
4610     ]\r
4611   },\r
4612   {\r
4613     "id": "a260b342.bdfc38",\r
4614     "type": "set",\r
4615     "name": "set otnTopoIdSrc",\r
4616     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4617     "comments": "",\r
4618     "x": 5864.566421508789,\r
4619     "y": 6807.085693359375,\r
4620     "z": "9718fe15.98603",\r
4621     "wires": []\r
4622   },\r
4623   {\r
4624     "id": "fa9aa1ff.8bf6e",\r
4625     "type": "for",\r
4626     "name": "for netwidx..allNetworksList_length",\r
4627     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4628     "comments": "",\r
4629     "outputs": 1,\r
4630     "x": 4765.566421508789,\r
4631     "y": 6795.085693359375,\r
4632     "z": "9718fe15.98603",\r
4633     "wires": [\r
4634       [\r
4635         "b1c30fd3.1d3b28"\r
4636       ]\r
4637     ]\r
4638   },\r
4639   {\r
4640     "id": "b8ff0583.7b229",\r
4641     "type": "get-resource",\r
4642     "name": "get-resource network-resources-list",\r
4643     "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
4644     "comments": "",\r
4645     "outputs": 1,\r
4646     "x": 4773.566421508789,\r
4647     "y": 6688.085693359375,\r
4648     "z": "9718fe15.98603",\r
4649     "wires": [\r
4650       [\r
4651         "be4d0129.981f9",\r
4652         "ca7acc4e.a2f178",\r
4653         "e6834a18.c1bb18"\r
4654       ]\r
4655     ]\r
4656   },\r
4657   {\r
4658     "id": "be4d0129.981f9",\r
4659     "type": "success",\r
4660     "name": "success",\r
4661     "xml": "<outcome value='success'>\n",\r
4662     "comments": "",\r
4663     "outputs": 1,\r
4664     "x": 5009.566421508789,\r
4665     "y": 6671.085693359375,\r
4666     "z": "9718fe15.98603",\r
4667     "wires": [\r
4668       []\r
4669     ]\r
4670   },\r
4671   {\r
4672     "id": "ca7acc4e.a2f178",\r
4673     "type": "other",\r
4674     "name": "other",\r
4675     "xml": "<outcome value='Other'>\n",\r
4676     "comments": "",\r
4677     "outputs": 1,\r
4678     "x": 5006.566421508789,\r
4679     "y": 6712.085693359375,\r
4680     "z": "9718fe15.98603",\r
4681     "wires": [\r
4682       []\r
4683     ]\r
4684   },\r
4685   {\r
4686     "id": "e6834a18.c1bb18",\r
4687     "type": "not-found",\r
4688     "name": "not-found",\r
4689     "xml": "<outcome value='not-found'>\n",\r
4690     "comments": "",\r
4691     "outputs": 1,\r
4692     "x": 5020.566421508789,\r
4693     "y": 6752.085693359375,\r
4694     "z": "9718fe15.98603",\r
4695     "wires": [\r
4696       []\r
4697     ]\r
4698   },\r
4699   {\r
4700     "id": "35f40d66.777f92",\r
4701     "type": "set",\r
4702     "name": "unset parameters",\r
4703     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4704     "comments": "",\r
4705     "x": 4709.566421508789,\r
4706     "y": 6847.085693359375,\r
4707     "z": "9718fe15.98603",\r
4708     "wires": []\r
4709   },\r
4710   {\r
4711     "id": "4c2ed97e.80e7a8",\r
4712     "type": "set",\r
4713     "name": "set tmp.pce-src-node",\r
4714     "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
4715     "comments": "",\r
4716     "x": 4717.566421508789,\r
4717     "y": 6905.085693359375,\r
4718     "z": "9718fe15.98603",\r
4719     "wires": []\r
4720   },\r
4721   {\r
4722     "id": "4aae1198.db26d8",\r
4723     "type": "set",\r
4724     "name": "unset parameters",\r
4725     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4726     "comments": "",\r
4727     "x": 4722.566421508789,\r
4728     "y": 6645.085693359375,\r
4729     "z": "9718fe15.98603",\r
4730     "wires": []\r
4731   },\r
4732   {\r
4733     "id": "3d77fed3.ca6eba",\r
4734     "type": "comment",\r
4735     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4736     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4737     "comments": "",\r
4738     "x": 4837.566421508789,\r
4739     "y": 6597.085693359375,\r
4740     "z": "9718fe15.98603",\r
4741     "wires": []\r
4742   },\r
4743   {\r
4744     "id": "a6487ee6.2cb7c",\r
4745     "type": "switchNode",\r
4746     "name": "switch ops-note is srcTtpOtnLayer",\r
4747     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4748     "comments": "",\r
4749     "outputs": 1,\r
4750     "x": 4830.566635131836,\r
4751     "y": 7313.085662841797,\r
4752     "z": "9718fe15.98603",\r
4753     "wires": [\r
4754       [\r
4755         "ae63bb37.54dac",\r
4756         "b4511f5d.149aa8"\r
4757       ]\r
4758     ]\r
4759   },\r
4760   {\r
4761     "id": "ae63bb37.54dac",\r
4762     "type": "outcomeTrue",\r
4763     "name": "true",\r
4764     "xml": "<outcome value='true'>\n",\r
4765     "comments": "",\r
4766     "outputs": 1,\r
4767     "x": 5086.566635131836,\r
4768     "y": 7285.085662841797,\r
4769     "z": "9718fe15.98603",\r
4770     "wires": [\r
4771       [\r
4772         "81398bf4.473028"\r
4773       ]\r
4774     ]\r
4775   },\r
4776   {\r
4777     "id": "b4511f5d.149aa8",\r
4778     "type": "outcomeFalse",\r
4779     "name": "false",\r
4780     "xml": "<outcome value='false'>\n",\r
4781     "comments": "",\r
4782     "outputs": 1,\r
4783     "x": 5086.566635131836,\r
4784     "y": 7334.085662841797,\r
4785     "z": "9718fe15.98603",\r
4786     "wires": [\r
4787       []\r
4788     ]\r
4789   },\r
4790   {\r
4791     "id": "7de65a32.2588c4",\r
4792     "type": "block",\r
4793     "name": "block : atomic",\r
4794     "xml": "<block atomic='true'>",\r
4795     "atomic": "true",\r
4796     "comments": "",\r
4797     "outputs": 1,\r
4798     "x": 5352.566635131836,\r
4799     "y": 7326.085662841797,\r
4800     "z": "9718fe15.98603",\r
4801     "wires": [\r
4802       [\r
4803         "f817cc8b.d031a",\r
4804         "380ab70.5227a4a",\r
4805         "c6c09e71.9092c"\r
4806       ]\r
4807     ]\r
4808   },\r
4809   {\r
4810     "id": "1d61af20.5c7829",\r
4811     "type": "comment",\r
4812     "name": "increase the bw of the-vpn-binding and change status to modified",\r
4813     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
4814     "comments": "",\r
4815     "x": 5744.566421508789,\r
4816     "y": 7404.085693359375,\r
4817     "z": "9718fe15.98603",\r
4818     "wires": []\r
4819   },\r
4820   {\r
4821     "id": "c6c09e71.9092c",\r
4822     "type": "save",\r
4823     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4824     "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='`$prop.otn-tunnel-name`' />-->\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.the-vpn-binding.route-distinguisher + $gfp`' />\n\n<parameter name='operational-status' value='Modified' />\n\n\n",\r
4825     "comments": "",\r
4826     "outputs": 1,\r
4827     "x": 5714.566421508789,\r
4828     "y": 7464.085693359375,\r
4829     "z": "9718fe15.98603",\r
4830     "wires": [\r
4831       []\r
4832     ]\r
4833   },\r
4834   {\r
4835     "id": "f817cc8b.d031a",\r
4836     "type": "set",\r
4837     "name": "unset tmp.aai.the-vpn-binding",\r
4838     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4839     "comments": "",\r
4840     "x": 5621.566421508789,\r
4841     "y": 7292.085693359375,\r
4842     "z": "9718fe15.98603",\r
4843     "wires": []\r
4844   },\r
4845   {\r
4846     "id": "eab327e7.a5f748",\r
4847     "type": "block",\r
4848     "name": "block : atomic",\r
4849     "xml": "<block atomic='true'>",\r
4850     "atomic": "true",\r
4851     "comments": "",\r
4852     "outputs": 1,\r
4853     "x": 3971.566665649414,\r
4854     "y": 5930.085693359375,\r
4855     "z": "9718fe15.98603",\r
4856     "wires": [\r
4857       [\r
4858         "afc7e373.9dd788",\r
4859         "3d0b458a.f9a2a2",\r
4860         "a3e7b437.8026b",\r
4861         "2ab2c1b2.c4462e",\r
4862         "47c00ee.a0fdbf"\r
4863       ]\r
4864     ]\r
4865   },\r
4866   {\r
4867     "id": "b8d2a9f2.b00c88",\r
4868     "type": "set",\r
4869     "name": "unset otnTopoIdSrc",\r
4870     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4871     "comments": "",\r
4872     "x": 4714.566421508789,\r
4873     "y": 6745.085693359375,\r
4874     "z": "9718fe15.98603",\r
4875     "wires": []\r
4876   },\r
4877   {\r
4878     "id": "c8446998.29dfe",\r
4879     "type": "save",\r
4880     "name": "update connectivity resource in AAI",\r
4881     "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",\r
4882     "comments": "",\r
4883     "outputs": 1,\r
4884     "x": 4837.566665649414,\r
4885     "y": 6475.085693359375,\r
4886     "z": "9718fe15.98603",\r
4887     "wires": [\r
4888       []\r
4889     ]\r
4890   },\r
4891   {\r
4892     "id": "13d35835.cdbb2",\r
4893     "type": "comment",\r
4894     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4895     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4896     "comments": "",\r
4897     "x": 4974.566665649414,\r
4898     "y": 6425.085693359375,\r
4899     "z": "9718fe15.98603",\r
4900     "wires": []\r
4901   },\r
4902   {\r
4903     "id": "997f20e4.966598",\r
4904     "type": "save",\r
4905     "name": "save ROOT UNI in AAI",\r
4906     "xml": "<save 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='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
4907     "comments": "",\r
4908     "outputs": 1,\r
4909     "x": 6436.566665649414,\r
4910     "y": 1959.085693359375,\r
4911     "z": "9718fe15.98603",\r
4912     "wires": [\r
4913       []\r
4914     ]\r
4915   },\r
4916   {\r
4917     "id": "5c8518bd.0a436",\r
4918     "type": "comment",\r
4919     "name": "NOT NEEDED ANYMORE?",\r
4920     "info": "",\r
4921     "comments": "",\r
4922     "x": 3702.566665649414,\r
4923     "y": 1353.085693359375,\r
4924     "z": "9718fe15.98603",\r
4925     "wires": []\r
4926   },\r
4927   {\r
4928     "id": "53a463ea.1b0834",\r
4929     "type": "comment",\r
4930     "name": "NOT NEEDED ANYMORE?",\r
4931     "info": "",\r
4932     "comments": "",\r
4933     "x": 3840.566665649414,\r
4934     "y": 1841.085693359375,\r
4935     "z": "9718fe15.98603",\r
4936     "wires": []\r
4937   },\r
4938   {\r
4939     "id": "53592f4d.08ea8",\r
4940     "type": "comment",\r
4941     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
4942     "info": "",\r
4943     "comments": "",\r
4944     "x": 6397.566665649414,\r
4945     "y": 2671.085693359375,\r
4946     "z": "9718fe15.98603",\r
4947     "wires": []\r
4948   },\r
4949   {\r
4950     "id": "f18404c6.f7135",\r
4951     "type": "set",\r
4952     "name": "set current-provider-id and current-cvlan-id",\r
4953     "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
4954     "comments": "",\r
4955     "x": 3689.566665649414,\r
4956     "y": 4947.085693359375,\r
4957     "z": "9718fe15.98603",\r
4958     "wires": []\r
4959   },\r
4960   {\r
4961     "id": "e65dde18.8f2e28",\r
4962     "type": "call",\r
4963     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4964     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4965     "comments": "",\r
4966     "outputs": 1,\r
4967     "x": 3822.566665649414,\r
4968     "y": 4995.085693359375,\r
4969     "z": "9718fe15.98603",\r
4970     "wires": [\r
4971       []\r
4972     ]\r
4973   },\r
4974   {\r
4975     "id": "d070f297.71c91",\r
4976     "type": "switchNode",\r
4977     "name": "switch found-connectivity?",\r
4978     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4979     "comments": "",\r
4980     "outputs": 1,\r
4981     "x": 4367.566421508789,\r
4982     "y": 5075.085693359375,\r
4983     "z": "9718fe15.98603",\r
4984     "wires": [\r
4985       [\r
4986         "dbaff1f0.67394",\r
4987         "46c5a5e9.bca6a4"\r
4988       ]\r
4989     ]\r
4990   },\r
4991   {\r
4992     "id": "dbaff1f0.67394",\r
4993     "type": "outcomeFalse",\r
4994     "name": "false",\r
4995     "xml": "<outcome value='false'>\n",\r
4996     "comments": "",\r
4997     "outputs": 1,\r
4998     "x": 4560.566421508789,\r
4999     "y": 5076.085693359375,\r
5000     "z": "9718fe15.98603",\r
5001     "wires": [\r
5002       [\r
5003         "df79a6f0.9fe378"\r
5004       ]\r
5005     ]\r
5006   },\r
5007   {\r
5008     "id": "46c5a5e9.bca6a4",\r
5009     "type": "outcomeTrue",\r
5010     "name": "true",\r
5011     "xml": "<outcome value='true'>\n",\r
5012     "comments": "",\r
5013     "outputs": 1,\r
5014     "x": 4564.566421508789,\r
5015     "y": 5120.085693359375,\r
5016     "z": "9718fe15.98603",\r
5017     "wires": [\r
5018       [\r
5019         "6414d7e3.ee4fd8"\r
5020       ]\r
5021     ]\r
5022   },\r
5023   {\r
5024     "id": "6414d7e3.ee4fd8",\r
5025     "type": "block",\r
5026     "name": "block : atomic",\r
5027     "xml": "<block atomic='true'>",\r
5028     "atomic": "true",\r
5029     "comments": "",\r
5030     "outputs": 1,\r
5031     "x": 4703.566421508789,\r
5032     "y": 5115.085693359375,\r
5033     "z": "9718fe15.98603",\r
5034     "wires": [\r
5035       [\r
5036         "49c135f9.c35534",\r
5037         "bf0f6300.a67238",\r
5038         "fa0dda8.0253328"\r
5039       ]\r
5040     ]\r
5041   },\r
5042   {\r
5043     "id": "df79a6f0.9fe378",\r
5044     "type": "block",\r
5045     "name": "block : atomic",\r
5046     "xml": "<block atomic='true'>",\r
5047     "atomic": "true",\r
5048     "comments": "",\r
5049     "outputs": 1,\r
5050     "x": 4703.566421508789,\r
5051     "y": 5072.085693359375,\r
5052     "z": "9718fe15.98603",\r
5053     "wires": [\r
5054       [\r
5055         "d6b231ff.4e48",\r
5056         "e479d260.5097c",\r
5057         "c8a578a.1c83e08",\r
5058         "b408049f.7933a"\r
5059       ]\r
5060     ]\r
5061   },\r
5062   {\r
5063     "id": "49c135f9.c35534",\r
5064     "type": "set",\r
5065     "name": "set prop.connectivity-domainA-uuid",\r
5066     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
5067     "comments": "",\r
5068     "x": 5097.566421508789,\r
5069     "y": 5366.085693359375,\r
5070     "z": "9718fe15.98603",\r
5071     "wires": []\r
5072   },\r
5073   {\r
5074     "id": "f2d57861.b7d18",\r
5075     "type": "comment",\r
5076     "name": "populate connectivity-A variable in the context map",\r
5077     "info": "",\r
5078     "comments": "",\r
5079     "x": 5104.566421508789,\r
5080     "y": 5320.085693359375,\r
5081     "z": "9718fe15.98603",\r
5082     "wires": []\r
5083   },\r
5084   {\r
5085     "id": "a215a7d6.657bc8",\r
5086     "type": "call",\r
5087     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
5088     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5089     "comments": "",\r
5090     "outputs": 1,\r
5091     "x": 4894.566635131836,\r
5092     "y": 7035.085662841797,\r
5093     "z": "9718fe15.98603",\r
5094     "wires": [\r
5095       []\r
5096     ]\r
5097   },\r
5098   {\r
5099     "id": "bf0f6300.a67238",\r
5100     "type": "save",\r
5101     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5102     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
5103     "comments": "",\r
5104     "outputs": 1,\r
5105     "x": 5216.566421508789,\r
5106     "y": 5419.085693359375,\r
5107     "z": "9718fe15.98603",\r
5108     "wires": [\r
5109       []\r
5110     ]\r
5111   },\r
5112   {\r
5113     "id": "b27ea187.400a38",\r
5114     "type": "save",\r
5115     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5116     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
5117     "comments": "",\r
5118     "outputs": 1,\r
5119     "x": 5098.566421508789,\r
5120     "y": 5637.085693359375,\r
5121     "z": "9718fe15.98603",\r
5122     "wires": [\r
5123       []\r
5124     ]\r
5125   },\r
5126   {\r
5127     "id": "737e14df.0bf7ac",\r
5128     "type": "comment",\r
5129     "name": "Update ROOT UNI's bw",\r
5130     "info": "",\r
5131     "comments": "",\r
5132     "x": 3644.566665649414,\r
5133     "y": 4396.085693359375,\r
5134     "z": "9718fe15.98603",\r
5135     "wires": []\r
5136   },\r
5137   {\r
5138     "id": "fe6ea6fb.83ee2",\r
5139     "type": "save",\r
5140     "name": "update ROOT UNI in AAI",\r
5141     "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
5142     "comments": "",\r
5143     "outputs": 1,\r
5144     "x": 3978.566665649414,\r
5145     "y": 4579.085693359375,\r
5146     "z": "9718fe15.98603",\r
5147     "wires": [\r
5148       []\r
5149     ]\r
5150   },\r
5151   {\r
5152     "id": "1e648504.a919f3",\r
5153     "type": "save",\r
5154     "name": "get root uni from aai",\r
5155     "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
5156     "comments": "",\r
5157     "outputs": 1,\r
5158     "x": 3590.566665649414,\r
5159     "y": 4446.085693359375,\r
5160     "z": "9718fe15.98603",\r
5161     "wires": [\r
5162       [\r
5163         "dc9ef631.89f33",\r
5164         "9e45960a.d8b928",\r
5165         "febbc6eb.2448e"\r
5166       ]\r
5167     ]\r
5168   },\r
5169   {\r
5170     "id": "9e45960a.d8b928",\r
5171     "type": "not-found",\r
5172     "name": "not-found",\r
5173     "xml": "<outcome value='not-found'>\n",\r
5174     "comments": "",\r
5175     "outputs": 1,\r
5176     "x": 3818.057632446289,\r
5177     "y": 4418.65966796875,\r
5178     "z": "9718fe15.98603",\r
5179     "wires": [\r
5180       [\r
5181         "5d25632c.1d5374"\r
5182       ]\r
5183     ]\r
5184   },\r
5185   {\r
5186     "id": "febbc6eb.2448e",\r
5187     "type": "failure",\r
5188     "name": "failure",\r
5189     "xml": "<outcome value='failure'>\n",\r
5190     "comments": "",\r
5191     "outputs": 1,\r
5192     "x": 3813.566665649414,\r
5193     "y": 4463.085632324219,\r
5194     "z": "9718fe15.98603",\r
5195     "wires": [\r
5196       [\r
5197         "e99a952e.00d7c"\r
5198       ]\r
5199     ]\r
5200   },\r
5201   {\r
5202     "id": "5d25632c.1d5374",\r
5203     "type": "returnFailure",\r
5204     "name": "return failure",\r
5205     "xml": "<return 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
5206     "comments": "",\r
5207     "x": 3980.629165649414,\r
5208     "y": 4417.945373535156,\r
5209     "z": "9718fe15.98603",\r
5210     "wires": []\r
5211   },\r
5212   {\r
5213     "id": "e99a952e.00d7c",\r
5214     "type": "returnFailure",\r
5215     "name": "return failure",\r
5216     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5217     "comments": "",\r
5218     "x": 3981.566665649414,\r
5219     "y": 4463.085632324219,\r
5220     "z": "9718fe15.98603",\r
5221     "wires": []\r
5222   },\r
5223   {\r
5224     "id": "1d77f10f.5baf67",\r
5225     "type": "block",\r
5226     "name": "block : atomic",\r
5227     "xml": "<block atomic=\"true\">",\r
5228     "atomic": "true",\r
5229     "outputs": 1,\r
5230     "x": 3766.566665649414,\r
5231     "y": 4536.085693359375,\r
5232     "z": "9718fe15.98603",\r
5233     "wires": [\r
5234       [\r
5235         "35c9f98a.610e5e",\r
5236         "fe6ea6fb.83ee2"\r
5237       ]\r
5238     ]\r
5239   },\r
5240   {\r
5241     "id": "dc9ef631.89f33",\r
5242     "type": "success",\r
5243     "name": "success",\r
5244     "xml": "<outcome value='success'>\n",\r
5245     "comments": "",\r
5246     "outputs": 1,\r
5247     "x": 3597.566665649414,\r
5248     "y": 4536.085693359375,\r
5249     "z": "9718fe15.98603",\r
5250     "wires": [\r
5251       [\r
5252         "1d77f10f.5baf67"\r
5253       ]\r
5254     ]\r
5255   },\r
5256   {\r
5257     "id": "35c9f98a.610e5e",\r
5258     "type": "set",\r
5259     "name": "set new bw",\r
5260     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
5261     "comments": "",\r
5262     "x": 3955.566665649414,\r
5263     "y": 4528.085693359375,\r
5264     "z": "9718fe15.98603",\r
5265     "wires": []\r
5266   },\r
5267   {\r
5268     "id": "518cc181.03ac48",\r
5269     "type": "save",\r
5270     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5271     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $middle-man-conn.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$middle-man-conn.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
5272     "comments": "",\r
5273     "outputs": 1,\r
5274     "x": 3797.566665649414,\r
5275     "y": 4823.085693359375,\r
5276     "z": "9718fe15.98603",\r
5277     "wires": [\r
5278       []\r
5279     ]\r
5280   },\r
5281   {\r
5282     "id": "5a5e18e8.ffce08",\r
5283     "type": "comment",\r
5284     "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
5285     "info": "",\r
5286     "comments": "",\r
5287     "x": 3580.566665649414,\r
5288     "y": 2906.085693359375,\r
5289     "z": "9718fe15.98603",\r
5290     "wires": []\r
5291   },\r
5292   {\r
5293     "id": "47f11a92.b8ee4c",\r
5294     "type": "comment",\r
5295     "name": "We are doing modify and middle man exists, check if LEAF UNI already exists in AAI or not. If yes, consider the possible bw change. If it does not, then it is a new link needs to be added",\r
5296     "info": "",\r
5297     "comments": "",\r
5298     "x": 2785.566665649414,\r
5299     "y": 4468.085693359375,\r
5300     "z": "9718fe15.98603",\r
5301     "wires": []\r
5302   },\r
5303   {\r
5304     "id": "a9808de.46ae97",\r
5305     "type": "exists",\r
5306     "name": "exists LEAF UNI",\r
5307     "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
5308     "comments": "",\r
5309     "outputs": 1,\r
5310     "x": 3208.566665649414,\r
5311     "y": 4741.085693359375,\r
5312     "z": "9718fe15.98603",\r
5313     "wires": [\r
5314       [\r
5315         "8236161f.361ec",\r
5316         "f42c8ef.5dab47"\r
5317       ]\r
5318     ]\r
5319   },\r
5320   {\r
5321     "id": "89fb91c7.4bd6f",\r
5322     "type": "block",\r
5323     "name": "block",\r
5324     "xml": "<block>\n",\r
5325     "atomic": "false",\r
5326     "comments": "",\r
5327     "outputs": 1,\r
5328     "x": 3040.566665649414,\r
5329     "y": 4744.085693359375,\r
5330     "z": "9718fe15.98603",\r
5331     "wires": [\r
5332       [\r
5333         "a9808de.46ae97"\r
5334       ]\r
5335     ]\r
5336   },\r
5337   {\r
5338     "id": "f42c8ef.5dab47",\r
5339     "type": "outcomeFalse",\r
5340     "name": "false",\r
5341     "xml": "<outcome value='false'>\n",\r
5342     "comments": "",\r
5343     "outputs": 1,\r
5344     "x": 3371.566665649414,\r
5345     "y": 4760.085693359375,\r
5346     "z": "9718fe15.98603",\r
5347     "wires": [\r
5348       [\r
5349         "10e6ecec.11b933"\r
5350       ]\r
5351     ]\r
5352   },\r
5353   {\r
5354     "id": "8236161f.361ec",\r
5355     "type": "outcomeTrue",\r
5356     "name": "true",\r
5357     "xml": "<outcome value='true'>\n",\r
5358     "comments": "",\r
5359     "outputs": 1,\r
5360     "x": 3407.566665649414,\r
5361     "y": 3367.085693359375,\r
5362     "z": "9718fe15.98603",\r
5363     "wires": [\r
5364       [\r
5365         "ac1b2d90.391b98"\r
5366       ]\r
5367     ]\r
5368   },\r
5369   {\r
5370     "id": "f9e3f20c.6b5eb8",\r
5371     "type": "switchNode",\r
5372     "name": "switch leafuni.data-source == gfp",\r
5373     "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
5374     "comments": "",\r
5375     "outputs": 1,\r
5376     "x": 3756.566665649414,\r
5377     "y": 3209.085693359375,\r
5378     "z": "9718fe15.98603",\r
5379     "wires": [\r
5380       [\r
5381         "872bd81a.d26528",\r
5382         "9b2249c8.bc9018"\r
5383       ]\r
5384     ]\r
5385   },\r
5386   {\r
5387     "id": "872bd81a.d26528",\r
5388     "type": "outcomeTrue",\r
5389     "name": "true",\r
5390     "xml": "<outcome value='true'>\n",\r
5391     "comments": "",\r
5392     "outputs": 1,\r
5393     "x": 3961.566665649414,\r
5394     "y": 3205.085693359375,\r
5395     "z": "9718fe15.98603",\r
5396     "wires": [\r
5397       []\r
5398     ]\r
5399   },\r
5400   {\r
5401     "id": "9b2249c8.bc9018",\r
5402     "type": "outcomeFalse",\r
5403     "name": "false",\r
5404     "xml": "<outcome value='false'>\n",\r
5405     "comments": "",\r
5406     "outputs": 1,\r
5407     "x": 3963.566665649414,\r
5408     "y": 3255.085693359375,\r
5409     "z": "9718fe15.98603",\r
5410     "wires": [\r
5411       [\r
5412         "dff51b02.8733d8"\r
5413       ]\r
5414     ]\r
5415   },\r
5416   {\r
5417     "id": "dff51b02.8733d8",\r
5418     "type": "block",\r
5419     "name": "block : atomic",\r
5420     "xml": "<block atomic=\"true\">",\r
5421     "atomic": "true",\r
5422     "outputs": 1,\r
5423     "x": 4119.566665649414,\r
5424     "y": 3261.085693359375,\r
5425     "z": "9718fe15.98603",\r
5426     "wires": [\r
5427       [\r
5428         "5f4129be.00541",\r
5429         "7f1b37a2.172688",\r
5430         "71ab4f0e.2a007",\r
5431         "8aeeffc.718ae8"\r
5432       ]\r
5433     ]\r
5434   },\r
5435   {\r
5436     "id": "5f4129be.00541",\r
5437     "type": "set",\r
5438     "name": "set bwModified",\r
5439     "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
5440     "comments": "",\r
5441     "x": 4345.566909790039,\r
5442     "y": 3002.085693359375,\r
5443     "z": "9718fe15.98603",\r
5444     "wires": []\r
5445   },\r
5446   {\r
5447     "id": "d8ea64.968cf5a",\r
5448     "type": "block",\r
5449     "name": "block : atomic",\r
5450     "xml": "<block atomic=\"true\">",\r
5451     "atomic": "true",\r
5452     "outputs": 1,\r
5453     "x": 4844.566390991211,\r
5454     "y": 4299.085662841797,\r
5455     "z": "9718fe15.98603",\r
5456     "wires": [\r
5457       [\r
5458         "140b25e4.abc76a",\r
5459         "c4a242e7.6ad35"\r
5460       ]\r
5461     ]\r
5462   },\r
5463   {\r
5464     "id": "c4a242e7.6ad35",\r
5465     "type": "set",\r
5466     "name": "unset tmp.aai.vpn-binding",\r
5467     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
5468     "comments": "",\r
5469     "x": 5046.566146850586,\r
5470     "y": 4266.085662841797,\r
5471     "z": "9718fe15.98603",\r
5472     "wires": []\r
5473   },\r
5474   {\r
5475     "id": "f3c554f9.aa8de8",\r
5476     "type": "returnFailure",\r
5477     "name": "return failure",\r
5478     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5479     "comments": "",\r
5480     "x": 4730.566635131836,\r
5481     "y": 4476.085418701172,\r
5482     "z": "9718fe15.98603",\r
5483     "wires": []\r
5484   },\r
5485   {\r
5486     "id": "a2deddc2.51b4b8",\r
5487     "type": "returnFailure",\r
5488     "name": "return failure",\r
5489     "xml": "<return 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
5490     "comments": "",\r
5491     "x": 4727.628768920898,\r
5492     "y": 4424.9454345703125,\r
5493     "z": "9718fe15.98603",\r
5494     "wires": []\r
5495   },\r
5496   {\r
5497     "id": "2a1af9c0.1651de",\r
5498     "type": "for",\r
5499     "name": "for each relationship",\r
5500     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
5501     "comments": "",\r
5502     "outputs": 1,\r
5503     "x": 4310.566390991211,\r
5504     "y": 4299.085662841797,\r
5505     "z": "9718fe15.98603",\r
5506     "wires": [\r
5507       [\r
5508         "6645febe.81a0d"\r
5509       ]\r
5510     ]\r
5511   },\r
5512   {\r
5513     "id": "6645febe.81a0d",\r
5514     "type": "switchNode",\r
5515     "name": "switch related-to",\r
5516     "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
5517     "comments": "",\r
5518     "outputs": 1,\r
5519     "x": 4515.566390991211,\r
5520     "y": 4299.085662841797,\r
5521     "z": "9718fe15.98603",\r
5522     "wires": [\r
5523       [\r
5524         "1ad63798.bccb8"\r
5525       ]\r
5526     ]\r
5527   },\r
5528   {\r
5529     "id": "1ad63798.bccb8",\r
5530     "type": "outcome",\r
5531     "name": "vpn-binding",\r
5532     "xml": "<outcome value='vpn-binding'>\n",\r
5533     "comments": "",\r
5534     "outputs": 1,\r
5535     "x": 4681.566390991211,\r
5536     "y": 4299.085662841797,\r
5537     "z": "9718fe15.98603",\r
5538     "wires": [\r
5539       [\r
5540         "d8ea64.968cf5a"\r
5541       ]\r
5542     ]\r
5543   },\r
5544   {\r
5545     "id": "140b25e4.abc76a",\r
5546     "type": "save",\r
5547     "name": "get vpn-binding from aai",\r
5548     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.the-connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
5549     "comments": "",\r
5550     "outputs": 1,\r
5551     "x": 4353.566390991211,\r
5552     "y": 4377.085662841797,\r
5553     "z": "9718fe15.98603",\r
5554     "wires": [\r
5555       [\r
5556         "d5aa2b23.abf14",\r
5557         "b25d8065.0eeb5",\r
5558         "2e5be567.2683ca"\r
5559       ]\r
5560     ]\r
5561   },\r
5562   {\r
5563     "id": "d5aa2b23.abf14",\r
5564     "type": "success",\r
5565     "name": "success",\r
5566     "xml": "<outcome value='success'>\n",\r
5567     "comments": "",\r
5568     "outputs": 1,\r
5569     "x": 4564.566390991211,\r
5570     "y": 4379.085662841797,\r
5571     "z": "9718fe15.98603",\r
5572     "wires": [\r
5573       [\r
5574         "dbaf0410.536798"\r
5575       ]\r
5576     ]\r
5577   },\r
5578   {\r
5579     "id": "b25d8065.0eeb5",\r
5580     "type": "not-found",\r
5581     "name": "not-found",\r
5582     "xml": "<outcome value='not-found'>\n",\r
5583     "comments": "",\r
5584     "outputs": 1,\r
5585     "x": 4565.057357788086,\r
5586     "y": 4424.659698486328,\r
5587     "z": "9718fe15.98603",\r
5588     "wires": [\r
5589       [\r
5590         "a2deddc2.51b4b8"\r
5591       ]\r
5592     ]\r
5593   },\r
5594   {\r
5595     "id": "2e5be567.2683ca",\r
5596     "type": "failure",\r
5597     "name": "failure",\r
5598     "xml": "<outcome value='failure'>\n",\r
5599     "comments": "",\r
5600     "outputs": 1,\r
5601     "x": 4562.566390991211,\r
5602     "y": 4468.085662841797,\r
5603     "z": "9718fe15.98603",\r
5604     "wires": [\r
5605       [\r
5606         "f3c554f9.aa8de8"\r
5607       ]\r
5608     ]\r
5609   },\r
5610   {\r
5611     "id": "ac1b2d90.391b98",\r
5612     "type": "save",\r
5613     "name": "get LEAF uni from aai",\r
5614     "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
5615     "comments": "",\r
5616     "outputs": 1,\r
5617     "x": 3630.566665649414,\r
5618     "y": 3052.085693359375,\r
5619     "z": "9718fe15.98603",\r
5620     "wires": [\r
5621       [\r
5622         "518020a8.e5908",\r
5623         "2f37bf62.6d766",\r
5624         "1d68f74a.0ce429"\r
5625       ]\r
5626     ]\r
5627   },\r
5628   {\r
5629     "id": "2f37bf62.6d766",\r
5630     "type": "not-found",\r
5631     "name": "not-found",\r
5632     "xml": "<outcome value='not-found'>\n",\r
5633     "comments": "",\r
5634     "outputs": 1,\r
5635     "x": 3858.057632446289,\r
5636     "y": 3024.65966796875,\r
5637     "z": "9718fe15.98603",\r
5638     "wires": [\r
5639       [\r
5640         "a23311e6.197e98"\r
5641       ]\r
5642     ]\r
5643   },\r
5644   {\r
5645     "id": "1d68f74a.0ce429",\r
5646     "type": "failure",\r
5647     "name": "failure",\r
5648     "xml": "<outcome value='failure'>\n",\r
5649     "comments": "",\r
5650     "outputs": 1,\r
5651     "x": 3853.566665649414,\r
5652     "y": 3069.0856323242188,\r
5653     "z": "9718fe15.98603",\r
5654     "wires": [\r
5655       [\r
5656         "1f7edc05.06419c"\r
5657       ]\r
5658     ]\r
5659   },\r
5660   {\r
5661     "id": "a23311e6.197e98",\r
5662     "type": "returnFailure",\r
5663     "name": "return failure",\r
5664     "xml": "<return 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
5665     "comments": "",\r
5666     "x": 4020.629165649414,\r
5667     "y": 3023.9453735351562,\r
5668     "z": "9718fe15.98603",\r
5669     "wires": []\r
5670   },\r
5671   {\r
5672     "id": "1f7edc05.06419c",\r
5673     "type": "returnFailure",\r
5674     "name": "return failure",\r
5675     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5676     "comments": "",\r
5677     "x": 4021.566665649414,\r
5678     "y": 3069.0856323242188,\r
5679     "z": "9718fe15.98603",\r
5680     "wires": []\r
5681   },\r
5682   {\r
5683     "id": "518020a8.e5908",\r
5684     "type": "success",\r
5685     "name": "success",\r
5686     "xml": "<outcome value='success'>\n",\r
5687     "comments": "",\r
5688     "outputs": 1,\r
5689     "x": 3865.566665649414,\r
5690     "y": 3119.085693359375,\r
5691     "z": "9718fe15.98603",\r
5692     "wires": [\r
5693       [\r
5694         "f9e3f20c.6b5eb8"\r
5695       ]\r
5696     ]\r
5697   },\r
5698   {\r
5699     "id": "3597d7fb.9d9fd",\r
5700     "type": "comment",\r
5701     "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
5702     "info": "",\r
5703     "comments": "",\r
5704     "x": 3755.449996948242,\r
5705     "y": 3309.969024658203,\r
5706     "z": "9718fe15.98603",\r
5707     "wires": []\r
5708   },\r
5709   {\r
5710     "id": "8b55165.21410e8",\r
5711     "type": "set",\r
5712     "name": "set current-provider-id and current-cvlan-id",\r
5713     "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
5714     "comments": "",\r
5715     "x": 3737.166763305664,\r
5716     "y": 3871.76904296875,\r
5717     "z": "9718fe15.98603",\r
5718     "wires": []\r
5719   },\r
5720   {\r
5721     "id": "d35d1b04.286b5",\r
5722     "type": "call",\r
5723     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
5724     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
5725     "comments": "",\r
5726     "outputs": 1,\r
5727     "x": 3875.166763305664,\r
5728     "y": 3929.76904296875,\r
5729     "z": "9718fe15.98603",\r
5730     "wires": [\r
5731       []\r
5732     ]\r
5733   },\r
5734   {\r
5735     "id": "7f1b37a2.172688",\r
5736     "type": "block",\r
5737     "name": "block : atomic",\r
5738     "xml": "<block atomic=\"true\">",\r
5739     "atomic": "true",\r
5740     "outputs": 1,\r
5741     "x": 3453.166763305664,\r
5742     "y": 3611.1689453125,\r
5743     "z": "9718fe15.98603",\r
5744     "wires": [\r
5745       [\r
5746         "2d37a713.1c4278",\r
5747         "c7b27212.2f5b88",\r
5748         "aaa5f9ec.d9ed6"\r
5749       ]\r
5750     ]\r
5751   },\r
5752   {\r
5753     "id": "26c98beb.9e8714",\r
5754     "type": "switchNode",\r
5755     "name": "switch found-connectivity?",\r
5756     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
5757     "comments": "",\r
5758     "outputs": 1,\r
5759     "x": 3694.166763305664,\r
5760     "y": 4039.569091796875,\r
5761     "z": "9718fe15.98603",\r
5762     "wires": [\r
5763       [\r
5764         "757df358.1ab404",\r
5765         "46ca33dc.1a72ec"\r
5766       ]\r
5767     ]\r
5768   },\r
5769   {\r
5770     "id": "757df358.1ab404",\r
5771     "type": "outcomeFalse",\r
5772     "name": "false",\r
5773     "xml": "<outcome value='false'>\n",\r
5774     "comments": "",\r
5775     "outputs": 1,\r
5776     "x": 3887.166763305664,\r
5777     "y": 4040.569091796875,\r
5778     "z": "9718fe15.98603",\r
5779     "wires": [\r
5780       [\r
5781         "43e4ef70.2c83f"\r
5782       ]\r
5783     ]\r
5784   },\r
5785   {\r
5786     "id": "46ca33dc.1a72ec",\r
5787     "type": "outcomeTrue",\r
5788     "name": "true",\r
5789     "xml": "<outcome value='true'>\n",\r
5790     "comments": "",\r
5791     "outputs": 1,\r
5792     "x": 3891.166763305664,\r
5793     "y": 4084.569091796875,\r
5794     "z": "9718fe15.98603",\r
5795     "wires": [\r
5796       [\r
5797         "7ecc7e99.a8f718"\r
5798       ]\r
5799     ]\r
5800   },\r
5801   {\r
5802     "id": "7ecc7e99.a8f718",\r
5803     "type": "block",\r
5804     "name": "block : atomic",\r
5805     "xml": "<block atomic='true'>",\r
5806     "atomic": "true",\r
5807     "comments": "",\r
5808     "outputs": 1,\r
5809     "x": 4030.166763305664,\r
5810     "y": 4079.569091796875,\r
5811     "z": "9718fe15.98603",\r
5812     "wires": [\r
5813       [\r
5814         "2a1af9c0.1651de"\r
5815       ]\r
5816     ]\r
5817   },\r
5818   {\r
5819     "id": "43e4ef70.2c83f",\r
5820     "type": "returnFailure",\r
5821     "name": "return failure",\r
5822     "xml": "<return 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
5823     "comments": "",\r
5824     "x": 4031.166763305664,\r
5825     "y": 4036.76904296875,\r
5826     "z": "9718fe15.98603",\r
5827     "wires": []\r
5828   },\r
5829   {\r
5830     "id": "71ab4f0e.2a007",\r
5831     "type": "switchNode",\r
5832     "name": "switch leafuni.data-source > gfp",\r
5833     "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
5834     "comments": "",\r
5835     "outputs": 1,\r
5836     "x": 4379.283706665039,\r
5837     "y": 3258.369140625,\r
5838     "z": "9718fe15.98603",\r
5839     "wires": [\r
5840       [\r
5841         "e5e20266.b6ad18",\r
5842         "fa7ec0d3.484e4"\r
5843       ]\r
5844     ]\r
5845   },\r
5846   {\r
5847     "id": "e5e20266.b6ad18",\r
5848     "type": "outcomeTrue",\r
5849     "name": "true",\r
5850     "xml": "<outcome value='true'>\n",\r
5851     "comments": "",\r
5852     "outputs": 1,\r
5853     "x": 4578.450698852539,\r
5854     "y": 3324.968994140625,\r
5855     "z": "9718fe15.98603",\r
5856     "wires": [\r
5857       [\r
5858         "c400bc3c.ac5968"\r
5859       ]\r
5860     ]\r
5861   },\r
5862   {\r
5863     "id": "fa7ec0d3.484e4",\r
5864     "type": "outcomeFalse",\r
5865     "name": "false",\r
5866     "xml": "<outcome value='false'>\n",\r
5867     "comments": "",\r
5868     "outputs": 1,\r
5869     "x": 4600.450698852539,\r
5870     "y": 3169.968994140625,\r
5871     "z": "9718fe15.98603",\r
5872     "wires": [\r
5873       [\r
5874         "f79a9470.53a4c8"\r
5875       ]\r
5876     ]\r
5877   },\r
5878   {\r
5879     "id": "8aeeffc.718ae8",\r
5880     "type": "save",\r
5881     "name": "update LEAF UNI in AAI",\r
5882     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
5883     "comments": "",\r
5884     "outputs": 1,\r
5885     "x": 4378.283706665039,\r
5886     "y": 3113.569091796875,\r
5887     "z": "9718fe15.98603",\r
5888     "wires": [\r
5889       []\r
5890     ]\r
5891   },\r
5892   {\r
5893     "id": "b6c5ddb8.eb856",\r
5894     "type": "comment",\r
5895     "name": "update LEAF UNI with the new bw",\r
5896     "info": "",\r
5897     "comments": "",\r
5898     "x": 4394.450698852539,\r
5899     "y": 3066.968994140625,\r
5900     "z": "9718fe15.98603",\r
5901     "wires": []\r
5902   },\r
5903   {\r
5904     "id": "ab07d3e7.b0f788",\r
5905     "type": "comment",\r
5906     "name": "Update ROOT UNI's bw",\r
5907     "info": "",\r
5908     "comments": "",\r
5909     "x": 4949.216567993164,\r
5910     "y": 2521.968994140625,\r
5911     "z": "9718fe15.98603",\r
5912     "wires": []\r
5913   },\r
5914   {\r
5915     "id": "6a6aa672.a79588",\r
5916     "type": "save",\r
5917     "name": "update ROOT UNI in AAI",\r
5918     "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
5919     "comments": "",\r
5920     "outputs": 1,\r
5921     "x": 5551.216567993164,\r
5922     "y": 2626.968994140625,\r
5923     "z": "9718fe15.98603",\r
5924     "wires": [\r
5925       []\r
5926     ]\r
5927   },\r
5928   {\r
5929     "id": "cbbe95bb.3b672",\r
5930     "type": "save",\r
5931     "name": "get root uni from aai",\r
5932     "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
5933     "comments": "",\r
5934     "outputs": 1,\r
5935     "x": 4941.216323852539,\r
5936     "y": 2567.968994140625,\r
5937     "z": "9718fe15.98603",\r
5938     "wires": [\r
5939       [\r
5940         "29f0d39b.7868dc",\r
5941         "a9cdc9f3.565c48",\r
5942         "bb4a2538.1336f8"\r
5943       ]\r
5944     ]\r
5945   },\r
5946   {\r
5947     "id": "a9cdc9f3.565c48",\r
5948     "type": "not-found",\r
5949     "name": "not-found",\r
5950     "xml": "<outcome value='not-found'>\n",\r
5951     "comments": "",\r
5952     "outputs": 1,\r
5953     "x": 5168.707290649414,\r
5954     "y": 2540.54296875,\r
5955     "z": "9718fe15.98603",\r
5956     "wires": [\r
5957       [\r
5958         "1908939b.bd4034"\r
5959       ]\r
5960     ]\r
5961   },\r
5962   {\r
5963     "id": "bb4a2538.1336f8",\r
5964     "type": "failure",\r
5965     "name": "failure",\r
5966     "xml": "<outcome value='failure'>\n",\r
5967     "comments": "",\r
5968     "outputs": 1,\r
5969     "x": 5164.216323852539,\r
5970     "y": 2584.9689331054688,\r
5971     "z": "9718fe15.98603",\r
5972     "wires": [\r
5973       [\r
5974         "92667393.c53a48"\r
5975       ]\r
5976     ]\r
5977   },\r
5978   {\r
5979     "id": "1908939b.bd4034",\r
5980     "type": "returnFailure",\r
5981     "name": "return failure",\r
5982     "xml": "<return 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
5983     "comments": "",\r
5984     "x": 5331.278823852539,\r
5985     "y": 2539.8286743164062,\r
5986     "z": "9718fe15.98603",\r
5987     "wires": []\r
5988   },\r
5989   {\r
5990     "id": "92667393.c53a48",\r
5991     "type": "returnFailure",\r
5992     "name": "return failure",\r
5993     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5994     "comments": "",\r
5995     "x": 5332.216323852539,\r
5996     "y": 2584.9689331054688,\r
5997     "z": "9718fe15.98603",\r
5998     "wires": []\r
5999   },\r
6000   {\r
6001     "id": "881aa049.c716c",\r
6002     "type": "block",\r
6003     "name": "block : atomic",\r
6004     "xml": "<block atomic=\"true\">",\r
6005     "atomic": "true",\r
6006     "outputs": 1,\r
6007     "x": 5329.216323852539,\r
6008     "y": 2634.968994140625,\r
6009     "z": "9718fe15.98603",\r
6010     "wires": [\r
6011       [\r
6012         "462dc669.256da8",\r
6013         "6a6aa672.a79588"\r
6014       ]\r
6015     ]\r
6016   },\r
6017   {\r
6018     "id": "29f0d39b.7868dc",\r
6019     "type": "success",\r
6020     "name": "success",\r
6021     "xml": "<outcome value='success'>\n",\r
6022     "comments": "",\r
6023     "outputs": 1,\r
6024     "x": 5160.216323852539,\r
6025     "y": 2634.968994140625,\r
6026     "z": "9718fe15.98603",\r
6027     "wires": [\r
6028       [\r
6029         "881aa049.c716c"\r
6030       ]\r
6031     ]\r
6032   },\r
6033   {\r
6034     "id": "462dc669.256da8",\r
6035     "type": "set",\r
6036     "name": "set new bw",\r
6037     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
6038     "comments": "",\r
6039     "x": 5511.217056274414,\r
6040     "y": 2576.968994140625,\r
6041     "z": "9718fe15.98603",\r
6042     "wires": []\r
6043   },\r
6044   {\r
6045     "id": "cf90a66f.fda158",\r
6046     "type": "comment",\r
6047     "name": "bw+ has increased ",\r
6048     "info": "",\r
6049     "comments": "",\r
6050     "x": 4592.449996948242,\r
6051     "y": 3131.969024658203,\r
6052     "z": "9718fe15.98603",\r
6053     "wires": []\r
6054   },\r
6055   {\r
6056     "id": "55a0d7dc.286418",\r
6057     "type": "comment",\r
6058     "name": "bw- has decreased",\r
6059     "info": "",\r
6060     "comments": "",\r
6061     "x": 4591.283706665039,\r
6062     "y": 3288.76904296875,\r
6063     "z": "9718fe15.98603",\r
6064     "wires": []\r
6065   },\r
6066   {\r
6067     "id": "4d5920d6.13a668",\r
6068     "type": "comment",\r
6069     "name": "Update ROOT UNI's bw",\r
6070     "info": "",\r
6071     "comments": "",\r
6072     "x": 5040.282974243164,\r
6073     "y": 2861.76904296875,\r
6074     "z": "9718fe15.98603",\r
6075     "wires": []\r
6076   },\r
6077   {\r
6078     "id": "88d6c65c.cf7f08",\r
6079     "type": "save",\r
6080     "name": "update ROOT UNI in AAI",\r
6081     "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
6082     "comments": "",\r
6083     "outputs": 1,\r
6084     "x": 5642.282974243164,\r
6085     "y": 2966.76904296875,\r
6086     "z": "9718fe15.98603",\r
6087     "wires": [\r
6088       []\r
6089     ]\r
6090   },\r
6091   {\r
6092     "id": "d0b2cf41.bca298",\r
6093     "type": "save",\r
6094     "name": "get root uni from aai",\r
6095     "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
6096     "comments": "",\r
6097     "outputs": 1,\r
6098     "x": 5032.282730102539,\r
6099     "y": 2907.76904296875,\r
6100     "z": "9718fe15.98603",\r
6101     "wires": [\r
6102       [\r
6103         "8d492b8.9c23958",\r
6104         "7af8c9ac.4fdff",\r
6105         "8f5e4c1.c47c63"\r
6106       ]\r
6107     ]\r
6108   },\r
6109   {\r
6110     "id": "7af8c9ac.4fdff",\r
6111     "type": "not-found",\r
6112     "name": "not-found",\r
6113     "xml": "<outcome value='not-found'>\n",\r
6114     "comments": "",\r
6115     "outputs": 1,\r
6116     "x": 5259.773696899414,\r
6117     "y": 2880.343017578125,\r
6118     "z": "9718fe15.98603",\r
6119     "wires": [\r
6120       [\r
6121         "a556ac9c.f99378"\r
6122       ]\r
6123     ]\r
6124   },\r
6125   {\r
6126     "id": "8f5e4c1.c47c63",\r
6127     "type": "failure",\r
6128     "name": "failure",\r
6129     "xml": "<outcome value='failure'>\n",\r
6130     "comments": "",\r
6131     "outputs": 1,\r
6132     "x": 5255.282730102539,\r
6133     "y": 2924.7689819335938,\r
6134     "z": "9718fe15.98603",\r
6135     "wires": [\r
6136       [\r
6137         "fb5f5c18.d85868"\r
6138       ]\r
6139     ]\r
6140   },\r
6141   {\r
6142     "id": "a556ac9c.f99378",\r
6143     "type": "returnFailure",\r
6144     "name": "return failure",\r
6145     "xml": "<return 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
6146     "comments": "",\r
6147     "x": 5422.345230102539,\r
6148     "y": 2879.6287231445312,\r
6149     "z": "9718fe15.98603",\r
6150     "wires": []\r
6151   },\r
6152   {\r
6153     "id": "fb5f5c18.d85868",\r
6154     "type": "returnFailure",\r
6155     "name": "return failure",\r
6156     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6157     "comments": "",\r
6158     "x": 5423.282730102539,\r
6159     "y": 2924.7689819335938,\r
6160     "z": "9718fe15.98603",\r
6161     "wires": []\r
6162   },\r
6163   {\r
6164     "id": "1055bce3.28f203",\r
6165     "type": "block",\r
6166     "name": "block : atomic",\r
6167     "xml": "<block atomic=\"true\">",\r
6168     "atomic": "true",\r
6169     "outputs": 1,\r
6170     "x": 5420.282730102539,\r
6171     "y": 2974.76904296875,\r
6172     "z": "9718fe15.98603",\r
6173     "wires": [\r
6174       [\r
6175         "67fafdaf.ff6be4",\r
6176         "88d6c65c.cf7f08"\r
6177       ]\r
6178     ]\r
6179   },\r
6180   {\r
6181     "id": "8d492b8.9c23958",\r
6182     "type": "success",\r
6183     "name": "success",\r
6184     "xml": "<outcome value='success'>\n",\r
6185     "comments": "",\r
6186     "outputs": 1,\r
6187     "x": 5251.282730102539,\r
6188     "y": 2974.76904296875,\r
6189     "z": "9718fe15.98603",\r
6190     "wires": [\r
6191       [\r
6192         "1055bce3.28f203"\r
6193       ]\r
6194     ]\r
6195   },\r
6196   {\r
6197     "id": "67fafdaf.ff6be4",\r
6198     "type": "set",\r
6199     "name": "set new bw",\r
6200     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
6201     "comments": "",\r
6202     "x": 5602.283462524414,\r
6203     "y": 2916.76904296875,\r
6204     "z": "9718fe15.98603",\r
6205     "wires": []\r
6206   },\r
6207   {\r
6208     "id": "16d60a9.8d32af5",\r
6209     "type": "set",\r
6210     "name": "set delta",\r
6211     "xml": "<set>\n<parameter name='tmp.delta' value='`$tmp.aai.leafuni.data-source - $gfp`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='false' />\n\n\n",\r
6212     "comments": "",\r
6213     "x": 4957.282730102539,\r
6214     "y": 2820.76904296875,\r
6215     "z": "9718fe15.98603",\r
6216     "wires": []\r
6217   },\r
6218   {\r
6219     "id": "c400bc3c.ac5968",\r
6220     "type": "block",\r
6221     "name": "block",\r
6222     "xml": "<block>\n",\r
6223     "atomic": "false",\r
6224     "comments": "",\r
6225     "outputs": 1,\r
6226     "x": 4750.449996948242,\r
6227     "y": 3313.969024658203,\r
6228     "z": "9718fe15.98603",\r
6229     "wires": [\r
6230       [\r
6231         "16d60a9.8d32af5",\r
6232         "d0b2cf41.bca298",\r
6233         "8414e4a1.38b9c8"\r
6234       ]\r
6235     ]\r
6236   },\r
6237   {\r
6238     "id": "f79a9470.53a4c8",\r
6239     "type": "block",\r
6240     "name": "block",\r
6241     "xml": "<block>\n",\r
6242     "atomic": "false",\r
6243     "comments": "",\r
6244     "outputs": 1,\r
6245     "x": 4771.183364868164,\r
6246     "y": 3140.76904296875,\r
6247     "z": "9718fe15.98603",\r
6248     "wires": [\r
6249       [\r
6250         "117ea4ef.18b79b",\r
6251         "cbbe95bb.3b672",\r
6252         "ba199ac4.fb848"\r
6253       ]\r
6254     ]\r
6255   },\r
6256   {\r
6257     "id": "117ea4ef.18b79b",\r
6258     "type": "set",\r
6259     "name": "set delta",\r
6260     "xml": "<set>\n<parameter name='tmp.delta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.realdelta' value='`$gfp - $tmp.aai.leafuni.data-source`' />\n<parameter name='tmp.isBwIncreased' value='true' />\n",\r
6261     "comments": "",\r
6262     "x": 4906.016128540039,\r
6263     "y": 2446.569091796875,\r
6264     "z": "9718fe15.98603",\r
6265     "wires": []\r
6266   },\r
6267   {\r
6268     "id": "c54ad09e.8bf3a",\r
6269     "type": "comment",\r
6270     "name": "Update ROOT UNI's bw",\r
6271     "info": "",\r
6272     "comments": "",\r
6273     "x": 4365.333267211914,\r
6274     "y": 3213.76904296875,\r
6275     "z": "9718fe15.98603",\r
6276     "wires": []\r
6277   },\r
6278   {\r
6279     "id": "2dd0c0ce.4b6dd8",\r
6280     "type": "call",\r
6281     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6282     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6283     "comments": "",\r
6284     "outputs": 1,\r
6285     "x": 3834.666732788086,\r
6286     "y": 4202.569549560547,\r
6287     "z": "9718fe15.98603",\r
6288     "wires": [\r
6289       []\r
6290     ]\r
6291   },\r
6292   {\r
6293     "id": "f75e3970.5d2918",\r
6294     "type": "switchNode",\r
6295     "name": "switch found-root-connectivity",\r
6296     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6297     "comments": "",\r
6298     "outputs": 1,\r
6299     "x": 3669.666732788086,\r
6300     "y": 4274.769500732422,\r
6301     "z": "9718fe15.98603",\r
6302     "wires": [\r
6303       [\r
6304         "6558c3a1.aee6ec",\r
6305         "615d888.e8de878"\r
6306       ]\r
6307     ]\r
6308   },\r
6309   {\r
6310     "id": "6558c3a1.aee6ec",\r
6311     "type": "outcomeTrue",\r
6312     "name": "true",\r
6313     "xml": "<outcome value='true'>\n",\r
6314     "comments": "",\r
6315     "outputs": 1,\r
6316     "x": 3880.666732788086,\r
6317     "y": 4274.769500732422,\r
6318     "z": "9718fe15.98603",\r
6319     "wires": [\r
6320       [\r
6321         "dbe2bb07.4ff"\r
6322       ]\r
6323     ]\r
6324   },\r
6325   {\r
6326     "id": "615d888.e8de878",\r
6327     "type": "outcomeFalse",\r
6328     "name": "false",\r
6329     "xml": "<outcome value='false'>\n",\r
6330     "comments": "",\r
6331     "outputs": 1,\r
6332     "x": 3876.666732788086,\r
6333     "y": 4322.769500732422,\r
6334     "z": "9718fe15.98603",\r
6335     "wires": [\r
6336       [\r
6337         "981910a2.c0ad4"\r
6338       ]\r
6339     ]\r
6340   },\r
6341   {\r
6342     "id": "dbe2bb07.4ff",\r
6343     "type": "block",\r
6344     "name": "block : atomic",\r
6345     "xml": "<block atomic='true'>",\r
6346     "atomic": "true",\r
6347     "comments": "",\r
6348     "outputs": 1,\r
6349     "x": 4036.666732788086,\r
6350     "y": 4270.769500732422,\r
6351     "z": "9718fe15.98603",\r
6352     "wires": [\r
6353       [\r
6354         "d5500d79.08788"\r
6355       ]\r
6356     ]\r
6357   },\r
6358   {\r
6359     "id": "981910a2.c0ad4",\r
6360     "type": "returnFailure",\r
6361     "name": "return failure",\r
6362     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found but it should have been!' />\n",\r
6363     "comments": "",\r
6364     "x": 4024.666732788086,\r
6365     "y": 4317.769500732422,\r
6366     "z": "9718fe15.98603",\r
6367     "wires": []\r
6368   },\r
6369   {\r
6370     "id": "3bc11366.fbbc34",\r
6371     "type": "block",\r
6372     "name": "block : atomic",\r
6373     "xml": "<block atomic=\"true\">",\r
6374     "atomic": "true",\r
6375     "outputs": 1,\r
6376     "x": 4877.632827758789,\r
6377     "y": 4584.96826171875,\r
6378     "z": "9718fe15.98603",\r
6379     "wires": [\r
6380       [\r
6381         "dd06399c.007818",\r
6382         "d4fdd67a.a817c8"\r
6383       ]\r
6384     ]\r
6385   },\r
6386   {\r
6387     "id": "d4fdd67a.a817c8",\r
6388     "type": "set",\r
6389     "name": "unset tmp.aai.vpn-binding",\r
6390     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
6391     "comments": "",\r
6392     "x": 5120.633071899414,\r
6393     "y": 4553.96826171875,\r
6394     "z": "9718fe15.98603",\r
6395     "wires": []\r
6396   },\r
6397   {\r
6398     "id": "2be00ed8.b483fa",\r
6399     "type": "block",\r
6400     "name": "block : atomic",\r
6401     "xml": "<block atomic=\"true\">",\r
6402     "atomic": "true",\r
6403     "outputs": 1,\r
6404     "x": 4737.632827758789,\r
6405     "y": 4694.96826171875,\r
6406     "z": "9718fe15.98603",\r
6407     "wires": [\r
6408       [\r
6409         "97d72fe9.69bac8"\r
6410       ]\r
6411     ]\r
6412   },\r
6413   {\r
6414     "id": "91c8662a.32a768",\r
6415     "type": "returnFailure",\r
6416     "name": "return failure",\r
6417     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6418     "comments": "",\r
6419     "x": 4725.633071899414,\r
6420     "y": 4787.968505859375,\r
6421     "z": "9718fe15.98603",\r
6422     "wires": []\r
6423   },\r
6424   {\r
6425     "id": "d203ac94.87b14",\r
6426     "type": "returnFailure",\r
6427     "name": "return failure",\r
6428     "xml": "<return 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
6429     "comments": "",\r
6430     "x": 4727.695205688477,\r
6431     "y": 4742.828033447266,\r
6432     "z": "9718fe15.98603",\r
6433     "wires": []\r
6434   },\r
6435   {\r
6436     "id": "d5500d79.08788",\r
6437     "type": "for",\r
6438     "name": "for each relationship",\r
6439     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
6440     "comments": "",\r
6441     "outputs": 1,\r
6442     "x": 4343.632827758789,\r
6443     "y": 4584.96826171875,\r
6444     "z": "9718fe15.98603",\r
6445     "wires": [\r
6446       [\r
6447         "c8667f42.17971"\r
6448       ]\r
6449     ]\r
6450   },\r
6451   {\r
6452     "id": "c8667f42.17971",\r
6453     "type": "switchNode",\r
6454     "name": "switch related-to",\r
6455     "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
6456     "comments": "",\r
6457     "outputs": 1,\r
6458     "x": 4548.632827758789,\r
6459     "y": 4584.96826171875,\r
6460     "z": "9718fe15.98603",\r
6461     "wires": [\r
6462       [\r
6463         "459caa2c.0e6e04"\r
6464       ]\r
6465     ]\r
6466   },\r
6467   {\r
6468     "id": "459caa2c.0e6e04",\r
6469     "type": "outcome",\r
6470     "name": "vpn-binding",\r
6471     "xml": "<outcome value='vpn-binding'>\n",\r
6472     "comments": "",\r
6473     "outputs": 1,\r
6474     "x": 4714.632827758789,\r
6475     "y": 4584.96826171875,\r
6476     "z": "9718fe15.98603",\r
6477     "wires": [\r
6478       [\r
6479         "3bc11366.fbbc34"\r
6480       ]\r
6481     ]\r
6482   },\r
6483   {\r
6484     "id": "dd06399c.007818",\r
6485     "type": "save",\r
6486     "name": "get vpn-binding from aai",\r
6487     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"vpn-binding\"\n\t    key=\"vpn-binding.vpn-id = $tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].relationship-data[0].relationship-value\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.vpn-binding\" >\n",\r
6488     "comments": "",\r
6489     "outputs": 1,\r
6490     "x": 4353.632827758789,\r
6491     "y": 4694.96826171875,\r
6492     "z": "9718fe15.98603",\r
6493     "wires": [\r
6494       [\r
6495         "bdef323e.2e743",\r
6496         "8bfc1c1b.2feb4",\r
6497         "6eeff3cb.d5d2dc"\r
6498       ]\r
6499     ]\r
6500   },\r
6501   {\r
6502     "id": "bdef323e.2e743",\r
6503     "type": "success",\r
6504     "name": "success",\r
6505     "xml": "<outcome value='success'>\n",\r
6506     "comments": "",\r
6507     "outputs": 1,\r
6508     "x": 4564.632827758789,\r
6509     "y": 4696.96826171875,\r
6510     "z": "9718fe15.98603",\r
6511     "wires": [\r
6512       [\r
6513         "2be00ed8.b483fa"\r
6514       ]\r
6515     ]\r
6516   },\r
6517   {\r
6518     "id": "8bfc1c1b.2feb4",\r
6519     "type": "not-found",\r
6520     "name": "not-found",\r
6521     "xml": "<outcome value='not-found'>\n",\r
6522     "comments": "",\r
6523     "outputs": 1,\r
6524     "x": 4565.123794555664,\r
6525     "y": 4742.542297363281,\r
6526     "z": "9718fe15.98603",\r
6527     "wires": [\r
6528       [\r
6529         "d203ac94.87b14"\r
6530       ]\r
6531     ]\r
6532   },\r
6533   {\r
6534     "id": "6eeff3cb.d5d2dc",\r
6535     "type": "failure",\r
6536     "name": "failure",\r
6537     "xml": "<outcome value='failure'>\n",\r
6538     "comments": "",\r
6539     "outputs": 1,\r
6540     "x": 4562.632827758789,\r
6541     "y": 4785.96826171875,\r
6542     "z": "9718fe15.98603",\r
6543     "wires": [\r
6544       [\r
6545         "91c8662a.32a768"\r
6546       ]\r
6547     ]\r
6548   },\r
6549   {\r
6550     "id": "b4556ca5.203ec",\r
6551     "type": "comment",\r
6552     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
6553     "info": "",\r
6554     "comments": "",\r
6555     "x": 5973.449722290039,\r
6556     "y": 7084.169189453125,\r
6557     "z": "9718fe15.98603",\r
6558     "wires": []\r
6559   },\r
6560   {\r
6561     "id": "5b30bbfe.71d1cc",\r
6562     "type": "comment",\r
6563     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
6564     "info": "",\r
6565     "comments": "",\r
6566     "x": 5241.916732788086,\r
6567     "y": 4315.368865966797,\r
6568     "z": "9718fe15.98603",\r
6569     "wires": []\r
6570   },\r
6571   {\r
6572     "id": "dbaf0410.536798",\r
6573     "type": "block",\r
6574     "name": "block : atomic",\r
6575     "xml": "<block atomic='true'>",\r
6576     "atomic": "true",\r
6577     "comments": "",\r
6578     "outputs": 1,\r
6579     "x": 4743.916976928711,\r
6580     "y": 4381.368865966797,\r
6581     "z": "9718fe15.98603",\r
6582     "wires": [\r
6583       []\r
6584     ]\r
6585   },\r
6586   {\r
6587     "id": "817a92f2.d780d",\r
6588     "type": "switchNode",\r
6589     "name": "switch ops-note is srcTtpOtnLayer",\r
6590     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
6591     "comments": "",\r
6592     "outputs": 1,\r
6593     "x": 5274.916732788086,\r
6594     "y": 4383.368865966797,\r
6595     "z": "9718fe15.98603",\r
6596     "wires": [\r
6597       [\r
6598         "9dfe7d9b.36f16",\r
6599         "6633e166.0ef198"\r
6600       ]\r
6601     ]\r
6602   },\r
6603   {\r
6604     "id": "9dfe7d9b.36f16",\r
6605     "type": "outcomeTrue",\r
6606     "name": "true",\r
6607     "xml": "<outcome value='true'>\n",\r
6608     "comments": "",\r
6609     "outputs": 1,\r
6610     "x": 5399.916732788086,\r
6611     "y": 4281.368621826172,\r
6612     "z": "9718fe15.98603",\r
6613     "wires": [\r
6614       [\r
6615         "bef4e32d.a8f0f"\r
6616       ]\r
6617     ]\r
6618   },\r
6619   {\r
6620     "id": "6633e166.0ef198",\r
6621     "type": "outcomeFalse",\r
6622     "name": "false",\r
6623     "xml": "<outcome value='false'>\n",\r
6624     "comments": "",\r
6625     "outputs": 1,\r
6626     "x": 5518.916763305664,\r
6627     "y": 4355.36865234375,\r
6628     "z": "9718fe15.98603",\r
6629     "wires": [\r
6630       []\r
6631     ]\r
6632   },\r
6633   {\r
6634     "id": "13e3cfc5.6c211",\r
6635     "type": "set",\r
6636     "name": "set srcTtp OTN layer",\r
6637     "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
6638     "comments": "",\r
6639     "x": 4487.599868774414,\r
6640     "y": 3927.085693359375,\r
6641     "z": "9718fe15.98603",\r
6642     "wires": []\r
6643   },\r
6644   {\r
6645     "id": "c04b322f.90f188",\r
6646     "type": "switchNode",\r
6647     "name": "switch provider-id domainA",\r
6648     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
6649     "comments": "",\r
6650     "outputs": 1,\r
6651     "x": 4832.599868774414,\r
6652     "y": 3789.085693359375,\r
6653     "z": "9718fe15.98603",\r
6654     "wires": [\r
6655       [\r
6656         "641a94ad.cf9a7c"\r
6657       ]\r
6658     ]\r
6659   },\r
6660   {\r
6661     "id": "cb16b3c1.554ca8",\r
6662     "type": "for",\r
6663     "name": "for netwidx..allNetworksList_length",\r
6664     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
6665     "comments": "",\r
6666     "outputs": 1,\r
6667     "x": 4539.599868774414,\r
6668     "y": 3783.085693359375,\r
6669     "z": "9718fe15.98603",\r
6670     "wires": [\r
6671       [\r
6672         "c04b322f.90f188"\r
6673       ]\r
6674     ]\r
6675   },\r
6676   {\r
6677     "id": "61a224f4.1490f4",\r
6678     "type": "not-found",\r
6679     "name": "not-found",\r
6680     "xml": "<outcome value='not-found'>\n",\r
6681     "comments": "",\r
6682     "outputs": 1,\r
6683     "x": 4794.599868774414,\r
6684     "y": 3740.085693359375,\r
6685     "z": "9718fe15.98603",\r
6686     "wires": [\r
6687       []\r
6688     ]\r
6689   },\r
6690   {\r
6691     "id": "79714250.d2dcd4",\r
6692     "type": "set",\r
6693     "name": "unset parameters",\r
6694     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
6695     "comments": "",\r
6696     "x": 4483.599868774414,\r
6697     "y": 3835.085693359375,\r
6698     "z": "9718fe15.98603",\r
6699     "wires": []\r
6700   },\r
6701   {\r
6702     "id": "accca5a7.e8bcb",\r
6703     "type": "set",\r
6704     "name": "set tmp.pce-src-node",\r
6705     "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
6706     "comments": "",\r
6707     "x": 4491.599868774414,\r
6708     "y": 3880.085693359375,\r
6709     "z": "9718fe15.98603",\r
6710     "wires": []\r
6711   },\r
6712   {\r
6713     "id": "4917ab18.c68984",\r
6714     "type": "set",\r
6715     "name": "unset otnTopoIdSrc",\r
6716     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
6717     "comments": "",\r
6718     "x": 4488.599868774414,\r
6719     "y": 3733.085693359375,\r
6720     "z": "9718fe15.98603",\r
6721     "wires": []\r
6722   },\r
6723   {\r
6724     "id": "641a94ad.cf9a7c",\r
6725     "type": "outcomeTrue",\r
6726     "name": "true",\r
6727     "xml": "<outcome value='true'>\n",\r
6728     "comments": "",\r
6729     "outputs": 1,\r
6730     "x": 4741.599868774414,\r
6731     "y": 3857.085693359375,\r
6732     "z": "9718fe15.98603",\r
6733     "wires": [\r
6734       [\r
6735         "a41b4c9c.8533c8"\r
6736       ]\r
6737     ]\r
6738   },\r
6739   {\r
6740     "id": "a41b4c9c.8533c8",\r
6741     "type": "switchNode",\r
6742     "name": "switch te-topo-id",\r
6743     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
6744     "comments": "",\r
6745     "outputs": 1,\r
6746     "x": 4926.599868774414,\r
6747     "y": 3856.085693359375,\r
6748     "z": "9718fe15.98603",\r
6749     "wires": [\r
6750       [\r
6751         "16d0f836.5619d"\r
6752       ]\r
6753     ]\r
6754   },\r
6755   {\r
6756     "id": "16d0f836.5619d",\r
6757     "type": "outcomeTrue",\r
6758     "name": "true",\r
6759     "xml": "<outcome value='true'>\n",\r
6760     "comments": "",\r
6761     "outputs": 1,\r
6762     "x": 5118.599868774414,\r
6763     "y": 3859.085693359375,\r
6764     "z": "9718fe15.98603",\r
6765     "wires": [\r
6766       [\r
6767         "645ca090.154ad8"\r
6768       ]\r
6769     ]\r
6770   },\r
6771   {\r
6772     "id": "645ca090.154ad8",\r
6773     "type": "set",\r
6774     "name": "set otnTopoIdSrc",\r
6775     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
6776     "comments": "",\r
6777     "x": 5290.599868774414,\r
6778     "y": 3855.085693359375,\r
6779     "z": "9718fe15.98603",\r
6780     "wires": []\r
6781   },\r
6782   {\r
6783     "id": "67efef93.94a62",\r
6784     "type": "call",\r
6785     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
6786     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
6787     "comments": "",\r
6788     "outputs": 1,\r
6789     "x": 4666.599868774414,\r
6790     "y": 3970.085693359375,\r
6791     "z": "9718fe15.98603",\r
6792     "wires": [\r
6793       []\r
6794     ]\r
6795   },\r
6796   {\r
6797     "id": "2d37a713.1c4278",\r
6798     "type": "block",\r
6799     "name": "block",\r
6800     "xml": "<block>\n",\r
6801     "atomic": "false",\r
6802     "comments": "",\r
6803     "outputs": 1,\r
6804     "x": 4183.599868774414,\r
6805     "y": 3755.085693359375,\r
6806     "z": "9718fe15.98603",\r
6807     "wires": [\r
6808       [\r
6809         "fc1ea1ac.e5e448",\r
6810         "e72f0644.170c1",\r
6811         "79714250.d2dcd4",\r
6812         "accca5a7.e8bcb",\r
6813         "13e3cfc5.6c211",\r
6814         "cb16b3c1.554ca8",\r
6815         "67efef93.94a62"\r
6816       ]\r
6817     ]\r
6818   },\r
6819   {\r
6820     "id": "9d25224b.2344f8",\r
6821     "type": "comment",\r
6822     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
6823     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
6824     "comments": "",\r
6825     "x": 4168.599868774414,\r
6826     "y": 3689.085693359375,\r
6827     "z": "9718fe15.98603",\r
6828     "wires": []\r
6829   },\r
6830   {\r
6831     "id": "e72f0644.170c1",\r
6832     "type": "get-resource",\r
6833     "name": "get-resource network-resources-list",\r
6834     "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
6835     "comments": "",\r
6836     "outputs": 1,\r
6837     "x": 4547.599868774414,\r
6838     "y": 3676.085693359375,\r
6839     "z": "9718fe15.98603",\r
6840     "wires": [\r
6841       [\r
6842         "e651547d.d99b88",\r
6843         "9ee7d7c1.7baf1",\r
6844         "61a224f4.1490f4"\r
6845       ]\r
6846     ]\r
6847   },\r
6848   {\r
6849     "id": "e651547d.d99b88",\r
6850     "type": "success",\r
6851     "name": "success",\r
6852     "xml": "<outcome value='success'>\n",\r
6853     "comments": "",\r
6854     "outputs": 1,\r
6855     "x": 4783.599868774414,\r
6856     "y": 3659.085693359375,\r
6857     "z": "9718fe15.98603",\r
6858     "wires": [\r
6859       []\r
6860     ]\r
6861   },\r
6862   {\r
6863     "id": "9ee7d7c1.7baf1",\r
6864     "type": "other",\r
6865     "name": "other",\r
6866     "xml": "<outcome value='Other'>\n",\r
6867     "comments": "",\r
6868     "outputs": 1,\r
6869     "x": 4780.599868774414,\r
6870     "y": 3700.085693359375,\r
6871     "z": "9718fe15.98603",\r
6872     "wires": [\r
6873       []\r
6874     ]\r
6875   },\r
6876   {\r
6877     "id": "fc1ea1ac.e5e448",\r
6878     "type": "set",\r
6879     "name": "unset parameters",\r
6880     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
6881     "comments": "",\r
6882     "x": 4496.599868774414,\r
6883     "y": 3633.085693359375,\r
6884     "z": "9718fe15.98603",\r
6885     "wires": []\r
6886   },\r
6887   {\r
6888     "id": "7b5e5ce4.837894",\r
6889     "type": "comment",\r
6890     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
6891     "info": "",\r
6892     "comments": "",\r
6893     "x": 5225.999771118164,\r
6894     "y": 4682.485595703125,\r
6895     "z": "9718fe15.98603",\r
6896     "wires": []\r
6897   },\r
6898   {\r
6899     "id": "97d72fe9.69bac8",\r
6900     "type": "block",\r
6901     "name": "block : atomic",\r
6902     "xml": "<block atomic='true'>",\r
6903     "atomic": "true",\r
6904     "comments": "",\r
6905     "outputs": 1,\r
6906     "x": 5014.999771118164,\r
6907     "y": 4744.485595703125,\r
6908     "z": "9718fe15.98603",\r
6909     "wires": [\r
6910       [\r
6911         "9a139c6f.7e9338"\r
6912       ]\r
6913     ]\r
6914   },\r
6915   {\r
6916     "id": "9a139c6f.7e9338",\r
6917     "type": "switchNode",\r
6918     "name": "switch ops-note is srcTtpOtnLayer",\r
6919     "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
6920     "comments": "",\r
6921     "outputs": 1,\r
6922     "x": 5258.999771118164,\r
6923     "y": 4750.485595703125,\r
6924     "z": "9718fe15.98603",\r
6925     "wires": [\r
6926       [\r
6927         "f77309ba.c91088",\r
6928         "14cb90c5.a4f8ff"\r
6929       ]\r
6930     ]\r
6931   },\r
6932   {\r
6933     "id": "f77309ba.c91088",\r
6934     "type": "outcomeTrue",\r
6935     "name": "true",\r
6936     "xml": "<outcome value='true'>\n",\r
6937     "comments": "",\r
6938     "outputs": 1,\r
6939     "x": 5489.999771118164,\r
6940     "y": 4728.485595703125,\r
6941     "z": "9718fe15.98603",\r
6942     "wires": [\r
6943       [\r
6944         "d9be22a0.00a98"\r
6945       ]\r
6946     ]\r
6947   },\r
6948   {\r
6949     "id": "14cb90c5.a4f8ff",\r
6950     "type": "outcomeFalse",\r
6951     "name": "false",\r
6952     "xml": "<outcome value='false'>\n",\r
6953     "comments": "",\r
6954     "outputs": 1,\r
6955     "x": 5494.999771118164,\r
6956     "y": 4795.485595703125,\r
6957     "z": "9718fe15.98603",\r
6958     "wires": [\r
6959       []\r
6960     ]\r
6961   },\r
6962   {\r
6963     "id": "414056d.7db8ba8",\r
6964     "type": "switchNode",\r
6965     "name": "switch tmp.isBwIncreased",\r
6966     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
6967     "comments": "",\r
6968     "outputs": 1,\r
6969     "x": 5743.883529663086,\r
6970     "y": 4293.167938232422,\r
6971     "z": "9718fe15.98603",\r
6972     "wires": [\r
6973       [\r
6974         "7fdfcb8f.16a5bc",\r
6975         "c3a97bf3.cec48"\r
6976       ]\r
6977     ]\r
6978   },\r
6979   {\r
6980     "id": "7fdfcb8f.16a5bc",\r
6981     "type": "outcomeTrue",\r
6982     "name": "true",\r
6983     "xml": "<outcome value='true'>\n",\r
6984     "comments": "",\r
6985     "outputs": 1,\r
6986     "x": 5898.883560180664,\r
6987     "y": 4221.168212890625,\r
6988     "z": "9718fe15.98603",\r
6989     "wires": [\r
6990       [\r
6991         "b797878.bae0cf8"\r
6992       ]\r
6993     ]\r
6994   },\r
6995   {\r
6996     "id": "c3a97bf3.cec48",\r
6997     "type": "outcomeFalse",\r
6998     "name": "false",\r
6999     "xml": "<outcome value='false'>\n",\r
7000     "comments": "",\r
7001     "outputs": 1,\r
7002     "x": 5899.883560180664,\r
7003     "y": 4354.168212890625,\r
7004     "z": "9718fe15.98603",\r
7005     "wires": [\r
7006       [\r
7007         "e250ecc5.35ab28"\r
7008       ]\r
7009     ]\r
7010   },\r
7011   {\r
7012     "id": "b797878.bae0cf8",\r
7013     "type": "block",\r
7014     "name": "block : atomic",\r
7015     "xml": "<block atomic='true'>",\r
7016     "atomic": "true",\r
7017     "comments": "",\r
7018     "outputs": 1,\r
7019     "x": 6043.883560180664,\r
7020     "y": 4221.16845703125,\r
7021     "z": "9718fe15.98603",\r
7022     "wires": [\r
7023       [\r
7024         "424fa95d.ed7fe",\r
7025         "75e1d3fe.929f74"\r
7026       ]\r
7027     ]\r
7028   },\r
7029   {\r
7030     "id": "424fa95d.ed7fe",\r
7031     "type": "save",\r
7032     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7033     "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 + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
7034     "comments": "",\r
7035     "outputs": 1,\r
7036     "x": 6336.883560180664,\r
7037     "y": 4199.168212890625,\r
7038     "z": "9718fe15.98603",\r
7039     "wires": [\r
7040       []\r
7041     ]\r
7042   },\r
7043   {\r
7044     "id": "75e1d3fe.929f74",\r
7045     "type": "save",\r
7046     "name": "update connectivity resource in AAI",\r
7047     "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
7048     "comments": "",\r
7049     "outputs": 1,\r
7050     "x": 6288.533462524414,\r
7051     "y": 4246.485107421875,\r
7052     "z": "9718fe15.98603",\r
7053     "wires": [\r
7054       []\r
7055     ]\r
7056   },\r
7057   {\r
7058     "id": "5dd8867f.439e3",\r
7059     "type": "comment",\r
7060     "name": "increase the bw of the-vpn-binding and change status to modified",\r
7061     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
7062     "comments": "",\r
7063     "x": 6361.883529663086,\r
7064     "y": 4148.167938232422,\r
7065     "z": "9718fe15.98603",\r
7066     "wires": []\r
7067   },\r
7068   {\r
7069     "id": "e250ecc5.35ab28",\r
7070     "type": "block",\r
7071     "name": "block : atomic",\r
7072     "xml": "<block atomic='true'>",\r
7073     "atomic": "true",\r
7074     "comments": "",\r
7075     "outputs": 1,\r
7076     "x": 6055.883560180664,\r
7077     "y": 4353.16845703125,\r
7078     "z": "9718fe15.98603",\r
7079     "wires": [\r
7080       [\r
7081         "417900a8.821de",\r
7082         "be5a71f5.125bd8"\r
7083       ]\r
7084     ]\r
7085   },\r
7086   {\r
7087     "id": "417900a8.821de",\r
7088     "type": "save",\r
7089     "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7090     "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 - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n\n",\r
7091     "comments": "",\r
7092     "outputs": 1,\r
7093     "x": 6348.883560180664,\r
7094     "y": 4331.168212890625,\r
7095     "z": "9718fe15.98603",\r
7096     "wires": [\r
7097       []\r
7098     ]\r
7099   },\r
7100   {\r
7101     "id": "be5a71f5.125bd8",\r
7102     "type": "save",\r
7103     "name": "update connectivity resource in AAI",\r
7104     "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
7105     "comments": "",\r
7106     "outputs": 1,\r
7107     "x": 6300.533462524414,\r
7108     "y": 4378.485107421875,\r
7109     "z": "9718fe15.98603",\r
7110     "wires": [\r
7111       []\r
7112     ]\r
7113   },\r
7114   {\r
7115     "id": "a603f2dd.a46cd8",\r
7116     "type": "comment",\r
7117     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
7118     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
7119     "comments": "",\r
7120     "x": 6372.883560180664,\r
7121     "y": 4292.168212890625,\r
7122     "z": "9718fe15.98603",\r
7123     "wires": []\r
7124   },\r
7125   {\r
7126     "id": "d9be22a0.00a98",\r
7127     "type": "switchNode",\r
7128     "name": "switch tmp.isBwIncreased",\r
7129     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
7130     "comments": "",\r
7131     "outputs": 1,\r
7132     "x": 5695.116470336914,\r
7133     "y": 4735.368896484375,\r
7134     "z": "9718fe15.98603",\r
7135     "wires": [\r
7136       [\r
7137         "c2b73899.5086",\r
7138         "f61c39ed.e925c8"\r
7139       ]\r
7140     ]\r
7141   },\r
7142   {\r
7143     "id": "c2b73899.5086",\r
7144     "type": "outcomeTrue",\r
7145     "name": "true",\r
7146     "xml": "<outcome value='true'>\n",\r
7147     "comments": "",\r
7148     "outputs": 1,\r
7149     "x": 5890.116470336914,\r
7150     "y": 4663.368896484375,\r
7151     "z": "9718fe15.98603",\r
7152     "wires": [\r
7153       [\r
7154         "d6c79c19.937aa"\r
7155       ]\r
7156     ]\r
7157   },\r
7158   {\r
7159     "id": "f61c39ed.e925c8",\r
7160     "type": "outcomeFalse",\r
7161     "name": "false",\r
7162     "xml": "<outcome value='false'>\n",\r
7163     "comments": "",\r
7164     "outputs": 1,\r
7165     "x": 5891.116470336914,\r
7166     "y": 4796.368896484375,\r
7167     "z": "9718fe15.98603",\r
7168     "wires": [\r
7169       [\r
7170         "4edaf13a.b4d9f"\r
7171       ]\r
7172     ]\r
7173   },\r
7174   {\r
7175     "id": "d6c79c19.937aa",\r
7176     "type": "block",\r
7177     "name": "block : atomic",\r
7178     "xml": "<block atomic='true'>",\r
7179     "atomic": "true",\r
7180     "comments": "",\r
7181     "outputs": 1,\r
7182     "x": 6035.116470336914,\r
7183     "y": 4663.369140625,\r
7184     "z": "9718fe15.98603",\r
7185     "wires": [\r
7186       [\r
7187         "d6b8ba93.8ff92",\r
7188         "f1f742e0.7a641"\r
7189       ]\r
7190     ]\r
7191   },\r
7192   {\r
7193     "id": "d6b8ba93.8ff92",\r
7194     "type": "save",\r
7195     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7196     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher + $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7197     "comments": "",\r
7198     "outputs": 1,\r
7199     "x": 6328.116470336914,\r
7200     "y": 4641.368896484375,\r
7201     "z": "9718fe15.98603",\r
7202     "wires": [\r
7203       []\r
7204     ]\r
7205   },\r
7206   {\r
7207     "id": "f1f742e0.7a641",\r
7208     "type": "save",\r
7209     "name": "update connectivity resource in AAI",\r
7210     "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
7211     "comments": "",\r
7212     "outputs": 1,\r
7213     "x": 6279.766372680664,\r
7214     "y": 4688.685791015625,\r
7215     "z": "9718fe15.98603",\r
7216     "wires": [\r
7217       []\r
7218     ]\r
7219   },\r
7220   {\r
7221     "id": "d36450e6.6d57c8",\r
7222     "type": "comment",\r
7223     "name": "increase the bw of the-vpn-binding and change status to modified",\r
7224     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
7225     "comments": "",\r
7226     "x": 6352.116470336914,\r
7227     "y": 4602.368896484375,\r
7228     "z": "9718fe15.98603",\r
7229     "wires": []\r
7230   },\r
7231   {\r
7232     "id": "4edaf13a.b4d9f",\r
7233     "type": "block",\r
7234     "name": "block : atomic",\r
7235     "xml": "<block atomic='true'>",\r
7236     "atomic": "true",\r
7237     "comments": "",\r
7238     "outputs": 1,\r
7239     "x": 6047.116470336914,\r
7240     "y": 4795.369140625,\r
7241     "z": "9718fe15.98603",\r
7242     "wires": [\r
7243       [\r
7244         "7a3b5a2.2e1f624",\r
7245         "1ba425ad.b54daa"\r
7246       ]\r
7247     ]\r
7248   },\r
7249   {\r
7250     "id": "7a3b5a2.2e1f624",\r
7251     "type": "save",\r
7252     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7253     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='vpn-binding' \n      key='vpn-binding.vpn-id = $tmp.aai.vpn-binding.vpn-id' >\n<parameter name='vpn-id' value='`$tmp.aai.vpn-binding.vpn-id`' />\n<parameter name='vpn-name' value='`$tmp.aai.vpn-binding.vpn-name`' />\n<parameter name='customer-vpn-id' value='`$newToBeUsedMaxtpn`' />\n<parameter name='route-distinguisher' value='`$tmp.aai.vpn-binding.route-distinguisher - $tmp.delta`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7254     "comments": "",\r
7255     "outputs": 1,\r
7256     "x": 6340.116470336914,\r
7257     "y": 4773.368896484375,\r
7258     "z": "9718fe15.98603",\r
7259     "wires": [\r
7260       []\r
7261     ]\r
7262   },\r
7263   {\r
7264     "id": "1ba425ad.b54daa",\r
7265     "type": "save",\r
7266     "name": "update connectivity resource in AAI",\r
7267     "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
7268     "comments": "",\r
7269     "outputs": 1,\r
7270     "x": 6291.766372680664,\r
7271     "y": 4820.685791015625,\r
7272     "z": "9718fe15.98603",\r
7273     "wires": [\r
7274       []\r
7275     ]\r
7276   },\r
7277   {\r
7278     "id": "22900b75.03f974",\r
7279     "type": "comment",\r
7280     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
7281     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
7282     "comments": "",\r
7283     "x": 6364.116470336914,\r
7284     "y": 4734.368896484375,\r
7285     "z": "9718fe15.98603",\r
7286     "wires": []\r
7287   },\r
7288   {\r
7289     "id": "ef554fdd.c7de28",\r
7290     "type": "comment",\r
7291     "name": "Update connectivity status to modified",\r
7292     "info": "",\r
7293     "comments": "",\r
7294     "x": 5102.966567993164,\r
7295     "y": 5475.569091796875,\r
7296     "z": "9718fe15.98603",\r
7297     "wires": []\r
7298   },\r
7299   {\r
7300     "id": "fa0dda8.0253328",\r
7301     "type": "save",\r
7302     "name": "update connectivity resource in AAI",\r
7303     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7304     "comments": "",\r
7305     "outputs": 1,\r
7306     "x": 5100.749771118164,\r
7307     "y": 5515.769287109375,\r
7308     "z": "9718fe15.98603",\r
7309     "wires": [\r
7310       []\r
7311     ]\r
7312   },\r
7313   {\r
7314     "id": "f06e1df.64a1e6",\r
7315     "type": "comment",\r
7316     "name": "Update connectivity status to modified",\r
7317     "info": "",\r
7318     "comments": "",\r
7319     "x": 4976.000015258789,\r
7320     "y": 5700.252197265625,\r
7321     "z": "9718fe15.98603",\r
7322     "wires": []\r
7323   },\r
7324   {\r
7325     "id": "ca1c65a6.dca85",\r
7326     "type": "save",\r
7327     "name": "update connectivity resource in AAI",\r
7328     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7329     "comments": "",\r
7330     "outputs": 1,\r
7331     "x": 4973.783218383789,\r
7332     "y": 5740.452392578125,\r
7333     "z": "9718fe15.98603",\r
7334     "wires": [\r
7335       []\r
7336     ]\r
7337   },\r
7338   {\r
7339     "id": "a99f468d.7b18e",\r
7340     "type": "call",\r
7341     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7342     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7343     "comments": "",\r
7344     "outputs": 1,\r
7345     "x": 5073.116470336914,\r
7346     "y": 6024.368896484375,\r
7347     "z": "9718fe15.98603",\r
7348     "wires": [\r
7349       []\r
7350     ]\r
7351   },\r
7352   {\r
7353     "id": "8488a4f2.44d84",\r
7354     "type": "switchNode",\r
7355     "name": "switch found-root-connectivity",\r
7356     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7357     "comments": "",\r
7358     "outputs": 1,\r
7359     "x": 4900.116470336914,\r
7360     "y": 6081.368896484375,\r
7361     "z": "9718fe15.98603",\r
7362     "wires": [\r
7363       [\r
7364         "7fa62708.b47fb8",\r
7365         "8128360f.d5f0f8"\r
7366       ]\r
7367     ]\r
7368   },\r
7369   {\r
7370     "id": "7fa62708.b47fb8",\r
7371     "type": "outcomeTrue",\r
7372     "name": "true",\r
7373     "xml": "<outcome value='true'>\n",\r
7374     "comments": "",\r
7375     "outputs": 1,\r
7376     "x": 5111.116470336914,\r
7377     "y": 6081.368896484375,\r
7378     "z": "9718fe15.98603",\r
7379     "wires": [\r
7380       [\r
7381         "7522288d.71e8f8"\r
7382       ]\r
7383     ]\r
7384   },\r
7385   {\r
7386     "id": "8128360f.d5f0f8",\r
7387     "type": "outcomeFalse",\r
7388     "name": "false",\r
7389     "xml": "<outcome value='false'>\n",\r
7390     "comments": "",\r
7391     "outputs": 1,\r
7392     "x": 5107.116470336914,\r
7393     "y": 6129.368896484375,\r
7394     "z": "9718fe15.98603",\r
7395     "wires": [\r
7396       [\r
7397         "fb9502dd.0e71b"\r
7398       ]\r
7399     ]\r
7400   },\r
7401   {\r
7402     "id": "7522288d.71e8f8",\r
7403     "type": "block",\r
7404     "name": "block : atomic",\r
7405     "xml": "<block atomic='true'>",\r
7406     "atomic": "true",\r
7407     "comments": "",\r
7408     "outputs": 1,\r
7409     "x": 5267.116470336914,\r
7410     "y": 6077.368896484375,\r
7411     "z": "9718fe15.98603",\r
7412     "wires": [\r
7413       [\r
7414         "9f8e58e7.89aac",\r
7415         "d14d9fb3.031c",\r
7416         "ade8b0f8.453b68"\r
7417       ]\r
7418     ]\r
7419   },\r
7420   {\r
7421     "id": "fb9502dd.0e71b",\r
7422     "type": "returnFailure",\r
7423     "name": "return failure",\r
7424     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7425     "comments": "",\r
7426     "x": 5255.116470336914,\r
7427     "y": 6124.368896484375,\r
7428     "z": "9718fe15.98603",\r
7429     "wires": []\r
7430   },\r
7431   {\r
7432     "id": "482690e8.af77d8",\r
7433     "type": "comment",\r
7434     "name": "Update connectivity status to modified",\r
7435     "info": "",\r
7436     "comments": "",\r
7437     "x": 5533.000259399414,\r
7438     "y": 6177.252197265625,\r
7439     "z": "9718fe15.98603",\r
7440     "wires": []\r
7441   },\r
7442   {\r
7443     "id": "ade8b0f8.453b68",\r
7444     "type": "save",\r
7445     "name": "update connectivity resource in AAI",\r
7446     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7447     "comments": "",\r
7448     "outputs": 1,\r
7449     "x": 5530.783462524414,\r
7450     "y": 6217.452392578125,\r
7451     "z": "9718fe15.98603",\r
7452     "wires": [\r
7453       []\r
7454     ]\r
7455   },\r
7456   {\r
7457     "id": "d14d9fb3.031c",\r
7458     "type": "save",\r
7459     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7460     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
7461     "comments": "",\r
7462     "outputs": 1,\r
7463     "x": 5650.116470336914,\r
7464     "y": 6129.368896484375,\r
7465     "z": "9718fe15.98603",\r
7466     "wires": [\r
7467       []\r
7468     ]\r
7469   },\r
7470   {\r
7471     "id": "9f8e58e7.89aac",\r
7472     "type": "set",\r
7473     "name": "set prop.connectivity-domainB-uuid",\r
7474     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.aai.ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
7475     "comments": "",\r
7476     "x": 5521.116470336914,\r
7477     "y": 6077.368896484375,\r
7478     "z": "9718fe15.98603",\r
7479     "wires": []\r
7480   },\r
7481   {\r
7482     "id": "b5ec42e6.8d4a38",\r
7483     "type": "comment",\r
7484     "name": "populate connectivity-B variable in the context map",\r
7485     "info": "",\r
7486     "comments": "",\r
7487     "x": 4962.116470336914,\r
7488     "y": 5982.368896484375,\r
7489     "z": "9718fe15.98603",\r
7490     "wires": []\r
7491   },\r
7492   {\r
7493     "id": "977f17a0.9f41a",\r
7494     "type": "block",\r
7495     "name": "block",\r
7496     "xml": "<block>\n",\r
7497     "atomic": "false",\r
7498     "comments": "",\r
7499     "outputs": 1,\r
7500     "x": 4609.449478149414,\r
7501     "y": 6069.368896484375,\r
7502     "z": "9718fe15.98603",\r
7503     "wires": [\r
7504       [\r
7505         "a99f468d.7b18e",\r
7506         "8488a4f2.44d84",\r
7507         "9cfb7864.e0e548",\r
7508         "98761b9f.ff6118"\r
7509       ]\r
7510     ]\r
7511   },\r
7512   {\r
7513     "id": "5d58f01d.864e08",\r
7514     "type": "save",\r
7515     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7516     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.the-connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
7517     "comments": "",\r
7518     "outputs": 1,\r
7519     "x": 4953.199966430664,\r
7520     "y": 6538.368896484375,\r
7521     "z": "9718fe15.98603",\r
7522     "wires": [\r
7523       []\r
7524     ]\r
7525   },\r
7526   {\r
7527     "id": "b7ab7670.8f5828",\r
7528     "type": "comment",\r
7529     "name": "TODO: BUG -- DONE",\r
7530     "info": "momkene connectivity haye vasati ke dummy hastand ham\nvpn-binding dashte bashand ke too in path involve hast pas\nbayad bw aan niz update shavad.",\r
7531     "comments": "",\r
7532     "x": 3658.567123413086,\r
7533     "y": 3815.085662841797,\r
7534     "z": "9718fe15.98603",\r
7535     "wires": []\r
7536   },\r
7537   {\r
7538     "id": "c7b27212.2f5b88",\r
7539     "type": "save",\r
7540     "name": "get all-vpn-bindings from aai",\r
7541     "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
7542     "comments": "",\r
7543     "outputs": 1,\r
7544     "x": 4411.100326538086,\r
7545     "y": 4089.202362060547,\r
7546     "z": "9718fe15.98603",\r
7547     "wires": [\r
7548       [\r
7549         "88440014.089508",\r
7550         "6850bc1b.9b439c",\r
7551         "ea9e63cb.45924"\r
7552       ]\r
7553     ]\r
7554   },\r
7555   {\r
7556     "id": "46e39fd1.0b23",\r
7557     "type": "comment",\r
7558     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
7559     "info": "",\r
7560     "comments": "",\r
7561     "x": 4519.100570678711,\r
7562     "y": 4045.202362060547,\r
7563     "z": "9718fe15.98603",\r
7564     "wires": []\r
7565   },\r
7566   {\r
7567     "id": "88440014.089508",\r
7568     "type": "success",\r
7569     "name": "success",\r
7570     "xml": "<outcome value='success'>\n",\r
7571     "comments": "",\r
7572     "outputs": 1,\r
7573     "x": 4616.100326538086,\r
7574     "y": 4086.202362060547,\r
7575     "z": "9718fe15.98603",\r
7576     "wires": [\r
7577       [\r
7578         "94bd21f9.ba5e08"\r
7579       ]\r
7580     ]\r
7581   },\r
7582   {\r
7583     "id": "6850bc1b.9b439c",\r
7584     "type": "not-found",\r
7585     "name": "not-found",\r
7586     "xml": "<outcome value='not-found'>\n",\r
7587     "comments": "",\r
7588     "outputs": 1,\r
7589     "x": 4599.591293334961,\r
7590     "y": 4147.776397705078,\r
7591     "z": "9718fe15.98603",\r
7592     "wires": [\r
7593       [\r
7594         "c061eff6.efec1"\r
7595       ]\r
7596     ]\r
7597   },\r
7598   {\r
7599     "id": "ea9e63cb.45924",\r
7600     "type": "failure",\r
7601     "name": "failure",\r
7602     "xml": "<outcome value='failure'>\n",\r
7603     "comments": "",\r
7604     "outputs": 1,\r
7605     "x": 4597.100326538086,\r
7606     "y": 4191.202362060547,\r
7607     "z": "9718fe15.98603",\r
7608     "wires": [\r
7609       [\r
7610         "302c462f.876b7a"\r
7611       ]\r
7612     ]\r
7613   },\r
7614   {\r
7615     "id": "94bd21f9.ba5e08",\r
7616     "type": "block",\r
7617     "name": "block : atomic",\r
7618     "xml": "<block atomic=\"true\">",\r
7619     "atomic": "true",\r
7620     "outputs": 1,\r
7621     "x": 4784.100570678711,\r
7622     "y": 4081.202362060547,\r
7623     "z": "9718fe15.98603",\r
7624     "wires": [\r
7625       [\r
7626         "72fd3d1f.5c9734"\r
7627       ]\r
7628     ]\r
7629   },\r
7630   {\r
7631     "id": "c061eff6.efec1",\r
7632     "type": "returnFailure",\r
7633     "name": "return failure",\r
7634     "xml": "<return 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
7635     "comments": "",\r
7636     "x": 4762.162704467773,\r
7637     "y": 4148.0621337890625,\r
7638     "z": "9718fe15.98603",\r
7639     "wires": []\r
7640   },\r
7641   {\r
7642     "id": "302c462f.876b7a",\r
7643     "type": "returnFailure",\r
7644     "name": "return failure",\r
7645     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7646     "comments": "",\r
7647     "x": 4764.100326538086,\r
7648     "y": 4190.202362060547,\r
7649     "z": "9718fe15.98603",\r
7650     "wires": []\r
7651   },\r
7652   {\r
7653     "id": "72fd3d1f.5c9734",\r
7654     "type": "for",\r
7655     "name": "for vpnidx in all-vpn-bindings",\r
7656     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
7657     "comments": "",\r
7658     "outputs": 1,\r
7659     "x": 5022.100570678711,\r
7660     "y": 4086.202362060547,\r
7661     "z": "9718fe15.98603",\r
7662     "wires": [\r
7663       [\r
7664         "e265f5c.115d288"\r
7665       ]\r
7666     ]\r
7667   },\r
7668   {\r
7669     "id": "e265f5c.115d288",\r
7670     "type": "block",\r
7671     "name": "block : atomic",\r
7672     "xml": "<block atomic='true'>",\r
7673     "atomic": "true",\r
7674     "comments": "",\r
7675     "outputs": 1,\r
7676     "x": 5256.100326538086,\r
7677     "y": 4093.202362060547,\r
7678     "z": "9718fe15.98603",\r
7679     "wires": [\r
7680       [\r
7681         "817a92f2.d780d"\r
7682       ]\r
7683     ]\r
7684   },\r
7685   {\r
7686     "id": "aaa5f9ec.d9ed6",\r
7687     "type": "set",\r
7688     "name": "unset tmp.aai.all-vpn-bindings",\r
7689     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
7690     "comments": "",\r
7691     "x": 4389.800033569336,\r
7692     "y": 4015.202362060547,\r
7693     "z": "9718fe15.98603",\r
7694     "wires": []\r
7695   },\r
7696   {\r
7697     "id": "4e4373ae.4e8254",\r
7698     "type": "for",\r
7699     "name": "for each relationship",\r
7700     "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
7701     "comments": "",\r
7702     "outputs": 1,\r
7703     "x": 5672.949935913086,\r
7704     "y": 4103.785369873047,\r
7705     "z": "9718fe15.98603",\r
7706     "wires": [\r
7707       [\r
7708         "8eac4849.2274f8"\r
7709       ]\r
7710     ]\r
7711   },\r
7712   {\r
7713     "id": "8eac4849.2274f8",\r
7714     "type": "switchNode",\r
7715     "name": "switch related-to",\r
7716     "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
7717     "comments": "",\r
7718     "outputs": 1,\r
7719     "x": 5864.949935913086,\r
7720     "y": 4092.785614013672,\r
7721     "z": "9718fe15.98603",\r
7722     "wires": [\r
7723       [\r
7724         "a232365.4dda248"\r
7725       ]\r
7726     ]\r
7727   },\r
7728   {\r
7729     "id": "a232365.4dda248",\r
7730     "type": "outcome",\r
7731     "name": "connectivity",\r
7732     "xml": "<outcome value='connectivity'>\n",\r
7733     "comments": "",\r
7734     "outputs": 1,\r
7735     "x": 6046.949935913086,\r
7736     "y": 4071.785614013672,\r
7737     "z": "9718fe15.98603",\r
7738     "wires": [\r
7739       [\r
7740         "992af4aa.8e2b6"\r
7741       ]\r
7742     ]\r
7743   },\r
7744   {\r
7745     "id": "992af4aa.8e2b6",\r
7746     "type": "block",\r
7747     "name": "block : atomic",\r
7748     "xml": "<block atomic=\"true\">",\r
7749     "atomic": "true",\r
7750     "outputs": 1,\r
7751     "x": 6208.949935913086,\r
7752     "y": 4060.785614013672,\r
7753     "z": "9718fe15.98603",\r
7754     "wires": [\r
7755       [\r
7756         "1e9c08fd.18a337",\r
7757         "74b54acc.d82234"\r
7758       ]\r
7759     ]\r
7760   },\r
7761   {\r
7762     "id": "1e9c08fd.18a337",\r
7763     "type": "set",\r
7764     "name": "unset tmp.the-connectivity",\r
7765     "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
7766     "comments": "",\r
7767     "x": 6405.949935913086,\r
7768     "y": 3989.785614013672,\r
7769     "z": "9718fe15.98603",\r
7770     "wires": []\r
7771   },\r
7772   {\r
7773     "id": "b0ee6567.2e3a8",\r
7774     "type": "block",\r
7775     "name": "block : atomic",\r
7776     "xml": "<block atomic='true'>",\r
7777     "atomic": "true",\r
7778     "comments": "",\r
7779     "outputs": 1,\r
7780     "x": 5579.900131225586,\r
7781     "y": 4218.785369873047,\r
7782     "z": "9718fe15.98603",\r
7783     "wires": [\r
7784       [\r
7785         "414056d.7db8ba8",\r
7786         "4e4373ae.4e8254",\r
7787         "1071a614.4e5e12",\r
7788         "8f9726f3.06c69"\r
7789       ]\r
7790     ]\r
7791   },\r
7792   {\r
7793     "id": "1071a614.4e5e12",\r
7794     "type": "set",\r
7795     "name": "unset tmp.aai.the-vpn-binding",\r
7796     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
7797     "comments": "",\r
7798     "x": 5711.466537475586,\r
7799     "y": 3994.002410888672,\r
7800     "z": "9718fe15.98603",\r
7801     "wires": []\r
7802   },\r
7803   {\r
7804     "id": "8f9726f3.06c69",\r
7805     "type": "set",\r
7806     "name": "set tmp.aai.the-vpn-binding",\r
7807     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
7808     "comments": "",\r
7809     "x": 5703.466537475586,\r
7810     "y": 4043.002410888672,\r
7811     "z": "9718fe15.98603",\r
7812     "wires": []\r
7813   },\r
7814   {\r
7815     "id": "74b54acc.d82234",\r
7816     "type": "set",\r
7817     "name": "set tmp.the-connectivity.connectivity-id",\r
7818     "xml": "<set>\n<parameter name='tmp.the-connectivity.connectivity-id' value='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].relationship-data[0].relationship-value`' />\n",\r
7819     "comments": "",\r
7820     "x": 6411.416732788086,\r
7821     "y": 4099.002410888672,\r
7822     "z": "9718fe15.98603",\r
7823     "wires": []\r
7824   },\r
7825   {\r
7826     "id": "7fff9c38.345784",\r
7827     "type": "set",\r
7828     "name": "set vpnNameToSearch",\r
7829     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
7830     "comments": "",\r
7831     "x": 5704.683334350586,\r
7832     "y": 3817.202362060547,\r
7833     "z": "9718fe15.98603",\r
7834     "wires": []\r
7835   },\r
7836   {\r
7837     "id": "aaa5e7eb.47b75",\r
7838     "type": "call",\r
7839     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
7840     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
7841     "comments": "",\r
7842     "outputs": 1,\r
7843     "x": 5858.683334350586,\r
7844     "y": 3869.202362060547,\r
7845     "z": "9718fe15.98603",\r
7846     "wires": [\r
7847       []\r
7848     ]\r
7849   },\r
7850   {\r
7851     "id": "bef4e32d.a8f0f",\r
7852     "type": "block",\r
7853     "name": "block : atomic",\r
7854     "xml": "<block atomic='true'>",\r
7855     "atomic": "true",\r
7856     "comments": "",\r
7857     "outputs": 1,\r
7858     "x": 5449.683334350586,\r
7859     "y": 3936.202362060547,\r
7860     "z": "9718fe15.98603",\r
7861     "wires": [\r
7862       [\r
7863         "aaa5e7eb.47b75",\r
7864         "1d5352b7.2fb14d",\r
7865         "7fff9c38.345784"\r
7866       ]\r
7867     ]\r
7868   },\r
7869   {\r
7870     "id": "1d5352b7.2fb14d",\r
7871     "type": "switchNode",\r
7872     "name": "switch $foundVpnName",\r
7873     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
7874     "comments": "",\r
7875     "outputs": 1,\r
7876     "x": 5703.683334350586,\r
7877     "y": 3924.202362060547,\r
7878     "z": "9718fe15.98603",\r
7879     "wires": [\r
7880       [\r
7881         "894732f.a692a5"\r
7882       ]\r
7883     ]\r
7884   },\r
7885   {\r
7886     "id": "894732f.a692a5",\r
7887     "type": "outcomeTrue",\r
7888     "name": "true",\r
7889     "xml": "<outcome value='true'>\n",\r
7890     "comments": "",\r
7891     "outputs": 1,\r
7892     "x": 5882.683334350586,\r
7893     "y": 3923.202362060547,\r
7894     "z": "9718fe15.98603",\r
7895     "wires": [\r
7896       [\r
7897         "b0ee6567.2e3a8"\r
7898       ]\r
7899     ]\r
7900   },\r
7901   {\r
7902     "id": "81398bf4.473028",\r
7903     "type": "block",\r
7904     "name": "block : atomic",\r
7905     "xml": "<block atomic='true'>",\r
7906     "atomic": "true",\r
7907     "comments": "",\r
7908     "outputs": 1,\r
7909     "x": 4580.683334350586,\r
7910     "y": 7441.202362060547,\r
7911     "z": "9718fe15.98603",\r
7912     "wires": [\r
7913       [\r
7914         "6a1836f0.9e7b08",\r
7915         "edfac497.39017",\r
7916         "e285b49b.2789f8"\r
7917       ]\r
7918     ]\r
7919   },\r
7920   {\r
7921     "id": "e285b49b.2789f8",\r
7922     "type": "set",\r
7923     "name": "set vpnNameToSearch",\r
7924     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
7925     "comments": "",\r
7926     "x": 4803.683334350586,\r
7927     "y": 7385.202362060547,\r
7928     "z": "9718fe15.98603",\r
7929     "wires": []\r
7930   },\r
7931   {\r
7932     "id": "6a1836f0.9e7b08",\r
7933     "type": "call",\r
7934     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
7935     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
7936     "comments": "",\r
7937     "outputs": 1,\r
7938     "x": 4982.683334350586,\r
7939     "y": 7428.202362060547,\r
7940     "z": "9718fe15.98603",\r
7941     "wires": [\r
7942       []\r
7943     ]\r
7944   },\r
7945   {\r
7946     "id": "edfac497.39017",\r
7947     "type": "switchNode",\r
7948     "name": "switch $foundVpnName",\r
7949     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
7950     "comments": "",\r
7951     "outputs": 1,\r
7952     "x": 4827.683334350586,\r
7953     "y": 7483.202362060547,\r
7954     "z": "9718fe15.98603",\r
7955     "wires": [\r
7956       [\r
7957         "d5b486b.df173f8"\r
7958       ]\r
7959     ]\r
7960   },\r
7961   {\r
7962     "id": "d5b486b.df173f8",\r
7963     "type": "outcomeTrue",\r
7964     "name": "true",\r
7965     "xml": "<outcome value='true'>\n",\r
7966     "comments": "",\r
7967     "outputs": 1,\r
7968     "x": 5006.683334350586,\r
7969     "y": 7482.202362060547,\r
7970     "z": "9718fe15.98603",\r
7971     "wires": [\r
7972       [\r
7973         "7de65a32.2588c4"\r
7974       ]\r
7975     ]\r
7976   },\r
7977   {\r
7978     "id": "ecfaffd6.100b2",\r
7979     "type": "set",\r
7980     "name": "unset tmp.aai.all-vpn-bindings",\r
7981     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
7982     "comments": "",\r
7983     "x": 4737.683334350586,\r
7984     "y": 7121.202362060547,\r
7985     "z": "9718fe15.98603",\r
7986     "wires": []\r
7987   },\r
7988   {\r
7989     "id": "4b552ff.dab62d",\r
7990     "type": "set",\r
7991     "name": "unset secondary related variables",\r
7992     "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
7993     "comments": "",\r
7994     "x": 3303.2999420166016,\r
7995     "y": 515.65234375,\r
7996     "z": "9718fe15.98603",\r
7997     "wires": []\r
7998   },\r
7999   {\r
8000     "id": "3dcf3da2.14e88a",\r
8001     "type": "outcome",\r
8002     "name": "SECONDARY-ROOT",\r
8003     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
8004     "comments": "",\r
8005     "outputs": 1,\r
8006     "x": 4078.399429321289,\r
8007     "y": 576.65234375,\r
8008     "z": "9718fe15.98603",\r
8009     "wires": [\r
8010       [\r
8011         "bfde7d38.fed19"\r
8012       ]\r
8013     ]\r
8014   },\r
8015   {\r
8016     "id": "bfde7d38.fed19",\r
8017     "type": "block",\r
8018     "name": "block",\r
8019     "xml": "<block>\n",\r
8020     "atomic": "false",\r
8021     "comments": "",\r
8022     "outputs": 1,\r
8023     "x": 4247.399429321289,\r
8024     "y": 573.65234375,\r
8025     "z": "9718fe15.98603",\r
8026     "wires": [\r
8027       [\r
8028         "30447223.2437ce",\r
8029         "12dff897.0ce0bf"\r
8030       ]\r
8031     ]\r
8032   },\r
8033   {\r
8034     "id": "30447223.2437ce",\r
8035     "type": "set",\r
8036     "name": "set network-route-SECONDARY-ROOT",\r
8037     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
8038     "comments": "",\r
8039     "x": 4471.399429321289,\r
8040     "y": 606.65234375,\r
8041     "z": "9718fe15.98603",\r
8042     "wires": []\r
8043   },\r
8044   {\r
8045     "id": "12dff897.0ce0bf",\r
8046     "type": "set",\r
8047     "name": "set network-route-C",\r
8048     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
8049     "comments": "",\r
8050     "x": 4417.399429321289,\r
8051     "y": 646.65234375,\r
8052     "z": "9718fe15.98603",\r
8053     "wires": []\r
8054   },\r
8055   {\r
8056     "id": "f46ebe04.450d9",\r
8057     "type": "outcome",\r
8058     "name": "SECONDARY-ROOT",\r
8059     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
8060     "comments": "",\r
8061     "outputs": 1,\r
8062     "x": 4043.399917602539,\r
8063     "y": 775.8523559570312,\r
8064     "z": "9718fe15.98603",\r
8065     "wires": [\r
8066       [\r
8067         "3c9b9865.e5691"\r
8068       ]\r
8069     ]\r
8070   },\r
8071   {\r
8072     "id": "3c9b9865.e5691",\r
8073     "type": "block",\r
8074     "name": "block",\r
8075     "xml": "<block>\n",\r
8076     "atomic": "false",\r
8077     "comments": "",\r
8078     "outputs": 1,\r
8079     "x": 4208.399185180664,\r
8080     "y": 780.8523559570312,\r
8081     "z": "9718fe15.98603",\r
8082     "wires": [\r
8083       [\r
8084         "4bcd87c1.d1b",\r
8085         "63ed5150.d5d24"\r
8086       ]\r
8087     ]\r
8088   },\r
8089   {\r
8090     "id": "4bcd87c1.d1b",\r
8091     "type": "set",\r
8092     "name": "set network-route-SECONDARY-ROOT",\r
8093     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8094     "comments": "",\r
8095     "x": 4455.399429321289,\r
8096     "y": 862.8523559570312,\r
8097     "z": "9718fe15.98603",\r
8098     "wires": []\r
8099   },\r
8100   {\r
8101     "id": "63ed5150.d5d24",\r
8102     "type": "set",\r
8103     "name": "set network-route-C",\r
8104     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8105     "comments": "",\r
8106     "x": 4401.399429321289,\r
8107     "y": 902.8523559570312,\r
8108     "z": "9718fe15.98603",\r
8109     "wires": []\r
8110   },\r
8111   {\r
8112     "id": "76a3b118.862498",\r
8113     "type": "save",\r
8114     "name": "get network-route-three from aai",\r
8115     "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
8116     "comments": "",\r
8117     "outputs": 1,\r
8118     "x": 3286.399917602539,\r
8119     "y": 914.8523559570312,\r
8120     "z": "9718fe15.98603",\r
8121     "wires": [\r
8122       [\r
8123         "7adb4c8f.c682bc",\r
8124         "7eb8fd1a.3f3194",\r
8125         "b860a47d.f11fd8"\r
8126       ]\r
8127     ]\r
8128   },\r
8129   {\r
8130     "id": "7adb4c8f.c682bc",\r
8131     "type": "not-found",\r
8132     "name": "not-found",\r
8133     "xml": "<outcome value='not-found'>\n",\r
8134     "comments": "",\r
8135     "outputs": 1,\r
8136     "x": 3528.399917602539,\r
8137     "y": 907.8523559570312,\r
8138     "z": "9718fe15.98603",\r
8139     "wires": [\r
8140       []\r
8141     ]\r
8142   },\r
8143   {\r
8144     "id": "7eb8fd1a.3f3194",\r
8145     "type": "failure",\r
8146     "name": "failure",\r
8147     "xml": "<outcome value='failure'>\n",\r
8148     "comments": "",\r
8149     "outputs": 1,\r
8150     "x": 3523.908981323242,\r
8151     "y": 950.2784118652344,\r
8152     "z": "9718fe15.98603",\r
8153     "wires": [\r
8154       []\r
8155     ]\r
8156   },\r
8157   {\r
8158     "id": "b860a47d.f11fd8",\r
8159     "type": "success",\r
8160     "name": "success",\r
8161     "xml": "<outcome value='success'>\n",\r
8162     "comments": "",\r
8163     "outputs": 1,\r
8164     "x": 3527.908950805664,\r
8165     "y": 998.2783813476562,\r
8166     "z": "9718fe15.98603",\r
8167     "wires": [\r
8168       [\r
8169         "a6ff06d4.331218"\r
8170       ]\r
8171     ]\r
8172   },\r
8173   {\r
8174     "id": "a6ff06d4.331218",\r
8175     "type": "block",\r
8176     "name": "block : atomic",\r
8177     "xml": "<block atomic=\"true\">",\r
8178     "atomic": "true",\r
8179     "outputs": 1,\r
8180     "x": 3689.399917602539,\r
8181     "y": 938.8523559570312,\r
8182     "z": "9718fe15.98603",\r
8183     "wires": [\r
8184       [\r
8185         "32bc585c.c7728"\r
8186       ]\r
8187     ]\r
8188   },\r
8189   {\r
8190     "id": "32bc585c.c7728",\r
8191     "type": "switchNode",\r
8192     "name": "switch nr type",\r
8193     "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
8194     "comments": "",\r
8195     "outputs": 1,\r
8196     "x": 3860.399917602539,\r
8197     "y": 938.8525390625,\r
8198     "z": "9718fe15.98603",\r
8199     "wires": [\r
8200       [\r
8201         "e312a504.c3346",\r
8202         "450f492a.7498d8",\r
8203         "e7c48999.96bb5"\r
8204       ]\r
8205     ]\r
8206   },\r
8207   {\r
8208     "id": "e312a504.c3346",\r
8209     "type": "outcome",\r
8210     "name": "ROOT",\r
8211     "xml": "<outcome value='ROOT'>\n",\r
8212     "comments": "",\r
8213     "outputs": 1,\r
8214     "x": 4027.399673461914,\r
8215     "y": 848.8524780273438,\r
8216     "z": "9718fe15.98603",\r
8217     "wires": [\r
8218       [\r
8219         "e34d64db.7a9328"\r
8220       ]\r
8221     ]\r
8222   },\r
8223   {\r
8224     "id": "450f492a.7498d8",\r
8225     "type": "outcome",\r
8226     "name": "LEAF",\r
8227     "xml": "<outcome value='LEAF'>\n",\r
8228     "comments": "",\r
8229     "outputs": 1,\r
8230     "x": 4029.399673461914,\r
8231     "y": 902.8524780273438,\r
8232     "z": "9718fe15.98603",\r
8233     "wires": [\r
8234       [\r
8235         "f1b929a4.9c9ce"\r
8236       ]\r
8237     ]\r
8238   },\r
8239   {\r
8240     "id": "e34d64db.7a9328",\r
8241     "type": "block",\r
8242     "name": "block",\r
8243     "xml": "<block>\n",\r
8244     "atomic": "false",\r
8245     "comments": "",\r
8246     "outputs": 1,\r
8247     "x": 4155.399673461914,\r
8248     "y": 848.8524780273438,\r
8249     "z": "9718fe15.98603",\r
8250     "wires": [\r
8251       [\r
8252         "d0297dd0.c50e68",\r
8253         "9996be1d.2ba6f"\r
8254       ]\r
8255     ]\r
8256   },\r
8257   {\r
8258     "id": "f1b929a4.9c9ce",\r
8259     "type": "block",\r
8260     "name": "block",\r
8261     "xml": "<block>\n",\r
8262     "atomic": "false",\r
8263     "comments": "",\r
8264     "outputs": 1,\r
8265     "x": 4158.399673461914,\r
8266     "y": 901.8524780273438,\r
8267     "z": "9718fe15.98603",\r
8268     "wires": [\r
8269       [\r
8270         "55ecdb35.0e00cc",\r
8271         "c088cd20.720bd8"\r
8272       ]\r
8273     ]\r
8274   },\r
8275   {\r
8276     "id": "9996be1d.2ba6f",\r
8277     "type": "set",\r
8278     "name": "set network-route-B",\r
8279     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8280     "comments": "",\r
8281     "x": 4401.399429321289,\r
8282     "y": 987.8524780273438,\r
8283     "z": "9718fe15.98603",\r
8284     "wires": []\r
8285   },\r
8286   {\r
8287     "id": "55ecdb35.0e00cc",\r
8288     "type": "set",\r
8289     "name": "set network-route-LEAF",\r
8290     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8291     "comments": "",\r
8292     "x": 4418.399429321289,\r
8293     "y": 1029.8524780273438,\r
8294     "z": "9718fe15.98603",\r
8295     "wires": []\r
8296   },\r
8297   {\r
8298     "id": "c088cd20.720bd8",\r
8299     "type": "set",\r
8300     "name": "set network-route-A",\r
8301     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8302     "comments": "",\r
8303     "x": 4403.399429321289,\r
8304     "y": 1067.8524780273438,\r
8305     "z": "9718fe15.98603",\r
8306     "wires": []\r
8307   },\r
8308   {\r
8309     "id": "d0297dd0.c50e68",\r
8310     "type": "set",\r
8311     "name": "set network-route-ROOT",\r
8312     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
8313     "comments": "",\r
8314     "x": 4415.399429321289,\r
8315     "y": 947.8524780273438,\r
8316     "z": "9718fe15.98603",\r
8317     "wires": []\r
8318   },\r
8319   {\r
8320     "id": "5eec7036.1519e8",\r
8321     "type": "comment",\r
8322     "name": "This is it (should be)",\r
8323     "info": "",\r
8324     "comments": "",\r
8325     "x": 4580.399429321289,\r
8326     "y": 963.8524780273438,\r
8327     "z": "9718fe15.98603",\r
8328     "wires": []\r
8329   },\r
8330   {\r
8331     "id": "e7c48999.96bb5",\r
8332     "type": "outcome",\r
8333     "name": "SECONDARY-ROOT",\r
8334     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
8335     "comments": "",\r
8336     "outputs": 1,\r
8337     "x": 3968.399917602539,\r
8338     "y": 993.852294921875,\r
8339     "z": "9718fe15.98603",\r
8340     "wires": [\r
8341       [\r
8342         "6b81c811.85e0f8"\r
8343       ]\r
8344     ]\r
8345   },\r
8346   {\r
8347     "id": "6b81c811.85e0f8",\r
8348     "type": "block",\r
8349     "name": "block",\r
8350     "xml": "<block>\n",\r
8351     "atomic": "false",\r
8352     "comments": "",\r
8353     "outputs": 1,\r
8354     "x": 4142.399917602539,\r
8355     "y": 988.852294921875,\r
8356     "z": "9718fe15.98603",\r
8357     "wires": [\r
8358       [\r
8359         "2495f2a4.688896",\r
8360         "9470a6af.62de2"\r
8361       ]\r
8362     ]\r
8363   },\r
8364   {\r
8365     "id": "9470a6af.62de2",\r
8366     "type": "set",\r
8367     "name": "set network-route-C",\r
8368     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
8369     "comments": "",\r
8370     "x": 4375.399429321289,\r
8371     "y": 1157.8522338867188,\r
8372     "z": "9718fe15.98603",\r
8373     "wires": []\r
8374   },\r
8375   {\r
8376     "id": "2495f2a4.688896",\r
8377     "type": "set",\r
8378     "name": "set network-route-SECONDARY-ROOT",\r
8379     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
8380     "comments": "",\r
8381     "x": 4429.399429321289,\r
8382     "y": 1117.8522338867188,\r
8383     "z": "9718fe15.98603",\r
8384     "wires": []\r
8385   },\r
8386   {\r
8387     "id": "b6c93789.479408",\r
8388     "type": "comment",\r
8389     "name": "This is it (should be)",\r
8390     "info": "",\r
8391     "comments": "",\r
8392     "x": 4543.399429321289,\r
8393     "y": 1142.8522338867188,\r
8394     "z": "9718fe15.98603",\r
8395     "wires": []\r
8396   },\r
8397   {\r
8398     "id": "c1d74161.be2c8",\r
8399     "type": "block",\r
8400     "name": "block : atomic",\r
8401     "xml": "<block atomic=\"true\">",\r
8402     "atomic": "true",\r
8403     "outputs": 1,\r
8404     "x": 3544.066665649414,\r
8405     "y": 2223.085693359375,\r
8406     "z": "9718fe15.98603",\r
8407     "wires": [\r
8408       [\r
8409         "855df0cd.9bb95",\r
8410         "434e1396.d595c4"\r
8411       ]\r
8412     ]\r
8413   },\r
8414   {\r
8415     "id": "d130bfb5.a4da88",\r
8416     "type": "success",\r
8417     "name": "success",\r
8418     "xml": "<outcome value='success'>\n",\r
8419     "comments": "",\r
8420     "outputs": 1,\r
8421     "x": 3371.400161743164,\r
8422     "y": 2224.085693359375,\r
8423     "z": "9718fe15.98603",\r
8424     "wires": [\r
8425       [\r
8426         "c1d74161.be2c8"\r
8427       ]\r
8428     ]\r
8429   },\r
8430   {\r
8431     "id": "bba37dac.291368",\r
8432     "type": "not-found",\r
8433     "name": "not-found",\r
8434     "xml": "<outcome value='not-found'>\n",\r
8435     "comments": "",\r
8436     "outputs": 1,\r
8437     "x": 3380.891128540039,\r
8438     "y": 2266.6597290039062,\r
8439     "z": "9718fe15.98603",\r
8440     "wires": [\r
8441       []\r
8442     ]\r
8443   },\r
8444   {\r
8445     "id": "730fab1.8beaed4",\r
8446     "type": "failure",\r
8447     "name": "failure",\r
8448     "xml": "<outcome value='failure'>\n",\r
8449     "comments": "",\r
8450     "outputs": 1,\r
8451     "x": 3369.400161743164,\r
8452     "y": 2313.085693359375,\r
8453     "z": "9718fe15.98603",\r
8454     "wires": [\r
8455       []\r
8456     ]\r
8457   },\r
8458   {\r
8459     "id": "855df0cd.9bb95",\r
8460     "type": "execute",\r
8461     "name": "execute split tp-id to get pnf-name",\r
8462     "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
8463     "comments": "",\r
8464     "outputs": 1,\r
8465     "x": 3830.400161743164,\r
8466     "y": 2227.0858154296875,\r
8467     "z": "9718fe15.98603",\r
8468     "wires": [\r
8469       [\r
8470         "55a8020a.690a64",\r
8471         "326effaf.bc448"\r
8472       ]\r
8473     ]\r
8474   },\r
8475   {\r
8476     "id": "326effaf.bc448",\r
8477     "type": "failure",\r
8478     "name": "success",\r
8479     "xml": "<outcome value='success'>\n",\r
8480     "comments": "",\r
8481     "outputs": 1,\r
8482     "x": 4053.400161743164,\r
8483     "y": 2182.0858154296875,\r
8484     "z": "9718fe15.98603",\r
8485     "wires": [\r
8486       [\r
8487         "ab5c47c3.fcb968"\r
8488       ]\r
8489     ]\r
8490   },\r
8491   {\r
8492     "id": "55a8020a.690a64",\r
8493     "type": "failure",\r
8494     "name": "failure",\r
8495     "xml": "<outcome value='failure'>\n",\r
8496     "comments": "",\r
8497     "outputs": 1,\r
8498     "x": 4055.400161743164,\r
8499     "y": 2246.0858154296875,\r
8500     "z": "9718fe15.98603",\r
8501     "wires": [\r
8502       [\r
8503         "af7cae04.ba78a"\r
8504       ]\r
8505     ]\r
8506   },\r
8507   {\r
8508     "id": "fbc065ad.333e38",\r
8509     "type": "save",\r
8510     "name": "get p-interface-dst from aai",\r
8511     "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
8512     "comments": "",\r
8513     "outputs": 1,\r
8514     "x": 3143.400161743164,\r
8515     "y": 2259.085693359375,\r
8516     "z": "9718fe15.98603",\r
8517     "wires": [\r
8518       [\r
8519         "d130bfb5.a4da88",\r
8520         "bba37dac.291368",\r
8521         "730fab1.8beaed4"\r
8522       ]\r
8523     ]\r
8524   },\r
8525   {\r
8526     "id": "a720f331.1ff0f",\r
8527     "type": "comment",\r
8528     "name": "Question?",\r
8529     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
8530     "comments": "",\r
8531     "x": 3104.400161743164,\r
8532     "y": 2203.085693359375,\r
8533     "z": "9718fe15.98603",\r
8534     "wires": []\r
8535   },\r
8536   {\r
8537     "id": "62eac021.71055",\r
8538     "type": "execute",\r
8539     "name": "execute split tp-id to get pnf-name",\r
8540     "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
8541     "comments": "",\r
8542     "outputs": 1,\r
8543     "x": 3163.400161743164,\r
8544     "y": 1999.085693359375,\r
8545     "z": "9718fe15.98603",\r
8546     "wires": [\r
8547       [\r
8548         "de7e4f57.82469",\r
8549         "33097b2f.e0f6dc"\r
8550       ]\r
8551     ]\r
8552   },\r
8553   {\r
8554     "id": "33097b2f.e0f6dc",\r
8555     "type": "failure",\r
8556     "name": "success",\r
8557     "xml": "<outcome value='success'>\n",\r
8558     "comments": "",\r
8559     "outputs": 1,\r
8560     "x": 3386.400161743164,\r
8561     "y": 1985.085693359375,\r
8562     "z": "9718fe15.98603",\r
8563     "wires": [\r
8564       [\r
8565         "55022710.99c7b"\r
8566       ]\r
8567     ]\r
8568   },\r
8569   {\r
8570     "id": "de7e4f57.82469",\r
8571     "type": "failure",\r
8572     "name": "failure",\r
8573     "xml": "<outcome value='failure'>\n",\r
8574     "comments": "",\r
8575     "outputs": 1,\r
8576     "x": 3388.400161743164,\r
8577     "y": 2018.085693359375,\r
8578     "z": "9718fe15.98603",\r
8579     "wires": [\r
8580       []\r
8581     ]\r
8582   },\r
8583   {\r
8584     "id": "55022710.99c7b",\r
8585     "type": "block",\r
8586     "name": "block : atomic",\r
8587     "xml": "<block atomic=\"true\">",\r
8588     "atomic": "true",\r
8589     "outputs": 1,\r
8590     "x": 3534.400161743164,\r
8591     "y": 1978.085693359375,\r
8592     "z": "9718fe15.98603",\r
8593     "wires": [\r
8594       [\r
8595         "225a6795.34ae6",\r
8596         "605cb253.51882c"\r
8597       ]\r
8598     ]\r
8599   },\r
8600   {\r
8601     "id": "225a6795.34ae6",\r
8602     "type": "set",\r
8603     "name": "set pnf-name",\r
8604     "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
8605     "comments": "",\r
8606     "x": 3728.400161743164,\r
8607     "y": 1981.0858154296875,\r
8608     "z": "9718fe15.98603",\r
8609     "wires": []\r
8610   },\r
8611   {\r
8612     "id": "434e1396.d595c4",\r
8613     "type": "for",\r
8614     "name": "for each relationship",\r
8615     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
8616     "comments": "",\r
8617     "outputs": 1,\r
8618     "x": 3781.400131225586,\r
8619     "y": 2350.085662841797,\r
8620     "z": "9718fe15.98603",\r
8621     "wires": [\r
8622       [\r
8623         "6aeddc31.02af0c"\r
8624       ]\r
8625     ]\r
8626   },\r
8627   {\r
8628     "id": "6aeddc31.02af0c",\r
8629     "type": "switchNode",\r
8630     "name": "switch related-to",\r
8631     "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
8632     "comments": "",\r
8633     "outputs": 1,\r
8634     "x": 3987.400131225586,\r
8635     "y": 2350.085662841797,\r
8636     "z": "9718fe15.98603",\r
8637     "wires": [\r
8638       [\r
8639         "1d98ffa3.9dac18"\r
8640       ]\r
8641     ]\r
8642   },\r
8643   {\r
8644     "id": "605cb253.51882c",\r
8645     "type": "get-resource",\r
8646     "name": "get-resource src pnf",\r
8647     "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
8648     "comments": "",\r
8649     "outputs": 1,\r
8650     "x": 3750.400161743164,\r
8651     "y": 2049.0858154296875,\r
8652     "z": "9718fe15.98603",\r
8653     "wires": [\r
8654       [\r
8655         "da783639.0ff76",\r
8656         "86ac0aff.5f3f28",\r
8657         "cebbe4ca.ee77e"\r
8658       ]\r
8659     ]\r
8660   },\r
8661   {\r
8662     "id": "da783639.0ff76",\r
8663     "type": "success",\r
8664     "name": "success",\r
8665     "xml": "<outcome value='success'>\n",\r
8666     "comments": "",\r
8667     "outputs": 1,\r
8668     "x": 3945.9002838134766,\r
8669     "y": 2001.0858154296875,\r
8670     "z": "9718fe15.98603",\r
8671     "wires": [\r
8672       [\r
8673         "812fa062.6dc7c"\r
8674       ]\r
8675     ]\r
8676   },\r
8677   {\r
8678     "id": "86ac0aff.5f3f28",\r
8679     "type": "not-found",\r
8680     "name": "not-found",\r
8681     "xml": "<outcome value='not-found'>\n",\r
8682     "comments": "",\r
8683     "outputs": 1,\r
8684     "x": 3937.9002838134766,\r
8685     "y": 2056.0858154296875,\r
8686     "z": "9718fe15.98603",\r
8687     "wires": [\r
8688       [\r
8689         "8d0439b3.358a8"\r
8690       ]\r
8691     ]\r
8692   },\r
8693   {\r
8694     "id": "cebbe4ca.ee77e",\r
8695     "type": "other",\r
8696     "name": "other",\r
8697     "xml": "<outcome value='Other'>\n",\r
8698     "comments": "",\r
8699     "outputs": 1,\r
8700     "x": 3942.9002838134766,\r
8701     "y": 2113.0858154296875,\r
8702     "z": "9718fe15.98603",\r
8703     "wires": [\r
8704       [\r
8705         "ca5c6f17.cf3a7"\r
8706       ]\r
8707     ]\r
8708   },\r
8709   {\r
8710     "id": "ca5c6f17.cf3a7",\r
8711     "type": "returnFailure",\r
8712     "name": "return failure",\r
8713     "xml": "<return 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
8714     "comments": "",\r
8715     "x": 4094.9002838134766,\r
8716     "y": 2114.0858154296875,\r
8717     "z": "9718fe15.98603",\r
8718     "wires": []\r
8719   },\r
8720   {\r
8721     "id": "812fa062.6dc7c",\r
8722     "type": "block",\r
8723     "name": "block",\r
8724     "xml": "<block>\n",\r
8725     "atomic": "false",\r
8726     "comments": "",\r
8727     "outputs": 1,\r
8728     "x": 4090.2826080322266,\r
8729     "y": 1998.7414855957031,\r
8730     "z": "9718fe15.98603",\r
8731     "wires": [\r
8732       [\r
8733         "ad74d99d.0df72"\r
8734       ]\r
8735     ]\r
8736   },\r
8737   {\r
8738     "id": "28bc0683.b68302",\r
8739     "type": "set",\r
8740     "name": "set SECONDARY-ROOT stuff",\r
8741     "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
8742     "comments": "",\r
8743     "x": 3166.066665649414,\r
8744     "y": 2338.085693359375,\r
8745     "z": "9718fe15.98603",\r
8746     "wires": []\r
8747   },\r
8748   {\r
8749     "id": "9656dd17.9b3ad",\r
8750     "type": "comment",\r
8751     "name": "NOT NEEDED ANYMORE?",\r
8752     "info": "",\r
8753     "comments": "",\r
8754     "x": 3841.066635131836,\r
8755     "y": 2302.085662841797,\r
8756     "z": "9718fe15.98603",\r
8757     "wires": []\r
8758   },\r
8759   {\r
8760     "id": "af7cae04.ba78a",\r
8761     "type": "returnFailure",\r
8762     "name": "return failure",\r
8763     "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
8764     "comments": "",\r
8765     "x": 4214.400161743164,\r
8766     "y": 2265.0858154296875,\r
8767     "z": "9718fe15.98603",\r
8768     "wires": []\r
8769   },\r
8770   {\r
8771     "id": "ab5c47c3.fcb968",\r
8772     "type": "block",\r
8773     "name": "block : atomic",\r
8774     "xml": "<block atomic=\"true\">",\r
8775     "atomic": "true",\r
8776     "outputs": 1,\r
8777     "x": 4218.400161743164,\r
8778     "y": 2179.0858154296875,\r
8779     "z": "9718fe15.98603",\r
8780     "wires": [\r
8781       [\r
8782         "9a6b61ac.f8e22",\r
8783         "26968708.bf0a2"\r
8784       ]\r
8785     ]\r
8786   },\r
8787   {\r
8788     "id": "1d98ffa3.9dac18",\r
8789     "type": "outcome",\r
8790     "name": "tunnel-termination-point",\r
8791     "xml": "<outcome value='tunnel-termination-point'>\n",\r
8792     "comments": "",\r
8793     "outputs": 1,\r
8794     "x": 4204.685775756836,\r
8795     "y": 2348.907440185547,\r
8796     "z": "9718fe15.98603",\r
8797     "wires": [\r
8798       [\r
8799         "e0a8c937.0da4d"\r
8800       ]\r
8801     ]\r
8802   },\r
8803   {\r
8804     "id": "8d0439b3.358a8",\r
8805     "type": "returnFailure",\r
8806     "name": "return failure",\r
8807     "xml": "<return 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
8808     "comments": "",\r
8809     "x": 4105.900283813477,\r
8810     "y": 2059.0858154296875,\r
8811     "z": "9718fe15.98603",\r
8812     "wires": []\r
8813   },\r
8814   {\r
8815     "id": "9a6b61ac.f8e22",\r
8816     "type": "set",\r
8817     "name": "set ltpId",\r
8818     "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
8819     "comments": "",\r
8820     "x": 4388.400161743164,\r
8821     "y": 2140.0858154296875,\r
8822     "z": "9718fe15.98603",\r
8823     "wires": []\r
8824   },\r
8825   {\r
8826     "id": "26968708.bf0a2",\r
8827     "type": "set",\r
8828     "name": "set pnf-name",\r
8829     "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
8830     "comments": "",\r
8831     "x": 4389.400161743164,\r
8832     "y": 2245.0858154296875,\r
8833     "z": "9718fe15.98603",\r
8834     "wires": []\r
8835   },\r
8836   {\r
8837     "id": "826c48fa.181fa",\r
8838     "type": "comment",\r
8839     "name": "TODO: FIXME",\r
8840     "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
8841     "comments": "",\r
8842     "x": 4384.400161743164,\r
8843     "y": 2194.0858154296875,\r
8844     "z": "9718fe15.98603",\r
8845     "wires": []\r
8846   },\r
8847   {\r
8848     "id": "e0a8c937.0da4d",\r
8849     "type": "block",\r
8850     "name": "block : atomic",\r
8851     "xml": "<block atomic=\"true\">",\r
8852     "atomic": "true",\r
8853     "outputs": 1,\r
8854     "x": 4411.517318725586,\r
8855     "y": 2338.4261169433594,\r
8856     "z": "9718fe15.98603",\r
8857     "wires": [\r
8858       [\r
8859         "e11a9a35.e1ef78",\r
8860         "a5abc378.a6c95",\r
8861         "e2067ae4.4ae0a8"\r
8862       ]\r
8863     ]\r
8864   },\r
8865   {\r
8866     "id": "e11a9a35.e1ef78",\r
8867     "type": "set",\r
8868     "name": "set destination ttp-id",\r
8869     "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
8870     "comments": "",\r
8871     "x": 4626.517318725586,\r
8872     "y": 2300.4261169433594,\r
8873     "z": "9718fe15.98603",\r
8874     "wires": []\r
8875   },\r
8876   {\r
8877     "id": "a5abc378.a6c95",\r
8878     "type": "get-resource",\r
8879     "name": "get-resource src TTP",\r
8880     "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
8881     "comments": "",\r
8882     "outputs": 1,\r
8883     "x": 4623.517318725586,\r
8884     "y": 2339.4261169433594,\r
8885     "z": "9718fe15.98603",\r
8886     "wires": [\r
8887       [\r
8888         "153d06ec.f14b19"\r
8889       ]\r
8890     ]\r
8891   },\r
8892   {\r
8893     "id": "e2067ae4.4ae0a8",\r
8894     "type": "break",\r
8895     "name": "break",\r
8896     "xml": "<break>\n",\r
8897     "comments": "",\r
8898     "x": 4579.017318725586,\r
8899     "y": 2381.4261169433594,\r
8900     "z": "9718fe15.98603",\r
8901     "wires": []\r
8902   },\r
8903   {\r
8904     "id": "ff2bf803.a9fa88",\r
8905     "type": "outcome",\r
8906     "name": "esr-thirdparty-sdnc",\r
8907     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
8908     "comments": "",\r
8909     "outputs": 1,\r
8910     "x": 4672.400161743164,\r
8911     "y": 2017.0858154296875,\r
8912     "z": "9718fe15.98603",\r
8913     "wires": [\r
8914       [\r
8915         "a1443a9c.9bc758"\r
8916       ]\r
8917     ]\r
8918   },\r
8919   {\r
8920     "id": "ad74d99d.0df72",\r
8921     "type": "for",\r
8922     "name": "for each relationship",\r
8923     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
8924     "comments": "",\r
8925     "outputs": 1,\r
8926     "x": 4274.400161743164,\r
8927     "y": 2013.0858154296875,\r
8928     "z": "9718fe15.98603",\r
8929     "wires": [\r
8930       [\r
8931         "aec2208e.63a7a"\r
8932       ]\r
8933     ]\r
8934   },\r
8935   {\r
8936     "id": "aec2208e.63a7a",\r
8937     "type": "switchNode",\r
8938     "name": "switch related-to",\r
8939     "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
8940     "comments": "",\r
8941     "outputs": 1,\r
8942     "x": 4469.400161743164,\r
8943     "y": 2013.0858154296875,\r
8944     "z": "9718fe15.98603",\r
8945     "wires": [\r
8946       [\r
8947         "ff2bf803.a9fa88",\r
8948         "8efacaf4.128aa8"\r
8949       ]\r
8950     ]\r
8951   },\r
8952   {\r
8953     "id": "8efacaf4.128aa8",\r
8954     "type": "outcome",\r
8955     "name": "network-resource",\r
8956     "xml": "<outcome value='network-resource'>",\r
8957     "comments": "",\r
8958     "outputs": 1,\r
8959     "x": 4674.400161743164,\r
8960     "y": 2090.0858154296875,\r
8961     "z": "9718fe15.98603",\r
8962     "wires": [\r
8963       [\r
8964         "2140dc16.b34c34"\r
8965       ]\r
8966     ]\r
8967   },\r
8968   {\r
8969     "id": "153d06ec.f14b19",\r
8970     "type": "success",\r
8971     "name": "success",\r
8972     "xml": "<outcome value='success'>\n",\r
8973     "comments": "",\r
8974     "outputs": 1,\r
8975     "x": 4804.017318725586,\r
8976     "y": 2338.4261169433594,\r
8977     "z": "9718fe15.98603",\r
8978     "wires": [\r
8979       [\r
8980         "dc9300dc.915278"\r
8981       ]\r
8982     ]\r
8983   },\r
8984   {\r
8985     "id": "dc9300dc.915278",\r
8986     "type": "block",\r
8987     "name": "block : atomic",\r
8988     "xml": "<block atomic=\"true\">",\r
8989     "atomic": "true",\r
8990     "outputs": 1,\r
8991     "x": 4962.017318725586,\r
8992     "y": 2338.4261169433594,\r
8993     "z": "9718fe15.98603",\r
8994     "wires": [\r
8995       [\r
8996         "1236d7b2.067398"\r
8997       ]\r
8998     ]\r
8999   },\r
9000   {\r
9001     "id": "1236d7b2.067398",\r
9002     "type": "set",\r
9003     "name": "set destination tunnel tp ip",\r
9004     "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
9005     "comments": "",\r
9006     "x": 5169.017318725586,\r
9007     "y": 2338.4261169433594,\r
9008     "z": "9718fe15.98603",\r
9009     "wires": []\r
9010   },\r
9011   {\r
9012     "id": "a1443a9c.9bc758",\r
9013     "type": "block",\r
9014     "name": "block : atomic",\r
9015     "xml": "<block atomic=\"true\">",\r
9016     "atomic": "true",\r
9017     "outputs": 1,\r
9018     "x": 4849.400161743164,\r
9019     "y": 2009.0858154296875,\r
9020     "z": "9718fe15.98603",\r
9021     "wires": [\r
9022       [\r
9023         "206cd74a.090e9",\r
9024         "743406a2.17f9a"\r
9025       ]\r
9026     ]\r
9027   },\r
9028   {\r
9029     "id": "743406a2.17f9a",\r
9030     "type": "execute",\r
9031     "name": "get esr-thirdparty-sdnc",\r
9032     "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
9033     "comments": "",\r
9034     "outputs": 1,\r
9035     "x": 5057.400161743164,\r
9036     "y": 2016.0858154296875,\r
9037     "z": "9718fe15.98603",\r
9038     "wires": [\r
9039       [\r
9040         "c6f1bea4.57dda",\r
9041         "1229be89.7bda19",\r
9042         "b62eac2a.e73c5"\r
9043       ]\r
9044     ]\r
9045   },\r
9046   {\r
9047     "id": "2140dc16.b34c34",\r
9048     "type": "block",\r
9049     "name": "block : atomic",\r
9050     "xml": "<block atomic=\"true\">",\r
9051     "atomic": "true",\r
9052     "outputs": 1,\r
9053     "x": 4851.400161743164,\r
9054     "y": 2082.0858154296875,\r
9055     "z": "9718fe15.98603",\r
9056     "wires": [\r
9057       [\r
9058         "348e5ae6.fa6196"\r
9059       ]\r
9060     ]\r
9061   },\r
9062   {\r
9063     "id": "206cd74a.090e9",\r
9064     "type": "set",\r
9065     "name": "set esr-thirdparty-sdnc domainC id",\r
9066     "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
9067     "comments": "",\r
9068     "x": 5087.400161743164,\r
9069     "y": 1964.0858154296875,\r
9070     "z": "9718fe15.98603",\r
9071     "wires": []\r
9072   },\r
9073   {\r
9074     "id": "348e5ae6.fa6196",\r
9075     "type": "set",\r
9076     "name": "set domainC ethernet layer network-id",\r
9077     "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
9078     "comments": "",\r
9079     "x": 5086.400161743164,\r
9080     "y": 2206.0858154296875,\r
9081     "z": "9718fe15.98603",\r
9082     "wires": []\r
9083   },\r
9084   {\r
9085     "id": "c6f1bea4.57dda",\r
9086     "type": "success",\r
9087     "name": "success",\r
9088     "xml": "<outcome value='success'>\n",\r
9089     "comments": "",\r
9090     "outputs": 1,\r
9091     "x": 5267.400161743164,\r
9092     "y": 2007.0858154296875,\r
9093     "z": "9718fe15.98603",\r
9094     "wires": [\r
9095       [\r
9096         "55a3e51f.c94c6c"\r
9097       ]\r
9098     ]\r
9099   },\r
9100   {\r
9101     "id": "1229be89.7bda19",\r
9102     "type": "not-found",\r
9103     "name": "not-found",\r
9104     "xml": "<outcome value='not-found'>\n",\r
9105     "comments": "",\r
9106     "outputs": 1,\r
9107     "x": 5259.400161743164,\r
9108     "y": 2062.0858154296875,\r
9109     "z": "9718fe15.98603",\r
9110     "wires": [\r
9111       [\r
9112         "dd96fb81.a1be5"\r
9113       ]\r
9114     ]\r
9115   },\r
9116   {\r
9117     "id": "b62eac2a.e73c5",\r
9118     "type": "other",\r
9119     "name": "other",\r
9120     "xml": "<outcome value='Other'>\n",\r
9121     "comments": "",\r
9122     "outputs": 1,\r
9123     "x": 5264.400161743164,\r
9124     "y": 2119.0858154296875,\r
9125     "z": "9718fe15.98603",\r
9126     "wires": [\r
9127       [\r
9128         "367deba0.342ae4"\r
9129       ]\r
9130     ]\r
9131   },\r
9132   {\r
9133     "id": "367deba0.342ae4",\r
9134     "type": "returnFailure",\r
9135     "name": "return failure",\r
9136     "xml": "<return 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
9137     "comments": "",\r
9138     "x": 5416.400161743164,\r
9139     "y": 2120.0858154296875,\r
9140     "z": "9718fe15.98603",\r
9141     "wires": []\r
9142   },\r
9143   {\r
9144     "id": "dd96fb81.a1be5",\r
9145     "type": "returnFailure",\r
9146     "name": "return failure",\r
9147     "xml": "<return 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
9148     "comments": "",\r
9149     "x": 5427.400161743164,\r
9150     "y": 2065.0858154296875,\r
9151     "z": "9718fe15.98603",\r
9152     "wires": []\r
9153   },\r
9154   {\r
9155     "id": "55a3e51f.c94c6c",\r
9156     "type": "block",\r
9157     "name": "block",\r
9158     "xml": "<block>\n",\r
9159     "atomic": "false",\r
9160     "comments": "",\r
9161     "outputs": 1,\r
9162     "x": 5411.782485961914,\r
9163     "y": 2004.7414855957031,\r
9164     "z": "9718fe15.98603",\r
9165     "wires": [\r
9166       [\r
9167         "37dd91fc.28526e"\r
9168       ]\r
9169     ]\r
9170   },\r
9171   {\r
9172     "id": "37dd91fc.28526e",\r
9173     "type": "set",\r
9174     "name": "set controller domainC data",\r
9175     "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
9176     "comments": "",\r
9177     "x": 5626.400161743164,\r
9178     "y": 2001.0858154296875,\r
9179     "z": "9718fe15.98603",\r
9180     "wires": []\r
9181   },\r
9182   {\r
9183     "id": "d0d8e8f0.a69bb8",\r
9184     "type": "comment",\r
9185     "name": "Create SECONDARY-ROOT UNI",\r
9186     "info": "",\r
9187     "comments": "",\r
9188     "x": 5655.900161743164,\r
9189     "y": 2123.852294921875,\r
9190     "z": "9718fe15.98603",\r
9191     "wires": []\r
9192   },\r
9193   {\r
9194     "id": "98d8658a.1dab08",\r
9195     "type": "switchNode",\r
9196     "name": "switch $hasSecondary",\r
9197     "xml": "<switch test='`$hasSecondary`'>\n",\r
9198     "comments": "",\r
9199     "outputs": 1,\r
9200     "x": 5628.016860961914,\r
9201     "y": 2172.968994140625,\r
9202     "z": "9718fe15.98603",\r
9203     "wires": [\r
9204       [\r
9205         "420f2345.5b5d34"\r
9206       ]\r
9207     ]\r
9208   },\r
9209   {\r
9210     "id": "420f2345.5b5d34",\r
9211     "type": "outcomeTrue",\r
9212     "name": "true",\r
9213     "xml": "<outcome value='true'>\n",\r
9214     "comments": "",\r
9215     "outputs": 1,\r
9216     "x": 5819.016860961914,\r
9217     "y": 2176.968994140625,\r
9218     "z": "9718fe15.98603",\r
9219     "wires": [\r
9220       [\r
9221         "661df626.a6b8e8"\r
9222       ]\r
9223     ]\r
9224   },\r
9225   {\r
9226     "id": "661df626.a6b8e8",\r
9227     "type": "block",\r
9228     "name": "block",\r
9229     "xml": "<block>\n",\r
9230     "atomic": "false",\r
9231     "comments": "",\r
9232     "outputs": 1,\r
9233     "x": 5946.016860961914,\r
9234     "y": 2175.968994140625,\r
9235     "z": "9718fe15.98603",\r
9236     "wires": [\r
9237       [\r
9238         "329453e7.3a09dc",\r
9239         "8b47742b.726f38"\r
9240       ]\r
9241     ]\r
9242   },\r
9243   {\r
9244     "id": "8b47742b.726f38",\r
9245     "type": "save",\r
9246     "name": "save SECONDARY-ROOT UNI in AAI",\r
9247     "xml": "<save 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='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n<parameter name='data-owner' value='`$tmp.aai.service-instance.service-instance-id`' />\n",\r
9248     "comments": "",\r
9249     "outputs": 1,\r
9250     "x": 6168.016860961914,\r
9251     "y": 2064.968994140625,\r
9252     "z": "9718fe15.98603",\r
9253     "wires": [\r
9254       []\r
9255     ]\r
9256   },\r
9257   {\r
9258     "id": "329453e7.3a09dc",\r
9259     "type": "switchNode",\r
9260     "name": "switch 2-ROOTS in same domain?",\r
9261     "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
9262     "comments": "",\r
9263     "outputs": 1,\r
9264     "x": 6163.900161743164,\r
9265     "y": 2123.852294921875,\r
9266     "z": "9718fe15.98603",\r
9267     "wires": [\r
9268       [\r
9269         "7670a585.4e8fa4",\r
9270         "7f78162d.05f38"\r
9271       ]\r
9272     ]\r
9273   },\r
9274   {\r
9275     "id": "7670a585.4e8fa4",\r
9276     "type": "outcomeTrue",\r
9277     "name": "true",\r
9278     "xml": "<outcome value='true'>\n",\r
9279     "comments": "",\r
9280     "outputs": 1,\r
9281     "x": 6373.900161743164,\r
9282     "y": 2100.852294921875,\r
9283     "z": "9718fe15.98603",\r
9284     "wires": [\r
9285       [\r
9286         "36156797.814718"\r
9287       ]\r
9288     ]\r
9289   },\r
9290   {\r
9291     "id": "36156797.814718",\r
9292     "type": "block",\r
9293     "name": "block",\r
9294     "xml": "<block>\n",\r
9295     "atomic": "false",\r
9296     "comments": "",\r
9297     "outputs": 1,\r
9298     "x": 6499.900161743164,\r
9299     "y": 2100.852294921875,\r
9300     "z": "9718fe15.98603",\r
9301     "wires": [\r
9302       [\r
9303         "c10b0555.a1cbe"\r
9304       ]\r
9305     ]\r
9306   },\r
9307   {\r
9308     "id": "802f927b.0dcdb",\r
9309     "type": "block",\r
9310     "name": "block",\r
9311     "xml": "<block>\n",\r
9312     "atomic": "false",\r
9313     "comments": "",\r
9314     "outputs": 1,\r
9315     "x": 6504.900161743164,\r
9316     "y": 2149.852294921875,\r
9317     "z": "9718fe15.98603",\r
9318     "wires": [\r
9319       [\r
9320         "2a6e1393.0f0b94",\r
9321         "ec798eb.b40ea7",\r
9322         "21b7fb79.312cdc",\r
9323         "b8684fe1.88dea8"\r
9324       ]\r
9325     ]\r
9326   },\r
9327   {\r
9328     "id": "7f78162d.05f38",\r
9329     "type": "outcomeTrue",\r
9330     "name": "false",\r
9331     "xml": "<outcome value='false'>\n",\r
9332     "comments": "",\r
9333     "outputs": 1,\r
9334     "x": 6378.900161743164,\r
9335     "y": 2149.852294921875,\r
9336     "z": "9718fe15.98603",\r
9337     "wires": [\r
9338       [\r
9339         "802f927b.0dcdb"\r
9340       ]\r
9341     ]\r
9342   },\r
9343   {\r
9344     "id": "c10b0555.a1cbe",\r
9345     "type": "save",\r
9346     "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
9347     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
9348     "comments": "",\r
9349     "outputs": 1,\r
9350     "x": 6827.900161743164,\r
9351     "y": 2097.852294921875,\r
9352     "z": "9718fe15.98603",\r
9353     "wires": [\r
9354       []\r
9355     ]\r
9356   },\r
9357   {\r
9358     "id": "2a6e1393.0f0b94",\r
9359     "type": "execute",\r
9360     "name": "execute UUID generator for connectivity domainC",\r
9361     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
9362     "comments": "",\r
9363     "outputs": 1,\r
9364     "x": 6780.900161743164,\r
9365     "y": 2188.852294921875,\r
9366     "z": "9718fe15.98603",\r
9367     "wires": [\r
9368       []\r
9369     ]\r
9370   },\r
9371   {\r
9372     "id": "ec798eb.b40ea7",\r
9373     "type": "save",\r
9374     "name": "save connectivity resource in AAI",\r
9375     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<!--<parameter name='model-customization-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-customization-uuid`' />-->\n<!--<parameter name='model-invariant-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-invariant-uuid`' />-->\n<!--<parameter name='model-version-id' value='`$vnf-topology-operation-input.service-information.onap-model-information.model-uuid`' />-->\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
9376     "comments": "",\r
9377     "outputs": 1,\r
9378     "x": 6728.900161743164,\r
9379     "y": 2230.852294921875,\r
9380     "z": "9718fe15.98603",\r
9381     "wires": [\r
9382       []\r
9383     ]\r
9384   },\r
9385   {\r
9386     "id": "21b7fb79.312cdc",\r
9387     "type": "save",\r
9388     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
9389     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
9390     "comments": "",\r
9391     "outputs": 1,\r
9392     "x": 6857.900161743164,\r
9393     "y": 2272.852294921875,\r
9394     "z": "9718fe15.98603",\r
9395     "wires": [\r
9396       []\r
9397     ]\r
9398   },\r
9399   {\r
9400     "id": "9b3b3d66.43cb88",\r
9401     "type": "comment",\r
9402     "name": "Create SECONDARY-ROOT connectivity",\r
9403     "info": "",\r
9404     "comments": "",\r
9405     "x": 6743.900161743164,\r
9406     "y": 2145.852294921875,\r
9407     "z": "9718fe15.98603",\r
9408     "wires": []\r
9409   },\r
9410   {\r
9411     "id": "b8684fe1.88dea8",\r
9412     "type": "save",\r
9413     "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
9414     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
9415     "comments": "",\r
9416     "outputs": 1,\r
9417     "x": 6835.900161743164,\r
9418     "y": 2320.852294921875,\r
9419     "z": "9718fe15.98603",\r
9420     "wires": [\r
9421       []\r
9422     ]\r
9423   },\r
9424   {\r
9425     "id": "d8f4cd5c.153e9",\r
9426     "type": "switchNode",\r
9427     "name": "switch $hasSecondary",\r
9428     "xml": "<switch test='`$hasSecondary`'>\n",\r
9429     "comments": "",\r
9430     "outputs": 1,\r
9431     "x": 6399.900161743164,\r
9432     "y": 2817.65234375,\r
9433     "z": "9718fe15.98603",\r
9434     "wires": [\r
9435       [\r
9436         "1ca77427.cfd00c"\r
9437       ]\r
9438     ]\r
9439   },\r
9440   {\r
9441     "id": "1ca77427.cfd00c",\r
9442     "type": "outcomeTrue",\r
9443     "name": "true",\r
9444     "xml": "<outcome value='true'>\n",\r
9445     "comments": "",\r
9446     "outputs": 1,\r
9447     "x": 6591.900161743164,\r
9448     "y": 2812.65234375,\r
9449     "z": "9718fe15.98603",\r
9450     "wires": [\r
9451       [\r
9452         "d48a28e3.978788"\r
9453       ]\r
9454     ]\r
9455   },\r
9456   {\r
9457     "id": "d48a28e3.978788",\r
9458     "type": "block",\r
9459     "name": "block",\r
9460     "xml": "<block>\n",\r
9461     "atomic": "false",\r
9462     "comments": "",\r
9463     "outputs": 1,\r
9464     "x": 6720.900161743164,\r
9465     "y": 2812.65234375,\r
9466     "z": "9718fe15.98603",\r
9467     "wires": [\r
9468       [\r
9469         "cd4e9669.2bbe38"\r
9470       ]\r
9471     ]\r
9472   },\r
9473   {\r
9474     "id": "cd4e9669.2bbe38",\r
9475     "type": "save",\r
9476     "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
9477     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
9478     "comments": "",\r
9479     "outputs": 1,\r
9480     "x": 7052.900161743164,\r
9481     "y": 2810.65234375,\r
9482     "z": "9718fe15.98603",\r
9483     "wires": [\r
9484       []\r
9485     ]\r
9486   },\r
9487   {\r
9488     "id": "96928e3.987df7",\r
9489     "type": "switchNode",\r
9490     "name": "switch $hasSecondary",\r
9491     "xml": "<switch test='`$hasSecondary`'>\n",\r
9492     "comments": "",\r
9493     "outputs": 1,\r
9494     "x": 5984.900161743164,\r
9495     "y": 3029.65234375,\r
9496     "z": "9718fe15.98603",\r
9497     "wires": [\r
9498       [\r
9499         "181572ea.9107d5"\r
9500       ]\r
9501     ]\r
9502   },\r
9503   {\r
9504     "id": "181572ea.9107d5",\r
9505     "type": "outcomeTrue",\r
9506     "name": "true",\r
9507     "xml": "<outcome value='true'>\n",\r
9508     "comments": "",\r
9509     "outputs": 1,\r
9510     "x": 6164.900161743164,\r
9511     "y": 3028.65234375,\r
9512     "z": "9718fe15.98603",\r
9513     "wires": [\r
9514       [\r
9515         "8cd8419f.cb3a9"\r
9516       ]\r
9517     ]\r
9518   },\r
9519   {\r
9520     "id": "8cd8419f.cb3a9",\r
9521     "type": "block",\r
9522     "name": "block",\r
9523     "xml": "<block>\n",\r
9524     "atomic": "false",\r
9525     "comments": "",\r
9526     "outputs": 1,\r
9527     "x": 6293.900161743164,\r
9528     "y": 3028.65234375,\r
9529     "z": "9718fe15.98603",\r
9530     "wires": [\r
9531       [\r
9532         "d6cc041.8a7c3f8"\r
9533       ]\r
9534     ]\r
9535   },\r
9536   {\r
9537     "id": "d6cc041.8a7c3f8",\r
9538     "type": "switchNode",\r
9539     "name": "switch 2-ROOTS in same domain?",\r
9540     "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
9541     "comments": "",\r
9542     "outputs": 1,\r
9543     "x": 6511.783462524414,\r
9544     "y": 3027.53564453125,\r
9545     "z": "9718fe15.98603",\r
9546     "wires": [\r
9547       [\r
9548         "b0604621.14aa3"\r
9549       ]\r
9550     ]\r
9551   },\r
9552   {\r
9553     "id": "b0604621.14aa3",\r
9554     "type": "outcomeTrue",\r
9555     "name": "false",\r
9556     "xml": "<outcome value='false'>\n",\r
9557     "comments": "",\r
9558     "outputs": 1,\r
9559     "x": 6726.783462524414,\r
9560     "y": 3027.53564453125,\r
9561     "z": "9718fe15.98603",\r
9562     "wires": [\r
9563       [\r
9564         "1b23239.265d75c"\r
9565       ]\r
9566     ]\r
9567   },\r
9568   {\r
9569     "id": "1b23239.265d75c",\r
9570     "type": "block",\r
9571     "name": "block",\r
9572     "xml": "<block>\n",\r
9573     "atomic": "false",\r
9574     "comments": "",\r
9575     "outputs": 1,\r
9576     "x": 6858.783462524414,\r
9577     "y": 3027.53564453125,\r
9578     "z": "9718fe15.98603",\r
9579     "wires": [\r
9580       [\r
9581         "e0661126.3d63c"\r
9582       ]\r
9583     ]\r
9584   },\r
9585   {\r
9586     "id": "e0661126.3d63c",\r
9587     "type": "save",\r
9588     "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
9589     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
9590     "comments": "",\r
9591     "outputs": 1,\r
9592     "x": 7222.900161743164,\r
9593     "y": 3026.65234375,\r
9594     "z": "9718fe15.98603",\r
9595     "wires": [\r
9596       []\r
9597     ]\r
9598   },\r
9599   {\r
9600     "id": "ba199ac4.fb848",\r
9601     "type": "switchNode",\r
9602     "name": "switch $hasSecondary",\r
9603     "xml": "<switch test='`$hasSecondary`'>\n",\r
9604     "comments": "",\r
9605     "outputs": 1,\r
9606     "x": 4955.399185180664,\r
9607     "y": 2677.218994140625,\r
9608     "z": "9718fe15.98603",\r
9609     "wires": [\r
9610       [\r
9611         "3b9234ec.069ca4"\r
9612       ]\r
9613     ]\r
9614   },\r
9615   {\r
9616     "id": "3b9234ec.069ca4",\r
9617     "type": "outcomeTrue",\r
9618     "name": "true",\r
9619     "xml": "<outcome value='true'>\n",\r
9620     "comments": "",\r
9621     "outputs": 1,\r
9622     "x": 5135.399185180664,\r
9623     "y": 2676.218994140625,\r
9624     "z": "9718fe15.98603",\r
9625     "wires": [\r
9626       [\r
9627         "9eae322e.b63d4"\r
9628       ]\r
9629     ]\r
9630   },\r
9631   {\r
9632     "id": "9eae322e.b63d4",\r
9633     "type": "block",\r
9634     "name": "block",\r
9635     "xml": "<block>\n",\r
9636     "atomic": "false",\r
9637     "comments": "",\r
9638     "outputs": 1,\r
9639     "x": 5264.399185180664,\r
9640     "y": 2676.218994140625,\r
9641     "z": "9718fe15.98603",\r
9642     "wires": [\r
9643       [\r
9644         "d93117f0.529c08"\r
9645       ]\r
9646     ]\r
9647   },\r
9648   {\r
9649     "id": "eef4e51b.ad8f08",\r
9650     "type": "comment",\r
9651     "name": "Update SECONDARY-ROOT UNI's bw",\r
9652     "info": "",\r
9653     "comments": "",\r
9654     "x": 5000.399185180664,\r
9655     "y": 2735.218994140625,\r
9656     "z": "9718fe15.98603",\r
9657     "wires": []\r
9658   },\r
9659   {\r
9660     "id": "d93117f0.529c08",\r
9661     "type": "save",\r
9662     "name": "get S-root uni from aai",\r
9663     "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
9664     "comments": "",\r
9665     "outputs": 1,\r
9666     "x": 5030.399185180664,\r
9667     "y": 2768.218994140625,\r
9668     "z": "9718fe15.98603",\r
9669     "wires": [\r
9670       [\r
9671         "cef39c15.c2efe8",\r
9672         "19cfaa23.53868e",\r
9673         "3979c231.eba74e"\r
9674       ]\r
9675     ]\r
9676   },\r
9677   {\r
9678     "id": "19cfaa23.53868e",\r
9679     "type": "not-found",\r
9680     "name": "not-found",\r
9681     "xml": "<outcome value='not-found'>\n",\r
9682     "comments": "",\r
9683     "outputs": 1,\r
9684     "x": 5211.890151977539,\r
9685     "y": 2745.793212890625,\r
9686     "z": "9718fe15.98603",\r
9687     "wires": [\r
9688       [\r
9689         "11983801.6e819"\r
9690       ]\r
9691     ]\r
9692   },\r
9693   {\r
9694     "id": "3979c231.eba74e",\r
9695     "type": "failure",\r
9696     "name": "failure",\r
9697     "xml": "<outcome value='failure'>\n",\r
9698     "comments": "",\r
9699     "outputs": 1,\r
9700     "x": 5200.399185180664,\r
9701     "y": 2785.218994140625,\r
9702     "z": "9718fe15.98603",\r
9703     "wires": [\r
9704       [\r
9705         "df1ec346.4539a"\r
9706       ]\r
9707     ]\r
9708   },\r
9709   {\r
9710     "id": "11983801.6e819",\r
9711     "type": "returnFailure",\r
9712     "name": "return failure",\r
9713     "xml": "<return 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
9714     "comments": "",\r
9715     "x": 5371.461685180664,\r
9716     "y": 2744.078857421875,\r
9717     "z": "9718fe15.98603",\r
9718     "wires": []\r
9719   },\r
9720   {\r
9721     "id": "df1ec346.4539a",\r
9722     "type": "returnFailure",\r
9723     "name": "return failure",\r
9724     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
9725     "comments": "",\r
9726     "x": 5361.399185180664,\r
9727     "y": 2786.218994140625,\r
9728     "z": "9718fe15.98603",\r
9729     "wires": []\r
9730   },\r
9731   {\r
9732     "id": "cef39c15.c2efe8",\r
9733     "type": "success",\r
9734     "name": "success",\r
9735     "xml": "<outcome value='success'>\n",\r
9736     "comments": "",\r
9737     "outputs": 1,\r
9738     "x": 5205.399185180664,\r
9739     "y": 2822.218994140625,\r
9740     "z": "9718fe15.98603",\r
9741     "wires": [\r
9742       [\r
9743         "ce54950d.a0123"\r
9744       ]\r
9745     ]\r
9746   },\r
9747   {\r
9748     "id": "ce54950d.a0123",\r
9749     "type": "block",\r
9750     "name": "block : atomic",\r
9751     "xml": "<block atomic=\"true\">",\r
9752     "atomic": "true",\r
9753     "outputs": 1,\r
9754     "x": 5363.399185180664,\r
9755     "y": 2830.218994140625,\r
9756     "z": "9718fe15.98603",\r
9757     "wires": [\r
9758       [\r
9759         "f7f8d3b0.147e88",\r
9760         "b341778e.b63ef8"\r
9761       ]\r
9762     ]\r
9763   },\r
9764   {\r
9765     "id": "f7f8d3b0.147e88",\r
9766     "type": "set",\r
9767     "name": "set new bw",\r
9768     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
9769     "comments": "",\r
9770     "x": 5524.399185180664,\r
9771     "y": 2762.218994140625,\r
9772     "z": "9718fe15.98603",\r
9773     "wires": []\r
9774   },\r
9775   {\r
9776     "id": "b341778e.b63ef8",\r
9777     "type": "save",\r
9778     "name": "update S-ROOT UNI in AAI",\r
9779     "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
9780     "comments": "",\r
9781     "outputs": 1,\r
9782     "x": 5566.399185180664,\r
9783     "y": 2834.218994140625,\r
9784     "z": "9718fe15.98603",\r
9785     "wires": [\r
9786       []\r
9787     ]\r
9788   },\r
9789   {\r
9790     "id": "8414e4a1.38b9c8",\r
9791     "type": "switchNode",\r
9792     "name": "switch $hasSecondary",\r
9793     "xml": "<switch test='`$hasSecondary`'>\n",\r
9794     "comments": "",\r
9795     "outputs": 1,\r
9796     "x": 5042.399185180664,\r
9797     "y": 3035.218994140625,\r
9798     "z": "9718fe15.98603",\r
9799     "wires": [\r
9800       [\r
9801         "671d16b.b80a7e8"\r
9802       ]\r
9803     ]\r
9804   },\r
9805   {\r
9806     "id": "671d16b.b80a7e8",\r
9807     "type": "outcomeTrue",\r
9808     "name": "true",\r
9809     "xml": "<outcome value='true'>\n",\r
9810     "comments": "",\r
9811     "outputs": 1,\r
9812     "x": 5222.399185180664,\r
9813     "y": 3034.218994140625,\r
9814     "z": "9718fe15.98603",\r
9815     "wires": [\r
9816       [\r
9817         "119e2009.a17608"\r
9818       ]\r
9819     ]\r
9820   },\r
9821   {\r
9822     "id": "119e2009.a17608",\r
9823     "type": "block",\r
9824     "name": "block",\r
9825     "xml": "<block>\n",\r
9826     "atomic": "false",\r
9827     "comments": "",\r
9828     "outputs": 1,\r
9829     "x": 5351.399185180664,\r
9830     "y": 3034.218994140625,\r
9831     "z": "9718fe15.98603",\r
9832     "wires": [\r
9833       [\r
9834         "473f5087.37a1e8"\r
9835       ]\r
9836     ]\r
9837   },\r
9838   {\r
9839     "id": "5e936e89.558fa8",\r
9840     "type": "comment",\r
9841     "name": "Update SECONDARY-ROOT UNI's bw",\r
9842     "info": "",\r
9843     "comments": "",\r
9844     "x": 5087.399185180664,\r
9845     "y": 3093.218994140625,\r
9846     "z": "9718fe15.98603",\r
9847     "wires": []\r
9848   },\r
9849   {\r
9850     "id": "473f5087.37a1e8",\r
9851     "type": "save",\r
9852     "name": "get S-root uni from aai",\r
9853     "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
9854     "comments": "",\r
9855     "outputs": 1,\r
9856     "x": 5117.399185180664,\r
9857     "y": 3126.218994140625,\r
9858     "z": "9718fe15.98603",\r
9859     "wires": [\r
9860       [\r
9861         "d9f85915.dda38",\r
9862         "24241f4e.c44408",\r
9863         "225969a9.a7207e"\r
9864       ]\r
9865     ]\r
9866   },\r
9867   {\r
9868     "id": "24241f4e.c44408",\r
9869     "type": "not-found",\r
9870     "name": "not-found",\r
9871     "xml": "<outcome value='not-found'>\n",\r
9872     "comments": "",\r
9873     "outputs": 1,\r
9874     "x": 5298.890151977539,\r
9875     "y": 3103.793212890625,\r
9876     "z": "9718fe15.98603",\r
9877     "wires": [\r
9878       [\r
9879         "96c74d33.8dbf8"\r
9880       ]\r
9881     ]\r
9882   },\r
9883   {\r
9884     "id": "225969a9.a7207e",\r
9885     "type": "failure",\r
9886     "name": "failure",\r
9887     "xml": "<outcome value='failure'>\n",\r
9888     "comments": "",\r
9889     "outputs": 1,\r
9890     "x": 5287.399185180664,\r
9891     "y": 3143.218994140625,\r
9892     "z": "9718fe15.98603",\r
9893     "wires": [\r
9894       [\r
9895         "591af841.3626"\r
9896       ]\r
9897     ]\r
9898   },\r
9899   {\r
9900     "id": "96c74d33.8dbf8",\r
9901     "type": "returnFailure",\r
9902     "name": "return failure",\r
9903     "xml": "<return 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
9904     "comments": "",\r
9905     "x": 5458.461685180664,\r
9906     "y": 3102.078857421875,\r
9907     "z": "9718fe15.98603",\r
9908     "wires": []\r
9909   },\r
9910   {\r
9911     "id": "591af841.3626",\r
9912     "type": "returnFailure",\r
9913     "name": "return failure",\r
9914     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
9915     "comments": "",\r
9916     "x": 5448.399185180664,\r
9917     "y": 3144.218994140625,\r
9918     "z": "9718fe15.98603",\r
9919     "wires": []\r
9920   },\r
9921   {\r
9922     "id": "d9f85915.dda38",\r
9923     "type": "success",\r
9924     "name": "success",\r
9925     "xml": "<outcome value='success'>\n",\r
9926     "comments": "",\r
9927     "outputs": 1,\r
9928     "x": 5292.399185180664,\r
9929     "y": 3180.218994140625,\r
9930     "z": "9718fe15.98603",\r
9931     "wires": [\r
9932       [\r
9933         "211d205d.25f7f"\r
9934       ]\r
9935     ]\r
9936   },\r
9937   {\r
9938     "id": "211d205d.25f7f",\r
9939     "type": "block",\r
9940     "name": "block : atomic",\r
9941     "xml": "<block atomic=\"true\">",\r
9942     "atomic": "true",\r
9943     "outputs": 1,\r
9944     "x": 5450.399185180664,\r
9945     "y": 3188.218994140625,\r
9946     "z": "9718fe15.98603",\r
9947     "wires": [\r
9948       [\r
9949         "d0bfd54a.d36bc8",\r
9950         "7dc2fca0.94494c"\r
9951       ]\r
9952     ]\r
9953   },\r
9954   {\r
9955     "id": "d0bfd54a.d36bc8",\r
9956     "type": "set",\r
9957     "name": "set new bw",\r
9958     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
9959     "comments": "",\r
9960     "x": 5611.399185180664,\r
9961     "y": 3120.218994140625,\r
9962     "z": "9718fe15.98603",\r
9963     "wires": []\r
9964   },\r
9965   {\r
9966     "id": "7dc2fca0.94494c",\r
9967     "type": "save",\r
9968     "name": "update S-ROOT UNI in AAI",\r
9969     "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
9970     "comments": "",\r
9971     "outputs": 1,\r
9972     "x": 5653.399185180664,\r
9973     "y": 3192.218994140625,\r
9974     "z": "9718fe15.98603",\r
9975     "wires": [\r
9976       []\r
9977     ]\r
9978   },\r
9979   {\r
9980     "id": "3f0ddd6.f3f1022",\r
9981     "type": "switchNode",\r
9982     "name": "switch $hasSecondary",\r
9983     "xml": "<switch test='`$hasSecondary`'>\n",\r
9984     "comments": "",\r
9985     "outputs": 1,\r
9986     "x": 3524.066665649414,\r
9987     "y": 4617.218994140625,\r
9988     "z": "9718fe15.98603",\r
9989     "wires": [\r
9990       [\r
9991         "358e9751.c712f"\r
9992       ]\r
9993     ]\r
9994   },\r
9995   {\r
9996     "id": "358e9751.c712f",\r
9997     "type": "outcomeTrue",\r
9998     "name": "true",\r
9999     "xml": "<outcome value='true'>\n",\r
10000     "comments": "",\r
10001     "outputs": 1,\r
10002     "x": 3704.066665649414,\r
10003     "y": 4616.218994140625,\r
10004     "z": "9718fe15.98603",\r
10005     "wires": [\r
10006       [\r
10007         "6884e019.44294"\r
10008       ]\r
10009     ]\r
10010   },\r
10011   {\r
10012     "id": "6884e019.44294",\r
10013     "type": "block",\r
10014     "name": "block",\r
10015     "xml": "<block>\n",\r
10016     "atomic": "false",\r
10017     "comments": "",\r
10018     "outputs": 1,\r
10019     "x": 3833.066665649414,\r
10020     "y": 4616.218994140625,\r
10021     "z": "9718fe15.98603",\r
10022     "wires": [\r
10023       [\r
10024         "5116cf4b.8d29a"\r
10025       ]\r
10026     ]\r
10027   },\r
10028   {\r
10029     "id": "bd6b4020.6dbe8",\r
10030     "type": "comment",\r
10031     "name": "Update SECONDARY-ROOT UNI's bw",\r
10032     "info": "",\r
10033     "comments": "",\r
10034     "x": 3569.066665649414,\r
10035     "y": 4675.218994140625,\r
10036     "z": "9718fe15.98603",\r
10037     "wires": []\r
10038   },\r
10039   {\r
10040     "id": "5116cf4b.8d29a",\r
10041     "type": "save",\r
10042     "name": "get S-root uni from aai",\r
10043     "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
10044     "comments": "",\r
10045     "outputs": 1,\r
10046     "x": 3599.066665649414,\r
10047     "y": 4708.218994140625,\r
10048     "z": "9718fe15.98603",\r
10049     "wires": [\r
10050       [\r
10051         "2e2530b5.6396c8",\r
10052         "a3a43577.5b69d",\r
10053         "ed68f855.e91bf8"\r
10054       ]\r
10055     ]\r
10056   },\r
10057   {\r
10058     "id": "a3a43577.5b69d",\r
10059     "type": "not-found",\r
10060     "name": "not-found",\r
10061     "xml": "<outcome value='not-found'>\n",\r
10062     "comments": "",\r
10063     "outputs": 1,\r
10064     "x": 3780.557632446289,\r
10065     "y": 4685.793212890625,\r
10066     "z": "9718fe15.98603",\r
10067     "wires": [\r
10068       [\r
10069         "86842579.52f86"\r
10070       ]\r
10071     ]\r
10072   },\r
10073   {\r
10074     "id": "ed68f855.e91bf8",\r
10075     "type": "failure",\r
10076     "name": "failure",\r
10077     "xml": "<outcome value='failure'>\n",\r
10078     "comments": "",\r
10079     "outputs": 1,\r
10080     "x": 3769.066665649414,\r
10081     "y": 4725.218994140625,\r
10082     "z": "9718fe15.98603",\r
10083     "wires": [\r
10084       [\r
10085         "73eac34a.dab10c"\r
10086       ]\r
10087     ]\r
10088   },\r
10089   {\r
10090     "id": "86842579.52f86",\r
10091     "type": "returnFailure",\r
10092     "name": "return failure",\r
10093     "xml": "<return 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
10094     "comments": "",\r
10095     "x": 3940.129165649414,\r
10096     "y": 4684.078857421875,\r
10097     "z": "9718fe15.98603",\r
10098     "wires": []\r
10099   },\r
10100   {\r
10101     "id": "73eac34a.dab10c",\r
10102     "type": "returnFailure",\r
10103     "name": "return failure",\r
10104     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
10105     "comments": "",\r
10106     "x": 3930.066665649414,\r
10107     "y": 4726.218994140625,\r
10108     "z": "9718fe15.98603",\r
10109     "wires": []\r
10110   },\r
10111   {\r
10112     "id": "2e2530b5.6396c8",\r
10113     "type": "success",\r
10114     "name": "success",\r
10115     "xml": "<outcome value='success'>\n",\r
10116     "comments": "",\r
10117     "outputs": 1,\r
10118     "x": 3774.066665649414,\r
10119     "y": 4762.218994140625,\r
10120     "z": "9718fe15.98603",\r
10121     "wires": [\r
10122       [\r
10123         "744d2f9d.2ccba"\r
10124       ]\r
10125     ]\r
10126   },\r
10127   {\r
10128     "id": "744d2f9d.2ccba",\r
10129     "type": "block",\r
10130     "name": "block : atomic",\r
10131     "xml": "<block atomic=\"true\">",\r
10132     "atomic": "true",\r
10133     "outputs": 1,\r
10134     "x": 3932.066665649414,\r
10135     "y": 4770.218994140625,\r
10136     "z": "9718fe15.98603",\r
10137     "wires": [\r
10138       [\r
10139         "e108af78.2fc248",\r
10140         "9bbc731d.e00988"\r
10141       ]\r
10142     ]\r
10143   },\r
10144   {\r
10145     "id": "e108af78.2fc248",\r
10146     "type": "set",\r
10147     "name": "set new bw",\r
10148     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
10149     "comments": "",\r
10150     "x": 4093.066665649414,\r
10151     "y": 4702.218994140625,\r
10152     "z": "9718fe15.98603",\r
10153     "wires": []\r
10154   },\r
10155   {\r
10156     "id": "9bbc731d.e00988",\r
10157     "type": "save",\r
10158     "name": "update S-ROOT UNI in AAI",\r
10159     "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
10160     "comments": "",\r
10161     "outputs": 1,\r
10162     "x": 4135.066665649414,\r
10163     "y": 4774.218994140625,\r
10164     "z": "9718fe15.98603",\r
10165     "wires": [\r
10166       []\r
10167     ]\r
10168   },\r
10169   {\r
10170     "id": "75777f0a.fb1b9",\r
10171     "type": "comment",\r
10172     "name": "populate connectivity-C variable in the context map",\r
10173     "info": "",\r
10174     "comments": "",\r
10175     "x": 4215.733657836914,\r
10176     "y": 5572.218994140625,\r
10177     "z": "9718fe15.98603",\r
10178     "wires": []\r
10179   },\r
10180   {\r
10181     "id": "4f6ebd11.7928d4",\r
10182     "type": "call",\r
10183     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10184     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10185     "comments": "",\r
10186     "outputs": 1,\r
10187     "x": 4370.733657836914,\r
10188     "y": 5613.218994140625,\r
10189     "z": "9718fe15.98603",\r
10190     "wires": [\r
10191       []\r
10192     ]\r
10193   },\r
10194   {\r
10195     "id": "53cb53b2.198aa4",\r
10196     "type": "switchNode",\r
10197     "name": "switch found-secondary-root-connectivity",\r
10198     "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
10199     "comments": "",\r
10200     "outputs": 1,\r
10201     "x": 4186.733657836914,\r
10202     "y": 5671.218994140625,\r
10203     "z": "9718fe15.98603",\r
10204     "wires": [\r
10205       [\r
10206         "7b1794a5.b1fc24",\r
10207         "60cb3386.52366c"\r
10208       ]\r
10209     ]\r
10210   },\r
10211   {\r
10212     "id": "7b1794a5.b1fc24",\r
10213     "type": "outcomeTrue",\r
10214     "name": "true",\r
10215     "xml": "<outcome value='true'>\n",\r
10216     "comments": "",\r
10217     "outputs": 1,\r
10218     "x": 4422.733657836914,\r
10219     "y": 5655.218994140625,\r
10220     "z": "9718fe15.98603",\r
10221     "wires": [\r
10222       [\r
10223         "d1b5ec1f.66461"\r
10224       ]\r
10225     ]\r
10226   },\r
10227   {\r
10228     "id": "60cb3386.52366c",\r
10229     "type": "outcomeFalse",\r
10230     "name": "false",\r
10231     "xml": "<outcome value='false'>\n",\r
10232     "comments": "",\r
10233     "outputs": 1,\r
10234     "x": 4421.733657836914,\r
10235     "y": 5703.218994140625,\r
10236     "z": "9718fe15.98603",\r
10237     "wires": [\r
10238       []\r
10239     ]\r
10240   },\r
10241   {\r
10242     "id": "d1b5ec1f.66461",\r
10243     "type": "block",\r
10244     "name": "block : atomic",\r
10245     "xml": "<block atomic='true'>",\r
10246     "atomic": "true",\r
10247     "comments": "",\r
10248     "outputs": 1,\r
10249     "x": 4566.733657836914,\r
10250     "y": 5657.218994140625,\r
10251     "z": "9718fe15.98603",\r
10252     "wires": [\r
10253       [\r
10254         "2e676cc9.ce26a4",\r
10255         "6e286f3d.8e0a28",\r
10256         "e2964af9.ec57d8"\r
10257       ]\r
10258     ]\r
10259   },\r
10260   {\r
10261     "id": "2e676cc9.ce26a4",\r
10262     "type": "set",\r
10263     "name": "set prop.connectivity-domainC-uuid",\r
10264     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
10265     "comments": "",\r
10266     "x": 4978.733901977539,\r
10267     "y": 5792.218994140625,\r
10268     "z": "9718fe15.98603",\r
10269     "wires": []\r
10270   },\r
10271   {\r
10272     "id": "6e286f3d.8e0a28",\r
10273     "type": "save",\r
10274     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
10275     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
10276     "comments": "",\r
10277     "outputs": 1,\r
10278     "x": 5099.733901977539,\r
10279     "y": 5839.218994140625,\r
10280     "z": "9718fe15.98603",\r
10281     "wires": [\r
10282       []\r
10283     ]\r
10284   },\r
10285   {\r
10286     "id": "a459d12f.16fa1",\r
10287     "type": "comment",\r
10288     "name": "Update connectivity status to modified",\r
10289     "info": "",\r
10290     "comments": "",\r
10291     "x": 4982.617691040039,\r
10292     "y": 5883.102294921875,\r
10293     "z": "9718fe15.98603",\r
10294     "wires": []\r
10295   },\r
10296   {\r
10297     "id": "e2964af9.ec57d8",\r
10298     "type": "save",\r
10299     "name": "update connectivity resource in AAI",\r
10300     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10301     "comments": "",\r
10302     "outputs": 1,\r
10303     "x": 4981.400894165039,\r
10304     "y": 5924.302490234375,\r
10305     "z": "9718fe15.98603",\r
10306     "wires": [\r
10307       []\r
10308     ]\r
10309   },\r
10310   {\r
10311     "id": "f2f8d85f.c68ad8",\r
10312     "type": "comment",\r
10313     "name": "populate connectivity-C variable in the context map",\r
10314     "info": "",\r
10315     "comments": "",\r
10316     "x": 4842.066665649414,\r
10317     "y": 6178.218994140625,\r
10318     "z": "9718fe15.98603",\r
10319     "wires": []\r
10320   },\r
10321   {\r
10322     "id": "9cfb7864.e0e548",\r
10323     "type": "call",\r
10324     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
10325     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
10326     "comments": "",\r
10327     "outputs": 1,\r
10328     "x": 5008.066665649414,\r
10329     "y": 6217.218994140625,\r
10330     "z": "9718fe15.98603",\r
10331     "wires": [\r
10332       []\r
10333     ]\r
10334   },\r
10335   {\r
10336     "id": "98761b9f.ff6118",\r
10337     "type": "switchNode",\r
10338     "name": "switch found-secondary-root-connectivity",\r
10339     "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
10340     "comments": "",\r
10341     "outputs": 1,\r
10342     "x": 4847.066665649414,\r
10343     "y": 6267.218994140625,\r
10344     "z": "9718fe15.98603",\r
10345     "wires": [\r
10346       [\r
10347         "ebc03603.139de",\r
10348         "22cd6c36.3aa1dc"\r
10349       ]\r
10350     ]\r
10351   },\r
10352   {\r
10353     "id": "ebc03603.139de",\r
10354     "type": "outcomeTrue",\r
10355     "name": "true",\r
10356     "xml": "<outcome value='true'>\n",\r
10357     "comments": "",\r
10358     "outputs": 1,\r
10359     "x": 5080.066665649414,\r
10360     "y": 6261.218994140625,\r
10361     "z": "9718fe15.98603",\r
10362     "wires": [\r
10363       [\r
10364         "3bf7ac87.926a04"\r
10365       ]\r
10366     ]\r
10367   },\r
10368   {\r
10369     "id": "22cd6c36.3aa1dc",\r
10370     "type": "outcomeFalse",\r
10371     "name": "false",\r
10372     "xml": "<outcome value='false'>\n",\r
10373     "comments": "",\r
10374     "outputs": 1,\r
10375     "x": 5081.066665649414,\r
10376     "y": 6311.218994140625,\r
10377     "z": "9718fe15.98603",\r
10378     "wires": [\r
10379       []\r
10380     ]\r
10381   },\r
10382   {\r
10383     "id": "3bf7ac87.926a04",\r
10384     "type": "block",\r
10385     "name": "block : atomic",\r
10386     "xml": "<block atomic='true'>",\r
10387     "atomic": "true",\r
10388     "comments": "",\r
10389     "outputs": 1,\r
10390     "x": 5227.066665649414,\r
10391     "y": 6269.218994140625,\r
10392     "z": "9718fe15.98603",\r
10393     "wires": [\r
10394       [\r
10395         "7682c7bc.9b0958",\r
10396         "fc925053.188248",\r
10397         "d17759a6.e157b"\r
10398       ]\r
10399     ]\r
10400   },\r
10401   {\r
10402     "id": "7682c7bc.9b0958",\r
10403     "type": "set",\r
10404     "name": "set prop.connectivity-domainC-uuid",\r
10405     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
10406     "comments": "",\r
10407     "x": 5474.066665649414,\r
10408     "y": 6257.218994140625,\r
10409     "z": "9718fe15.98603",\r
10410     "wires": []\r
10411   },\r
10412   {\r
10413     "id": "fc925053.188248",\r
10414     "type": "save",\r
10415     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
10416     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
10417     "comments": "",\r
10418     "outputs": 1,\r
10419     "x": 5595.066665649414,\r
10420     "y": 6304.218994140625,\r
10421     "z": "9718fe15.98603",\r
10422     "wires": [\r
10423       []\r
10424     ]\r
10425   },\r
10426   {\r
10427     "id": "a868892a.829a98",\r
10428     "type": "comment",\r
10429     "name": "Update connectivity status to modified",\r
10430     "info": "",\r
10431     "comments": "",\r
10432     "x": 5477.950454711914,\r
10433     "y": 6348.102294921875,\r
10434     "z": "9718fe15.98603",\r
10435     "wires": []\r
10436   },\r
10437   {\r
10438     "id": "d17759a6.e157b",\r
10439     "type": "save",\r
10440     "name": "update connectivity resource in AAI",\r
10441     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
10442     "comments": "",\r
10443     "outputs": 1,\r
10444     "x": 5476.733657836914,\r
10445     "y": 6389.302490234375,\r
10446     "z": "9718fe15.98603",\r
10447     "wires": [\r
10448       []\r
10449     ]\r
10450   },\r
10451   {\r
10452     "id": "b6de4106.8135",\r
10453     "type": "call",\r
10454     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
10455     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
10456     "comments": "",\r
10457     "outputs": 1,\r
10458     "x": 3604.066665649414,\r
10459     "y": 6162.652587890625,\r
10460     "z": "9718fe15.98603",\r
10461     "wires": [\r
10462       []\r
10463     ]\r
10464   },\r
10465   {\r
10466     "id": "37dc60ca.62221",\r
10467     "type": "switchNode",\r
10468     "name": "switch $hasSecondary",\r
10469     "xml": "<switch test='`$hasSecondary`'>\n",\r
10470     "comments": "",\r
10471     "outputs": 1,\r
10472     "x": 2941.316665649414,\r
10473     "y": 6160.902587890625,\r
10474     "z": "9718fe15.98603",\r
10475     "wires": [\r
10476       [\r
10477         "196d7b7.c07cd85",\r
10478         "bc377eb3.be507"\r
10479       ]\r
10480     ]\r
10481   },\r
10482   {\r
10483     "id": "196d7b7.c07cd85",\r
10484     "type": "outcomeTrue",\r
10485     "name": "false",\r
10486     "xml": "<outcome value='false'>\n",\r
10487     "comments": "",\r
10488     "outputs": 1,\r
10489     "x": 3132.316665649414,\r
10490     "y": 6164.902587890625,\r
10491     "z": "9718fe15.98603",\r
10492     "wires": [\r
10493       [\r
10494         "65fedbab.47a65c"\r
10495       ]\r
10496     ]\r
10497   },\r
10498   {\r
10499     "id": "65fedbab.47a65c",\r
10500     "type": "block",\r
10501     "name": "block",\r
10502     "xml": "<block>\n",\r
10503     "atomic": "false",\r
10504     "comments": "",\r
10505     "outputs": 1,\r
10506     "x": 3259.316665649414,\r
10507     "y": 6163.902587890625,\r
10508     "z": "9718fe15.98603",\r
10509     "wires": [\r
10510       [\r
10511         "b6de4106.8135"\r
10512       ]\r
10513     ]\r
10514   },\r
10515   {\r
10516     "id": "bc377eb3.be507",\r
10517     "type": "outcomeTrue",\r
10518     "name": "true",\r
10519     "xml": "<outcome value='true'>\n",\r
10520     "comments": "",\r
10521     "outputs": 1,\r
10522     "x": 3128.316665649414,\r
10523     "y": 6234.902587890625,\r
10524     "z": "9718fe15.98603",\r
10525     "wires": [\r
10526       [\r
10527         "e0efce2f.f6bfe"\r
10528       ]\r
10529     ]\r
10530   },\r
10531   {\r
10532     "id": "7ecde40.b1b951c",\r
10533     "type": "call",\r
10534     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
10535     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
10536     "comments": "",\r
10537     "outputs": 1,\r
10538     "x": 3677.816665649414,\r
10539     "y": 6233.986083984375,\r
10540     "z": "9718fe15.98603",\r
10541     "wires": [\r
10542       []\r
10543     ]\r
10544   },\r
10545   {\r
10546     "id": "e0efce2f.f6bfe",\r
10547     "type": "block",\r
10548     "name": "block",\r
10549     "xml": "<block>\n",\r
10550     "atomic": "false",\r
10551     "comments": "",\r
10552     "outputs": 1,\r
10553     "x": 3261.816665649414,\r
10554     "y": 6236.986083984375,\r
10555     "z": "9718fe15.98603",\r
10556     "wires": [\r
10557       [\r
10558         "7ecde40.b1b951c"\r
10559       ]\r
10560     ]\r
10561   }\r
10562 ]