2e4b6b66ab696855ab33bec839a4d800e57376a8
[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": "781e35fa.f2e1d4",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 173.88333129882812,\r
8     "y": 149.88333129882812,\r
9     "z": "1854297c.6f0f4f",\r
10     "wires": [\r
11       [\r
12         "9e11530a.17bcb"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "9e11530a.17bcb",\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": 458.1690216064453,\r
26     "y": 211.12143993377686,\r
27     "z": "1854297c.6f0f4f",\r
28     "wires": [\r
29       [\r
30         "2b94c108.46c67e"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "2b94c108.46c67e",\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": 464.3119354248047,\r
42     "y": 295.88336181640625,\r
43     "z": "1854297c.6f0f4f",\r
44     "wires": [\r
45       [\r
46         "fc45d9d.aa25928"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "fc45d9d.aa25928",\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": 813.8833312988281,\r
58     "y": 354.8833312988281,\r
59     "z": "1854297c.6f0f4f",\r
60     "wires": [\r
61       [\r
62         "5f20119b.1c25f",\r
63         "440015de.6e018c",\r
64         "7415bdce.bb1424"\r
65       ]\r
66     ]\r
67   },\r
68   {\r
69     "id": "5f20119b.1c25f",\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": 1115.2168273925781,\r
75     "y": 625.8136291503906,\r
76     "z": "1854297c.6f0f4f",\r
77     "wires": []\r
78   },\r
79   {\r
80     "id": "440015de.6e018c",\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": 1136.6452941894531,\r
87     "y": 328.2166442871094,\r
88     "z": "1854297c.6f0f4f",\r
89     "wires": [\r
90       [\r
91         "12c8110b.ec9bd7",\r
92         "bbd39d34.8832e",\r
93         "23fc32e8.f22086"\r
94       ]\r
95     ]\r
96   },\r
97   {\r
98     "id": "12c8110b.ec9bd7",\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": 1361.6452941894531,\r
105     "y": 186.21664428710938,\r
106     "z": "1854297c.6f0f4f",\r
107     "wires": [\r
108       [\r
109         "61f16e51.c24158"\r
110       ]\r
111     ]\r
112   },\r
113   {\r
114     "id": "bbd39d34.8832e",\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": 1357.1362609863281,\r
121     "y": 255.79067993164062,\r
122     "z": "1854297c.6f0f4f",\r
123     "wires": [\r
124       [\r
125         "47248fa2.17d9d"\r
126       ]\r
127     ]\r
128   },\r
129   {\r
130     "id": "23fc32e8.f22086",\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": 1345.6452941894531,\r
137     "y": 302.2166442871094,\r
138     "z": "1854297c.6f0f4f",\r
139     "wires": [\r
140       [\r
141         "cdbbe291.f3553"\r
142       ]\r
143     ]\r
144   },\r
145   {\r
146     "id": "493ce64.5d5d418",\r
147     "type": "comment",\r
148     "name": "new for TransportSlicing",\r
149     "info": "",\r
150     "comments": "",\r
151     "x": 1115.6452941894531,\r
152     "y": 216.21664428710938,\r
153     "z": "1854297c.6f0f4f",\r
154     "wires": []\r
155   },\r
156   {\r
157     "id": "7415bdce.bb1424",\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": 1103.6452941894531,\r
164     "y": 268.2166442871094,\r
165     "z": "1854297c.6f0f4f",\r
166     "wires": [\r
167       []\r
168     ]\r
169   },\r
170   {\r
171     "id": "61f16e51.c24158",\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": 1601.8833312988281,\r
178     "y": 182.88333129882812,\r
179     "z": "1854297c.6f0f4f",\r
180     "wires": [\r
181       [\r
182         "58e97c67.87accc",\r
183         "d2e64d43.49ac68"\r
184       ]\r
185     ]\r
186   },\r
187   {\r
188     "id": "47248fa2.17d9d",\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": 1511.9457092285156,\r
194     "y": 258.74310302734375,\r
195     "z": "1854297c.6f0f4f",\r
196     "wires": []\r
197   },\r
198   {\r
199     "id": "cdbbe291.f3553",\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": 1515.8833312988281,\r
205     "y": 302.8833312988281,\r
206     "z": "1854297c.6f0f4f",\r
207     "wires": []\r
208   },\r
209   {\r
210     "id": "58e97c67.87accc",\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": 1806.8833312988281,\r
217     "y": 219.88333129882812,\r
218     "z": "1854297c.6f0f4f",\r
219     "wires": [\r
220       [\r
221         "c54a8c68.c345e"\r
222       ]\r
223     ]\r
224   },\r
225   {\r
226     "id": "d2e64d43.49ac68",\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": 1816.8833312988281,\r
233     "y": 146.88333129882812,\r
234     "z": "1854297c.6f0f4f",\r
235     "wires": [\r
236       []\r
237     ]\r
238   },\r
239   {\r
240     "id": "c54a8c68.c345e",\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": 1799.8833312988281,\r
248     "y": 294.8833312988281,\r
249     "z": "1854297c.6f0f4f",\r
250     "wires": [\r
251       [\r
252         "27adf24c.af1566",\r
253         "31a766ce.e0455a",\r
254         "7436fd76.690054",\r
255         "2b9d3039.23a428",\r
256         "2f2ed9c0.e0663e"\r
257       ]\r
258     ]\r
259   },\r
260   {\r
261     "id": "d2a449e8.f07b58",\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": 2285.883331298828,\r
268     "y": 345.8833312988281,\r
269     "z": "1854297c.6f0f4f",\r
270     "wires": [\r
271       [\r
272         "41c867c6.b55cd8",\r
273         "84c1b468.c04558",\r
274         "621effb3.a9e918"\r
275       ]\r
276     ]\r
277   },\r
278   {\r
279     "id": "41c867c6.b55cd8",\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": 2501.883331298828,\r
286     "y": 412.8833312988281,\r
287     "z": "1854297c.6f0f4f",\r
288     "wires": [\r
289       [\r
290         "821dc5ef.6d3aa8"\r
291       ]\r
292     ]\r
293   },\r
294   {\r
295     "id": "84c1b468.c04558",\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": 2502.374298095703,\r
302     "y": 312.4573059082031,\r
303     "z": "1854297c.6f0f4f",\r
304     "wires": [\r
305       [\r
306         "4a81091b.110a38"\r
307       ]\r
308     ]\r
309   },\r
310   {\r
311     "id": "621effb3.a9e918",\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": 2497.883331298828,\r
318     "y": 361.8833312988281,\r
319     "z": "1854297c.6f0f4f",\r
320     "wires": [\r
321       [\r
322         "6269ae05.e67ee8"\r
323       ]\r
324     ]\r
325   },\r
326   {\r
327     "id": "27adf24c.af1566",\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": 2002.8833312988281,\r
334     "y": 326.8833312988281,\r
335     "z": "1854297c.6f0f4f",\r
336     "wires": [\r
337       [\r
338         "2c28c5a4.c9fc4a",\r
339         "d2a449e8.f07b58",\r
340         "42097510.f58b64",\r
341         "7a55e6a1.70e4b"\r
342       ]\r
343     ]\r
344   },\r
345   {\r
346     "id": "2c28c5a4.c9fc4a",\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": 2282.883331298828,\r
352     "y": 264.8833312988281,\r
353     "z": "1854297c.6f0f4f",\r
354     "wires": []\r
355   },\r
356   {\r
357     "id": "2b9d3039.23a428",\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": 1976.8833312988281,\r
363     "y": 276.8833312988281,\r
364     "z": "1854297c.6f0f4f",\r
365     "wires": []\r
366   },\r
367   {\r
368     "id": "31a766ce.e0455a",\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": 2019.8833312988281,\r
375     "y": 135.88333129882812,\r
376     "z": "1854297c.6f0f4f",\r
377     "wires": [\r
378       []\r
379     ]\r
380   },\r
381   {\r
382     "id": "7436fd76.690054",\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": 2031.8833312988281,\r
389     "y": 176.88333129882812,\r
390     "z": "1854297c.6f0f4f",\r
391     "wires": [\r
392       []\r
393     ]\r
394   },\r
395   {\r
396     "id": "e57021b1.8566f8",\r
397     "type": "comment",\r
398     "name": "The following two nodes are for PCE",\r
399     "info": "",\r
400     "comments": "",\r
401     "x": 2056.883331298828,\r
402     "y": 88.88333129882812,\r
403     "z": "1854297c.6f0f4f",\r
404     "wires": []\r
405   },\r
406   {\r
407     "id": "f75cee20.f52e5",\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": 1976.8833312988281,\r
413     "y": 222.88333129882812,\r
414     "z": "1854297c.6f0f4f",\r
415     "wires": []\r
416   },\r
417   {\r
418     "id": "4a81091b.110a38",\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": 2680.883331298828,\r
424     "y": 314.8833312988281,\r
425     "z": "1854297c.6f0f4f",\r
426     "wires": []\r
427   },\r
428   {\r
429     "id": "6269ae05.e67ee8",\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": 2680.820831298828,\r
435     "y": 364.0235900878906,\r
436     "z": "1854297c.6f0f4f",\r
437     "wires": []\r
438   },\r
439   {\r
440     "id": "821dc5ef.6d3aa8",\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": 2682.820831298828,\r
447     "y": 415.0235900878906,\r
448     "z": "1854297c.6f0f4f",\r
449     "wires": [\r
450       [\r
451         "2337e3a2.faa61c"\r
452       ]\r
453     ]\r
454   },\r
455   {\r
456     "id": "2337e3a2.faa61c",\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": 2975.820831298828,\r
463     "y": 362.0235900878906,\r
464     "z": "1854297c.6f0f4f",\r
465     "wires": [\r
466       [\r
467         "cccd155c.90e07",\r
468         "b9a7ac6e.7fea5",\r
469         "73057b22.08e1dc"\r
470       ]\r
471     ]\r
472   },\r
473   {\r
474     "id": "b9a7ac6e.7fea5",\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": 3249.311798095703,\r
481     "y": 254.59756469726562,\r
482     "z": "1854297c.6f0f4f",\r
483     "wires": [\r
484       [\r
485         "e5cee345.1eaae"\r
486       ]\r
487     ]\r
488   },\r
489   {\r
490     "id": "e5cee345.1eaae",\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": 3426.883331298828,\r
496     "y": 254.88333129882812,\r
497     "z": "1854297c.6f0f4f",\r
498     "wires": []\r
499   },\r
500   {\r
501     "id": "73057b22.08e1dc",\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": 3244.820831298828,\r
508     "y": 304.0235900878906,\r
509     "z": "1854297c.6f0f4f",\r
510     "wires": [\r
511       [\r
512         "f16a75f9.e23598"\r
513       ]\r
514     ]\r
515   },\r
516   {\r
517     "id": "f16a75f9.e23598",\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": 3426.820831298828,\r
523     "y": 304.0235900878906,\r
524     "z": "1854297c.6f0f4f",\r
525     "wires": []\r
526   },\r
527   {\r
528     "id": "cccd155c.90e07",\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": 3248.820831298828,\r
535     "y": 355.0235900878906,\r
536     "z": "1854297c.6f0f4f",\r
537     "wires": [\r
538       [\r
539         "e05a51c3.eb7208"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "e05a51c3.eb7208",\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": 3428.820831298828,\r
551     "y": 355.0235900878906,\r
552     "z": "1854297c.6f0f4f",\r
553     "wires": [\r
554       [\r
555         "a185fcaa.c01b7"\r
556       ]\r
557     ]\r
558   },\r
559   {\r
560     "id": "a185fcaa.c01b7",\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": 2994.883331298828,\r
567     "y": 489.8833312988281,\r
568     "z": "1854297c.6f0f4f",\r
569     "wires": [\r
570       [\r
571         "64dc3552.29da24",\r
572         "1cf4e379.2b6355"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "1cf4e379.2b6355",\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": 3304.883331298828,\r
584     "y": 496.8833312988281,\r
585     "z": "1854297c.6f0f4f",\r
586     "wires": [\r
587       []\r
588     ]\r
589   },\r
590   {\r
591     "id": "64dc3552.29da24",\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": 3303.883331298828,\r
598     "y": 550.8833312988281,\r
599     "z": "1854297c.6f0f4f",\r
600     "wires": [\r
601       [\r
602         "49cf9d82.f3816c"\r
603       ]\r
604     ]\r
605   },\r
606   {\r
607     "id": "61811a9.92ccce4",\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": 4048.883331298828,\r
614     "y": 504.8833312988281,\r
615     "z": "1854297c.6f0f4f",\r
616     "wires": [\r
617       [\r
618         "5422df0.13119a"\r
619       ]\r
620     ]\r
621   },\r
622   {\r
623     "id": "5422df0.13119a",\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": 4225.883209228516,\r
630     "y": 497.8832092285156,\r
631     "z": "1854297c.6f0f4f",\r
632     "wires": [\r
633       [\r
634         "cc385253.b8fbd",\r
635         "2cd49ffd.326448"\r
636       ]\r
637     ]\r
638   },\r
639   {\r
640     "id": "49cf9d82.f3816c",\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": 3467.883331298828,\r
647     "y": 476.8833312988281,\r
648     "z": "1854297c.6f0f4f",\r
649     "wires": [\r
650       [\r
651         "f69edc6a.996158",\r
652         "7412251.16d085c"\r
653       ]\r
654     ]\r
655   },\r
656   {\r
657     "id": "f69edc6a.996158",\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": 3748.883331298828,\r
664     "y": 432.8833312988281,\r
665     "z": "1854297c.6f0f4f",\r
666     "wires": [\r
667       [\r
668         "ed2a485c.4e373"\r
669       ]\r
670     ]\r
671   },\r
672   {\r
673     "id": "ed2a485c.4e373",\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": 4010.883331298828,\r
680     "y": 432.8833312988281,\r
681     "z": "1854297c.6f0f4f",\r
682     "wires": [\r
683       [\r
684         "61811a9.92ccce4"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "cc385253.b8fbd",\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": 4468.883209228516,\r
695     "y": 454.8832092285156,\r
696     "z": "1854297c.6f0f4f",\r
697     "wires": []\r
698   },\r
699   {\r
700     "id": "2cd49ffd.326448",\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": 4457.883209228516,\r
707     "y": 509.8832092285156,\r
708     "z": "1854297c.6f0f4f",\r
709     "wires": [\r
710       [\r
711         "9972e623.c70578",\r
712         "34812087.cb8a98",\r
713         "1b373493.bb5393"\r
714       ]\r
715     ]\r
716   },\r
717   {\r
718     "id": "1b373493.bb5393",\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": 4710.883331298828,\r
725     "y": 395.8833312988281,\r
726     "z": "1854297c.6f0f4f",\r
727     "wires": [\r
728       [\r
729         "f7f40cf5.3f9508"\r
730       ]\r
731     ]\r
732   },\r
733   {\r
734     "id": "f7f40cf5.3f9508",\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": 4859.454864501953,\r
740     "y": 396.1690979003906,\r
741     "z": "1854297c.6f0f4f",\r
742     "wires": []\r
743   },\r
744   {\r
745     "id": "a22797f6.37b0d8",\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": 4858.392364501953,\r
751     "y": 440.3093566894531,\r
752     "z": "1854297c.6f0f4f",\r
753     "wires": []\r
754   },\r
755   {\r
756     "id": "34812087.cb8a98",\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": 4699.392364501953,\r
763     "y": 440.3093566894531,\r
764     "z": "1854297c.6f0f4f",\r
765     "wires": [\r
766       [\r
767         "a22797f6.37b0d8"\r
768       ]\r
769     ]\r
770   },\r
771   {\r
772     "id": "9972e623.c70578",\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": 4706.392364501953,\r
779     "y": 519.3093566894531,\r
780     "z": "1854297c.6f0f4f",\r
781     "wires": [\r
782       [\r
783         "2ecc1ca4.45238c"\r
784       ]\r
785     ]\r
786   },\r
787   {\r
788     "id": "2ecc1ca4.45238c",\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": 4845.392364501953,\r
796     "y": 519.3093566894531,\r
797     "z": "1854297c.6f0f4f",\r
798     "wires": [\r
799       [\r
800         "4189f313.1a9cd4",\r
801         "b78697ee.5ce55"\r
802       ]\r
803     ]\r
804   },\r
805   {\r
806     "id": "4189f313.1a9cd4",\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": 5050.883331298828,\r
812     "y": 516.8833312988281,\r
813     "z": "1854297c.6f0f4f",\r
814     "wires": []\r
815   },\r
816   {\r
817     "id": "b78697ee.5ce55",\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": 5049.883331298828,\r
823     "y": 562.8833312988281,\r
824     "z": "1854297c.6f0f4f",\r
825     "wires": []\r
826   },\r
827   {\r
828     "id": "7412251.16d085c",\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": 3565.883331298828,\r
835     "y": 548.8833312988281,\r
836     "z": "1854297c.6f0f4f",\r
837     "wires": [\r
838       [\r
839         "6604e9c7.0c6c6"\r
840       ]\r
841     ]\r
842   },\r
843   {\r
844     "id": "6604e9c7.0c6c6",\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": 3845.883331298828,\r
851     "y": 548.8833312988281,\r
852     "z": "1854297c.6f0f4f",\r
853     "wires": [\r
854       [\r
855         "85f44348.40e85"\r
856       ]\r
857     ]\r
858   },\r
859   {\r
860     "id": "85f44348.40e85",\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": 2258.8834533691406,\r
867     "y": 801.8834533691406,\r
868     "z": "1854297c.6f0f4f",\r
869     "wires": [\r
870       [\r
871         "4b9c1fcb.91dc9"\r
872       ]\r
873     ]\r
874   },\r
875   {\r
876     "id": "4b9c1fcb.91dc9",\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": 2435.883331298828,\r
883     "y": 794.8833312988281,\r
884     "z": "1854297c.6f0f4f",\r
885     "wires": [\r
886       [\r
887         "27f44efc.6f6d32",\r
888         "c7edfd64.b3753"\r
889       ]\r
890     ]\r
891   },\r
892   {\r
893     "id": "27f44efc.6f6d32",\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": 2678.883331298828,\r
899     "y": 751.8833312988281,\r
900     "z": "1854297c.6f0f4f",\r
901     "wires": []\r
902   },\r
903   {\r
904     "id": "c7edfd64.b3753",\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": 2667.883331298828,\r
911     "y": 806.8833312988281,\r
912     "z": "1854297c.6f0f4f",\r
913     "wires": [\r
914       [\r
915         "24ace19f.75b966",\r
916         "ac0fada7.2237a",\r
917         "7d46d2c9.4b5f9c"\r
918       ]\r
919     ]\r
920   },\r
921   {\r
922     "id": "24ace19f.75b966",\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": 2959.374298095703,\r
929     "y": 785.4573059082031,\r
930     "z": "1854297c.6f0f4f",\r
931     "wires": [\r
932       [\r
933         "d7ebe78c.3ec37"\r
934       ]\r
935     ]\r
936   },\r
937   {\r
938     "id": "ac0fada7.2237a",\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": 2947.883331298828,\r
945     "y": 829.8833312988281,\r
946     "z": "1854297c.6f0f4f",\r
947     "wires": [\r
948       [\r
949         "77d529f.fb28458"\r
950       ]\r
951     ]\r
952   },\r
953   {\r
954     "id": "d7ebe78c.3ec37",\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": 3107.945831298828,\r
960     "y": 785.7430725097656,\r
961     "z": "1854297c.6f0f4f",\r
962     "wires": []\r
963   },\r
964   {\r
965     "id": "77d529f.fb28458",\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": 3106.883331298828,\r
971     "y": 829.8833312988281,\r
972     "z": "1854297c.6f0f4f",\r
973     "wires": []\r
974   },\r
975   {\r
976     "id": "7d46d2c9.4b5f9c",\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": 2954.883331298828,\r
983     "y": 908.8833312988281,\r
984     "z": "1854297c.6f0f4f",\r
985     "wires": [\r
986       [\r
987         "265410a7.36ec88"\r
988       ]\r
989     ]\r
990   },\r
991   {\r
992     "id": "265410a7.36ec88",\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": 3093.883331298828,\r
1000     "y": 908.8833312988281,\r
1001     "z": "1854297c.6f0f4f",\r
1002     "wires": [\r
1003       [\r
1004         "98c1de20.9fd92",\r
1005         "22cf748c.dba294",\r
1006         "6d145189.478b8",\r
1007         "8cce98e.0c8f3e8",\r
1008         "d4009f69.0bc89",\r
1009         "9190bf27.d61b08",\r
1010         "1fa44b37.7a7c65",\r
1011         "1ebd0160.929687",\r
1012         "f7e98987.293918",\r
1013         "6b01ec04.e8e8dc",\r
1014         "ce90c6ec.193398",\r
1015         "323cec2c.88d45c",\r
1016         "fba2883c.72d2",\r
1017         "abd6e7f0.9745e8"\r
1018       ]\r
1019     ]\r
1020   },\r
1021   {\r
1022     "id": "ec511c6.7493e6",\r
1023     "type": "execute",\r
1024     "name": "execute UUID generator for ethernet-service-name",\r
1025     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1026     "comments": "",\r
1027     "outputs": 1,\r
1028     "x": 3407.883331298828,\r
1029     "y": 714.8833312988281,\r
1030     "z": "1854297c.6f0f4f",\r
1031     "wires": [\r
1032       []\r
1033     ]\r
1034   },\r
1035   {\r
1036     "id": "98c1de20.9fd92",\r
1037     "type": "execute",\r
1038     "name": "execute UUID generator for otn-tunnel-name",\r
1039     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1040     "comments": "",\r
1041     "outputs": 1,\r
1042     "x": 3388.883331298828,\r
1043     "y": 764.8833312988281,\r
1044     "z": "1854297c.6f0f4f",\r
1045     "wires": [\r
1046       []\r
1047     ]\r
1048   },\r
1049   {\r
1050     "id": "abd6e7f0.9745e8",\r
1051     "type": "set",\r
1052     "name": "set new ethernet-service-name",\r
1053     "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
1054     "comments": "",\r
1055     "x": 3345.883331298828,\r
1056     "y": 809.8833312988281,\r
1057     "z": "1854297c.6f0f4f",\r
1058     "wires": []\r
1059   },\r
1060   {\r
1061     "id": "22cf748c.dba294",\r
1062     "type": "set",\r
1063     "name": "set network-route-one",\r
1064     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1065     "comments": "",\r
1066     "x": 3320.883331298828,\r
1067     "y": 872.8833312988281,\r
1068     "z": "1854297c.6f0f4f",\r
1069     "wires": []\r
1070   },\r
1071   {\r
1072     "id": "6d145189.478b8",\r
1073     "type": "set",\r
1074     "name": "set network-route-two",\r
1075     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1076     "comments": "",\r
1077     "x": 3321.883331298828,\r
1078     "y": 927.8833312988281,\r
1079     "z": "1854297c.6f0f4f",\r
1080     "wires": []\r
1081   },\r
1082   {\r
1083     "id": "8cce98e.0c8f3e8",\r
1084     "type": "save",\r
1085     "name": "get network-route-one from aai",\r
1086     "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
1087     "comments": "",\r
1088     "outputs": 1,\r
1089     "x": 3337.883331298828,\r
1090     "y": 975.8833312988281,\r
1091     "z": "1854297c.6f0f4f",\r
1092     "wires": [\r
1093       [\r
1094         "909d17c4.8ebc6",\r
1095         "f19af18e.9ab1b8",\r
1096         "7d20c22a.cc52a4"\r
1097       ]\r
1098     ]\r
1099   },\r
1100   {\r
1101     "id": "d4009f69.0bc89",\r
1102     "type": "save",\r
1103     "name": "get network-route-two from aai",\r
1104     "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
1105     "comments": "",\r
1106     "outputs": 1,\r
1107     "x": 3326.883331298828,\r
1108     "y": 1062.8832092285156,\r
1109     "z": "1854297c.6f0f4f",\r
1110     "wires": [\r
1111       [\r
1112         "9444273f.3b6308",\r
1113         "2c5b38f8.57c148",\r
1114         "b9db8112.11ed58"\r
1115       ]\r
1116     ]\r
1117   },\r
1118   {\r
1119     "id": "909d17c4.8ebc6",\r
1120     "type": "not-found",\r
1121     "name": "not-found",\r
1122     "xml": "<outcome value='not-found'>\n",\r
1123     "comments": "",\r
1124     "outputs": 1,\r
1125     "x": 3538.883331298828,\r
1126     "y": 859.8833312988281,\r
1127     "z": "1854297c.6f0f4f",\r
1128     "wires": [\r
1129       [\r
1130         "c14b1c12.22174"\r
1131       ]\r
1132     ]\r
1133   },\r
1134   {\r
1135     "id": "f19af18e.9ab1b8",\r
1136     "type": "failure",\r
1137     "name": "failure",\r
1138     "xml": "<outcome value='failure'>\n",\r
1139     "comments": "",\r
1140     "outputs": 1,\r
1141     "x": 3534.392364501953,\r
1142     "y": 909.3093566894531,\r
1143     "z": "1854297c.6f0f4f",\r
1144     "wires": [\r
1145       [\r
1146         "2b40f083.4de84"\r
1147       ]\r
1148     ]\r
1149   },\r
1150   {\r
1151     "id": "7d20c22a.cc52a4",\r
1152     "type": "success",\r
1153     "name": "success",\r
1154     "xml": "<outcome value='success'>\n",\r
1155     "comments": "",\r
1156     "outputs": 1,\r
1157     "x": 3538.392364501953,\r
1158     "y": 962.3093566894531,\r
1159     "z": "1854297c.6f0f4f",\r
1160     "wires": [\r
1161       [\r
1162         "aaa35683.7d2c38"\r
1163       ]\r
1164     ]\r
1165   },\r
1166   {\r
1167     "id": "c14b1c12.22174",\r
1168     "type": "returnFailure",\r
1169     "name": "return failure",\r
1170     "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
1171     "comments": "",\r
1172     "x": 3687.454864501953,\r
1173     "y": 859.1690979003906,\r
1174     "z": "1854297c.6f0f4f",\r
1175     "wires": []\r
1176   },\r
1177   {\r
1178     "id": "2b40f083.4de84",\r
1179     "type": "returnFailure",\r
1180     "name": "return failure",\r
1181     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1182     "comments": "",\r
1183     "x": 3677.392364501953,\r
1184     "y": 909.3093566894531,\r
1185     "z": "1854297c.6f0f4f",\r
1186     "wires": []\r
1187   },\r
1188   {\r
1189     "id": "9444273f.3b6308",\r
1190     "type": "not-found",\r
1191     "name": "not-found",\r
1192     "xml": "<outcome value='not-found'>\n",\r
1193     "comments": "",\r
1194     "outputs": 1,\r
1195     "x": 3549.883331298828,\r
1196     "y": 1032.8832092285156,\r
1197     "z": "1854297c.6f0f4f",\r
1198     "wires": [\r
1199       [\r
1200         "106ff1ef.63ffd6"\r
1201       ]\r
1202     ]\r
1203   },\r
1204   {\r
1205     "id": "2c5b38f8.57c148",\r
1206     "type": "failure",\r
1207     "name": "failure",\r
1208     "xml": "<outcome value='failure'>\n",\r
1209     "comments": "",\r
1210     "outputs": 1,\r
1211     "x": 3545.392364501953,\r
1212     "y": 1082.3092346191406,\r
1213     "z": "1854297c.6f0f4f",\r
1214     "wires": [\r
1215       [\r
1216         "ce83157c.4b6778"\r
1217       ]\r
1218     ]\r
1219   },\r
1220   {\r
1221     "id": "b9db8112.11ed58",\r
1222     "type": "success",\r
1223     "name": "success",\r
1224     "xml": "<outcome value='success'>\n",\r
1225     "comments": "",\r
1226     "outputs": 1,\r
1227     "x": 3546.392364501953,\r
1228     "y": 1135.3092346191406,\r
1229     "z": "1854297c.6f0f4f",\r
1230     "wires": [\r
1231       [\r
1232         "a56ebadb.ee398"\r
1233       ]\r
1234     ]\r
1235   },\r
1236   {\r
1237     "id": "106ff1ef.63ffd6",\r
1238     "type": "returnFailure",\r
1239     "name": "return failure",\r
1240     "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
1241     "comments": "",\r
1242     "x": 3698.454864501953,\r
1243     "y": 1032.1689758300781,\r
1244     "z": "1854297c.6f0f4f",\r
1245     "wires": []\r
1246   },\r
1247   {\r
1248     "id": "ce83157c.4b6778",\r
1249     "type": "returnFailure",\r
1250     "name": "return failure",\r
1251     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1252     "comments": "",\r
1253     "x": 3688.392364501953,\r
1254     "y": 1082.3092346191406,\r
1255     "z": "1854297c.6f0f4f",\r
1256     "wires": []\r
1257   },\r
1258   {\r
1259     "id": "aaa35683.7d2c38",\r
1260     "type": "block",\r
1261     "name": "block : atomic",\r
1262     "xml": "<block atomic=\"true\">",\r
1263     "atomic": "true",\r
1264     "outputs": 1,\r
1265     "x": 3699.883331298828,\r
1266     "y": 961.8833312988281,\r
1267     "z": "1854297c.6f0f4f",\r
1268     "wires": [\r
1269       [\r
1270         "bc98fef2.b2548"\r
1271       ]\r
1272     ]\r
1273   },\r
1274   {\r
1275     "id": "a56ebadb.ee398",\r
1276     "type": "block",\r
1277     "name": "block : atomic",\r
1278     "xml": "<block atomic=\"true\">",\r
1279     "atomic": "true",\r
1280     "outputs": 1,\r
1281     "x": 3699.883331298828,\r
1282     "y": 1134.8832092285156,\r
1283     "z": "1854297c.6f0f4f",\r
1284     "wires": [\r
1285       [\r
1286         "80324f63.fa516"\r
1287       ]\r
1288     ]\r
1289   },\r
1290   {\r
1291     "id": "bc98fef2.b2548",\r
1292     "type": "switchNode",\r
1293     "name": "switch nr type",\r
1294     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1295     "comments": "",\r
1296     "outputs": 1,\r
1297     "x": 3871.883331298828,\r
1298     "y": 961.8833312988281,\r
1299     "z": "1854297c.6f0f4f",\r
1300     "wires": [\r
1301       [\r
1302         "49900721.03dea8",\r
1303         "7a97b419.9c3254"\r
1304       ]\r
1305     ]\r
1306   },\r
1307   {\r
1308     "id": "80324f63.fa516",\r
1309     "type": "switchNode",\r
1310     "name": "switch nr type",\r
1311     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1312     "comments": "",\r
1313     "outputs": 1,\r
1314     "x": 3872.883331298828,\r
1315     "y": 1134.8833312988281,\r
1316     "z": "1854297c.6f0f4f",\r
1317     "wires": [\r
1318       [\r
1319         "9dd66c65.827358",\r
1320         "1559fb7e.bddfc5"\r
1321       ]\r
1322     ]\r
1323   },\r
1324   {\r
1325     "id": "49900721.03dea8",\r
1326     "type": "outcome",\r
1327     "name": "ROOT",\r
1328     "xml": "<outcome value='ROOT'>\n",\r
1329     "comments": "",\r
1330     "outputs": 1,\r
1331     "x": 4047.883331298828,\r
1332     "y": 940.8833312988281,\r
1333     "z": "1854297c.6f0f4f",\r
1334     "wires": [\r
1335       [\r
1336         "9c76efc2.c7f458"\r
1337       ]\r
1338     ]\r
1339   },\r
1340   {\r
1341     "id": "7a97b419.9c3254",\r
1342     "type": "outcome",\r
1343     "name": "LEAF",\r
1344     "xml": "<outcome value='LEAF'>\n",\r
1345     "comments": "",\r
1346     "outputs": 1,\r
1347     "x": 4049.883331298828,\r
1348     "y": 994.8833312988281,\r
1349     "z": "1854297c.6f0f4f",\r
1350     "wires": [\r
1351       [\r
1352         "36b200ce.3626f"\r
1353       ]\r
1354     ]\r
1355   },\r
1356   {\r
1357     "id": "9dd66c65.827358",\r
1358     "type": "outcome",\r
1359     "name": "ROOT",\r
1360     "xml": "<outcome value='ROOT'>\n",\r
1361     "comments": "",\r
1362     "outputs": 1,\r
1363     "x": 4048.883331298828,\r
1364     "y": 1104.8833312988281,\r
1365     "z": "1854297c.6f0f4f",\r
1366     "wires": [\r
1367       [\r
1368         "f7a8d104.b779c8"\r
1369       ]\r
1370     ]\r
1371   },\r
1372   {\r
1373     "id": "1559fb7e.bddfc5",\r
1374     "type": "outcome",\r
1375     "name": "LEAF",\r
1376     "xml": "<outcome value='LEAF'>\n",\r
1377     "comments": "",\r
1378     "outputs": 1,\r
1379     "x": 4050.883331298828,\r
1380     "y": 1158.8833312988281,\r
1381     "z": "1854297c.6f0f4f",\r
1382     "wires": [\r
1383       [\r
1384         "2781339a.2c9d8c"\r
1385       ]\r
1386     ]\r
1387   },\r
1388   {\r
1389     "id": "a64deb38.79c21",\r
1390     "type": "set",\r
1391     "name": "set network-route-ROOT",\r
1392     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1393     "comments": "",\r
1394     "x": 4357.883331298828,\r
1395     "y": 892.8833312988281,\r
1396     "z": "1854297c.6f0f4f",\r
1397     "wires": []\r
1398   },\r
1399   {\r
1400     "id": "d00069b9.08211",\r
1401     "type": "set",\r
1402     "name": "set network-route-LEAF",\r
1403     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1404     "comments": "",\r
1405     "x": 4350.883331298828,\r
1406     "y": 990.8833312988281,\r
1407     "z": "1854297c.6f0f4f",\r
1408     "wires": []\r
1409   },\r
1410   {\r
1411     "id": "e2a3248.b77d4d8",\r
1412     "type": "set",\r
1413     "name": "set network-route-ROOT",\r
1414     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1415     "comments": "",\r
1416     "x": 4350.883331298828,\r
1417     "y": 1077.8833312988281,\r
1418     "z": "1854297c.6f0f4f",\r
1419     "wires": []\r
1420   },\r
1421   {\r
1422     "id": "69fc971e.d1c948",\r
1423     "type": "set",\r
1424     "name": "set network-route-LEAF",\r
1425     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1426     "comments": "",\r
1427     "x": 4354.883331298828,\r
1428     "y": 1170.8833312988281,\r
1429     "z": "1854297c.6f0f4f",\r
1430     "wires": []\r
1431   },\r
1432   {\r
1433     "id": "79a28b11.e62b74",\r
1434     "type": "success",\r
1435     "name": "success",\r
1436     "xml": "<outcome value='success'>\n",\r
1437     "comments": "",\r
1438     "outputs": 1,\r
1439     "x": 3581.883331298828,\r
1440     "y": 1579.8833312988281,\r
1441     "z": "1854297c.6f0f4f",\r
1442     "wires": [\r
1443       [\r
1444         "4a634c2c.1a75ec"\r
1445       ]\r
1446     ]\r
1447   },\r
1448   {\r
1449     "id": "940be839.4c9f2",\r
1450     "type": "not-found",\r
1451     "name": "not-found",\r
1452     "xml": "<outcome value='not-found'>\n",\r
1453     "comments": "",\r
1454     "outputs": 1,\r
1455     "x": 3591.374298095703,\r
1456     "y": 1622.4573669433594,\r
1457     "z": "1854297c.6f0f4f",\r
1458     "wires": [\r
1459       [\r
1460         "87a8481c.69d658"\r
1461       ]\r
1462     ]\r
1463   },\r
1464   {\r
1465     "id": "a420af0c.05d778",\r
1466     "type": "failure",\r
1467     "name": "failure",\r
1468     "xml": "<outcome value='failure'>\n",\r
1469     "comments": "",\r
1470     "outputs": 1,\r
1471     "x": 3579.883331298828,\r
1472     "y": 1668.8833312988281,\r
1473     "z": "1854297c.6f0f4f",\r
1474     "wires": [\r
1475       [\r
1476         "2583b063.d99b38"\r
1477       ]\r
1478     ]\r
1479   },\r
1480   {\r
1481     "id": "2f08f142.24c856",\r
1482     "type": "comment",\r
1483     "name": "Question?",\r
1484     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1485     "comments": "",\r
1486     "x": 3281.883331298828,\r
1487     "y": 1541.8833312988281,\r
1488     "z": "1854297c.6f0f4f",\r
1489     "wires": []\r
1490   },\r
1491   {\r
1492     "id": "1fa44b37.7a7c65",\r
1493     "type": "save",\r
1494     "name": "get p-interface-src from aai",\r
1495     "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
1496     "comments": "",\r
1497     "outputs": 1,\r
1498     "x": 3324.883331298828,\r
1499     "y": 1606.8833312988281,\r
1500     "z": "1854297c.6f0f4f",\r
1501     "wires": [\r
1502       [\r
1503         "79a28b11.e62b74",\r
1504         "940be839.4c9f2",\r
1505         "a420af0c.05d778"\r
1506       ]\r
1507     ]\r
1508   },\r
1509   {\r
1510     "id": "9190bf27.d61b08",\r
1511     "type": "execute",\r
1512     "name": "execute split tp-id to get pnf-name",\r
1513     "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
1514     "comments": "",\r
1515     "outputs": 1,\r
1516     "x": 3325.883331298828,\r
1517     "y": 1276.8833312988281,\r
1518     "z": "1854297c.6f0f4f",\r
1519     "wires": [\r
1520       [\r
1521         "d3643022.187b08",\r
1522         "f8e2bf22.0eeef"\r
1523       ]\r
1524     ]\r
1525   },\r
1526   {\r
1527     "id": "f8e2bf22.0eeef",\r
1528     "type": "failure",\r
1529     "name": "success",\r
1530     "xml": "<outcome value='success'>\n",\r
1531     "comments": "",\r
1532     "outputs": 1,\r
1533     "x": 3548.883331298828,\r
1534     "y": 1262.8833312988281,\r
1535     "z": "1854297c.6f0f4f",\r
1536     "wires": [\r
1537       [\r
1538         "624eaece.91144"\r
1539       ]\r
1540     ]\r
1541   },\r
1542   {\r
1543     "id": "d3643022.187b08",\r
1544     "type": "failure",\r
1545     "name": "failure",\r
1546     "xml": "<outcome value='failure'>\n",\r
1547     "comments": "",\r
1548     "outputs": 1,\r
1549     "x": 3550.883331298828,\r
1550     "y": 1295.8833312988281,\r
1551     "z": "1854297c.6f0f4f",\r
1552     "wires": [\r
1553       [\r
1554         "c2708361.dc58a8"\r
1555       ]\r
1556     ]\r
1557   },\r
1558   {\r
1559     "id": "4a634c2c.1a75ec",\r
1560     "type": "block",\r
1561     "name": "block : atomic",\r
1562     "xml": "<block atomic=\"true\">",\r
1563     "atomic": "true",\r
1564     "outputs": 1,\r
1565     "x": 3754.549835205078,\r
1566     "y": 1578.8833312988281,\r
1567     "z": "1854297c.6f0f4f",\r
1568     "wires": [\r
1569       [\r
1570         "a3465897.dfb6c",\r
1571         "6701a8e7.d232d8"\r
1572       ]\r
1573     ]\r
1574   },\r
1575   {\r
1576     "id": "87a8481c.69d658",\r
1577     "type": "returnFailure",\r
1578     "name": "return failure",\r
1579     "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
1580     "comments": "",\r
1581     "x": 3744.9457092285156,\r
1582     "y": 1625.7431030273438,\r
1583     "z": "1854297c.6f0f4f",\r
1584     "wires": []\r
1585   },\r
1586   {\r
1587     "id": "2583b063.d99b38",\r
1588     "type": "returnFailure",\r
1589     "name": "return failure",\r
1590     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1591     "comments": "",\r
1592     "x": 3748.883331298828,\r
1593     "y": 1669.8833312988281,\r
1594     "z": "1854297c.6f0f4f",\r
1595     "wires": []\r
1596   },\r
1597   {\r
1598     "id": "a3465897.dfb6c",\r
1599     "type": "execute",\r
1600     "name": "execute split tp-id to get pnf-name",\r
1601     "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
1602     "comments": "",\r
1603     "outputs": 1,\r
1604     "x": 4018.883331298828,\r
1605     "y": 1562.8833312988281,\r
1606     "z": "1854297c.6f0f4f",\r
1607     "wires": [\r
1608       [\r
1609         "345ba8bf.bbff3",\r
1610         "cd05726a.f82838"\r
1611       ]\r
1612     ]\r
1613   },\r
1614   {\r
1615     "id": "cd05726a.f82838",\r
1616     "type": "failure",\r
1617     "name": "success",\r
1618     "xml": "<outcome value='success'>\n",\r
1619     "comments": "",\r
1620     "outputs": 1,\r
1621     "x": 4241.883331298828,\r
1622     "y": 1517.8833312988281,\r
1623     "z": "1854297c.6f0f4f",\r
1624     "wires": [\r
1625       [\r
1626         "2d1297aa.955328"\r
1627       ]\r
1628     ]\r
1629   },\r
1630   {\r
1631     "id": "345ba8bf.bbff3",\r
1632     "type": "failure",\r
1633     "name": "failure",\r
1634     "xml": "<outcome value='failure'>\n",\r
1635     "comments": "",\r
1636     "outputs": 1,\r
1637     "x": 4243.883331298828,\r
1638     "y": 1581.8833312988281,\r
1639     "z": "1854297c.6f0f4f",\r
1640     "wires": [\r
1641       [\r
1642         "c1965743.4c3d48"\r
1643       ]\r
1644     ]\r
1645   },\r
1646   {\r
1647     "id": "c1965743.4c3d48",\r
1648     "type": "returnFailure",\r
1649     "name": "return failure",\r
1650     "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
1651     "comments": "",\r
1652     "x": 4405.883331298828,\r
1653     "y": 1577.8833312988281,\r
1654     "z": "1854297c.6f0f4f",\r
1655     "wires": []\r
1656   },\r
1657   {\r
1658     "id": "2d1297aa.955328",\r
1659     "type": "block",\r
1660     "name": "block : atomic",\r
1661     "xml": "<block atomic=\"true\">",\r
1662     "atomic": "true",\r
1663     "outputs": 1,\r
1664     "x": 4406.883331298828,\r
1665     "y": 1514.8833312988281,\r
1666     "z": "1854297c.6f0f4f",\r
1667     "wires": [\r
1668       [\r
1669         "2cdfacb5.3a35a4",\r
1670         "3e9d9121.36c9d6"\r
1671       ]\r
1672     ]\r
1673   },\r
1674   {\r
1675     "id": "8deb3478.19bbc8",\r
1676     "type": "save",\r
1677     "name": "save connectivity resource in AAI",\r
1678     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $uuid.connectivity-domainA-uuid'>\n<parameter name='connectivity-id' value='`$uuid.connectivity-domainA-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
1679     "comments": "",\r
1680     "outputs": 1,\r
1681     "x": 4020.883331298828,\r
1682     "y": 1721.8833312988281,\r
1683     "z": "1854297c.6f0f4f",\r
1684     "wires": [\r
1685       []\r
1686     ]\r
1687   },\r
1688   {\r
1689     "id": "97704f04.65be9",\r
1690     "type": "execute",\r
1691     "name": "execute UUID generator for connectivity domainA",\r
1692     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
1693     "comments": "",\r
1694     "outputs": 1,\r
1695     "x": 4065.883331298828,\r
1696     "y": 1631.8833312988281,\r
1697     "z": "1854297c.6f0f4f",\r
1698     "wires": [\r
1699       []\r
1700     ]\r
1701   },\r
1702   {\r
1703     "id": "d3e16022.86087",\r
1704     "type": "save",\r
1705     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
1706     "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
1707     "comments": "",\r
1708     "outputs": 1,\r
1709     "x": 4148.883331298828,\r
1710     "y": 1769.8833312988281,\r
1711     "z": "1854297c.6f0f4f",\r
1712     "wires": [\r
1713       []\r
1714     ]\r
1715   },\r
1716   {\r
1717     "id": "c2708361.dc58a8",\r
1718     "type": "returnFailure",\r
1719     "name": "return failure",\r
1720     "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
1721     "comments": "",\r
1722     "x": 3693.883331298828,\r
1723     "y": 1292.8833312988281,\r
1724     "z": "1854297c.6f0f4f",\r
1725     "wires": []\r
1726   },\r
1727   {\r
1728     "id": "624eaece.91144",\r
1729     "type": "block",\r
1730     "name": "block : atomic",\r
1731     "xml": "<block atomic=\"true\">",\r
1732     "atomic": "true",\r
1733     "outputs": 1,\r
1734     "x": 3696.883331298828,\r
1735     "y": 1255.8833312988281,\r
1736     "z": "1854297c.6f0f4f",\r
1737     "wires": [\r
1738       [\r
1739         "72c971d0.4048b8",\r
1740         "afa94a20.a982b"\r
1741       ]\r
1742     ]\r
1743   },\r
1744   {\r
1745     "id": "72c971d0.4048b8",\r
1746     "type": "set",\r
1747     "name": "set pnf-name",\r
1748     "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
1749     "comments": "",\r
1750     "x": 3870.883331298828,\r
1751     "y": 1211.8833312988281,\r
1752     "z": "1854297c.6f0f4f",\r
1753     "wires": []\r
1754   },\r
1755   {\r
1756     "id": "6701a8e7.d232d8",\r
1757     "type": "for",\r
1758     "name": "for each relationship",\r
1759     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1760     "comments": "",\r
1761     "outputs": 1,\r
1762     "x": 3972.883331298828,\r
1763     "y": 1846.8833312988281,\r
1764     "z": "1854297c.6f0f4f",\r
1765     "wires": [\r
1766       [\r
1767         "db5b6ad5.7610d"\r
1768       ]\r
1769     ]\r
1770   },\r
1771   {\r
1772     "id": "db5b6ad5.7610d",\r
1773     "type": "switchNode",\r
1774     "name": "switch related-to",\r
1775     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1776     "comments": "",\r
1777     "outputs": 1,\r
1778     "x": 4178.883331298828,\r
1779     "y": 1846.8833312988281,\r
1780     "z": "1854297c.6f0f4f",\r
1781     "wires": [\r
1782       [\r
1783         "91f60d7.c7d4bf"\r
1784       ]\r
1785     ]\r
1786   },\r
1787   {\r
1788     "id": "91f60d7.c7d4bf",\r
1789     "type": "outcome",\r
1790     "name": "tunnel-termination-point",\r
1791     "xml": "<outcome value='tunnel-termination-point'>\n",\r
1792     "comments": "",\r
1793     "outputs": 1,\r
1794     "x": 4394.168975830078,\r
1795     "y": 1846.7051086425781,\r
1796     "z": "1854297c.6f0f4f",\r
1797     "wires": [\r
1798       [\r
1799         "f6e4c256.99ed68"\r
1800       ]\r
1801     ]\r
1802   },\r
1803   {\r
1804     "id": "afa94a20.a982b",\r
1805     "type": "get-resource",\r
1806     "name": "get-resource src pnf",\r
1807     "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
1808     "comments": "",\r
1809     "outputs": 1,\r
1810     "x": 3885.883331298828,\r
1811     "y": 1322.8833312988281,\r
1812     "z": "1854297c.6f0f4f",\r
1813     "wires": [\r
1814       [\r
1815         "1979ced2.4d0299",\r
1816         "9890a5f2.a73b18",\r
1817         "d6c935ad.2c18"\r
1818       ]\r
1819     ]\r
1820   },\r
1821   {\r
1822     "id": "1979ced2.4d0299",\r
1823     "type": "success",\r
1824     "name": "success",\r
1825     "xml": "<outcome value='success'>\n",\r
1826     "comments": "",\r
1827     "outputs": 1,\r
1828     "x": 4081.3834533691406,\r
1829     "y": 1274.8833312988281,\r
1830     "z": "1854297c.6f0f4f",\r
1831     "wires": [\r
1832       [\r
1833         "d4f7d32a.177f28"\r
1834       ]\r
1835     ]\r
1836   },\r
1837   {\r
1838     "id": "9890a5f2.a73b18",\r
1839     "type": "not-found",\r
1840     "name": "not-found",\r
1841     "xml": "<outcome value='not-found'>\n",\r
1842     "comments": "",\r
1843     "outputs": 1,\r
1844     "x": 4073.3834533691406,\r
1845     "y": 1329.8833312988281,\r
1846     "z": "1854297c.6f0f4f",\r
1847     "wires": [\r
1848       [\r
1849         "4c3f3b2.6283544"\r
1850       ]\r
1851     ]\r
1852   },\r
1853   {\r
1854     "id": "d6c935ad.2c18",\r
1855     "type": "other",\r
1856     "name": "other",\r
1857     "xml": "<outcome value='Other'>\n",\r
1858     "comments": "",\r
1859     "outputs": 1,\r
1860     "x": 4078.3834533691406,\r
1861     "y": 1386.8833312988281,\r
1862     "z": "1854297c.6f0f4f",\r
1863     "wires": [\r
1864       [\r
1865         "13564645.a1e6da"\r
1866       ]\r
1867     ]\r
1868   },\r
1869   {\r
1870     "id": "13564645.a1e6da",\r
1871     "type": "returnFailure",\r
1872     "name": "return failure",\r
1873     "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
1874     "comments": "",\r
1875     "x": 4230.383453369141,\r
1876     "y": 1387.8833312988281,\r
1877     "z": "1854297c.6f0f4f",\r
1878     "wires": []\r
1879   },\r
1880   {\r
1881     "id": "4c3f3b2.6283544",\r
1882     "type": "returnFailure",\r
1883     "name": "return failure",\r
1884     "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
1885     "comments": "",\r
1886     "x": 4241.383453369141,\r
1887     "y": 1332.8833312988281,\r
1888     "z": "1854297c.6f0f4f",\r
1889     "wires": []\r
1890   },\r
1891   {\r
1892     "id": "d4f7d32a.177f28",\r
1893     "type": "block",\r
1894     "name": "block",\r
1895     "xml": "<block>\n",\r
1896     "atomic": "false",\r
1897     "comments": "",\r
1898     "outputs": 1,\r
1899     "x": 4225.765777587891,\r
1900     "y": 1272.5390014648438,\r
1901     "z": "1854297c.6f0f4f",\r
1902     "wires": [\r
1903       [\r
1904         "755f8d33.dd06bc"\r
1905       ]\r
1906     ]\r
1907   },\r
1908   {\r
1909     "id": "755f8d33.dd06bc",\r
1910     "type": "for",\r
1911     "name": "for each relationship",\r
1912     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1913     "comments": "",\r
1914     "outputs": 1,\r
1915     "x": 4409.883331298828,\r
1916     "y": 1286.8833312988281,\r
1917     "z": "1854297c.6f0f4f",\r
1918     "wires": [\r
1919       [\r
1920         "910fe315.8317e8"\r
1921       ]\r
1922     ]\r
1923   },\r
1924   {\r
1925     "id": "3e9d9121.36c9d6",\r
1926     "type": "set",\r
1927     "name": "set ltpId",\r
1928     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1929     "comments": "",\r
1930     "x": 4576.883331298828,\r
1931     "y": 1472.8833312988281,\r
1932     "z": "1854297c.6f0f4f",\r
1933     "wires": []\r
1934   },\r
1935   {\r
1936     "id": "2cdfacb5.3a35a4",\r
1937     "type": "set",\r
1938     "name": "set pnf-name",\r
1939     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1940     "comments": "",\r
1941     "x": 4577.883331298828,\r
1942     "y": 1580.8833312988281,\r
1943     "z": "1854297c.6f0f4f",\r
1944     "wires": []\r
1945   },\r
1946   {\r
1947     "id": "80df0a60.dec0f8",\r
1948     "type": "comment",\r
1949     "name": "TODO: FIXME",\r
1950     "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
1951     "comments": "",\r
1952     "x": 4578.883331298828,\r
1953     "y": 1529.8833312988281,\r
1954     "z": "1854297c.6f0f4f",\r
1955     "wires": []\r
1956   },\r
1957   {\r
1958     "id": "f6e4c256.99ed68",\r
1959     "type": "block",\r
1960     "name": "block : atomic",\r
1961     "xml": "<block atomic=\"true\">",\r
1962     "atomic": "true",\r
1963     "outputs": 1,\r
1964     "x": 4601.000518798828,\r
1965     "y": 1847.2236633300781,\r
1966     "z": "1854297c.6f0f4f",\r
1967     "wires": [\r
1968       [\r
1969         "a4a05745.968c7",\r
1970         "d1e00a0e.d2e56",\r
1971         "d1a2356d.4786a8"\r
1972       ]\r
1973     ]\r
1974   },\r
1975   {\r
1976     "id": "a4a05745.968c7",\r
1977     "type": "set",\r
1978     "name": "set source ttp-id",\r
1979     "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
1980     "comments": "",\r
1981     "x": 4816.000518798828,\r
1982     "y": 1809.2236633300781,\r
1983     "z": "1854297c.6f0f4f",\r
1984     "wires": []\r
1985   },\r
1986   {\r
1987     "id": "d1e00a0e.d2e56",\r
1988     "type": "get-resource",\r
1989     "name": "get-resource src TTP",\r
1990     "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
1991     "comments": "",\r
1992     "outputs": 1,\r
1993     "x": 4813.000518798828,\r
1994     "y": 1848.2236633300781,\r
1995     "z": "1854297c.6f0f4f",\r
1996     "wires": [\r
1997       [\r
1998         "17a4f2c1.f6b375"\r
1999       ]\r
2000     ]\r
2001   },\r
2002   {\r
2003     "id": "d1a2356d.4786a8",\r
2004     "type": "break",\r
2005     "name": "break",\r
2006     "xml": "<break>\n",\r
2007     "comments": "",\r
2008     "x": 4768.500518798828,\r
2009     "y": 1890.2236633300781,\r
2010     "z": "1854297c.6f0f4f",\r
2011     "wires": []\r
2012   },\r
2013   {\r
2014     "id": "17a4f2c1.f6b375",\r
2015     "type": "success",\r
2016     "name": "success",\r
2017     "xml": "<outcome value='success'>\n",\r
2018     "comments": "",\r
2019     "outputs": 1,\r
2020     "x": 4993.500518798828,\r
2021     "y": 1847.2236633300781,\r
2022     "z": "1854297c.6f0f4f",\r
2023     "wires": [\r
2024       [\r
2025         "ba138e8e.753b68"\r
2026       ]\r
2027     ]\r
2028   },\r
2029   {\r
2030     "id": "8d6faffb.891c08",\r
2031     "type": "outcome",\r
2032     "name": "esr-thirdparty-sdnc",\r
2033     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2034     "comments": "",\r
2035     "outputs": 1,\r
2036     "x": 4807.883331298828,\r
2037     "y": 1290.8833312988281,\r
2038     "z": "1854297c.6f0f4f",\r
2039     "wires": [\r
2040       [\r
2041         "17552ef5.2956f9"\r
2042       ]\r
2043     ]\r
2044   },\r
2045   {\r
2046     "id": "17552ef5.2956f9",\r
2047     "type": "block",\r
2048     "name": "block : atomic",\r
2049     "xml": "<block atomic=\"true\">",\r
2050     "atomic": "true",\r
2051     "outputs": 1,\r
2052     "x": 4984.883331298828,\r
2053     "y": 1282.8833312988281,\r
2054     "z": "1854297c.6f0f4f",\r
2055     "wires": [\r
2056       [\r
2057         "55d02530.edc7ec",\r
2058         "14cede7e.dd48aa"\r
2059       ]\r
2060     ]\r
2061   },\r
2062   {\r
2063     "id": "910fe315.8317e8",\r
2064     "type": "switchNode",\r
2065     "name": "switch related-to",\r
2066     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2067     "comments": "",\r
2068     "outputs": 1,\r
2069     "x": 4604.883331298828,\r
2070     "y": 1286.8833312988281,\r
2071     "z": "1854297c.6f0f4f",\r
2072     "wires": [\r
2073       [\r
2074         "8d6faffb.891c08",\r
2075         "fe294daa.41d368"\r
2076       ]\r
2077     ]\r
2078   },\r
2079   {\r
2080     "id": "fe294daa.41d368",\r
2081     "type": "outcome",\r
2082     "name": "network-resource",\r
2083     "xml": "<outcome value='network-resource'>",\r
2084     "comments": "",\r
2085     "outputs": 1,\r
2086     "x": 4810.883331298828,\r
2087     "y": 1364.8833312988281,\r
2088     "z": "1854297c.6f0f4f",\r
2089     "wires": [\r
2090       [\r
2091         "d9a2dd9b.e37c68"\r
2092       ]\r
2093     ]\r
2094   },\r
2095   {\r
2096     "id": "d9a2dd9b.e37c68",\r
2097     "type": "block",\r
2098     "name": "block : atomic",\r
2099     "xml": "<block atomic=\"true\">",\r
2100     "atomic": "true",\r
2101     "outputs": 1,\r
2102     "x": 4987.883331298828,\r
2103     "y": 1356.8833312988281,\r
2104     "z": "1854297c.6f0f4f",\r
2105     "wires": [\r
2106       [\r
2107         "7ccc9bf1.00634c"\r
2108       ]\r
2109     ]\r
2110   },\r
2111   {\r
2112     "id": "ba138e8e.753b68",\r
2113     "type": "block",\r
2114     "name": "block : atomic",\r
2115     "xml": "<block atomic=\"true\">",\r
2116     "atomic": "true",\r
2117     "outputs": 1,\r
2118     "x": 5151.500518798828,\r
2119     "y": 1847.2236633300781,\r
2120     "z": "1854297c.6f0f4f",\r
2121     "wires": [\r
2122       [\r
2123         "949f2da8.99048"\r
2124       ]\r
2125     ]\r
2126   },\r
2127   {\r
2128     "id": "949f2da8.99048",\r
2129     "type": "set",\r
2130     "name": "set source tunnel tp ip",\r
2131     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2132     "comments": "",\r
2133     "x": 5358.500518798828,\r
2134     "y": 1847.2236633300781,\r
2135     "z": "1854297c.6f0f4f",\r
2136     "wires": []\r
2137   },\r
2138   {\r
2139     "id": "14cede7e.dd48aa",\r
2140     "type": "execute",\r
2141     "name": "get esr-thirdparty-sdnc",\r
2142     "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
2143     "comments": "",\r
2144     "outputs": 1,\r
2145     "x": 5192.883331298828,\r
2146     "y": 1289.8833312988281,\r
2147     "z": "1854297c.6f0f4f",\r
2148     "wires": [\r
2149       [\r
2150         "b2a3145.b7edbe8",\r
2151         "e74729d.3422f58",\r
2152         "409c0b0b.c89e64"\r
2153       ]\r
2154     ]\r
2155   },\r
2156   {\r
2157     "id": "55d02530.edc7ec",\r
2158     "type": "set",\r
2159     "name": "set esr-thirdparty-sdnc domainA id",\r
2160     "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
2161     "comments": "",\r
2162     "x": 5222.883331298828,\r
2163     "y": 1237.8833312988281,\r
2164     "z": "1854297c.6f0f4f",\r
2165     "wires": []\r
2166   },\r
2167   {\r
2168     "id": "b2a3145.b7edbe8",\r
2169     "type": "success",\r
2170     "name": "success",\r
2171     "xml": "<outcome value='success'>\n",\r
2172     "comments": "",\r
2173     "outputs": 1,\r
2174     "x": 5402.883331298828,\r
2175     "y": 1280.8833312988281,\r
2176     "z": "1854297c.6f0f4f",\r
2177     "wires": [\r
2178       [\r
2179         "4b8f6adb.6d0404"\r
2180       ]\r
2181     ]\r
2182   },\r
2183   {\r
2184     "id": "e74729d.3422f58",\r
2185     "type": "not-found",\r
2186     "name": "not-found",\r
2187     "xml": "<outcome value='not-found'>\n",\r
2188     "comments": "",\r
2189     "outputs": 1,\r
2190     "x": 5394.883331298828,\r
2191     "y": 1335.8833312988281,\r
2192     "z": "1854297c.6f0f4f",\r
2193     "wires": [\r
2194       [\r
2195         "19136c8e.dcdfbb"\r
2196       ]\r
2197     ]\r
2198   },\r
2199   {\r
2200     "id": "409c0b0b.c89e64",\r
2201     "type": "other",\r
2202     "name": "other",\r
2203     "xml": "<outcome value='Other'>\n",\r
2204     "comments": "",\r
2205     "outputs": 1,\r
2206     "x": 5399.883331298828,\r
2207     "y": 1392.8833312988281,\r
2208     "z": "1854297c.6f0f4f",\r
2209     "wires": [\r
2210       [\r
2211         "e2070656.8dd03"\r
2212       ]\r
2213     ]\r
2214   },\r
2215   {\r
2216     "id": "e2070656.8dd03",\r
2217     "type": "returnFailure",\r
2218     "name": "return failure",\r
2219     "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
2220     "comments": "",\r
2221     "x": 5551.883331298828,\r
2222     "y": 1393.8833312988281,\r
2223     "z": "1854297c.6f0f4f",\r
2224     "wires": []\r
2225   },\r
2226   {\r
2227     "id": "19136c8e.dcdfbb",\r
2228     "type": "returnFailure",\r
2229     "name": "return failure",\r
2230     "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
2231     "comments": "",\r
2232     "x": 5562.883331298828,\r
2233     "y": 1338.8833312988281,\r
2234     "z": "1854297c.6f0f4f",\r
2235     "wires": []\r
2236   },\r
2237   {\r
2238     "id": "4b8f6adb.6d0404",\r
2239     "type": "block",\r
2240     "name": "block",\r
2241     "xml": "<block>\n",\r
2242     "atomic": "false",\r
2243     "comments": "",\r
2244     "outputs": 1,\r
2245     "x": 5547.265655517578,\r
2246     "y": 1278.5390014648438,\r
2247     "z": "1854297c.6f0f4f",\r
2248     "wires": [\r
2249       [\r
2250         "c2a5af15.443d8"\r
2251       ]\r
2252     ]\r
2253   },\r
2254   {\r
2255     "id": "7ccc9bf1.00634c",\r
2256     "type": "set",\r
2257     "name": "set domainA ethernet layer network-id",\r
2258     "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
2259     "comments": "",\r
2260     "x": 5222.883331298828,\r
2261     "y": 1480.8833312988281,\r
2262     "z": "1854297c.6f0f4f",\r
2263     "wires": []\r
2264   },\r
2265   {\r
2266     "id": "c2a5af15.443d8",\r
2267     "type": "set",\r
2268     "name": "set controller domainA data",\r
2269     "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
2270     "comments": "",\r
2271     "x": 5761.883331298828,\r
2272     "y": 1274.8833312988281,\r
2273     "z": "1854297c.6f0f4f",\r
2274     "wires": []\r
2275   },\r
2276   {\r
2277     "id": "4eba14c8.80a994",\r
2278     "type": "set",\r
2279     "name": "set network-route-B",\r
2280     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2281     "comments": "",\r
2282     "x": 4345.883331298828,\r
2283     "y": 928.8833312988281,\r
2284     "z": "1854297c.6f0f4f",\r
2285     "wires": []\r
2286   },\r
2287   {\r
2288     "id": "620253a.9c2552c",\r
2289     "type": "set",\r
2290     "name": "set network-route-A",\r
2291     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2292     "comments": "",\r
2293     "x": 4336.883331298828,\r
2294     "y": 1026.8833312988281,\r
2295     "z": "1854297c.6f0f4f",\r
2296     "wires": []\r
2297   },\r
2298   {\r
2299     "id": "9c76efc2.c7f458",\r
2300     "type": "block",\r
2301     "name": "block",\r
2302     "xml": "<block>\n",\r
2303     "atomic": "false",\r
2304     "comments": "",\r
2305     "outputs": 1,\r
2306     "x": 4170.883331298828,\r
2307     "y": 934.8833312988281,\r
2308     "z": "1854297c.6f0f4f",\r
2309     "wires": [\r
2310       [\r
2311         "a64deb38.79c21",\r
2312         "4eba14c8.80a994"\r
2313       ]\r
2314     ]\r
2315   },\r
2316   {\r
2317     "id": "36b200ce.3626f",\r
2318     "type": "block",\r
2319     "name": "block",\r
2320     "xml": "<block>\n",\r
2321     "atomic": "false",\r
2322     "comments": "",\r
2323     "outputs": 1,\r
2324     "x": 4176.883331298828,\r
2325     "y": 998.8833312988281,\r
2326     "z": "1854297c.6f0f4f",\r
2327     "wires": [\r
2328       [\r
2329         "d00069b9.08211",\r
2330         "620253a.9c2552c"\r
2331       ]\r
2332     ]\r
2333   },\r
2334   {\r
2335     "id": "f7a8d104.b779c8",\r
2336     "type": "block",\r
2337     "name": "block",\r
2338     "xml": "<block>\n",\r
2339     "atomic": "false",\r
2340     "comments": "",\r
2341     "outputs": 1,\r
2342     "x": 4176.883331298828,\r
2343     "y": 1104.8833312988281,\r
2344     "z": "1854297c.6f0f4f",\r
2345     "wires": [\r
2346       [\r
2347         "e2a3248.b77d4d8",\r
2348         "bcbbe769.3c0e1"\r
2349       ]\r
2350     ]\r
2351   },\r
2352   {\r
2353     "id": "2781339a.2c9d8c",\r
2354     "type": "block",\r
2355     "name": "block",\r
2356     "xml": "<block>\n",\r
2357     "atomic": "false",\r
2358     "comments": "",\r
2359     "outputs": 1,\r
2360     "x": 4179.883331298828,\r
2361     "y": 1157.8833312988281,\r
2362     "z": "1854297c.6f0f4f",\r
2363     "wires": [\r
2364       [\r
2365         "69fc971e.d1c948",\r
2366         "6070cd17.b28d74"\r
2367       ]\r
2368     ]\r
2369   },\r
2370   {\r
2371     "id": "bcbbe769.3c0e1",\r
2372     "type": "set",\r
2373     "name": "set network-route-B",\r
2374     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2375     "comments": "",\r
2376     "x": 4336.883331298828,\r
2377     "y": 1117.8833312988281,\r
2378     "z": "1854297c.6f0f4f",\r
2379     "wires": []\r
2380   },\r
2381   {\r
2382     "id": "6070cd17.b28d74",\r
2383     "type": "set",\r
2384     "name": "set network-route-A",\r
2385     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2386     "comments": "",\r
2387     "x": 4339.883331298828,\r
2388     "y": 1208.8833312988281,\r
2389     "z": "1854297c.6f0f4f",\r
2390     "wires": []\r
2391   },\r
2392   {\r
2393     "id": "ef6aaa0a.46635",\r
2394     "type": "block",\r
2395     "name": "block : atomic",\r
2396     "xml": "<block atomic=\"true\">",\r
2397     "atomic": "true",\r
2398     "outputs": 1,\r
2399     "x": 3711.883331298828,\r
2400     "y": 2418.883331298828,\r
2401     "z": "1854297c.6f0f4f",\r
2402     "wires": [\r
2403       [\r
2404         "a10bbf1c.524bd",\r
2405         "27427337.3be9a4"\r
2406       ]\r
2407     ]\r
2408   },\r
2409   {\r
2410     "id": "a6501243.d121f",\r
2411     "type": "success",\r
2412     "name": "success",\r
2413     "xml": "<outcome value='success'>\n",\r
2414     "comments": "",\r
2415     "outputs": 1,\r
2416     "x": 3539.216827392578,\r
2417     "y": 2419.883331298828,\r
2418     "z": "1854297c.6f0f4f",\r
2419     "wires": [\r
2420       [\r
2421         "ef6aaa0a.46635"\r
2422       ]\r
2423     ]\r
2424   },\r
2425   {\r
2426     "id": "aaec6d99.4c304",\r
2427     "type": "not-found",\r
2428     "name": "not-found",\r
2429     "xml": "<outcome value='not-found'>\n",\r
2430     "comments": "",\r
2431     "outputs": 1,\r
2432     "x": 3548.707794189453,\r
2433     "y": 2462.4573669433594,\r
2434     "z": "1854297c.6f0f4f",\r
2435     "wires": [\r
2436       [\r
2437         "47f8697d.df9998"\r
2438       ]\r
2439     ]\r
2440   },\r
2441   {\r
2442     "id": "e6e0568a.7d4f68",\r
2443     "type": "failure",\r
2444     "name": "failure",\r
2445     "xml": "<outcome value='failure'>\n",\r
2446     "comments": "",\r
2447     "outputs": 1,\r
2448     "x": 3537.216827392578,\r
2449     "y": 2508.883331298828,\r
2450     "z": "1854297c.6f0f4f",\r
2451     "wires": [\r
2452       [\r
2453         "2963b336.e3bc8c"\r
2454       ]\r
2455     ]\r
2456   },\r
2457   {\r
2458     "id": "47f8697d.df9998",\r
2459     "type": "returnFailure",\r
2460     "name": "return failure",\r
2461     "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
2462     "comments": "",\r
2463     "x": 3702.2792053222656,\r
2464     "y": 2465.7431030273438,\r
2465     "z": "1854297c.6f0f4f",\r
2466     "wires": []\r
2467   },\r
2468   {\r
2469     "id": "2963b336.e3bc8c",\r
2470     "type": "returnFailure",\r
2471     "name": "return failure",\r
2472     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2473     "comments": "",\r
2474     "x": 3706.216827392578,\r
2475     "y": 2509.883331298828,\r
2476     "z": "1854297c.6f0f4f",\r
2477     "wires": []\r
2478   },\r
2479   {\r
2480     "id": "a10bbf1c.524bd",\r
2481     "type": "execute",\r
2482     "name": "execute split tp-id to get pnf-name",\r
2483     "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
2484     "comments": "",\r
2485     "outputs": 1,\r
2486     "x": 3998.216827392578,\r
2487     "y": 2422.8834533691406,\r
2488     "z": "1854297c.6f0f4f",\r
2489     "wires": [\r
2490       [\r
2491         "b2433bfc.a285b",\r
2492         "e32efd70.259f3"\r
2493       ]\r
2494     ]\r
2495   },\r
2496   {\r
2497     "id": "e32efd70.259f3",\r
2498     "type": "failure",\r
2499     "name": "success",\r
2500     "xml": "<outcome value='success'>\n",\r
2501     "comments": "",\r
2502     "outputs": 1,\r
2503     "x": 4221.216827392578,\r
2504     "y": 2377.8834533691406,\r
2505     "z": "1854297c.6f0f4f",\r
2506     "wires": [\r
2507       [\r
2508         "e33d7c06.1215a"\r
2509       ]\r
2510     ]\r
2511   },\r
2512   {\r
2513     "id": "b2433bfc.a285b",\r
2514     "type": "failure",\r
2515     "name": "failure",\r
2516     "xml": "<outcome value='failure'>\n",\r
2517     "comments": "",\r
2518     "outputs": 1,\r
2519     "x": 4223.216827392578,\r
2520     "y": 2441.8834533691406,\r
2521     "z": "1854297c.6f0f4f",\r
2522     "wires": [\r
2523       [\r
2524         "96c9f851.720ff"\r
2525       ]\r
2526     ]\r
2527   },\r
2528   {\r
2529     "id": "96c9f851.720ff",\r
2530     "type": "returnFailure",\r
2531     "name": "return failure",\r
2532     "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
2533     "comments": "",\r
2534     "x": 4382.216827392578,\r
2535     "y": 2460.8834533691406,\r
2536     "z": "1854297c.6f0f4f",\r
2537     "wires": []\r
2538   },\r
2539   {\r
2540     "id": "e33d7c06.1215a",\r
2541     "type": "block",\r
2542     "name": "block : atomic",\r
2543     "xml": "<block atomic=\"true\">",\r
2544     "atomic": "true",\r
2545     "outputs": 1,\r
2546     "x": 4386.216827392578,\r
2547     "y": 2374.8834533691406,\r
2548     "z": "1854297c.6f0f4f",\r
2549     "wires": [\r
2550       [\r
2551         "64140131.87f6a",\r
2552         "d9669ac1.5a2d68"\r
2553       ]\r
2554     ]\r
2555   },\r
2556   {\r
2557     "id": "e5d24864.c4d21",\r
2558     "type": "save",\r
2559     "name": "save connectivity resource in AAI",\r
2560     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainB-uuid`' />\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='vpn-type' value='`$prop.sotn.vpnType`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
2561     "comments": "",\r
2562     "outputs": 1,\r
2563     "x": 4000.216827392578,\r
2564     "y": 2581.8834533691406,\r
2565     "z": "1854297c.6f0f4f",\r
2566     "wires": [\r
2567       []\r
2568     ]\r
2569   },\r
2570   {\r
2571     "id": "f6b5343f.392d9",\r
2572     "type": "execute",\r
2573     "name": "execute UUID generator for connectivity domainB",\r
2574     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
2575     "comments": "",\r
2576     "outputs": 1,\r
2577     "x": 4045.216827392578,\r
2578     "y": 2491.8834533691406,\r
2579     "z": "1854297c.6f0f4f",\r
2580     "wires": [\r
2581       []\r
2582     ]\r
2583   },\r
2584   {\r
2585     "id": "cfe86ca7.011b18",\r
2586     "type": "save",\r
2587     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
2588     "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
2589     "comments": "",\r
2590     "outputs": 1,\r
2591     "x": 4127.216827392578,\r
2592     "y": 2646.8834533691406,\r
2593     "z": "1854297c.6f0f4f",\r
2594     "wires": [\r
2595       []\r
2596     ]\r
2597   },\r
2598   {\r
2599     "id": "f7e98987.293918",\r
2600     "type": "save",\r
2601     "name": "get p-interface-dst from aai",\r
2602     "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
2603     "comments": "",\r
2604     "outputs": 1,\r
2605     "x": 3311.216827392578,\r
2606     "y": 2454.883331298828,\r
2607     "z": "1854297c.6f0f4f",\r
2608     "wires": [\r
2609       [\r
2610         "a6501243.d121f",\r
2611         "aaec6d99.4c304",\r
2612         "e6e0568a.7d4f68"\r
2613       ]\r
2614     ]\r
2615   },\r
2616   {\r
2617     "id": "d0c5015f.630ad",\r
2618     "type": "comment",\r
2619     "name": "Question?",\r
2620     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2621     "comments": "",\r
2622     "x": 3272.216827392578,\r
2623     "y": 2398.883331298828,\r
2624     "z": "1854297c.6f0f4f",\r
2625     "wires": []\r
2626   },\r
2627   {\r
2628     "id": "1ebd0160.929687",\r
2629     "type": "execute",\r
2630     "name": "execute split tp-id to get pnf-name",\r
2631     "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
2632     "comments": "",\r
2633     "outputs": 1,\r
2634     "x": 3329.216827392578,\r
2635     "y": 2117.8832092285156,\r
2636     "z": "1854297c.6f0f4f",\r
2637     "wires": [\r
2638       [\r
2639         "28ff08ce.889b38",\r
2640         "1b36a02a.8e3468"\r
2641       ]\r
2642     ]\r
2643   },\r
2644   {\r
2645     "id": "1b36a02a.8e3468",\r
2646     "type": "failure",\r
2647     "name": "success",\r
2648     "xml": "<outcome value='success'>\n",\r
2649     "comments": "",\r
2650     "outputs": 1,\r
2651     "x": 3552.216827392578,\r
2652     "y": 2103.8832092285156,\r
2653     "z": "1854297c.6f0f4f",\r
2654     "wires": [\r
2655       [\r
2656         "314f424e.949456"\r
2657       ]\r
2658     ]\r
2659   },\r
2660   {\r
2661     "id": "28ff08ce.889b38",\r
2662     "type": "failure",\r
2663     "name": "failure",\r
2664     "xml": "<outcome value='failure'>\n",\r
2665     "comments": "",\r
2666     "outputs": 1,\r
2667     "x": 3554.216827392578,\r
2668     "y": 2136.8832092285156,\r
2669     "z": "1854297c.6f0f4f",\r
2670     "wires": [\r
2671       [\r
2672         "c351a018.b67f98"\r
2673       ]\r
2674     ]\r
2675   },\r
2676   {\r
2677     "id": "c351a018.b67f98",\r
2678     "type": "returnFailure",\r
2679     "name": "return failure",\r
2680     "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
2681     "comments": "",\r
2682     "x": 3697.216827392578,\r
2683     "y": 2133.8832092285156,\r
2684     "z": "1854297c.6f0f4f",\r
2685     "wires": []\r
2686   },\r
2687   {\r
2688     "id": "314f424e.949456",\r
2689     "type": "block",\r
2690     "name": "block : atomic",\r
2691     "xml": "<block atomic=\"true\">",\r
2692     "atomic": "true",\r
2693     "outputs": 1,\r
2694     "x": 3700.216827392578,\r
2695     "y": 2096.8832092285156,\r
2696     "z": "1854297c.6f0f4f",\r
2697     "wires": [\r
2698       [\r
2699         "8065ca34.19e0e",\r
2700         "27c4c436.c4a394"\r
2701       ]\r
2702     ]\r
2703   },\r
2704   {\r
2705     "id": "8065ca34.19e0e",\r
2706     "type": "set",\r
2707     "name": "set pnf-name",\r
2708     "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
2709     "comments": "",\r
2710     "x": 3894.216827392578,\r
2711     "y": 2099.883331298828,\r
2712     "z": "1854297c.6f0f4f",\r
2713     "wires": []\r
2714   },\r
2715   {\r
2716     "id": "27427337.3be9a4",\r
2717     "type": "for",\r
2718     "name": "for each relationship",\r
2719     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2720     "comments": "",\r
2721     "outputs": 1,\r
2722     "x": 3957.216827392578,\r
2723     "y": 2731.883331298828,\r
2724     "z": "1854297c.6f0f4f",\r
2725     "wires": [\r
2726       [\r
2727         "b95f783a.80c45"\r
2728       ]\r
2729     ]\r
2730   },\r
2731   {\r
2732     "id": "b95f783a.80c45",\r
2733     "type": "switchNode",\r
2734     "name": "switch related-to",\r
2735     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2736     "comments": "",\r
2737     "outputs": 1,\r
2738     "x": 4163.216827392578,\r
2739     "y": 2731.883331298828,\r
2740     "z": "1854297c.6f0f4f",\r
2741     "wires": [\r
2742       [\r
2743         "fdd7c5c3.71bfe8"\r
2744       ]\r
2745     ]\r
2746   },\r
2747   {\r
2748     "id": "fdd7c5c3.71bfe8",\r
2749     "type": "outcome",\r
2750     "name": "tunnel-termination-point",\r
2751     "xml": "<outcome value='tunnel-termination-point'>\n",\r
2752     "comments": "",\r
2753     "outputs": 1,\r
2754     "x": 4380.502471923828,\r
2755     "y": 2730.705108642578,\r
2756     "z": "1854297c.6f0f4f",\r
2757     "wires": [\r
2758       [\r
2759         "240f5a27.c1a7a6"\r
2760       ]\r
2761     ]\r
2762   },\r
2763   {\r
2764     "id": "27c4c436.c4a394",\r
2765     "type": "get-resource",\r
2766     "name": "get-resource src pnf",\r
2767     "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
2768     "comments": "",\r
2769     "outputs": 1,\r
2770     "x": 3916.216827392578,\r
2771     "y": 2167.883331298828,\r
2772     "z": "1854297c.6f0f4f",\r
2773     "wires": [\r
2774       [\r
2775         "47b31581.268b0c",\r
2776         "43867bdb.1b0d54",\r
2777         "bbdefe01.0e663"\r
2778       ]\r
2779     ]\r
2780   },\r
2781   {\r
2782     "id": "47b31581.268b0c",\r
2783     "type": "success",\r
2784     "name": "success",\r
2785     "xml": "<outcome value='success'>\n",\r
2786     "comments": "",\r
2787     "outputs": 1,\r
2788     "x": 4111.716949462891,\r
2789     "y": 2119.883331298828,\r
2790     "z": "1854297c.6f0f4f",\r
2791     "wires": [\r
2792       [\r
2793         "bdcfd968.805c18"\r
2794       ]\r
2795     ]\r
2796   },\r
2797   {\r
2798     "id": "43867bdb.1b0d54",\r
2799     "type": "not-found",\r
2800     "name": "not-found",\r
2801     "xml": "<outcome value='not-found'>\n",\r
2802     "comments": "",\r
2803     "outputs": 1,\r
2804     "x": 4103.716949462891,\r
2805     "y": 2174.883331298828,\r
2806     "z": "1854297c.6f0f4f",\r
2807     "wires": [\r
2808       [\r
2809         "a95a4d5b.d3114"\r
2810       ]\r
2811     ]\r
2812   },\r
2813   {\r
2814     "id": "bbdefe01.0e663",\r
2815     "type": "other",\r
2816     "name": "other",\r
2817     "xml": "<outcome value='Other'>\n",\r
2818     "comments": "",\r
2819     "outputs": 1,\r
2820     "x": 4108.716949462891,\r
2821     "y": 2231.883331298828,\r
2822     "z": "1854297c.6f0f4f",\r
2823     "wires": [\r
2824       [\r
2825         "64398d6f.e5c684"\r
2826       ]\r
2827     ]\r
2828   },\r
2829   {\r
2830     "id": "64398d6f.e5c684",\r
2831     "type": "returnFailure",\r
2832     "name": "return failure",\r
2833     "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
2834     "comments": "",\r
2835     "x": 4260.716949462891,\r
2836     "y": 2232.883331298828,\r
2837     "z": "1854297c.6f0f4f",\r
2838     "wires": []\r
2839   },\r
2840   {\r
2841     "id": "a95a4d5b.d3114",\r
2842     "type": "returnFailure",\r
2843     "name": "return failure",\r
2844     "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
2845     "comments": "",\r
2846     "x": 4271.716949462891,\r
2847     "y": 2177.883331298828,\r
2848     "z": "1854297c.6f0f4f",\r
2849     "wires": []\r
2850   },\r
2851   {\r
2852     "id": "bdcfd968.805c18",\r
2853     "type": "block",\r
2854     "name": "block",\r
2855     "xml": "<block>\n",\r
2856     "atomic": "false",\r
2857     "comments": "",\r
2858     "outputs": 1,\r
2859     "x": 4256.099273681641,\r
2860     "y": 2117.5390014648438,\r
2861     "z": "1854297c.6f0f4f",\r
2862     "wires": [\r
2863       [\r
2864         "6d52f6e9.bcbf28"\r
2865       ]\r
2866     ]\r
2867   },\r
2868   {\r
2869     "id": "64140131.87f6a",\r
2870     "type": "set",\r
2871     "name": "set ltpId",\r
2872     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2873     "comments": "",\r
2874     "x": 4556.216827392578,\r
2875     "y": 2335.8834533691406,\r
2876     "z": "1854297c.6f0f4f",\r
2877     "wires": []\r
2878   },\r
2879   {\r
2880     "id": "d9669ac1.5a2d68",\r
2881     "type": "set",\r
2882     "name": "set pnf-name",\r
2883     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2884     "comments": "",\r
2885     "x": 4557.216827392578,\r
2886     "y": 2440.8834533691406,\r
2887     "z": "1854297c.6f0f4f",\r
2888     "wires": []\r
2889   },\r
2890   {\r
2891     "id": "9ddf3bf9.57ff3",\r
2892     "type": "comment",\r
2893     "name": "TODO: FIXME",\r
2894     "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
2895     "comments": "",\r
2896     "x": 4552.216827392578,\r
2897     "y": 2389.8834533691406,\r
2898     "z": "1854297c.6f0f4f",\r
2899     "wires": []\r
2900   },\r
2901   {\r
2902     "id": "240f5a27.c1a7a6",\r
2903     "type": "block",\r
2904     "name": "block : atomic",\r
2905     "xml": "<block atomic=\"true\">",\r
2906     "atomic": "true",\r
2907     "outputs": 1,\r
2908     "x": 4587.334014892578,\r
2909     "y": 2720.2237854003906,\r
2910     "z": "1854297c.6f0f4f",\r
2911     "wires": [\r
2912       [\r
2913         "801a071e.c98f98",\r
2914         "45d249d1.4a712",\r
2915         "37813776.11957"\r
2916       ]\r
2917     ]\r
2918   },\r
2919   {\r
2920     "id": "801a071e.c98f98",\r
2921     "type": "set",\r
2922     "name": "set destination ttp-id",\r
2923     "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
2924     "comments": "",\r
2925     "x": 4802.334014892578,\r
2926     "y": 2682.2237854003906,\r
2927     "z": "1854297c.6f0f4f",\r
2928     "wires": []\r
2929   },\r
2930   {\r
2931     "id": "45d249d1.4a712",\r
2932     "type": "get-resource",\r
2933     "name": "get-resource src TTP",\r
2934     "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
2935     "comments": "",\r
2936     "outputs": 1,\r
2937     "x": 4799.334014892578,\r
2938     "y": 2721.2237854003906,\r
2939     "z": "1854297c.6f0f4f",\r
2940     "wires": [\r
2941       [\r
2942         "d7c43050.0743b"\r
2943       ]\r
2944     ]\r
2945   },\r
2946   {\r
2947     "id": "37813776.11957",\r
2948     "type": "break",\r
2949     "name": "break",\r
2950     "xml": "<break>\n",\r
2951     "comments": "",\r
2952     "x": 4754.834014892578,\r
2953     "y": 2763.2237854003906,\r
2954     "z": "1854297c.6f0f4f",\r
2955     "wires": []\r
2956   },\r
2957   {\r
2958     "id": "d7c43050.0743b",\r
2959     "type": "success",\r
2960     "name": "success",\r
2961     "xml": "<outcome value='success'>\n",\r
2962     "comments": "",\r
2963     "outputs": 1,\r
2964     "x": 4979.834014892578,\r
2965     "y": 2720.2237854003906,\r
2966     "z": "1854297c.6f0f4f",\r
2967     "wires": [\r
2968       [\r
2969         "161c6e5f.bccb42"\r
2970       ]\r
2971     ]\r
2972   },\r
2973   {\r
2974     "id": "161c6e5f.bccb42",\r
2975     "type": "block",\r
2976     "name": "block : atomic",\r
2977     "xml": "<block atomic=\"true\">",\r
2978     "atomic": "true",\r
2979     "outputs": 1,\r
2980     "x": 5137.834014892578,\r
2981     "y": 2720.2237854003906,\r
2982     "z": "1854297c.6f0f4f",\r
2983     "wires": [\r
2984       [\r
2985         "268de5ce.943522"\r
2986       ]\r
2987     ]\r
2988   },\r
2989   {\r
2990     "id": "268de5ce.943522",\r
2991     "type": "set",\r
2992     "name": "set destination tunnel tp ip",\r
2993     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2994     "comments": "",\r
2995     "x": 5344.834014892578,\r
2996     "y": 2720.2237854003906,\r
2997     "z": "1854297c.6f0f4f",\r
2998     "wires": []\r
2999   },\r
3000   {\r
3001     "id": "5dd066fb.8bb21",\r
3002     "type": "outcome",\r
3003     "name": "esr-thirdparty-sdnc",\r
3004     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
3005     "comments": "",\r
3006     "outputs": 1,\r
3007     "x": 4838.216827392578,\r
3008     "y": 2135.883331298828,\r
3009     "z": "1854297c.6f0f4f",\r
3010     "wires": [\r
3011       [\r
3012         "4dd18012.7f83e"\r
3013       ]\r
3014     ]\r
3015   },\r
3016   {\r
3017     "id": "4dd18012.7f83e",\r
3018     "type": "block",\r
3019     "name": "block : atomic",\r
3020     "xml": "<block atomic=\"true\">",\r
3021     "atomic": "true",\r
3022     "outputs": 1,\r
3023     "x": 5015.216827392578,\r
3024     "y": 2127.883331298828,\r
3025     "z": "1854297c.6f0f4f",\r
3026     "wires": [\r
3027       [\r
3028         "cb357072.40504",\r
3029         "41f4620d.06ac64"\r
3030       ]\r
3031     ]\r
3032   },\r
3033   {\r
3034     "id": "6d52f6e9.bcbf28",\r
3035     "type": "for",\r
3036     "name": "for each relationship",\r
3037     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
3038     "comments": "",\r
3039     "outputs": 1,\r
3040     "x": 4440.216827392578,\r
3041     "y": 2131.883331298828,\r
3042     "z": "1854297c.6f0f4f",\r
3043     "wires": [\r
3044       [\r
3045         "1558a590.3c3faa"\r
3046       ]\r
3047     ]\r
3048   },\r
3049   {\r
3050     "id": "1558a590.3c3faa",\r
3051     "type": "switchNode",\r
3052     "name": "switch related-to",\r
3053     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
3054     "comments": "",\r
3055     "outputs": 1,\r
3056     "x": 4635.216827392578,\r
3057     "y": 2131.883331298828,\r
3058     "z": "1854297c.6f0f4f",\r
3059     "wires": [\r
3060       [\r
3061         "5dd066fb.8bb21",\r
3062         "a026e3da.a47c68"\r
3063       ]\r
3064     ]\r
3065   },\r
3066   {\r
3067     "id": "41f4620d.06ac64",\r
3068     "type": "execute",\r
3069     "name": "get esr-thirdparty-sdnc",\r
3070     "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
3071     "comments": "",\r
3072     "outputs": 1,\r
3073     "x": 5223.216827392578,\r
3074     "y": 2134.883331298828,\r
3075     "z": "1854297c.6f0f4f",\r
3076     "wires": [\r
3077       [\r
3078         "304be603.33560a",\r
3079         "7b7d3ebe.8d439",\r
3080         "4d809924.5591a8"\r
3081       ]\r
3082     ]\r
3083   },\r
3084   {\r
3085     "id": "e13819fd.c513e8",\r
3086     "type": "block",\r
3087     "name": "block : atomic",\r
3088     "xml": "<block atomic=\"true\">",\r
3089     "atomic": "true",\r
3090     "outputs": 1,\r
3091     "x": 5017.216827392578,\r
3092     "y": 2200.883331298828,\r
3093     "z": "1854297c.6f0f4f",\r
3094     "wires": [\r
3095       [\r
3096         "b46e83ff.b91008"\r
3097       ]\r
3098     ]\r
3099   },\r
3100   {\r
3101     "id": "a026e3da.a47c68",\r
3102     "type": "outcome",\r
3103     "name": "network-resource",\r
3104     "xml": "<outcome value='network-resource'>",\r
3105     "comments": "",\r
3106     "outputs": 1,\r
3107     "x": 4840.216827392578,\r
3108     "y": 2208.883331298828,\r
3109     "z": "1854297c.6f0f4f",\r
3110     "wires": [\r
3111       [\r
3112         "e13819fd.c513e8"\r
3113       ]\r
3114     ]\r
3115   },\r
3116   {\r
3117     "id": "cb357072.40504",\r
3118     "type": "set",\r
3119     "name": "set esr-thirdparty-sdnc domainB id",\r
3120     "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
3121     "comments": "",\r
3122     "x": 5253.216827392578,\r
3123     "y": 2082.883331298828,\r
3124     "z": "1854297c.6f0f4f",\r
3125     "wires": []\r
3126   },\r
3127   {\r
3128     "id": "b46e83ff.b91008",\r
3129     "type": "set",\r
3130     "name": "set domainB ethernet layer network-id",\r
3131     "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
3132     "comments": "",\r
3133     "x": 5252.216827392578,\r
3134     "y": 2324.883331298828,\r
3135     "z": "1854297c.6f0f4f",\r
3136     "wires": []\r
3137   },\r
3138   {\r
3139     "id": "304be603.33560a",\r
3140     "type": "success",\r
3141     "name": "success",\r
3142     "xml": "<outcome value='success'>\n",\r
3143     "comments": "",\r
3144     "outputs": 1,\r
3145     "x": 5433.216827392578,\r
3146     "y": 2125.883331298828,\r
3147     "z": "1854297c.6f0f4f",\r
3148     "wires": [\r
3149       [\r
3150         "d9386700.ef3558"\r
3151       ]\r
3152     ]\r
3153   },\r
3154   {\r
3155     "id": "7b7d3ebe.8d439",\r
3156     "type": "not-found",\r
3157     "name": "not-found",\r
3158     "xml": "<outcome value='not-found'>\n",\r
3159     "comments": "",\r
3160     "outputs": 1,\r
3161     "x": 5425.216827392578,\r
3162     "y": 2180.883331298828,\r
3163     "z": "1854297c.6f0f4f",\r
3164     "wires": [\r
3165       [\r
3166         "b1a122b9.2b3df"\r
3167       ]\r
3168     ]\r
3169   },\r
3170   {\r
3171     "id": "4d809924.5591a8",\r
3172     "type": "other",\r
3173     "name": "other",\r
3174     "xml": "<outcome value='Other'>\n",\r
3175     "comments": "",\r
3176     "outputs": 1,\r
3177     "x": 5430.216827392578,\r
3178     "y": 2237.883331298828,\r
3179     "z": "1854297c.6f0f4f",\r
3180     "wires": [\r
3181       [\r
3182         "7206a51a.368f14"\r
3183       ]\r
3184     ]\r
3185   },\r
3186   {\r
3187     "id": "7206a51a.368f14",\r
3188     "type": "returnFailure",\r
3189     "name": "return failure",\r
3190     "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
3191     "comments": "",\r
3192     "x": 5582.216827392578,\r
3193     "y": 2238.883331298828,\r
3194     "z": "1854297c.6f0f4f",\r
3195     "wires": []\r
3196   },\r
3197   {\r
3198     "id": "b1a122b9.2b3df",\r
3199     "type": "returnFailure",\r
3200     "name": "return failure",\r
3201     "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
3202     "comments": "",\r
3203     "x": 5593.216827392578,\r
3204     "y": 2183.883331298828,\r
3205     "z": "1854297c.6f0f4f",\r
3206     "wires": []\r
3207   },\r
3208   {\r
3209     "id": "d9386700.ef3558",\r
3210     "type": "block",\r
3211     "name": "block",\r
3212     "xml": "<block>\n",\r
3213     "atomic": "false",\r
3214     "comments": "",\r
3215     "outputs": 1,\r
3216     "x": 5577.599151611328,\r
3217     "y": 2123.5390014648438,\r
3218     "z": "1854297c.6f0f4f",\r
3219     "wires": [\r
3220       [\r
3221         "c475367c.4940f8"\r
3222       ]\r
3223     ]\r
3224   },\r
3225   {\r
3226     "id": "c475367c.4940f8",\r
3227     "type": "set",\r
3228     "name": "set controller domainB data",\r
3229     "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
3230     "comments": "",\r
3231     "x": 5792.216827392578,\r
3232     "y": 2119.883331298828,\r
3233     "z": "1854297c.6f0f4f",\r
3234     "wires": []\r
3235   },\r
3236   {\r
3237     "id": "6b01ec04.e8e8dc",\r
3238     "type": "set",\r
3239     "name": "set LEAF stuff",\r
3240     "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
3241     "comments": "",\r
3242     "x": 3290.883331298828,\r
3243     "y": 1729.8833312988281,\r
3244     "z": "1854297c.6f0f4f",\r
3245     "wires": []\r
3246   },\r
3247   {\r
3248     "id": "6404a595.2767cc",\r
3249     "type": "comment",\r
3250     "name": "This is it (should be)",\r
3251     "info": "",\r
3252     "comments": "",\r
3253     "x": 4512.883331298828,\r
3254     "y": 1012.8833312988281,\r
3255     "z": "1854297c.6f0f4f",\r
3256     "wires": []\r
3257   },\r
3258   {\r
3259     "id": "fdf288f5.399238",\r
3260     "type": "comment",\r
3261     "name": "This is it (should be)",\r
3262     "info": "",\r
3263     "comments": "",\r
3264     "x": 4504.883331298828,\r
3265     "y": 1102.8833312988281,\r
3266     "z": "1854297c.6f0f4f",\r
3267     "wires": []\r
3268   },\r
3269   {\r
3270     "id": "ce90c6ec.193398",\r
3271     "type": "set",\r
3272     "name": "set ROOT stuff",\r
3273     "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
3274     "comments": "",\r
3275     "x": 3271.883331298828,\r
3276     "y": 2585.883331298828,\r
3277     "z": "1854297c.6f0f4f",\r
3278     "wires": []\r
3279   },\r
3280   {\r
3281     "id": "323cec2c.88d45c",\r
3282     "type": "call",\r
3283     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
3284     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
3285     "comments": "",\r
3286     "outputs": 1,\r
3287     "x": 3422.883331298828,\r
3288     "y": 2833.883331298828,\r
3289     "z": "1854297c.6f0f4f",\r
3290     "wires": [\r
3291       []\r
3292     ]\r
3293   },\r
3294   {\r
3295     "id": "fba2883c.72d2",\r
3296     "type": "switchNode",\r
3297     "name": "switch found-middle-man?",\r
3298     "xml": "<switch test='`$found-middle-man`'>\n",\r
3299     "comments": "",\r
3300     "outputs": 1,\r
3301     "x": 3299.883331298828,\r
3302     "y": 2943.883331298828,\r
3303     "z": "1854297c.6f0f4f",\r
3304     "wires": [\r
3305       [\r
3306         "b06a53c9.6a23c",\r
3307         "52a66ca0.57e87c"\r
3308       ]\r
3309     ]\r
3310   },\r
3311   {\r
3312     "id": "b06a53c9.6a23c",\r
3313     "type": "outcomeFalse",\r
3314     "name": "false",\r
3315     "xml": "<outcome value='false'>\n",\r
3316     "comments": "",\r
3317     "outputs": 1,\r
3318     "x": 3483.883331298828,\r
3319     "y": 2922.883331298828,\r
3320     "z": "1854297c.6f0f4f",\r
3321     "wires": [\r
3322       [\r
3323         "d4c9f2dc.11912"\r
3324       ]\r
3325     ]\r
3326   },\r
3327   {\r
3328     "id": "52a66ca0.57e87c",\r
3329     "type": "outcomeTrue",\r
3330     "name": "true",\r
3331     "xml": "<outcome value='true'>\n",\r
3332     "comments": "",\r
3333     "outputs": 1,\r
3334     "x": 3019.883331298828,\r
3335     "y": 4508.883331298828,\r
3336     "z": "1854297c.6f0f4f",\r
3337     "wires": [\r
3338       [\r
3339         "7ebd19ad.940af8"\r
3340       ]\r
3341     ]\r
3342   },\r
3343   {\r
3344     "id": "d74b6b50.22dd88",\r
3345     "type": "block",\r
3346     "name": "block : atomic",\r
3347     "xml": "<block atomic='true'>",\r
3348     "atomic": "true",\r
3349     "comments": "",\r
3350     "outputs": 1,\r
3351     "x": 3530.883331298828,\r
3352     "y": 5093.883331298828,\r
3353     "z": "1854297c.6f0f4f",\r
3354     "wires": [\r
3355       [\r
3356         "b3935092.c652b8",\r
3357         "28b03e50.9f7992",\r
3358         "980b4828.96504",\r
3359         "17af28da.ceda4f",\r
3360         "2c43e5ee.399d8a"\r
3361       ]\r
3362     ]\r
3363   },\r
3364   {\r
3365     "id": "d4c9f2dc.11912",\r
3366     "type": "block",\r
3367     "name": "block : atomic",\r
3368     "xml": "<block atomic='true'>",\r
3369     "atomic": "true",\r
3370     "comments": "",\r
3371     "outputs": 1,\r
3372     "x": 6602.883331298828,\r
3373     "y": 2952.883331298828,\r
3374     "z": "1854297c.6f0f4f",\r
3375     "wires": [\r
3376       [\r
3377         "1d7e1faa.548828",\r
3378         "85f258da.5f0598",\r
3379         "4b074654.080e5",\r
3380         "5d8ffada.d10fc4",\r
3381         "ea403b0c.aaf7e",\r
3382         "1235d80a.544f18",\r
3383         "af33968a.8315c",\r
3384         "9cfe0ae9.258d58",\r
3385         "65dbbd5b.a49b4c",\r
3386         "1d15547d.10576c",\r
3387         "89a6c1ea.eb5688",\r
3388         "2f9ad2ef.1013a6",\r
3389         "a5dc8f9.8a79df",\r
3390         "e38bf422.7c8768",\r
3391         "43d0f5c9.60220c",\r
3392         "2b09e0eb.8326d",\r
3393         "1698c025.c5ee78",\r
3394         "1d008796.234d18",\r
3395         "76e889a9.7e8db8"\r
3396       ]\r
3397     ]\r
3398   },\r
3399   {\r
3400     "id": "65dbbd5b.a49b4c",\r
3401     "type": "execute",\r
3402     "name": "execute UUID generator for connectivity domainB",\r
3403     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
3404     "comments": "",\r
3405     "outputs": 1,\r
3406     "x": 6913.883331298828,\r
3407     "y": 3307.883331298828,\r
3408     "z": "1854297c.6f0f4f",\r
3409     "wires": [\r
3410       []\r
3411     ]\r
3412   },\r
3413   {\r
3414     "id": "1d7e1faa.548828",\r
3415     "type": "save",\r
3416     "name": "save connectivity resource in AAI",\r
3417     "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
3418     "comments": "",\r
3419     "outputs": 1,\r
3420     "x": 6867.883331298828,\r
3421     "y": 3405.883331298828,\r
3422     "z": "1854297c.6f0f4f",\r
3423     "wires": [\r
3424       []\r
3425     ]\r
3426   },\r
3427   {\r
3428     "id": "85f258da.5f0598",\r
3429     "type": "save",\r
3430     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3431     "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
3432     "comments": "",\r
3433     "outputs": 1,\r
3434     "x": 7003.883331298828,\r
3435     "y": 3452.883331298828,\r
3436     "z": "1854297c.6f0f4f",\r
3437     "wires": [\r
3438       []\r
3439     ]\r
3440   },\r
3441   {\r
3442     "id": "7c12d148.f08d78",\r
3443     "type": "comment",\r
3444     "name": "Create ROOT connectivity",\r
3445     "info": "",\r
3446     "comments": "",\r
3447     "x": 6834.883331298828,\r
3448     "y": 3256.883331298828,\r
3449     "z": "1854297c.6f0f4f",\r
3450     "wires": []\r
3451   },\r
3452   {\r
3453     "id": "8342cd90.5a2f6",\r
3454     "type": "comment",\r
3455     "name": "create middle man connectivity and ...",\r
3456     "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
3457     "comments": "",\r
3458     "x": 7360.883331298828,\r
3459     "y": 3747.883331298828,\r
3460     "z": "1854297c.6f0f4f",\r
3461     "wires": []\r
3462   },\r
3463   {\r
3464     "id": "4b074654.080e5",\r
3465     "type": "execute",\r
3466     "name": "execute UUID generator for connectivity middle-man",\r
3467     "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
3468     "comments": "",\r
3469     "outputs": 1,\r
3470     "x": 6924.883331298828,\r
3471     "y": 3786.883331298828,\r
3472     "z": "1854297c.6f0f4f",\r
3473     "wires": [\r
3474       []\r
3475     ]\r
3476   },\r
3477   {\r
3478     "id": "5d8ffada.d10fc4",\r
3479     "type": "save",\r
3480     "name": "save connectivity resource in AAI",\r
3481     "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
3482     "comments": "",\r
3483     "outputs": 1,\r
3484     "x": 6872.883331298828,\r
3485     "y": 3837.883331298828,\r
3486     "z": "1854297c.6f0f4f",\r
3487     "wires": [\r
3488       []\r
3489     ]\r
3490   },\r
3491   {\r
3492     "id": "ea403b0c.aaf7e",\r
3493     "type": "save",\r
3494     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3495     "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
3496     "comments": "",\r
3497     "outputs": 1,\r
3498     "x": 7008.883331298828,\r
3499     "y": 3884.883331298828,\r
3500     "z": "1854297c.6f0f4f",\r
3501     "wires": [\r
3502       []\r
3503     ]\r
3504   },\r
3505   {\r
3506     "id": "18aaa2dc.b37a3d",\r
3507     "type": "comment",\r
3508     "name": "Create MIDDLE-MAN connectivity",\r
3509     "info": "",\r
3510     "comments": "",\r
3511     "x": 6865.883331298828,\r
3512     "y": 3746.883331298828,\r
3513     "z": "1854297c.6f0f4f",\r
3514     "wires": []\r
3515   },\r
3516   {\r
3517     "id": "b8a58f62.fd6f68",\r
3518     "type": "block",\r
3519     "name": "block : atomic",\r
3520     "xml": "<block atomic='true'>",\r
3521     "atomic": "true",\r
3522     "comments": "",\r
3523     "outputs": 1,\r
3524     "x": 7295.883331298828,\r
3525     "y": 3943.883331298828,\r
3526     "z": "1854297c.6f0f4f",\r
3527     "wires": [\r
3528       []\r
3529     ]\r
3530   },\r
3531   {\r
3532     "id": "1235d80a.544f18",\r
3533     "type": "save",\r
3534     "name": "get middle-man connectivity from aai",\r
3535     "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
3536     "comments": "",\r
3537     "outputs": 1,\r
3538     "x": 6886.883331298828,\r
3539     "y": 3990.883331298828,\r
3540     "z": "1854297c.6f0f4f",\r
3541     "wires": [\r
3542       [\r
3543         "caaa8d0a.a400c",\r
3544         "ba918a95.063018",\r
3545         "73076382.d5d394"\r
3546       ]\r
3547     ]\r
3548   },\r
3549   {\r
3550     "id": "caaa8d0a.a400c",\r
3551     "type": "success",\r
3552     "name": "success",\r
3553     "xml": "<outcome value='success'>\n",\r
3554     "comments": "",\r
3555     "outputs": 1,\r
3556     "x": 7133.883331298828,\r
3557     "y": 3944.883331298828,\r
3558     "z": "1854297c.6f0f4f",\r
3559     "wires": [\r
3560       [\r
3561         "b8a58f62.fd6f68"\r
3562       ]\r
3563     ]\r
3564   },\r
3565   {\r
3566     "id": "ba918a95.063018",\r
3567     "type": "not-found",\r
3568     "name": "not-found",\r
3569     "xml": "<outcome value='not-found'>\n",\r
3570     "comments": "",\r
3571     "outputs": 1,\r
3572     "x": 7134.374298095703,\r
3573     "y": 3990.4573669433594,\r
3574     "z": "1854297c.6f0f4f",\r
3575     "wires": [\r
3576       [\r
3577         "70335d13.df0d4c"\r
3578       ]\r
3579     ]\r
3580   },\r
3581   {\r
3582     "id": "73076382.d5d394",\r
3583     "type": "failure",\r
3584     "name": "failure",\r
3585     "xml": "<outcome value='failure'>\n",\r
3586     "comments": "",\r
3587     "outputs": 1,\r
3588     "x": 7131.883331298828,\r
3589     "y": 4033.883331298828,\r
3590     "z": "1854297c.6f0f4f",\r
3591     "wires": [\r
3592       [\r
3593         "3d4cb88b.ddae8"\r
3594       ]\r
3595     ]\r
3596   },\r
3597   {\r
3598     "id": "70335d13.df0d4c",\r
3599     "type": "returnFailure",\r
3600     "name": "return failure",\r
3601     "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
3602     "comments": "",\r
3603     "x": 7296.945709228516,\r
3604     "y": 3990.7431030273438,\r
3605     "z": "1854297c.6f0f4f",\r
3606     "wires": []\r
3607   },\r
3608   {\r
3609     "id": "3d4cb88b.ddae8",\r
3610     "type": "returnFailure",\r
3611     "name": "return failure",\r
3612     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3613     "comments": "",\r
3614     "x": 7300.883331298828,\r
3615     "y": 4034.883331298828,\r
3616     "z": "1854297c.6f0f4f",\r
3617     "wires": []\r
3618   },\r
3619   {\r
3620     "id": "43d0f5c9.60220c",\r
3621     "type": "save",\r
3622     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
3623     "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
3624     "comments": "",\r
3625     "outputs": 1,\r
3626     "x": 6943.883331298828,\r
3627     "y": 4269.883331298828,\r
3628     "z": "1854297c.6f0f4f",\r
3629     "wires": [\r
3630       []\r
3631     ]\r
3632   },\r
3633   {\r
3634     "id": "2b09e0eb.8326d",\r
3635     "type": "save",\r
3636     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
3637     "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
3638     "comments": "",\r
3639     "outputs": 1,\r
3640     "x": 6946.883331298828,\r
3641     "y": 4314.883331298828,\r
3642     "z": "1854297c.6f0f4f",\r
3643     "wires": [\r
3644       []\r
3645     ]\r
3646   },\r
3647   {\r
3648     "id": "1d008796.234d18",\r
3649     "type": "save",\r
3650     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3651     "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
3652     "comments": "",\r
3653     "outputs": 1,\r
3654     "x": 6935.883331298828,\r
3655     "y": 4105.883331298828,\r
3656     "z": "1854297c.6f0f4f",\r
3657     "wires": [\r
3658       []\r
3659     ]\r
3660   },\r
3661   {\r
3662     "id": "76e889a9.7e8db8",\r
3663     "type": "save",\r
3664     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
3665     "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
3666     "comments": "",\r
3667     "outputs": 1,\r
3668     "x": 6937.883331298828,\r
3669     "y": 4152.883331298828,\r
3670     "z": "1854297c.6f0f4f",\r
3671     "wires": [\r
3672       []\r
3673     ]\r
3674   },\r
3675   {\r
3676     "id": "2304ec84.74d9f4",\r
3677     "type": "comment",\r
3678     "name": "The following two will be done in F1",\r
3679     "info": "",\r
3680     "comments": "",\r
3681     "x": 6859.883331298828,\r
3682     "y": 4222.883331298828,\r
3683     "z": "1854297c.6f0f4f",\r
3684     "wires": []\r
3685   },\r
3686   {\r
3687     "id": "175b5cd1.9f40e3",\r
3688     "type": "save",\r
3689     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3690     "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
3691     "comments": "",\r
3692     "outputs": 1,\r
3693     "x": 4489.883087158203,\r
3694     "y": 5373.883331298828,\r
3695     "z": "1854297c.6f0f4f",\r
3696     "wires": [\r
3697       []\r
3698     ]\r
3699   },\r
3700   {\r
3701     "id": "b3935092.c652b8",\r
3702     "type": "switchNode",\r
3703     "name": "switch no-pce-call",\r
3704     "xml": "<switch test='`$no-pce-call`'>\n",\r
3705     "comments": "",\r
3706     "outputs": 1,\r
3707     "x": 3745.883331298828,\r
3708     "y": 5074.883331298828,\r
3709     "z": "1854297c.6f0f4f",\r
3710     "wires": [\r
3711       [\r
3712         "b8e9bffb.cdc88",\r
3713         "256198d1.5f7cf8"\r
3714       ]\r
3715     ]\r
3716   },\r
3717   {\r
3718     "id": "256198d1.5f7cf8",\r
3719     "type": "outcomeFalse",\r
3720     "name": "false",\r
3721     "xml": "<outcome value='false'>\n",\r
3722     "comments": "",\r
3723     "outputs": 1,\r
3724     "x": 3917.883331298828,\r
3725     "y": 5071.883331298828,\r
3726     "z": "1854297c.6f0f4f",\r
3727     "wires": [\r
3728       [\r
3729         "30a42efe.828c8a"\r
3730       ]\r
3731     ]\r
3732   },\r
3733   {\r
3734     "id": "b8e9bffb.cdc88",\r
3735     "type": "outcomeFalse",\r
3736     "name": "true",\r
3737     "xml": "<outcome value='true'>\n",\r
3738     "comments": "",\r
3739     "outputs": 1,\r
3740     "x": 3869.883331298828,\r
3741     "y": 5918.883331298828,\r
3742     "z": "1854297c.6f0f4f",\r
3743     "wires": [\r
3744       [\r
3745         "2ed5b6b9.722642"\r
3746       ]\r
3747     ]\r
3748   },\r
3749   {\r
3750     "id": "9dc6e8a7.9c1158",\r
3751     "type": "comment",\r
3752     "name": "1 --> PCE is needed",\r
3753     "info": "",\r
3754     "comments": "",\r
3755     "x": 3930.883331298828,\r
3756     "y": 5041.883331298828,\r
3757     "z": "1854297c.6f0f4f",\r
3758     "wires": []\r
3759   },\r
3760   {\r
3761     "id": "e1ff48b3.343b9",\r
3762     "type": "comment",\r
3763     "name": "2 --> no need to call PCE",\r
3764     "info": "",\r
3765     "comments": "",\r
3766     "x": 3940.883331298828,\r
3767     "y": 5876.883331298828,\r
3768     "z": "1854297c.6f0f4f",\r
3769     "wires": []\r
3770   },\r
3771   {\r
3772     "id": "af33968a.8315c",\r
3773     "type": "call",\r
3774     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3775     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3776     "comments": "",\r
3777     "outputs": 1,\r
3778     "x": 6943.883331298828,\r
3779     "y": 4378.883331298828,\r
3780     "z": "1854297c.6f0f4f",\r
3781     "wires": [\r
3782       []\r
3783     ]\r
3784   },\r
3785   {\r
3786     "id": "30a42efe.828c8a",\r
3787     "type": "block",\r
3788     "name": "block : atomic",\r
3789     "xml": "<block atomic='true'>",\r
3790     "atomic": "true",\r
3791     "comments": "",\r
3792     "outputs": 1,\r
3793     "x": 4093.883331298828,\r
3794     "y": 5073.883331298828,\r
3795     "z": "1854297c.6f0f4f",\r
3796     "wires": [\r
3797       [\r
3798         "2892dc09.31fadc",\r
3799         "afa31c79.54acd8",\r
3800         "e8807ba5.c313d8",\r
3801         "f07ffbda.6acb28",\r
3802         "78d94074.f38b7",\r
3803         "95bef4a8.5a7ff8",\r
3804         "175b5cd1.9f40e3"\r
3805       ]\r
3806     ]\r
3807   },\r
3808   {\r
3809     "id": "d52f0d8d.4208d8",\r
3810     "type": "comment",\r
3811     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
3812     "info": "",\r
3813     "comments": "",\r
3814     "x": 5537.883087158203,\r
3815     "y": 4998.883331298828,\r
3816     "z": "1854297c.6f0f4f",\r
3817     "wires": []\r
3818   },\r
3819   {\r
3820     "id": "2892dc09.31fadc",\r
3821     "type": "call",\r
3822     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3823     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3824     "comments": "",\r
3825     "outputs": 1,\r
3826     "x": 4484.883087158203,\r
3827     "y": 5676.883331298828,\r
3828     "z": "1854297c.6f0f4f",\r
3829     "wires": [\r
3830       []\r
3831     ]\r
3832   },\r
3833   {\r
3834     "id": "9cfe0ae9.258d58",\r
3835     "type": "save",\r
3836     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
3837     "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
3838     "comments": "",\r
3839     "outputs": 1,\r
3840     "x": 6919.883331298828,\r
3841     "y": 3646.883331298828,\r
3842     "z": "1854297c.6f0f4f",\r
3843     "wires": [\r
3844       []\r
3845     ]\r
3846   },\r
3847   {\r
3848     "id": "753d3ee1.bef8a",\r
3849     "type": "save",\r
3850     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3851     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainA-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.LEAF.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.LEAF.uni-p-interface-long`\" />",\r
3852     "comments": "",\r
3853     "outputs": 1,\r
3854     "x": 3403.883331298828,\r
3855     "y": 1835.8833312988281,\r
3856     "z": "1854297c.6f0f4f",\r
3857     "wires": [\r
3858       []\r
3859     ]\r
3860   },\r
3861   {\r
3862     "id": "564c1334.4c1554",\r
3863     "type": "save",\r
3864     "name": "save LEAF UNI in AAI",\r
3865     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-p-interface-short`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n",\r
3866     "comments": "",\r
3867     "outputs": 1,\r
3868     "x": 3310.883331298828,\r
3869     "y": 1782.8833312988281,\r
3870     "z": "1854297c.6f0f4f",\r
3871     "wires": [\r
3872       []\r
3873     ]\r
3874   },\r
3875   {\r
3876     "id": "514b6193.3ff5b",\r
3877     "type": "set",\r
3878     "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
3879     "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
3880     "comments": "",\r
3881     "x": 6969.883331298828,\r
3882     "y": 3349.883331298828,\r
3883     "z": "1854297c.6f0f4f",\r
3884     "wires": []\r
3885   },\r
3886   {\r
3887     "id": "1d15547d.10576c",\r
3888     "type": "execute",\r
3889     "name": "execute UUID generator for connectivity domainA",\r
3890     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3891     "comments": "",\r
3892     "outputs": 1,\r
3893     "x": 6916.883331298828,\r
3894     "y": 2937.883331298828,\r
3895     "z": "1854297c.6f0f4f",\r
3896     "wires": [\r
3897       []\r
3898     ]\r
3899   },\r
3900   {\r
3901     "id": "89a6c1ea.eb5688",\r
3902     "type": "save",\r
3903     "name": "save connectivity resource in AAI",\r
3904     "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
3905     "comments": "",\r
3906     "outputs": 1,\r
3907     "x": 6864.883331298828,\r
3908     "y": 2985.883331298828,\r
3909     "z": "1854297c.6f0f4f",\r
3910     "wires": [\r
3911       []\r
3912     ]\r
3913   },\r
3914   {\r
3915     "id": "2f9ad2ef.1013a6",\r
3916     "type": "save",\r
3917     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3918     "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
3919     "comments": "",\r
3920     "outputs": 1,\r
3921     "x": 6992.883331298828,\r
3922     "y": 3032.883331298828,\r
3923     "z": "1854297c.6f0f4f",\r
3924     "wires": [\r
3925       []\r
3926     ]\r
3927   },\r
3928   {\r
3929     "id": "baf2c2db.c807d8",\r
3930     "type": "comment",\r
3931     "name": "Create LEAF connectivity",\r
3932     "info": "",\r
3933     "comments": "",\r
3934     "x": 6829.883331298828,\r
3935     "y": 2895.883331298828,\r
3936     "z": "1854297c.6f0f4f",\r
3937     "wires": []\r
3938   },\r
3939   {\r
3940     "id": "a5dc8f9.8a79df",\r
3941     "type": "save",\r
3942     "name": "save LEAF UNI in AAI",\r
3943     "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
3944     "comments": "",\r
3945     "outputs": 1,\r
3946     "x": 6826.883331298828,\r
3947     "y": 3123.883331298828,\r
3948     "z": "1854297c.6f0f4f",\r
3949     "wires": [\r
3950       []\r
3951     ]\r
3952   },\r
3953   {\r
3954     "id": "e38bf422.7c8768",\r
3955     "type": "save",\r
3956     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3957     "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
3958     "comments": "",\r
3959     "outputs": 1,\r
3960     "x": 6919.883331298828,\r
3961     "y": 3176.883331298828,\r
3962     "z": "1854297c.6f0f4f",\r
3963     "wires": [\r
3964       []\r
3965     ]\r
3966   },\r
3967   {\r
3968     "id": "5474c24a.9f6dac",\r
3969     "type": "comment",\r
3970     "name": "Create LEAF UNI",\r
3971     "info": "",\r
3972     "comments": "",\r
3973     "x": 6810.883331298828,\r
3974     "y": 3079.883331298828,\r
3975     "z": "1854297c.6f0f4f",\r
3976     "wires": []\r
3977   },\r
3978   {\r
3979     "id": "63adea28.503954",\r
3980     "type": "comment",\r
3981     "name": "Create ROOT UNI",\r
3982     "info": "",\r
3983     "comments": "",\r
3984     "x": 6816.883331298828,\r
3985     "y": 3529.883331298828,\r
3986     "z": "1854297c.6f0f4f",\r
3987     "wires": []\r
3988   },\r
3989   {\r
3990     "id": "f07ffbda.6acb28",\r
3991     "type": "save",\r
3992     "name": "save LEAF UNI in AAI",\r
3993     "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
3994     "comments": "",\r
3995     "outputs": 1,\r
3996     "x": 4406.883087158203,\r
3997     "y": 5006.883331298828,\r
3998     "z": "1854297c.6f0f4f",\r
3999     "wires": [\r
4000       []\r
4001     ]\r
4002   },\r
4003   {\r
4004     "id": "5623ebdb.1a4534",\r
4005     "type": "comment",\r
4006     "name": "Create LEAF UNI",\r
4007     "info": "",\r
4008     "comments": "",\r
4009     "x": 4390.883087158203,\r
4010     "y": 4962.883331298828,\r
4011     "z": "1854297c.6f0f4f",\r
4012     "wires": []\r
4013   },\r
4014   {\r
4015     "id": "4b470452.112d8c",\r
4016     "type": "comment",\r
4017     "name": "Create LEAF connectivity",\r
4018     "info": "",\r
4019     "comments": "",\r
4020     "x": 5137.883087158203,\r
4021     "y": 4993.883331298828,\r
4022     "z": "1854297c.6f0f4f",\r
4023     "wires": []\r
4024   },\r
4025   {\r
4026     "id": "effc1efd.4a1d3",\r
4027     "type": "execute",\r
4028     "name": "execute UUID generator for connectivity domainA",\r
4029     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
4030     "comments": "",\r
4031     "outputs": 1,\r
4032     "x": 5224.883087158203,\r
4033     "y": 5035.883331298828,\r
4034     "z": "1854297c.6f0f4f",\r
4035     "wires": [\r
4036       []\r
4037     ]\r
4038   },\r
4039   {\r
4040     "id": "5c8eea0c.68cc14",\r
4041     "type": "save",\r
4042     "name": "save connectivity resource in AAI",\r
4043     "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
4044     "comments": "",\r
4045     "outputs": 1,\r
4046     "x": 5172.883087158203,\r
4047     "y": 5083.883331298828,\r
4048     "z": "1854297c.6f0f4f",\r
4049     "wires": [\r
4050       []\r
4051     ]\r
4052   },\r
4053   {\r
4054     "id": "e7adda57.489d68",\r
4055     "type": "save",\r
4056     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
4057     "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
4058     "comments": "",\r
4059     "outputs": 1,\r
4060     "x": 5300.883087158203,\r
4061     "y": 5130.883331298828,\r
4062     "z": "1854297c.6f0f4f",\r
4063     "wires": [\r
4064       []\r
4065     ]\r
4066   },\r
4067   {\r
4068     "id": "95bef4a8.5a7ff8",\r
4069     "type": "save",\r
4070     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
4071     "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
4072     "comments": "",\r
4073     "outputs": 1,\r
4074     "x": 4477.883087158203,\r
4075     "y": 5415.883331298828,\r
4076     "z": "1854297c.6f0f4f",\r
4077     "wires": [\r
4078       []\r
4079     ]\r
4080   },\r
4081   {\r
4082     "id": "63c65355.a8cec4",\r
4083     "type": "comment",\r
4084     "name": "populate connectivity-B variable in the context map",\r
4085     "info": "",\r
4086     "comments": "",\r
4087     "x": 4460.883087158203,\r
4088     "y": 5477.883331298828,\r
4089     "z": "1854297c.6f0f4f",\r
4090     "wires": []\r
4091   },\r
4092   {\r
4093     "id": "afa31c79.54acd8",\r
4094     "type": "call",\r
4095     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4096     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4097     "comments": "",\r
4098     "outputs": 1,\r
4099     "x": 4571.883087158203,\r
4100     "y": 5519.883331298828,\r
4101     "z": "1854297c.6f0f4f",\r
4102     "wires": [\r
4103       []\r
4104     ]\r
4105   },\r
4106   {\r
4107     "id": "be0ea96a.8229",\r
4108     "type": "set",\r
4109     "name": "set prop.connectivity-domainB-uuid",\r
4110     "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
4111     "comments": "",\r
4112     "x": 5019.883087158203,\r
4113     "y": 5572.883331298828,\r
4114     "z": "1854297c.6f0f4f",\r
4115     "wires": []\r
4116   },\r
4117   {\r
4118     "id": "4ebf5b73.f18c34",\r
4119     "type": "save",\r
4120     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
4121     "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
4122     "comments": "",\r
4123     "outputs": 1,\r
4124     "x": 4329.883087158203,\r
4125     "y": 6270.883331298828,\r
4126     "z": "1854297c.6f0f4f",\r
4127     "wires": [\r
4128       []\r
4129     ]\r
4130   },\r
4131   {\r
4132     "id": "58b6c88a.c0b81",\r
4133     "type": "save",\r
4134     "name": "save LEAF UNI in AAI",\r
4135     "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
4136     "comments": "",\r
4137     "outputs": 1,\r
4138     "x": 4262.883087158203,\r
4139     "y": 6224.883331298828,\r
4140     "z": "1854297c.6f0f4f",\r
4141     "wires": [\r
4142       []\r
4143     ]\r
4144   },\r
4145   {\r
4146     "id": "cd721269.4316d8",\r
4147     "type": "comment",\r
4148     "name": "Create LEAF UNI",\r
4149     "info": "",\r
4150     "comments": "",\r
4151     "x": 4211.883087158203,\r
4152     "y": 6175.883331298828,\r
4153     "z": "1854297c.6f0f4f",\r
4154     "wires": []\r
4155   },\r
4156   {\r
4157     "id": "be012245.15127",\r
4158     "type": "save",\r
4159     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
4160     "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
4161     "comments": "",\r
4162     "outputs": 1,\r
4163     "x": 4994.883331298828,\r
4164     "y": 6381.883331298828,\r
4165     "z": "1854297c.6f0f4f",\r
4166     "wires": [\r
4167       []\r
4168     ]\r
4169   },\r
4170   {\r
4171     "id": "e8807ba5.c313d8",\r
4172     "type": "switchNode",\r
4173     "name": "switch found-root-connectivity",\r
4174     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4175     "comments": "",\r
4176     "outputs": 1,\r
4177     "x": 4398.883087158203,\r
4178     "y": 5576.883331298828,\r
4179     "z": "1854297c.6f0f4f",\r
4180     "wires": [\r
4181       [\r
4182         "572d7988.ef657",\r
4183         "f53c00f0.cf63b8"\r
4184       ]\r
4185     ]\r
4186   },\r
4187   {\r
4188     "id": "572d7988.ef657",\r
4189     "type": "outcomeTrue",\r
4190     "name": "true",\r
4191     "xml": "<outcome value='true'>\n",\r
4192     "comments": "",\r
4193     "outputs": 1,\r
4194     "x": 4609.883087158203,\r
4195     "y": 5576.883331298828,\r
4196     "z": "1854297c.6f0f4f",\r
4197     "wires": [\r
4198       [\r
4199         "a96de56.d3d4f18"\r
4200       ]\r
4201     ]\r
4202   },\r
4203   {\r
4204     "id": "a96de56.d3d4f18",\r
4205     "type": "block",\r
4206     "name": "block : atomic",\r
4207     "xml": "<block atomic='true'>",\r
4208     "atomic": "true",\r
4209     "comments": "",\r
4210     "outputs": 1,\r
4211     "x": 4765.883087158203,\r
4212     "y": 5572.883331298828,\r
4213     "z": "1854297c.6f0f4f",\r
4214     "wires": [\r
4215       [\r
4216         "be0ea96a.8229",\r
4217         "d676c28d.645a28",\r
4218         "bc2e1526.9ae628"\r
4219       ]\r
4220     ]\r
4221   },\r
4222   {\r
4223     "id": "f53c00f0.cf63b8",\r
4224     "type": "outcomeFalse",\r
4225     "name": "false",\r
4226     "xml": "<outcome value='false'>\n",\r
4227     "comments": "",\r
4228     "outputs": 1,\r
4229     "x": 4605.883087158203,\r
4230     "y": 5624.883331298828,\r
4231     "z": "1854297c.6f0f4f",\r
4232     "wires": [\r
4233       [\r
4234         "d258f77c.8cc748"\r
4235       ]\r
4236     ]\r
4237   },\r
4238   {\r
4239     "id": "d258f77c.8cc748",\r
4240     "type": "returnFailure",\r
4241     "name": "return failure",\r
4242     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4243     "comments": "",\r
4244     "x": 4753.883087158203,\r
4245     "y": 5619.883331298828,\r
4246     "z": "1854297c.6f0f4f",\r
4247     "wires": []\r
4248   },\r
4249   {\r
4250     "id": "5438b6e6.1482f8",\r
4251     "type": "save",\r
4252     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
4253     "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
4254     "comments": "",\r
4255     "outputs": 1,\r
4256     "x": 5261.883087158203,\r
4257     "y": 5201.883331298828,\r
4258     "z": "1854297c.6f0f4f",\r
4259     "wires": [\r
4260       []\r
4261     ]\r
4262   },\r
4263   {\r
4264     "id": "42097510.f58b64",\r
4265     "type": "execute",\r
4266     "name": "execute UUID generator for ethernet-service-name",\r
4267     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
4268     "comments": "",\r
4269     "outputs": 1,\r
4270     "x": 2428.883331298828,\r
4271     "y": 160.88333129882812,\r
4272     "z": "1854297c.6f0f4f",\r
4273     "wires": [\r
4274       []\r
4275     ]\r
4276   },\r
4277   {\r
4278     "id": "7a55e6a1.70e4b",\r
4279     "type": "set",\r
4280     "name": "set new ethernet-service-name",\r
4281     "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
4282     "comments": "",\r
4283     "x": 2362.883331298828,\r
4284     "y": 196.88333129882812,\r
4285     "z": "1854297c.6f0f4f",\r
4286     "wires": []\r
4287   },\r
4288   {\r
4289     "id": "bf79a82b.b4ff98",\r
4290     "type": "comment",\r
4291     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
4292     "info": "",\r
4293     "comments": "",\r
4294     "x": 2547.883331298828,\r
4295     "y": 123.88333129882812,\r
4296     "z": "1854297c.6f0f4f",\r
4297     "wires": []\r
4298   },\r
4299   {\r
4300     "id": "7675dfe3.26b5f8",\r
4301     "type": "set",\r
4302     "name": "set current-provider-id and current-cvlan-id",\r
4303     "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
4304     "comments": "",\r
4305     "x": 4296.883087158203,\r
4306     "y": 6336.883331298828,\r
4307     "z": "1854297c.6f0f4f",\r
4308     "wires": []\r
4309   },\r
4310   {\r
4311     "id": "ce5c7ab5.bd83c8",\r
4312     "type": "call",\r
4313     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4314     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4315     "comments": "",\r
4316     "outputs": 1,\r
4317     "x": 4429.883087158203,\r
4318     "y": 6384.883331298828,\r
4319     "z": "1854297c.6f0f4f",\r
4320     "wires": [\r
4321       []\r
4322     ]\r
4323   },\r
4324   {\r
4325     "id": "60efc6f5.6c666",\r
4326     "type": "switchNode",\r
4327     "name": "switch found-connectivity?",\r
4328     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4329     "comments": "",\r
4330     "outputs": 1,\r
4331     "x": 4248.883087158203,\r
4332     "y": 6442.883331298828,\r
4333     "z": "1854297c.6f0f4f",\r
4334     "wires": [\r
4335       [\r
4336         "f080a66c.4f7ec8",\r
4337         "652b319b.ab8708"\r
4338       ]\r
4339     ]\r
4340   },\r
4341   {\r
4342     "id": "f080a66c.4f7ec8",\r
4343     "type": "outcomeFalse",\r
4344     "name": "false",\r
4345     "xml": "<outcome value='false'>\n",\r
4346     "comments": "",\r
4347     "outputs": 1,\r
4348     "x": 4441.883087158203,\r
4349     "y": 6443.883331298828,\r
4350     "z": "1854297c.6f0f4f",\r
4351     "wires": [\r
4352       [\r
4353         "10a44adb.d38a25"\r
4354       ]\r
4355     ]\r
4356   },\r
4357   {\r
4358     "id": "10a44adb.d38a25",\r
4359     "type": "returnFailure",\r
4360     "name": "return failure",\r
4361     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
4362     "comments": "",\r
4363     "x": 4597.883087158203,\r
4364     "y": 6440.883331298828,\r
4365     "z": "1854297c.6f0f4f",\r
4366     "wires": []\r
4367   },\r
4368   {\r
4369     "id": "652b319b.ab8708",\r
4370     "type": "outcomeTrue",\r
4371     "name": "true",\r
4372     "xml": "<outcome value='true'>\n",\r
4373     "comments": "",\r
4374     "outputs": 1,\r
4375     "x": 4445.883087158203,\r
4376     "y": 6487.883331298828,\r
4377     "z": "1854297c.6f0f4f",\r
4378     "wires": [\r
4379       [\r
4380         "a7138657.394d98"\r
4381       ]\r
4382     ]\r
4383   },\r
4384   {\r
4385     "id": "a7138657.394d98",\r
4386     "type": "block",\r
4387     "name": "block",\r
4388     "xml": "<block>\n",\r
4389     "atomic": "false",\r
4390     "comments": "",\r
4391     "outputs": 1,\r
4392     "x": 4584.883087158203,\r
4393     "y": 6482.883331298828,\r
4394     "z": "1854297c.6f0f4f",\r
4395     "wires": [\r
4396       [\r
4397         "be012245.15127",\r
4398         "cc830633.a13cc",\r
4399         "cd9f0573.3ee2f8",\r
4400         "a5be208e.ddaeb8",\r
4401         "eaad5657.8cd72",\r
4402         "eb39c4f9.289008",\r
4403         "f25bfca7.d75338",\r
4404         "ea968dfa.497e7",\r
4405         "11d506a.c6a64f9",\r
4406         "d968015c.39cda8",\r
4407         "54a65e87.65172",\r
4408         "11c77751.f259a1",\r
4409         "9efae615.dd5ab"\r
4410       ]\r
4411     ]\r
4412   },\r
4413   {\r
4414     "id": "f25bfca7.d75338",\r
4415     "type": "save",\r
4416     "name": "get all-vpn-bindings from aai",\r
4417     "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
4418     "comments": "",\r
4419     "outputs": 1,\r
4420     "x": 4781.883087158203,\r
4421     "y": 7161.883331298828,\r
4422     "z": "1854297c.6f0f4f",\r
4423     "wires": [\r
4424       [\r
4425         "3dba1ed8.091bf2",\r
4426         "7f8f7997.fe796",\r
4427         "d8010c15.3a2778"\r
4428       ]\r
4429     ]\r
4430   },\r
4431   {\r
4432     "id": "3dba1ed8.091bf2",\r
4433     "type": "success",\r
4434     "name": "success",\r
4435     "xml": "<outcome value='success'>\n",\r
4436     "comments": "",\r
4437     "outputs": 1,\r
4438     "x": 4976.88330078125,\r
4439     "y": 7137.88330078125,\r
4440     "z": "1854297c.6f0f4f",\r
4441     "wires": [\r
4442       [\r
4443         "1b65a6f4.4e2729"\r
4444       ]\r
4445     ]\r
4446   },\r
4447   {\r
4448     "id": "7f8f7997.fe796",\r
4449     "type": "not-found",\r
4450     "name": "not-found",\r
4451     "xml": "<outcome value='not-found'>\n",\r
4452     "comments": "",\r
4453     "outputs": 1,\r
4454     "x": 4969.374267578125,\r
4455     "y": 7174.457336425781,\r
4456     "z": "1854297c.6f0f4f",\r
4457     "wires": [\r
4458       [\r
4459         "403902c8.70c854"\r
4460       ]\r
4461     ]\r
4462   },\r
4463   {\r
4464     "id": "d8010c15.3a2778",\r
4465     "type": "failure",\r
4466     "name": "failure",\r
4467     "xml": "<outcome value='failure'>\n",\r
4468     "comments": "",\r
4469     "outputs": 1,\r
4470     "x": 4966.88330078125,\r
4471     "y": 7217.88330078125,\r
4472     "z": "1854297c.6f0f4f",\r
4473     "wires": [\r
4474       [\r
4475         "ab2fcd35.01c098"\r
4476       ]\r
4477     ]\r
4478   },\r
4479   {\r
4480     "id": "1b65a6f4.4e2729",\r
4481     "type": "block",\r
4482     "name": "block : atomic",\r
4483     "xml": "<block atomic=\"true\">",\r
4484     "atomic": "true",\r
4485     "outputs": 1,\r
4486     "x": 5148.88330078125,\r
4487     "y": 7135.88330078125,\r
4488     "z": "1854297c.6f0f4f",\r
4489     "wires": [\r
4490       [\r
4491         "c7100026.09f848"\r
4492       ]\r
4493     ]\r
4494   },\r
4495   {\r
4496     "id": "403902c8.70c854",\r
4497     "type": "returnFailure",\r
4498     "name": "return failure",\r
4499     "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
4500     "comments": "",\r
4501     "x": 5131.9456787109375,\r
4502     "y": 7174.743072509766,\r
4503     "z": "1854297c.6f0f4f",\r
4504     "wires": []\r
4505   },\r
4506   {\r
4507     "id": "ab2fcd35.01c098",\r
4508     "type": "returnFailure",\r
4509     "name": "return failure",\r
4510     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4511     "comments": "",\r
4512     "x": 5133.88330078125,\r
4513     "y": 7216.88330078125,\r
4514     "z": "1854297c.6f0f4f",\r
4515     "wires": []\r
4516   },\r
4517   {\r
4518     "id": "c7100026.09f848",\r
4519     "type": "for",\r
4520     "name": "for vpnidx in all-vpn-bindings",\r
4521     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4522     "comments": "",\r
4523     "outputs": 1,\r
4524     "x": 5389.883087158203,\r
4525     "y": 7169.883331298828,\r
4526     "z": "1854297c.6f0f4f",\r
4527     "wires": [\r
4528       [\r
4529         "746d723d.92756c"\r
4530       ]\r
4531     ]\r
4532   },\r
4533   {\r
4534     "id": "746d723d.92756c",\r
4535     "type": "block",\r
4536     "name": "block : atomic",\r
4537     "xml": "<block atomic='true'>",\r
4538     "atomic": "true",\r
4539     "comments": "",\r
4540     "outputs": 1,\r
4541     "x": 5626.883087158203,\r
4542     "y": 7165.883331298828,\r
4543     "z": "1854297c.6f0f4f",\r
4544     "wires": [\r
4545       [\r
4546         "c84e8944.ab748"\r
4547       ]\r
4548     ]\r
4549   },\r
4550   {\r
4551     "id": "9e3ec759.f9e0d",\r
4552     "type": "switchNode",\r
4553     "name": "switch vpnuuid is for this slice",\r
4554     "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
4555     "comments": "",\r
4556     "outputs": 1,\r
4557     "x": 5893.883087158203,\r
4558     "y": 7131.883331298828,\r
4559     "z": "1854297c.6f0f4f",\r
4560     "wires": [\r
4561       [\r
4562         "4fee4c24.360bcc",\r
4563         "4314046.5a68afc"\r
4564       ]\r
4565     ]\r
4566   },\r
4567   {\r
4568     "id": "4fee4c24.360bcc",\r
4569     "type": "outcomeTrue",\r
4570     "name": "true",\r
4571     "xml": "<outcome value='true'>\n",\r
4572     "comments": "",\r
4573     "outputs": 1,\r
4574     "x": 6074.883087158203,\r
4575     "y": 7157.883331298828,\r
4576     "z": "1854297c.6f0f4f",\r
4577     "wires": [\r
4578       [\r
4579         "c84e8944.ab748"\r
4580       ]\r
4581     ]\r
4582   },\r
4583   {\r
4584     "id": "4314046.5a68afc",\r
4585     "type": "outcomeFalse",\r
4586     "name": "false",\r
4587     "xml": "<outcome value='false'>\n",\r
4588     "comments": "",\r
4589     "outputs": 1,\r
4590     "x": 6073.883087158203,\r
4591     "y": 7110.883331298828,\r
4592     "z": "1854297c.6f0f4f",\r
4593     "wires": [\r
4594       []\r
4595     ]\r
4596   },\r
4597   {\r
4598     "id": "c84e8944.ab748",\r
4599     "type": "block",\r
4600     "name": "block : atomic",\r
4601     "xml": "<block atomic='true'>",\r
4602     "atomic": "true",\r
4603     "comments": "",\r
4604     "outputs": 1,\r
4605     "x": 4590.88330078125,\r
4606     "y": 7305.88330078125,\r
4607     "z": "1854297c.6f0f4f",\r
4608     "wires": [\r
4609       [\r
4610         "cbf296b5.4a44d"\r
4611       ]\r
4612     ]\r
4613   },\r
4614   {\r
4615     "id": "1eeaf51a.0f85d3",\r
4616     "type": "set",\r
4617     "name": "set tmp.aai.the-vpn-binding",\r
4618     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4619     "comments": "",\r
4620     "x": 5666.883087158203,\r
4621     "y": 7337.883331298828,\r
4622     "z": "1854297c.6f0f4f",\r
4623     "wires": []\r
4624   },\r
4625   {\r
4626     "id": "75dd5c17.2526e4",\r
4627     "type": "comment",\r
4628     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4629     "info": "",\r
4630     "comments": "",\r
4631     "x": 4879.88330078125,\r
4632     "y": 7073.88330078125,\r
4633     "z": "1854297c.6f0f4f",\r
4634     "wires": []\r
4635   },\r
4636   {\r
4637     "id": "eb39c4f9.289008",\r
4638     "type": "set",\r
4639     "name": "set srcTtp OTN layer",\r
4640     "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
4641     "comments": "",\r
4642     "x": 4763.883087158203,\r
4643     "y": 6957.883331298828,\r
4644     "z": "1854297c.6f0f4f",\r
4645     "wires": []\r
4646   },\r
4647   {\r
4648     "id": "5dce4a96.7e6e5c",\r
4649     "type": "switchNode",\r
4650     "name": "switch provider-id domainA",\r
4651     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
4652     "comments": "",\r
4653     "outputs": 1,\r
4654     "x": 5108.883087158203,\r
4655     "y": 6788.883331298828,\r
4656     "z": "1854297c.6f0f4f",\r
4657     "wires": [\r
4658       [\r
4659         "f4b6cbdd.4872c"\r
4660       ]\r
4661     ]\r
4662   },\r
4663   {\r
4664     "id": "f4b6cbdd.4872c",\r
4665     "type": "outcomeTrue",\r
4666     "name": "true",\r
4667     "xml": "<outcome value='true'>\n",\r
4668     "comments": "",\r
4669     "outputs": 1,\r
4670     "x": 5328.883087158203,\r
4671     "y": 6794.883331298828,\r
4672     "z": "1854297c.6f0f4f",\r
4673     "wires": [\r
4674       [\r
4675         "49771dd5.9b717c"\r
4676       ]\r
4677     ]\r
4678   },\r
4679   {\r
4680     "id": "49771dd5.9b717c",\r
4681     "type": "switchNode",\r
4682     "name": "switch te-topo-id",\r
4683     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4684     "comments": "",\r
4685     "outputs": 1,\r
4686     "x": 5513.883087158203,\r
4687     "y": 6793.883331298828,\r
4688     "z": "1854297c.6f0f4f",\r
4689     "wires": [\r
4690       [\r
4691         "444eff53.bd878"\r
4692       ]\r
4693     ]\r
4694   },\r
4695   {\r
4696     "id": "444eff53.bd878",\r
4697     "type": "outcomeTrue",\r
4698     "name": "true",\r
4699     "xml": "<outcome value='true'>\n",\r
4700     "comments": "",\r
4701     "outputs": 1,\r
4702     "x": 5705.883087158203,\r
4703     "y": 6796.883331298828,\r
4704     "z": "1854297c.6f0f4f",\r
4705     "wires": [\r
4706       [\r
4707         "149f57f1.fd7a"\r
4708       ]\r
4709     ]\r
4710   },\r
4711   {\r
4712     "id": "149f57f1.fd7a",\r
4713     "type": "set",\r
4714     "name": "set otnTopoIdSrc",\r
4715     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4716     "comments": "",\r
4717     "x": 5914.883087158203,\r
4718     "y": 6794.883331298828,\r
4719     "z": "1854297c.6f0f4f",\r
4720     "wires": []\r
4721   },\r
4722   {\r
4723     "id": "ea968dfa.497e7",\r
4724     "type": "for",\r
4725     "name": "for netwidx..allNetworksList_length",\r
4726     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4727     "comments": "",\r
4728     "outputs": 1,\r
4729     "x": 4815.883087158203,\r
4730     "y": 6782.883331298828,\r
4731     "z": "1854297c.6f0f4f",\r
4732     "wires": [\r
4733       [\r
4734         "5dce4a96.7e6e5c"\r
4735       ]\r
4736     ]\r
4737   },\r
4738   {\r
4739     "id": "cd9f0573.3ee2f8",\r
4740     "type": "get-resource",\r
4741     "name": "get-resource network-resources-list",\r
4742     "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
4743     "comments": "",\r
4744     "outputs": 1,\r
4745     "x": 4823.883087158203,\r
4746     "y": 6675.883331298828,\r
4747     "z": "1854297c.6f0f4f",\r
4748     "wires": [\r
4749       [\r
4750         "e6c84893.53204",\r
4751         "5e294103.3f0c78",\r
4752         "8261318b.eb457"\r
4753       ]\r
4754     ]\r
4755   },\r
4756   {\r
4757     "id": "e6c84893.53204",\r
4758     "type": "success",\r
4759     "name": "success",\r
4760     "xml": "<outcome value='success'>\n",\r
4761     "comments": "",\r
4762     "outputs": 1,\r
4763     "x": 5059.883087158203,\r
4764     "y": 6658.883331298828,\r
4765     "z": "1854297c.6f0f4f",\r
4766     "wires": [\r
4767       []\r
4768     ]\r
4769   },\r
4770   {\r
4771     "id": "5e294103.3f0c78",\r
4772     "type": "other",\r
4773     "name": "other",\r
4774     "xml": "<outcome value='Other'>\n",\r
4775     "comments": "",\r
4776     "outputs": 1,\r
4777     "x": 5056.883087158203,\r
4778     "y": 6699.883331298828,\r
4779     "z": "1854297c.6f0f4f",\r
4780     "wires": [\r
4781       []\r
4782     ]\r
4783   },\r
4784   {\r
4785     "id": "8261318b.eb457",\r
4786     "type": "not-found",\r
4787     "name": "not-found",\r
4788     "xml": "<outcome value='not-found'>\n",\r
4789     "comments": "",\r
4790     "outputs": 1,\r
4791     "x": 5070.883087158203,\r
4792     "y": 6739.883331298828,\r
4793     "z": "1854297c.6f0f4f",\r
4794     "wires": [\r
4795       []\r
4796     ]\r
4797   },\r
4798   {\r
4799     "id": "a5be208e.ddaeb8",\r
4800     "type": "set",\r
4801     "name": "unset parameters",\r
4802     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4803     "comments": "",\r
4804     "x": 4759.883087158203,\r
4805     "y": 6834.883331298828,\r
4806     "z": "1854297c.6f0f4f",\r
4807     "wires": []\r
4808   },\r
4809   {\r
4810     "id": "eaad5657.8cd72",\r
4811     "type": "set",\r
4812     "name": "set tmp.pce-src-node",\r
4813     "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
4814     "comments": "",\r
4815     "x": 4767.883087158203,\r
4816     "y": 6892.883331298828,\r
4817     "z": "1854297c.6f0f4f",\r
4818     "wires": []\r
4819   },\r
4820   {\r
4821     "id": "cc830633.a13cc",\r
4822     "type": "set",\r
4823     "name": "unset parameters",\r
4824     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4825     "comments": "",\r
4826     "x": 4772.883087158203,\r
4827     "y": 6632.883331298828,\r
4828     "z": "1854297c.6f0f4f",\r
4829     "wires": []\r
4830   },\r
4831   {\r
4832     "id": "904e1ae5.bbd558",\r
4833     "type": "comment",\r
4834     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4835     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4836     "comments": "",\r
4837     "x": 4887.883087158203,\r
4838     "y": 6584.883331298828,\r
4839     "z": "1854297c.6f0f4f",\r
4840     "wires": []\r
4841   },\r
4842   {\r
4843     "id": "cbf296b5.4a44d",\r
4844     "type": "switchNode",\r
4845     "name": "switch ops-note is srcTtpOtnLayer",\r
4846     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4847     "comments": "",\r
4848     "outputs": 1,\r
4849     "x": 4880.88330078125,\r
4850     "y": 7300.88330078125,\r
4851     "z": "1854297c.6f0f4f",\r
4852     "wires": [\r
4853       [\r
4854         "a993ecb7.4e75a",\r
4855         "50a501d.eb089"\r
4856       ]\r
4857     ]\r
4858   },\r
4859   {\r
4860     "id": "a993ecb7.4e75a",\r
4861     "type": "outcomeTrue",\r
4862     "name": "true",\r
4863     "xml": "<outcome value='true'>\n",\r
4864     "comments": "",\r
4865     "outputs": 1,\r
4866     "x": 5136.88330078125,\r
4867     "y": 7272.88330078125,\r
4868     "z": "1854297c.6f0f4f",\r
4869     "wires": [\r
4870       [\r
4871         "2f3de295.447b1e"\r
4872       ]\r
4873     ]\r
4874   },\r
4875   {\r
4876     "id": "50a501d.eb089",\r
4877     "type": "outcomeFalse",\r
4878     "name": "false",\r
4879     "xml": "<outcome value='false'>\n",\r
4880     "comments": "",\r
4881     "outputs": 1,\r
4882     "x": 5136.88330078125,\r
4883     "y": 7321.88330078125,\r
4884     "z": "1854297c.6f0f4f",\r
4885     "wires": [\r
4886       []\r
4887     ]\r
4888   },\r
4889   {\r
4890     "id": "ed22a86b.d791b8",\r
4891     "type": "block",\r
4892     "name": "block : atomic",\r
4893     "xml": "<block atomic='true'>",\r
4894     "atomic": "true",\r
4895     "comments": "",\r
4896     "outputs": 1,\r
4897     "x": 5402.88330078125,\r
4898     "y": 7313.88330078125,\r
4899     "z": "1854297c.6f0f4f",\r
4900     "wires": [\r
4901       [\r
4902         "5c9c1b49.b9b35c",\r
4903         "1eeaf51a.0f85d3",\r
4904         "e4035d6c.e05158"\r
4905       ]\r
4906     ]\r
4907   },\r
4908   {\r
4909     "id": "f63796a1.344c48",\r
4910     "type": "comment",\r
4911     "name": "increase the bw of the-vpn-binding and change status to modified",\r
4912     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
4913     "comments": "",\r
4914     "x": 5794.883087158203,\r
4915     "y": 7391.883331298828,\r
4916     "z": "1854297c.6f0f4f",\r
4917     "wires": []\r
4918   },\r
4919   {\r
4920     "id": "e4035d6c.e05158",\r
4921     "type": "save",\r
4922     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4923     "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
4924     "comments": "",\r
4925     "outputs": 1,\r
4926     "x": 5764.883087158203,\r
4927     "y": 7451.883331298828,\r
4928     "z": "1854297c.6f0f4f",\r
4929     "wires": [\r
4930       []\r
4931     ]\r
4932   },\r
4933   {\r
4934     "id": "5c9c1b49.b9b35c",\r
4935     "type": "set",\r
4936     "name": "unset tmp.aai.the-vpn-binding",\r
4937     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4938     "comments": "",\r
4939     "x": 5671.883087158203,\r
4940     "y": 7279.883331298828,\r
4941     "z": "1854297c.6f0f4f",\r
4942     "wires": []\r
4943   },\r
4944   {\r
4945     "id": "2ed5b6b9.722642",\r
4946     "type": "block",\r
4947     "name": "block : atomic",\r
4948     "xml": "<block atomic='true'>",\r
4949     "atomic": "true",\r
4950     "comments": "",\r
4951     "outputs": 1,\r
4952     "x": 4021.883331298828,\r
4953     "y": 5917.883331298828,\r
4954     "z": "1854297c.6f0f4f",\r
4955     "wires": [\r
4956       [\r
4957         "58b6c88a.c0b81",\r
4958         "7675dfe3.26b5f8",\r
4959         "ce5c7ab5.bd83c8",\r
4960         "60efc6f5.6c666",\r
4961         "4ebf5b73.f18c34"\r
4962       ]\r
4963     ]\r
4964   },\r
4965   {\r
4966     "id": "8e0e6c35.35f418",\r
4967     "type": "set",\r
4968     "name": "unset otnTopoIdSrc",\r
4969     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4970     "comments": "",\r
4971     "x": 4764.883087158203,\r
4972     "y": 6732.883331298828,\r
4973     "z": "1854297c.6f0f4f",\r
4974     "wires": []\r
4975   },\r
4976   {\r
4977     "id": "11d506a.c6a64f9",\r
4978     "type": "save",\r
4979     "name": "update connectivity resource in AAI",\r
4980     "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
4981     "comments": "",\r
4982     "outputs": 1,\r
4983     "x": 4887.883331298828,\r
4984     "y": 6462.883331298828,\r
4985     "z": "1854297c.6f0f4f",\r
4986     "wires": [\r
4987       []\r
4988     ]\r
4989   },\r
4990   {\r
4991     "id": "4d39072e.34b5f8",\r
4992     "type": "comment",\r
4993     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4994     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4995     "comments": "",\r
4996     "x": 5024.883331298828,\r
4997     "y": 6412.883331298828,\r
4998     "z": "1854297c.6f0f4f",\r
4999     "wires": []\r
5000   },\r
5001   {\r
5002     "id": "1698c025.c5ee78",\r
5003     "type": "save",\r
5004     "name": "save ROOT UNI in AAI",\r
5005     "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
5006     "comments": "",\r
5007     "outputs": 1,\r
5008     "x": 6832.883331298828,\r
5009     "y": 3588.883331298828,\r
5010     "z": "1854297c.6f0f4f",\r
5011     "wires": [\r
5012       []\r
5013     ]\r
5014   },\r
5015   {\r
5016     "id": "63d6aa7c.b5a514",\r
5017     "type": "comment",\r
5018     "name": "NOT NEEDED ANYMORE?",\r
5019     "info": "",\r
5020     "comments": "",\r
5021     "x": 4038.883331298828,\r
5022     "y": 1813.8833312988281,\r
5023     "z": "1854297c.6f0f4f",\r
5024     "wires": []\r
5025   },\r
5026   {\r
5027     "id": "3aa74194.8661ee",\r
5028     "type": "comment",\r
5029     "name": "NOT NEEDED ANYMORE?",\r
5030     "info": "",\r
5031     "comments": "",\r
5032     "x": 4016.883331298828,\r
5033     "y": 2683.883331298828,\r
5034     "z": "1854297c.6f0f4f",\r
5035     "wires": []\r
5036   },\r
5037   {\r
5038     "id": "b098a36d.e0c3e",\r
5039     "type": "comment",\r
5040     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
5041     "info": "",\r
5042     "comments": "",\r
5043     "x": 6823.883331298828,\r
5044     "y": 4055.883331298828,\r
5045     "z": "1854297c.6f0f4f",\r
5046     "wires": []\r
5047   },\r
5048   {\r
5049     "id": "2f2ed9c0.e0663e",\r
5050     "type": "call",\r
5051     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
5052     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
5053     "comments": "",\r
5054     "outputs": 1,\r
5055     "x": 3528.883331298828,\r
5056     "y": 6057.883331298828,\r
5057     "z": "1854297c.6f0f4f",\r
5058     "wires": [\r
5059       []\r
5060     ]\r
5061   },\r
5062   {\r
5063     "id": "28b03e50.9f7992",\r
5064     "type": "set",\r
5065     "name": "set current-provider-id and current-cvlan-id",\r
5066     "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
5067     "comments": "",\r
5068     "x": 3739.883331298828,\r
5069     "y": 4934.883331298828,\r
5070     "z": "1854297c.6f0f4f",\r
5071     "wires": []\r
5072   },\r
5073   {\r
5074     "id": "980b4828.96504",\r
5075     "type": "call",\r
5076     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
5077     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
5078     "comments": "",\r
5079     "outputs": 1,\r
5080     "x": 3872.883331298828,\r
5081     "y": 4982.883331298828,\r
5082     "z": "1854297c.6f0f4f",\r
5083     "wires": [\r
5084       []\r
5085     ]\r
5086   },\r
5087   {\r
5088     "id": "78d94074.f38b7",\r
5089     "type": "switchNode",\r
5090     "name": "switch found-connectivity?",\r
5091     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
5092     "comments": "",\r
5093     "outputs": 1,\r
5094     "x": 4417.883087158203,\r
5095     "y": 5062.883331298828,\r
5096     "z": "1854297c.6f0f4f",\r
5097     "wires": [\r
5098       [\r
5099         "bc43fa2d.411608",\r
5100         "7dd6f63d.8487f"\r
5101       ]\r
5102     ]\r
5103   },\r
5104   {\r
5105     "id": "bc43fa2d.411608",\r
5106     "type": "outcomeFalse",\r
5107     "name": "false",\r
5108     "xml": "<outcome value='false'>\n",\r
5109     "comments": "",\r
5110     "outputs": 1,\r
5111     "x": 4610.883087158203,\r
5112     "y": 5063.883331298828,\r
5113     "z": "1854297c.6f0f4f",\r
5114     "wires": [\r
5115       [\r
5116         "c471dfd.f92dba"\r
5117       ]\r
5118     ]\r
5119   },\r
5120   {\r
5121     "id": "7dd6f63d.8487f",\r
5122     "type": "outcomeTrue",\r
5123     "name": "true",\r
5124     "xml": "<outcome value='true'>\n",\r
5125     "comments": "",\r
5126     "outputs": 1,\r
5127     "x": 4614.883087158203,\r
5128     "y": 5107.883331298828,\r
5129     "z": "1854297c.6f0f4f",\r
5130     "wires": [\r
5131       [\r
5132         "a8ff6a7c.81ae98"\r
5133       ]\r
5134     ]\r
5135   },\r
5136   {\r
5137     "id": "a8ff6a7c.81ae98",\r
5138     "type": "block",\r
5139     "name": "block : atomic",\r
5140     "xml": "<block atomic='true'>",\r
5141     "atomic": "true",\r
5142     "comments": "",\r
5143     "outputs": 1,\r
5144     "x": 4753.883087158203,\r
5145     "y": 5102.883331298828,\r
5146     "z": "1854297c.6f0f4f",\r
5147     "wires": [\r
5148       [\r
5149         "a2ef082b.b2f048",\r
5150         "fa92cb40.708c7",\r
5151         "c4bba10e.ae5948"\r
5152       ]\r
5153     ]\r
5154   },\r
5155   {\r
5156     "id": "c471dfd.f92dba",\r
5157     "type": "block",\r
5158     "name": "block : atomic",\r
5159     "xml": "<block atomic='true'>",\r
5160     "atomic": "true",\r
5161     "comments": "",\r
5162     "outputs": 1,\r
5163     "x": 4753.883087158203,\r
5164     "y": 5059.883331298828,\r
5165     "z": "1854297c.6f0f4f",\r
5166     "wires": [\r
5167       [\r
5168         "effc1efd.4a1d3",\r
5169         "5c8eea0c.68cc14",\r
5170         "e7adda57.489d68",\r
5171         "5438b6e6.1482f8"\r
5172       ]\r
5173     ]\r
5174   },\r
5175   {\r
5176     "id": "a2ef082b.b2f048",\r
5177     "type": "set",\r
5178     "name": "set prop.connectivity-domainA-uuid",\r
5179     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
5180     "comments": "",\r
5181     "x": 5147.883087158203,\r
5182     "y": 5353.883331298828,\r
5183     "z": "1854297c.6f0f4f",\r
5184     "wires": []\r
5185   },\r
5186   {\r
5187     "id": "963dc7de.4f275",\r
5188     "type": "comment",\r
5189     "name": "populate connectivity-A variable in the context map",\r
5190     "info": "",\r
5191     "comments": "",\r
5192     "x": 5154.883087158203,\r
5193     "y": 5307.883331298828,\r
5194     "z": "1854297c.6f0f4f",\r
5195     "wires": []\r
5196   },\r
5197   {\r
5198     "id": "d968015c.39cda8",\r
5199     "type": "call",\r
5200     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
5201     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5202     "comments": "",\r
5203     "outputs": 1,\r
5204     "x": 4944.88330078125,\r
5205     "y": 7022.88330078125,\r
5206     "z": "1854297c.6f0f4f",\r
5207     "wires": [\r
5208       []\r
5209     ]\r
5210   },\r
5211   {\r
5212     "id": "fa92cb40.708c7",\r
5213     "type": "save",\r
5214     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5215     "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
5216     "comments": "",\r
5217     "outputs": 1,\r
5218     "x": 5266.883087158203,\r
5219     "y": 5406.883331298828,\r
5220     "z": "1854297c.6f0f4f",\r
5221     "wires": [\r
5222       []\r
5223     ]\r
5224   },\r
5225   {\r
5226     "id": "d676c28d.645a28",\r
5227     "type": "save",\r
5228     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5229     "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
5230     "comments": "",\r
5231     "outputs": 1,\r
5232     "x": 5148.883087158203,\r
5233     "y": 5624.883331298828,\r
5234     "z": "1854297c.6f0f4f",\r
5235     "wires": [\r
5236       []\r
5237     ]\r
5238   },\r
5239   {\r
5240     "id": "3d7bbeb8.4fb6ea",\r
5241     "type": "comment",\r
5242     "name": "Update ROOT UNI's bw",\r
5243     "info": "",\r
5244     "comments": "",\r
5245     "x": 3703.883331298828,\r
5246     "y": 4532.883331298828,\r
5247     "z": "1854297c.6f0f4f",\r
5248     "wires": []\r
5249   },\r
5250   {\r
5251     "id": "b16bd91d.551568",\r
5252     "type": "save",\r
5253     "name": "update ROOT UNI in AAI",\r
5254     "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
5255     "comments": "",\r
5256     "outputs": 1,\r
5257     "x": 4037.883331298828,\r
5258     "y": 4715.883331298828,\r
5259     "z": "1854297c.6f0f4f",\r
5260     "wires": [\r
5261       []\r
5262     ]\r
5263   },\r
5264   {\r
5265     "id": "17af28da.ceda4f",\r
5266     "type": "save",\r
5267     "name": "get root uni from aai",\r
5268     "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
5269     "comments": "",\r
5270     "outputs": 1,\r
5271     "x": 3649.883331298828,\r
5272     "y": 4582.883331298828,\r
5273     "z": "1854297c.6f0f4f",\r
5274     "wires": [\r
5275       [\r
5276         "1c28f8e9.5cfb07",\r
5277         "7bdf0726.9bbbb8",\r
5278         "d03c4576.8b0b7"\r
5279       ]\r
5280     ]\r
5281   },\r
5282   {\r
5283     "id": "7bdf0726.9bbbb8",\r
5284     "type": "not-found",\r
5285     "name": "not-found",\r
5286     "xml": "<outcome value='not-found'>\n",\r
5287     "comments": "",\r
5288     "outputs": 1,\r
5289     "x": 3877.374298095703,\r
5290     "y": 4555.457305908203,\r
5291     "z": "1854297c.6f0f4f",\r
5292     "wires": [\r
5293       [\r
5294         "6a9d8f.c783f27"\r
5295       ]\r
5296     ]\r
5297   },\r
5298   {\r
5299     "id": "d03c4576.8b0b7",\r
5300     "type": "failure",\r
5301     "name": "failure",\r
5302     "xml": "<outcome value='failure'>\n",\r
5303     "comments": "",\r
5304     "outputs": 1,\r
5305     "x": 3872.883331298828,\r
5306     "y": 4599.883270263672,\r
5307     "z": "1854297c.6f0f4f",\r
5308     "wires": [\r
5309       [\r
5310         "732d0fc7.ef1e4"\r
5311       ]\r
5312     ]\r
5313   },\r
5314   {\r
5315     "id": "6a9d8f.c783f27",\r
5316     "type": "returnFailure",\r
5317     "name": "return failure",\r
5318     "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
5319     "comments": "",\r
5320     "x": 4039.945831298828,\r
5321     "y": 4554.743011474609,\r
5322     "z": "1854297c.6f0f4f",\r
5323     "wires": []\r
5324   },\r
5325   {\r
5326     "id": "732d0fc7.ef1e4",\r
5327     "type": "returnFailure",\r
5328     "name": "return failure",\r
5329     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5330     "comments": "",\r
5331     "x": 4040.883331298828,\r
5332     "y": 4599.883270263672,\r
5333     "z": "1854297c.6f0f4f",\r
5334     "wires": []\r
5335   },\r
5336   {\r
5337     "id": "2b632ac5.849276",\r
5338     "type": "block",\r
5339     "name": "block : atomic",\r
5340     "xml": "<block atomic=\"true\">",\r
5341     "atomic": "true",\r
5342     "outputs": 1,\r
5343     "x": 3825.883331298828,\r
5344     "y": 4672.883331298828,\r
5345     "z": "1854297c.6f0f4f",\r
5346     "wires": [\r
5347       [\r
5348         "d3a7ff82.f011",\r
5349         "b16bd91d.551568"\r
5350       ]\r
5351     ]\r
5352   },\r
5353   {\r
5354     "id": "1c28f8e9.5cfb07",\r
5355     "type": "success",\r
5356     "name": "success",\r
5357     "xml": "<outcome value='success'>\n",\r
5358     "comments": "",\r
5359     "outputs": 1,\r
5360     "x": 3656.883331298828,\r
5361     "y": 4672.883331298828,\r
5362     "z": "1854297c.6f0f4f",\r
5363     "wires": [\r
5364       [\r
5365         "2b632ac5.849276"\r
5366       ]\r
5367     ]\r
5368   },\r
5369   {\r
5370     "id": "d3a7ff82.f011",\r
5371     "type": "set",\r
5372     "name": "set new bw",\r
5373     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
5374     "comments": "",\r
5375     "x": 4014.883331298828,\r
5376     "y": 4664.883331298828,\r
5377     "z": "1854297c.6f0f4f",\r
5378     "wires": []\r
5379   },\r
5380   {\r
5381     "id": "2c43e5ee.399d8a",\r
5382     "type": "save",\r
5383     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5384     "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
5385     "comments": "",\r
5386     "outputs": 1,\r
5387     "x": 3847.883331298828,\r
5388     "y": 4810.883331298828,\r
5389     "z": "1854297c.6f0f4f",\r
5390     "wires": [\r
5391       []\r
5392     ]\r
5393   },\r
5394   {\r
5395     "id": "97722063.27aea",\r
5396     "type": "comment",\r
5397     "name": "We are doing modify but middle man does not exist ==> it is definitely a new logical link",\r
5398     "info": "",\r
5399     "comments": "",\r
5400     "x": 3630.883331298828,\r
5401     "y": 2893.883331298828,\r
5402     "z": "1854297c.6f0f4f",\r
5403     "wires": []\r
5404   },\r
5405   {\r
5406     "id": "65778a7a.89ed44",\r
5407     "type": "comment",\r
5408     "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
5409     "info": "",\r
5410     "comments": "",\r
5411     "x": 3485.883331298828,\r
5412     "y": 4460.883331298828,\r
5413     "z": "1854297c.6f0f4f",\r
5414     "wires": []\r
5415   },\r
5416   {\r
5417     "id": "a2d538df.980d68",\r
5418     "type": "exists",\r
5419     "name": "exists LEAF UNI",\r
5420     "xml": "<exists plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n",\r
5421     "comments": "",\r
5422     "outputs": 1,\r
5423     "x": 3258.883331298828,\r
5424     "y": 4728.883331298828,\r
5425     "z": "1854297c.6f0f4f",\r
5426     "wires": [\r
5427       [\r
5428         "43a12633.7a37a8",\r
5429         "6d14b300.778b24"\r
5430       ]\r
5431     ]\r
5432   },\r
5433   {\r
5434     "id": "7ebd19ad.940af8",\r
5435     "type": "block",\r
5436     "name": "block",\r
5437     "xml": "<block>\n",\r
5438     "atomic": "false",\r
5439     "comments": "",\r
5440     "outputs": 1,\r
5441     "x": 3090.883331298828,\r
5442     "y": 4731.883331298828,\r
5443     "z": "1854297c.6f0f4f",\r
5444     "wires": [\r
5445       [\r
5446         "a2d538df.980d68"\r
5447       ]\r
5448     ]\r
5449   },\r
5450   {\r
5451     "id": "6d14b300.778b24",\r
5452     "type": "outcomeFalse",\r
5453     "name": "false",\r
5454     "xml": "<outcome value='false'>\n",\r
5455     "comments": "",\r
5456     "outputs": 1,\r
5457     "x": 3421.883331298828,\r
5458     "y": 4747.883331298828,\r
5459     "z": "1854297c.6f0f4f",\r
5460     "wires": [\r
5461       [\r
5462         "d74b6b50.22dd88"\r
5463       ]\r
5464     ]\r
5465   },\r
5466   {\r
5467     "id": "43a12633.7a37a8",\r
5468     "type": "outcomeTrue",\r
5469     "name": "true",\r
5470     "xml": "<outcome value='true'>\n",\r
5471     "comments": "",\r
5472     "outputs": 1,\r
5473     "x": 3457.883331298828,\r
5474     "y": 3354.883331298828,\r
5475     "z": "1854297c.6f0f4f",\r
5476     "wires": [\r
5477       [\r
5478         "fd9ecd52.f0eec"\r
5479       ]\r
5480     ]\r
5481   },\r
5482   {\r
5483     "id": "58f27ca9.e6694c",\r
5484     "type": "switchNode",\r
5485     "name": "switch leafuni.data-source == gfp",\r
5486     "xml": "<switch test='`$tmp.aai.leafuni.data-source == $gfp`'>\n",\r
5487     "comments": "",\r
5488     "outputs": 1,\r
5489     "x": 3773.883331298828,\r
5490     "y": 3406.883331298828,\r
5491     "z": "1854297c.6f0f4f",\r
5492     "wires": [\r
5493       [\r
5494         "f8970eb9.db20d",\r
5495         "767d527f.e764f4"\r
5496       ]\r
5497     ]\r
5498   },\r
5499   {\r
5500     "id": "f8970eb9.db20d",\r
5501     "type": "outcomeTrue",\r
5502     "name": "true",\r
5503     "xml": "<outcome value='true'>\n",\r
5504     "comments": "",\r
5505     "outputs": 1,\r
5506     "x": 3978.883331298828,\r
5507     "y": 3402.883331298828,\r
5508     "z": "1854297c.6f0f4f",\r
5509     "wires": [\r
5510       []\r
5511     ]\r
5512   },\r
5513   {\r
5514     "id": "767d527f.e764f4",\r
5515     "type": "outcomeFalse",\r
5516     "name": "false",\r
5517     "xml": "<outcome value='false'>\n",\r
5518     "comments": "",\r
5519     "outputs": 1,\r
5520     "x": 3980.883331298828,\r
5521     "y": 3452.883331298828,\r
5522     "z": "1854297c.6f0f4f",\r
5523     "wires": [\r
5524       [\r
5525         "e0571d8f.b0d5c"\r
5526       ]\r
5527     ]\r
5528   },\r
5529   {\r
5530     "id": "e0571d8f.b0d5c",\r
5531     "type": "block",\r
5532     "name": "block : atomic",\r
5533     "xml": "<block atomic=\"true\">",\r
5534     "atomic": "true",\r
5535     "outputs": 1,\r
5536     "x": 4136.883331298828,\r
5537     "y": 3458.883331298828,\r
5538     "z": "1854297c.6f0f4f",\r
5539     "wires": [\r
5540       [\r
5541         "29bbf41c.92a224",\r
5542         "892518e7.2c6e68",\r
5543         "36c28209.5e5a0e",\r
5544         "b822f518.1b138"\r
5545       ]\r
5546     ]\r
5547   },\r
5548   {\r
5549     "id": "29bbf41c.92a224",\r
5550     "type": "set",\r
5551     "name": "set bwModified",\r
5552     "xml": "<set>\n<parameter name='bwModified' value=\"true\" />\n\n\n",\r
5553     "comments": "",\r
5554     "x": 4362.883575439453,\r
5555     "y": 3199.883331298828,\r
5556     "z": "1854297c.6f0f4f",\r
5557     "wires": []\r
5558   },\r
5559   {\r
5560     "id": "f218f6e.d910588",\r
5561     "type": "block",\r
5562     "name": "block : atomic",\r
5563     "xml": "<block atomic=\"true\">",\r
5564     "atomic": "true",\r
5565     "outputs": 1,\r
5566     "x": 4894.883056640625,\r
5567     "y": 4286.88330078125,\r
5568     "z": "1854297c.6f0f4f",\r
5569     "wires": [\r
5570       [\r
5571         "a5aad4b.a7f08a8",\r
5572         "7594985d.bdad18"\r
5573       ]\r
5574     ]\r
5575   },\r
5576   {\r
5577     "id": "7594985d.bdad18",\r
5578     "type": "set",\r
5579     "name": "unset tmp.aai.vpn-binding",\r
5580     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
5581     "comments": "",\r
5582     "x": 5096.8828125,\r
5583     "y": 4253.88330078125,\r
5584     "z": "1854297c.6f0f4f",\r
5585     "wires": []\r
5586   },\r
5587   {\r
5588     "id": "a04d2a4d.17b14",\r
5589     "type": "returnFailure",\r
5590     "name": "return failure",\r
5591     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5592     "comments": "",\r
5593     "x": 4780.88330078125,\r
5594     "y": 4463.883056640625,\r
5595     "z": "1854297c.6f0f4f",\r
5596     "wires": []\r
5597   },\r
5598   {\r
5599     "id": "3892fdc5.2518b2",\r
5600     "type": "returnFailure",\r
5601     "name": "return failure",\r
5602     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
5603     "comments": "",\r
5604     "x": 4777.9454345703125,\r
5605     "y": 4412.743072509766,\r
5606     "z": "1854297c.6f0f4f",\r
5607     "wires": []\r
5608   },\r
5609   {\r
5610     "id": "809a6f2e.e2cff",\r
5611     "type": "for",\r
5612     "name": "for each relationship",\r
5613     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.the-connectivity.relationship-list.relationship_length`' >\n",\r
5614     "comments": "",\r
5615     "outputs": 1,\r
5616     "x": 4360.883056640625,\r
5617     "y": 4286.88330078125,\r
5618     "z": "1854297c.6f0f4f",\r
5619     "wires": [\r
5620       [\r
5621         "663c1b4b.a64fcc"\r
5622       ]\r
5623     ]\r
5624   },\r
5625   {\r
5626     "id": "663c1b4b.a64fcc",\r
5627     "type": "switchNode",\r
5628     "name": "switch related-to",\r
5629     "xml": "<switch test='`$tmp.the-connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
5630     "comments": "",\r
5631     "outputs": 1,\r
5632     "x": 4565.883056640625,\r
5633     "y": 4286.88330078125,\r
5634     "z": "1854297c.6f0f4f",\r
5635     "wires": [\r
5636       [\r
5637         "4c765f5a.bea65"\r
5638       ]\r
5639     ]\r
5640   },\r
5641   {\r
5642     "id": "4c765f5a.bea65",\r
5643     "type": "outcome",\r
5644     "name": "vpn-binding",\r
5645     "xml": "<outcome value='vpn-binding'>\n",\r
5646     "comments": "",\r
5647     "outputs": 1,\r
5648     "x": 4731.883056640625,\r
5649     "y": 4286.88330078125,\r
5650     "z": "1854297c.6f0f4f",\r
5651     "wires": [\r
5652       [\r
5653         "f218f6e.d910588"\r
5654       ]\r
5655     ]\r
5656   },\r
5657   {\r
5658     "id": "a5aad4b.a7f08a8",\r
5659     "type": "save",\r
5660     "name": "get vpn-binding from aai",\r
5661     "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
5662     "comments": "",\r
5663     "outputs": 1,\r
5664     "x": 4403.883056640625,\r
5665     "y": 4364.88330078125,\r
5666     "z": "1854297c.6f0f4f",\r
5667     "wires": [\r
5668       [\r
5669         "6b0b4a54.7d0dd4",\r
5670         "c44b1722.eadf8",\r
5671         "30cd81de.fee396"\r
5672       ]\r
5673     ]\r
5674   },\r
5675   {\r
5676     "id": "6b0b4a54.7d0dd4",\r
5677     "type": "success",\r
5678     "name": "success",\r
5679     "xml": "<outcome value='success'>\n",\r
5680     "comments": "",\r
5681     "outputs": 1,\r
5682     "x": 4614.883056640625,\r
5683     "y": 4366.88330078125,\r
5684     "z": "1854297c.6f0f4f",\r
5685     "wires": [\r
5686       [\r
5687         "d1d7ad20.29b52"\r
5688       ]\r
5689     ]\r
5690   },\r
5691   {\r
5692     "id": "c44b1722.eadf8",\r
5693     "type": "not-found",\r
5694     "name": "not-found",\r
5695     "xml": "<outcome value='not-found'>\n",\r
5696     "comments": "",\r
5697     "outputs": 1,\r
5698     "x": 4615.3740234375,\r
5699     "y": 4412.457336425781,\r
5700     "z": "1854297c.6f0f4f",\r
5701     "wires": [\r
5702       [\r
5703         "3892fdc5.2518b2"\r
5704       ]\r
5705     ]\r
5706   },\r
5707   {\r
5708     "id": "30cd81de.fee396",\r
5709     "type": "failure",\r
5710     "name": "failure",\r
5711     "xml": "<outcome value='failure'>\n",\r
5712     "comments": "",\r
5713     "outputs": 1,\r
5714     "x": 4612.883056640625,\r
5715     "y": 4455.88330078125,\r
5716     "z": "1854297c.6f0f4f",\r
5717     "wires": [\r
5718       [\r
5719         "a04d2a4d.17b14"\r
5720       ]\r
5721     ]\r
5722   },\r
5723   {\r
5724     "id": "fd9ecd52.f0eec",\r
5725     "type": "save",\r
5726     "name": "get LEAF uni from aai",\r
5727     "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
5728     "comments": "",\r
5729     "outputs": 1,\r
5730     "x": 3647.883331298828,\r
5731     "y": 3249.883331298828,\r
5732     "z": "1854297c.6f0f4f",\r
5733     "wires": [\r
5734       [\r
5735         "3062cdfd.42c69a",\r
5736         "db9f52e5.d7dfa8",\r
5737         "aae84cfb.f1edc"\r
5738       ]\r
5739     ]\r
5740   },\r
5741   {\r
5742     "id": "db9f52e5.d7dfa8",\r
5743     "type": "not-found",\r
5744     "name": "not-found",\r
5745     "xml": "<outcome value='not-found'>\n",\r
5746     "comments": "",\r
5747     "outputs": 1,\r
5748     "x": 3875.374298095703,\r
5749     "y": 3222.457305908203,\r
5750     "z": "1854297c.6f0f4f",\r
5751     "wires": [\r
5752       [\r
5753         "557116c4.068f88"\r
5754       ]\r
5755     ]\r
5756   },\r
5757   {\r
5758     "id": "aae84cfb.f1edc",\r
5759     "type": "failure",\r
5760     "name": "failure",\r
5761     "xml": "<outcome value='failure'>\n",\r
5762     "comments": "",\r
5763     "outputs": 1,\r
5764     "x": 3870.883331298828,\r
5765     "y": 3266.883270263672,\r
5766     "z": "1854297c.6f0f4f",\r
5767     "wires": [\r
5768       [\r
5769         "270e15a6.70575a"\r
5770       ]\r
5771     ]\r
5772   },\r
5773   {\r
5774     "id": "557116c4.068f88",\r
5775     "type": "returnFailure",\r
5776     "name": "return failure",\r
5777     "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
5778     "comments": "",\r
5779     "x": 4037.945831298828,\r
5780     "y": 3221.7430114746094,\r
5781     "z": "1854297c.6f0f4f",\r
5782     "wires": []\r
5783   },\r
5784   {\r
5785     "id": "270e15a6.70575a",\r
5786     "type": "returnFailure",\r
5787     "name": "return failure",\r
5788     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5789     "comments": "",\r
5790     "x": 4038.883331298828,\r
5791     "y": 3266.883270263672,\r
5792     "z": "1854297c.6f0f4f",\r
5793     "wires": []\r
5794   },\r
5795   {\r
5796     "id": "3062cdfd.42c69a",\r
5797     "type": "success",\r
5798     "name": "success",\r
5799     "xml": "<outcome value='success'>\n",\r
5800     "comments": "",\r
5801     "outputs": 1,\r
5802     "x": 3882.883331298828,\r
5803     "y": 3316.883331298828,\r
5804     "z": "1854297c.6f0f4f",\r
5805     "wires": [\r
5806       [\r
5807         "58f27ca9.e6694c"\r
5808       ]\r
5809     ]\r
5810   },\r
5811   {\r
5812     "id": "d823dcb2.3ea1b",\r
5813     "type": "comment",\r
5814     "name": "Find LEAF and ROOT connectivity, then find vpn-bindings of each. adjust bw",\r
5815     "info": "",\r
5816     "comments": "",\r
5817     "x": 3772.7666625976562,\r
5818     "y": 3507.7666625976562,\r
5819     "z": "1854297c.6f0f4f",\r
5820     "wires": []\r
5821   },\r
5822   {\r
5823     "id": "a7eccb2d.bd2018",\r
5824     "type": "set",\r
5825     "name": "set current-provider-id and current-cvlan-id",\r
5826     "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
5827     "comments": "",\r
5828     "x": 3787.483428955078,\r
5829     "y": 3859.566680908203,\r
5830     "z": "1854297c.6f0f4f",\r
5831     "wires": []\r
5832   },\r
5833   {\r
5834     "id": "a53a5ddb.dd60f",\r
5835     "type": "call",\r
5836     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
5837     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
5838     "comments": "",\r
5839     "outputs": 1,\r
5840     "x": 3925.483428955078,\r
5841     "y": 3917.566680908203,\r
5842     "z": "1854297c.6f0f4f",\r
5843     "wires": [\r
5844       []\r
5845     ]\r
5846   },\r
5847   {\r
5848     "id": "892518e7.2c6e68",\r
5849     "type": "block",\r
5850     "name": "block : atomic",\r
5851     "xml": "<block atomic=\"true\">",\r
5852     "atomic": "true",\r
5853     "outputs": 1,\r
5854     "x": 3503.483428955078,\r
5855     "y": 3598.966583251953,\r
5856     "z": "1854297c.6f0f4f",\r
5857     "wires": [\r
5858       [\r
5859         "b4ed3622.c08",\r
5860         "c0c356fb.babc",\r
5861         "67daf127.7e6a38"\r
5862       ]\r
5863     ]\r
5864   },\r
5865   {\r
5866     "id": "fce3ea32.0915b",\r
5867     "type": "switchNode",\r
5868     "name": "switch found-connectivity?",\r
5869     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
5870     "comments": "",\r
5871     "outputs": 1,\r
5872     "x": 3744.483428955078,\r
5873     "y": 4027.366729736328,\r
5874     "z": "1854297c.6f0f4f",\r
5875     "wires": [\r
5876       [\r
5877         "fda5acc2.f20fe",\r
5878         "e480dda8.f10d98"\r
5879       ]\r
5880     ]\r
5881   },\r
5882   {\r
5883     "id": "fda5acc2.f20fe",\r
5884     "type": "outcomeFalse",\r
5885     "name": "false",\r
5886     "xml": "<outcome value='false'>\n",\r
5887     "comments": "",\r
5888     "outputs": 1,\r
5889     "x": 3937.483428955078,\r
5890     "y": 4028.366729736328,\r
5891     "z": "1854297c.6f0f4f",\r
5892     "wires": [\r
5893       [\r
5894         "90393c50.c5c688"\r
5895       ]\r
5896     ]\r
5897   },\r
5898   {\r
5899     "id": "e480dda8.f10d98",\r
5900     "type": "outcomeTrue",\r
5901     "name": "true",\r
5902     "xml": "<outcome value='true'>\n",\r
5903     "comments": "",\r
5904     "outputs": 1,\r
5905     "x": 3941.483428955078,\r
5906     "y": 4072.366729736328,\r
5907     "z": "1854297c.6f0f4f",\r
5908     "wires": [\r
5909       [\r
5910         "c7e0a8ee.d6f32"\r
5911       ]\r
5912     ]\r
5913   },\r
5914   {\r
5915     "id": "c7e0a8ee.d6f32",\r
5916     "type": "block",\r
5917     "name": "block : atomic",\r
5918     "xml": "<block atomic='true'>",\r
5919     "atomic": "true",\r
5920     "comments": "",\r
5921     "outputs": 1,\r
5922     "x": 4080.483428955078,\r
5923     "y": 4067.366729736328,\r
5924     "z": "1854297c.6f0f4f",\r
5925     "wires": [\r
5926       [\r
5927         "809a6f2e.e2cff"\r
5928       ]\r
5929     ]\r
5930   },\r
5931   {\r
5932     "id": "90393c50.c5c688",\r
5933     "type": "returnFailure",\r
5934     "name": "return failure",\r
5935     "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
5936     "comments": "",\r
5937     "x": 4081.483428955078,\r
5938     "y": 4024.566680908203,\r
5939     "z": "1854297c.6f0f4f",\r
5940     "wires": []\r
5941   },\r
5942   {\r
5943     "id": "36c28209.5e5a0e",\r
5944     "type": "switchNode",\r
5945     "name": "switch leafuni.data-source > gfp",\r
5946     "xml": "<switch test='`$tmp.aai.leafuni.data-source > $gfp`'>\n",\r
5947     "comments": "",\r
5948     "outputs": 1,\r
5949     "x": 4396.600372314453,\r
5950     "y": 3456.166778564453,\r
5951     "z": "1854297c.6f0f4f",\r
5952     "wires": [\r
5953       [\r
5954         "beb5c16.4204b4",\r
5955         "cf431e74.d4d548"\r
5956       ]\r
5957     ]\r
5958   },\r
5959   {\r
5960     "id": "beb5c16.4204b4",\r
5961     "type": "outcomeTrue",\r
5962     "name": "true",\r
5963     "xml": "<outcome value='true'>\n",\r
5964     "comments": "",\r
5965     "outputs": 1,\r
5966     "x": 4595.767364501953,\r
5967     "y": 3522.766632080078,\r
5968     "z": "1854297c.6f0f4f",\r
5969     "wires": [\r
5970       [\r
5971         "105d466c.be1d02"\r
5972       ]\r
5973     ]\r
5974   },\r
5975   {\r
5976     "id": "cf431e74.d4d548",\r
5977     "type": "outcomeFalse",\r
5978     "name": "false",\r
5979     "xml": "<outcome value='false'>\n",\r
5980     "comments": "",\r
5981     "outputs": 1,\r
5982     "x": 4617.767364501953,\r
5983     "y": 3367.766632080078,\r
5984     "z": "1854297c.6f0f4f",\r
5985     "wires": [\r
5986       [\r
5987         "8c32ddc1.dc0d4"\r
5988       ]\r
5989     ]\r
5990   },\r
5991   {\r
5992     "id": "b822f518.1b138",\r
5993     "type": "save",\r
5994     "name": "update LEAF UNI in AAI",\r
5995     "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
5996     "comments": "",\r
5997     "outputs": 1,\r
5998     "x": 4395.600372314453,\r
5999     "y": 3311.366729736328,\r
6000     "z": "1854297c.6f0f4f",\r
6001     "wires": [\r
6002       []\r
6003     ]\r
6004   },\r
6005   {\r
6006     "id": "3f7a0e0a.9d9b82",\r
6007     "type": "comment",\r
6008     "name": "update LEAF UNI with the new bw",\r
6009     "info": "",\r
6010     "comments": "",\r
6011     "x": 4411.767364501953,\r
6012     "y": 3264.766632080078,\r
6013     "z": "1854297c.6f0f4f",\r
6014     "wires": []\r
6015   },\r
6016   {\r
6017     "id": "fd150e87.231aa",\r
6018     "type": "comment",\r
6019     "name": "Update ROOT UNI's bw",\r
6020     "info": "",\r
6021     "comments": "",\r
6022     "x": 5080.533966064453,\r
6023     "y": 3241.766632080078,\r
6024     "z": "1854297c.6f0f4f",\r
6025     "wires": []\r
6026   },\r
6027   {\r
6028     "id": "c5a29e92.7207c",\r
6029     "type": "save",\r
6030     "name": "update ROOT UNI in AAI",\r
6031     "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
6032     "comments": "",\r
6033     "outputs": 1,\r
6034     "x": 5682.533966064453,\r
6035     "y": 3346.766632080078,\r
6036     "z": "1854297c.6f0f4f",\r
6037     "wires": [\r
6038       []\r
6039     ]\r
6040   },\r
6041   {\r
6042     "id": "be41e2f.9cfd32",\r
6043     "type": "save",\r
6044     "name": "get root uni from aai",\r
6045     "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
6046     "comments": "",\r
6047     "outputs": 1,\r
6048     "x": 5072.533721923828,\r
6049     "y": 3287.766632080078,\r
6050     "z": "1854297c.6f0f4f",\r
6051     "wires": [\r
6052       [\r
6053         "2e2379b.d7f7006",\r
6054         "db5acda.eac92b",\r
6055         "bc7f8b0.aa27df8"\r
6056       ]\r
6057     ]\r
6058   },\r
6059   {\r
6060     "id": "db5acda.eac92b",\r
6061     "type": "not-found",\r
6062     "name": "not-found",\r
6063     "xml": "<outcome value='not-found'>\n",\r
6064     "comments": "",\r
6065     "outputs": 1,\r
6066     "x": 5300.024688720703,\r
6067     "y": 3260.340606689453,\r
6068     "z": "1854297c.6f0f4f",\r
6069     "wires": [\r
6070       [\r
6071         "ac17b57a.282248"\r
6072       ]\r
6073     ]\r
6074   },\r
6075   {\r
6076     "id": "bc7f8b0.aa27df8",\r
6077     "type": "failure",\r
6078     "name": "failure",\r
6079     "xml": "<outcome value='failure'>\n",\r
6080     "comments": "",\r
6081     "outputs": 1,\r
6082     "x": 5295.533721923828,\r
6083     "y": 3304.766571044922,\r
6084     "z": "1854297c.6f0f4f",\r
6085     "wires": [\r
6086       [\r
6087         "57de8cb.81497f4"\r
6088       ]\r
6089     ]\r
6090   },\r
6091   {\r
6092     "id": "ac17b57a.282248",\r
6093     "type": "returnFailure",\r
6094     "name": "return failure",\r
6095     "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
6096     "comments": "",\r
6097     "x": 5462.596221923828,\r
6098     "y": 3259.6263122558594,\r
6099     "z": "1854297c.6f0f4f",\r
6100     "wires": []\r
6101   },\r
6102   {\r
6103     "id": "57de8cb.81497f4",\r
6104     "type": "returnFailure",\r
6105     "name": "return failure",\r
6106     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6107     "comments": "",\r
6108     "x": 5463.533721923828,\r
6109     "y": 3304.766571044922,\r
6110     "z": "1854297c.6f0f4f",\r
6111     "wires": []\r
6112   },\r
6113   {\r
6114     "id": "9014714c.903978",\r
6115     "type": "block",\r
6116     "name": "block : atomic",\r
6117     "xml": "<block atomic=\"true\">",\r
6118     "atomic": "true",\r
6119     "outputs": 1,\r
6120     "x": 5460.533721923828,\r
6121     "y": 3354.766632080078,\r
6122     "z": "1854297c.6f0f4f",\r
6123     "wires": [\r
6124       [\r
6125         "cb023eec.a5c808",\r
6126         "c5a29e92.7207c"\r
6127       ]\r
6128     ]\r
6129   },\r
6130   {\r
6131     "id": "2e2379b.d7f7006",\r
6132     "type": "success",\r
6133     "name": "success",\r
6134     "xml": "<outcome value='success'>\n",\r
6135     "comments": "",\r
6136     "outputs": 1,\r
6137     "x": 5291.533721923828,\r
6138     "y": 3354.766632080078,\r
6139     "z": "1854297c.6f0f4f",\r
6140     "wires": [\r
6141       [\r
6142         "9014714c.903978"\r
6143       ]\r
6144     ]\r
6145   },\r
6146   {\r
6147     "id": "cb023eec.a5c808",\r
6148     "type": "set",\r
6149     "name": "set new bw",\r
6150     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $tmp.delta`' />\n",\r
6151     "comments": "",\r
6152     "x": 5642.534454345703,\r
6153     "y": 3296.766632080078,\r
6154     "z": "1854297c.6f0f4f",\r
6155     "wires": []\r
6156   },\r
6157   {\r
6158     "id": "6d766032.1486b8",\r
6159     "type": "comment",\r
6160     "name": "bw+ has increased ",\r
6161     "info": "",\r
6162     "comments": "",\r
6163     "x": 4609.766662597656,\r
6164     "y": 3329.7666625976562,\r
6165     "z": "1854297c.6f0f4f",\r
6166     "wires": []\r
6167   },\r
6168   {\r
6169     "id": "56336637.740a88",\r
6170     "type": "comment",\r
6171     "name": "bw- has decreased",\r
6172     "info": "",\r
6173     "comments": "",\r
6174     "x": 4608.600372314453,\r
6175     "y": 3486.566680908203,\r
6176     "z": "1854297c.6f0f4f",\r
6177     "wires": []\r
6178   },\r
6179   {\r
6180     "id": "e142830c.8ce718",\r
6181     "type": "comment",\r
6182     "name": "Update ROOT UNI's bw",\r
6183     "info": "",\r
6184     "comments": "",\r
6185     "x": 5057.600372314453,\r
6186     "y": 3444.566680908203,\r
6187     "z": "1854297c.6f0f4f",\r
6188     "wires": []\r
6189   },\r
6190   {\r
6191     "id": "253cc252.2e7476",\r
6192     "type": "save",\r
6193     "name": "update ROOT UNI in AAI",\r
6194     "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
6195     "comments": "",\r
6196     "outputs": 1,\r
6197     "x": 5659.600372314453,\r
6198     "y": 3549.566680908203,\r
6199     "z": "1854297c.6f0f4f",\r
6200     "wires": [\r
6201       []\r
6202     ]\r
6203   },\r
6204   {\r
6205     "id": "e936a38f.06f2b",\r
6206     "type": "save",\r
6207     "name": "get root uni from aai",\r
6208     "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
6209     "comments": "",\r
6210     "outputs": 1,\r
6211     "x": 5049.600128173828,\r
6212     "y": 3490.566680908203,\r
6213     "z": "1854297c.6f0f4f",\r
6214     "wires": [\r
6215       [\r
6216         "6f1b7a54.b4f3a4",\r
6217         "7ba2b9f4.ea954",\r
6218         "c55de303.d0cb4"\r
6219       ]\r
6220     ]\r
6221   },\r
6222   {\r
6223     "id": "7ba2b9f4.ea954",\r
6224     "type": "not-found",\r
6225     "name": "not-found",\r
6226     "xml": "<outcome value='not-found'>\n",\r
6227     "comments": "",\r
6228     "outputs": 1,\r
6229     "x": 5277.091094970703,\r
6230     "y": 3463.140655517578,\r
6231     "z": "1854297c.6f0f4f",\r
6232     "wires": [\r
6233       [\r
6234         "426bf991.15b6a8"\r
6235       ]\r
6236     ]\r
6237   },\r
6238   {\r
6239     "id": "c55de303.d0cb4",\r
6240     "type": "failure",\r
6241     "name": "failure",\r
6242     "xml": "<outcome value='failure'>\n",\r
6243     "comments": "",\r
6244     "outputs": 1,\r
6245     "x": 5272.600128173828,\r
6246     "y": 3507.566619873047,\r
6247     "z": "1854297c.6f0f4f",\r
6248     "wires": [\r
6249       [\r
6250         "fe0c112c.8fb4f"\r
6251       ]\r
6252     ]\r
6253   },\r
6254   {\r
6255     "id": "426bf991.15b6a8",\r
6256     "type": "returnFailure",\r
6257     "name": "return failure",\r
6258     "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
6259     "comments": "",\r
6260     "x": 5439.662628173828,\r
6261     "y": 3462.4263610839844,\r
6262     "z": "1854297c.6f0f4f",\r
6263     "wires": []\r
6264   },\r
6265   {\r
6266     "id": "fe0c112c.8fb4f",\r
6267     "type": "returnFailure",\r
6268     "name": "return failure",\r
6269     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6270     "comments": "",\r
6271     "x": 5440.600128173828,\r
6272     "y": 3507.566619873047,\r
6273     "z": "1854297c.6f0f4f",\r
6274     "wires": []\r
6275   },\r
6276   {\r
6277     "id": "4702676.988cf18",\r
6278     "type": "block",\r
6279     "name": "block : atomic",\r
6280     "xml": "<block atomic=\"true\">",\r
6281     "atomic": "true",\r
6282     "outputs": 1,\r
6283     "x": 5437.600128173828,\r
6284     "y": 3557.566680908203,\r
6285     "z": "1854297c.6f0f4f",\r
6286     "wires": [\r
6287       [\r
6288         "2f82a117.e4a2be",\r
6289         "253cc252.2e7476"\r
6290       ]\r
6291     ]\r
6292   },\r
6293   {\r
6294     "id": "6f1b7a54.b4f3a4",\r
6295     "type": "success",\r
6296     "name": "success",\r
6297     "xml": "<outcome value='success'>\n",\r
6298     "comments": "",\r
6299     "outputs": 1,\r
6300     "x": 5268.600128173828,\r
6301     "y": 3557.566680908203,\r
6302     "z": "1854297c.6f0f4f",\r
6303     "wires": [\r
6304       [\r
6305         "4702676.988cf18"\r
6306       ]\r
6307     ]\r
6308   },\r
6309   {\r
6310     "id": "2f82a117.e4a2be",\r
6311     "type": "set",\r
6312     "name": "set new bw",\r
6313     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source - $tmp.delta`' />\n",\r
6314     "comments": "",\r
6315     "x": 5619.600860595703,\r
6316     "y": 3499.566680908203,\r
6317     "z": "1854297c.6f0f4f",\r
6318     "wires": []\r
6319   },\r
6320   {\r
6321     "id": "f5580ce3.db6eb8",\r
6322     "type": "set",\r
6323     "name": "set delta",\r
6324     "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
6325     "comments": "",\r
6326     "x": 4974.600128173828,\r
6327     "y": 3403.566680908203,\r
6328     "z": "1854297c.6f0f4f",\r
6329     "wires": []\r
6330   },\r
6331   {\r
6332     "id": "105d466c.be1d02",\r
6333     "type": "block",\r
6334     "name": "block",\r
6335     "xml": "<block>\n",\r
6336     "atomic": "false",\r
6337     "comments": "",\r
6338     "outputs": 1,\r
6339     "x": 4767.766662597656,\r
6340     "y": 3511.7666625976562,\r
6341     "z": "1854297c.6f0f4f",\r
6342     "wires": [\r
6343       [\r
6344         "f5580ce3.db6eb8",\r
6345         "e936a38f.06f2b"\r
6346       ]\r
6347     ]\r
6348   },\r
6349   {\r
6350     "id": "8c32ddc1.dc0d4",\r
6351     "type": "block",\r
6352     "name": "block",\r
6353     "xml": "<block>\n",\r
6354     "atomic": "false",\r
6355     "comments": "",\r
6356     "outputs": 1,\r
6357     "x": 4788.500030517578,\r
6358     "y": 3338.566680908203,\r
6359     "z": "1854297c.6f0f4f",\r
6360     "wires": [\r
6361       [\r
6362         "b0b6c683.a43628",\r
6363         "be41e2f.9cfd32"\r
6364       ]\r
6365     ]\r
6366   },\r
6367   {\r
6368     "id": "b0b6c683.a43628",\r
6369     "type": "set",\r
6370     "name": "set delta",\r
6371     "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
6372     "comments": "",\r
6373     "x": 4987.333526611328,\r
6374     "y": 3156.366729736328,\r
6375     "z": "1854297c.6f0f4f",\r
6376     "wires": []\r
6377   },\r
6378   {\r
6379     "id": "c2cf98a5.f5859",\r
6380     "type": "comment",\r
6381     "name": "Update ROOT UNI's bw",\r
6382     "info": "",\r
6383     "comments": "",\r
6384     "x": 4382.649932861328,\r
6385     "y": 3411.566680908203,\r
6386     "z": "1854297c.6f0f4f",\r
6387     "wires": []\r
6388   },\r
6389   {\r
6390     "id": "53815df2.f3fe8c",\r
6391     "type": "call",\r
6392     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
6393     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
6394     "comments": "",\r
6395     "outputs": 1,\r
6396     "x": 3884.9833984375,\r
6397     "y": 4190.3671875,\r
6398     "z": "1854297c.6f0f4f",\r
6399     "wires": [\r
6400       []\r
6401     ]\r
6402   },\r
6403   {\r
6404     "id": "1f65c294.737a2d",\r
6405     "type": "switchNode",\r
6406     "name": "switch found-root-connectivity",\r
6407     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
6408     "comments": "",\r
6409     "outputs": 1,\r
6410     "x": 3719.9833984375,\r
6411     "y": 4262.567138671875,\r
6412     "z": "1854297c.6f0f4f",\r
6413     "wires": [\r
6414       [\r
6415         "d304f78f.a9e16",\r
6416         "fe02c5f8.83fd58"\r
6417       ]\r
6418     ]\r
6419   },\r
6420   {\r
6421     "id": "d304f78f.a9e16",\r
6422     "type": "outcomeTrue",\r
6423     "name": "true",\r
6424     "xml": "<outcome value='true'>\n",\r
6425     "comments": "",\r
6426     "outputs": 1,\r
6427     "x": 3930.9833984375,\r
6428     "y": 4262.567138671875,\r
6429     "z": "1854297c.6f0f4f",\r
6430     "wires": [\r
6431       [\r
6432         "632bbee5.d51fe8"\r
6433       ]\r
6434     ]\r
6435   },\r
6436   {\r
6437     "id": "fe02c5f8.83fd58",\r
6438     "type": "outcomeFalse",\r
6439     "name": "false",\r
6440     "xml": "<outcome value='false'>\n",\r
6441     "comments": "",\r
6442     "outputs": 1,\r
6443     "x": 3926.9833984375,\r
6444     "y": 4310.567138671875,\r
6445     "z": "1854297c.6f0f4f",\r
6446     "wires": [\r
6447       [\r
6448         "670f8deb.e1038c"\r
6449       ]\r
6450     ]\r
6451   },\r
6452   {\r
6453     "id": "632bbee5.d51fe8",\r
6454     "type": "block",\r
6455     "name": "block : atomic",\r
6456     "xml": "<block atomic='true'>",\r
6457     "atomic": "true",\r
6458     "comments": "",\r
6459     "outputs": 1,\r
6460     "x": 4086.9833984375,\r
6461     "y": 4258.567138671875,\r
6462     "z": "1854297c.6f0f4f",\r
6463     "wires": [\r
6464       [\r
6465         "e27123aa.cc28d"\r
6466       ]\r
6467     ]\r
6468   },\r
6469   {\r
6470     "id": "670f8deb.e1038c",\r
6471     "type": "returnFailure",\r
6472     "name": "return failure",\r
6473     "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
6474     "comments": "",\r
6475     "x": 4074.9833984375,\r
6476     "y": 4305.567138671875,\r
6477     "z": "1854297c.6f0f4f",\r
6478     "wires": []\r
6479   },\r
6480   {\r
6481     "id": "88c84935.d74a7",\r
6482     "type": "block",\r
6483     "name": "block : atomic",\r
6484     "xml": "<block atomic=\"true\">",\r
6485     "atomic": "true",\r
6486     "outputs": 1,\r
6487     "x": 4927.949493408203,\r
6488     "y": 4572.765899658203,\r
6489     "z": "1854297c.6f0f4f",\r
6490     "wires": [\r
6491       [\r
6492         "c788c95c.77178",\r
6493         "1fda418f.a21f6e"\r
6494       ]\r
6495     ]\r
6496   },\r
6497   {\r
6498     "id": "1fda418f.a21f6e",\r
6499     "type": "set",\r
6500     "name": "unset tmp.aai.vpn-binding",\r
6501     "xml": "<set>\n<parameter name='tmp.aai.vpn-binding.' value='' />\n",\r
6502     "comments": "",\r
6503     "x": 5170.949737548828,\r
6504     "y": 4541.765899658203,\r
6505     "z": "1854297c.6f0f4f",\r
6506     "wires": []\r
6507   },\r
6508   {\r
6509     "id": "bffc0dc9.a62e08",\r
6510     "type": "block",\r
6511     "name": "block : atomic",\r
6512     "xml": "<block atomic=\"true\">",\r
6513     "atomic": "true",\r
6514     "outputs": 1,\r
6515     "x": 4787.949493408203,\r
6516     "y": 4682.765899658203,\r
6517     "z": "1854297c.6f0f4f",\r
6518     "wires": [\r
6519       [\r
6520         "1b45b5a2.80df72"\r
6521       ]\r
6522     ]\r
6523   },\r
6524   {\r
6525     "id": "5a207984.9538",\r
6526     "type": "returnFailure",\r
6527     "name": "return failure",\r
6528     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
6529     "comments": "",\r
6530     "x": 4775.949737548828,\r
6531     "y": 4775.766143798828,\r
6532     "z": "1854297c.6f0f4f",\r
6533     "wires": []\r
6534   },\r
6535   {\r
6536     "id": "ff47d1c6.a1d1",\r
6537     "type": "returnFailure",\r
6538     "name": "return failure",\r
6539     "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
6540     "comments": "",\r
6541     "x": 4778.011871337891,\r
6542     "y": 4730.625671386719,\r
6543     "z": "1854297c.6f0f4f",\r
6544     "wires": []\r
6545   },\r
6546   {\r
6547     "id": "e27123aa.cc28d",\r
6548     "type": "for",\r
6549     "name": "for each relationship",\r
6550     "xml": "<for silentFailure='true' index='cridx' start='0' end='`$tmp.aai.ROOT.connectivity.relationship-list.relationship_length`' >\n",\r
6551     "comments": "",\r
6552     "outputs": 1,\r
6553     "x": 4393.949493408203,\r
6554     "y": 4572.765899658203,\r
6555     "z": "1854297c.6f0f4f",\r
6556     "wires": [\r
6557       [\r
6558         "bdd7e518.23e34"\r
6559       ]\r
6560     ]\r
6561   },\r
6562   {\r
6563     "id": "bdd7e518.23e34",\r
6564     "type": "switchNode",\r
6565     "name": "switch related-to",\r
6566     "xml": "<switch test='`$tmp.aai.ROOT.connectivity.relationship-list.relationship[$cridx].related-to`'>\n",\r
6567     "comments": "",\r
6568     "outputs": 1,\r
6569     "x": 4598.949493408203,\r
6570     "y": 4572.765899658203,\r
6571     "z": "1854297c.6f0f4f",\r
6572     "wires": [\r
6573       [\r
6574         "e5bca59.0771c58"\r
6575       ]\r
6576     ]\r
6577   },\r
6578   {\r
6579     "id": "e5bca59.0771c58",\r
6580     "type": "outcome",\r
6581     "name": "vpn-binding",\r
6582     "xml": "<outcome value='vpn-binding'>\n",\r
6583     "comments": "",\r
6584     "outputs": 1,\r
6585     "x": 4764.949493408203,\r
6586     "y": 4572.765899658203,\r
6587     "z": "1854297c.6f0f4f",\r
6588     "wires": [\r
6589       [\r
6590         "88c84935.d74a7"\r
6591       ]\r
6592     ]\r
6593   },\r
6594   {\r
6595     "id": "c788c95c.77178",\r
6596     "type": "save",\r
6597     "name": "get vpn-binding from aai",\r
6598     "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
6599     "comments": "",\r
6600     "outputs": 1,\r
6601     "x": 4403.949493408203,\r
6602     "y": 4682.765899658203,\r
6603     "z": "1854297c.6f0f4f",\r
6604     "wires": [\r
6605       [\r
6606         "9cbfda8d.34d6e8",\r
6607         "7093291a.080b6",\r
6608         "8f2c4a9c.eaf89"\r
6609       ]\r
6610     ]\r
6611   },\r
6612   {\r
6613     "id": "9cbfda8d.34d6e8",\r
6614     "type": "success",\r
6615     "name": "success",\r
6616     "xml": "<outcome value='success'>\n",\r
6617     "comments": "",\r
6618     "outputs": 1,\r
6619     "x": 4614.949493408203,\r
6620     "y": 4684.765899658203,\r
6621     "z": "1854297c.6f0f4f",\r
6622     "wires": [\r
6623       [\r
6624         "bffc0dc9.a62e08"\r
6625       ]\r
6626     ]\r
6627   },\r
6628   {\r
6629     "id": "7093291a.080b6",\r
6630     "type": "not-found",\r
6631     "name": "not-found",\r
6632     "xml": "<outcome value='not-found'>\n",\r
6633     "comments": "",\r
6634     "outputs": 1,\r
6635     "x": 4615.440460205078,\r
6636     "y": 4730.339935302734,\r
6637     "z": "1854297c.6f0f4f",\r
6638     "wires": [\r
6639       [\r
6640         "ff47d1c6.a1d1"\r
6641       ]\r
6642     ]\r
6643   },\r
6644   {\r
6645     "id": "8f2c4a9c.eaf89",\r
6646     "type": "failure",\r
6647     "name": "failure",\r
6648     "xml": "<outcome value='failure'>\n",\r
6649     "comments": "",\r
6650     "outputs": 1,\r
6651     "x": 4612.949493408203,\r
6652     "y": 4773.765899658203,\r
6653     "z": "1854297c.6f0f4f",\r
6654     "wires": [\r
6655       [\r
6656         "5a207984.9538"\r
6657       ]\r
6658     ]\r
6659   },\r
6660   {\r
6661     "id": "31c1ab24.2782c4",\r
6662     "type": "comment",\r
6663     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
6664     "info": "",\r
6665     "comments": "",\r
6666     "x": 6023.766387939453,\r
6667     "y": 7071.966827392578,\r
6668     "z": "1854297c.6f0f4f",\r
6669     "wires": []\r
6670   },\r
6671   {\r
6672     "id": "3272cf3c.df27d8",\r
6673     "type": "comment",\r
6674     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
6675     "info": "",\r
6676     "comments": "",\r
6677     "x": 5292.2333984375,\r
6678     "y": 4303.16650390625,\r
6679     "z": "1854297c.6f0f4f",\r
6680     "wires": []\r
6681   },\r
6682   {\r
6683     "id": "d1d7ad20.29b52",\r
6684     "type": "block",\r
6685     "name": "block : atomic",\r
6686     "xml": "<block atomic='true'>",\r
6687     "atomic": "true",\r
6688     "comments": "",\r
6689     "outputs": 1,\r
6690     "x": 4794.233642578125,\r
6691     "y": 4369.16650390625,\r
6692     "z": "1854297c.6f0f4f",\r
6693     "wires": [\r
6694       []\r
6695     ]\r
6696   },\r
6697   {\r
6698     "id": "3f823260.f76936",\r
6699     "type": "switchNode",\r
6700     "name": "switch ops-note is srcTtpOtnLayer",\r
6701     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
6702     "comments": "",\r
6703     "outputs": 1,\r
6704     "x": 5325.2333984375,\r
6705     "y": 4371.16650390625,\r
6706     "z": "1854297c.6f0f4f",\r
6707     "wires": [\r
6708       [\r
6709         "de937f43.9aff7",\r
6710         "af59f95b.0de0c8"\r
6711       ]\r
6712     ]\r
6713   },\r
6714   {\r
6715     "id": "de937f43.9aff7",\r
6716     "type": "outcomeTrue",\r
6717     "name": "true",\r
6718     "xml": "<outcome value='true'>\n",\r
6719     "comments": "",\r
6720     "outputs": 1,\r
6721     "x": 5450.2333984375,\r
6722     "y": 4269.166259765625,\r
6723     "z": "1854297c.6f0f4f",\r
6724     "wires": [\r
6725       [\r
6726         "31c7669e.9273ea"\r
6727       ]\r
6728     ]\r
6729   },\r
6730   {\r
6731     "id": "af59f95b.0de0c8",\r
6732     "type": "outcomeFalse",\r
6733     "name": "false",\r
6734     "xml": "<outcome value='false'>\n",\r
6735     "comments": "",\r
6736     "outputs": 1,\r
6737     "x": 5569.233428955078,\r
6738     "y": 4343.166290283203,\r
6739     "z": "1854297c.6f0f4f",\r
6740     "wires": [\r
6741       []\r
6742     ]\r
6743   },\r
6744   {\r
6745     "id": "361b2cba.676744",\r
6746     "type": "set",\r
6747     "name": "set srcTtp OTN layer",\r
6748     "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
6749     "comments": "",\r
6750     "x": 4537.916534423828,\r
6751     "y": 3914.883331298828,\r
6752     "z": "1854297c.6f0f4f",\r
6753     "wires": []\r
6754   },\r
6755   {\r
6756     "id": "37ee69b4.cc11f6",\r
6757     "type": "switchNode",\r
6758     "name": "switch provider-id domainA",\r
6759     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
6760     "comments": "",\r
6761     "outputs": 1,\r
6762     "x": 4882.916534423828,\r
6763     "y": 3776.883331298828,\r
6764     "z": "1854297c.6f0f4f",\r
6765     "wires": [\r
6766       [\r
6767         "35c1fec6.57172a"\r
6768       ]\r
6769     ]\r
6770   },\r
6771   {\r
6772     "id": "a8388031.3aed68",\r
6773     "type": "for",\r
6774     "name": "for netwidx..allNetworksList_length",\r
6775     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
6776     "comments": "",\r
6777     "outputs": 1,\r
6778     "x": 4589.916534423828,\r
6779     "y": 3770.883331298828,\r
6780     "z": "1854297c.6f0f4f",\r
6781     "wires": [\r
6782       [\r
6783         "37ee69b4.cc11f6"\r
6784       ]\r
6785     ]\r
6786   },\r
6787   {\r
6788     "id": "a8458e1d.db654",\r
6789     "type": "not-found",\r
6790     "name": "not-found",\r
6791     "xml": "<outcome value='not-found'>\n",\r
6792     "comments": "",\r
6793     "outputs": 1,\r
6794     "x": 4844.916534423828,\r
6795     "y": 3727.883331298828,\r
6796     "z": "1854297c.6f0f4f",\r
6797     "wires": [\r
6798       []\r
6799     ]\r
6800   },\r
6801   {\r
6802     "id": "f592965f.32c0e8",\r
6803     "type": "set",\r
6804     "name": "unset parameters",\r
6805     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
6806     "comments": "",\r
6807     "x": 4533.916534423828,\r
6808     "y": 3822.883331298828,\r
6809     "z": "1854297c.6f0f4f",\r
6810     "wires": []\r
6811   },\r
6812   {\r
6813     "id": "5ddf33c1.65a594",\r
6814     "type": "set",\r
6815     "name": "set tmp.pce-src-node",\r
6816     "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
6817     "comments": "",\r
6818     "x": 4541.916534423828,\r
6819     "y": 3867.883331298828,\r
6820     "z": "1854297c.6f0f4f",\r
6821     "wires": []\r
6822   },\r
6823   {\r
6824     "id": "76b17a13.8ea0bc",\r
6825     "type": "set",\r
6826     "name": "unset otnTopoIdSrc",\r
6827     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
6828     "comments": "",\r
6829     "x": 4538.916534423828,\r
6830     "y": 3720.883331298828,\r
6831     "z": "1854297c.6f0f4f",\r
6832     "wires": []\r
6833   },\r
6834   {\r
6835     "id": "35c1fec6.57172a",\r
6836     "type": "outcomeTrue",\r
6837     "name": "true",\r
6838     "xml": "<outcome value='true'>\n",\r
6839     "comments": "",\r
6840     "outputs": 1,\r
6841     "x": 4791.916534423828,\r
6842     "y": 3844.883331298828,\r
6843     "z": "1854297c.6f0f4f",\r
6844     "wires": [\r
6845       [\r
6846         "a725ab73.c73ac"\r
6847       ]\r
6848     ]\r
6849   },\r
6850   {\r
6851     "id": "a725ab73.c73ac",\r
6852     "type": "switchNode",\r
6853     "name": "switch te-topo-id",\r
6854     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
6855     "comments": "",\r
6856     "outputs": 1,\r
6857     "x": 4976.916534423828,\r
6858     "y": 3843.883331298828,\r
6859     "z": "1854297c.6f0f4f",\r
6860     "wires": [\r
6861       [\r
6862         "d15b8b2d.be0c58"\r
6863       ]\r
6864     ]\r
6865   },\r
6866   {\r
6867     "id": "d15b8b2d.be0c58",\r
6868     "type": "outcomeTrue",\r
6869     "name": "true",\r
6870     "xml": "<outcome value='true'>\n",\r
6871     "comments": "",\r
6872     "outputs": 1,\r
6873     "x": 5168.916534423828,\r
6874     "y": 3846.883331298828,\r
6875     "z": "1854297c.6f0f4f",\r
6876     "wires": [\r
6877       [\r
6878         "8eebb571.fd6c9"\r
6879       ]\r
6880     ]\r
6881   },\r
6882   {\r
6883     "id": "8eebb571.fd6c9",\r
6884     "type": "set",\r
6885     "name": "set otnTopoIdSrc",\r
6886     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
6887     "comments": "",\r
6888     "x": 5340.916534423828,\r
6889     "y": 3842.883331298828,\r
6890     "z": "1854297c.6f0f4f",\r
6891     "wires": []\r
6892   },\r
6893   {\r
6894     "id": "4b7e80ea.96d268",\r
6895     "type": "call",\r
6896     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
6897     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
6898     "comments": "",\r
6899     "outputs": 1,\r
6900     "x": 4716.916534423828,\r
6901     "y": 3957.883331298828,\r
6902     "z": "1854297c.6f0f4f",\r
6903     "wires": [\r
6904       []\r
6905     ]\r
6906   },\r
6907   {\r
6908     "id": "b4ed3622.c08",\r
6909     "type": "block",\r
6910     "name": "block",\r
6911     "xml": "<block>\n",\r
6912     "atomic": "false",\r
6913     "comments": "",\r
6914     "outputs": 1,\r
6915     "x": 4233.916534423828,\r
6916     "y": 3742.883331298828,\r
6917     "z": "1854297c.6f0f4f",\r
6918     "wires": [\r
6919       [\r
6920         "26ef8b2b.34003c",\r
6921         "269ffcd4.c70e7c",\r
6922         "f592965f.32c0e8",\r
6923         "5ddf33c1.65a594",\r
6924         "361b2cba.676744",\r
6925         "a8388031.3aed68",\r
6926         "4b7e80ea.96d268"\r
6927       ]\r
6928     ]\r
6929   },\r
6930   {\r
6931     "id": "ce279396.ecc818",\r
6932     "type": "comment",\r
6933     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
6934     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
6935     "comments": "",\r
6936     "x": 4218.916534423828,\r
6937     "y": 3676.883331298828,\r
6938     "z": "1854297c.6f0f4f",\r
6939     "wires": []\r
6940   },\r
6941   {\r
6942     "id": "269ffcd4.c70e7c",\r
6943     "type": "get-resource",\r
6944     "name": "get-resource network-resources-list",\r
6945     "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
6946     "comments": "",\r
6947     "outputs": 1,\r
6948     "x": 4597.916534423828,\r
6949     "y": 3663.883331298828,\r
6950     "z": "1854297c.6f0f4f",\r
6951     "wires": [\r
6952       [\r
6953         "2b1251d3.218d36",\r
6954         "69b1ddc7.bc8184",\r
6955         "a8458e1d.db654"\r
6956       ]\r
6957     ]\r
6958   },\r
6959   {\r
6960     "id": "2b1251d3.218d36",\r
6961     "type": "success",\r
6962     "name": "success",\r
6963     "xml": "<outcome value='success'>\n",\r
6964     "comments": "",\r
6965     "outputs": 1,\r
6966     "x": 4833.916534423828,\r
6967     "y": 3646.883331298828,\r
6968     "z": "1854297c.6f0f4f",\r
6969     "wires": [\r
6970       []\r
6971     ]\r
6972   },\r
6973   {\r
6974     "id": "69b1ddc7.bc8184",\r
6975     "type": "other",\r
6976     "name": "other",\r
6977     "xml": "<outcome value='Other'>\n",\r
6978     "comments": "",\r
6979     "outputs": 1,\r
6980     "x": 4830.916534423828,\r
6981     "y": 3687.883331298828,\r
6982     "z": "1854297c.6f0f4f",\r
6983     "wires": [\r
6984       []\r
6985     ]\r
6986   },\r
6987   {\r
6988     "id": "26ef8b2b.34003c",\r
6989     "type": "set",\r
6990     "name": "unset parameters",\r
6991     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
6992     "comments": "",\r
6993     "x": 4546.916534423828,\r
6994     "y": 3620.883331298828,\r
6995     "z": "1854297c.6f0f4f",\r
6996     "wires": []\r
6997   },\r
6998   {\r
6999     "id": "a7d12ef0.b4e948",\r
7000     "type": "comment",\r
7001     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
7002     "info": "",\r
7003     "comments": "",\r
7004     "x": 5276.316436767578,\r
7005     "y": 4670.283233642578,\r
7006     "z": "1854297c.6f0f4f",\r
7007     "wires": []\r
7008   },\r
7009   {\r
7010     "id": "1b45b5a2.80df72",\r
7011     "type": "block",\r
7012     "name": "block : atomic",\r
7013     "xml": "<block atomic='true'>",\r
7014     "atomic": "true",\r
7015     "comments": "",\r
7016     "outputs": 1,\r
7017     "x": 5065.316436767578,\r
7018     "y": 4732.283233642578,\r
7019     "z": "1854297c.6f0f4f",\r
7020     "wires": [\r
7021       [\r
7022         "ed1b64d5.33faa"\r
7023       ]\r
7024     ]\r
7025   },\r
7026   {\r
7027     "id": "ed1b64d5.33faa",\r
7028     "type": "switchNode",\r
7029     "name": "switch ops-note is srcTtpOtnLayer",\r
7030     "xml": "<switch test=\"`$tmp.aai.vpn-binding.ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
7031     "comments": "",\r
7032     "outputs": 1,\r
7033     "x": 5309.316436767578,\r
7034     "y": 4738.283233642578,\r
7035     "z": "1854297c.6f0f4f",\r
7036     "wires": [\r
7037       [\r
7038         "230e8d7f.cf5b82",\r
7039         "8c0eb7af.7df34"\r
7040       ]\r
7041     ]\r
7042   },\r
7043   {\r
7044     "id": "230e8d7f.cf5b82",\r
7045     "type": "outcomeTrue",\r
7046     "name": "true",\r
7047     "xml": "<outcome value='true'>\n",\r
7048     "comments": "",\r
7049     "outputs": 1,\r
7050     "x": 5540.316436767578,\r
7051     "y": 4716.283233642578,\r
7052     "z": "1854297c.6f0f4f",\r
7053     "wires": [\r
7054       [\r
7055         "626950bd.12ae3"\r
7056       ]\r
7057     ]\r
7058   },\r
7059   {\r
7060     "id": "8c0eb7af.7df34",\r
7061     "type": "outcomeFalse",\r
7062     "name": "false",\r
7063     "xml": "<outcome value='false'>\n",\r
7064     "comments": "",\r
7065     "outputs": 1,\r
7066     "x": 5545.316436767578,\r
7067     "y": 4783.283233642578,\r
7068     "z": "1854297c.6f0f4f",\r
7069     "wires": [\r
7070       []\r
7071     ]\r
7072   },\r
7073   {\r
7074     "id": "a8be8ed1.6d85c",\r
7075     "type": "switchNode",\r
7076     "name": "switch tmp.isBwIncreased",\r
7077     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
7078     "comments": "",\r
7079     "outputs": 1,\r
7080     "x": 5794.2001953125,\r
7081     "y": 4280.965576171875,\r
7082     "z": "1854297c.6f0f4f",\r
7083     "wires": [\r
7084       [\r
7085         "5f515b8.97d0aa4",\r
7086         "e3c5fe18.dd7758"\r
7087       ]\r
7088     ]\r
7089   },\r
7090   {\r
7091     "id": "5f515b8.97d0aa4",\r
7092     "type": "outcomeTrue",\r
7093     "name": "true",\r
7094     "xml": "<outcome value='true'>\n",\r
7095     "comments": "",\r
7096     "outputs": 1,\r
7097     "x": 5949.200225830078,\r
7098     "y": 4208.965850830078,\r
7099     "z": "1854297c.6f0f4f",\r
7100     "wires": [\r
7101       [\r
7102         "b9ddbbac.4ceb18"\r
7103       ]\r
7104     ]\r
7105   },\r
7106   {\r
7107     "id": "e3c5fe18.dd7758",\r
7108     "type": "outcomeFalse",\r
7109     "name": "false",\r
7110     "xml": "<outcome value='false'>\n",\r
7111     "comments": "",\r
7112     "outputs": 1,\r
7113     "x": 5950.200225830078,\r
7114     "y": 4341.965850830078,\r
7115     "z": "1854297c.6f0f4f",\r
7116     "wires": [\r
7117       [\r
7118         "7f4f722.c77710c"\r
7119       ]\r
7120     ]\r
7121   },\r
7122   {\r
7123     "id": "b9ddbbac.4ceb18",\r
7124     "type": "block",\r
7125     "name": "block : atomic",\r
7126     "xml": "<block atomic='true'>",\r
7127     "atomic": "true",\r
7128     "comments": "",\r
7129     "outputs": 1,\r
7130     "x": 6094.200225830078,\r
7131     "y": 4208.966094970703,\r
7132     "z": "1854297c.6f0f4f",\r
7133     "wires": [\r
7134       [\r
7135         "c99d2def.311358",\r
7136         "6bec6ba7.e1cedc"\r
7137       ]\r
7138     ]\r
7139   },\r
7140   {\r
7141     "id": "c99d2def.311358",\r
7142     "type": "save",\r
7143     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7144     "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
7145     "comments": "",\r
7146     "outputs": 1,\r
7147     "x": 6387.200225830078,\r
7148     "y": 4186.965850830078,\r
7149     "z": "1854297c.6f0f4f",\r
7150     "wires": [\r
7151       []\r
7152     ]\r
7153   },\r
7154   {\r
7155     "id": "6bec6ba7.e1cedc",\r
7156     "type": "save",\r
7157     "name": "update connectivity resource in AAI",\r
7158     "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
7159     "comments": "",\r
7160     "outputs": 1,\r
7161     "x": 6338.850128173828,\r
7162     "y": 4234.282745361328,\r
7163     "z": "1854297c.6f0f4f",\r
7164     "wires": [\r
7165       []\r
7166     ]\r
7167   },\r
7168   {\r
7169     "id": "9711fbcd.9495e8",\r
7170     "type": "comment",\r
7171     "name": "increase the bw of the-vpn-binding and change status to modified",\r
7172     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
7173     "comments": "",\r
7174     "x": 6412.2001953125,\r
7175     "y": 4135.965576171875,\r
7176     "z": "1854297c.6f0f4f",\r
7177     "wires": []\r
7178   },\r
7179   {\r
7180     "id": "7f4f722.c77710c",\r
7181     "type": "block",\r
7182     "name": "block : atomic",\r
7183     "xml": "<block atomic='true'>",\r
7184     "atomic": "true",\r
7185     "comments": "",\r
7186     "outputs": 1,\r
7187     "x": 6106.200225830078,\r
7188     "y": 4340.966094970703,\r
7189     "z": "1854297c.6f0f4f",\r
7190     "wires": [\r
7191       [\r
7192         "59431729.1fb158",\r
7193         "1fc311b.d897f6e"\r
7194       ]\r
7195     ]\r
7196   },\r
7197   {\r
7198     "id": "59431729.1fb158",\r
7199     "type": "save",\r
7200     "name": "update the-vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7201     "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
7202     "comments": "",\r
7203     "outputs": 1,\r
7204     "x": 6399.200225830078,\r
7205     "y": 4318.965850830078,\r
7206     "z": "1854297c.6f0f4f",\r
7207     "wires": [\r
7208       []\r
7209     ]\r
7210   },\r
7211   {\r
7212     "id": "1fc311b.d897f6e",\r
7213     "type": "save",\r
7214     "name": "update connectivity resource in AAI",\r
7215     "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
7216     "comments": "",\r
7217     "outputs": 1,\r
7218     "x": 6350.850128173828,\r
7219     "y": 4366.282745361328,\r
7220     "z": "1854297c.6f0f4f",\r
7221     "wires": [\r
7222       []\r
7223     ]\r
7224   },\r
7225   {\r
7226     "id": "1617355e.191edb",\r
7227     "type": "comment",\r
7228     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
7229     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
7230     "comments": "",\r
7231     "x": 6423.200225830078,\r
7232     "y": 4279.965850830078,\r
7233     "z": "1854297c.6f0f4f",\r
7234     "wires": []\r
7235   },\r
7236   {\r
7237     "id": "626950bd.12ae3",\r
7238     "type": "switchNode",\r
7239     "name": "switch tmp.isBwIncreased",\r
7240     "xml": "<switch test=\"`$tmp.isBwIncreased`\">\n\n",\r
7241     "comments": "",\r
7242     "outputs": 1,\r
7243     "x": 5745.433135986328,\r
7244     "y": 4723.166534423828,\r
7245     "z": "1854297c.6f0f4f",\r
7246     "wires": [\r
7247       [\r
7248         "a17c6b6f.2c879",\r
7249         "a4050844.87c708"\r
7250       ]\r
7251     ]\r
7252   },\r
7253   {\r
7254     "id": "a17c6b6f.2c879",\r
7255     "type": "outcomeTrue",\r
7256     "name": "true",\r
7257     "xml": "<outcome value='true'>\n",\r
7258     "comments": "",\r
7259     "outputs": 1,\r
7260     "x": 5940.433135986328,\r
7261     "y": 4651.166534423828,\r
7262     "z": "1854297c.6f0f4f",\r
7263     "wires": [\r
7264       [\r
7265         "cccf95aa.d66d78"\r
7266       ]\r
7267     ]\r
7268   },\r
7269   {\r
7270     "id": "a4050844.87c708",\r
7271     "type": "outcomeFalse",\r
7272     "name": "false",\r
7273     "xml": "<outcome value='false'>\n",\r
7274     "comments": "",\r
7275     "outputs": 1,\r
7276     "x": 5941.433135986328,\r
7277     "y": 4784.166534423828,\r
7278     "z": "1854297c.6f0f4f",\r
7279     "wires": [\r
7280       [\r
7281         "90ce4884.5c53c8"\r
7282       ]\r
7283     ]\r
7284   },\r
7285   {\r
7286     "id": "cccf95aa.d66d78",\r
7287     "type": "block",\r
7288     "name": "block : atomic",\r
7289     "xml": "<block atomic='true'>",\r
7290     "atomic": "true",\r
7291     "comments": "",\r
7292     "outputs": 1,\r
7293     "x": 6085.433135986328,\r
7294     "y": 4651.166778564453,\r
7295     "z": "1854297c.6f0f4f",\r
7296     "wires": [\r
7297       [\r
7298         "c37b260.db0c1d8",\r
7299         "742aa3a0.c04704"\r
7300       ]\r
7301     ]\r
7302   },\r
7303   {\r
7304     "id": "c37b260.db0c1d8",\r
7305     "type": "save",\r
7306     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7307     "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
7308     "comments": "",\r
7309     "outputs": 1,\r
7310     "x": 6378.433135986328,\r
7311     "y": 4629.166534423828,\r
7312     "z": "1854297c.6f0f4f",\r
7313     "wires": [\r
7314       []\r
7315     ]\r
7316   },\r
7317   {\r
7318     "id": "742aa3a0.c04704",\r
7319     "type": "save",\r
7320     "name": "update connectivity resource in AAI",\r
7321     "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
7322     "comments": "",\r
7323     "outputs": 1,\r
7324     "x": 6330.083038330078,\r
7325     "y": 4676.483428955078,\r
7326     "z": "1854297c.6f0f4f",\r
7327     "wires": [\r
7328       []\r
7329     ]\r
7330   },\r
7331   {\r
7332     "id": "5708f1c2.de612",\r
7333     "type": "comment",\r
7334     "name": "increase the bw of the-vpn-binding and change status to modified",\r
7335     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
7336     "comments": "",\r
7337     "x": 6402.433135986328,\r
7338     "y": 4590.166534423828,\r
7339     "z": "1854297c.6f0f4f",\r
7340     "wires": []\r
7341   },\r
7342   {\r
7343     "id": "90ce4884.5c53c8",\r
7344     "type": "block",\r
7345     "name": "block : atomic",\r
7346     "xml": "<block atomic='true'>",\r
7347     "atomic": "true",\r
7348     "comments": "",\r
7349     "outputs": 1,\r
7350     "x": 6097.433135986328,\r
7351     "y": 4783.166778564453,\r
7352     "z": "1854297c.6f0f4f",\r
7353     "wires": [\r
7354       [\r
7355         "9bebcf2c.a35908",\r
7356         "bf7ecccc.77e158"\r
7357       ]\r
7358     ]\r
7359   },\r
7360   {\r
7361     "id": "9bebcf2c.a35908",\r
7362     "type": "save",\r
7363     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
7364     "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
7365     "comments": "",\r
7366     "outputs": 1,\r
7367     "x": 6390.433135986328,\r
7368     "y": 4761.166534423828,\r
7369     "z": "1854297c.6f0f4f",\r
7370     "wires": [\r
7371       []\r
7372     ]\r
7373   },\r
7374   {\r
7375     "id": "bf7ecccc.77e158",\r
7376     "type": "save",\r
7377     "name": "update connectivity resource in AAI",\r
7378     "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
7379     "comments": "",\r
7380     "outputs": 1,\r
7381     "x": 6342.083038330078,\r
7382     "y": 4808.483428955078,\r
7383     "z": "1854297c.6f0f4f",\r
7384     "wires": [\r
7385       []\r
7386     ]\r
7387   },\r
7388   {\r
7389     "id": "898aa8ca.144488",\r
7390     "type": "comment",\r
7391     "name": "decrease the bw of the-vpn-binding and change status to modified",\r
7392     "info": "decrease the bw of the-vpn-binding\nchange status to modified\n",\r
7393     "comments": "",\r
7394     "x": 6414.433135986328,\r
7395     "y": 4722.166534423828,\r
7396     "z": "1854297c.6f0f4f",\r
7397     "wires": []\r
7398   },\r
7399   {\r
7400     "id": "3302d733.17cb08",\r
7401     "type": "comment",\r
7402     "name": "Update connectivity status to modified",\r
7403     "info": "",\r
7404     "comments": "",\r
7405     "x": 5153.283233642578,\r
7406     "y": 5463.366729736328,\r
7407     "z": "1854297c.6f0f4f",\r
7408     "wires": []\r
7409   },\r
7410   {\r
7411     "id": "c4bba10e.ae5948",\r
7412     "type": "save",\r
7413     "name": "update connectivity resource in AAI",\r
7414     "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
7415     "comments": "",\r
7416     "outputs": 1,\r
7417     "x": 5151.066436767578,\r
7418     "y": 5503.566925048828,\r
7419     "z": "1854297c.6f0f4f",\r
7420     "wires": [\r
7421       []\r
7422     ]\r
7423   },\r
7424   {\r
7425     "id": "fba1ca00.18c228",\r
7426     "type": "comment",\r
7427     "name": "Update connectivity status to modified",\r
7428     "info": "",\r
7429     "comments": "",\r
7430     "x": 5026.316680908203,\r
7431     "y": 5688.049835205078,\r
7432     "z": "1854297c.6f0f4f",\r
7433     "wires": []\r
7434   },\r
7435   {\r
7436     "id": "bc2e1526.9ae628",\r
7437     "type": "save",\r
7438     "name": "update connectivity resource in AAI",\r
7439     "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
7440     "comments": "",\r
7441     "outputs": 1,\r
7442     "x": 5024.099884033203,\r
7443     "y": 5728.250030517578,\r
7444     "z": "1854297c.6f0f4f",\r
7445     "wires": [\r
7446       []\r
7447     ]\r
7448   },\r
7449   {\r
7450     "id": "c14b3eb1.3ce2b",\r
7451     "type": "call",\r
7452     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
7453     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
7454     "comments": "",\r
7455     "outputs": 1,\r
7456     "x": 5128.433135986328,\r
7457     "y": 6171.166534423828,\r
7458     "z": "1854297c.6f0f4f",\r
7459     "wires": [\r
7460       []\r
7461     ]\r
7462   },\r
7463   {\r
7464     "id": "78d24bb0.4c8ea4",\r
7465     "type": "switchNode",\r
7466     "name": "switch found-root-connectivity",\r
7467     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
7468     "comments": "",\r
7469     "outputs": 1,\r
7470     "x": 4955.433135986328,\r
7471     "y": 6228.166534423828,\r
7472     "z": "1854297c.6f0f4f",\r
7473     "wires": [\r
7474       [\r
7475         "8d0d07ba.6f81c8",\r
7476         "4ae3fa7f.c7968c"\r
7477       ]\r
7478     ]\r
7479   },\r
7480   {\r
7481     "id": "8d0d07ba.6f81c8",\r
7482     "type": "outcomeTrue",\r
7483     "name": "true",\r
7484     "xml": "<outcome value='true'>\n",\r
7485     "comments": "",\r
7486     "outputs": 1,\r
7487     "x": 5166.433135986328,\r
7488     "y": 6228.166534423828,\r
7489     "z": "1854297c.6f0f4f",\r
7490     "wires": [\r
7491       [\r
7492         "7c55c647.3c8228"\r
7493       ]\r
7494     ]\r
7495   },\r
7496   {\r
7497     "id": "4ae3fa7f.c7968c",\r
7498     "type": "outcomeFalse",\r
7499     "name": "false",\r
7500     "xml": "<outcome value='false'>\n",\r
7501     "comments": "",\r
7502     "outputs": 1,\r
7503     "x": 5162.433135986328,\r
7504     "y": 6276.166534423828,\r
7505     "z": "1854297c.6f0f4f",\r
7506     "wires": [\r
7507       [\r
7508         "2e757361.f3de2c"\r
7509       ]\r
7510     ]\r
7511   },\r
7512   {\r
7513     "id": "7c55c647.3c8228",\r
7514     "type": "block",\r
7515     "name": "block : atomic",\r
7516     "xml": "<block atomic='true'>",\r
7517     "atomic": "true",\r
7518     "comments": "",\r
7519     "outputs": 1,\r
7520     "x": 5322.433135986328,\r
7521     "y": 6224.166534423828,\r
7522     "z": "1854297c.6f0f4f",\r
7523     "wires": [\r
7524       [\r
7525         "2cbacdde.26f332",\r
7526         "94ab2e80.b69ba8",\r
7527         "d5533498.f6f7f"\r
7528       ]\r
7529     ]\r
7530   },\r
7531   {\r
7532     "id": "2e757361.f3de2c",\r
7533     "type": "returnFailure",\r
7534     "name": "return failure",\r
7535     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
7536     "comments": "",\r
7537     "x": 5310.433135986328,\r
7538     "y": 6271.166534423828,\r
7539     "z": "1854297c.6f0f4f",\r
7540     "wires": []\r
7541   },\r
7542   {\r
7543     "id": "510063da.63ac6c",\r
7544     "type": "comment",\r
7545     "name": "Update connectivity status to modified",\r
7546     "info": "",\r
7547     "comments": "",\r
7548     "x": 5588.316925048828,\r
7549     "y": 6324.049835205078,\r
7550     "z": "1854297c.6f0f4f",\r
7551     "wires": []\r
7552   },\r
7553   {\r
7554     "id": "d5533498.f6f7f",\r
7555     "type": "save",\r
7556     "name": "update connectivity resource in AAI",\r
7557     "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
7558     "comments": "",\r
7559     "outputs": 1,\r
7560     "x": 5586.100128173828,\r
7561     "y": 6364.250030517578,\r
7562     "z": "1854297c.6f0f4f",\r
7563     "wires": [\r
7564       []\r
7565     ]\r
7566   },\r
7567   {\r
7568     "id": "94ab2e80.b69ba8",\r
7569     "type": "save",\r
7570     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7571     "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
7572     "comments": "",\r
7573     "outputs": 1,\r
7574     "x": 5705.433135986328,\r
7575     "y": 6276.166534423828,\r
7576     "z": "1854297c.6f0f4f",\r
7577     "wires": [\r
7578       []\r
7579     ]\r
7580   },\r
7581   {\r
7582     "id": "2cbacdde.26f332",\r
7583     "type": "set",\r
7584     "name": "set prop.connectivity-domainB-uuid",\r
7585     "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
7586     "comments": "",\r
7587     "x": 5576.433135986328,\r
7588     "y": 6224.166534423828,\r
7589     "z": "1854297c.6f0f4f",\r
7590     "wires": []\r
7591   },\r
7592   {\r
7593     "id": "d8a0b134.770b1",\r
7594     "type": "comment",\r
7595     "name": "populate connectivity-B variable in the context map",\r
7596     "info": "",\r
7597     "comments": "",\r
7598     "x": 5017.433135986328,\r
7599     "y": 6129.166534423828,\r
7600     "z": "1854297c.6f0f4f",\r
7601     "wires": []\r
7602   },\r
7603   {\r
7604     "id": "54a65e87.65172",\r
7605     "type": "block",\r
7606     "name": "block",\r
7607     "xml": "<block>\n",\r
7608     "atomic": "false",\r
7609     "comments": "",\r
7610     "outputs": 1,\r
7611     "x": 4724.766143798828,\r
7612     "y": 6211.166534423828,\r
7613     "z": "1854297c.6f0f4f",\r
7614     "wires": [\r
7615       [\r
7616         "c14b3eb1.3ce2b",\r
7617         "78d24bb0.4c8ea4"\r
7618       ]\r
7619     ]\r
7620   },\r
7621   {\r
7622     "id": "11c77751.f259a1",\r
7623     "type": "save",\r
7624     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7625     "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
7626     "comments": "",\r
7627     "outputs": 1,\r
7628     "x": 5003.516632080078,\r
7629     "y": 6526.166534423828,\r
7630     "z": "1854297c.6f0f4f",\r
7631     "wires": [\r
7632       []\r
7633     ]\r
7634   },\r
7635   {\r
7636     "id": "7eabc766.dd7c8",\r
7637     "type": "comment",\r
7638     "name": "TODO: BUG -- DONE",\r
7639     "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
7640     "comments": "",\r
7641     "x": 3708.8837890625,\r
7642     "y": 3802.88330078125,\r
7643     "z": "1854297c.6f0f4f",\r
7644     "wires": []\r
7645   },\r
7646   {\r
7647     "id": "c0c356fb.babc",\r
7648     "type": "save",\r
7649     "name": "get all-vpn-bindings from aai",\r
7650     "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
7651     "comments": "",\r
7652     "outputs": 1,\r
7653     "x": 4461.4169921875,\r
7654     "y": 4077,\r
7655     "z": "1854297c.6f0f4f",\r
7656     "wires": [\r
7657       [\r
7658         "b8196ee9.4b3808",\r
7659         "80c1418b.2150d8",\r
7660         "56405931.8c65f8"\r
7661       ]\r
7662     ]\r
7663   },\r
7664   {\r
7665     "id": "eb18f7d.31abf88",\r
7666     "type": "comment",\r
7667     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
7668     "info": "",\r
7669     "comments": "",\r
7670     "x": 4569.417236328125,\r
7671     "y": 4033,\r
7672     "z": "1854297c.6f0f4f",\r
7673     "wires": []\r
7674   },\r
7675   {\r
7676     "id": "b8196ee9.4b3808",\r
7677     "type": "success",\r
7678     "name": "success",\r
7679     "xml": "<outcome value='success'>\n",\r
7680     "comments": "",\r
7681     "outputs": 1,\r
7682     "x": 4666.4169921875,\r
7683     "y": 4074,\r
7684     "z": "1854297c.6f0f4f",\r
7685     "wires": [\r
7686       [\r
7687         "9aacf189.24898"\r
7688       ]\r
7689     ]\r
7690   },\r
7691   {\r
7692     "id": "80c1418b.2150d8",\r
7693     "type": "not-found",\r
7694     "name": "not-found",\r
7695     "xml": "<outcome value='not-found'>\n",\r
7696     "comments": "",\r
7697     "outputs": 1,\r
7698     "x": 4649.907958984375,\r
7699     "y": 4135.574035644531,\r
7700     "z": "1854297c.6f0f4f",\r
7701     "wires": [\r
7702       [\r
7703         "de469de6.448a8"\r
7704       ]\r
7705     ]\r
7706   },\r
7707   {\r
7708     "id": "56405931.8c65f8",\r
7709     "type": "failure",\r
7710     "name": "failure",\r
7711     "xml": "<outcome value='failure'>\n",\r
7712     "comments": "",\r
7713     "outputs": 1,\r
7714     "x": 4647.4169921875,\r
7715     "y": 4179,\r
7716     "z": "1854297c.6f0f4f",\r
7717     "wires": [\r
7718       [\r
7719         "6c1db7b.a15c7c8"\r
7720       ]\r
7721     ]\r
7722   },\r
7723   {\r
7724     "id": "9aacf189.24898",\r
7725     "type": "block",\r
7726     "name": "block : atomic",\r
7727     "xml": "<block atomic=\"true\">",\r
7728     "atomic": "true",\r
7729     "outputs": 1,\r
7730     "x": 4834.417236328125,\r
7731     "y": 4069,\r
7732     "z": "1854297c.6f0f4f",\r
7733     "wires": [\r
7734       [\r
7735         "3b0478b5.ff78"\r
7736       ]\r
7737     ]\r
7738   },\r
7739   {\r
7740     "id": "de469de6.448a8",\r
7741     "type": "returnFailure",\r
7742     "name": "return failure",\r
7743     "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
7744     "comments": "",\r
7745     "x": 4812.4793701171875,\r
7746     "y": 4135.859771728516,\r
7747     "z": "1854297c.6f0f4f",\r
7748     "wires": []\r
7749   },\r
7750   {\r
7751     "id": "6c1db7b.a15c7c8",\r
7752     "type": "returnFailure",\r
7753     "name": "return failure",\r
7754     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7755     "comments": "",\r
7756     "x": 4814.4169921875,\r
7757     "y": 4178,\r
7758     "z": "1854297c.6f0f4f",\r
7759     "wires": []\r
7760   },\r
7761   {\r
7762     "id": "3b0478b5.ff78",\r
7763     "type": "for",\r
7764     "name": "for vpnidx in all-vpn-bindings",\r
7765     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
7766     "comments": "",\r
7767     "outputs": 1,\r
7768     "x": 5072.417236328125,\r
7769     "y": 4074,\r
7770     "z": "1854297c.6f0f4f",\r
7771     "wires": [\r
7772       [\r
7773         "b59112.09635ef"\r
7774       ]\r
7775     ]\r
7776   },\r
7777   {\r
7778     "id": "b59112.09635ef",\r
7779     "type": "block",\r
7780     "name": "block : atomic",\r
7781     "xml": "<block atomic='true'>",\r
7782     "atomic": "true",\r
7783     "comments": "",\r
7784     "outputs": 1,\r
7785     "x": 5306.4169921875,\r
7786     "y": 4081,\r
7787     "z": "1854297c.6f0f4f",\r
7788     "wires": [\r
7789       [\r
7790         "3f823260.f76936"\r
7791       ]\r
7792     ]\r
7793   },\r
7794   {\r
7795     "id": "67daf127.7e6a38",\r
7796     "type": "set",\r
7797     "name": "unset tmp.aai.all-vpn-bindings",\r
7798     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
7799     "comments": "",\r
7800     "x": 4440.11669921875,\r
7801     "y": 4003,\r
7802     "z": "1854297c.6f0f4f",\r
7803     "wires": []\r
7804   },\r
7805   {\r
7806     "id": "11444ec1.8e4d01",\r
7807     "type": "for",\r
7808     "name": "for each relationship",\r
7809     "xml": "<for silentFailure='true' index='vpnbridx' start='0' end='`$tmp.aai.the-vpn-binding.relationship-list.relationship_length`' >\n",\r
7810     "comments": "",\r
7811     "outputs": 1,\r
7812     "x": 5723.2666015625,\r
7813     "y": 4091.5830078125,\r
7814     "z": "1854297c.6f0f4f",\r
7815     "wires": [\r
7816       [\r
7817         "f98d1d31.14c4f8"\r
7818       ]\r
7819     ]\r
7820   },\r
7821   {\r
7822     "id": "f98d1d31.14c4f8",\r
7823     "type": "switchNode",\r
7824     "name": "switch related-to",\r
7825     "xml": "<switch test='`$tmp.aai.the-vpn-binding.relationship-list.relationship[$vpnbridx].related-to`'>\n",\r
7826     "comments": "",\r
7827     "outputs": 1,\r
7828     "x": 5915.2666015625,\r
7829     "y": 4080.583251953125,\r
7830     "z": "1854297c.6f0f4f",\r
7831     "wires": [\r
7832       [\r
7833         "894c5e31.55f348"\r
7834       ]\r
7835     ]\r
7836   },\r
7837   {\r
7838     "id": "894c5e31.55f348",\r
7839     "type": "outcome",\r
7840     "name": "connectivity",\r
7841     "xml": "<outcome value='connectivity'>\n",\r
7842     "comments": "",\r
7843     "outputs": 1,\r
7844     "x": 6097.2666015625,\r
7845     "y": 4059.583251953125,\r
7846     "z": "1854297c.6f0f4f",\r
7847     "wires": [\r
7848       [\r
7849         "2837af93.7fedb8"\r
7850       ]\r
7851     ]\r
7852   },\r
7853   {\r
7854     "id": "2837af93.7fedb8",\r
7855     "type": "block",\r
7856     "name": "block : atomic",\r
7857     "xml": "<block atomic=\"true\">",\r
7858     "atomic": "true",\r
7859     "outputs": 1,\r
7860     "x": 6259.2666015625,\r
7861     "y": 4048.583251953125,\r
7862     "z": "1854297c.6f0f4f",\r
7863     "wires": [\r
7864       [\r
7865         "75575304.c30724",\r
7866         "fb102e8c.f8d02"\r
7867       ]\r
7868     ]\r
7869   },\r
7870   {\r
7871     "id": "75575304.c30724",\r
7872     "type": "set",\r
7873     "name": "unset tmp.the-connectivity",\r
7874     "xml": "<set>\n<parameter name='tmp.the-connectivity.' value='' />\n",\r
7875     "comments": "",\r
7876     "x": 6456.2666015625,\r
7877     "y": 3977.583251953125,\r
7878     "z": "1854297c.6f0f4f",\r
7879     "wires": []\r
7880   },\r
7881   {\r
7882     "id": "812bc4de.8330d",\r
7883     "type": "block",\r
7884     "name": "block : atomic",\r
7885     "xml": "<block atomic='true'>",\r
7886     "atomic": "true",\r
7887     "comments": "",\r
7888     "outputs": 1,\r
7889     "x": 5630.216796875,\r
7890     "y": 4206.5830078125,\r
7891     "z": "1854297c.6f0f4f",\r
7892     "wires": [\r
7893       [\r
7894         "a8be8ed1.6d85c",\r
7895         "11444ec1.8e4d01",\r
7896         "7f9cffe2.08c768",\r
7897         "8c2c4043.586498"\r
7898       ]\r
7899     ]\r
7900   },\r
7901   {\r
7902     "id": "7f9cffe2.08c768",\r
7903     "type": "set",\r
7904     "name": "unset tmp.aai.the-vpn-binding",\r
7905     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
7906     "comments": "",\r
7907     "x": 5761.783203125,\r
7908     "y": 3981.800048828125,\r
7909     "z": "1854297c.6f0f4f",\r
7910     "wires": []\r
7911   },\r
7912   {\r
7913     "id": "8c2c4043.586498",\r
7914     "type": "set",\r
7915     "name": "set tmp.aai.the-vpn-binding",\r
7916     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
7917     "comments": "",\r
7918     "x": 5753.783203125,\r
7919     "y": 4030.800048828125,\r
7920     "z": "1854297c.6f0f4f",\r
7921     "wires": []\r
7922   },\r
7923   {\r
7924     "id": "fb102e8c.f8d02",\r
7925     "type": "set",\r
7926     "name": "set tmp.the-connectivity.connectivity-id",\r
7927     "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
7928     "comments": "",\r
7929     "x": 6461.7333984375,\r
7930     "y": 4086.800048828125,\r
7931     "z": "1854297c.6f0f4f",\r
7932     "wires": []\r
7933   },\r
7934   {\r
7935     "id": "a9133f1b.8373c8",\r
7936     "type": "set",\r
7937     "name": "set vpnNameToSearch",\r
7938     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
7939     "comments": "",\r
7940     "x": 5755,\r
7941     "y": 3805,\r
7942     "z": "1854297c.6f0f4f",\r
7943     "wires": []\r
7944   },\r
7945   {\r
7946     "id": "4b95d87b.bccc58",\r
7947     "type": "call",\r
7948     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
7949     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
7950     "comments": "",\r
7951     "outputs": 1,\r
7952     "x": 5909,\r
7953     "y": 3857,\r
7954     "z": "1854297c.6f0f4f",\r
7955     "wires": [\r
7956       []\r
7957     ]\r
7958   },\r
7959   {\r
7960     "id": "31c7669e.9273ea",\r
7961     "type": "block",\r
7962     "name": "block : atomic",\r
7963     "xml": "<block atomic='true'>",\r
7964     "atomic": "true",\r
7965     "comments": "",\r
7966     "outputs": 1,\r
7967     "x": 5500,\r
7968     "y": 3924,\r
7969     "z": "1854297c.6f0f4f",\r
7970     "wires": [\r
7971       [\r
7972         "4b95d87b.bccc58",\r
7973         "26b17ecc.f40902",\r
7974         "a9133f1b.8373c8"\r
7975       ]\r
7976     ]\r
7977   },\r
7978   {\r
7979     "id": "26b17ecc.f40902",\r
7980     "type": "switchNode",\r
7981     "name": "switch $foundVpnName",\r
7982     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
7983     "comments": "",\r
7984     "outputs": 1,\r
7985     "x": 5754,\r
7986     "y": 3912,\r
7987     "z": "1854297c.6f0f4f",\r
7988     "wires": [\r
7989       [\r
7990         "245d39b1.fcc7b6"\r
7991       ]\r
7992     ]\r
7993   },\r
7994   {\r
7995     "id": "245d39b1.fcc7b6",\r
7996     "type": "outcomeTrue",\r
7997     "name": "true",\r
7998     "xml": "<outcome value='true'>\n",\r
7999     "comments": "",\r
8000     "outputs": 1,\r
8001     "x": 5933,\r
8002     "y": 3911,\r
8003     "z": "1854297c.6f0f4f",\r
8004     "wires": [\r
8005       [\r
8006         "812bc4de.8330d"\r
8007       ]\r
8008     ]\r
8009   },\r
8010   {\r
8011     "id": "2f3de295.447b1e",\r
8012     "type": "block",\r
8013     "name": "block : atomic",\r
8014     "xml": "<block atomic='true'>",\r
8015     "atomic": "true",\r
8016     "comments": "",\r
8017     "outputs": 1,\r
8018     "x": 4631,\r
8019     "y": 7429,\r
8020     "z": "1854297c.6f0f4f",\r
8021     "wires": [\r
8022       [\r
8023         "48382561.04ccdc",\r
8024         "a0fe64b2.d649a",\r
8025         "3a51bb36.70835c"\r
8026       ]\r
8027     ]\r
8028   },\r
8029   {\r
8030     "id": "3a51bb36.70835c",\r
8031     "type": "set",\r
8032     "name": "set vpnNameToSearch",\r
8033     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
8034     "comments": "",\r
8035     "x": 4854,\r
8036     "y": 7373,\r
8037     "z": "1854297c.6f0f4f",\r
8038     "wires": []\r
8039   },\r
8040   {\r
8041     "id": "48382561.04ccdc",\r
8042     "type": "call",\r
8043     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
8044     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
8045     "comments": "",\r
8046     "outputs": 1,\r
8047     "x": 5033,\r
8048     "y": 7416,\r
8049     "z": "1854297c.6f0f4f",\r
8050     "wires": [\r
8051       []\r
8052     ]\r
8053   },\r
8054   {\r
8055     "id": "a0fe64b2.d649a",\r
8056     "type": "switchNode",\r
8057     "name": "switch $foundVpnName",\r
8058     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
8059     "comments": "",\r
8060     "outputs": 1,\r
8061     "x": 4878,\r
8062     "y": 7471,\r
8063     "z": "1854297c.6f0f4f",\r
8064     "wires": [\r
8065       [\r
8066         "e761a2b0.d43cc"\r
8067       ]\r
8068     ]\r
8069   },\r
8070   {\r
8071     "id": "e761a2b0.d43cc",\r
8072     "type": "outcomeTrue",\r
8073     "name": "true",\r
8074     "xml": "<outcome value='true'>\n",\r
8075     "comments": "",\r
8076     "outputs": 1,\r
8077     "x": 5057,\r
8078     "y": 7470,\r
8079     "z": "1854297c.6f0f4f",\r
8080     "wires": [\r
8081       [\r
8082         "ed22a86b.d791b8"\r
8083       ]\r
8084     ]\r
8085   },\r
8086   {\r
8087     "id": "9efae615.dd5ab",\r
8088     "type": "set",\r
8089     "name": "unset tmp.aai.all-vpn-bindings",\r
8090     "xml": "<set>\n<parameter name='tmp.aai.all-vpn-bindings.' value='' />\n",\r
8091     "comments": "",\r
8092     "x": 4788,\r
8093     "y": 7109,\r
8094     "z": "1854297c.6f0f4f",\r
8095     "wires": []\r
8096   }\r
8097 ]