Support for 1+1 protection path for a cloud leased-line (CLL) service.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-modify.json
1 [\r
2   {\r
3     "id": "2f28023e.39f0ce",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 96.5,\r
8     "y": 107,\r
9     "z": "4138d8f7.da252",\r
10     "wires": [\r
11       [\r
12         "73cc7959.44f0a"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "73cc7959.44f0a",\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": 380.7856903076172,\r
26     "y": 168.23810863494873,\r
27     "z": "4138d8f7.da252",\r
28     "wires": [\r
29       [\r
30         "22ecaa15.62efee"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "22ecaa15.62efee",\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": 386.92860412597656,\r
42     "y": 253.00003051757812,\r
43     "z": "4138d8f7.da252",\r
44     "wires": [\r
45       [\r
46         "c060beae.bc9e28"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "c060beae.bc9e28",\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": 736.5,\r
58     "y": 312,\r
59     "z": "4138d8f7.da252",\r
60     "wires": [\r
61       [\r
62         "915751c1.614528",\r
63         "36f6973a.34e678",\r
64         "493b4ec5.6de3"\r
65       ]\r
66     ]\r
67   },\r
68   {\r
69     "id": "915751c1.614528",\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": 1037.83349609375,\r
75     "y": 582.9302978515625,\r
76     "z": "4138d8f7.da252",\r
77     "wires": []\r
78   },\r
79   {\r
80     "id": "36f6973a.34e678",\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": 1059.261962890625,\r
87     "y": 285.33331298828125,\r
88     "z": "4138d8f7.da252",\r
89     "wires": [\r
90       [\r
91         "488c3b3e.f19244",\r
92         "775f6bb9.6a72cc",\r
93         "cd7c45c1.b6f318"\r
94       ]\r
95     ]\r
96   },\r
97   {\r
98     "id": "488c3b3e.f19244",\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": 1284.261962890625,\r
105     "y": 143.33331298828125,\r
106     "z": "4138d8f7.da252",\r
107     "wires": [\r
108       [\r
109         "86fe6a1f.5037f8"\r
110       ]\r
111     ]\r
112   },\r
113   {\r
114     "id": "775f6bb9.6a72cc",\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": 1279.7529296875,\r
121     "y": 212.9073486328125,\r
122     "z": "4138d8f7.da252",\r
123     "wires": [\r
124       [\r
125         "de07150f.9aa728"\r
126       ]\r
127     ]\r
128   },\r
129   {\r
130     "id": "cd7c45c1.b6f318",\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": 1268.261962890625,\r
137     "y": 259.33331298828125,\r
138     "z": "4138d8f7.da252",\r
139     "wires": [\r
140       [\r
141         "45b0306e.39dc08"\r
142       ]\r
143     ]\r
144   },\r
145   {\r
146     "id": "354c5c1b.22efdc",\r
147     "type": "comment",\r
148     "name": "new for TransportSlicing",\r
149     "info": "",\r
150     "comments": "",\r
151     "x": 1038.261962890625,\r
152     "y": 173.33331298828125,\r
153     "z": "4138d8f7.da252",\r
154     "wires": []\r
155   },\r
156   {\r
157     "id": "493b4ec5.6de3",\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": 1026.261962890625,\r
164     "y": 225.33331298828125,\r
165     "z": "4138d8f7.da252",\r
166     "wires": [\r
167       []\r
168     ]\r
169   },\r
170   {\r
171     "id": "86fe6a1f.5037f8",\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": 1524.5,\r
178     "y": 140,\r
179     "z": "4138d8f7.da252",\r
180     "wires": [\r
181       [\r
182         "ee0543f9.1cf788",\r
183         "5497352b.e1aeec"\r
184       ]\r
185     ]\r
186   },\r
187   {\r
188     "id": "de07150f.9aa728",\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": 1434.5623779296875,\r
194     "y": 215.85977172851562,\r
195     "z": "4138d8f7.da252",\r
196     "wires": []\r
197   },\r
198   {\r
199     "id": "45b0306e.39dc08",\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": 1438.5,\r
205     "y": 260,\r
206     "z": "4138d8f7.da252",\r
207     "wires": []\r
208   },\r
209   {\r
210     "id": "ee0543f9.1cf788",\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": 1729.5,\r
217     "y": 177,\r
218     "z": "4138d8f7.da252",\r
219     "wires": [\r
220       [\r
221         "6345f4d0.12f85c"\r
222       ]\r
223     ]\r
224   },\r
225   {\r
226     "id": "5497352b.e1aeec",\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": 1739.5,\r
233     "y": 104,\r
234     "z": "4138d8f7.da252",\r
235     "wires": [\r
236       []\r
237     ]\r
238   },\r
239   {\r
240     "id": "6345f4d0.12f85c",\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": 1722.5,\r
248     "y": 252,\r
249     "z": "4138d8f7.da252",\r
250     "wires": [\r
251       [\r
252         "c2cf8029.375a4",\r
253         "3a106a22.349b86",\r
254         "f24d529e.b55f9",\r
255         "26407648.4cfd4a",\r
256         "5e06fc8.b063184"\r
257       ]\r
258     ]\r
259   },\r
260   {\r
261     "id": "34fb97ab.b3686",\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": 2208.5,\r
268     "y": 303,\r
269     "z": "4138d8f7.da252",\r
270     "wires": [\r
271       [\r
272         "4a2e58a2.751648",\r
273         "c91e93c5.362468",\r
274         "ad2e905e.658598"\r
275       ]\r
276     ]\r
277   },\r
278   {\r
279     "id": "4a2e58a2.751648",\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": 2424.5,\r
286     "y": 370,\r
287     "z": "4138d8f7.da252",\r
288     "wires": [\r
289       [\r
290         "2d931b81.0000fc"\r
291       ]\r
292     ]\r
293   },\r
294   {\r
295     "id": "c91e93c5.362468",\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": 2424.990966796875,\r
302     "y": 269.573974609375,\r
303     "z": "4138d8f7.da252",\r
304     "wires": [\r
305       [\r
306         "2c737e52.6b21f2"\r
307       ]\r
308     ]\r
309   },\r
310   {\r
311     "id": "ad2e905e.658598",\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": 2420.5,\r
318     "y": 319,\r
319     "z": "4138d8f7.da252",\r
320     "wires": [\r
321       [\r
322         "81005112.39dbe"\r
323       ]\r
324     ]\r
325   },\r
326   {\r
327     "id": "c2cf8029.375a4",\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": 1925.5,\r
334     "y": 284,\r
335     "z": "4138d8f7.da252",\r
336     "wires": [\r
337       [\r
338         "9843a.b676f3c68",\r
339         "34fb97ab.b3686",\r
340         "cf6d7172.69b4b8",\r
341         "326038f4.f291a"\r
342       ]\r
343     ]\r
344   },\r
345   {\r
346     "id": "9843a.b676f3c68",\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": 2205.5,\r
352     "y": 222,\r
353     "z": "4138d8f7.da252",\r
354     "wires": []\r
355   },\r
356   {\r
357     "id": "26407648.4cfd4a",\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": 1899.5,\r
363     "y": 234,\r
364     "z": "4138d8f7.da252",\r
365     "wires": []\r
366   },\r
367   {\r
368     "id": "3a106a22.349b86",\r
369     "type": "get-resource",\r
370     "name": "get-resource pnfs-list",\r
371     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"pnfs\"\n\t    key=\"selflink = 'https://aai.onap:8443/aai/v24/network/pnfs?depth=0'\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"ccsdkTopopnfs\" >",\r
372     "comments": "",\r
373     "outputs": 1,\r
374     "x": 1942.5,\r
375     "y": 93,\r
376     "z": "4138d8f7.da252",\r
377     "wires": [\r
378       []\r
379     ]\r
380   },\r
381   {\r
382     "id": "f24d529e.b55f9",\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": 1954.5,\r
389     "y": 134,\r
390     "z": "4138d8f7.da252",\r
391     "wires": [\r
392       []\r
393     ]\r
394   },\r
395   {\r
396     "id": "a7bf0e61.b8215",\r
397     "type": "comment",\r
398     "name": "The following two nodes are for PCE",\r
399     "info": "",\r
400     "comments": "",\r
401     "x": 1979.5,\r
402     "y": 46,\r
403     "z": "4138d8f7.da252",\r
404     "wires": []\r
405   },\r
406   {\r
407     "id": "68130b3.2f48af4",\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": 1899.5,\r
413     "y": 180,\r
414     "z": "4138d8f7.da252",\r
415     "wires": []\r
416   },\r
417   {\r
418     "id": "2c737e52.6b21f2",\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": 2603.5,\r
424     "y": 272,\r
425     "z": "4138d8f7.da252",\r
426     "wires": []\r
427   },\r
428   {\r
429     "id": "81005112.39dbe",\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": 2603.4375,\r
435     "y": 321.1402587890625,\r
436     "z": "4138d8f7.da252",\r
437     "wires": []\r
438   },\r
439   {\r
440     "id": "2d931b81.0000fc",\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": 2605.4375,\r
447     "y": 372.1402587890625,\r
448     "z": "4138d8f7.da252",\r
449     "wires": [\r
450       [\r
451         "4511b10b.b4e2e8"\r
452       ]\r
453     ]\r
454   },\r
455   {\r
456     "id": "4511b10b.b4e2e8",\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": 2940.4375,\r
463     "y": 141.14027404785156,\r
464     "z": "4138d8f7.da252",\r
465     "wires": [\r
466       [\r
467         "9fb16699.1235d",\r
468         "da567395.79b6d8",\r
469         "8ed0fbe8.03e31"\r
470       ]\r
471     ]\r
472   },\r
473   {\r
474     "id": "da567395.79b6d8",\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": 3213.928466796875,\r
481     "y": 33.71424865722656,\r
482     "z": "4138d8f7.da252",\r
483     "wires": [\r
484       [\r
485         "1dbb6caf.82e0eb"\r
486       ]\r
487     ]\r
488   },\r
489   {\r
490     "id": "1dbb6caf.82e0eb",\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": 3391.5,\r
496     "y": 34.00001525878906,\r
497     "z": "4138d8f7.da252",\r
498     "wires": []\r
499   },\r
500   {\r
501     "id": "8ed0fbe8.03e31",\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": 3209.4375,\r
508     "y": 83.14027404785156,\r
509     "z": "4138d8f7.da252",\r
510     "wires": [\r
511       [\r
512         "1a97687b.99c02"\r
513       ]\r
514     ]\r
515   },\r
516   {\r
517     "id": "1a97687b.99c02",\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": 3391.4375,\r
523     "y": 83.14027404785156,\r
524     "z": "4138d8f7.da252",\r
525     "wires": []\r
526   },\r
527   {\r
528     "id": "9fb16699.1235d",\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": 3213.4375,\r
535     "y": 134.14027404785156,\r
536     "z": "4138d8f7.da252",\r
537     "wires": [\r
538       [\r
539         "470c276f.ad2f08"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "470c276f.ad2f08",\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": 3393.4375,\r
551     "y": 134.14027404785156,\r
552     "z": "4138d8f7.da252",\r
553     "wires": [\r
554       [\r
555         "ece8c0f8.d3abf8"\r
556       ]\r
557     ]\r
558   },\r
559   {\r
560     "id": "ece8c0f8.d3abf8",\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": 2959.5,\r
567     "y": 269.00001525878906,\r
568     "z": "4138d8f7.da252",\r
569     "wires": [\r
570       [\r
571         "dba346c3.39c8a8",\r
572         "4ccdd4a0.9c665c"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "4ccdd4a0.9c665c",\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": 3269.5,\r
584     "y": 276.00001525878906,\r
585     "z": "4138d8f7.da252",\r
586     "wires": [\r
587       []\r
588     ]\r
589   },\r
590   {\r
591     "id": "dba346c3.39c8a8",\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": 3268.5,\r
598     "y": 330.00001525878906,\r
599     "z": "4138d8f7.da252",\r
600     "wires": [\r
601       [\r
602         "e2cad6e.ad95028"\r
603       ]\r
604     ]\r
605   },\r
606   {\r
607     "id": "fde9905b.0e0dc",\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": 4013.5,\r
614     "y": 284.00001525878906,\r
615     "z": "4138d8f7.da252",\r
616     "wires": [\r
617       [\r
618         "be0ed66c.68b118"\r
619       ]\r
620     ]\r
621   },\r
622   {\r
623     "id": "be0ed66c.68b118",\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": 4190.4998779296875,\r
630     "y": 276.99989318847656,\r
631     "z": "4138d8f7.da252",\r
632     "wires": [\r
633       [\r
634         "1aebcc98.e81703",\r
635         "a36c8474.3e9148"\r
636       ]\r
637     ]\r
638   },\r
639   {\r
640     "id": "e2cad6e.ad95028",\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": 3432.5,\r
647     "y": 256.00001525878906,\r
648     "z": "4138d8f7.da252",\r
649     "wires": [\r
650       [\r
651         "f52b5162.d3155",\r
652         "28c7d65.67fb0aa"\r
653       ]\r
654     ]\r
655   },\r
656   {\r
657     "id": "f52b5162.d3155",\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": 3713.5,\r
664     "y": 212.00001525878906,\r
665     "z": "4138d8f7.da252",\r
666     "wires": [\r
667       [\r
668         "40678a93.0b11fc"\r
669       ]\r
670     ]\r
671   },\r
672   {\r
673     "id": "40678a93.0b11fc",\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": 3975.5,\r
680     "y": 212.00001525878906,\r
681     "z": "4138d8f7.da252",\r
682     "wires": [\r
683       [\r
684         "fde9905b.0e0dc"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "1aebcc98.e81703",\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": 4433.4998779296875,\r
695     "y": 233.99989318847656,\r
696     "z": "4138d8f7.da252",\r
697     "wires": []\r
698   },\r
699   {\r
700     "id": "a36c8474.3e9148",\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": 4422.4998779296875,\r
707     "y": 288.99989318847656,\r
708     "z": "4138d8f7.da252",\r
709     "wires": [\r
710       [\r
711         "f4703396.8f997",\r
712         "c4863aea.39d3c",\r
713         "3f105248.ebf0a6"\r
714       ]\r
715     ]\r
716   },\r
717   {\r
718     "id": "3f105248.ebf0a6",\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": 4753.5,\r
725     "y": 197,\r
726     "z": "4138d8f7.da252",\r
727     "wires": [\r
728       [\r
729         "f39e3f38.4d2868"\r
730       ]\r
731     ]\r
732   },\r
733   {\r
734     "id": "f39e3f38.4d2868",\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": 4902.071533203125,\r
740     "y": 197.2857666015625,\r
741     "z": "4138d8f7.da252",\r
742     "wires": []\r
743   },\r
744   {\r
745     "id": "9b475b7a.781198",\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": 4901.009033203125,\r
751     "y": 241.426025390625,\r
752     "z": "4138d8f7.da252",\r
753     "wires": []\r
754   },\r
755   {\r
756     "id": "c4863aea.39d3c",\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": 4742.009033203125,\r
763     "y": 241.426025390625,\r
764     "z": "4138d8f7.da252",\r
765     "wires": [\r
766       [\r
767         "9b475b7a.781198"\r
768       ]\r
769     ]\r
770   },\r
771   {\r
772     "id": "f4703396.8f997",\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": 4749.009033203125,\r
779     "y": 320.426025390625,\r
780     "z": "4138d8f7.da252",\r
781     "wires": [\r
782       [\r
783         "a4728a38.a45e8"\r
784       ]\r
785     ]\r
786   },\r
787   {\r
788     "id": "a4728a38.a45e8",\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": 4888.009033203125,\r
796     "y": 320.426025390625,\r
797     "z": "4138d8f7.da252",\r
798     "wires": [\r
799       [\r
800         "6805f17a.2a0698",\r
801         "a9ae4e95.32ef88"\r
802       ]\r
803     ]\r
804   },\r
805   {\r
806     "id": "6805f17a.2a0698",\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": 5093.5,\r
812     "y": 318,\r
813     "z": "4138d8f7.da252",\r
814     "wires": []\r
815   },\r
816   {\r
817     "id": "a9ae4e95.32ef88",\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": 5092.5,\r
823     "y": 364,\r
824     "z": "4138d8f7.da252",\r
825     "wires": []\r
826   },\r
827   {\r
828     "id": "28c7d65.67fb0aa",\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": 3530.5,\r
835     "y": 328.00001525878906,\r
836     "z": "4138d8f7.da252",\r
837     "wires": [\r
838       [\r
839         "ebdf975.aa03968"\r
840       ]\r
841     ]\r
842   },\r
843   {\r
844     "id": "ebdf975.aa03968",\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": 3810.5,\r
851     "y": 328.00001525878906,\r
852     "z": "4138d8f7.da252",\r
853     "wires": [\r
854       [\r
855         "3f67ae4e.a2076a"\r
856       ]\r
857     ]\r
858   },\r
859   {\r
860     "id": "3f67ae4e.a2076a",\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": 2181.5001220703125,\r
867     "y": 759.0001220703125,\r
868     "z": "4138d8f7.da252",\r
869     "wires": [\r
870       [\r
871         "f83af2f7.dfb288"\r
872       ]\r
873     ]\r
874   },\r
875   {\r
876     "id": "f83af2f7.dfb288",\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": 2358.5,\r
883     "y": 752,\r
884     "z": "4138d8f7.da252",\r
885     "wires": [\r
886       [\r
887         "a0742463.c2c6f8",\r
888         "25034b30.dd6634"\r
889       ]\r
890     ]\r
891   },\r
892   {\r
893     "id": "a0742463.c2c6f8",\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": 2601.5,\r
899     "y": 709,\r
900     "z": "4138d8f7.da252",\r
901     "wires": []\r
902   },\r
903   {\r
904     "id": "25034b30.dd6634",\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": 2590.5,\r
911     "y": 764,\r
912     "z": "4138d8f7.da252",\r
913     "wires": [\r
914       [\r
915         "b3267bc2.0ab17",\r
916         "e3342c37.4e1e3",\r
917         "349e46c.d16cb3a"\r
918       ]\r
919     ]\r
920   },\r
921   {\r
922     "id": "b3267bc2.0ab17",\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": 2881.990966796875,\r
929     "y": 742.573974609375,\r
930     "z": "4138d8f7.da252",\r
931     "wires": [\r
932       [\r
933         "504883f4.bc132c"\r
934       ]\r
935     ]\r
936   },\r
937   {\r
938     "id": "e3342c37.4e1e3",\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": 2870.5,\r
945     "y": 787,\r
946     "z": "4138d8f7.da252",\r
947     "wires": [\r
948       [\r
949         "6ff791fd.bff34"\r
950       ]\r
951     ]\r
952   },\r
953   {\r
954     "id": "504883f4.bc132c",\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": 3030.5625,\r
960     "y": 742.8597412109375,\r
961     "z": "4138d8f7.da252",\r
962     "wires": []\r
963   },\r
964   {\r
965     "id": "6ff791fd.bff34",\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": 3029.5,\r
971     "y": 787,\r
972     "z": "4138d8f7.da252",\r
973     "wires": []\r
974   },\r
975   {\r
976     "id": "349e46c.d16cb3a",\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": 2877.5,\r
983     "y": 866,\r
984     "z": "4138d8f7.da252",\r
985     "wires": [\r
986       [\r
987         "947e25fa.d00b28"\r
988       ]\r
989     ]\r
990   },\r
991   {\r
992     "id": "947e25fa.d00b28",\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": 3016.5,\r
1000     "y": 866,\r
1001     "z": "4138d8f7.da252",\r
1002     "wires": [\r
1003       [\r
1004         "b5aabe11.88e5f",\r
1005         "8b8aaeb1.46c568",\r
1006         "32905edb.461e7a",\r
1007         "2f0ef70c.178628",\r
1008         "6eaf37e0.1fb3a8",\r
1009         "1abb3e71.7e1362",\r
1010         "29e42279.9aaa7e",\r
1011         "363ba934.edbd4e",\r
1012         "ec67f0f.b56539",\r
1013         "631e76e1.71afc",\r
1014         "b17f4ff2.75d93",\r
1015         "8048035e.723ef",\r
1016         "d590aba5.94aa48",\r
1017         "44b9c5d0.dda044",\r
1018         "46e10049.e35348",\r
1019         "f55201f.0be188",\r
1020         "6834572.668ee28",\r
1021         "fa7f428c.6d6b2",\r
1022         "8c5d257.6a579d8"\r
1023       ]\r
1024     ]\r
1025   },\r
1026   {\r
1027     "id": "479d6fca.4b7c8",\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": 3328.5,\r
1034     "y": 416,\r
1035     "z": "4138d8f7.da252",\r
1036     "wires": [\r
1037       []\r
1038     ]\r
1039   },\r
1040   {\r
1041     "id": "b5aabe11.88e5f",\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": 3315.4998779296875,\r
1048     "y": 508,\r
1049     "z": "4138d8f7.da252",\r
1050     "wires": [\r
1051       []\r
1052     ]\r
1053   },\r
1054   {\r
1055     "id": "44b9c5d0.dda044",\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": 3272.4998779296875,\r
1061     "y": 553,\r
1062     "z": "4138d8f7.da252",\r
1063     "wires": []\r
1064   },\r
1065   {\r
1066     "id": "8b8aaeb1.46c568",\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": 3247.4998779296875,\r
1072     "y": 616,\r
1073     "z": "4138d8f7.da252",\r
1074     "wires": []\r
1075   },\r
1076   {\r
1077     "id": "32905edb.461e7a",\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": 3248.4998779296875,\r
1083     "y": 671,\r
1084     "z": "4138d8f7.da252",\r
1085     "wires": []\r
1086   },\r
1087   {\r
1088     "id": "2f0ef70c.178628",\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": 3264.4998779296875,\r
1095     "y": 719,\r
1096     "z": "4138d8f7.da252",\r
1097     "wires": [\r
1098       [\r
1099         "99eab0f2.3508c",\r
1100         "1b8f4bea.ec5e94",\r
1101         "fc9653f8.4449d"\r
1102       ]\r
1103     ]\r
1104   },\r
1105   {\r
1106     "id": "6eaf37e0.1fb3a8",\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": 3259.5,\r
1113     "y": 785.9998779296875,\r
1114     "z": "4138d8f7.da252",\r
1115     "wires": [\r
1116       [\r
1117         "e805b604.ab84e",\r
1118         "a86f3b5b.e29e1",\r
1119         "cbb70d3d.0ef6a"\r
1120       ]\r
1121     ]\r
1122   },\r
1123   {\r
1124     "id": "99eab0f2.3508c",\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": 3505.5,\r
1131     "y": 547,\r
1132     "z": "4138d8f7.da252",\r
1133     "wires": [\r
1134       [\r
1135         "d6e995cd.85fc"\r
1136       ]\r
1137     ]\r
1138   },\r
1139   {\r
1140     "id": "1b8f4bea.ec5e94",\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": 3501.009033203125,\r
1147     "y": 596.426025390625,\r
1148     "z": "4138d8f7.da252",\r
1149     "wires": [\r
1150       [\r
1151         "e5161935.335138"\r
1152       ]\r
1153     ]\r
1154   },\r
1155   {\r
1156     "id": "fc9653f8.4449d",\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": 3505.009033203125,\r
1163     "y": 649.426025390625,\r
1164     "z": "4138d8f7.da252",\r
1165     "wires": [\r
1166       [\r
1167         "867b315e.a11f4"\r
1168       ]\r
1169     ]\r
1170   },\r
1171   {\r
1172     "id": "d6e995cd.85fc",\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": 3654.071533203125,\r
1178     "y": 546.2857666015625,\r
1179     "z": "4138d8f7.da252",\r
1180     "wires": []\r
1181   },\r
1182   {\r
1183     "id": "e5161935.335138",\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": 3644.009033203125,\r
1189     "y": 596.426025390625,\r
1190     "z": "4138d8f7.da252",\r
1191     "wires": []\r
1192   },\r
1193   {\r
1194     "id": "e805b604.ab84e",\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": 3509.5,\r
1201     "y": 702.9998779296875,\r
1202     "z": "4138d8f7.da252",\r
1203     "wires": [\r
1204       [\r
1205         "f25db7d5.d2a2a"\r
1206       ]\r
1207     ]\r
1208   },\r
1209   {\r
1210     "id": "a86f3b5b.e29e1",\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": 3505.009033203125,\r
1217     "y": 752.4259033203125,\r
1218     "z": "4138d8f7.da252",\r
1219     "wires": [\r
1220       [\r
1221         "86e45032.893578"\r
1222       ]\r
1223     ]\r
1224   },\r
1225   {\r
1226     "id": "cbb70d3d.0ef6a",\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": 3488.009033203125,\r
1233     "y": 800.4259033203125,\r
1234     "z": "4138d8f7.da252",\r
1235     "wires": [\r
1236       [\r
1237         "20619d71.889cda"\r
1238       ]\r
1239     ]\r
1240   },\r
1241   {\r
1242     "id": "f25db7d5.d2a2a",\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": 3658.071533203125,\r
1248     "y": 702.28564453125,\r
1249     "z": "4138d8f7.da252",\r
1250     "wires": []\r
1251   },\r
1252   {\r
1253     "id": "86e45032.893578",\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": 3648.009033203125,\r
1259     "y": 752.4259033203125,\r
1260     "z": "4138d8f7.da252",\r
1261     "wires": []\r
1262   },\r
1263   {\r
1264     "id": "867b315e.a11f4",\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": 3666.5,\r
1271     "y": 649,\r
1272     "z": "4138d8f7.da252",\r
1273     "wires": [\r
1274       [\r
1275         "2bd95045.b71158"\r
1276       ]\r
1277     ]\r
1278   },\r
1279   {\r
1280     "id": "20619d71.889cda",\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": 3641.5,\r
1287     "y": 799.9998779296875,\r
1288     "z": "4138d8f7.da252",\r
1289     "wires": [\r
1290       [\r
1291         "41de01b2.960a08"\r
1292       ]\r
1293     ]\r
1294   },\r
1295   {\r
1296     "id": "2bd95045.b71158",\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": 3838.5,\r
1303     "y": 649,\r
1304     "z": "4138d8f7.da252",\r
1305     "wires": [\r
1306       [\r
1307         "6f8555c6.ec1a0c",\r
1308         "994a0acf.d3aed8",\r
1309         "26a90c3.2a56674"\r
1310       ]\r
1311     ]\r
1312   },\r
1313   {\r
1314     "id": "41de01b2.960a08",\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": 3833.5,\r
1321     "y": 734,\r
1322     "z": "4138d8f7.da252",\r
1323     "wires": [\r
1324       [\r
1325         "4b5b1a17.b9df6c",\r
1326         "d7a475f3.ea12c",\r
1327         "16154f9d.14a3b"\r
1328       ]\r
1329     ]\r
1330   },\r
1331   {\r
1332     "id": "6f8555c6.ec1a0c",\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": 3999.49951171875,\r
1339     "y": 385,\r
1340     "z": "4138d8f7.da252",\r
1341     "wires": [\r
1342       [\r
1343         "62760f41.c93a2"\r
1344       ]\r
1345     ]\r
1346   },\r
1347   {\r
1348     "id": "994a0acf.d3aed8",\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": 4001.49951171875,\r
1355     "y": 439,\r
1356     "z": "4138d8f7.da252",\r
1357     "wires": [\r
1358       [\r
1359         "273e3fee.2bc13"\r
1360       ]\r
1361     ]\r
1362   },\r
1363   {\r
1364     "id": "4b5b1a17.b9df6c",\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": 4014.499267578125,\r
1371     "y": 607,\r
1372     "z": "4138d8f7.da252",\r
1373     "wires": [\r
1374       [\r
1375         "244a1c4c.c64574"\r
1376       ]\r
1377     ]\r
1378   },\r
1379   {\r
1380     "id": "d7a475f3.ea12c",\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": 4016.499267578125,\r
1387     "y": 661,\r
1388     "z": "4138d8f7.da252",\r
1389     "wires": [\r
1390       [\r
1391         "f48105e4.f03428"\r
1392       ]\r
1393     ]\r
1394   },\r
1395   {\r
1396     "id": "92f3b868.34ce6",\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": 4309.49951171875,\r
1402     "y": 337,\r
1403     "z": "4138d8f7.da252",\r
1404     "wires": []\r
1405   },\r
1406   {\r
1407     "id": "b6002239.68b828",\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": 4302.49951171875,\r
1413     "y": 435,\r
1414     "z": "4138d8f7.da252",\r
1415     "wires": []\r
1416   },\r
1417   {\r
1418     "id": "55137534.cd97cc",\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": 4378.499267578125,\r
1424     "y": 634,\r
1425     "z": "4138d8f7.da252",\r
1426     "wires": []\r
1427   },\r
1428   {\r
1429     "id": "ba173e3c.d3cf48",\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": 4382.499267578125,\r
1435     "y": 727,\r
1436     "z": "4138d8f7.da252",\r
1437     "wires": []\r
1438   },\r
1439   {\r
1440     "id": "4d8d5caa.cdd3ac",\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": 3460.5,\r
1447     "y": 1150,\r
1448     "z": "4138d8f7.da252",\r
1449     "wires": [\r
1450       [\r
1451         "6c40f2a8.47da04"\r
1452       ]\r
1453     ]\r
1454   },\r
1455   {\r
1456     "id": "f63967f8.5c1d2",\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": 3469.990966796875,\r
1463     "y": 1192.5740356445312,\r
1464     "z": "4138d8f7.da252",\r
1465     "wires": [\r
1466       [\r
1467         "cba887b8.3ba25"\r
1468       ]\r
1469     ]\r
1470   },\r
1471   {\r
1472     "id": "f4c1be52.25da4",\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": 3458.5,\r
1479     "y": 1239,\r
1480     "z": "4138d8f7.da252",\r
1481     "wires": [\r
1482       [\r
1483         "43b1688f.a5b798"\r
1484       ]\r
1485     ]\r
1486   },\r
1487   {\r
1488     "id": "f87008d1.14dd28",\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": 3160.5,\r
1494     "y": 1112,\r
1495     "z": "4138d8f7.da252",\r
1496     "wires": []\r
1497   },\r
1498   {\r
1499     "id": "29e42279.9aaa7e",\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": 3203.5,\r
1506     "y": 1177,\r
1507     "z": "4138d8f7.da252",\r
1508     "wires": [\r
1509       [\r
1510         "4d8d5caa.cdd3ac",\r
1511         "f63967f8.5c1d2",\r
1512         "f4c1be52.25da4"\r
1513       ]\r
1514     ]\r
1515   },\r
1516   {\r
1517     "id": "1abb3e71.7e1362",\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": 3192.5,\r
1524     "y": 1027,\r
1525     "z": "4138d8f7.da252",\r
1526     "wires": [\r
1527       [\r
1528         "252648ef.3d7f4",\r
1529         "296ca11d.a31fd6"\r
1530       ]\r
1531     ]\r
1532   },\r
1533   {\r
1534     "id": "296ca11d.a31fd6",\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": 3415.5,\r
1541     "y": 1013,\r
1542     "z": "4138d8f7.da252",\r
1543     "wires": [\r
1544       [\r
1545         "2479711d.5bdd66"\r
1546       ]\r
1547     ]\r
1548   },\r
1549   {\r
1550     "id": "252648ef.3d7f4",\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": 3417.5,\r
1557     "y": 1046,\r
1558     "z": "4138d8f7.da252",\r
1559     "wires": [\r
1560       [\r
1561         "90f53fd9.1cbe8"\r
1562       ]\r
1563     ]\r
1564   },\r
1565   {\r
1566     "id": "6c40f2a8.47da04",\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": 3633.16650390625,\r
1573     "y": 1149,\r
1574     "z": "4138d8f7.da252",\r
1575     "wires": [\r
1576       [\r
1577         "1415c282.916e3d",\r
1578         "2cb5ed40.b34f42"\r
1579       ]\r
1580     ]\r
1581   },\r
1582   {\r
1583     "id": "cba887b8.3ba25",\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": 3623.5623779296875,\r
1589     "y": 1195.8597717285156,\r
1590     "z": "4138d8f7.da252",\r
1591     "wires": []\r
1592   },\r
1593   {\r
1594     "id": "43b1688f.a5b798",\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": 3627.5,\r
1600     "y": 1240,\r
1601     "z": "4138d8f7.da252",\r
1602     "wires": []\r
1603   },\r
1604   {\r
1605     "id": "1415c282.916e3d",\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": 3897.5,\r
1612     "y": 1200,\r
1613     "z": "4138d8f7.da252",\r
1614     "wires": [\r
1615       [\r
1616         "3e280d70.843922",\r
1617         "95fc8503.11868"\r
1618       ]\r
1619     ]\r
1620   },\r
1621   {\r
1622     "id": "95fc8503.11868",\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": 4073.5,\r
1629     "y": 1250,\r
1630     "z": "4138d8f7.da252",\r
1631     "wires": [\r
1632       [\r
1633         "dc902b38.0c7748"\r
1634       ]\r
1635     ]\r
1636   },\r
1637   {\r
1638     "id": "3e280d70.843922",\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": 4075.5,\r
1645     "y": 1314,\r
1646     "z": "4138d8f7.da252",\r
1647     "wires": [\r
1648       [\r
1649         "23310562.1afb82"\r
1650       ]\r
1651     ]\r
1652   },\r
1653   {\r
1654     "id": "23310562.1afb82",\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": 4237.5,\r
1660     "y": 1310,\r
1661     "z": "4138d8f7.da252",\r
1662     "wires": []\r
1663   },\r
1664   {\r
1665     "id": "dc902b38.0c7748",\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": 4238.5,\r
1672     "y": 1247,\r
1673     "z": "4138d8f7.da252",\r
1674     "wires": [\r
1675       [\r
1676         "cee16453.63cf3",\r
1677         "84ccdaef.588b08"\r
1678       ]\r
1679     ]\r
1680   },\r
1681   {\r
1682     "id": "90f53fd9.1cbe8",\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": 3560.5,\r
1688     "y": 1043,\r
1689     "z": "4138d8f7.da252",\r
1690     "wires": []\r
1691   },\r
1692   {\r
1693     "id": "2479711d.5bdd66",\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": 3563.5,\r
1700     "y": 1006,\r
1701     "z": "4138d8f7.da252",\r
1702     "wires": [\r
1703       [\r
1704         "e0731aec.1d3d18",\r
1705         "ff49f858.b54118"\r
1706       ]\r
1707     ]\r
1708   },\r
1709   {\r
1710     "id": "e0731aec.1d3d18",\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": 3737.5,\r
1716     "y": 962,\r
1717     "z": "4138d8f7.da252",\r
1718     "wires": []\r
1719   },\r
1720   {\r
1721     "id": "2cb5ed40.b34f42",\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": 3609.5,\r
1728     "y": 1331,\r
1729     "z": "4138d8f7.da252",\r
1730     "wires": [\r
1731       [\r
1732         "f5d98ba7.1e5cb8"\r
1733       ]\r
1734     ]\r
1735   },\r
1736   {\r
1737     "id": "f5d98ba7.1e5cb8",\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": 3890.5,\r
1744     "y": 1326,\r
1745     "z": "4138d8f7.da252",\r
1746     "wires": [\r
1747       [\r
1748         "287b5bf8.99c79c"\r
1749       ]\r
1750     ]\r
1751   },\r
1752   {\r
1753     "id": "287b5bf8.99c79c",\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": 4201.78564453125,\r
1760     "y": 1400.82177734375,\r
1761     "z": "4138d8f7.da252",\r
1762     "wires": [\r
1763       [\r
1764         "70c360c1.95da08"\r
1765       ]\r
1766     ]\r
1767   },\r
1768   {\r
1769     "id": "ff49f858.b54118",\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": 3752.5,\r
1776     "y": 1073,\r
1777     "z": "4138d8f7.da252",\r
1778     "wires": [\r
1779       [\r
1780         "dadb26c7.629ca8",\r
1781         "f63867c7.23e9a8",\r
1782         "b7f169a7.e4cea8"\r
1783       ]\r
1784     ]\r
1785   },\r
1786   {\r
1787     "id": "dadb26c7.629ca8",\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": 3948.0001220703125,\r
1794     "y": 1025,\r
1795     "z": "4138d8f7.da252",\r
1796     "wires": [\r
1797       [\r
1798         "56281278.4a732c"\r
1799       ]\r
1800     ]\r
1801   },\r
1802   {\r
1803     "id": "f63867c7.23e9a8",\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": 3940.0001220703125,\r
1810     "y": 1080,\r
1811     "z": "4138d8f7.da252",\r
1812     "wires": [\r
1813       [\r
1814         "d5d18730.ffaa"\r
1815       ]\r
1816     ]\r
1817   },\r
1818   {\r
1819     "id": "b7f169a7.e4cea8",\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": 3945.0001220703125,\r
1826     "y": 1137,\r
1827     "z": "4138d8f7.da252",\r
1828     "wires": [\r
1829       [\r
1830         "5b7993c9.ffe6c4"\r
1831       ]\r
1832     ]\r
1833   },\r
1834   {\r
1835     "id": "5b7993c9.ffe6c4",\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": 4097.0001220703125,\r
1841     "y": 1138,\r
1842     "z": "4138d8f7.da252",\r
1843     "wires": []\r
1844   },\r
1845   {\r
1846     "id": "d5d18730.ffaa",\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": 4108.0001220703125,\r
1852     "y": 1083,\r
1853     "z": "4138d8f7.da252",\r
1854     "wires": []\r
1855   },\r
1856   {\r
1857     "id": "56281278.4a732c",\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": 4092.3824462890625,\r
1865     "y": 1022.6556701660156,\r
1866     "z": "4138d8f7.da252",\r
1867     "wires": [\r
1868       [\r
1869         "98511029.380fd"\r
1870       ]\r
1871     ]\r
1872   },\r
1873   {\r
1874     "id": "98511029.380fd",\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": 4315.500244140625,\r
1881     "y": 1161,\r
1882     "z": "4138d8f7.da252",\r
1883     "wires": [\r
1884       [\r
1885         "1e482e0.3b3ba52"\r
1886       ]\r
1887     ]\r
1888   },\r
1889   {\r
1890     "id": "84ccdaef.588b08",\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": 4408.5,\r
1896     "y": 1205,\r
1897     "z": "4138d8f7.da252",\r
1898     "wires": []\r
1899   },\r
1900   {\r
1901     "id": "cee16453.63cf3",\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": 4409.5,\r
1907     "y": 1313,\r
1908     "z": "4138d8f7.da252",\r
1909     "wires": []\r
1910   },\r
1911   {\r
1912     "id": "d2b67ee9.016d4",\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": 4410.5,\r
1918     "y": 1262,\r
1919     "z": "4138d8f7.da252",\r
1920     "wires": []\r
1921   },\r
1922   {\r
1923     "id": "70c360c1.95da08",\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": 4408.6171875,\r
1930     "y": 1401.34033203125,\r
1931     "z": "4138d8f7.da252",\r
1932     "wires": [\r
1933       [\r
1934         "8b810a1.45408f8",\r
1935         "389752e1.54c2be",\r
1936         "e0be029e.19d278"\r
1937       ]\r
1938     ]\r
1939   },\r
1940   {\r
1941     "id": "8b810a1.45408f8",\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": 4623.6171875,\r
1947     "y": 1363.34033203125,\r
1948     "z": "4138d8f7.da252",\r
1949     "wires": []\r
1950   },\r
1951   {\r
1952     "id": "389752e1.54c2be",\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": 4620.6171875,\r
1959     "y": 1402.34033203125,\r
1960     "z": "4138d8f7.da252",\r
1961     "wires": [\r
1962       [\r
1963         "38942ae1.d34c76"\r
1964       ]\r
1965     ]\r
1966   },\r
1967   {\r
1968     "id": "e0be029e.19d278",\r
1969     "type": "break",\r
1970     "name": "break",\r
1971     "xml": "<break>\n",\r
1972     "comments": "",\r
1973     "x": 4576.1171875,\r
1974     "y": 1444.34033203125,\r
1975     "z": "4138d8f7.da252",\r
1976     "wires": []\r
1977   },\r
1978   {\r
1979     "id": "38942ae1.d34c76",\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": 4801.1171875,\r
1986     "y": 1401.34033203125,\r
1987     "z": "4138d8f7.da252",\r
1988     "wires": [\r
1989       [\r
1990         "418b10aa.3bf41"\r
1991       ]\r
1992     ]\r
1993   },\r
1994   {\r
1995     "id": "28737ab1.66c06e",\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": 4713.500244140625,\r
2002     "y": 1165,\r
2003     "z": "4138d8f7.da252",\r
2004     "wires": [\r
2005       [\r
2006         "813fb276.a89d38"\r
2007       ]\r
2008     ]\r
2009   },\r
2010   {\r
2011     "id": "813fb276.a89d38",\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": 4890.500244140625,\r
2018     "y": 1157,\r
2019     "z": "4138d8f7.da252",\r
2020     "wires": [\r
2021       [\r
2022         "5ba45898.1ae6d8",\r
2023         "82500988.df7418"\r
2024       ]\r
2025     ]\r
2026   },\r
2027   {\r
2028     "id": "1e482e0.3b3ba52",\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": 4510.500244140625,\r
2035     "y": 1161,\r
2036     "z": "4138d8f7.da252",\r
2037     "wires": [\r
2038       [\r
2039         "28737ab1.66c06e",\r
2040         "431c2963.374ce8"\r
2041       ]\r
2042     ]\r
2043   },\r
2044   {\r
2045     "id": "431c2963.374ce8",\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": 4579.500244140625,\r
2052     "y": 1235,\r
2053     "z": "4138d8f7.da252",\r
2054     "wires": [\r
2055       [\r
2056         "d3fb7afe.dba838"\r
2057       ]\r
2058     ]\r
2059   },\r
2060   {\r
2061     "id": "d3fb7afe.dba838",\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": 4775.500244140625,\r
2068     "y": 1235,\r
2069     "z": "4138d8f7.da252",\r
2070     "wires": [\r
2071       [\r
2072         "40663368.ea789c"\r
2073       ]\r
2074     ]\r
2075   },\r
2076   {\r
2077     "id": "418b10aa.3bf41",\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": 4959.1171875,\r
2084     "y": 1401.34033203125,\r
2085     "z": "4138d8f7.da252",\r
2086     "wires": [\r
2087       [\r
2088         "ec468881.ecbf18"\r
2089       ]\r
2090     ]\r
2091   },\r
2092   {\r
2093     "id": "ec468881.ecbf18",\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": 5166.1171875,\r
2099     "y": 1401.34033203125,\r
2100     "z": "4138d8f7.da252",\r
2101     "wires": []\r
2102   },\r
2103   {\r
2104     "id": "82500988.df7418",\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": 5115.500244140625,\r
2111     "y": 1153,\r
2112     "z": "4138d8f7.da252",\r
2113     "wires": [\r
2114       [\r
2115         "9dd65188.ffecf",\r
2116         "e0664fc.7b8393",\r
2117         "b7a2fd6c.7b7688"\r
2118       ]\r
2119     ]\r
2120   },\r
2121   {\r
2122     "id": "5ba45898.1ae6d8",\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": 5145.500244140625,\r
2128     "y": 1101,\r
2129     "z": "4138d8f7.da252",\r
2130     "wires": []\r
2131   },\r
2132   {\r
2133     "id": "9dd65188.ffecf",\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": 5325.500244140625,\r
2140     "y": 1144,\r
2141     "z": "4138d8f7.da252",\r
2142     "wires": [\r
2143       [\r
2144         "2d529b4.18963e4"\r
2145       ]\r
2146     ]\r
2147   },\r
2148   {\r
2149     "id": "e0664fc.7b8393",\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": 5317.500244140625,\r
2156     "y": 1199,\r
2157     "z": "4138d8f7.da252",\r
2158     "wires": [\r
2159       [\r
2160         "3aa5c8f4.350c08"\r
2161       ]\r
2162     ]\r
2163   },\r
2164   {\r
2165     "id": "b7a2fd6c.7b7688",\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": 5322.500244140625,\r
2172     "y": 1256,\r
2173     "z": "4138d8f7.da252",\r
2174     "wires": [\r
2175       [\r
2176         "2908da09.77d2fe"\r
2177       ]\r
2178     ]\r
2179   },\r
2180   {\r
2181     "id": "2908da09.77d2fe",\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": 5474.500244140625,\r
2187     "y": 1257,\r
2188     "z": "4138d8f7.da252",\r
2189     "wires": []\r
2190   },\r
2191   {\r
2192     "id": "3aa5c8f4.350c08",\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": 5485.500244140625,\r
2198     "y": 1202,\r
2199     "z": "4138d8f7.da252",\r
2200     "wires": []\r
2201   },\r
2202   {\r
2203     "id": "2d529b4.18963e4",\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": 5469.882568359375,\r
2211     "y": 1141.6556701660156,\r
2212     "z": "4138d8f7.da252",\r
2213     "wires": [\r
2214       [\r
2215         "e508aa99.ed11b8"\r
2216       ]\r
2217     ]\r
2218   },\r
2219   {\r
2220     "id": "40663368.ea789c",\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": 5038.500244140625,\r
2226     "y": 1238,\r
2227     "z": "4138d8f7.da252",\r
2228     "wires": []\r
2229   },\r
2230   {\r
2231     "id": "e508aa99.ed11b8",\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": 5656.500244140625,\r
2237     "y": 1138,\r
2238     "z": "4138d8f7.da252",\r
2239     "wires": []\r
2240   },\r
2241   {\r
2242     "id": "e66147a6.9621b",\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": 4297.49951171875,\r
2248     "y": 373,\r
2249     "z": "4138d8f7.da252",\r
2250     "wires": []\r
2251   },\r
2252   {\r
2253     "id": "7411318a.e1b958",\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": 4288.49951171875,\r
2259     "y": 471,\r
2260     "z": "4138d8f7.da252",\r
2261     "wires": []\r
2262   },\r
2263   {\r
2264     "id": "62760f41.c93a2",\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": 4122.49951171875,\r
2272     "y": 379,\r
2273     "z": "4138d8f7.da252",\r
2274     "wires": [\r
2275       [\r
2276         "92f3b868.34ce6",\r
2277         "e66147a6.9621b"\r
2278       ]\r
2279     ]\r
2280   },\r
2281   {\r
2282     "id": "273e3fee.2bc13",\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": 4128.49951171875,\r
2290     "y": 443,\r
2291     "z": "4138d8f7.da252",\r
2292     "wires": [\r
2293       [\r
2294         "b6002239.68b828",\r
2295         "7411318a.e1b958"\r
2296       ]\r
2297     ]\r
2298   },\r
2299   {\r
2300     "id": "244a1c4c.c64574",\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": 4142.499267578125,\r
2308     "y": 607,\r
2309     "z": "4138d8f7.da252",\r
2310     "wires": [\r
2311       [\r
2312         "55137534.cd97cc",\r
2313         "94e7efd7.f5ec88"\r
2314       ]\r
2315     ]\r
2316   },\r
2317   {\r
2318     "id": "f48105e4.f03428",\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": 4145.499267578125,\r
2326     "y": 660,\r
2327     "z": "4138d8f7.da252",\r
2328     "wires": [\r
2329       [\r
2330         "ba173e3c.d3cf48",\r
2331         "9c20a9f9.7c2ff"\r
2332       ]\r
2333     ]\r
2334   },\r
2335   {\r
2336     "id": "94e7efd7.f5ec88",\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": 4364.499267578125,\r
2342     "y": 674,\r
2343     "z": "4138d8f7.da252",\r
2344     "wires": []\r
2345   },\r
2346   {\r
2347     "id": "9c20a9f9.7c2ff",\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": 4367.499267578125,\r
2353     "y": 765,\r
2354     "z": "4138d8f7.da252",\r
2355     "wires": []\r
2356   },\r
2357   {\r
2358     "id": "124feda4.be759a",\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": 3523.5,\r
2365     "y": 1711,\r
2366     "z": "4138d8f7.da252",\r
2367     "wires": [\r
2368       [\r
2369         "e1f69d4c.5b8868",\r
2370         "d4ae5d82.aab8b"\r
2371       ]\r
2372     ]\r
2373   },\r
2374   {\r
2375     "id": "7a356795.78dec",\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": 3350.83349609375,\r
2382     "y": 1712,\r
2383     "z": "4138d8f7.da252",\r
2384     "wires": [\r
2385       [\r
2386         "124feda4.be759a"\r
2387       ]\r
2388     ]\r
2389   },\r
2390   {\r
2391     "id": "c62c11ee.d3432",\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": 3360.324462890625,\r
2398     "y": 1754.5740356445312,\r
2399     "z": "4138d8f7.da252",\r
2400     "wires": [\r
2401       [\r
2402         "4d29ec31.00d144"\r
2403       ]\r
2404     ]\r
2405   },\r
2406   {\r
2407     "id": "fa667208.2a7ec",\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": 3348.83349609375,\r
2414     "y": 1801,\r
2415     "z": "4138d8f7.da252",\r
2416     "wires": [\r
2417       [\r
2418         "577a09e9.8378d8"\r
2419       ]\r
2420     ]\r
2421   },\r
2422   {\r
2423     "id": "4d29ec31.00d144",\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": 3513.8958740234375,\r
2429     "y": 1757.8597717285156,\r
2430     "z": "4138d8f7.da252",\r
2431     "wires": []\r
2432   },\r
2433   {\r
2434     "id": "577a09e9.8378d8",\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": 3517.83349609375,\r
2440     "y": 1802,\r
2441     "z": "4138d8f7.da252",\r
2442     "wires": []\r
2443   },\r
2444   {\r
2445     "id": "e1f69d4c.5b8868",\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": 3809.83349609375,\r
2452     "y": 1715.0001220703125,\r
2453     "z": "4138d8f7.da252",\r
2454     "wires": [\r
2455       [\r
2456         "67e03e9f.e657f8",\r
2457         "8f6dd9a8.907078"\r
2458       ]\r
2459     ]\r
2460   },\r
2461   {\r
2462     "id": "8f6dd9a8.907078",\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": 4032.83349609375,\r
2469     "y": 1670.0001220703125,\r
2470     "z": "4138d8f7.da252",\r
2471     "wires": [\r
2472       [\r
2473         "9d5c402b.afbc18"\r
2474       ]\r
2475     ]\r
2476   },\r
2477   {\r
2478     "id": "67e03e9f.e657f8",\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": 4034.83349609375,\r
2485     "y": 1734.0001220703125,\r
2486     "z": "4138d8f7.da252",\r
2487     "wires": [\r
2488       [\r
2489         "b1dc0c2e.2db02"\r
2490       ]\r
2491     ]\r
2492   },\r
2493   {\r
2494     "id": "b1dc0c2e.2db02",\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": 4193.83349609375,\r
2500     "y": 1753.0001220703125,\r
2501     "z": "4138d8f7.da252",\r
2502     "wires": []\r
2503   },\r
2504   {\r
2505     "id": "9d5c402b.afbc18",\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": 4197.83349609375,\r
2512     "y": 1667.0001220703125,\r
2513     "z": "4138d8f7.da252",\r
2514     "wires": [\r
2515       [\r
2516         "eb823b6e.5b1b68",\r
2517         "d1229eee.7607f"\r
2518       ]\r
2519     ]\r
2520   },\r
2521   {\r
2522     "id": "ec67f0f.b56539",\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": 3122.83349609375,\r
2529     "y": 1747,\r
2530     "z": "4138d8f7.da252",\r
2531     "wires": [\r
2532       [\r
2533         "7a356795.78dec",\r
2534         "c62c11ee.d3432",\r
2535         "fa667208.2a7ec"\r
2536       ]\r
2537     ]\r
2538   },\r
2539   {\r
2540     "id": "ef79491a.ef1ed",\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": 3083.83349609375,\r
2546     "y": 1691,\r
2547     "z": "4138d8f7.da252",\r
2548     "wires": []\r
2549   },\r
2550   {\r
2551     "id": "363ba934.edbd4e",\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": 3135.83349609375,\r
2558     "y": 1493,\r
2559     "z": "4138d8f7.da252",\r
2560     "wires": [\r
2561       [\r
2562         "fab0a5fc.8009e8",\r
2563         "1a41312c.3b3677"\r
2564       ]\r
2565     ]\r
2566   },\r
2567   {\r
2568     "id": "1a41312c.3b3677",\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": 3358.83349609375,\r
2575     "y": 1479,\r
2576     "z": "4138d8f7.da252",\r
2577     "wires": [\r
2578       [\r
2579         "41d39e09.02c3d8"\r
2580       ]\r
2581     ]\r
2582   },\r
2583   {\r
2584     "id": "fab0a5fc.8009e8",\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": 3360.83349609375,\r
2591     "y": 1512,\r
2592     "z": "4138d8f7.da252",\r
2593     "wires": [\r
2594       [\r
2595         "31a06a0b.93432e"\r
2596       ]\r
2597     ]\r
2598   },\r
2599   {\r
2600     "id": "31a06a0b.93432e",\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": 3503.83349609375,\r
2606     "y": 1509,\r
2607     "z": "4138d8f7.da252",\r
2608     "wires": []\r
2609   },\r
2610   {\r
2611     "id": "41d39e09.02c3d8",\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": 3506.83349609375,\r
2618     "y": 1472,\r
2619     "z": "4138d8f7.da252",\r
2620     "wires": [\r
2621       [\r
2622         "12fe71d9.7bf9be",\r
2623         "c47ac813.f199b8"\r
2624       ]\r
2625     ]\r
2626   },\r
2627   {\r
2628     "id": "12fe71d9.7bf9be",\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": 3700.83349609375,\r
2634     "y": 1475.0001220703125,\r
2635     "z": "4138d8f7.da252",\r
2636     "wires": []\r
2637   },\r
2638   {\r
2639     "id": "d4ae5d82.aab8b",\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": 3753.83349609375,\r
2646     "y": 1834,\r
2647     "z": "4138d8f7.da252",\r
2648     "wires": [\r
2649       [\r
2650         "7b8dd371.aa4964"\r
2651       ]\r
2652     ]\r
2653   },\r
2654   {\r
2655     "id": "7b8dd371.aa4964",\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": 3959.83349609375,\r
2662     "y": 1834,\r
2663     "z": "4138d8f7.da252",\r
2664     "wires": [\r
2665       [\r
2666         "e78bd2af.32742"\r
2667       ]\r
2668     ]\r
2669   },\r
2670   {\r
2671     "id": "e78bd2af.32742",\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": 4177.119140625,\r
2678     "y": 1832.82177734375,\r
2679     "z": "4138d8f7.da252",\r
2680     "wires": [\r
2681       [\r
2682         "231ad36e.3e7974"\r
2683       ]\r
2684     ]\r
2685   },\r
2686   {\r
2687     "id": "c47ac813.f199b8",\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": 3722.83349609375,\r
2694     "y": 1543.0001220703125,\r
2695     "z": "4138d8f7.da252",\r
2696     "wires": [\r
2697       [\r
2698         "14953bcb.0f686c",\r
2699         "5a2f3f75.0fbf6",\r
2700         "61553bc7.07748c"\r
2701       ]\r
2702     ]\r
2703   },\r
2704   {\r
2705     "id": "14953bcb.0f686c",\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": 3918.3336181640625,\r
2712     "y": 1495.0001220703125,\r
2713     "z": "4138d8f7.da252",\r
2714     "wires": [\r
2715       [\r
2716         "e9311021.d720e8"\r
2717       ]\r
2718     ]\r
2719   },\r
2720   {\r
2721     "id": "5a2f3f75.0fbf6",\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": 3910.3336181640625,\r
2728     "y": 1550.0001220703125,\r
2729     "z": "4138d8f7.da252",\r
2730     "wires": [\r
2731       [\r
2732         "4fbd5f1f.bd6168"\r
2733       ]\r
2734     ]\r
2735   },\r
2736   {\r
2737     "id": "61553bc7.07748c",\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": 3915.3336181640625,\r
2744     "y": 1607.0001220703125,\r
2745     "z": "4138d8f7.da252",\r
2746     "wires": [\r
2747       [\r
2748         "ccee2aed.1d2c48"\r
2749       ]\r
2750     ]\r
2751   },\r
2752   {\r
2753     "id": "ccee2aed.1d2c48",\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": 4067.3336181640625,\r
2759     "y": 1608.0001220703125,\r
2760     "z": "4138d8f7.da252",\r
2761     "wires": []\r
2762   },\r
2763   {\r
2764     "id": "4fbd5f1f.bd6168",\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": 4078.3336181640625,\r
2770     "y": 1553.0001220703125,\r
2771     "z": "4138d8f7.da252",\r
2772     "wires": []\r
2773   },\r
2774   {\r
2775     "id": "e9311021.d720e8",\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": 4062.7159423828125,\r
2783     "y": 1492.6557922363281,\r
2784     "z": "4138d8f7.da252",\r
2785     "wires": [\r
2786       [\r
2787         "12595c91.b718eb"\r
2788       ]\r
2789     ]\r
2790   },\r
2791   {\r
2792     "id": "eb823b6e.5b1b68",\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": 4367.83349609375,\r
2798     "y": 1628.0001220703125,\r
2799     "z": "4138d8f7.da252",\r
2800     "wires": []\r
2801   },\r
2802   {\r
2803     "id": "d1229eee.7607f",\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": 4368.83349609375,\r
2809     "y": 1733.0001220703125,\r
2810     "z": "4138d8f7.da252",\r
2811     "wires": []\r
2812   },\r
2813   {\r
2814     "id": "8d0a9501.e59f28",\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": 4363.83349609375,\r
2820     "y": 1682.0001220703125,\r
2821     "z": "4138d8f7.da252",\r
2822     "wires": []\r
2823   },\r
2824   {\r
2825     "id": "231ad36e.3e7974",\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": 4383.95068359375,\r
2832     "y": 1822.3404541015625,\r
2833     "z": "4138d8f7.da252",\r
2834     "wires": [\r
2835       [\r
2836         "16f2e433.3291b4",\r
2837         "80f33246.16c218",\r
2838         "51170c35.40a6bc"\r
2839       ]\r
2840     ]\r
2841   },\r
2842   {\r
2843     "id": "16f2e433.3291b4",\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": 4598.95068359375,\r
2849     "y": 1784.3404541015625,\r
2850     "z": "4138d8f7.da252",\r
2851     "wires": []\r
2852   },\r
2853   {\r
2854     "id": "80f33246.16c218",\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": 4595.95068359375,\r
2861     "y": 1823.3404541015625,\r
2862     "z": "4138d8f7.da252",\r
2863     "wires": [\r
2864       [\r
2865         "ec1220f2.c0002"\r
2866       ]\r
2867     ]\r
2868   },\r
2869   {\r
2870     "id": "51170c35.40a6bc",\r
2871     "type": "break",\r
2872     "name": "break",\r
2873     "xml": "<break>\n",\r
2874     "comments": "",\r
2875     "x": 4551.45068359375,\r
2876     "y": 1865.3404541015625,\r
2877     "z": "4138d8f7.da252",\r
2878     "wires": []\r
2879   },\r
2880   {\r
2881     "id": "ec1220f2.c0002",\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": 4776.45068359375,\r
2888     "y": 1822.3404541015625,\r
2889     "z": "4138d8f7.da252",\r
2890     "wires": [\r
2891       [\r
2892         "757e93f0.7ee45c"\r
2893       ]\r
2894     ]\r
2895   },\r
2896   {\r
2897     "id": "757e93f0.7ee45c",\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": 4934.45068359375,\r
2904     "y": 1822.3404541015625,\r
2905     "z": "4138d8f7.da252",\r
2906     "wires": [\r
2907       [\r
2908         "c7244ae.af2a238"\r
2909       ]\r
2910     ]\r
2911   },\r
2912   {\r
2913     "id": "c7244ae.af2a238",\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": 5141.45068359375,\r
2919     "y": 1822.3404541015625,\r
2920     "z": "4138d8f7.da252",\r
2921     "wires": []\r
2922   },\r
2923   {\r
2924     "id": "7e549eab.8dbb18",\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": 4644.83349609375,\r
2931     "y": 1511.0001220703125,\r
2932     "z": "4138d8f7.da252",\r
2933     "wires": [\r
2934       [\r
2935         "1d3b129c.b2a675"\r
2936       ]\r
2937     ]\r
2938   },\r
2939   {\r
2940     "id": "1d3b129c.b2a675",\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": 4821.83349609375,\r
2947     "y": 1503.0001220703125,\r
2948     "z": "4138d8f7.da252",\r
2949     "wires": [\r
2950       [\r
2951         "b6b58a8c.8e7ea8",\r
2952         "dc3d97ac.463e28"\r
2953       ]\r
2954     ]\r
2955   },\r
2956   {\r
2957     "id": "12595c91.b718eb",\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": 4246.83349609375,\r
2964     "y": 1507.0001220703125,\r
2965     "z": "4138d8f7.da252",\r
2966     "wires": [\r
2967       [\r
2968         "a772c4a4.38145"\r
2969       ]\r
2970     ]\r
2971   },\r
2972   {\r
2973     "id": "a772c4a4.38145",\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": 4441.83349609375,\r
2980     "y": 1507.0001220703125,\r
2981     "z": "4138d8f7.da252",\r
2982     "wires": [\r
2983       [\r
2984         "7e549eab.8dbb18",\r
2985         "aea7a178.f6fc4"\r
2986       ]\r
2987     ]\r
2988   },\r
2989   {\r
2990     "id": "dc3d97ac.463e28",\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": 5029.83349609375,\r
2997     "y": 1510.0001220703125,\r
2998     "z": "4138d8f7.da252",\r
2999     "wires": [\r
3000       [\r
3001         "3bf3e082.eea5e8",\r
3002         "58cb7d25.d2da94",\r
3003         "d2f7fa01.93a528"\r
3004       ]\r
3005     ]\r
3006   },\r
3007   {\r
3008     "id": "a307fd53.34615",\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": 4823.83349609375,\r
3015     "y": 1576.0001220703125,\r
3016     "z": "4138d8f7.da252",\r
3017     "wires": [\r
3018       [\r
3019         "ca73ba2d.29c1c8"\r
3020       ]\r
3021     ]\r
3022   },\r
3023   {\r
3024     "id": "aea7a178.f6fc4",\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": 4646.83349609375,\r
3031     "y": 1584.0001220703125,\r
3032     "z": "4138d8f7.da252",\r
3033     "wires": [\r
3034       [\r
3035         "a307fd53.34615"\r
3036       ]\r
3037     ]\r
3038   },\r
3039   {\r
3040     "id": "b6b58a8c.8e7ea8",\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": 5059.83349609375,\r
3046     "y": 1458.0001220703125,\r
3047     "z": "4138d8f7.da252",\r
3048     "wires": []\r
3049   },\r
3050   {\r
3051     "id": "ca73ba2d.29c1c8",\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": 5005.83349609375,\r
3057     "y": 1640.0001220703125,\r
3058     "z": "4138d8f7.da252",\r
3059     "wires": []\r
3060   },\r
3061   {\r
3062     "id": "3bf3e082.eea5e8",\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": 5239.83349609375,\r
3069     "y": 1501.0001220703125,\r
3070     "z": "4138d8f7.da252",\r
3071     "wires": [\r
3072       [\r
3073         "36f4f947.29aeae"\r
3074       ]\r
3075     ]\r
3076   },\r
3077   {\r
3078     "id": "58cb7d25.d2da94",\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": 5231.83349609375,\r
3085     "y": 1556.0001220703125,\r
3086     "z": "4138d8f7.da252",\r
3087     "wires": [\r
3088       [\r
3089         "b7803a75.d7ec1"\r
3090       ]\r
3091     ]\r
3092   },\r
3093   {\r
3094     "id": "d2f7fa01.93a528",\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": 5236.83349609375,\r
3101     "y": 1613.0001220703125,\r
3102     "z": "4138d8f7.da252",\r
3103     "wires": [\r
3104       [\r
3105         "8d6cbae8.86128"\r
3106       ]\r
3107     ]\r
3108   },\r
3109   {\r
3110     "id": "8d6cbae8.86128",\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": 5388.83349609375,\r
3116     "y": 1614.0001220703125,\r
3117     "z": "4138d8f7.da252",\r
3118     "wires": []\r
3119   },\r
3120   {\r
3121     "id": "b7803a75.d7ec1",\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": 5399.83349609375,\r
3127     "y": 1559.0001220703125,\r
3128     "z": "4138d8f7.da252",\r
3129     "wires": []\r
3130   },\r
3131   {\r
3132     "id": "36f4f947.29aeae",\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": 5384.2158203125,\r
3140     "y": 1498.6557922363281,\r
3141     "z": "4138d8f7.da252",\r
3142     "wires": [\r
3143       [\r
3144         "b6324aba.def4e"\r
3145       ]\r
3146     ]\r
3147   },\r
3148   {\r
3149     "id": "b6324aba.def4e",\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": 5598.83349609375,\r
3155     "y": 1495.0001220703125,\r
3156     "z": "4138d8f7.da252",\r
3157     "wires": []\r
3158   },\r
3159   {\r
3160     "id": "631e76e1.71afc",\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": 3187.5,\r
3166     "y": 1317,\r
3167     "z": "4138d8f7.da252",\r
3168     "wires": []\r
3169   },\r
3170   {\r
3171     "id": "d1d7f338.2c48e",\r
3172     "type": "comment",\r
3173     "name": "This is it (should be)",\r
3174     "info": "",\r
3175     "comments": "",\r
3176     "x": 4464.49951171875,\r
3177     "y": 457,\r
3178     "z": "4138d8f7.da252",\r
3179     "wires": []\r
3180   },\r
3181   {\r
3182     "id": "df68ae5a.c6abe",\r
3183     "type": "comment",\r
3184     "name": "This is it (should be)",\r
3185     "info": "",\r
3186     "comments": "",\r
3187     "x": 4532.499267578125,\r
3188     "y": 659,\r
3189     "z": "4138d8f7.da252",\r
3190     "wires": []\r
3191   },\r
3192   {\r
3193     "id": "b17f4ff2.75d93",\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": 3083.5,\r
3199     "y": 1878,\r
3200     "z": "4138d8f7.da252",\r
3201     "wires": []\r
3202   },\r
3203   {\r
3204     "id": "8048035e.723ef",\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": 3345.5,\r
3211     "y": 2791,\r
3212     "z": "4138d8f7.da252",\r
3213     "wires": [\r
3214       []\r
3215     ]\r
3216   },\r
3217   {\r
3218     "id": "d590aba5.94aa48",\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": 3222.5,\r
3225     "y": 2901,\r
3226     "z": "4138d8f7.da252",\r
3227     "wires": [\r
3228       [\r
3229         "507ab41.362cbcc",\r
3230         "63f9a6e5.2f9178"\r
3231       ]\r
3232     ]\r
3233   },\r
3234   {\r
3235     "id": "507ab41.362cbcc",\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": 3406.5,\r
3242     "y": 2880,\r
3243     "z": "4138d8f7.da252",\r
3244     "wires": [\r
3245       [\r
3246         "28f5fd24.d628ea"\r
3247       ]\r
3248     ]\r
3249   },\r
3250   {\r
3251     "id": "63f9a6e5.2f9178",\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": 2942.5,\r
3258     "y": 4466,\r
3259     "z": "4138d8f7.da252",\r
3260     "wires": [\r
3261       [\r
3262         "db2110db.2b1778"\r
3263       ]\r
3264     ]\r
3265   },\r
3266   {\r
3267     "id": "9f11b3.a8080e5",\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": 3453.5,\r
3275     "y": 5051,\r
3276     "z": "4138d8f7.da252",\r
3277     "wires": [\r
3278       [\r
3279         "40ac4d15.a539ec",\r
3280         "577ac65e.4cd8e8",\r
3281         "c33c721b.c24a68",\r
3282         "e8ff43f0.c9213",\r
3283         "c23415ae.23176",\r
3284         "b27458da.77b73"\r
3285       ]\r
3286     ]\r
3287   },\r
3288   {\r
3289     "id": "28f5fd24.d628ea",\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": 6119.5,\r
3297     "y": 1700,\r
3298     "z": "4138d8f7.da252",\r
3299     "wires": [\r
3300       [\r
3301         "4783da3c.fb84a4",\r
3302         "bb88421.9f996c",\r
3303         "55b1d688.471dd",\r
3304         "31123019.0abe4",\r
3305         "1759beb1.f3c1d1",\r
3306         "98f705b0.6bc73",\r
3307         "b6e856a5.c69918",\r
3308         "277a36b1.830aba",\r
3309         "f9e2137d.7a2d78",\r
3310         "3298314.8dc664e",\r
3311         "cfdca91b.21bde",\r
3312         "a46de057.2f2f3",\r
3313         "2c505364.e529bc",\r
3314         "5713069a.52e6e",\r
3315         "736cdf51.8421c8",\r
3316         "a19bdc2c.350be8",\r
3317         "829d6c73.aa7da8",\r
3318         "57d8804.ea8d28",\r
3319         "39b6682a.960bc",\r
3320         "858f96c1.79cbc",\r
3321         "1b0442b9.4b628d",\r
3322         "c1546bd.e66d418"\r
3323       ]\r
3324     ]\r
3325   },\r
3326   {\r
3327     "id": "f9e2137d.7a2d78",\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": 6490.5,\r
3334     "y": 1623,\r
3335     "z": "4138d8f7.da252",\r
3336     "wires": [\r
3337       []\r
3338     ]\r
3339   },\r
3340   {\r
3341     "id": "4783da3c.fb84a4",\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3345     "comments": "",\r
3346     "outputs": 1,\r
3347     "x": 6444.5,\r
3348     "y": 1721,\r
3349     "z": "4138d8f7.da252",\r
3350     "wires": [\r
3351       []\r
3352     ]\r
3353   },\r
3354   {\r
3355     "id": "bb88421.9f996c",\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": 6580.5,\r
3362     "y": 1768,\r
3363     "z": "4138d8f7.da252",\r
3364     "wires": [\r
3365       []\r
3366     ]\r
3367   },\r
3368   {\r
3369     "id": "a3afcd58.883878",\r
3370     "type": "comment",\r
3371     "name": "Create ROOT connectivity",\r
3372     "info": "",\r
3373     "comments": "",\r
3374     "x": 6411.5,\r
3375     "y": 1572,\r
3376     "z": "4138d8f7.da252",\r
3377     "wires": []\r
3378   },\r
3379   {\r
3380     "id": "47893e3d.7abf68",\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": 6907.5,\r
3386     "y": 2308,\r
3387     "z": "4138d8f7.da252",\r
3388     "wires": []\r
3389   },\r
3390   {\r
3391     "id": "55b1d688.471dd",\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": 6471.5,\r
3398     "y": 2347,\r
3399     "z": "4138d8f7.da252",\r
3400     "wires": [\r
3401       []\r
3402     ]\r
3403   },\r
3404   {\r
3405     "id": "31123019.0abe4",\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3409     "comments": "",\r
3410     "outputs": 1,\r
3411     "x": 6419.5,\r
3412     "y": 2398,\r
3413     "z": "4138d8f7.da252",\r
3414     "wires": [\r
3415       []\r
3416     ]\r
3417   },\r
3418   {\r
3419     "id": "1759beb1.f3c1d1",\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": 6555.5,\r
3426     "y": 2445,\r
3427     "z": "4138d8f7.da252",\r
3428     "wires": [\r
3429       []\r
3430     ]\r
3431   },\r
3432   {\r
3433     "id": "71216be9.ff79f4",\r
3434     "type": "comment",\r
3435     "name": "Create MIDDLE-MAN connectivity",\r
3436     "info": "",\r
3437     "comments": "",\r
3438     "x": 6412.5,\r
3439     "y": 2307,\r
3440     "z": "4138d8f7.da252",\r
3441     "wires": []\r
3442   },\r
3443   {\r
3444     "id": "3446875.4213df8",\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": 6842.5,\r
3452     "y": 2504,\r
3453     "z": "4138d8f7.da252",\r
3454     "wires": [\r
3455       []\r
3456     ]\r
3457   },\r
3458   {\r
3459     "id": "98f705b0.6bc73",\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": 6433.5,\r
3466     "y": 2551,\r
3467     "z": "4138d8f7.da252",\r
3468     "wires": [\r
3469       [\r
3470         "4cd47e4a.423aa8",\r
3471         "dbf8ee5e.1c40a8",\r
3472         "e7f2720f.fd9208"\r
3473       ]\r
3474     ]\r
3475   },\r
3476   {\r
3477     "id": "4cd47e4a.423aa8",\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": 6680.5,\r
3484     "y": 2505,\r
3485     "z": "4138d8f7.da252",\r
3486     "wires": [\r
3487       [\r
3488         "3446875.4213df8"\r
3489       ]\r
3490     ]\r
3491   },\r
3492   {\r
3493     "id": "dbf8ee5e.1c40a8",\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": 6680.990966796875,\r
3500     "y": 2550.5740356445312,\r
3501     "z": "4138d8f7.da252",\r
3502     "wires": [\r
3503       [\r
3504         "5c2d61a6.b888d8"\r
3505       ]\r
3506     ]\r
3507   },\r
3508   {\r
3509     "id": "e7f2720f.fd9208",\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": 6678.5,\r
3516     "y": 2594,\r
3517     "z": "4138d8f7.da252",\r
3518     "wires": [\r
3519       [\r
3520         "7deb6a39.1c780c"\r
3521       ]\r
3522     ]\r
3523   },\r
3524   {\r
3525     "id": "5c2d61a6.b888d8",\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": 6843.5623779296875,\r
3531     "y": 2550.8597717285156,\r
3532     "z": "4138d8f7.da252",\r
3533     "wires": []\r
3534   },\r
3535   {\r
3536     "id": "7deb6a39.1c780c",\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": 6847.5,\r
3542     "y": 2595,\r
3543     "z": "4138d8f7.da252",\r
3544     "wires": []\r
3545   },\r
3546   {\r
3547     "id": "736cdf51.8421c8",\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": 6487.5,\r
3554     "y": 2867,\r
3555     "z": "4138d8f7.da252",\r
3556     "wires": [\r
3557       []\r
3558     ]\r
3559   },\r
3560   {\r
3561     "id": "a19bdc2c.350be8",\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": 6490.5,\r
3568     "y": 2912,\r
3569     "z": "4138d8f7.da252",\r
3570     "wires": [\r
3571       []\r
3572     ]\r
3573   },\r
3574   {\r
3575     "id": "57d8804.ea8d28",\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": 6482.5,\r
3582     "y": 2666,\r
3583     "z": "4138d8f7.da252",\r
3584     "wires": [\r
3585       []\r
3586     ]\r
3587   },\r
3588   {\r
3589     "id": "39b6682a.960bc",\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": 6484.5,\r
3596     "y": 2713,\r
3597     "z": "4138d8f7.da252",\r
3598     "wires": [\r
3599       []\r
3600     ]\r
3601   },\r
3602   {\r
3603     "id": "35de923d.3dc786",\r
3604     "type": "comment",\r
3605     "name": "The following two will be done in F1",\r
3606     "info": "",\r
3607     "comments": "",\r
3608     "x": 6403.5,\r
3609     "y": 2820,\r
3610     "z": "4138d8f7.da252",\r
3611     "wires": []\r
3612   },\r
3613   {\r
3614     "id": "64b6242c.0fc1a4",\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": 4403.500244140625,\r
3621     "y": 5213,\r
3622     "z": "4138d8f7.da252",\r
3623     "wires": [\r
3624       []\r
3625     ]\r
3626   },\r
3627   {\r
3628     "id": "40ac4d15.a539ec",\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": 3668.5,\r
3635     "y": 5032,\r
3636     "z": "4138d8f7.da252",\r
3637     "wires": [\r
3638       [\r
3639         "243fddd4.c99fc2",\r
3640         "ed2a1041.39364"\r
3641       ]\r
3642     ]\r
3643   },\r
3644   {\r
3645     "id": "ed2a1041.39364",\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": 3840.5,\r
3652     "y": 5029,\r
3653     "z": "4138d8f7.da252",\r
3654     "wires": [\r
3655       [\r
3656         "f749d2c9.24f0b"\r
3657       ]\r
3658     ]\r
3659   },\r
3660   {\r
3661     "id": "243fddd4.c99fc2",\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": 3792.5,\r
3668     "y": 5876,\r
3669     "z": "4138d8f7.da252",\r
3670     "wires": [\r
3671       [\r
3672         "a2f25d49.46cd88"\r
3673       ]\r
3674     ]\r
3675   },\r
3676   {\r
3677     "id": "54d55fbb.9ecd9",\r
3678     "type": "comment",\r
3679     "name": "1 --> PCE is needed",\r
3680     "info": "",\r
3681     "comments": "",\r
3682     "x": 3853.5,\r
3683     "y": 4999,\r
3684     "z": "4138d8f7.da252",\r
3685     "wires": []\r
3686   },\r
3687   {\r
3688     "id": "2bf8aac8.9b318e",\r
3689     "type": "comment",\r
3690     "name": "2 --> no need to call PCE",\r
3691     "info": "",\r
3692     "comments": "",\r
3693     "x": 3863.5,\r
3694     "y": 5834,\r
3695     "z": "4138d8f7.da252",\r
3696     "wires": []\r
3697   },\r
3698   {\r
3699     "id": "b6e856a5.c69918",\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": 6489.5,\r
3706     "y": 3046,\r
3707     "z": "4138d8f7.da252",\r
3708     "wires": [\r
3709       []\r
3710     ]\r
3711   },\r
3712   {\r
3713     "id": "f749d2c9.24f0b",\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": 4016.5,\r
3721     "y": 5031,\r
3722     "z": "4138d8f7.da252",\r
3723     "wires": [\r
3724       [\r
3725         "b146a69c.13b518",\r
3726         "436ccdfb.1e8f5c",\r
3727         "124f51e3.777566",\r
3728         "91ebdf82.9979e",\r
3729         "3da01b2d.c332ec",\r
3730         "59b34ffd.7f824",\r
3731         "64b6242c.0fc1a4",\r
3732         "cb7342b9.a9c168",\r
3733         "7a7c44d8.30aa44"\r
3734       ]\r
3735     ]\r
3736   },\r
3737   {\r
3738     "id": "f96e508.5132a3",\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": 5460.499755859375,\r
3744     "y": 4956,\r
3745     "z": "4138d8f7.da252",\r
3746     "wires": []\r
3747   },\r
3748   {\r
3749     "id": "b146a69c.13b518",\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": 4262.500244140625,\r
3756     "y": 5712,\r
3757     "z": "4138d8f7.da252",\r
3758     "wires": [\r
3759       []\r
3760     ]\r
3761   },\r
3762   {\r
3763     "id": "277a36b1.830aba",\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": 6496.5,\r
3770     "y": 1962,\r
3771     "z": "4138d8f7.da252",\r
3772     "wires": [\r
3773       []\r
3774     ]\r
3775   },\r
3776   {\r
3777     "id": "467249d9.2faa78",\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": 6546.5,\r
3783     "y": 1665,\r
3784     "z": "4138d8f7.da252",\r
3785     "wires": []\r
3786   },\r
3787   {\r
3788     "id": "3298314.8dc664e",\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": 6493.5,\r
3795     "y": 1253,\r
3796     "z": "4138d8f7.da252",\r
3797     "wires": [\r
3798       []\r
3799     ]\r
3800   },\r
3801   {\r
3802     "id": "cfdca91b.21bde",\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3806     "comments": "",\r
3807     "outputs": 1,\r
3808     "x": 6441.5,\r
3809     "y": 1301,\r
3810     "z": "4138d8f7.da252",\r
3811     "wires": [\r
3812       []\r
3813     ]\r
3814   },\r
3815   {\r
3816     "id": "a46de057.2f2f3",\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": 6569.5,\r
3823     "y": 1348,\r
3824     "z": "4138d8f7.da252",\r
3825     "wires": [\r
3826       []\r
3827     ]\r
3828   },\r
3829   {\r
3830     "id": "f85b4c38.36c218",\r
3831     "type": "comment",\r
3832     "name": "Create LEAF connectivity",\r
3833     "info": "",\r
3834     "comments": "",\r
3835     "x": 6406.5,\r
3836     "y": 1211,\r
3837     "z": "4138d8f7.da252",\r
3838     "wires": []\r
3839   },\r
3840   {\r
3841     "id": "2c505364.e529bc",\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='data-source' value='`$gfp`' />",\r
3845     "comments": "",\r
3846     "outputs": 1,\r
3847     "x": 6403.5,\r
3848     "y": 1439,\r
3849     "z": "4138d8f7.da252",\r
3850     "wires": [\r
3851       []\r
3852     ]\r
3853   },\r
3854   {\r
3855     "id": "5713069a.52e6e",\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": 6496.5,\r
3862     "y": 1492,\r
3863     "z": "4138d8f7.da252",\r
3864     "wires": [\r
3865       []\r
3866     ]\r
3867   },\r
3868   {\r
3869     "id": "9a759e0c.1860c8",\r
3870     "type": "comment",\r
3871     "name": "Create LEAF UNI",\r
3872     "info": "",\r
3873     "comments": "",\r
3874     "x": 6387.5,\r
3875     "y": 1395,\r
3876     "z": "4138d8f7.da252",\r
3877     "wires": []\r
3878   },\r
3879   {\r
3880     "id": "147d7127.d8042f",\r
3881     "type": "comment",\r
3882     "name": "Create ROOT UNI",\r
3883     "info": "",\r
3884     "comments": "",\r
3885     "x": 6393.5,\r
3886     "y": 1845,\r
3887     "z": "4138d8f7.da252",\r
3888     "wires": []\r
3889   },\r
3890   {\r
3891     "id": "91ebdf82.9979e",\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='data-source' value='`$gfp`' />\n",\r
3895     "comments": "",\r
3896     "outputs": 1,\r
3897     "x": 4329.499755859375,\r
3898     "y": 4964,\r
3899     "z": "4138d8f7.da252",\r
3900     "wires": [\r
3901       []\r
3902     ]\r
3903   },\r
3904   {\r
3905     "id": "148c6264.137e86",\r
3906     "type": "comment",\r
3907     "name": "Create LEAF UNI",\r
3908     "info": "",\r
3909     "comments": "",\r
3910     "x": 4313.499755859375,\r
3911     "y": 4920,\r
3912     "z": "4138d8f7.da252",\r
3913     "wires": []\r
3914   },\r
3915   {\r
3916     "id": "c1a606a9.56c798",\r
3917     "type": "comment",\r
3918     "name": "Create LEAF connectivity",\r
3919     "info": "",\r
3920     "comments": "",\r
3921     "x": 5060.499755859375,\r
3922     "y": 4951,\r
3923     "z": "4138d8f7.da252",\r
3924     "wires": []\r
3925   },\r
3926   {\r
3927     "id": "fd2b62b6.10b14",\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": 5147.499755859375,\r
3934     "y": 4993,\r
3935     "z": "4138d8f7.da252",\r
3936     "wires": [\r
3937       []\r
3938     ]\r
3939   },\r
3940   {\r
3941     "id": "f21eb35f.395438",\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
3945     "comments": "",\r
3946     "outputs": 1,\r
3947     "x": 5095.499755859375,\r
3948     "y": 5041,\r
3949     "z": "4138d8f7.da252",\r
3950     "wires": [\r
3951       []\r
3952     ]\r
3953   },\r
3954   {\r
3955     "id": "59f69d26.ab3de4",\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": 5223.499755859375,\r
3962     "y": 5088,\r
3963     "z": "4138d8f7.da252",\r
3964     "wires": [\r
3965       []\r
3966     ]\r
3967   },\r
3968   {\r
3969     "id": "59b34ffd.7f824",\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": 4391.500244140625,\r
3976     "y": 5255,\r
3977     "z": "4138d8f7.da252",\r
3978     "wires": [\r
3979       []\r
3980     ]\r
3981   },\r
3982   {\r
3983     "id": "9d4ad6d0.458de8",\r
3984     "type": "comment",\r
3985     "name": "populate connectivity-B variable in the context map",\r
3986     "info": "",\r
3987     "comments": "",\r
3988     "x": 4374.500244140625,\r
3989     "y": 5317,\r
3990     "z": "4138d8f7.da252",\r
3991     "wires": []\r
3992   },\r
3993   {\r
3994     "id": "436ccdfb.1e8f5c",\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": 4485.500244140625,\r
4001     "y": 5359,\r
4002     "z": "4138d8f7.da252",\r
4003     "wires": [\r
4004       []\r
4005     ]\r
4006   },\r
4007   {\r
4008     "id": "3e23ff77.47e2b",\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": 4942.499755859375,\r
4014     "y": 5530,\r
4015     "z": "4138d8f7.da252",\r
4016     "wires": []\r
4017   },\r
4018   {\r
4019     "id": "ff11fb03.980398",\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": 4252.499755859375,\r
4026     "y": 6228,\r
4027     "z": "4138d8f7.da252",\r
4028     "wires": [\r
4029       []\r
4030     ]\r
4031   },\r
4032   {\r
4033     "id": "4e6fe55.c2f201c",\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='data-source' value='`$gfp`' />\n",\r
4037     "comments": "",\r
4038     "outputs": 1,\r
4039     "x": 4185.499755859375,\r
4040     "y": 6182,\r
4041     "z": "4138d8f7.da252",\r
4042     "wires": [\r
4043       []\r
4044     ]\r
4045   },\r
4046   {\r
4047     "id": "79eda8bd.206ac",\r
4048     "type": "comment",\r
4049     "name": "Create LEAF UNI",\r
4050     "info": "",\r
4051     "comments": "",\r
4052     "x": 4134.499755859375,\r
4053     "y": 6133,\r
4054     "z": "4138d8f7.da252",\r
4055     "wires": []\r
4056   },\r
4057   {\r
4058     "id": "2a4071b4.a3adee",\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": 4917.5,\r
4065     "y": 6339,\r
4066     "z": "4138d8f7.da252",\r
4067     "wires": [\r
4068       []\r
4069     ]\r
4070   },\r
4071   {\r
4072     "id": "124f51e3.777566",\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": 4312.500244140625,\r
4079     "y": 5416,\r
4080     "z": "4138d8f7.da252",\r
4081     "wires": [\r
4082       [\r
4083         "ce39c047.e7ad38",\r
4084         "bd96b648.334cf8"\r
4085       ]\r
4086     ]\r
4087   },\r
4088   {\r
4089     "id": "ce39c047.e7ad38",\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": 4523.500244140625,\r
4096     "y": 5416,\r
4097     "z": "4138d8f7.da252",\r
4098     "wires": [\r
4099       [\r
4100         "acd66ccf.e95b3"\r
4101       ]\r
4102     ]\r
4103   },\r
4104   {\r
4105     "id": "acd66ccf.e95b3",\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": 4679.500244140625,\r
4113     "y": 5412,\r
4114     "z": "4138d8f7.da252",\r
4115     "wires": [\r
4116       [\r
4117         "3e23ff77.47e2b",\r
4118         "1f30d01.395cc3",\r
4119         "58a0b8d5.3916c8"\r
4120       ]\r
4121     ]\r
4122   },\r
4123   {\r
4124     "id": "bd96b648.334cf8",\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": 4519.500244140625,\r
4131     "y": 5464,\r
4132     "z": "4138d8f7.da252",\r
4133     "wires": [\r
4134       [\r
4135         "2c5c5163.2ee716"\r
4136       ]\r
4137     ]\r
4138   },\r
4139   {\r
4140     "id": "2c5c5163.2ee716",\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": 4667.500244140625,\r
4146     "y": 5459,\r
4147     "z": "4138d8f7.da252",\r
4148     "wires": []\r
4149   },\r
4150   {\r
4151     "id": "8af1d85e.882ed",\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": 5184.499755859375,\r
4158     "y": 5159,\r
4159     "z": "4138d8f7.da252",\r
4160     "wires": [\r
4161       []\r
4162     ]\r
4163   },\r
4164   {\r
4165     "id": "cf6d7172.69b4b8",\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": 2351.5,\r
4172     "y": 118,\r
4173     "z": "4138d8f7.da252",\r
4174     "wires": [\r
4175       []\r
4176     ]\r
4177   },\r
4178   {\r
4179     "id": "326038f4.f291a",\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": 2285.5,\r
4185     "y": 154,\r
4186     "z": "4138d8f7.da252",\r
4187     "wires": []\r
4188   },\r
4189   {\r
4190     "id": "2bce3640.48de4a",\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": 2470.5,\r
4196     "y": 81,\r
4197     "z": "4138d8f7.da252",\r
4198     "wires": []\r
4199   },\r
4200   {\r
4201     "id": "7170f2f2.71fadc",\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": 4219.499755859375,\r
4207     "y": 6294,\r
4208     "z": "4138d8f7.da252",\r
4209     "wires": []\r
4210   },\r
4211   {\r
4212     "id": "2402858c.2e7c4a",\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": 4352.499755859375,\r
4219     "y": 6342,\r
4220     "z": "4138d8f7.da252",\r
4221     "wires": [\r
4222       []\r
4223     ]\r
4224   },\r
4225   {\r
4226     "id": "2fcf2035.98d3c",\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": 4171.499755859375,\r
4233     "y": 6400,\r
4234     "z": "4138d8f7.da252",\r
4235     "wires": [\r
4236       [\r
4237         "c3761e40.b25338",\r
4238         "ce543bbd.a7b0f8"\r
4239       ]\r
4240     ]\r
4241   },\r
4242   {\r
4243     "id": "c3761e40.b25338",\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": 4364.499755859375,\r
4250     "y": 6401,\r
4251     "z": "4138d8f7.da252",\r
4252     "wires": [\r
4253       [\r
4254         "70442e7d.0be548"\r
4255       ]\r
4256     ]\r
4257   },\r
4258   {\r
4259     "id": "70442e7d.0be548",\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": 4520.499755859375,\r
4265     "y": 6398,\r
4266     "z": "4138d8f7.da252",\r
4267     "wires": []\r
4268   },\r
4269   {\r
4270     "id": "ce543bbd.a7b0f8",\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": 4368.499755859375,\r
4277     "y": 6445,\r
4278     "z": "4138d8f7.da252",\r
4279     "wires": [\r
4280       [\r
4281         "47cf8ce2.24939c"\r
4282       ]\r
4283     ]\r
4284   },\r
4285   {\r
4286     "id": "47cf8ce2.24939c",\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": 4507.499755859375,\r
4294     "y": 6440,\r
4295     "z": "4138d8f7.da252",\r
4296     "wires": [\r
4297       [\r
4298         "2a4071b4.a3adee",\r
4299         "ca3ef968.6dda08",\r
4300         "9655804c.a8367",\r
4301         "94748373.e9e958",\r
4302         "a0da2cb6.f8de08",\r
4303         "5744849a.cc54ac",\r
4304         "4e084c4a.411b3c",\r
4305         "9bb50a9.812c6f8",\r
4306         "5a3abbf9.5bd584",\r
4307         "860af8d0.fc96e8",\r
4308         "f942597e.1aa18",\r
4309         "fc4aa587.17d69",\r
4310         "afa717d0.25e7a8"\r
4311       ]\r
4312     ]\r
4313   },\r
4314   {\r
4315     "id": "4e084c4a.411b3c",\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": 4704.499755859375,\r
4322     "y": 7119,\r
4323     "z": "4138d8f7.da252",\r
4324     "wires": [\r
4325       [\r
4326         "b531f7cf.459858",\r
4327         "14585404.95eb44",\r
4328         "91bd86e2.073e5"\r
4329       ]\r
4330     ]\r
4331   },\r
4332   {\r
4333     "id": "b531f7cf.459858",\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": 4899.499969482422,\r
4340     "y": 7094.999969482422,\r
4341     "z": "4138d8f7.da252",\r
4342     "wires": [\r
4343       [\r
4344         "7a861e6f.3259d"\r
4345       ]\r
4346     ]\r
4347   },\r
4348   {\r
4349     "id": "14585404.95eb44",\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": 4891.990936279297,\r
4356     "y": 7131.574005126953,\r
4357     "z": "4138d8f7.da252",\r
4358     "wires": [\r
4359       [\r
4360         "7b4d1550.4d39b4"\r
4361       ]\r
4362     ]\r
4363   },\r
4364   {\r
4365     "id": "91bd86e2.073e5",\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": 4889.499969482422,\r
4372     "y": 7174.999969482422,\r
4373     "z": "4138d8f7.da252",\r
4374     "wires": [\r
4375       [\r
4376         "c9793222.0d19b8"\r
4377       ]\r
4378     ]\r
4379   },\r
4380   {\r
4381     "id": "7a861e6f.3259d",\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": 5071.499969482422,\r
4388     "y": 7092.999969482422,\r
4389     "z": "4138d8f7.da252",\r
4390     "wires": [\r
4391       [\r
4392         "96392b44.e759e"\r
4393       ]\r
4394     ]\r
4395   },\r
4396   {\r
4397     "id": "7b4d1550.4d39b4",\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": 5054.562347412109,\r
4403     "y": 7131.8597412109375,\r
4404     "z": "4138d8f7.da252",\r
4405     "wires": []\r
4406   },\r
4407   {\r
4408     "id": "c9793222.0d19b8",\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": 5056.499969482422,\r
4414     "y": 7173.999969482422,\r
4415     "z": "4138d8f7.da252",\r
4416     "wires": []\r
4417   },\r
4418   {\r
4419     "id": "96392b44.e759e",\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": 5312.499755859375,\r
4426     "y": 7127,\r
4427     "z": "4138d8f7.da252",\r
4428     "wires": [\r
4429       [\r
4430         "dcbe395c.2f719"\r
4431       ]\r
4432     ]\r
4433   },\r
4434   {\r
4435     "id": "dcbe395c.2f719",\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": 5549.499755859375,\r
4443     "y": 7123,\r
4444     "z": "4138d8f7.da252",\r
4445     "wires": [\r
4446       [\r
4447         "d5739a70.ba04c"\r
4448       ]\r
4449     ]\r
4450   },\r
4451   {\r
4452     "id": "6bd2c51b.a65de4",\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": 5816.499755859375,\r
4459     "y": 7089,\r
4460     "z": "4138d8f7.da252",\r
4461     "wires": [\r
4462       [\r
4463         "c0446363.1c2dd",\r
4464         "c5d80881.fdd1f"\r
4465       ]\r
4466     ]\r
4467   },\r
4468   {\r
4469     "id": "c0446363.1c2dd",\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": 5997.499755859375,\r
4476     "y": 7115,\r
4477     "z": "4138d8f7.da252",\r
4478     "wires": [\r
4479       [\r
4480         "d5739a70.ba04c"\r
4481       ]\r
4482     ]\r
4483   },\r
4484   {\r
4485     "id": "c5d80881.fdd1f",\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": 5996.499755859375,\r
4492     "y": 7068,\r
4493     "z": "4138d8f7.da252",\r
4494     "wires": [\r
4495       []\r
4496     ]\r
4497   },\r
4498   {\r
4499     "id": "d5739a70.ba04c",\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": 4513.499969482422,\r
4507     "y": 7262.999969482422,\r
4508     "z": "4138d8f7.da252",\r
4509     "wires": [\r
4510       [\r
4511         "edcf20b8.e61748"\r
4512       ]\r
4513     ]\r
4514   },\r
4515   {\r
4516     "id": "4fecf72f.04fbc",\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": 5589.499755859375,\r
4522     "y": 7295,\r
4523     "z": "4138d8f7.da252",\r
4524     "wires": []\r
4525   },\r
4526   {\r
4527     "id": "c1969b50.1f4a7",\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": 4802.499969482422,\r
4533     "y": 7030.999969482422,\r
4534     "z": "4138d8f7.da252",\r
4535     "wires": []\r
4536   },\r
4537   {\r
4538     "id": "5744849a.cc54ac",\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": 4686.499755859375,\r
4544     "y": 6915,\r
4545     "z": "4138d8f7.da252",\r
4546     "wires": []\r
4547   },\r
4548   {\r
4549     "id": "3d6f4e35.1dbdf2",\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": 5031.499755859375,\r
4556     "y": 6746,\r
4557     "z": "4138d8f7.da252",\r
4558     "wires": [\r
4559       [\r
4560         "1b824e77.058e42"\r
4561       ]\r
4562     ]\r
4563   },\r
4564   {\r
4565     "id": "1b824e77.058e42",\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": 5251.499755859375,\r
4572     "y": 6752,\r
4573     "z": "4138d8f7.da252",\r
4574     "wires": [\r
4575       [\r
4576         "2ab4f0b.650811"\r
4577       ]\r
4578     ]\r
4579   },\r
4580   {\r
4581     "id": "2ab4f0b.650811",\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": 5436.499755859375,\r
4588     "y": 6751,\r
4589     "z": "4138d8f7.da252",\r
4590     "wires": [\r
4591       [\r
4592         "a23d4d14.87325"\r
4593       ]\r
4594     ]\r
4595   },\r
4596   {\r
4597     "id": "a23d4d14.87325",\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": 5628.499755859375,\r
4604     "y": 6754,\r
4605     "z": "4138d8f7.da252",\r
4606     "wires": [\r
4607       [\r
4608         "2907eab4.583386"\r
4609       ]\r
4610     ]\r
4611   },\r
4612   {\r
4613     "id": "2907eab4.583386",\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": 5837.499755859375,\r
4619     "y": 6752,\r
4620     "z": "4138d8f7.da252",\r
4621     "wires": []\r
4622   },\r
4623   {\r
4624     "id": "9bb50a9.812c6f8",\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": 4738.499755859375,\r
4631     "y": 6740,\r
4632     "z": "4138d8f7.da252",\r
4633     "wires": [\r
4634       [\r
4635         "3d6f4e35.1dbdf2"\r
4636       ]\r
4637     ]\r
4638   },\r
4639   {\r
4640     "id": "9655804c.a8367",\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": 4746.499755859375,\r
4647     "y": 6633,\r
4648     "z": "4138d8f7.da252",\r
4649     "wires": [\r
4650       [\r
4651         "e3853ecb.86ffa8",\r
4652         "e9c51b36.8628d",\r
4653         "65b57cea.285c3c"\r
4654       ]\r
4655     ]\r
4656   },\r
4657   {\r
4658     "id": "e3853ecb.86ffa8",\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": 4982.499755859375,\r
4665     "y": 6616,\r
4666     "z": "4138d8f7.da252",\r
4667     "wires": [\r
4668       []\r
4669     ]\r
4670   },\r
4671   {\r
4672     "id": "e9c51b36.8628d",\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": 4979.499755859375,\r
4679     "y": 6657,\r
4680     "z": "4138d8f7.da252",\r
4681     "wires": [\r
4682       []\r
4683     ]\r
4684   },\r
4685   {\r
4686     "id": "65b57cea.285c3c",\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": 4993.499755859375,\r
4693     "y": 6697,\r
4694     "z": "4138d8f7.da252",\r
4695     "wires": [\r
4696       []\r
4697     ]\r
4698   },\r
4699   {\r
4700     "id": "94748373.e9e958",\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": 4682.499755859375,\r
4706     "y": 6792,\r
4707     "z": "4138d8f7.da252",\r
4708     "wires": []\r
4709   },\r
4710   {\r
4711     "id": "a0da2cb6.f8de08",\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": 4690.499755859375,\r
4717     "y": 6850,\r
4718     "z": "4138d8f7.da252",\r
4719     "wires": []\r
4720   },\r
4721   {\r
4722     "id": "ca3ef968.6dda08",\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": 4695.499755859375,\r
4728     "y": 6590,\r
4729     "z": "4138d8f7.da252",\r
4730     "wires": []\r
4731   },\r
4732   {\r
4733     "id": "85cec0fe.92a4b",\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": 4810.499755859375,\r
4739     "y": 6542,\r
4740     "z": "4138d8f7.da252",\r
4741     "wires": []\r
4742   },\r
4743   {\r
4744     "id": "edcf20b8.e61748",\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": 4803.499969482422,\r
4751     "y": 7257.999969482422,\r
4752     "z": "4138d8f7.da252",\r
4753     "wires": [\r
4754       [\r
4755         "e8e7019e.0ce4e8",\r
4756         "cf2cb292.2ab218"\r
4757       ]\r
4758     ]\r
4759   },\r
4760   {\r
4761     "id": "e8e7019e.0ce4e8",\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": 5059.499969482422,\r
4768     "y": 7229.999969482422,\r
4769     "z": "4138d8f7.da252",\r
4770     "wires": [\r
4771       [\r
4772         "2fafeba7.6be734"\r
4773       ]\r
4774     ]\r
4775   },\r
4776   {\r
4777     "id": "cf2cb292.2ab218",\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": 5059.499969482422,\r
4784     "y": 7278.999969482422,\r
4785     "z": "4138d8f7.da252",\r
4786     "wires": [\r
4787       []\r
4788     ]\r
4789   },\r
4790   {\r
4791     "id": "997dfd42.35e9c",\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": 5325.499969482422,\r
4799     "y": 7270.999969482422,\r
4800     "z": "4138d8f7.da252",\r
4801     "wires": [\r
4802       [\r
4803         "fd323ea3.0ba61",\r
4804         "4fecf72f.04fbc",\r
4805         "8645a39d.96b86"\r
4806       ]\r
4807     ]\r
4808   },\r
4809   {\r
4810     "id": "81edaff5.fe8de8",\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": 5717.499755859375,\r
4816     "y": 7349,\r
4817     "z": "4138d8f7.da252",\r
4818     "wires": []\r
4819   },\r
4820   {\r
4821     "id": "8645a39d.96b86",\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": 5687.499755859375,\r
4828     "y": 7409,\r
4829     "z": "4138d8f7.da252",\r
4830     "wires": [\r
4831       []\r
4832     ]\r
4833   },\r
4834   {\r
4835     "id": "fd323ea3.0ba61",\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": 5594.499755859375,\r
4841     "y": 7237,\r
4842     "z": "4138d8f7.da252",\r
4843     "wires": []\r
4844   },\r
4845   {\r
4846     "id": "a2f25d49.46cd88",\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": 3944.5,\r
4854     "y": 5875,\r
4855     "z": "4138d8f7.da252",\r
4856     "wires": [\r
4857       [\r
4858         "4e6fe55.c2f201c",\r
4859         "7170f2f2.71fadc",\r
4860         "2402858c.2e7c4a",\r
4861         "2fcf2035.98d3c",\r
4862         "ff11fb03.980398"\r
4863       ]\r
4864     ]\r
4865   },\r
4866   {\r
4867     "id": "d7183096.a014a",\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": 4687.499755859375,\r
4873     "y": 6690,\r
4874     "z": "4138d8f7.da252",\r
4875     "wires": []\r
4876   },\r
4877   {\r
4878     "id": "5a3abbf9.5bd584",\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": 4810.5,\r
4885     "y": 6420,\r
4886     "z": "4138d8f7.da252",\r
4887     "wires": [\r
4888       []\r
4889     ]\r
4890   },\r
4891   {\r
4892     "id": "48e1585a.35691",\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": 4947.5,\r
4898     "y": 6370,\r
4899     "z": "4138d8f7.da252",\r
4900     "wires": []\r
4901   },\r
4902   {\r
4903     "id": "829d6c73.aa7da8",\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='data-source' value='`$gfp`' />\n",\r
4907     "comments": "",\r
4908     "outputs": 1,\r
4909     "x": 6409.5,\r
4910     "y": 1904,\r
4911     "z": "4138d8f7.da252",\r
4912     "wires": [\r
4913       []\r
4914     ]\r
4915   },\r
4916   {\r
4917     "id": "261b01ae.fe9b36",\r
4918     "type": "comment",\r
4919     "name": "NOT NEEDED ANYMORE?",\r
4920     "info": "",\r
4921     "comments": "",\r
4922     "x": 3675.5,\r
4923     "y": 1298,\r
4924     "z": "4138d8f7.da252",\r
4925     "wires": []\r
4926   },\r
4927   {\r
4928     "id": "f92c744c.f5b4a8",\r
4929     "type": "comment",\r
4930     "name": "NOT NEEDED ANYMORE?",\r
4931     "info": "",\r
4932     "comments": "",\r
4933     "x": 3813.5,\r
4934     "y": 1786,\r
4935     "z": "4138d8f7.da252",\r
4936     "wires": []\r
4937   },\r
4938   {\r
4939     "id": "a9675d4a.27492",\r
4940     "type": "comment",\r
4941     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
4942     "info": "",\r
4943     "comments": "",\r
4944     "x": 6370.5,\r
4945     "y": 2616,\r
4946     "z": "4138d8f7.da252",\r
4947     "wires": []\r
4948   },\r
4949   {\r
4950     "id": "577ac65e.4cd8e8",\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": 3662.5,\r
4956     "y": 4892,\r
4957     "z": "4138d8f7.da252",\r
4958     "wires": []\r
4959   },\r
4960   {\r
4961     "id": "c33c721b.c24a68",\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": 3795.5,\r
4968     "y": 4940,\r
4969     "z": "4138d8f7.da252",\r
4970     "wires": [\r
4971       []\r
4972     ]\r
4973   },\r
4974   {\r
4975     "id": "3da01b2d.c332ec",\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": 4340.499755859375,\r
4982     "y": 5020,\r
4983     "z": "4138d8f7.da252",\r
4984     "wires": [\r
4985       [\r
4986         "67f3fde2.d1c4bc",\r
4987         "830cc023.8d75b8"\r
4988       ]\r
4989     ]\r
4990   },\r
4991   {\r
4992     "id": "67f3fde2.d1c4bc",\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": 4533.499755859375,\r
4999     "y": 5021,\r
5000     "z": "4138d8f7.da252",\r
5001     "wires": [\r
5002       [\r
5003         "97ecf17d.e53ae8"\r
5004       ]\r
5005     ]\r
5006   },\r
5007   {\r
5008     "id": "830cc023.8d75b8",\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": 4537.499755859375,\r
5015     "y": 5065,\r
5016     "z": "4138d8f7.da252",\r
5017     "wires": [\r
5018       [\r
5019         "e6486dc.92da59"\r
5020       ]\r
5021     ]\r
5022   },\r
5023   {\r
5024     "id": "e6486dc.92da59",\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": 4676.499755859375,\r
5032     "y": 5060,\r
5033     "z": "4138d8f7.da252",\r
5034     "wires": [\r
5035       [\r
5036         "f9d2f7c1.e8a63",\r
5037         "2f9c4db0.869cca",\r
5038         "cfcbce5e.a3353"\r
5039       ]\r
5040     ]\r
5041   },\r
5042   {\r
5043     "id": "97ecf17d.e53ae8",\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": 4676.499755859375,\r
5051     "y": 5017,\r
5052     "z": "4138d8f7.da252",\r
5053     "wires": [\r
5054       [\r
5055         "fd2b62b6.10b14",\r
5056         "f21eb35f.395438",\r
5057         "59f69d26.ab3de4",\r
5058         "8af1d85e.882ed"\r
5059       ]\r
5060     ]\r
5061   },\r
5062   {\r
5063     "id": "f9d2f7c1.e8a63",\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": 5070.499755859375,\r
5069     "y": 5311,\r
5070     "z": "4138d8f7.da252",\r
5071     "wires": []\r
5072   },\r
5073   {\r
5074     "id": "a14dbd8f.fd09c8",\r
5075     "type": "comment",\r
5076     "name": "populate connectivity-A variable in the context map",\r
5077     "info": "",\r
5078     "comments": "",\r
5079     "x": 5077.499755859375,\r
5080     "y": 5265,\r
5081     "z": "4138d8f7.da252",\r
5082     "wires": []\r
5083   },\r
5084   {\r
5085     "id": "860af8d0.fc96e8",\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": 4867.499969482422,\r
5092     "y": 6979.999969482422,\r
5093     "z": "4138d8f7.da252",\r
5094     "wires": [\r
5095       []\r
5096     ]\r
5097   },\r
5098   {\r
5099     "id": "2f9c4db0.869cca",\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": 5189.499755859375,\r
5106     "y": 5364,\r
5107     "z": "4138d8f7.da252",\r
5108     "wires": [\r
5109       []\r
5110     ]\r
5111   },\r
5112   {\r
5113     "id": "1f30d01.395cc3",\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": 5071.499755859375,\r
5120     "y": 5582,\r
5121     "z": "4138d8f7.da252",\r
5122     "wires": [\r
5123       []\r
5124     ]\r
5125   },\r
5126   {\r
5127     "id": "f7b3410e.fff05",\r
5128     "type": "comment",\r
5129     "name": "Update ROOT UNI's bw",\r
5130     "info": "",\r
5131     "comments": "",\r
5132     "x": 3617.5,\r
5133     "y": 4341,\r
5134     "z": "4138d8f7.da252",\r
5135     "wires": []\r
5136   },\r
5137   {\r
5138     "id": "7607e020.fe77f",\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": 3951.5,\r
5145     "y": 4524,\r
5146     "z": "4138d8f7.da252",\r
5147     "wires": [\r
5148       []\r
5149     ]\r
5150   },\r
5151   {\r
5152     "id": "e8ff43f0.c9213",\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": 3563.5,\r
5159     "y": 4391,\r
5160     "z": "4138d8f7.da252",\r
5161     "wires": [\r
5162       [\r
5163         "3f20a2e3.9197ce",\r
5164         "836b51a4.29ff7",\r
5165         "a19206dd.24a2b8"\r
5166       ]\r
5167     ]\r
5168   },\r
5169   {\r
5170     "id": "836b51a4.29ff7",\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": 3790.990966796875,\r
5177     "y": 4363.573974609375,\r
5178     "z": "4138d8f7.da252",\r
5179     "wires": [\r
5180       [\r
5181         "cc477903.35a1a8"\r
5182       ]\r
5183     ]\r
5184   },\r
5185   {\r
5186     "id": "a19206dd.24a2b8",\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": 3786.5,\r
5193     "y": 4407.999938964844,\r
5194     "z": "4138d8f7.da252",\r
5195     "wires": [\r
5196       [\r
5197         "9ac9aba4.1e8ac"\r
5198       ]\r
5199     ]\r
5200   },\r
5201   {\r
5202     "id": "cc477903.35a1a8",\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": 3953.5625,\r
5208     "y": 4362.859680175781,\r
5209     "z": "4138d8f7.da252",\r
5210     "wires": []\r
5211   },\r
5212   {\r
5213     "id": "9ac9aba4.1e8ac",\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": 3954.5,\r
5219     "y": 4407.999938964844,\r
5220     "z": "4138d8f7.da252",\r
5221     "wires": []\r
5222   },\r
5223   {\r
5224     "id": "44a45bc4.fd8d24",\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": 3739.5,\r
5231     "y": 4481,\r
5232     "z": "4138d8f7.da252",\r
5233     "wires": [\r
5234       [\r
5235         "8f06a9d6.e85d2",\r
5236         "7607e020.fe77f"\r
5237       ]\r
5238     ]\r
5239   },\r
5240   {\r
5241     "id": "3f20a2e3.9197ce",\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": 3570.5,\r
5248     "y": 4481,\r
5249     "z": "4138d8f7.da252",\r
5250     "wires": [\r
5251       [\r
5252         "44a45bc4.fd8d24"\r
5253       ]\r
5254     ]\r
5255   },\r
5256   {\r
5257     "id": "8f06a9d6.e85d2",\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": 3928.5,\r
5263     "y": 4473,\r
5264     "z": "4138d8f7.da252",\r
5265     "wires": []\r
5266   },\r
5267   {\r
5268     "id": "c23415ae.23176",\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": 3770.5,\r
5275     "y": 4768,\r
5276     "z": "4138d8f7.da252",\r
5277     "wires": [\r
5278       []\r
5279     ]\r
5280   },\r
5281   {\r
5282     "id": "cb253b17.73576",\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": 3553.5,\r
5288     "y": 2851,\r
5289     "z": "4138d8f7.da252",\r
5290     "wires": []\r
5291   },\r
5292   {\r
5293     "id": "9d7a29e5.a75ec",\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": 2758.5,\r
5299     "y": 4413,\r
5300     "z": "4138d8f7.da252",\r
5301     "wires": []\r
5302   },\r
5303   {\r
5304     "id": "8b862d24.0bbe68",\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": 3181.5,\r
5311     "y": 4686,\r
5312     "z": "4138d8f7.da252",\r
5313     "wires": [\r
5314       [\r
5315         "b605d8db.884f2",\r
5316         "fdd54f31.8fbee"\r
5317       ]\r
5318     ]\r
5319   },\r
5320   {\r
5321     "id": "db2110db.2b1778",\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": 3013.5,\r
5329     "y": 4689,\r
5330     "z": "4138d8f7.da252",\r
5331     "wires": [\r
5332       [\r
5333         "8b862d24.0bbe68"\r
5334       ]\r
5335     ]\r
5336   },\r
5337   {\r
5338     "id": "fdd54f31.8fbee",\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": 3344.5,\r
5345     "y": 4705,\r
5346     "z": "4138d8f7.da252",\r
5347     "wires": [\r
5348       [\r
5349         "9f11b3.a8080e5"\r
5350       ]\r
5351     ]\r
5352   },\r
5353   {\r
5354     "id": "b605d8db.884f2",\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": 3380.5,\r
5361     "y": 3312,\r
5362     "z": "4138d8f7.da252",\r
5363     "wires": [\r
5364       [\r
5365         "947600ba.b5e73"\r
5366       ]\r
5367     ]\r
5368   },\r
5369   {\r
5370     "id": "4f6ce4fa.367e24",\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": 3729.5,\r
5377     "y": 3154,\r
5378     "z": "4138d8f7.da252",\r
5379     "wires": [\r
5380       [\r
5381         "cc96bd45.2e2b6",\r
5382         "f9a0faf9.5c3dc8"\r
5383       ]\r
5384     ]\r
5385   },\r
5386   {\r
5387     "id": "cc96bd45.2e2b6",\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": 3934.5,\r
5394     "y": 3150,\r
5395     "z": "4138d8f7.da252",\r
5396     "wires": [\r
5397       []\r
5398     ]\r
5399   },\r
5400   {\r
5401     "id": "f9a0faf9.5c3dc8",\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": 3936.5,\r
5408     "y": 3200,\r
5409     "z": "4138d8f7.da252",\r
5410     "wires": [\r
5411       [\r
5412         "7a40f51a.96d7fc"\r
5413       ]\r
5414     ]\r
5415   },\r
5416   {\r
5417     "id": "7a40f51a.96d7fc",\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": 4092.5,\r
5424     "y": 3206,\r
5425     "z": "4138d8f7.da252",\r
5426     "wires": [\r
5427       [\r
5428         "2c2d832.1ec14fc",\r
5429         "16e3f1c0.bf6bbe",\r
5430         "3515662b.208b2a",\r
5431         "271e520.e6acbae"\r
5432       ]\r
5433     ]\r
5434   },\r
5435   {\r
5436     "id": "2c2d832.1ec14fc",\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": 4318.500244140625,\r
5442     "y": 2947,\r
5443     "z": "4138d8f7.da252",\r
5444     "wires": []\r
5445   },\r
5446   {\r
5447     "id": "f6d89aab.47f778",\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": 4817.499725341797,\r
5454     "y": 4243.999969482422,\r
5455     "z": "4138d8f7.da252",\r
5456     "wires": [\r
5457       [\r
5458         "f49c2dcf.bc27d8",\r
5459         "cc8917f6.431d58"\r
5460       ]\r
5461     ]\r
5462   },\r
5463   {\r
5464     "id": "cc8917f6.431d58",\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": 5019.499481201172,\r
5470     "y": 4210.999969482422,\r
5471     "z": "4138d8f7.da252",\r
5472     "wires": []\r
5473   },\r
5474   {\r
5475     "id": "a80257aa.4070f",\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": 4703.499969482422,\r
5481     "y": 4420.999725341797,\r
5482     "z": "4138d8f7.da252",\r
5483     "wires": []\r
5484   },\r
5485   {\r
5486     "id": "d0212ac6.85c08",\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": 4700.562103271484,\r
5492     "y": 4369.8597412109375,\r
5493     "z": "4138d8f7.da252",\r
5494     "wires": []\r
5495   },\r
5496   {\r
5497     "id": "efad35a4.dd1e7",\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": 4283.499725341797,\r
5504     "y": 4243.999969482422,\r
5505     "z": "4138d8f7.da252",\r
5506     "wires": [\r
5507       [\r
5508         "bbd4adaa.78aa88"\r
5509       ]\r
5510     ]\r
5511   },\r
5512   {\r
5513     "id": "bbd4adaa.78aa88",\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": 4488.499725341797,\r
5520     "y": 4243.999969482422,\r
5521     "z": "4138d8f7.da252",\r
5522     "wires": [\r
5523       [\r
5524         "7d1062e5.6c959c"\r
5525       ]\r
5526     ]\r
5527   },\r
5528   {\r
5529     "id": "7d1062e5.6c959c",\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": 4654.499725341797,\r
5536     "y": 4243.999969482422,\r
5537     "z": "4138d8f7.da252",\r
5538     "wires": [\r
5539       [\r
5540         "f6d89aab.47f778"\r
5541       ]\r
5542     ]\r
5543   },\r
5544   {\r
5545     "id": "f49c2dcf.bc27d8",\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": 4326.499725341797,\r
5552     "y": 4321.999969482422,\r
5553     "z": "4138d8f7.da252",\r
5554     "wires": [\r
5555       [\r
5556         "2b073b5b.643194",\r
5557         "ffd59a4c.14fa7",\r
5558         "2abdbd7a.263a72"\r
5559       ]\r
5560     ]\r
5561   },\r
5562   {\r
5563     "id": "2b073b5b.643194",\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": 4537.499725341797,\r
5570     "y": 4323.999969482422,\r
5571     "z": "4138d8f7.da252",\r
5572     "wires": [\r
5573       [\r
5574         "b25769d8.6df3c8"\r
5575       ]\r
5576     ]\r
5577   },\r
5578   {\r
5579     "id": "ffd59a4c.14fa7",\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": 4537.990692138672,\r
5586     "y": 4369.574005126953,\r
5587     "z": "4138d8f7.da252",\r
5588     "wires": [\r
5589       [\r
5590         "d0212ac6.85c08"\r
5591       ]\r
5592     ]\r
5593   },\r
5594   {\r
5595     "id": "2abdbd7a.263a72",\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": 4535.499725341797,\r
5602     "y": 4412.999969482422,\r
5603     "z": "4138d8f7.da252",\r
5604     "wires": [\r
5605       [\r
5606         "a80257aa.4070f"\r
5607       ]\r
5608     ]\r
5609   },\r
5610   {\r
5611     "id": "947600ba.b5e73",\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": 3603.5,\r
5618     "y": 2997,\r
5619     "z": "4138d8f7.da252",\r
5620     "wires": [\r
5621       [\r
5622         "6a786745.af48",\r
5623         "a633d7c2.0708",\r
5624         "f368276f.48f958"\r
5625       ]\r
5626     ]\r
5627   },\r
5628   {\r
5629     "id": "a633d7c2.0708",\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": 3830.990966796875,\r
5636     "y": 2969.573974609375,\r
5637     "z": "4138d8f7.da252",\r
5638     "wires": [\r
5639       [\r
5640         "30a6f1cd.e89f6e"\r
5641       ]\r
5642     ]\r
5643   },\r
5644   {\r
5645     "id": "f368276f.48f958",\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": 3826.5,\r
5652     "y": 3013.9999389648438,\r
5653     "z": "4138d8f7.da252",\r
5654     "wires": [\r
5655       [\r
5656         "868e3def.777d88"\r
5657       ]\r
5658     ]\r
5659   },\r
5660   {\r
5661     "id": "30a6f1cd.e89f6e",\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": 3993.5625,\r
5667     "y": 2968.8596801757812,\r
5668     "z": "4138d8f7.da252",\r
5669     "wires": []\r
5670   },\r
5671   {\r
5672     "id": "868e3def.777d88",\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": 3994.5,\r
5678     "y": 3013.9999389648438,\r
5679     "z": "4138d8f7.da252",\r
5680     "wires": []\r
5681   },\r
5682   {\r
5683     "id": "6a786745.af48",\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": 3838.5,\r
5690     "y": 3064,\r
5691     "z": "4138d8f7.da252",\r
5692     "wires": [\r
5693       [\r
5694         "4f6ce4fa.367e24"\r
5695       ]\r
5696     ]\r
5697   },\r
5698   {\r
5699     "id": "e1ab631b.742fc",\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": 3728.383331298828,\r
5705     "y": 3254.883331298828,\r
5706     "z": "4138d8f7.da252",\r
5707     "wires": []\r
5708   },\r
5709   {\r
5710     "id": "9ac35f29.2f46a8",\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": 3710.10009765625,\r
5716     "y": 3816.683349609375,\r
5717     "z": "4138d8f7.da252",\r
5718     "wires": []\r
5719   },\r
5720   {\r
5721     "id": "3dda5d6b.eae642",\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": 3848.10009765625,\r
5728     "y": 3874.683349609375,\r
5729     "z": "4138d8f7.da252",\r
5730     "wires": [\r
5731       []\r
5732     ]\r
5733   },\r
5734   {\r
5735     "id": "16e3f1c0.bf6bbe",\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": 3426.10009765625,\r
5742     "y": 3556.083251953125,\r
5743     "z": "4138d8f7.da252",\r
5744     "wires": [\r
5745       [\r
5746         "616a588c.b788e8",\r
5747         "23b69bc.0871b64",\r
5748         "92806e4e.351398"\r
5749       ]\r
5750     ]\r
5751   },\r
5752   {\r
5753     "id": "14abd55c.d773d3",\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": 3667.10009765625,\r
5760     "y": 3984.4833984375,\r
5761     "z": "4138d8f7.da252",\r
5762     "wires": [\r
5763       [\r
5764         "5c65738b.87fde4",\r
5765         "f1d641f8.d259a8"\r
5766       ]\r
5767     ]\r
5768   },\r
5769   {\r
5770     "id": "5c65738b.87fde4",\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": 3860.10009765625,\r
5777     "y": 3985.4833984375,\r
5778     "z": "4138d8f7.da252",\r
5779     "wires": [\r
5780       [\r
5781         "65a9280d.a9da1"\r
5782       ]\r
5783     ]\r
5784   },\r
5785   {\r
5786     "id": "f1d641f8.d259a8",\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": 3864.10009765625,\r
5793     "y": 4029.4833984375,\r
5794     "z": "4138d8f7.da252",\r
5795     "wires": [\r
5796       [\r
5797         "5b392e39.74c58"\r
5798       ]\r
5799     ]\r
5800   },\r
5801   {\r
5802     "id": "5b392e39.74c58",\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": 4003.10009765625,\r
5810     "y": 4024.4833984375,\r
5811     "z": "4138d8f7.da252",\r
5812     "wires": [\r
5813       [\r
5814         "efad35a4.dd1e7"\r
5815       ]\r
5816     ]\r
5817   },\r
5818   {\r
5819     "id": "65a9280d.a9da1",\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": 4004.10009765625,\r
5825     "y": 3981.683349609375,\r
5826     "z": "4138d8f7.da252",\r
5827     "wires": []\r
5828   },\r
5829   {\r
5830     "id": "3515662b.208b2a",\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": 4352.217041015625,\r
5837     "y": 3203.283447265625,\r
5838     "z": "4138d8f7.da252",\r
5839     "wires": [\r
5840       [\r
5841         "d3894fc3.10eb48",\r
5842         "b517f9eb.6c257"\r
5843       ]\r
5844     ]\r
5845   },\r
5846   {\r
5847     "id": "d3894fc3.10eb48",\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": 4551.384033203125,\r
5854     "y": 3269.88330078125,\r
5855     "z": "4138d8f7.da252",\r
5856     "wires": [\r
5857       [\r
5858         "d481f8d7.46db"\r
5859       ]\r
5860     ]\r
5861   },\r
5862   {\r
5863     "id": "b517f9eb.6c257",\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": 4573.384033203125,\r
5870     "y": 3114.88330078125,\r
5871     "z": "4138d8f7.da252",\r
5872     "wires": [\r
5873       [\r
5874         "543771c5.3e82b"\r
5875       ]\r
5876     ]\r
5877   },\r
5878   {\r
5879     "id": "271e520.e6acbae",\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='data-source' value='`$gfp`' />\n",\r
5883     "comments": "",\r
5884     "outputs": 1,\r
5885     "x": 4351.217041015625,\r
5886     "y": 3058.4833984375,\r
5887     "z": "4138d8f7.da252",\r
5888     "wires": [\r
5889       []\r
5890     ]\r
5891   },\r
5892   {\r
5893     "id": "5841cd16.599de4",\r
5894     "type": "comment",\r
5895     "name": "update LEAF UNI with the new bw",\r
5896     "info": "",\r
5897     "comments": "",\r
5898     "x": 4367.384033203125,\r
5899     "y": 3011.88330078125,\r
5900     "z": "4138d8f7.da252",\r
5901     "wires": []\r
5902   },\r
5903   {\r
5904     "id": "c6724a1e.a746a",\r
5905     "type": "comment",\r
5906     "name": "Update ROOT UNI's bw",\r
5907     "info": "",\r
5908     "comments": "",\r
5909     "x": 4922.14990234375,\r
5910     "y": 2466.88330078125,\r
5911     "z": "4138d8f7.da252",\r
5912     "wires": []\r
5913   },\r
5914   {\r
5915     "id": "f5319096.b377c8",\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": 5524.14990234375,\r
5922     "y": 2571.88330078125,\r
5923     "z": "4138d8f7.da252",\r
5924     "wires": [\r
5925       []\r
5926     ]\r
5927   },\r
5928   {\r
5929     "id": "1d10f282.65ef3d",\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": 4914.149658203125,\r
5936     "y": 2512.88330078125,\r
5937     "z": "4138d8f7.da252",\r
5938     "wires": [\r
5939       [\r
5940         "e6ffa5af.877ac",\r
5941         "53ba0501.50937c",\r
5942         "f8ebf6c0.ef2f7"\r
5943       ]\r
5944     ]\r
5945   },\r
5946   {\r
5947     "id": "53ba0501.50937c",\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": 5141.640625,\r
5954     "y": 2485.457275390625,\r
5955     "z": "4138d8f7.da252",\r
5956     "wires": [\r
5957       [\r
5958         "25bf7485.4207ec"\r
5959       ]\r
5960     ]\r
5961   },\r
5962   {\r
5963     "id": "f8ebf6c0.ef2f7",\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": 5137.149658203125,\r
5970     "y": 2529.8832397460938,\r
5971     "z": "4138d8f7.da252",\r
5972     "wires": [\r
5973       [\r
5974         "8cc56294.07b6a"\r
5975       ]\r
5976     ]\r
5977   },\r
5978   {\r
5979     "id": "25bf7485.4207ec",\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": 5304.212158203125,\r
5985     "y": 2484.7429809570312,\r
5986     "z": "4138d8f7.da252",\r
5987     "wires": []\r
5988   },\r
5989   {\r
5990     "id": "8cc56294.07b6a",\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": 5305.149658203125,\r
5996     "y": 2529.8832397460938,\r
5997     "z": "4138d8f7.da252",\r
5998     "wires": []\r
5999   },\r
6000   {\r
6001     "id": "29839d19.ca2152",\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": 5302.149658203125,\r
6008     "y": 2579.88330078125,\r
6009     "z": "4138d8f7.da252",\r
6010     "wires": [\r
6011       [\r
6012         "4a49d064.4801a8",\r
6013         "f5319096.b377c8"\r
6014       ]\r
6015     ]\r
6016   },\r
6017   {\r
6018     "id": "e6ffa5af.877ac",\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": 5133.149658203125,\r
6025     "y": 2579.88330078125,\r
6026     "z": "4138d8f7.da252",\r
6027     "wires": [\r
6028       [\r
6029         "29839d19.ca2152"\r
6030       ]\r
6031     ]\r
6032   },\r
6033   {\r
6034     "id": "4a49d064.4801a8",\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": 5484.150390625,\r
6040     "y": 2521.88330078125,\r
6041     "z": "4138d8f7.da252",\r
6042     "wires": []\r
6043   },\r
6044   {\r
6045     "id": "fc1d58de.266bc8",\r
6046     "type": "comment",\r
6047     "name": "bw+ has increased ",\r
6048     "info": "",\r
6049     "comments": "",\r
6050     "x": 4565.383331298828,\r
6051     "y": 3076.883331298828,\r
6052     "z": "4138d8f7.da252",\r
6053     "wires": []\r
6054   },\r
6055   {\r
6056     "id": "81aa1dbe.56ac78",\r
6057     "type": "comment",\r
6058     "name": "bw- has decreased",\r
6059     "info": "",\r
6060     "comments": "",\r
6061     "x": 4564.217041015625,\r
6062     "y": 3233.683349609375,\r
6063     "z": "4138d8f7.da252",\r
6064     "wires": []\r
6065   },\r
6066   {\r
6067     "id": "175559ed.ae176e",\r
6068     "type": "comment",\r
6069     "name": "Update ROOT UNI's bw",\r
6070     "info": "",\r
6071     "comments": "",\r
6072     "x": 5013.21630859375,\r
6073     "y": 2806.683349609375,\r
6074     "z": "4138d8f7.da252",\r
6075     "wires": []\r
6076   },\r
6077   {\r
6078     "id": "b4d05ea3.ef437",\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": 5615.21630859375,\r
6085     "y": 2911.683349609375,\r
6086     "z": "4138d8f7.da252",\r
6087     "wires": [\r
6088       []\r
6089     ]\r
6090   },\r
6091   {\r
6092     "id": "909ddf1c.4247f",\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": 5005.216064453125,\r
6099     "y": 2852.683349609375,\r
6100     "z": "4138d8f7.da252",\r
6101     "wires": [\r
6102       [\r
6103         "6ec56bfe.bf9374",\r
6104         "ac80268f.768e5",\r
6105         "a8e739ac.bd4b"\r
6106       ]\r
6107     ]\r
6108   },\r
6109   {\r
6110     "id": "ac80268f.768e5",\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": 5232.70703125,\r
6117     "y": 2825.25732421875,\r
6118     "z": "4138d8f7.da252",\r
6119     "wires": [\r
6120       [\r
6121         "c8c7d986.838778"\r
6122       ]\r
6123     ]\r
6124   },\r
6125   {\r
6126     "id": "a8e739ac.bd4b",\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": 5228.216064453125,\r
6133     "y": 2869.6832885742188,\r
6134     "z": "4138d8f7.da252",\r
6135     "wires": [\r
6136       [\r
6137         "3dcb1fdf.a3fec"\r
6138       ]\r
6139     ]\r
6140   },\r
6141   {\r
6142     "id": "c8c7d986.838778",\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": 5395.278564453125,\r
6148     "y": 2824.5430297851562,\r
6149     "z": "4138d8f7.da252",\r
6150     "wires": []\r
6151   },\r
6152   {\r
6153     "id": "3dcb1fdf.a3fec",\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": 5396.216064453125,\r
6159     "y": 2869.6832885742188,\r
6160     "z": "4138d8f7.da252",\r
6161     "wires": []\r
6162   },\r
6163   {\r
6164     "id": "9b0bdc3d.6e83d8",\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": 5393.216064453125,\r
6171     "y": 2919.683349609375,\r
6172     "z": "4138d8f7.da252",\r
6173     "wires": [\r
6174       [\r
6175         "e12fb18d.e25528",\r
6176         "b4d05ea3.ef437"\r
6177       ]\r
6178     ]\r
6179   },\r
6180   {\r
6181     "id": "6ec56bfe.bf9374",\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": 5224.216064453125,\r
6188     "y": 2919.683349609375,\r
6189     "z": "4138d8f7.da252",\r
6190     "wires": [\r
6191       [\r
6192         "9b0bdc3d.6e83d8"\r
6193       ]\r
6194     ]\r
6195   },\r
6196   {\r
6197     "id": "e12fb18d.e25528",\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": 5575.216796875,\r
6203     "y": 2861.683349609375,\r
6204     "z": "4138d8f7.da252",\r
6205     "wires": []\r
6206   },\r
6207   {\r
6208     "id": "77cc19f0.65a298",\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": 4930.216064453125,\r
6214     "y": 2765.683349609375,\r
6215     "z": "4138d8f7.da252",\r
6216     "wires": []\r
6217   },\r
6218   {\r
6219     "id": "d481f8d7.46db",\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": 4723.383331298828,\r
6227     "y": 3258.883331298828,\r
6228     "z": "4138d8f7.da252",\r
6229     "wires": [\r
6230       [\r
6231         "77cc19f0.65a298",\r
6232         "909ddf1c.4247f",\r
6233         "d39256ff.c99e4"\r
6234       ]\r
6235     ]\r
6236   },\r
6237   {\r
6238     "id": "543771c5.3e82b",\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": 4744.11669921875,\r
6246     "y": 3085.683349609375,\r
6247     "z": "4138d8f7.da252",\r
6248     "wires": [\r
6249       [\r
6250         "9e50adf.3f804d",\r
6251         "1d10f282.65ef3d",\r
6252         "3c12d321.f6ab2c"\r
6253       ]\r
6254     ]\r
6255   },\r
6256   {\r
6257     "id": "9e50adf.3f804d",\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": 4878.949462890625,\r
6263     "y": 2391.4833984375,\r
6264     "z": "4138d8f7.da252",\r
6265     "wires": []\r
6266   },\r
6267   {\r
6268     "id": "d7fa5270.13e728",\r
6269     "type": "comment",\r
6270     "name": "Update ROOT UNI's bw",\r
6271     "info": "",\r
6272     "comments": "",\r
6273     "x": 4338.2666015625,\r
6274     "y": 3158.683349609375,\r
6275     "z": "4138d8f7.da252",\r
6276     "wires": []\r
6277   },\r
6278   {\r
6279     "id": "fea06caf.d7087",\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": 3807.600067138672,\r
6286     "y": 4147.483856201172,\r
6287     "z": "4138d8f7.da252",\r
6288     "wires": [\r
6289       []\r
6290     ]\r
6291   },\r
6292   {\r
6293     "id": "5c1ea12c.02fb18",\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": 3642.600067138672,\r
6300     "y": 4219.683807373047,\r
6301     "z": "4138d8f7.da252",\r
6302     "wires": [\r
6303       [\r
6304         "b82e9023.76f9f8",\r
6305         "f2f0e3e2.cfb0a8"\r
6306       ]\r
6307     ]\r
6308   },\r
6309   {\r
6310     "id": "b82e9023.76f9f8",\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": 3853.600067138672,\r
6317     "y": 4219.683807373047,\r
6318     "z": "4138d8f7.da252",\r
6319     "wires": [\r
6320       [\r
6321         "4d4a5650.900498"\r
6322       ]\r
6323     ]\r
6324   },\r
6325   {\r
6326     "id": "f2f0e3e2.cfb0a8",\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": 3849.600067138672,\r
6333     "y": 4267.683807373047,\r
6334     "z": "4138d8f7.da252",\r
6335     "wires": [\r
6336       [\r
6337         "87662134.188498"\r
6338       ]\r
6339     ]\r
6340   },\r
6341   {\r
6342     "id": "4d4a5650.900498",\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": 4009.600067138672,\r
6350     "y": 4215.683807373047,\r
6351     "z": "4138d8f7.da252",\r
6352     "wires": [\r
6353       [\r
6354         "cdbc2fd5.f72b4"\r
6355       ]\r
6356     ]\r
6357   },\r
6358   {\r
6359     "id": "87662134.188498",\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": 3997.600067138672,\r
6365     "y": 4262.683807373047,\r
6366     "z": "4138d8f7.da252",\r
6367     "wires": []\r
6368   },\r
6369   {\r
6370     "id": "2111dda1.fcbdb2",\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": 4850.566162109375,\r
6377     "y": 4529.882568359375,\r
6378     "z": "4138d8f7.da252",\r
6379     "wires": [\r
6380       [\r
6381         "4fae975f.53fc68",\r
6382         "c1f934d5.cc0aa8"\r
6383       ]\r
6384     ]\r
6385   },\r
6386   {\r
6387     "id": "c1f934d5.cc0aa8",\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": 5093.56640625,\r
6393     "y": 4498.882568359375,\r
6394     "z": "4138d8f7.da252",\r
6395     "wires": []\r
6396   },\r
6397   {\r
6398     "id": "cf80b7cc.7e2e9",\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": 4710.566162109375,\r
6405     "y": 4639.882568359375,\r
6406     "z": "4138d8f7.da252",\r
6407     "wires": [\r
6408       [\r
6409         "94dec63b.8ae1e"\r
6410       ]\r
6411     ]\r
6412   },\r
6413   {\r
6414     "id": "840bbd02.3035a",\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": 4698.56640625,\r
6420     "y": 4732.8828125,\r
6421     "z": "4138d8f7.da252",\r
6422     "wires": []\r
6423   },\r
6424   {\r
6425     "id": "cdbcda75.ac4888",\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": 4700.6285400390625,\r
6431     "y": 4687.742340087891,\r
6432     "z": "4138d8f7.da252",\r
6433     "wires": []\r
6434   },\r
6435   {\r
6436     "id": "cdbc2fd5.f72b4",\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": 4316.566162109375,\r
6443     "y": 4529.882568359375,\r
6444     "z": "4138d8f7.da252",\r
6445     "wires": [\r
6446       [\r
6447         "bc868ed9.895db8"\r
6448       ]\r
6449     ]\r
6450   },\r
6451   {\r
6452     "id": "bc868ed9.895db8",\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": 4521.566162109375,\r
6459     "y": 4529.882568359375,\r
6460     "z": "4138d8f7.da252",\r
6461     "wires": [\r
6462       [\r
6463         "7ae6a8de.c87848"\r
6464       ]\r
6465     ]\r
6466   },\r
6467   {\r
6468     "id": "7ae6a8de.c87848",\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": 4687.566162109375,\r
6475     "y": 4529.882568359375,\r
6476     "z": "4138d8f7.da252",\r
6477     "wires": [\r
6478       [\r
6479         "2111dda1.fcbdb2"\r
6480       ]\r
6481     ]\r
6482   },\r
6483   {\r
6484     "id": "4fae975f.53fc68",\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": 4326.566162109375,\r
6491     "y": 4639.882568359375,\r
6492     "z": "4138d8f7.da252",\r
6493     "wires": [\r
6494       [\r
6495         "c295dc4d.214d28",\r
6496         "c45fd018.eeb138",\r
6497         "e9db7616.b3ebb8"\r
6498       ]\r
6499     ]\r
6500   },\r
6501   {\r
6502     "id": "c295dc4d.214d28",\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": 4537.566162109375,\r
6509     "y": 4641.882568359375,\r
6510     "z": "4138d8f7.da252",\r
6511     "wires": [\r
6512       [\r
6513         "cf80b7cc.7e2e9"\r
6514       ]\r
6515     ]\r
6516   },\r
6517   {\r
6518     "id": "c45fd018.eeb138",\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": 4538.05712890625,\r
6525     "y": 4687.456604003906,\r
6526     "z": "4138d8f7.da252",\r
6527     "wires": [\r
6528       [\r
6529         "cdbcda75.ac4888"\r
6530       ]\r
6531     ]\r
6532   },\r
6533   {\r
6534     "id": "e9db7616.b3ebb8",\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": 4535.566162109375,\r
6541     "y": 4730.882568359375,\r
6542     "z": "4138d8f7.da252",\r
6543     "wires": [\r
6544       [\r
6545         "840bbd02.3035a"\r
6546       ]\r
6547     ]\r
6548   },\r
6549   {\r
6550     "id": "297b4ae7.8b9706",\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": 5946.383056640625,\r
6556     "y": 7029.08349609375,\r
6557     "z": "4138d8f7.da252",\r
6558     "wires": []\r
6559   },\r
6560   {\r
6561     "id": "457d3858.29d0e",\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": 5214.850067138672,\r
6567     "y": 4260.283172607422,\r
6568     "z": "4138d8f7.da252",\r
6569     "wires": []\r
6570   },\r
6571   {\r
6572     "id": "b25769d8.6df3c8",\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": 4716.850311279297,\r
6580     "y": 4326.283172607422,\r
6581     "z": "4138d8f7.da252",\r
6582     "wires": [\r
6583       []\r
6584     ]\r
6585   },\r
6586   {\r
6587     "id": "201cbbc6.38c61c",\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": 5247.850067138672,\r
6594     "y": 4328.283172607422,\r
6595     "z": "4138d8f7.da252",\r
6596     "wires": [\r
6597       [\r
6598         "823be1e9.77a818",\r
6599         "82dbf116.45c298"\r
6600       ]\r
6601     ]\r
6602   },\r
6603   {\r
6604     "id": "823be1e9.77a818",\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": 5372.850067138672,\r
6611     "y": 4226.282928466797,\r
6612     "z": "4138d8f7.da252",\r
6613     "wires": [\r
6614       [\r
6615         "ea4b8bb2.02c728"\r
6616       ]\r
6617     ]\r
6618   },\r
6619   {\r
6620     "id": "82dbf116.45c298",\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": 5491.85009765625,\r
6627     "y": 4300.282958984375,\r
6628     "z": "4138d8f7.da252",\r
6629     "wires": [\r
6630       []\r
6631     ]\r
6632   },\r
6633   {\r
6634     "id": "12318d1c.9b97cb",\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": 4460.533203125,\r
6640     "y": 3872,\r
6641     "z": "4138d8f7.da252",\r
6642     "wires": []\r
6643   },\r
6644   {\r
6645     "id": "1c49d26a.15504e",\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": 4805.533203125,\r
6652     "y": 3734,\r
6653     "z": "4138d8f7.da252",\r
6654     "wires": [\r
6655       [\r
6656         "ee8d9735.9d0e18"\r
6657       ]\r
6658     ]\r
6659   },\r
6660   {\r
6661     "id": "75d5369a.76387",\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": 4512.533203125,\r
6668     "y": 3728,\r
6669     "z": "4138d8f7.da252",\r
6670     "wires": [\r
6671       [\r
6672         "1c49d26a.15504e"\r
6673       ]\r
6674     ]\r
6675   },\r
6676   {\r
6677     "id": "2e9ad10b.18ccd6",\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": 4767.533203125,\r
6684     "y": 3685,\r
6685     "z": "4138d8f7.da252",\r
6686     "wires": [\r
6687       []\r
6688     ]\r
6689   },\r
6690   {\r
6691     "id": "8bf9488.63f0cb8",\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": 4456.533203125,\r
6697     "y": 3780,\r
6698     "z": "4138d8f7.da252",\r
6699     "wires": []\r
6700   },\r
6701   {\r
6702     "id": "4168ca78.86bd8c",\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": 4464.533203125,\r
6708     "y": 3825,\r
6709     "z": "4138d8f7.da252",\r
6710     "wires": []\r
6711   },\r
6712   {\r
6713     "id": "6e2860cf.ccae3",\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": 4461.533203125,\r
6719     "y": 3678,\r
6720     "z": "4138d8f7.da252",\r
6721     "wires": []\r
6722   },\r
6723   {\r
6724     "id": "ee8d9735.9d0e18",\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": 4714.533203125,\r
6731     "y": 3802,\r
6732     "z": "4138d8f7.da252",\r
6733     "wires": [\r
6734       [\r
6735         "16183a46.3a0a2e"\r
6736       ]\r
6737     ]\r
6738   },\r
6739   {\r
6740     "id": "16183a46.3a0a2e",\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": 4899.533203125,\r
6747     "y": 3801,\r
6748     "z": "4138d8f7.da252",\r
6749     "wires": [\r
6750       [\r
6751         "9cdceec0.5d3c1"\r
6752       ]\r
6753     ]\r
6754   },\r
6755   {\r
6756     "id": "9cdceec0.5d3c1",\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": 5091.533203125,\r
6763     "y": 3804,\r
6764     "z": "4138d8f7.da252",\r
6765     "wires": [\r
6766       [\r
6767         "a8a5fc36.2f7d"\r
6768       ]\r
6769     ]\r
6770   },\r
6771   {\r
6772     "id": "a8a5fc36.2f7d",\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": 5263.533203125,\r
6778     "y": 3800,\r
6779     "z": "4138d8f7.da252",\r
6780     "wires": []\r
6781   },\r
6782   {\r
6783     "id": "eb8710b8.36ef48",\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": 4639.533203125,\r
6790     "y": 3915,\r
6791     "z": "4138d8f7.da252",\r
6792     "wires": [\r
6793       []\r
6794     ]\r
6795   },\r
6796   {\r
6797     "id": "616a588c.b788e8",\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": 4156.533203125,\r
6805     "y": 3700,\r
6806     "z": "4138d8f7.da252",\r
6807     "wires": [\r
6808       [\r
6809         "711898b1.a3a988",\r
6810         "c5e1be90.cd78d",\r
6811         "8bf9488.63f0cb8",\r
6812         "4168ca78.86bd8c",\r
6813         "12318d1c.9b97cb",\r
6814         "75d5369a.76387",\r
6815         "eb8710b8.36ef48"\r
6816       ]\r
6817     ]\r
6818   },\r
6819   {\r
6820     "id": "d9429d2a.b15568",\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": 4141.533203125,\r
6826     "y": 3634,\r
6827     "z": "4138d8f7.da252",\r
6828     "wires": []\r
6829   },\r
6830   {\r
6831     "id": "c5e1be90.cd78d",\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": 4520.533203125,\r
6838     "y": 3621,\r
6839     "z": "4138d8f7.da252",\r
6840     "wires": [\r
6841       [\r
6842         "d0e253fc.83209",\r
6843         "415d3771.16041",\r
6844         "2e9ad10b.18ccd6"\r
6845       ]\r
6846     ]\r
6847   },\r
6848   {\r
6849     "id": "d0e253fc.83209",\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": 4756.533203125,\r
6856     "y": 3604,\r
6857     "z": "4138d8f7.da252",\r
6858     "wires": [\r
6859       []\r
6860     ]\r
6861   },\r
6862   {\r
6863     "id": "415d3771.16041",\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": 4753.533203125,\r
6870     "y": 3645,\r
6871     "z": "4138d8f7.da252",\r
6872     "wires": [\r
6873       []\r
6874     ]\r
6875   },\r
6876   {\r
6877     "id": "711898b1.a3a988",\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": 4469.533203125,\r
6883     "y": 3578,\r
6884     "z": "4138d8f7.da252",\r
6885     "wires": []\r
6886   },\r
6887   {\r
6888     "id": "6bda79b8.645a68",\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": 5198.93310546875,\r
6894     "y": 4627.39990234375,\r
6895     "z": "4138d8f7.da252",\r
6896     "wires": []\r
6897   },\r
6898   {\r
6899     "id": "94dec63b.8ae1e",\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": 4987.93310546875,\r
6907     "y": 4689.39990234375,\r
6908     "z": "4138d8f7.da252",\r
6909     "wires": [\r
6910       [\r
6911         "5b09d63.4152d28"\r
6912       ]\r
6913     ]\r
6914   },\r
6915   {\r
6916     "id": "5b09d63.4152d28",\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": 5231.93310546875,\r
6923     "y": 4695.39990234375,\r
6924     "z": "4138d8f7.da252",\r
6925     "wires": [\r
6926       [\r
6927         "4ce07cc6.c3d424",\r
6928         "f554a368.1a08c8"\r
6929       ]\r
6930     ]\r
6931   },\r
6932   {\r
6933     "id": "4ce07cc6.c3d424",\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": 5462.93310546875,\r
6940     "y": 4673.39990234375,\r
6941     "z": "4138d8f7.da252",\r
6942     "wires": [\r
6943       [\r
6944         "e736f8f3.ed2808"\r
6945       ]\r
6946     ]\r
6947   },\r
6948   {\r
6949     "id": "f554a368.1a08c8",\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": 5467.93310546875,\r
6956     "y": 4740.39990234375,\r
6957     "z": "4138d8f7.da252",\r
6958     "wires": [\r
6959       []\r
6960     ]\r
6961   },\r
6962   {\r
6963     "id": "4a82e0bf.f144f",\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": 5716.816864013672,\r
6970     "y": 4238.082244873047,\r
6971     "z": "4138d8f7.da252",\r
6972     "wires": [\r
6973       [\r
6974         "8b36e42.8d18318",\r
6975         "9e33af49.9f241"\r
6976       ]\r
6977     ]\r
6978   },\r
6979   {\r
6980     "id": "8b36e42.8d18318",\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": 5871.81689453125,\r
6987     "y": 4166.08251953125,\r
6988     "z": "4138d8f7.da252",\r
6989     "wires": [\r
6990       [\r
6991         "b40b55f7.23af98"\r
6992       ]\r
6993     ]\r
6994   },\r
6995   {\r
6996     "id": "9e33af49.9f241",\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": 5872.81689453125,\r
7003     "y": 4299.08251953125,\r
7004     "z": "4138d8f7.da252",\r
7005     "wires": [\r
7006       [\r
7007         "b38dd55a.418b38"\r
7008       ]\r
7009     ]\r
7010   },\r
7011   {\r
7012     "id": "b40b55f7.23af98",\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": 6016.81689453125,\r
7020     "y": 4166.082763671875,\r
7021     "z": "4138d8f7.da252",\r
7022     "wires": [\r
7023       [\r
7024         "3913dc06.a223d4",\r
7025         "839acfd7.2291a"\r
7026       ]\r
7027     ]\r
7028   },\r
7029   {\r
7030     "id": "3913dc06.a223d4",\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": 6309.81689453125,\r
7037     "y": 4144.08251953125,\r
7038     "z": "4138d8f7.da252",\r
7039     "wires": [\r
7040       []\r
7041     ]\r
7042   },\r
7043   {\r
7044     "id": "839acfd7.2291a",\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": 6261.466796875,\r
7051     "y": 4191.3994140625,\r
7052     "z": "4138d8f7.da252",\r
7053     "wires": [\r
7054       []\r
7055     ]\r
7056   },\r
7057   {\r
7058     "id": "4d10eebf.474a88",\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": 6334.816864013672,\r
7064     "y": 4093.082244873047,\r
7065     "z": "4138d8f7.da252",\r
7066     "wires": []\r
7067   },\r
7068   {\r
7069     "id": "b38dd55a.418b38",\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": 6028.81689453125,\r
7077     "y": 4298.082763671875,\r
7078     "z": "4138d8f7.da252",\r
7079     "wires": [\r
7080       [\r
7081         "8675cc13.463188",\r
7082         "35c1f8d2.a502"\r
7083       ]\r
7084     ]\r
7085   },\r
7086   {\r
7087     "id": "8675cc13.463188",\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": 6321.81689453125,\r
7094     "y": 4276.08251953125,\r
7095     "z": "4138d8f7.da252",\r
7096     "wires": [\r
7097       []\r
7098     ]\r
7099   },\r
7100   {\r
7101     "id": "35c1f8d2.a502",\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": 6273.466796875,\r
7108     "y": 4323.3994140625,\r
7109     "z": "4138d8f7.da252",\r
7110     "wires": [\r
7111       []\r
7112     ]\r
7113   },\r
7114   {\r
7115     "id": "b5ed36f4.c5e02",\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": 6345.81689453125,\r
7121     "y": 4237.08251953125,\r
7122     "z": "4138d8f7.da252",\r
7123     "wires": []\r
7124   },\r
7125   {\r
7126     "id": "e736f8f3.ed2808",\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": 5668.0498046875,\r
7133     "y": 4680.283203125,\r
7134     "z": "4138d8f7.da252",\r
7135     "wires": [\r
7136       [\r
7137         "c39fa1bf.775f28",\r
7138         "760b6a69.a4fd14"\r
7139       ]\r
7140     ]\r
7141   },\r
7142   {\r
7143     "id": "c39fa1bf.775f28",\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": 5863.0498046875,\r
7150     "y": 4608.283203125,\r
7151     "z": "4138d8f7.da252",\r
7152     "wires": [\r
7153       [\r
7154         "903811e2.41d4e8"\r
7155       ]\r
7156     ]\r
7157   },\r
7158   {\r
7159     "id": "760b6a69.a4fd14",\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": 5864.0498046875,\r
7166     "y": 4741.283203125,\r
7167     "z": "4138d8f7.da252",\r
7168     "wires": [\r
7169       [\r
7170         "8a352d04.a7b5f"\r
7171       ]\r
7172     ]\r
7173   },\r
7174   {\r
7175     "id": "903811e2.41d4e8",\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": 6008.0498046875,\r
7183     "y": 4608.283447265625,\r
7184     "z": "4138d8f7.da252",\r
7185     "wires": [\r
7186       [\r
7187         "dd052918.eeeec8",\r
7188         "5b6d1623.4afde8"\r
7189       ]\r
7190     ]\r
7191   },\r
7192   {\r
7193     "id": "dd052918.eeeec8",\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": 6301.0498046875,\r
7200     "y": 4586.283203125,\r
7201     "z": "4138d8f7.da252",\r
7202     "wires": [\r
7203       []\r
7204     ]\r
7205   },\r
7206   {\r
7207     "id": "5b6d1623.4afde8",\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": 6252.69970703125,\r
7214     "y": 4633.60009765625,\r
7215     "z": "4138d8f7.da252",\r
7216     "wires": [\r
7217       []\r
7218     ]\r
7219   },\r
7220   {\r
7221     "id": "f8433708.1cf278",\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": 6325.0498046875,\r
7227     "y": 4547.283203125,\r
7228     "z": "4138d8f7.da252",\r
7229     "wires": []\r
7230   },\r
7231   {\r
7232     "id": "8a352d04.a7b5f",\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": 6020.0498046875,\r
7240     "y": 4740.283447265625,\r
7241     "z": "4138d8f7.da252",\r
7242     "wires": [\r
7243       [\r
7244         "1797ce6f.bf55da",\r
7245         "f850925d.eaddb8"\r
7246       ]\r
7247     ]\r
7248   },\r
7249   {\r
7250     "id": "1797ce6f.bf55da",\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": 6313.0498046875,\r
7257     "y": 4718.283203125,\r
7258     "z": "4138d8f7.da252",\r
7259     "wires": [\r
7260       []\r
7261     ]\r
7262   },\r
7263   {\r
7264     "id": "f850925d.eaddb8",\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": 6264.69970703125,\r
7271     "y": 4765.60009765625,\r
7272     "z": "4138d8f7.da252",\r
7273     "wires": [\r
7274       []\r
7275     ]\r
7276   },\r
7277   {\r
7278     "id": "98f83ad6.f376c",\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": 6337.0498046875,\r
7284     "y": 4679.283203125,\r
7285     "z": "4138d8f7.da252",\r
7286     "wires": []\r
7287   },\r
7288   {\r
7289     "id": "f3a92d2f.d14e78",\r
7290     "type": "comment",\r
7291     "name": "Update connectivity status to modified",\r
7292     "info": "",\r
7293     "comments": "",\r
7294     "x": 5075.89990234375,\r
7295     "y": 5420.4833984375,\r
7296     "z": "4138d8f7.da252",\r
7297     "wires": []\r
7298   },\r
7299   {\r
7300     "id": "cfcbce5e.a3353",\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": 5073.68310546875,\r
7307     "y": 5460.68359375,\r
7308     "z": "4138d8f7.da252",\r
7309     "wires": [\r
7310       []\r
7311     ]\r
7312   },\r
7313   {\r
7314     "id": "35bf741d.0589dc",\r
7315     "type": "comment",\r
7316     "name": "Update connectivity status to modified",\r
7317     "info": "",\r
7318     "comments": "",\r
7319     "x": 4948.933349609375,\r
7320     "y": 5645.16650390625,\r
7321     "z": "4138d8f7.da252",\r
7322     "wires": []\r
7323   },\r
7324   {\r
7325     "id": "58a0b8d5.3916c8",\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": 4946.716552734375,\r
7332     "y": 5685.36669921875,\r
7333     "z": "4138d8f7.da252",\r
7334     "wires": [\r
7335       []\r
7336     ]\r
7337   },\r
7338   {\r
7339     "id": "141a3bed.ea5a94",\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": 5046.0498046875,\r
7346     "y": 5969.283203125,\r
7347     "z": "4138d8f7.da252",\r
7348     "wires": [\r
7349       []\r
7350     ]\r
7351   },\r
7352   {\r
7353     "id": "8127bfc.2c0cdc",\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": 4873.0498046875,\r
7360     "y": 6026.283203125,\r
7361     "z": "4138d8f7.da252",\r
7362     "wires": [\r
7363       [\r
7364         "eb3bc0b8.920088",\r
7365         "e32169bb.0af1a8"\r
7366       ]\r
7367     ]\r
7368   },\r
7369   {\r
7370     "id": "eb3bc0b8.920088",\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": 5084.0498046875,\r
7377     "y": 6026.283203125,\r
7378     "z": "4138d8f7.da252",\r
7379     "wires": [\r
7380       [\r
7381         "2548cb5a.7d91a4"\r
7382       ]\r
7383     ]\r
7384   },\r
7385   {\r
7386     "id": "e32169bb.0af1a8",\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": 5080.0498046875,\r
7393     "y": 6074.283203125,\r
7394     "z": "4138d8f7.da252",\r
7395     "wires": [\r
7396       [\r
7397         "6b0e17ed.7e019"\r
7398       ]\r
7399     ]\r
7400   },\r
7401   {\r
7402     "id": "2548cb5a.7d91a4",\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": 5240.0498046875,\r
7410     "y": 6022.283203125,\r
7411     "z": "4138d8f7.da252",\r
7412     "wires": [\r
7413       [\r
7414         "4736668b.da34e8",\r
7415         "d60814f1.44b368",\r
7416         "3b369b46.f16d74"\r
7417       ]\r
7418     ]\r
7419   },\r
7420   {\r
7421     "id": "6b0e17ed.7e019",\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": 5228.0498046875,\r
7427     "y": 6069.283203125,\r
7428     "z": "4138d8f7.da252",\r
7429     "wires": []\r
7430   },\r
7431   {\r
7432     "id": "b390ff23.8e635",\r
7433     "type": "comment",\r
7434     "name": "Update connectivity status to modified",\r
7435     "info": "",\r
7436     "comments": "",\r
7437     "x": 5505.93359375,\r
7438     "y": 6122.16650390625,\r
7439     "z": "4138d8f7.da252",\r
7440     "wires": []\r
7441   },\r
7442   {\r
7443     "id": "3b369b46.f16d74",\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": 5503.716796875,\r
7450     "y": 6162.36669921875,\r
7451     "z": "4138d8f7.da252",\r
7452     "wires": [\r
7453       []\r
7454     ]\r
7455   },\r
7456   {\r
7457     "id": "d60814f1.44b368",\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": 5623.0498046875,\r
7464     "y": 6074.283203125,\r
7465     "z": "4138d8f7.da252",\r
7466     "wires": [\r
7467       []\r
7468     ]\r
7469   },\r
7470   {\r
7471     "id": "4736668b.da34e8",\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": 5494.0498046875,\r
7477     "y": 6022.283203125,\r
7478     "z": "4138d8f7.da252",\r
7479     "wires": []\r
7480   },\r
7481   {\r
7482     "id": "85c984f2.33f7c8",\r
7483     "type": "comment",\r
7484     "name": "populate connectivity-B variable in the context map",\r
7485     "info": "",\r
7486     "comments": "",\r
7487     "x": 4935.0498046875,\r
7488     "y": 5927.283203125,\r
7489     "z": "4138d8f7.da252",\r
7490     "wires": []\r
7491   },\r
7492   {\r
7493     "id": "f942597e.1aa18",\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": 4582.3828125,\r
7501     "y": 6014.283203125,\r
7502     "z": "4138d8f7.da252",\r
7503     "wires": [\r
7504       [\r
7505         "141a3bed.ea5a94",\r
7506         "8127bfc.2c0cdc",\r
7507         "8afd899a.01e88",\r
7508         "8c1f115c.700108"\r
7509       ]\r
7510     ]\r
7511   },\r
7512   {\r
7513     "id": "fc4aa587.17d69",\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": 4926.13330078125,\r
7520     "y": 6483.283203125,\r
7521     "z": "4138d8f7.da252",\r
7522     "wires": [\r
7523       []\r
7524     ]\r
7525   },\r
7526   {\r
7527     "id": "41ec9458.f731e4",\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": 3631.500457763672,\r
7533     "y": 3759.999969482422,\r
7534     "z": "4138d8f7.da252",\r
7535     "wires": []\r
7536   },\r
7537   {\r
7538     "id": "23b69bc.0871b64",\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": 4384.033660888672,\r
7545     "y": 4034.116668701172,\r
7546     "z": "4138d8f7.da252",\r
7547     "wires": [\r
7548       [\r
7549         "75525335.c9aa54",\r
7550         "d5340ebc.32553",\r
7551         "f8167756.f35bd8"\r
7552       ]\r
7553     ]\r
7554   },\r
7555   {\r
7556     "id": "977709e8.5868c",\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": 4492.033905029297,\r
7562     "y": 3990.116668701172,\r
7563     "z": "4138d8f7.da252",\r
7564     "wires": []\r
7565   },\r
7566   {\r
7567     "id": "75525335.c9aa54",\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": 4589.033660888672,\r
7574     "y": 4031.116668701172,\r
7575     "z": "4138d8f7.da252",\r
7576     "wires": [\r
7577       [\r
7578         "b5414319.96d9"\r
7579       ]\r
7580     ]\r
7581   },\r
7582   {\r
7583     "id": "d5340ebc.32553",\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": 4572.524627685547,\r
7590     "y": 4092.690704345703,\r
7591     "z": "4138d8f7.da252",\r
7592     "wires": [\r
7593       [\r
7594         "a327dd9c.9d096"\r
7595       ]\r
7596     ]\r
7597   },\r
7598   {\r
7599     "id": "f8167756.f35bd8",\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": 4570.033660888672,\r
7606     "y": 4136.116668701172,\r
7607     "z": "4138d8f7.da252",\r
7608     "wires": [\r
7609       [\r
7610         "784d31ab.abb97"\r
7611       ]\r
7612     ]\r
7613   },\r
7614   {\r
7615     "id": "b5414319.96d9",\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": 4757.033905029297,\r
7622     "y": 4026.116668701172,\r
7623     "z": "4138d8f7.da252",\r
7624     "wires": [\r
7625       [\r
7626         "98142959.81fca"\r
7627       ]\r
7628     ]\r
7629   },\r
7630   {\r
7631     "id": "a327dd9c.9d096",\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": 4735.096038818359,\r
7637     "y": 4092.9764404296875,\r
7638     "z": "4138d8f7.da252",\r
7639     "wires": []\r
7640   },\r
7641   {\r
7642     "id": "784d31ab.abb97",\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": 4737.033660888672,\r
7648     "y": 4135.116668701172,\r
7649     "z": "4138d8f7.da252",\r
7650     "wires": []\r
7651   },\r
7652   {\r
7653     "id": "98142959.81fca",\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": 4995.033905029297,\r
7660     "y": 4031.116668701172,\r
7661     "z": "4138d8f7.da252",\r
7662     "wires": [\r
7663       [\r
7664         "6df0b8a0.a7c62"\r
7665       ]\r
7666     ]\r
7667   },\r
7668   {\r
7669     "id": "6df0b8a0.a7c62",\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": 5229.033660888672,\r
7677     "y": 4038.116668701172,\r
7678     "z": "4138d8f7.da252",\r
7679     "wires": [\r
7680       [\r
7681         "201cbbc6.38c61c"\r
7682       ]\r
7683     ]\r
7684   },\r
7685   {\r
7686     "id": "92806e4e.351398",\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": 4362.733367919922,\r
7692     "y": 3960.116668701172,\r
7693     "z": "4138d8f7.da252",\r
7694     "wires": []\r
7695   },\r
7696   {\r
7697     "id": "f43de449.20024",\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": 5645.883270263672,\r
7704     "y": 4048.699676513672,\r
7705     "z": "4138d8f7.da252",\r
7706     "wires": [\r
7707       [\r
7708         "7a53ecb2.cec2c4"\r
7709       ]\r
7710     ]\r
7711   },\r
7712   {\r
7713     "id": "7a53ecb2.cec2c4",\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": 5837.883270263672,\r
7720     "y": 4037.699920654297,\r
7721     "z": "4138d8f7.da252",\r
7722     "wires": [\r
7723       [\r
7724         "700641c0.5a055"\r
7725       ]\r
7726     ]\r
7727   },\r
7728   {\r
7729     "id": "700641c0.5a055",\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": 6019.883270263672,\r
7736     "y": 4016.699920654297,\r
7737     "z": "4138d8f7.da252",\r
7738     "wires": [\r
7739       [\r
7740         "9920129e.a09"\r
7741       ]\r
7742     ]\r
7743   },\r
7744   {\r
7745     "id": "9920129e.a09",\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": 6181.883270263672,\r
7752     "y": 4005.699920654297,\r
7753     "z": "4138d8f7.da252",\r
7754     "wires": [\r
7755       [\r
7756         "7f7dfee.7fba8",\r
7757         "c8f259e.2871ba8"\r
7758       ]\r
7759     ]\r
7760   },\r
7761   {\r
7762     "id": "7f7dfee.7fba8",\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": 6378.883270263672,\r
7768     "y": 3934.699920654297,\r
7769     "z": "4138d8f7.da252",\r
7770     "wires": []\r
7771   },\r
7772   {\r
7773     "id": "335b26db.86f24a",\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": 5552.833465576172,\r
7781     "y": 4163.699676513672,\r
7782     "z": "4138d8f7.da252",\r
7783     "wires": [\r
7784       [\r
7785         "4a82e0bf.f144f",\r
7786         "f43de449.20024",\r
7787         "1e79d0a7.c66727",\r
7788         "7f90edcc.1e82b4"\r
7789       ]\r
7790     ]\r
7791   },\r
7792   {\r
7793     "id": "1e79d0a7.c66727",\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": 5684.399871826172,\r
7799     "y": 3938.916717529297,\r
7800     "z": "4138d8f7.da252",\r
7801     "wires": []\r
7802   },\r
7803   {\r
7804     "id": "7f90edcc.1e82b4",\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": 5676.399871826172,\r
7810     "y": 3987.916717529297,\r
7811     "z": "4138d8f7.da252",\r
7812     "wires": []\r
7813   },\r
7814   {\r
7815     "id": "c8f259e.2871ba8",\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": 6384.350067138672,\r
7821     "y": 4043.916717529297,\r
7822     "z": "4138d8f7.da252",\r
7823     "wires": []\r
7824   },\r
7825   {\r
7826     "id": "a412e157.cf47d8",\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": 5677.616668701172,\r
7832     "y": 3762.116668701172,\r
7833     "z": "4138d8f7.da252",\r
7834     "wires": []\r
7835   },\r
7836   {\r
7837     "id": "6887559d.aa01b4",\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": 5831.616668701172,\r
7844     "y": 3814.116668701172,\r
7845     "z": "4138d8f7.da252",\r
7846     "wires": [\r
7847       []\r
7848     ]\r
7849   },\r
7850   {\r
7851     "id": "ea4b8bb2.02c728",\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": 5422.616668701172,\r
7859     "y": 3881.116668701172,\r
7860     "z": "4138d8f7.da252",\r
7861     "wires": [\r
7862       [\r
7863         "6887559d.aa01b4",\r
7864         "d154a2e6.a2bcc",\r
7865         "a412e157.cf47d8"\r
7866       ]\r
7867     ]\r
7868   },\r
7869   {\r
7870     "id": "d154a2e6.a2bcc",\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": 5676.616668701172,\r
7877     "y": 3869.116668701172,\r
7878     "z": "4138d8f7.da252",\r
7879     "wires": [\r
7880       [\r
7881         "89918c5f.33a478"\r
7882       ]\r
7883     ]\r
7884   },\r
7885   {\r
7886     "id": "89918c5f.33a478",\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": 5855.616668701172,\r
7893     "y": 3868.116668701172,\r
7894     "z": "4138d8f7.da252",\r
7895     "wires": [\r
7896       [\r
7897         "335b26db.86f24a"\r
7898       ]\r
7899     ]\r
7900   },\r
7901   {\r
7902     "id": "2fafeba7.6be734",\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": 4553.616668701172,\r
7910     "y": 7386.116668701172,\r
7911     "z": "4138d8f7.da252",\r
7912     "wires": [\r
7913       [\r
7914         "18db3335.23915d",\r
7915         "d2fe4c45.697938",\r
7916         "175608de.c2a5b7"\r
7917       ]\r
7918     ]\r
7919   },\r
7920   {\r
7921     "id": "175608de.c2a5b7",\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": 4776.616668701172,\r
7927     "y": 7330.116668701172,\r
7928     "z": "4138d8f7.da252",\r
7929     "wires": []\r
7930   },\r
7931   {\r
7932     "id": "18db3335.23915d",\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": 4955.616668701172,\r
7939     "y": 7373.116668701172,\r
7940     "z": "4138d8f7.da252",\r
7941     "wires": [\r
7942       []\r
7943     ]\r
7944   },\r
7945   {\r
7946     "id": "d2fe4c45.697938",\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": 4800.616668701172,\r
7953     "y": 7428.116668701172,\r
7954     "z": "4138d8f7.da252",\r
7955     "wires": [\r
7956       [\r
7957         "5916bddb.120d64"\r
7958       ]\r
7959     ]\r
7960   },\r
7961   {\r
7962     "id": "5916bddb.120d64",\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": 4979.616668701172,\r
7969     "y": 7427.116668701172,\r
7970     "z": "4138d8f7.da252",\r
7971     "wires": [\r
7972       [\r
7973         "997dfd42.35e9c"\r
7974       ]\r
7975     ]\r
7976   },\r
7977   {\r
7978     "id": "afa717d0.25e7a8",\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": 4710.616668701172,\r
7984     "y": 7066.116668701172,\r
7985     "z": "4138d8f7.da252",\r
7986     "wires": []\r
7987   },\r
7988   {\r
7989     "id": "46e10049.e35348",\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": 3276.2332763671875,\r
7995     "y": 460.566650390625,\r
7996     "z": "4138d8f7.da252",\r
7997     "wires": []\r
7998   },\r
7999   {\r
8000     "id": "26a90c3.2a56674",\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": 4051.332763671875,\r
8007     "y": 521.566650390625,\r
8008     "z": "4138d8f7.da252",\r
8009     "wires": [\r
8010       [\r
8011         "949451da.c153b8"\r
8012       ]\r
8013     ]\r
8014   },\r
8015   {\r
8016     "id": "949451da.c153b8",\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": 4220.332763671875,\r
8024     "y": 518.566650390625,\r
8025     "z": "4138d8f7.da252",\r
8026     "wires": [\r
8027       [\r
8028         "33bf54d9.6913cc",\r
8029         "9e64bdfc.fb79a8"\r
8030       ]\r
8031     ]\r
8032   },\r
8033   {\r
8034     "id": "33bf54d9.6913cc",\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": 4444.332763671875,\r
8040     "y": 551.566650390625,\r
8041     "z": "4138d8f7.da252",\r
8042     "wires": []\r
8043   },\r
8044   {\r
8045     "id": "9e64bdfc.fb79a8",\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": 4390.332763671875,\r
8051     "y": 591.566650390625,\r
8052     "z": "4138d8f7.da252",\r
8053     "wires": []\r
8054   },\r
8055   {\r
8056     "id": "16154f9d.14a3b",\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": 4016.333251953125,\r
8063     "y": 720.7666625976562,\r
8064     "z": "4138d8f7.da252",\r
8065     "wires": [\r
8066       [\r
8067         "85975abf.6c518"\r
8068       ]\r
8069     ]\r
8070   },\r
8071   {\r
8072     "id": "85975abf.6c518",\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": 4181.33251953125,\r
8080     "y": 725.7666625976562,\r
8081     "z": "4138d8f7.da252",\r
8082     "wires": [\r
8083       [\r
8084         "adebbb96.d8f2f",\r
8085         "88877892.df83d8"\r
8086       ]\r
8087     ]\r
8088   },\r
8089   {\r
8090     "id": "adebbb96.d8f2f",\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": 4428.332763671875,\r
8096     "y": 807.7666625976562,\r
8097     "z": "4138d8f7.da252",\r
8098     "wires": []\r
8099   },\r
8100   {\r
8101     "id": "88877892.df83d8",\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": 4374.332763671875,\r
8107     "y": 847.7666625976562,\r
8108     "z": "4138d8f7.da252",\r
8109     "wires": []\r
8110   },\r
8111   {\r
8112     "id": "f55201f.0be188",\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": 3259.333251953125,\r
8119     "y": 859.7666625976562,\r
8120     "z": "4138d8f7.da252",\r
8121     "wires": [\r
8122       [\r
8123         "e0b52eb6.aea228",\r
8124         "c2961466.a099a8",\r
8125         "6a533bc.97a86c4"\r
8126       ]\r
8127     ]\r
8128   },\r
8129   {\r
8130     "id": "e0b52eb6.aea228",\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": 3501.333251953125,\r
8137     "y": 852.7666625976562,\r
8138     "z": "4138d8f7.da252",\r
8139     "wires": [\r
8140       []\r
8141     ]\r
8142   },\r
8143   {\r
8144     "id": "c2961466.a099a8",\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": 3496.842315673828,\r
8151     "y": 895.1927185058594,\r
8152     "z": "4138d8f7.da252",\r
8153     "wires": [\r
8154       []\r
8155     ]\r
8156   },\r
8157   {\r
8158     "id": "6a533bc.97a86c4",\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": 3500.84228515625,\r
8165     "y": 943.1926879882812,\r
8166     "z": "4138d8f7.da252",\r
8167     "wires": [\r
8168       [\r
8169         "83cc008.07d49"\r
8170       ]\r
8171     ]\r
8172   },\r
8173   {\r
8174     "id": "83cc008.07d49",\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": 3662.333251953125,\r
8181     "y": 883.7666625976562,\r
8182     "z": "4138d8f7.da252",\r
8183     "wires": [\r
8184       [\r
8185         "2318951c.d8223a"\r
8186       ]\r
8187     ]\r
8188   },\r
8189   {\r
8190     "id": "2318951c.d8223a",\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": 3833.333251953125,\r
8197     "y": 883.766845703125,\r
8198     "z": "4138d8f7.da252",\r
8199     "wires": [\r
8200       [\r
8201         "1ecaee8d.2e04b1",\r
8202         "6f57dead.f93a98",\r
8203         "743eca24.c93994"\r
8204       ]\r
8205     ]\r
8206   },\r
8207   {\r
8208     "id": "1ecaee8d.2e04b1",\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": 4000.3330078125,\r
8215     "y": 793.7667846679688,\r
8216     "z": "4138d8f7.da252",\r
8217     "wires": [\r
8218       [\r
8219         "ced307c.4c3f7f8"\r
8220       ]\r
8221     ]\r
8222   },\r
8223   {\r
8224     "id": "6f57dead.f93a98",\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": 4002.3330078125,\r
8231     "y": 847.7667846679688,\r
8232     "z": "4138d8f7.da252",\r
8233     "wires": [\r
8234       [\r
8235         "e2f995cd.e955"\r
8236       ]\r
8237     ]\r
8238   },\r
8239   {\r
8240     "id": "ced307c.4c3f7f8",\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": 4128.3330078125,\r
8248     "y": 793.7667846679688,\r
8249     "z": "4138d8f7.da252",\r
8250     "wires": [\r
8251       [\r
8252         "36a6204d.62e268",\r
8253         "94b8b644.43f75"\r
8254       ]\r
8255     ]\r
8256   },\r
8257   {\r
8258     "id": "e2f995cd.e955",\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": 4131.3330078125,\r
8266     "y": 846.7667846679688,\r
8267     "z": "4138d8f7.da252",\r
8268     "wires": [\r
8269       [\r
8270         "7b0ab608.42ea9",\r
8271         "a90ad8f1.fdc558"\r
8272       ]\r
8273     ]\r
8274   },\r
8275   {\r
8276     "id": "94b8b644.43f75",\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": 4374.332763671875,\r
8282     "y": 932.7667846679688,\r
8283     "z": "4138d8f7.da252",\r
8284     "wires": []\r
8285   },\r
8286   {\r
8287     "id": "7b0ab608.42ea9",\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": 4391.332763671875,\r
8293     "y": 974.7667846679688,\r
8294     "z": "4138d8f7.da252",\r
8295     "wires": []\r
8296   },\r
8297   {\r
8298     "id": "a90ad8f1.fdc558",\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": 4376.332763671875,\r
8304     "y": 1012.7667846679688,\r
8305     "z": "4138d8f7.da252",\r
8306     "wires": []\r
8307   },\r
8308   {\r
8309     "id": "36a6204d.62e268",\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": 4388.332763671875,\r
8315     "y": 892.7667846679688,\r
8316     "z": "4138d8f7.da252",\r
8317     "wires": []\r
8318   },\r
8319   {\r
8320     "id": "467d675.a17d518",\r
8321     "type": "comment",\r
8322     "name": "This is it (should be)",\r
8323     "info": "",\r
8324     "comments": "",\r
8325     "x": 4553.332763671875,\r
8326     "y": 908.7667846679688,\r
8327     "z": "4138d8f7.da252",\r
8328     "wires": []\r
8329   },\r
8330   {\r
8331     "id": "743eca24.c93994",\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": 3941.333251953125,\r
8338     "y": 938.7666015625,\r
8339     "z": "4138d8f7.da252",\r
8340     "wires": [\r
8341       [\r
8342         "32cfa81c.1fdfe"\r
8343       ]\r
8344     ]\r
8345   },\r
8346   {\r
8347     "id": "32cfa81c.1fdfe",\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": 4115.333251953125,\r
8355     "y": 933.7666015625,\r
8356     "z": "4138d8f7.da252",\r
8357     "wires": [\r
8358       [\r
8359         "7ba10fb0.49acb8",\r
8360         "c1eb138a.5c454"\r
8361       ]\r
8362     ]\r
8363   },\r
8364   {\r
8365     "id": "c1eb138a.5c454",\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": 4348.332763671875,\r
8371     "y": 1102.7665405273438,\r
8372     "z": "4138d8f7.da252",\r
8373     "wires": []\r
8374   },\r
8375   {\r
8376     "id": "7ba10fb0.49acb8",\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": 4402.332763671875,\r
8382     "y": 1062.7665405273438,\r
8383     "z": "4138d8f7.da252",\r
8384     "wires": []\r
8385   },\r
8386   {\r
8387     "id": "f3ed1968.f2e4c",\r
8388     "type": "comment",\r
8389     "name": "This is it (should be)",\r
8390     "info": "",\r
8391     "comments": "",\r
8392     "x": 4516.332763671875,\r
8393     "y": 1087.7665405273438,\r
8394     "z": "4138d8f7.da252",\r
8395     "wires": []\r
8396   },\r
8397   {\r
8398     "id": "9301f497.efdba",\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": 3517,\r
8405     "y": 2168,\r
8406     "z": "4138d8f7.da252",\r
8407     "wires": [\r
8408       [\r
8409         "7448f46b.34e6cc",\r
8410         "5277238e.78ec8c"\r
8411       ]\r
8412     ]\r
8413   },\r
8414   {\r
8415     "id": "48753b32.6fce64",\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": 3344.33349609375,\r
8422     "y": 2169,\r
8423     "z": "4138d8f7.da252",\r
8424     "wires": [\r
8425       [\r
8426         "9301f497.efdba"\r
8427       ]\r
8428     ]\r
8429   },\r
8430   {\r
8431     "id": "7b2bdccd.4a3854",\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": 3353.824462890625,\r
8438     "y": 2211.5740356445312,\r
8439     "z": "4138d8f7.da252",\r
8440     "wires": [\r
8441       []\r
8442     ]\r
8443   },\r
8444   {\r
8445     "id": "9a4a0275.086048",\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": 3342.33349609375,\r
8452     "y": 2258,\r
8453     "z": "4138d8f7.da252",\r
8454     "wires": [\r
8455       []\r
8456     ]\r
8457   },\r
8458   {\r
8459     "id": "7448f46b.34e6cc",\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": 3803.33349609375,\r
8466     "y": 2172.0001220703125,\r
8467     "z": "4138d8f7.da252",\r
8468     "wires": [\r
8469       [\r
8470         "645217a3.91825",\r
8471         "af1d3f52.b0745"\r
8472       ]\r
8473     ]\r
8474   },\r
8475   {\r
8476     "id": "af1d3f52.b0745",\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": 4026.33349609375,\r
8483     "y": 2127.0001220703125,\r
8484     "z": "4138d8f7.da252",\r
8485     "wires": [\r
8486       [\r
8487         "731452c3.85af84"\r
8488       ]\r
8489     ]\r
8490   },\r
8491   {\r
8492     "id": "645217a3.91825",\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": 4028.33349609375,\r
8499     "y": 2191.0001220703125,\r
8500     "z": "4138d8f7.da252",\r
8501     "wires": [\r
8502       [\r
8503         "6089c716.00dec8"\r
8504       ]\r
8505     ]\r
8506   },\r
8507   {\r
8508     "id": "fa7f428c.6d6b2",\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": 3116.33349609375,\r
8515     "y": 2204,\r
8516     "z": "4138d8f7.da252",\r
8517     "wires": [\r
8518       [\r
8519         "48753b32.6fce64",\r
8520         "7b2bdccd.4a3854",\r
8521         "9a4a0275.086048"\r
8522       ]\r
8523     ]\r
8524   },\r
8525   {\r
8526     "id": "c73afdde.7fd758",\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": 3077.33349609375,\r
8532     "y": 2148,\r
8533     "z": "4138d8f7.da252",\r
8534     "wires": []\r
8535   },\r
8536   {\r
8537     "id": "6834572.668ee28",\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": 3136.33349609375,\r
8544     "y": 1944,\r
8545     "z": "4138d8f7.da252",\r
8546     "wires": [\r
8547       [\r
8548         "2bef51bc.6ca236",\r
8549         "6cf1c76e.88753"\r
8550       ]\r
8551     ]\r
8552   },\r
8553   {\r
8554     "id": "6cf1c76e.88753",\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": 3359.33349609375,\r
8561     "y": 1930,\r
8562     "z": "4138d8f7.da252",\r
8563     "wires": [\r
8564       [\r
8565         "f6f8952c.2953"\r
8566       ]\r
8567     ]\r
8568   },\r
8569   {\r
8570     "id": "2bef51bc.6ca236",\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": 3361.33349609375,\r
8577     "y": 1963,\r
8578     "z": "4138d8f7.da252",\r
8579     "wires": [\r
8580       []\r
8581     ]\r
8582   },\r
8583   {\r
8584     "id": "f6f8952c.2953",\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": 3507.33349609375,\r
8591     "y": 1923,\r
8592     "z": "4138d8f7.da252",\r
8593     "wires": [\r
8594       [\r
8595         "f448bb3c.4541c8",\r
8596         "dafe2b52.c4e9d"\r
8597       ]\r
8598     ]\r
8599   },\r
8600   {\r
8601     "id": "f448bb3c.4541c8",\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": 3701.33349609375,\r
8607     "y": 1926.0001220703125,\r
8608     "z": "4138d8f7.da252",\r
8609     "wires": []\r
8610   },\r
8611   {\r
8612     "id": "5277238e.78ec8c",\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": 3754.333465576172,\r
8619     "y": 2294.999969482422,\r
8620     "z": "4138d8f7.da252",\r
8621     "wires": [\r
8622       [\r
8623         "eb06fc3b.085ab"\r
8624       ]\r
8625     ]\r
8626   },\r
8627   {\r
8628     "id": "eb06fc3b.085ab",\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": 3960.333465576172,\r
8635     "y": 2294.999969482422,\r
8636     "z": "4138d8f7.da252",\r
8637     "wires": [\r
8638       [\r
8639         "a014a0c0.bb63d8"\r
8640       ]\r
8641     ]\r
8642   },\r
8643   {\r
8644     "id": "dafe2b52.c4e9d",\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": 3723.33349609375,\r
8651     "y": 1994.0001220703125,\r
8652     "z": "4138d8f7.da252",\r
8653     "wires": [\r
8654       [\r
8655         "a21fb44.41309c8",\r
8656         "5685afe4.0b1f1",\r
8657         "ea909548.33d5a"\r
8658       ]\r
8659     ]\r
8660   },\r
8661   {\r
8662     "id": "a21fb44.41309c8",\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": 3918.8336181640625,\r
8669     "y": 1946.0001220703125,\r
8670     "z": "4138d8f7.da252",\r
8671     "wires": [\r
8672       [\r
8673         "9cea62e1.55972"\r
8674       ]\r
8675     ]\r
8676   },\r
8677   {\r
8678     "id": "5685afe4.0b1f1",\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": 3910.8336181640625,\r
8685     "y": 2001.0001220703125,\r
8686     "z": "4138d8f7.da252",\r
8687     "wires": [\r
8688       [\r
8689         "89031999.da34c"\r
8690       ]\r
8691     ]\r
8692   },\r
8693   {\r
8694     "id": "ea909548.33d5a",\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": 3915.8336181640625,\r
8701     "y": 2058.0001220703125,\r
8702     "z": "4138d8f7.da252",\r
8703     "wires": [\r
8704       [\r
8705         "c3bf7f9d.8f5d8"\r
8706       ]\r
8707     ]\r
8708   },\r
8709   {\r
8710     "id": "c3bf7f9d.8f5d8",\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": 4067.8336181640625,\r
8716     "y": 2059.0001220703125,\r
8717     "z": "4138d8f7.da252",\r
8718     "wires": []\r
8719   },\r
8720   {\r
8721     "id": "9cea62e1.55972",\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": 4063.2159423828125,\r
8729     "y": 1943.6557922363281,\r
8730     "z": "4138d8f7.da252",\r
8731     "wires": [\r
8732       [\r
8733         "e8d406ab.082b08"\r
8734       ]\r
8735     ]\r
8736   },\r
8737   {\r
8738     "id": "8c5d257.6a579d8",\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": 3139,\r
8744     "y": 2283,\r
8745     "z": "4138d8f7.da252",\r
8746     "wires": []\r
8747   },\r
8748   {\r
8749     "id": "5e59531e.4360fc",\r
8750     "type": "comment",\r
8751     "name": "NOT NEEDED ANYMORE?",\r
8752     "info": "",\r
8753     "comments": "",\r
8754     "x": 3813.999969482422,\r
8755     "y": 2246.999969482422,\r
8756     "z": "4138d8f7.da252",\r
8757     "wires": []\r
8758   },\r
8759   {\r
8760     "id": "6089c716.00dec8",\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": 4187.33349609375,\r
8766     "y": 2210.0001220703125,\r
8767     "z": "4138d8f7.da252",\r
8768     "wires": []\r
8769   },\r
8770   {\r
8771     "id": "731452c3.85af84",\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": 4191.33349609375,\r
8778     "y": 2124.0001220703125,\r
8779     "z": "4138d8f7.da252",\r
8780     "wires": [\r
8781       [\r
8782         "8743a739.8d80e8",\r
8783         "538193e1.eab6f4"\r
8784       ]\r
8785     ]\r
8786   },\r
8787   {\r
8788     "id": "a014a0c0.bb63d8",\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": 4177.619110107422,\r
8795     "y": 2293.821746826172,\r
8796     "z": "4138d8f7.da252",\r
8797     "wires": [\r
8798       [\r
8799         "62c06921.59013"\r
8800       ]\r
8801     ]\r
8802   },\r
8803   {\r
8804     "id": "89031999.da34c",\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": 4078.8336181640625,\r
8810     "y": 2004.0001220703125,\r
8811     "z": "4138d8f7.da252",\r
8812     "wires": []\r
8813   },\r
8814   {\r
8815     "id": "8743a739.8d80e8",\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": 4361.33349609375,\r
8821     "y": 2085.0001220703125,\r
8822     "z": "4138d8f7.da252",\r
8823     "wires": []\r
8824   },\r
8825   {\r
8826     "id": "538193e1.eab6f4",\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": 4362.33349609375,\r
8832     "y": 2190.0001220703125,\r
8833     "z": "4138d8f7.da252",\r
8834     "wires": []\r
8835   },\r
8836   {\r
8837     "id": "a7a60345.c4fe3",\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": 4357.33349609375,\r
8843     "y": 2139.0001220703125,\r
8844     "z": "4138d8f7.da252",\r
8845     "wires": []\r
8846   },\r
8847   {\r
8848     "id": "62c06921.59013",\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": 4384.450653076172,\r
8855     "y": 2283.3404235839844,\r
8856     "z": "4138d8f7.da252",\r
8857     "wires": [\r
8858       [\r
8859         "61f01ac9.4769c4",\r
8860         "6f3f4bab.137934",\r
8861         "b1be6cb6.4fb618"\r
8862       ]\r
8863     ]\r
8864   },\r
8865   {\r
8866     "id": "61f01ac9.4769c4",\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": 4599.450653076172,\r
8872     "y": 2245.3404235839844,\r
8873     "z": "4138d8f7.da252",\r
8874     "wires": []\r
8875   },\r
8876   {\r
8877     "id": "6f3f4bab.137934",\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": 4596.450653076172,\r
8884     "y": 2284.3404235839844,\r
8885     "z": "4138d8f7.da252",\r
8886     "wires": [\r
8887       [\r
8888         "2692e306.96b09c"\r
8889       ]\r
8890     ]\r
8891   },\r
8892   {\r
8893     "id": "b1be6cb6.4fb618",\r
8894     "type": "break",\r
8895     "name": "break",\r
8896     "xml": "<break>\n",\r
8897     "comments": "",\r
8898     "x": 4551.950653076172,\r
8899     "y": 2326.3404235839844,\r
8900     "z": "4138d8f7.da252",\r
8901     "wires": []\r
8902   },\r
8903   {\r
8904     "id": "50016039.86678",\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": 4645.33349609375,\r
8911     "y": 1962.0001220703125,\r
8912     "z": "4138d8f7.da252",\r
8913     "wires": [\r
8914       [\r
8915         "19550590.021992"\r
8916       ]\r
8917     ]\r
8918   },\r
8919   {\r
8920     "id": "e8d406ab.082b08",\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": 4247.33349609375,\r
8927     "y": 1958.0001220703125,\r
8928     "z": "4138d8f7.da252",\r
8929     "wires": [\r
8930       [\r
8931         "6de4be31.1810b"\r
8932       ]\r
8933     ]\r
8934   },\r
8935   {\r
8936     "id": "6de4be31.1810b",\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": 4442.33349609375,\r
8943     "y": 1958.0001220703125,\r
8944     "z": "4138d8f7.da252",\r
8945     "wires": [\r
8946       [\r
8947         "50016039.86678",\r
8948         "cba34b2.471f9b8"\r
8949       ]\r
8950     ]\r
8951   },\r
8952   {\r
8953     "id": "cba34b2.471f9b8",\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": 4647.33349609375,\r
8960     "y": 2035.0001220703125,\r
8961     "z": "4138d8f7.da252",\r
8962     "wires": [\r
8963       [\r
8964         "af92238d.b3b23"\r
8965       ]\r
8966     ]\r
8967   },\r
8968   {\r
8969     "id": "2692e306.96b09c",\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": 4776.950653076172,\r
8976     "y": 2283.3404235839844,\r
8977     "z": "4138d8f7.da252",\r
8978     "wires": [\r
8979       [\r
8980         "b1246264.28f0f"\r
8981       ]\r
8982     ]\r
8983   },\r
8984   {\r
8985     "id": "b1246264.28f0f",\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": 4934.950653076172,\r
8992     "y": 2283.3404235839844,\r
8993     "z": "4138d8f7.da252",\r
8994     "wires": [\r
8995       [\r
8996         "fd4ac373.f8f388"\r
8997       ]\r
8998     ]\r
8999   },\r
9000   {\r
9001     "id": "fd4ac373.f8f388",\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": 5141.950653076172,\r
9007     "y": 2283.3404235839844,\r
9008     "z": "4138d8f7.da252",\r
9009     "wires": []\r
9010   },\r
9011   {\r
9012     "id": "19550590.021992",\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": 4822.33349609375,\r
9019     "y": 1954.0001220703125,\r
9020     "z": "4138d8f7.da252",\r
9021     "wires": [\r
9022       [\r
9023         "f2beac88.eedd2",\r
9024         "e37f582f.5a4c9"\r
9025       ]\r
9026     ]\r
9027   },\r
9028   {\r
9029     "id": "e37f582f.5a4c9",\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": 5030.33349609375,\r
9036     "y": 1961.0001220703125,\r
9037     "z": "4138d8f7.da252",\r
9038     "wires": [\r
9039       [\r
9040         "6a3803eb.9852cc",\r
9041         "9a9acadd.82809",\r
9042         "a1039497.bae268"\r
9043       ]\r
9044     ]\r
9045   },\r
9046   {\r
9047     "id": "af92238d.b3b23",\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": 4824.33349609375,\r
9054     "y": 2027.0001220703125,\r
9055     "z": "4138d8f7.da252",\r
9056     "wires": [\r
9057       [\r
9058         "99f85b9c.2a8238"\r
9059       ]\r
9060     ]\r
9061   },\r
9062   {\r
9063     "id": "f2beac88.eedd2",\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": 5060.33349609375,\r
9069     "y": 1909.0001220703125,\r
9070     "z": "4138d8f7.da252",\r
9071     "wires": []\r
9072   },\r
9073   {\r
9074     "id": "99f85b9c.2a8238",\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": 5059.33349609375,\r
9080     "y": 2151.0001220703125,\r
9081     "z": "4138d8f7.da252",\r
9082     "wires": []\r
9083   },\r
9084   {\r
9085     "id": "6a3803eb.9852cc",\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": 5240.33349609375,\r
9092     "y": 1952.0001220703125,\r
9093     "z": "4138d8f7.da252",\r
9094     "wires": [\r
9095       [\r
9096         "f25a9292.d1fb4"\r
9097       ]\r
9098     ]\r
9099   },\r
9100   {\r
9101     "id": "9a9acadd.82809",\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": 5232.33349609375,\r
9108     "y": 2007.0001220703125,\r
9109     "z": "4138d8f7.da252",\r
9110     "wires": [\r
9111       [\r
9112         "7db8b6f1.adecb8"\r
9113       ]\r
9114     ]\r
9115   },\r
9116   {\r
9117     "id": "a1039497.bae268",\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": 5237.33349609375,\r
9124     "y": 2064.0001220703125,\r
9125     "z": "4138d8f7.da252",\r
9126     "wires": [\r
9127       [\r
9128         "e3bf692a.f4e238"\r
9129       ]\r
9130     ]\r
9131   },\r
9132   {\r
9133     "id": "e3bf692a.f4e238",\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": 5389.33349609375,\r
9139     "y": 2065.0001220703125,\r
9140     "z": "4138d8f7.da252",\r
9141     "wires": []\r
9142   },\r
9143   {\r
9144     "id": "7db8b6f1.adecb8",\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": 5400.33349609375,\r
9150     "y": 2010.0001220703125,\r
9151     "z": "4138d8f7.da252",\r
9152     "wires": []\r
9153   },\r
9154   {\r
9155     "id": "f25a9292.d1fb4",\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": 5384.7158203125,\r
9163     "y": 1949.6557922363281,\r
9164     "z": "4138d8f7.da252",\r
9165     "wires": [\r
9166       [\r
9167         "fbf54d7c.8184a"\r
9168       ]\r
9169     ]\r
9170   },\r
9171   {\r
9172     "id": "fbf54d7c.8184a",\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": 5599.33349609375,\r
9178     "y": 1946.0001220703125,\r
9179     "z": "4138d8f7.da252",\r
9180     "wires": []\r
9181   },\r
9182   {\r
9183     "id": "c067ce8c.82bd2",\r
9184     "type": "comment",\r
9185     "name": "Create SECONDARY-ROOT UNI",\r
9186     "info": "",\r
9187     "comments": "",\r
9188     "x": 5628.83349609375,\r
9189     "y": 2068.7666015625,\r
9190     "z": "4138d8f7.da252",\r
9191     "wires": []\r
9192   },\r
9193   {\r
9194     "id": "858f96c1.79cbc",\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": 5600.9501953125,\r
9201     "y": 2117.88330078125,\r
9202     "z": "4138d8f7.da252",\r
9203     "wires": [\r
9204       [\r
9205         "8c0e0f7f.469198"\r
9206       ]\r
9207     ]\r
9208   },\r
9209   {\r
9210     "id": "8c0e0f7f.469198",\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": 5791.9501953125,\r
9217     "y": 2121.88330078125,\r
9218     "z": "4138d8f7.da252",\r
9219     "wires": [\r
9220       [\r
9221         "a3faa53c.d04c58"\r
9222       ]\r
9223     ]\r
9224   },\r
9225   {\r
9226     "id": "a3faa53c.d04c58",\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": 5918.9501953125,\r
9234     "y": 2120.88330078125,\r
9235     "z": "4138d8f7.da252",\r
9236     "wires": [\r
9237       [\r
9238         "53f62ca7.7b47cc",\r
9239         "582e0a2f.97b604"\r
9240       ]\r
9241     ]\r
9242   },\r
9243   {\r
9244     "id": "582e0a2f.97b604",\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",\r
9248     "comments": "",\r
9249     "outputs": 1,\r
9250     "x": 6140.9501953125,\r
9251     "y": 2009.88330078125,\r
9252     "z": "4138d8f7.da252",\r
9253     "wires": [\r
9254       []\r
9255     ]\r
9256   },\r
9257   {\r
9258     "id": "53f62ca7.7b47cc",\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": 6136.83349609375,\r
9265     "y": 2068.7666015625,\r
9266     "z": "4138d8f7.da252",\r
9267     "wires": [\r
9268       [\r
9269         "142e04ee.e3d34b",\r
9270         "257ca4bf.8f052c"\r
9271       ]\r
9272     ]\r
9273   },\r
9274   {\r
9275     "id": "142e04ee.e3d34b",\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": 6346.83349609375,\r
9282     "y": 2045.7666015625,\r
9283     "z": "4138d8f7.da252",\r
9284     "wires": [\r
9285       [\r
9286         "9407e67d.da2418"\r
9287       ]\r
9288     ]\r
9289   },\r
9290   {\r
9291     "id": "9407e67d.da2418",\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": 6472.83349609375,\r
9299     "y": 2045.7666015625,\r
9300     "z": "4138d8f7.da252",\r
9301     "wires": [\r
9302       [\r
9303         "cd746c7.fc5cf1"\r
9304       ]\r
9305     ]\r
9306   },\r
9307   {\r
9308     "id": "f87ebbbb.7e40d",\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": 6477.83349609375,\r
9316     "y": 2094.7666015625,\r
9317     "z": "4138d8f7.da252",\r
9318     "wires": [\r
9319       [\r
9320         "88ec87d6.84288",\r
9321         "29cb92cc.e394be",\r
9322         "74fc1523.42a1e4",\r
9323         "f8b2efa2.8dbc38"\r
9324       ]\r
9325     ]\r
9326   },\r
9327   {\r
9328     "id": "257ca4bf.8f052c",\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": 6351.83349609375,\r
9335     "y": 2094.7666015625,\r
9336     "z": "4138d8f7.da252",\r
9337     "wires": [\r
9338       [\r
9339         "f87ebbbb.7e40d"\r
9340       ]\r
9341     ]\r
9342   },\r
9343   {\r
9344     "id": "cd746c7.fc5cf1",\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": 6800.83349609375,\r
9351     "y": 2042.7666015625,\r
9352     "z": "4138d8f7.da252",\r
9353     "wires": [\r
9354       []\r
9355     ]\r
9356   },\r
9357   {\r
9358     "id": "88ec87d6.84288",\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": 6753.83349609375,\r
9365     "y": 2133.7666015625,\r
9366     "z": "4138d8f7.da252",\r
9367     "wires": [\r
9368       []\r
9369     ]\r
9370   },\r
9371   {\r
9372     "id": "29cb92cc.e394be",\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='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
9376     "comments": "",\r
9377     "outputs": 1,\r
9378     "x": 6701.83349609375,\r
9379     "y": 2175.7666015625,\r
9380     "z": "4138d8f7.da252",\r
9381     "wires": [\r
9382       []\r
9383     ]\r
9384   },\r
9385   {\r
9386     "id": "74fc1523.42a1e4",\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": 6830.83349609375,\r
9393     "y": 2217.7666015625,\r
9394     "z": "4138d8f7.da252",\r
9395     "wires": [\r
9396       []\r
9397     ]\r
9398   },\r
9399   {\r
9400     "id": "fdca37c0.7ca06",\r
9401     "type": "comment",\r
9402     "name": "Create SECONDARY-ROOT connectivity",\r
9403     "info": "",\r
9404     "comments": "",\r
9405     "x": 6716.83349609375,\r
9406     "y": 2090.7666015625,\r
9407     "z": "4138d8f7.da252",\r
9408     "wires": []\r
9409   },\r
9410   {\r
9411     "id": "f8b2efa2.8dbc38",\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": 6808.83349609375,\r
9418     "y": 2265.7666015625,\r
9419     "z": "4138d8f7.da252",\r
9420     "wires": [\r
9421       []\r
9422     ]\r
9423   },\r
9424   {\r
9425     "id": "1b0442b9.4b628d",\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": 6372.83349609375,\r
9432     "y": 2762.566650390625,\r
9433     "z": "4138d8f7.da252",\r
9434     "wires": [\r
9435       [\r
9436         "12529b57.e28025"\r
9437       ]\r
9438     ]\r
9439   },\r
9440   {\r
9441     "id": "12529b57.e28025",\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": 6564.83349609375,\r
9448     "y": 2757.566650390625,\r
9449     "z": "4138d8f7.da252",\r
9450     "wires": [\r
9451       [\r
9452         "78bbff94.82c65"\r
9453       ]\r
9454     ]\r
9455   },\r
9456   {\r
9457     "id": "78bbff94.82c65",\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": 6693.83349609375,\r
9465     "y": 2757.566650390625,\r
9466     "z": "4138d8f7.da252",\r
9467     "wires": [\r
9468       [\r
9469         "c9dee4ca.bc2dc"\r
9470       ]\r
9471     ]\r
9472   },\r
9473   {\r
9474     "id": "c9dee4ca.bc2dc",\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": 7025.83349609375,\r
9481     "y": 2755.566650390625,\r
9482     "z": "4138d8f7.da252",\r
9483     "wires": [\r
9484       []\r
9485     ]\r
9486   },\r
9487   {\r
9488     "id": "c1546bd.e66d418",\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": 5957.83349609375,\r
9495     "y": 2974.566650390625,\r
9496     "z": "4138d8f7.da252",\r
9497     "wires": [\r
9498       [\r
9499         "13b9a3fa.0e3ae4"\r
9500       ]\r
9501     ]\r
9502   },\r
9503   {\r
9504     "id": "13b9a3fa.0e3ae4",\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": 6137.83349609375,\r
9511     "y": 2973.566650390625,\r
9512     "z": "4138d8f7.da252",\r
9513     "wires": [\r
9514       [\r
9515         "e57b12b2.74ef18"\r
9516       ]\r
9517     ]\r
9518   },\r
9519   {\r
9520     "id": "e57b12b2.74ef18",\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": 6266.83349609375,\r
9528     "y": 2973.566650390625,\r
9529     "z": "4138d8f7.da252",\r
9530     "wires": [\r
9531       [\r
9532         "c79e7977.2b3cc8"\r
9533       ]\r
9534     ]\r
9535   },\r
9536   {\r
9537     "id": "c79e7977.2b3cc8",\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": 6484.716796875,\r
9544     "y": 2972.449951171875,\r
9545     "z": "4138d8f7.da252",\r
9546     "wires": [\r
9547       [\r
9548         "76ccfb33.2c6e3c"\r
9549       ]\r
9550     ]\r
9551   },\r
9552   {\r
9553     "id": "76ccfb33.2c6e3c",\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": 6699.716796875,\r
9560     "y": 2972.449951171875,\r
9561     "z": "4138d8f7.da252",\r
9562     "wires": [\r
9563       [\r
9564         "f287a7b9.c4a8b"\r
9565       ]\r
9566     ]\r
9567   },\r
9568   {\r
9569     "id": "f287a7b9.c4a8b",\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": 6831.716796875,\r
9577     "y": 2972.449951171875,\r
9578     "z": "4138d8f7.da252",\r
9579     "wires": [\r
9580       [\r
9581         "3f3acb0.03380b6"\r
9582       ]\r
9583     ]\r
9584   },\r
9585   {\r
9586     "id": "3f3acb0.03380b6",\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": 7195.83349609375,\r
9593     "y": 2971.566650390625,\r
9594     "z": "4138d8f7.da252",\r
9595     "wires": [\r
9596       []\r
9597     ]\r
9598   },\r
9599   {\r
9600     "id": "3c12d321.f6ab2c",\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": 4928.33251953125,\r
9607     "y": 2622.13330078125,\r
9608     "z": "4138d8f7.da252",\r
9609     "wires": [\r
9610       [\r
9611         "700dbefa.a5007"\r
9612       ]\r
9613     ]\r
9614   },\r
9615   {\r
9616     "id": "700dbefa.a5007",\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": 5108.33251953125,\r
9623     "y": 2621.13330078125,\r
9624     "z": "4138d8f7.da252",\r
9625     "wires": [\r
9626       [\r
9627         "c3579242.e478c8"\r
9628       ]\r
9629     ]\r
9630   },\r
9631   {\r
9632     "id": "c3579242.e478c8",\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": 5237.33251953125,\r
9640     "y": 2621.13330078125,\r
9641     "z": "4138d8f7.da252",\r
9642     "wires": [\r
9643       [\r
9644         "69f846d5.9ccd18"\r
9645       ]\r
9646     ]\r
9647   },\r
9648   {\r
9649     "id": "cdd1f45b.46fb58",\r
9650     "type": "comment",\r
9651     "name": "Update SECONDARY-ROOT UNI's bw",\r
9652     "info": "",\r
9653     "comments": "",\r
9654     "x": 4973.33251953125,\r
9655     "y": 2680.13330078125,\r
9656     "z": "4138d8f7.da252",\r
9657     "wires": []\r
9658   },\r
9659   {\r
9660     "id": "69f846d5.9ccd18",\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": 5003.33251953125,\r
9667     "y": 2713.13330078125,\r
9668     "z": "4138d8f7.da252",\r
9669     "wires": [\r
9670       [\r
9671         "622ffdb0.75cb54",\r
9672         "c593ae10.f47a3",\r
9673         "24e47d1.d702d82"\r
9674       ]\r
9675     ]\r
9676   },\r
9677   {\r
9678     "id": "c593ae10.f47a3",\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": 5184.823486328125,\r
9685     "y": 2690.70751953125,\r
9686     "z": "4138d8f7.da252",\r
9687     "wires": [\r
9688       [\r
9689         "439fba81.48a81c"\r
9690       ]\r
9691     ]\r
9692   },\r
9693   {\r
9694     "id": "24e47d1.d702d82",\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": 5173.33251953125,\r
9701     "y": 2730.13330078125,\r
9702     "z": "4138d8f7.da252",\r
9703     "wires": [\r
9704       [\r
9705         "e58b129f.993b8"\r
9706       ]\r
9707     ]\r
9708   },\r
9709   {\r
9710     "id": "439fba81.48a81c",\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": 5344.39501953125,\r
9716     "y": 2688.9931640625,\r
9717     "z": "4138d8f7.da252",\r
9718     "wires": []\r
9719   },\r
9720   {\r
9721     "id": "e58b129f.993b8",\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": 5334.33251953125,\r
9727     "y": 2731.13330078125,\r
9728     "z": "4138d8f7.da252",\r
9729     "wires": []\r
9730   },\r
9731   {\r
9732     "id": "622ffdb0.75cb54",\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": 5178.33251953125,\r
9739     "y": 2767.13330078125,\r
9740     "z": "4138d8f7.da252",\r
9741     "wires": [\r
9742       [\r
9743         "ea27280d.d02bf8"\r
9744       ]\r
9745     ]\r
9746   },\r
9747   {\r
9748     "id": "ea27280d.d02bf8",\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": 5336.33251953125,\r
9755     "y": 2775.13330078125,\r
9756     "z": "4138d8f7.da252",\r
9757     "wires": [\r
9758       [\r
9759         "5d2e8885.4f468",\r
9760         "6cb98496.dc88f4"\r
9761       ]\r
9762     ]\r
9763   },\r
9764   {\r
9765     "id": "5d2e8885.4f468",\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": 5497.33251953125,\r
9771     "y": 2707.13330078125,\r
9772     "z": "4138d8f7.da252",\r
9773     "wires": []\r
9774   },\r
9775   {\r
9776     "id": "6cb98496.dc88f4",\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": 5539.33251953125,\r
9783     "y": 2779.13330078125,\r
9784     "z": "4138d8f7.da252",\r
9785     "wires": [\r
9786       []\r
9787     ]\r
9788   },\r
9789   {\r
9790     "id": "d39256ff.c99e4",\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": 5015.33251953125,\r
9797     "y": 2980.13330078125,\r
9798     "z": "4138d8f7.da252",\r
9799     "wires": [\r
9800       [\r
9801         "9b669929.a8064"\r
9802       ]\r
9803     ]\r
9804   },\r
9805   {\r
9806     "id": "9b669929.a8064",\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": 5195.33251953125,\r
9813     "y": 2979.13330078125,\r
9814     "z": "4138d8f7.da252",\r
9815     "wires": [\r
9816       [\r
9817         "479be729.dc0248"\r
9818       ]\r
9819     ]\r
9820   },\r
9821   {\r
9822     "id": "479be729.dc0248",\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": 5324.33251953125,\r
9830     "y": 2979.13330078125,\r
9831     "z": "4138d8f7.da252",\r
9832     "wires": [\r
9833       [\r
9834         "96ab8e09.feb69"\r
9835       ]\r
9836     ]\r
9837   },\r
9838   {\r
9839     "id": "89e60282.d93268",\r
9840     "type": "comment",\r
9841     "name": "Update SECONDARY-ROOT UNI's bw",\r
9842     "info": "",\r
9843     "comments": "",\r
9844     "x": 5060.33251953125,\r
9845     "y": 3038.13330078125,\r
9846     "z": "4138d8f7.da252",\r
9847     "wires": []\r
9848   },\r
9849   {\r
9850     "id": "96ab8e09.feb69",\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": 5090.33251953125,\r
9857     "y": 3071.13330078125,\r
9858     "z": "4138d8f7.da252",\r
9859     "wires": [\r
9860       [\r
9861         "d8822576.b3585",\r
9862         "75b8d325.77424c",\r
9863         "c70dc607.d25bf8"\r
9864       ]\r
9865     ]\r
9866   },\r
9867   {\r
9868     "id": "75b8d325.77424c",\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": 5271.823486328125,\r
9875     "y": 3048.70751953125,\r
9876     "z": "4138d8f7.da252",\r
9877     "wires": [\r
9878       [\r
9879         "1c3be14a.a5638f"\r
9880       ]\r
9881     ]\r
9882   },\r
9883   {\r
9884     "id": "c70dc607.d25bf8",\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": 5260.33251953125,\r
9891     "y": 3088.13330078125,\r
9892     "z": "4138d8f7.da252",\r
9893     "wires": [\r
9894       [\r
9895         "57a20811.9713c"\r
9896       ]\r
9897     ]\r
9898   },\r
9899   {\r
9900     "id": "1c3be14a.a5638f",\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": 5431.39501953125,\r
9906     "y": 3046.9931640625,\r
9907     "z": "4138d8f7.da252",\r
9908     "wires": []\r
9909   },\r
9910   {\r
9911     "id": "57a20811.9713c",\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": 5421.33251953125,\r
9917     "y": 3089.13330078125,\r
9918     "z": "4138d8f7.da252",\r
9919     "wires": []\r
9920   },\r
9921   {\r
9922     "id": "d8822576.b3585",\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": 5265.33251953125,\r
9929     "y": 3125.13330078125,\r
9930     "z": "4138d8f7.da252",\r
9931     "wires": [\r
9932       [\r
9933         "89319d00.a640d8"\r
9934       ]\r
9935     ]\r
9936   },\r
9937   {\r
9938     "id": "89319d00.a640d8",\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": 5423.33251953125,\r
9945     "y": 3133.13330078125,\r
9946     "z": "4138d8f7.da252",\r
9947     "wires": [\r
9948       [\r
9949         "f52ef279.5e2fa8",\r
9950         "ebb57be1.fff538"\r
9951       ]\r
9952     ]\r
9953   },\r
9954   {\r
9955     "id": "f52ef279.5e2fa8",\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": 5584.33251953125,\r
9961     "y": 3065.13330078125,\r
9962     "z": "4138d8f7.da252",\r
9963     "wires": []\r
9964   },\r
9965   {\r
9966     "id": "ebb57be1.fff538",\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": 5626.33251953125,\r
9973     "y": 3137.13330078125,\r
9974     "z": "4138d8f7.da252",\r
9975     "wires": [\r
9976       []\r
9977     ]\r
9978   },\r
9979   {\r
9980     "id": "b27458da.77b73",\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": 3497,\r
9987     "y": 4562.13330078125,\r
9988     "z": "4138d8f7.da252",\r
9989     "wires": [\r
9990       [\r
9991         "b7009e9a.816708"\r
9992       ]\r
9993     ]\r
9994   },\r
9995   {\r
9996     "id": "b7009e9a.816708",\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": 3677,\r
10003     "y": 4561.13330078125,\r
10004     "z": "4138d8f7.da252",\r
10005     "wires": [\r
10006       [\r
10007         "75b6f667.ff2f48"\r
10008       ]\r
10009     ]\r
10010   },\r
10011   {\r
10012     "id": "75b6f667.ff2f48",\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": 3806,\r
10020     "y": 4561.13330078125,\r
10021     "z": "4138d8f7.da252",\r
10022     "wires": [\r
10023       [\r
10024         "e0e9d687.026568"\r
10025       ]\r
10026     ]\r
10027   },\r
10028   {\r
10029     "id": "93bf9820.efc6f",\r
10030     "type": "comment",\r
10031     "name": "Update SECONDARY-ROOT UNI's bw",\r
10032     "info": "",\r
10033     "comments": "",\r
10034     "x": 3542,\r
10035     "y": 4620.13330078125,\r
10036     "z": "4138d8f7.da252",\r
10037     "wires": []\r
10038   },\r
10039   {\r
10040     "id": "e0e9d687.026568",\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": 3572,\r
10047     "y": 4653.13330078125,\r
10048     "z": "4138d8f7.da252",\r
10049     "wires": [\r
10050       [\r
10051         "6dcb758c.68fb4c",\r
10052         "79d68d78.6f5a44",\r
10053         "5d2b0296.8c0914"\r
10054       ]\r
10055     ]\r
10056   },\r
10057   {\r
10058     "id": "79d68d78.6f5a44",\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": 3753.490966796875,\r
10065     "y": 4630.70751953125,\r
10066     "z": "4138d8f7.da252",\r
10067     "wires": [\r
10068       [\r
10069         "283870b5.b39d78"\r
10070       ]\r
10071     ]\r
10072   },\r
10073   {\r
10074     "id": "5d2b0296.8c0914",\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": 3742,\r
10081     "y": 4670.13330078125,\r
10082     "z": "4138d8f7.da252",\r
10083     "wires": [\r
10084       [\r
10085         "307bdbbc.e5590c"\r
10086       ]\r
10087     ]\r
10088   },\r
10089   {\r
10090     "id": "283870b5.b39d78",\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": 3913.0625,\r
10096     "y": 4628.9931640625,\r
10097     "z": "4138d8f7.da252",\r
10098     "wires": []\r
10099   },\r
10100   {\r
10101     "id": "307bdbbc.e5590c",\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": 3903,\r
10107     "y": 4671.13330078125,\r
10108     "z": "4138d8f7.da252",\r
10109     "wires": []\r
10110   },\r
10111   {\r
10112     "id": "6dcb758c.68fb4c",\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": 3747,\r
10119     "y": 4707.13330078125,\r
10120     "z": "4138d8f7.da252",\r
10121     "wires": [\r
10122       [\r
10123         "22012b3c.a0e674"\r
10124       ]\r
10125     ]\r
10126   },\r
10127   {\r
10128     "id": "22012b3c.a0e674",\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": 3905,\r
10135     "y": 4715.13330078125,\r
10136     "z": "4138d8f7.da252",\r
10137     "wires": [\r
10138       [\r
10139         "7783af35.773e7",\r
10140         "e7eec98c.ca59"\r
10141       ]\r
10142     ]\r
10143   },\r
10144   {\r
10145     "id": "7783af35.773e7",\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": 4066,\r
10151     "y": 4647.13330078125,\r
10152     "z": "4138d8f7.da252",\r
10153     "wires": []\r
10154   },\r
10155   {\r
10156     "id": "e7eec98c.ca59",\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": 4108,\r
10163     "y": 4719.13330078125,\r
10164     "z": "4138d8f7.da252",\r
10165     "wires": [\r
10166       []\r
10167     ]\r
10168   },\r
10169   {\r
10170     "id": "e87132f3.ee29c",\r
10171     "type": "comment",\r
10172     "name": "populate connectivity-C variable in the context map",\r
10173     "info": "",\r
10174     "comments": "",\r
10175     "x": 4188.6669921875,\r
10176     "y": 5517.13330078125,\r
10177     "z": "4138d8f7.da252",\r
10178     "wires": []\r
10179   },\r
10180   {\r
10181     "id": "cb7342b9.a9c168",\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": 4343.6669921875,\r
10188     "y": 5558.13330078125,\r
10189     "z": "4138d8f7.da252",\r
10190     "wires": [\r
10191       []\r
10192     ]\r
10193   },\r
10194   {\r
10195     "id": "7a7c44d8.30aa44",\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": 4159.6669921875,\r
10202     "y": 5616.13330078125,\r
10203     "z": "4138d8f7.da252",\r
10204     "wires": [\r
10205       [\r
10206         "8bec5884.15258",\r
10207         "bb24a1ac.622598"\r
10208       ]\r
10209     ]\r
10210   },\r
10211   {\r
10212     "id": "8bec5884.15258",\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": 4395.6669921875,\r
10219     "y": 5600.13330078125,\r
10220     "z": "4138d8f7.da252",\r
10221     "wires": [\r
10222       [\r
10223         "6d098a3a.3afd8c"\r
10224       ]\r
10225     ]\r
10226   },\r
10227   {\r
10228     "id": "bb24a1ac.622598",\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": 4394.6669921875,\r
10235     "y": 5648.13330078125,\r
10236     "z": "4138d8f7.da252",\r
10237     "wires": [\r
10238       []\r
10239     ]\r
10240   },\r
10241   {\r
10242     "id": "6d098a3a.3afd8c",\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": 4539.6669921875,\r
10250     "y": 5602.13330078125,\r
10251     "z": "4138d8f7.da252",\r
10252     "wires": [\r
10253       [\r
10254         "de9129b3.62ee98",\r
10255         "95ed5b5c.afa778",\r
10256         "140ab45c.08ae54"\r
10257       ]\r
10258     ]\r
10259   },\r
10260   {\r
10261     "id": "de9129b3.62ee98",\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": 4951.667236328125,\r
10267     "y": 5737.13330078125,\r
10268     "z": "4138d8f7.da252",\r
10269     "wires": []\r
10270   },\r
10271   {\r
10272     "id": "95ed5b5c.afa778",\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": 5072.667236328125,\r
10279     "y": 5784.13330078125,\r
10280     "z": "4138d8f7.da252",\r
10281     "wires": [\r
10282       []\r
10283     ]\r
10284   },\r
10285   {\r
10286     "id": "bc8a01e6.d0596",\r
10287     "type": "comment",\r
10288     "name": "Update connectivity status to modified",\r
10289     "info": "",\r
10290     "comments": "",\r
10291     "x": 4955.551025390625,\r
10292     "y": 5828.0166015625,\r
10293     "z": "4138d8f7.da252",\r
10294     "wires": []\r
10295   },\r
10296   {\r
10297     "id": "140ab45c.08ae54",\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": 4954.334228515625,\r
10304     "y": 5869.216796875,\r
10305     "z": "4138d8f7.da252",\r
10306     "wires": [\r
10307       []\r
10308     ]\r
10309   },\r
10310   {\r
10311     "id": "4e2e6b5c.090cf4",\r
10312     "type": "comment",\r
10313     "name": "populate connectivity-C variable in the context map",\r
10314     "info": "",\r
10315     "comments": "",\r
10316     "x": 4815,\r
10317     "y": 6123.13330078125,\r
10318     "z": "4138d8f7.da252",\r
10319     "wires": []\r
10320   },\r
10321   {\r
10322     "id": "8afd899a.01e88",\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": 4981,\r
10329     "y": 6162.13330078125,\r
10330     "z": "4138d8f7.da252",\r
10331     "wires": [\r
10332       []\r
10333     ]\r
10334   },\r
10335   {\r
10336     "id": "8c1f115c.700108",\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": 4820,\r
10343     "y": 6212.13330078125,\r
10344     "z": "4138d8f7.da252",\r
10345     "wires": [\r
10346       [\r
10347         "53961644.a48598",\r
10348         "58a624c5.6a1504"\r
10349       ]\r
10350     ]\r
10351   },\r
10352   {\r
10353     "id": "53961644.a48598",\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": 5053,\r
10360     "y": 6206.13330078125,\r
10361     "z": "4138d8f7.da252",\r
10362     "wires": [\r
10363       [\r
10364         "1edcc228.5234b6"\r
10365       ]\r
10366     ]\r
10367   },\r
10368   {\r
10369     "id": "58a624c5.6a1504",\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": 5054,\r
10376     "y": 6256.13330078125,\r
10377     "z": "4138d8f7.da252",\r
10378     "wires": [\r
10379       []\r
10380     ]\r
10381   },\r
10382   {\r
10383     "id": "1edcc228.5234b6",\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": 5200,\r
10391     "y": 6214.13330078125,\r
10392     "z": "4138d8f7.da252",\r
10393     "wires": [\r
10394       [\r
10395         "a2cd952f.42f1c8",\r
10396         "75bd12d0.4fb564",\r
10397         "ddd98790.fa90d"\r
10398       ]\r
10399     ]\r
10400   },\r
10401   {\r
10402     "id": "a2cd952f.42f1c8",\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": 5447,\r
10408     "y": 6202.13330078125,\r
10409     "z": "4138d8f7.da252",\r
10410     "wires": []\r
10411   },\r
10412   {\r
10413     "id": "75bd12d0.4fb564",\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": 5568,\r
10420     "y": 6249.13330078125,\r
10421     "z": "4138d8f7.da252",\r
10422     "wires": [\r
10423       []\r
10424     ]\r
10425   },\r
10426   {\r
10427     "id": "6c605ae5.2dde2c",\r
10428     "type": "comment",\r
10429     "name": "Update connectivity status to modified",\r
10430     "info": "",\r
10431     "comments": "",\r
10432     "x": 5450.8837890625,\r
10433     "y": 6293.0166015625,\r
10434     "z": "4138d8f7.da252",\r
10435     "wires": []\r
10436   },\r
10437   {\r
10438     "id": "ddd98790.fa90d",\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": 5449.6669921875,\r
10445     "y": 6334.216796875,\r
10446     "z": "4138d8f7.da252",\r
10447     "wires": [\r
10448       []\r
10449     ]\r
10450   },\r
10451   {\r
10452     "id": "e4c8e98f.2e48b8",\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": 3577,\r
10459     "y": 6107.56689453125,\r
10460     "z": "4138d8f7.da252",\r
10461     "wires": [\r
10462       []\r
10463     ]\r
10464   },\r
10465   {\r
10466     "id": "5e06fc8.b063184",\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": 2914.25,\r
10473     "y": 6105.81689453125,\r
10474     "z": "4138d8f7.da252",\r
10475     "wires": [\r
10476       [\r
10477         "5aaa3311.116ad4",\r
10478         "5f201884.9bf1b"\r
10479       ]\r
10480     ]\r
10481   },\r
10482   {\r
10483     "id": "5aaa3311.116ad4",\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": 3105.25,\r
10490     "y": 6109.81689453125,\r
10491     "z": "4138d8f7.da252",\r
10492     "wires": [\r
10493       [\r
10494         "42b72649.a2611"\r
10495       ]\r
10496     ]\r
10497   },\r
10498   {\r
10499     "id": "42b72649.a2611",\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": 3232.25,\r
10507     "y": 6108.81689453125,\r
10508     "z": "4138d8f7.da252",\r
10509     "wires": [\r
10510       [\r
10511         "e4c8e98f.2e48b8"\r
10512       ]\r
10513     ]\r
10514   },\r
10515   {\r
10516     "id": "5f201884.9bf1b",\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": 3101.25,\r
10523     "y": 6179.81689453125,\r
10524     "z": "4138d8f7.da252",\r
10525     "wires": [\r
10526       [\r
10527         "1e510c07.00530c"\r
10528       ]\r
10529     ]\r
10530   },\r
10531   {\r
10532     "id": "382dddaf.06eaa2",\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": 3650.75,\r
10539     "y": 6178.900390625,\r
10540     "z": "4138d8f7.da252",\r
10541     "wires": [\r
10542       []\r
10543     ]\r
10544   },\r
10545   {\r
10546     "id": "1e510c07.00530c",\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": 3234.75,\r
10554     "y": 6181.900390625,\r
10555     "z": "4138d8f7.da252",\r
10556     "wires": [\r
10557       [\r
10558         "382dddaf.06eaa2"\r
10559       ]\r
10560     ]\r
10561   }\r
10562 ]