c1b37ce6c7eaedddbd5c216dad72db25264aba5e
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
1 [\r
2   {\r
3     "id": "458f4ac.c4718b4",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 134.88333129882812,\r
8     "y": 96.88333129882812,\r
9     "z": "4456793a.59a288",\r
10     "wires": [\r
11       [\r
12         "2b796419.174294"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "2b796419.174294",\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": 419.1690216064453,\r
26     "y": 158.12143993377686,\r
27     "z": "4456793a.59a288",\r
28     "wires": [\r
29       [\r
30         "81638429.4a926"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "81638429.4a926",\r
36     "type": "method",\r
37     "name": "method cll-vnf-topology-operation-cll-create-clean",\r
38     "xml": "<method rpc='cll-vnf-topology-operation-cll-create-clean' mode='sync'>\n",\r
39     "comments": "",\r
40     "outputs": 1,\r
41     "x": 425.3119354248047,\r
42     "y": 242.88336181640625,\r
43     "z": "4456793a.59a288",\r
44     "wires": [\r
45       [\r
46         "49ee9c33.493f7c"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "49ee9c33.493f7c",\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": 774.8833312988281,\r
58     "y": 301.8833312988281,\r
59     "z": "4456793a.59a288",\r
60     "wires": [\r
61       [\r
62         "a4831915.5eaaa",\r
63         "7639e853.9511c8",\r
64         "a54eb7d5.3629"\r
65       ]\r
66     ]\r
67   },\r
68   {\r
69     "id": "a4831915.5eaaa",\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": 1076.2168273925781,\r
75     "y": 572.8136291503906,\r
76     "z": "4456793a.59a288",\r
77     "wires": []\r
78   },\r
79   {\r
80     "id": "7639e853.9511c8",\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": 1097.6452941894531,\r
87     "y": 275.2166442871094,\r
88     "z": "4456793a.59a288",\r
89     "wires": [\r
90       [\r
91         "46a7c921.f80be8",\r
92         "fa1c1252.bcac98",\r
93         "22347b09.105eec"\r
94       ]\r
95     ]\r
96   },\r
97   {\r
98     "id": "46a7c921.f80be8",\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": 1322.6452941894531,\r
105     "y": 133.21664428710938,\r
106     "z": "4456793a.59a288",\r
107     "wires": [\r
108       [\r
109         "f818b9cf.ba44c"\r
110       ]\r
111     ]\r
112   },\r
113   {\r
114     "id": "fa1c1252.bcac98",\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": 1318.1362609863281,\r
121     "y": 202.79067993164062,\r
122     "z": "4456793a.59a288",\r
123     "wires": [\r
124       [\r
125         "7ac2bf1b.1c3bb8"\r
126       ]\r
127     ]\r
128   },\r
129   {\r
130     "id": "22347b09.105eec",\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": 1306.6452941894531,\r
137     "y": 249.21664428710938,\r
138     "z": "4456793a.59a288",\r
139     "wires": [\r
140       [\r
141         "9932a9c7.205738"\r
142       ]\r
143     ]\r
144   },\r
145   {\r
146     "id": "3db9725e.eccbce",\r
147     "type": "comment",\r
148     "name": "new for TransportSlicing",\r
149     "info": "",\r
150     "comments": "",\r
151     "x": 1076.6452941894531,\r
152     "y": 163.21664428710938,\r
153     "z": "4456793a.59a288",\r
154     "wires": []\r
155   },\r
156   {\r
157     "id": "a54eb7d5.3629",\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": 1064.6452941894531,\r
164     "y": 215.21664428710938,\r
165     "z": "4456793a.59a288",\r
166     "wires": [\r
167       []\r
168     ]\r
169   },\r
170   {\r
171     "id": "f818b9cf.ba44c",\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": 1562.8833312988281,\r
178     "y": 129.88333129882812,\r
179     "z": "4456793a.59a288",\r
180     "wires": [\r
181       [\r
182         "8e919d6f.673508",\r
183         "51e0925d.04913c"\r
184       ]\r
185     ]\r
186   },\r
187   {\r
188     "id": "7ac2bf1b.1c3bb8",\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": 1472.9457092285156,\r
194     "y": 205.74310302734375,\r
195     "z": "4456793a.59a288",\r
196     "wires": []\r
197   },\r
198   {\r
199     "id": "9932a9c7.205738",\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": 1476.8833312988281,\r
205     "y": 249.88333129882812,\r
206     "z": "4456793a.59a288",\r
207     "wires": []\r
208   },\r
209   {\r
210     "id": "8e919d6f.673508",\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": 1767.8833312988281,\r
217     "y": 166.88333129882812,\r
218     "z": "4456793a.59a288",\r
219     "wires": [\r
220       [\r
221         "68453177.cb78b8"\r
222       ]\r
223     ]\r
224   },\r
225   {\r
226     "id": "51e0925d.04913c",\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": 1777.8833312988281,\r
233     "y": 93.88333129882812,\r
234     "z": "4456793a.59a288",\r
235     "wires": [\r
236       []\r
237     ]\r
238   },\r
239   {\r
240     "id": "68453177.cb78b8",\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": 1760.8833312988281,\r
248     "y": 241.88333129882812,\r
249     "z": "4456793a.59a288",\r
250     "wires": [\r
251       [\r
252         "a82eb2b4.74145",\r
253         "2f11fd49.33bf4a",\r
254         "3f7479d2.cf6ebe",\r
255         "9bc906e5.702fc8",\r
256         "a8e7354f.a1833"\r
257       ]\r
258     ]\r
259   },\r
260   {\r
261     "id": "c81e4e53.d33bf",\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": 2246.883331298828,\r
268     "y": 292.8833312988281,\r
269     "z": "4456793a.59a288",\r
270     "wires": [\r
271       [\r
272         "93e1f14a.5a9588",\r
273         "d05d8571.8f54d8",\r
274         "43bb6a89.efb504"\r
275       ]\r
276     ]\r
277   },\r
278   {\r
279     "id": "93e1f14a.5a9588",\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": 2462.883331298828,\r
286     "y": 359.8833312988281,\r
287     "z": "4456793a.59a288",\r
288     "wires": [\r
289       [\r
290         "29fa3a31.28ab1e"\r
291       ]\r
292     ]\r
293   },\r
294   {\r
295     "id": "d05d8571.8f54d8",\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": 2463.374298095703,\r
302     "y": 259.4573059082031,\r
303     "z": "4456793a.59a288",\r
304     "wires": [\r
305       [\r
306         "9a07cfe7.b03588"\r
307       ]\r
308     ]\r
309   },\r
310   {\r
311     "id": "43bb6a89.efb504",\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": 2458.883331298828,\r
318     "y": 308.8833312988281,\r
319     "z": "4456793a.59a288",\r
320     "wires": [\r
321       [\r
322         "b1a3ba46.e979e8"\r
323       ]\r
324     ]\r
325   },\r
326   {\r
327     "id": "a82eb2b4.74145",\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": 1963.8833312988281,\r
334     "y": 273.8833312988281,\r
335     "z": "4456793a.59a288",\r
336     "wires": [\r
337       [\r
338         "9e7211a2.fa3648",\r
339         "c81e4e53.d33bf",\r
340         "d050303.0f4a3d",\r
341         "c2f95f80.985fc"\r
342       ]\r
343     ]\r
344   },\r
345   {\r
346     "id": "9e7211a2.fa3648",\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": 2243.883331298828,\r
352     "y": 211.88333129882812,\r
353     "z": "4456793a.59a288",\r
354     "wires": []\r
355   },\r
356   {\r
357     "id": "9bc906e5.702fc8",\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": 1937.8833312988281,\r
363     "y": 223.88333129882812,\r
364     "z": "4456793a.59a288",\r
365     "wires": []\r
366   },\r
367   {\r
368     "id": "2f11fd49.33bf4a",\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": 1980.8833312988281,\r
375     "y": 82.88333129882812,\r
376     "z": "4456793a.59a288",\r
377     "wires": [\r
378       []\r
379     ]\r
380   },\r
381   {\r
382     "id": "3f7479d2.cf6ebe",\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": 1992.8833312988281,\r
389     "y": 123.88333129882812,\r
390     "z": "4456793a.59a288",\r
391     "wires": [\r
392       []\r
393     ]\r
394   },\r
395   {\r
396     "id": "ea819687.b3e55",\r
397     "type": "comment",\r
398     "name": "The following two nodes are for PCE",\r
399     "info": "",\r
400     "comments": "",\r
401     "x": 2017.8833312988281,\r
402     "y": 35.883331298828125,\r
403     "z": "4456793a.59a288",\r
404     "wires": []\r
405   },\r
406   {\r
407     "id": "a0a17876.3d9168",\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": 1937.8833312988281,\r
413     "y": 169.88333129882812,\r
414     "z": "4456793a.59a288",\r
415     "wires": []\r
416   },\r
417   {\r
418     "id": "9a07cfe7.b03588",\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": 2641.883331298828,\r
424     "y": 261.8833312988281,\r
425     "z": "4456793a.59a288",\r
426     "wires": []\r
427   },\r
428   {\r
429     "id": "b1a3ba46.e979e8",\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": 2641.820831298828,\r
435     "y": 311.0235900878906,\r
436     "z": "4456793a.59a288",\r
437     "wires": []\r
438   },\r
439   {\r
440     "id": "29fa3a31.28ab1e",\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": 2643.820831298828,\r
447     "y": 362.0235900878906,\r
448     "z": "4456793a.59a288",\r
449     "wires": [\r
450       [\r
451         "ccdb352a.c0afb"\r
452       ]\r
453     ]\r
454   },\r
455   {\r
456     "id": "ccdb352a.c0afb",\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": 2936.820831298828,\r
463     "y": 309.0235900878906,\r
464     "z": "4456793a.59a288",\r
465     "wires": [\r
466       [\r
467         "1d1c178.a002b69",\r
468         "a96469cb.c566d8",\r
469         "1d270f4d.7f92d9"\r
470       ]\r
471     ]\r
472   },\r
473   {\r
474     "id": "a96469cb.c566d8",\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": 3210.311798095703,\r
481     "y": 201.59756469726562,\r
482     "z": "4456793a.59a288",\r
483     "wires": [\r
484       [\r
485         "a9051800.9d7288"\r
486       ]\r
487     ]\r
488   },\r
489   {\r
490     "id": "a9051800.9d7288",\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": 3387.883331298828,\r
496     "y": 201.88333129882812,\r
497     "z": "4456793a.59a288",\r
498     "wires": []\r
499   },\r
500   {\r
501     "id": "1d270f4d.7f92d9",\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": 3205.820831298828,\r
508     "y": 251.02359008789062,\r
509     "z": "4456793a.59a288",\r
510     "wires": [\r
511       [\r
512         "74b9715b.81c6"\r
513       ]\r
514     ]\r
515   },\r
516   {\r
517     "id": "74b9715b.81c6",\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": 3387.820831298828,\r
523     "y": 251.02359008789062,\r
524     "z": "4456793a.59a288",\r
525     "wires": []\r
526   },\r
527   {\r
528     "id": "1d1c178.a002b69",\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": 3209.820831298828,\r
535     "y": 302.0235900878906,\r
536     "z": "4456793a.59a288",\r
537     "wires": [\r
538       [\r
539         "dea72b0a.7f4d98"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "dea72b0a.7f4d98",\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": 3389.820831298828,\r
551     "y": 302.0235900878906,\r
552     "z": "4456793a.59a288",\r
553     "wires": [\r
554       [\r
555         "1a6bb71b.cc26c9"\r
556       ]\r
557     ]\r
558   },\r
559   {\r
560     "id": "1a6bb71b.cc26c9",\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": 2955.883331298828,\r
567     "y": 436.8833312988281,\r
568     "z": "4456793a.59a288",\r
569     "wires": [\r
570       [\r
571         "24693fb2.e93b7",\r
572         "a9c05c16.6229b8"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "a9c05c16.6229b8",\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": 3265.883331298828,\r
584     "y": 443.8833312988281,\r
585     "z": "4456793a.59a288",\r
586     "wires": [\r
587       []\r
588     ]\r
589   },\r
590   {\r
591     "id": "24693fb2.e93b7",\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": 3264.883331298828,\r
598     "y": 497.8833312988281,\r
599     "z": "4456793a.59a288",\r
600     "wires": [\r
601       [\r
602         "54d9e040.3e5a2"\r
603       ]\r
604     ]\r
605   },\r
606   {\r
607     "id": "7514cb1e.22b7cc",\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": 4009.883331298828,\r
614     "y": 451.8833312988281,\r
615     "z": "4456793a.59a288",\r
616     "wires": [\r
617       [\r
618         "1a1e9340.1cb465"\r
619       ]\r
620     ]\r
621   },\r
622   {\r
623     "id": "1a1e9340.1cb465",\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": 4186.883209228516,\r
630     "y": 444.8832092285156,\r
631     "z": "4456793a.59a288",\r
632     "wires": [\r
633       [\r
634         "1cd3fabc.2c7055",\r
635         "df5b418a.0dd23"\r
636       ]\r
637     ]\r
638   },\r
639   {\r
640     "id": "54d9e040.3e5a2",\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": 3428.883331298828,\r
647     "y": 423.8833312988281,\r
648     "z": "4456793a.59a288",\r
649     "wires": [\r
650       [\r
651         "dde05d5d.d568e8",\r
652         "89905857.784518"\r
653       ]\r
654     ]\r
655   },\r
656   {\r
657     "id": "dde05d5d.d568e8",\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": 3709.883331298828,\r
664     "y": 379.8833312988281,\r
665     "z": "4456793a.59a288",\r
666     "wires": [\r
667       [\r
668         "abe51cd7.f8f208"\r
669       ]\r
670     ]\r
671   },\r
672   {\r
673     "id": "abe51cd7.f8f208",\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": 3971.883331298828,\r
680     "y": 379.8833312988281,\r
681     "z": "4456793a.59a288",\r
682     "wires": [\r
683       [\r
684         "7514cb1e.22b7cc"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "1cd3fabc.2c7055",\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": 4429.883209228516,\r
695     "y": 401.8832092285156,\r
696     "z": "4456793a.59a288",\r
697     "wires": []\r
698   },\r
699   {\r
700     "id": "df5b418a.0dd23",\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": 4418.883209228516,\r
707     "y": 456.8832092285156,\r
708     "z": "4456793a.59a288",\r
709     "wires": [\r
710       [\r
711         "b1c8bb90.0c2e78",\r
712         "2f32ddcf.c1426a",\r
713         "a81fdee7.10c348"\r
714       ]\r
715     ]\r
716   },\r
717   {\r
718     "id": "a81fdee7.10c348",\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": 4671.883331298828,\r
725     "y": 342.8833312988281,\r
726     "z": "4456793a.59a288",\r
727     "wires": [\r
728       [\r
729         "933dded8.905d48"\r
730       ]\r
731     ]\r
732   },\r
733   {\r
734     "id": "933dded8.905d48",\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": 4820.454864501953,\r
740     "y": 343.1690979003906,\r
741     "z": "4456793a.59a288",\r
742     "wires": []\r
743   },\r
744   {\r
745     "id": "4ff8891b.b27e6",\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": 4819.392364501953,\r
751     "y": 387.3093566894531,\r
752     "z": "4456793a.59a288",\r
753     "wires": []\r
754   },\r
755   {\r
756     "id": "2f32ddcf.c1426a",\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": 4660.392364501953,\r
763     "y": 387.3093566894531,\r
764     "z": "4456793a.59a288",\r
765     "wires": [\r
766       [\r
767         "4ff8891b.b27e6"\r
768       ]\r
769     ]\r
770   },\r
771   {\r
772     "id": "b1c8bb90.0c2e78",\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": 4667.392364501953,\r
779     "y": 466.3093566894531,\r
780     "z": "4456793a.59a288",\r
781     "wires": [\r
782       [\r
783         "9b0431ef.52336"\r
784       ]\r
785     ]\r
786   },\r
787   {\r
788     "id": "9b0431ef.52336",\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": 4806.392364501953,\r
796     "y": 466.3093566894531,\r
797     "z": "4456793a.59a288",\r
798     "wires": [\r
799       [\r
800         "30420590.b9ff82",\r
801         "80a75b67.8413b8"\r
802       ]\r
803     ]\r
804   },\r
805   {\r
806     "id": "30420590.b9ff82",\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": 5011.883331298828,\r
812     "y": 463.8833312988281,\r
813     "z": "4456793a.59a288",\r
814     "wires": []\r
815   },\r
816   {\r
817     "id": "80a75b67.8413b8",\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": 5010.883331298828,\r
823     "y": 509.8833312988281,\r
824     "z": "4456793a.59a288",\r
825     "wires": []\r
826   },\r
827   {\r
828     "id": "89905857.784518",\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": 3526.883331298828,\r
835     "y": 495.8833312988281,\r
836     "z": "4456793a.59a288",\r
837     "wires": [\r
838       [\r
839         "b46dcd3d.f4afe8"\r
840       ]\r
841     ]\r
842   },\r
843   {\r
844     "id": "b46dcd3d.f4afe8",\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": 3806.883331298828,\r
851     "y": 495.8833312988281,\r
852     "z": "4456793a.59a288",\r
853     "wires": [\r
854       [\r
855         "f685aa80.8cfb4"\r
856       ]\r
857     ]\r
858   },\r
859   {\r
860     "id": "f685aa80.8cfb4",\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": 2219.8834533691406,\r
867     "y": 748.8834533691406,\r
868     "z": "4456793a.59a288",\r
869     "wires": [\r
870       [\r
871         "a18b2354.2da15"\r
872       ]\r
873     ]\r
874   },\r
875   {\r
876     "id": "a18b2354.2da15",\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": 2396.883331298828,\r
883     "y": 741.8833312988281,\r
884     "z": "4456793a.59a288",\r
885     "wires": [\r
886       [\r
887         "ea2df6b1.4ac208",\r
888         "5238e333.611ed4"\r
889       ]\r
890     ]\r
891   },\r
892   {\r
893     "id": "ea2df6b1.4ac208",\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": 2639.883331298828,\r
899     "y": 698.8833312988281,\r
900     "z": "4456793a.59a288",\r
901     "wires": []\r
902   },\r
903   {\r
904     "id": "5238e333.611ed4",\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": 2628.883331298828,\r
911     "y": 753.8833312988281,\r
912     "z": "4456793a.59a288",\r
913     "wires": [\r
914       [\r
915         "d29bd2a6.f0278",\r
916         "aae66833.e493",\r
917         "51948363.691cec"\r
918       ]\r
919     ]\r
920   },\r
921   {\r
922     "id": "d29bd2a6.f0278",\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": 2920.374298095703,\r
929     "y": 732.4573059082031,\r
930     "z": "4456793a.59a288",\r
931     "wires": [\r
932       [\r
933         "a5baff8.5c15f"\r
934       ]\r
935     ]\r
936   },\r
937   {\r
938     "id": "aae66833.e493",\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": 2908.883331298828,\r
945     "y": 776.8833312988281,\r
946     "z": "4456793a.59a288",\r
947     "wires": [\r
948       [\r
949         "590adc04.7c8c64"\r
950       ]\r
951     ]\r
952   },\r
953   {\r
954     "id": "a5baff8.5c15f",\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": 3068.945831298828,\r
960     "y": 732.7430725097656,\r
961     "z": "4456793a.59a288",\r
962     "wires": []\r
963   },\r
964   {\r
965     "id": "590adc04.7c8c64",\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": 3067.883331298828,\r
971     "y": 776.8833312988281,\r
972     "z": "4456793a.59a288",\r
973     "wires": []\r
974   },\r
975   {\r
976     "id": "51948363.691cec",\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": 2915.883331298828,\r
983     "y": 855.8833312988281,\r
984     "z": "4456793a.59a288",\r
985     "wires": [\r
986       [\r
987         "138db6d7.8d5031"\r
988       ]\r
989     ]\r
990   },\r
991   {\r
992     "id": "138db6d7.8d5031",\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": 3054.883331298828,\r
1000     "y": 855.8833312988281,\r
1001     "z": "4456793a.59a288",\r
1002     "wires": [\r
1003       [\r
1004         "7a4c5f2f.9027d8",\r
1005         "f3e41369.61302",\r
1006         "bb0c73ed.00d09",\r
1007         "8e9b40a2.60b6c",\r
1008         "bda9878c.43ffc8",\r
1009         "746b18d4.be3d18",\r
1010         "15698ad5.b40d3d",\r
1011         "3d22a200.42e29e",\r
1012         "ff1965cc.9c6318",\r
1013         "a8011cb7.dd8288",\r
1014         "60be6b60.c49e7c",\r
1015         "77fe2bdc.eed0c4",\r
1016         "c658e7ef.0b11d8",\r
1017         "d48a24b6.db8ce8"\r
1018       ]\r
1019     ]\r
1020   },\r
1021   {\r
1022     "id": "f45cdd5f.c90798",\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": 3368.883331298828,\r
1029     "y": 661.8833312988281,\r
1030     "z": "4456793a.59a288",\r
1031     "wires": [\r
1032       []\r
1033     ]\r
1034   },\r
1035   {\r
1036     "id": "7a4c5f2f.9027d8",\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": 3349.883331298828,\r
1043     "y": 711.8833312988281,\r
1044     "z": "4456793a.59a288",\r
1045     "wires": [\r
1046       []\r
1047     ]\r
1048   },\r
1049   {\r
1050     "id": "d48a24b6.db8ce8",\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": 3306.883331298828,\r
1056     "y": 756.8833312988281,\r
1057     "z": "4456793a.59a288",\r
1058     "wires": []\r
1059   },\r
1060   {\r
1061     "id": "f3e41369.61302",\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": 3281.883331298828,\r
1067     "y": 819.8833312988281,\r
1068     "z": "4456793a.59a288",\r
1069     "wires": []\r
1070   },\r
1071   {\r
1072     "id": "bb0c73ed.00d09",\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": 3282.883331298828,\r
1078     "y": 874.8833312988281,\r
1079     "z": "4456793a.59a288",\r
1080     "wires": []\r
1081   },\r
1082   {\r
1083     "id": "8e9b40a2.60b6c",\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": 3298.883331298828,\r
1090     "y": 922.8833312988281,\r
1091     "z": "4456793a.59a288",\r
1092     "wires": [\r
1093       [\r
1094         "5e527f7c.215cc8",\r
1095         "e57980fe.5f9758",\r
1096         "d6304ea1.fb76e"\r
1097       ]\r
1098     ]\r
1099   },\r
1100   {\r
1101     "id": "bda9878c.43ffc8",\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": 3287.883331298828,\r
1108     "y": 1009.8832092285156,\r
1109     "z": "4456793a.59a288",\r
1110     "wires": [\r
1111       [\r
1112         "be8da30d.6c1bf8",\r
1113         "59df3d01.4ec704",\r
1114         "23f36ff9.6f46c"\r
1115       ]\r
1116     ]\r
1117   },\r
1118   {\r
1119     "id": "5e527f7c.215cc8",\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": 3499.883331298828,\r
1126     "y": 806.8833312988281,\r
1127     "z": "4456793a.59a288",\r
1128     "wires": [\r
1129       [\r
1130         "7280738b.1a48a4"\r
1131       ]\r
1132     ]\r
1133   },\r
1134   {\r
1135     "id": "e57980fe.5f9758",\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": 3495.392364501953,\r
1142     "y": 856.3093566894531,\r
1143     "z": "4456793a.59a288",\r
1144     "wires": [\r
1145       [\r
1146         "74f46c1.d313d14"\r
1147       ]\r
1148     ]\r
1149   },\r
1150   {\r
1151     "id": "d6304ea1.fb76e",\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": 3499.392364501953,\r
1158     "y": 909.3093566894531,\r
1159     "z": "4456793a.59a288",\r
1160     "wires": [\r
1161       [\r
1162         "1f52b8ab.2e56cf"\r
1163       ]\r
1164     ]\r
1165   },\r
1166   {\r
1167     "id": "7280738b.1a48a4",\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": 3648.454864501953,\r
1173     "y": 806.1690979003906,\r
1174     "z": "4456793a.59a288",\r
1175     "wires": []\r
1176   },\r
1177   {\r
1178     "id": "74f46c1.d313d14",\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": 3638.392364501953,\r
1184     "y": 856.3093566894531,\r
1185     "z": "4456793a.59a288",\r
1186     "wires": []\r
1187   },\r
1188   {\r
1189     "id": "be8da30d.6c1bf8",\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": 3510.883331298828,\r
1196     "y": 979.8832092285156,\r
1197     "z": "4456793a.59a288",\r
1198     "wires": [\r
1199       [\r
1200         "4c2e6e70.a93be8"\r
1201       ]\r
1202     ]\r
1203   },\r
1204   {\r
1205     "id": "59df3d01.4ec704",\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": 3506.392364501953,\r
1212     "y": 1029.3092346191406,\r
1213     "z": "4456793a.59a288",\r
1214     "wires": [\r
1215       [\r
1216         "25d04654.5e839a"\r
1217       ]\r
1218     ]\r
1219   },\r
1220   {\r
1221     "id": "23f36ff9.6f46c",\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": 3507.392364501953,\r
1228     "y": 1082.3092346191406,\r
1229     "z": "4456793a.59a288",\r
1230     "wires": [\r
1231       [\r
1232         "e7e2a18.77a626"\r
1233       ]\r
1234     ]\r
1235   },\r
1236   {\r
1237     "id": "4c2e6e70.a93be8",\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": 3659.454864501953,\r
1243     "y": 979.1689758300781,\r
1244     "z": "4456793a.59a288",\r
1245     "wires": []\r
1246   },\r
1247   {\r
1248     "id": "25d04654.5e839a",\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": 3649.392364501953,\r
1254     "y": 1029.3092346191406,\r
1255     "z": "4456793a.59a288",\r
1256     "wires": []\r
1257   },\r
1258   {\r
1259     "id": "1f52b8ab.2e56cf",\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": 3660.883331298828,\r
1266     "y": 908.8833312988281,\r
1267     "z": "4456793a.59a288",\r
1268     "wires": [\r
1269       [\r
1270         "37185a88.04a7d6"\r
1271       ]\r
1272     ]\r
1273   },\r
1274   {\r
1275     "id": "e7e2a18.77a626",\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": 3660.883331298828,\r
1282     "y": 1081.8832092285156,\r
1283     "z": "4456793a.59a288",\r
1284     "wires": [\r
1285       [\r
1286         "2a90b49d.030114"\r
1287       ]\r
1288     ]\r
1289   },\r
1290   {\r
1291     "id": "37185a88.04a7d6",\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": 3832.883331298828,\r
1298     "y": 908.8833312988281,\r
1299     "z": "4456793a.59a288",\r
1300     "wires": [\r
1301       [\r
1302         "b7871daf.9b4e8",\r
1303         "5be956df.30349"\r
1304       ]\r
1305     ]\r
1306   },\r
1307   {\r
1308     "id": "2a90b49d.030114",\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": 3833.883331298828,\r
1315     "y": 1081.8833312988281,\r
1316     "z": "4456793a.59a288",\r
1317     "wires": [\r
1318       [\r
1319         "7b05f3d6.ed8c14",\r
1320         "ed6ce3d.aa0b8a"\r
1321       ]\r
1322     ]\r
1323   },\r
1324   {\r
1325     "id": "b7871daf.9b4e8",\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": 4008.883331298828,\r
1332     "y": 887.8833312988281,\r
1333     "z": "4456793a.59a288",\r
1334     "wires": [\r
1335       [\r
1336         "52465f0e.0c996"\r
1337       ]\r
1338     ]\r
1339   },\r
1340   {\r
1341     "id": "5be956df.30349",\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": 4010.883331298828,\r
1348     "y": 941.8833312988281,\r
1349     "z": "4456793a.59a288",\r
1350     "wires": [\r
1351       [\r
1352         "98cbb890.5e8b88"\r
1353       ]\r
1354     ]\r
1355   },\r
1356   {\r
1357     "id": "7b05f3d6.ed8c14",\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": 4009.883331298828,\r
1364     "y": 1051.8833312988281,\r
1365     "z": "4456793a.59a288",\r
1366     "wires": [\r
1367       [\r
1368         "d0104e32.ac2ab8"\r
1369       ]\r
1370     ]\r
1371   },\r
1372   {\r
1373     "id": "ed6ce3d.aa0b8a",\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": 4011.883331298828,\r
1380     "y": 1105.8833312988281,\r
1381     "z": "4456793a.59a288",\r
1382     "wires": [\r
1383       [\r
1384         "8e259d5c.262c5"\r
1385       ]\r
1386     ]\r
1387   },\r
1388   {\r
1389     "id": "c68d1d99.71ec4",\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": 4318.883331298828,\r
1395     "y": 839.8833312988281,\r
1396     "z": "4456793a.59a288",\r
1397     "wires": []\r
1398   },\r
1399   {\r
1400     "id": "97074ecd.08e3c8",\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": 4311.883331298828,\r
1406     "y": 937.8833312988281,\r
1407     "z": "4456793a.59a288",\r
1408     "wires": []\r
1409   },\r
1410   {\r
1411     "id": "be8be686.f85c68",\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": 4311.883331298828,\r
1417     "y": 1024.8833312988281,\r
1418     "z": "4456793a.59a288",\r
1419     "wires": []\r
1420   },\r
1421   {\r
1422     "id": "3fa3de22.b5b33a",\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": 4315.883331298828,\r
1428     "y": 1117.8833312988281,\r
1429     "z": "4456793a.59a288",\r
1430     "wires": []\r
1431   },\r
1432   {\r
1433     "id": "bd818350.b1a8a8",\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": 3542.883331298828,\r
1440     "y": 1526.8833312988281,\r
1441     "z": "4456793a.59a288",\r
1442     "wires": [\r
1443       [\r
1444         "56ff5ea8.b777"\r
1445       ]\r
1446     ]\r
1447   },\r
1448   {\r
1449     "id": "ec755270.8f35e8",\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": 3552.374298095703,\r
1456     "y": 1569.4573669433594,\r
1457     "z": "4456793a.59a288",\r
1458     "wires": [\r
1459       [\r
1460         "e382dfde.5b31d8"\r
1461       ]\r
1462     ]\r
1463   },\r
1464   {\r
1465     "id": "c9437d33.ef4e6",\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": 3540.883331298828,\r
1472     "y": 1615.8833312988281,\r
1473     "z": "4456793a.59a288",\r
1474     "wires": [\r
1475       [\r
1476         "f857e1e2.07be58"\r
1477       ]\r
1478     ]\r
1479   },\r
1480   {\r
1481     "id": "5760f0e8.25dba",\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": 3242.883331298828,\r
1487     "y": 1488.8833312988281,\r
1488     "z": "4456793a.59a288",\r
1489     "wires": []\r
1490   },\r
1491   {\r
1492     "id": "15698ad5.b40d3d",\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": 3285.883331298828,\r
1499     "y": 1553.8833312988281,\r
1500     "z": "4456793a.59a288",\r
1501     "wires": [\r
1502       [\r
1503         "bd818350.b1a8a8",\r
1504         "ec755270.8f35e8",\r
1505         "c9437d33.ef4e6"\r
1506       ]\r
1507     ]\r
1508   },\r
1509   {\r
1510     "id": "746b18d4.be3d18",\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": 3286.883331298828,\r
1517     "y": 1223.8833312988281,\r
1518     "z": "4456793a.59a288",\r
1519     "wires": [\r
1520       [\r
1521         "16a316bf.36aa51",\r
1522         "5dc43b13.af0e5c"\r
1523       ]\r
1524     ]\r
1525   },\r
1526   {\r
1527     "id": "5dc43b13.af0e5c",\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": 3509.883331298828,\r
1534     "y": 1209.8833312988281,\r
1535     "z": "4456793a.59a288",\r
1536     "wires": [\r
1537       [\r
1538         "4015e76.5fd6098"\r
1539       ]\r
1540     ]\r
1541   },\r
1542   {\r
1543     "id": "16a316bf.36aa51",\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": 3511.883331298828,\r
1550     "y": 1242.8833312988281,\r
1551     "z": "4456793a.59a288",\r
1552     "wires": [\r
1553       [\r
1554         "f3f89c52.21e5b8"\r
1555       ]\r
1556     ]\r
1557   },\r
1558   {\r
1559     "id": "56ff5ea8.b777",\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": 3715.549835205078,\r
1566     "y": 1525.8833312988281,\r
1567     "z": "4456793a.59a288",\r
1568     "wires": [\r
1569       [\r
1570         "286978b9.608f5",\r
1571         "e1e71113.50d348"\r
1572       ]\r
1573     ]\r
1574   },\r
1575   {\r
1576     "id": "e382dfde.5b31d8",\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": 3705.9457092285156,\r
1582     "y": 1572.7431030273438,\r
1583     "z": "4456793a.59a288",\r
1584     "wires": []\r
1585   },\r
1586   {\r
1587     "id": "f857e1e2.07be58",\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": 3709.883331298828,\r
1593     "y": 1616.8833312988281,\r
1594     "z": "4456793a.59a288",\r
1595     "wires": []\r
1596   },\r
1597   {\r
1598     "id": "286978b9.608f5",\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": 3979.883331298828,\r
1605     "y": 1509.8833312988281,\r
1606     "z": "4456793a.59a288",\r
1607     "wires": [\r
1608       [\r
1609         "5b0e63ee.a3ecd4",\r
1610         "22c0e5a9.26fd0a"\r
1611       ]\r
1612     ]\r
1613   },\r
1614   {\r
1615     "id": "22c0e5a9.26fd0a",\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": 4202.883331298828,\r
1622     "y": 1464.8833312988281,\r
1623     "z": "4456793a.59a288",\r
1624     "wires": [\r
1625       [\r
1626         "bad02ed0.d565e8"\r
1627       ]\r
1628     ]\r
1629   },\r
1630   {\r
1631     "id": "5b0e63ee.a3ecd4",\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": 4204.883331298828,\r
1638     "y": 1528.8833312988281,\r
1639     "z": "4456793a.59a288",\r
1640     "wires": [\r
1641       [\r
1642         "cba8e08.e7cb12"\r
1643       ]\r
1644     ]\r
1645   },\r
1646   {\r
1647     "id": "cba8e08.e7cb12",\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": 4366.883331298828,\r
1653     "y": 1524.8833312988281,\r
1654     "z": "4456793a.59a288",\r
1655     "wires": []\r
1656   },\r
1657   {\r
1658     "id": "bad02ed0.d565e8",\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": 4367.883331298828,\r
1665     "y": 1461.8833312988281,\r
1666     "z": "4456793a.59a288",\r
1667     "wires": [\r
1668       [\r
1669         "14c7dbb3.7bb934",\r
1670         "ad8d4f98.026b1"\r
1671       ]\r
1672     ]\r
1673   },\r
1674   {\r
1675     "id": "b0538c9f.9cd51",\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": 3981.883331298828,\r
1682     "y": 1668.8833312988281,\r
1683     "z": "4456793a.59a288",\r
1684     "wires": [\r
1685       []\r
1686     ]\r
1687   },\r
1688   {\r
1689     "id": "4ca2f9ab.45ab7",\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": 4026.883331298828,\r
1696     "y": 1578.8833312988281,\r
1697     "z": "4456793a.59a288",\r
1698     "wires": [\r
1699       []\r
1700     ]\r
1701   },\r
1702   {\r
1703     "id": "ecb8fc16.8423f8",\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": 4109.883331298828,\r
1710     "y": 1716.8833312988281,\r
1711     "z": "4456793a.59a288",\r
1712     "wires": [\r
1713       []\r
1714     ]\r
1715   },\r
1716   {\r
1717     "id": "f3f89c52.21e5b8",\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": 3654.883331298828,\r
1723     "y": 1239.8833312988281,\r
1724     "z": "4456793a.59a288",\r
1725     "wires": []\r
1726   },\r
1727   {\r
1728     "id": "4015e76.5fd6098",\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": 3657.883331298828,\r
1735     "y": 1202.8833312988281,\r
1736     "z": "4456793a.59a288",\r
1737     "wires": [\r
1738       [\r
1739         "ebd7b0f3.96fde8",\r
1740         "1cc07a61.1b7696"\r
1741       ]\r
1742     ]\r
1743   },\r
1744   {\r
1745     "id": "ebd7b0f3.96fde8",\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": 3831.883331298828,\r
1751     "y": 1158.8833312988281,\r
1752     "z": "4456793a.59a288",\r
1753     "wires": []\r
1754   },\r
1755   {\r
1756     "id": "e1e71113.50d348",\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": 3933.883331298828,\r
1763     "y": 1793.8833312988281,\r
1764     "z": "4456793a.59a288",\r
1765     "wires": [\r
1766       [\r
1767         "bc68df19.413ab"\r
1768       ]\r
1769     ]\r
1770   },\r
1771   {\r
1772     "id": "bc68df19.413ab",\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": 4139.883331298828,\r
1779     "y": 1793.8833312988281,\r
1780     "z": "4456793a.59a288",\r
1781     "wires": [\r
1782       [\r
1783         "50ca2971.ea36d8"\r
1784       ]\r
1785     ]\r
1786   },\r
1787   {\r
1788     "id": "50ca2971.ea36d8",\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": 4355.168975830078,\r
1795     "y": 1793.7051086425781,\r
1796     "z": "4456793a.59a288",\r
1797     "wires": [\r
1798       [\r
1799         "9aafd9b7.eaf6"\r
1800       ]\r
1801     ]\r
1802   },\r
1803   {\r
1804     "id": "1cc07a61.1b7696",\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": 3846.883331298828,\r
1811     "y": 1269.8833312988281,\r
1812     "z": "4456793a.59a288",\r
1813     "wires": [\r
1814       [\r
1815         "502e27f2.360128",\r
1816         "613a0c37.ee93fc",\r
1817         "15983fe1.c65378"\r
1818       ]\r
1819     ]\r
1820   },\r
1821   {\r
1822     "id": "502e27f2.360128",\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": 4042.3834533691406,\r
1829     "y": 1221.8833312988281,\r
1830     "z": "4456793a.59a288",\r
1831     "wires": [\r
1832       [\r
1833         "ab759fb6.dae2a8"\r
1834       ]\r
1835     ]\r
1836   },\r
1837   {\r
1838     "id": "613a0c37.ee93fc",\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": 4034.3834533691406,\r
1845     "y": 1276.8833312988281,\r
1846     "z": "4456793a.59a288",\r
1847     "wires": [\r
1848       [\r
1849         "bc752416.e0cbc"\r
1850       ]\r
1851     ]\r
1852   },\r
1853   {\r
1854     "id": "15983fe1.c65378",\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": 4039.3834533691406,\r
1861     "y": 1333.8833312988281,\r
1862     "z": "4456793a.59a288",\r
1863     "wires": [\r
1864       [\r
1865         "9670670b.649c48"\r
1866       ]\r
1867     ]\r
1868   },\r
1869   {\r
1870     "id": "9670670b.649c48",\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": 4191.383453369141,\r
1876     "y": 1334.8833312988281,\r
1877     "z": "4456793a.59a288",\r
1878     "wires": []\r
1879   },\r
1880   {\r
1881     "id": "bc752416.e0cbc",\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": 4202.383453369141,\r
1887     "y": 1279.8833312988281,\r
1888     "z": "4456793a.59a288",\r
1889     "wires": []\r
1890   },\r
1891   {\r
1892     "id": "ab759fb6.dae2a8",\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": 4186.765777587891,\r
1900     "y": 1219.5390014648438,\r
1901     "z": "4456793a.59a288",\r
1902     "wires": [\r
1903       [\r
1904         "fbc120c8.3124d8"\r
1905       ]\r
1906     ]\r
1907   },\r
1908   {\r
1909     "id": "fbc120c8.3124d8",\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": 4370.883331298828,\r
1916     "y": 1233.8833312988281,\r
1917     "z": "4456793a.59a288",\r
1918     "wires": [\r
1919       [\r
1920         "df89787f.a5a578"\r
1921       ]\r
1922     ]\r
1923   },\r
1924   {\r
1925     "id": "ad8d4f98.026b1",\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": 4537.883331298828,\r
1931     "y": 1419.8833312988281,\r
1932     "z": "4456793a.59a288",\r
1933     "wires": []\r
1934   },\r
1935   {\r
1936     "id": "14c7dbb3.7bb934",\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": 4538.883331298828,\r
1942     "y": 1527.8833312988281,\r
1943     "z": "4456793a.59a288",\r
1944     "wires": []\r
1945   },\r
1946   {\r
1947     "id": "832f55b4.d525f",\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": 4539.883331298828,\r
1953     "y": 1476.8833312988281,\r
1954     "z": "4456793a.59a288",\r
1955     "wires": []\r
1956   },\r
1957   {\r
1958     "id": "9aafd9b7.eaf6",\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": 4562.000518798828,\r
1965     "y": 1794.2236633300781,\r
1966     "z": "4456793a.59a288",\r
1967     "wires": [\r
1968       [\r
1969         "f4bf2a88.8e07c8",\r
1970         "84226d1d.c53f58",\r
1971         "5135c34e.c2878c"\r
1972       ]\r
1973     ]\r
1974   },\r
1975   {\r
1976     "id": "f4bf2a88.8e07c8",\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": 4777.000518798828,\r
1982     "y": 1756.2236633300781,\r
1983     "z": "4456793a.59a288",\r
1984     "wires": []\r
1985   },\r
1986   {\r
1987     "id": "84226d1d.c53f58",\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": 4774.000518798828,\r
1994     "y": 1795.2236633300781,\r
1995     "z": "4456793a.59a288",\r
1996     "wires": [\r
1997       [\r
1998         "9d44e19c.6d7318"\r
1999       ]\r
2000     ]\r
2001   },\r
2002   {\r
2003     "id": "5135c34e.c2878c",\r
2004     "type": "break",\r
2005     "name": "break",\r
2006     "xml": "<break>\n",\r
2007     "comments": "",\r
2008     "x": 4729.500518798828,\r
2009     "y": 1837.2236633300781,\r
2010     "z": "4456793a.59a288",\r
2011     "wires": []\r
2012   },\r
2013   {\r
2014     "id": "9d44e19c.6d7318",\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": 4954.500518798828,\r
2021     "y": 1794.2236633300781,\r
2022     "z": "4456793a.59a288",\r
2023     "wires": [\r
2024       [\r
2025         "29687f0b.c77f5"\r
2026       ]\r
2027     ]\r
2028   },\r
2029   {\r
2030     "id": "a2ec001d.4a7fb8",\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": 4768.883331298828,\r
2037     "y": 1237.8833312988281,\r
2038     "z": "4456793a.59a288",\r
2039     "wires": [\r
2040       [\r
2041         "6f5c9a68.97563c"\r
2042       ]\r
2043     ]\r
2044   },\r
2045   {\r
2046     "id": "6f5c9a68.97563c",\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": 4945.883331298828,\r
2053     "y": 1229.8833312988281,\r
2054     "z": "4456793a.59a288",\r
2055     "wires": [\r
2056       [\r
2057         "7ae681af.873ac8",\r
2058         "9549ff73.9a1cc8"\r
2059       ]\r
2060     ]\r
2061   },\r
2062   {\r
2063     "id": "df89787f.a5a578",\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": 4565.883331298828,\r
2070     "y": 1233.8833312988281,\r
2071     "z": "4456793a.59a288",\r
2072     "wires": [\r
2073       [\r
2074         "a2ec001d.4a7fb8",\r
2075         "bc76afd9.40381"\r
2076       ]\r
2077     ]\r
2078   },\r
2079   {\r
2080     "id": "bc76afd9.40381",\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": 4771.883331298828,\r
2087     "y": 1311.8833312988281,\r
2088     "z": "4456793a.59a288",\r
2089     "wires": [\r
2090       [\r
2091         "1ac8b93a.8f9647"\r
2092       ]\r
2093     ]\r
2094   },\r
2095   {\r
2096     "id": "1ac8b93a.8f9647",\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": 4948.883331298828,\r
2103     "y": 1303.8833312988281,\r
2104     "z": "4456793a.59a288",\r
2105     "wires": [\r
2106       [\r
2107         "12ac39b2.69f38e"\r
2108       ]\r
2109     ]\r
2110   },\r
2111   {\r
2112     "id": "29687f0b.c77f5",\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": 5112.500518798828,\r
2119     "y": 1794.2236633300781,\r
2120     "z": "4456793a.59a288",\r
2121     "wires": [\r
2122       [\r
2123         "6aef1ca3.67a3dc"\r
2124       ]\r
2125     ]\r
2126   },\r
2127   {\r
2128     "id": "6aef1ca3.67a3dc",\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": 5319.500518798828,\r
2134     "y": 1794.2236633300781,\r
2135     "z": "4456793a.59a288",\r
2136     "wires": []\r
2137   },\r
2138   {\r
2139     "id": "9549ff73.9a1cc8",\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": 5153.883331298828,\r
2146     "y": 1236.8833312988281,\r
2147     "z": "4456793a.59a288",\r
2148     "wires": [\r
2149       [\r
2150         "1ca68d2c.42a1b3",\r
2151         "79238f45.d528a",\r
2152         "b580a25b.41384"\r
2153       ]\r
2154     ]\r
2155   },\r
2156   {\r
2157     "id": "7ae681af.873ac8",\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": 5183.883331298828,\r
2163     "y": 1184.8833312988281,\r
2164     "z": "4456793a.59a288",\r
2165     "wires": []\r
2166   },\r
2167   {\r
2168     "id": "1ca68d2c.42a1b3",\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": 5363.883331298828,\r
2175     "y": 1227.8833312988281,\r
2176     "z": "4456793a.59a288",\r
2177     "wires": [\r
2178       [\r
2179         "1cf65ad.e3b2e25"\r
2180       ]\r
2181     ]\r
2182   },\r
2183   {\r
2184     "id": "79238f45.d528a",\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": 5355.883331298828,\r
2191     "y": 1282.8833312988281,\r
2192     "z": "4456793a.59a288",\r
2193     "wires": [\r
2194       [\r
2195         "55debd4.7dcf144"\r
2196       ]\r
2197     ]\r
2198   },\r
2199   {\r
2200     "id": "b580a25b.41384",\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": 5360.883331298828,\r
2207     "y": 1339.8833312988281,\r
2208     "z": "4456793a.59a288",\r
2209     "wires": [\r
2210       [\r
2211         "277b43ae.d3d8bc"\r
2212       ]\r
2213     ]\r
2214   },\r
2215   {\r
2216     "id": "277b43ae.d3d8bc",\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": 5512.883331298828,\r
2222     "y": 1340.8833312988281,\r
2223     "z": "4456793a.59a288",\r
2224     "wires": []\r
2225   },\r
2226   {\r
2227     "id": "55debd4.7dcf144",\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": 5523.883331298828,\r
2233     "y": 1285.8833312988281,\r
2234     "z": "4456793a.59a288",\r
2235     "wires": []\r
2236   },\r
2237   {\r
2238     "id": "1cf65ad.e3b2e25",\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": 5508.265655517578,\r
2246     "y": 1225.5390014648438,\r
2247     "z": "4456793a.59a288",\r
2248     "wires": [\r
2249       [\r
2250         "293b0137.5d1d8e"\r
2251       ]\r
2252     ]\r
2253   },\r
2254   {\r
2255     "id": "12ac39b2.69f38e",\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": 5183.883331298828,\r
2261     "y": 1427.8833312988281,\r
2262     "z": "4456793a.59a288",\r
2263     "wires": []\r
2264   },\r
2265   {\r
2266     "id": "293b0137.5d1d8e",\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": 5722.883331298828,\r
2272     "y": 1221.8833312988281,\r
2273     "z": "4456793a.59a288",\r
2274     "wires": []\r
2275   },\r
2276   {\r
2277     "id": "f12c4ac3.acc2d",\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": 4306.883331298828,\r
2283     "y": 875.8833312988281,\r
2284     "z": "4456793a.59a288",\r
2285     "wires": []\r
2286   },\r
2287   {\r
2288     "id": "23d5a8e8.6a48d8",\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": 4297.883331298828,\r
2294     "y": 973.8833312988281,\r
2295     "z": "4456793a.59a288",\r
2296     "wires": []\r
2297   },\r
2298   {\r
2299     "id": "52465f0e.0c996",\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": 4131.883331298828,\r
2307     "y": 881.8833312988281,\r
2308     "z": "4456793a.59a288",\r
2309     "wires": [\r
2310       [\r
2311         "c68d1d99.71ec4",\r
2312         "f12c4ac3.acc2d"\r
2313       ]\r
2314     ]\r
2315   },\r
2316   {\r
2317     "id": "98cbb890.5e8b88",\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": 4137.883331298828,\r
2325     "y": 945.8833312988281,\r
2326     "z": "4456793a.59a288",\r
2327     "wires": [\r
2328       [\r
2329         "97074ecd.08e3c8",\r
2330         "23d5a8e8.6a48d8"\r
2331       ]\r
2332     ]\r
2333   },\r
2334   {\r
2335     "id": "d0104e32.ac2ab8",\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": 4137.883331298828,\r
2343     "y": 1051.8833312988281,\r
2344     "z": "4456793a.59a288",\r
2345     "wires": [\r
2346       [\r
2347         "be8be686.f85c68",\r
2348         "e50dfba7.f60328"\r
2349       ]\r
2350     ]\r
2351   },\r
2352   {\r
2353     "id": "8e259d5c.262c5",\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": 4140.883331298828,\r
2361     "y": 1104.8833312988281,\r
2362     "z": "4456793a.59a288",\r
2363     "wires": [\r
2364       [\r
2365         "3fa3de22.b5b33a",\r
2366         "6c2da806.3569b"\r
2367       ]\r
2368     ]\r
2369   },\r
2370   {\r
2371     "id": "e50dfba7.f60328",\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": 4297.883331298828,\r
2377     "y": 1064.8833312988281,\r
2378     "z": "4456793a.59a288",\r
2379     "wires": []\r
2380   },\r
2381   {\r
2382     "id": "6c2da806.3569b",\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": 4300.883331298828,\r
2388     "y": 1155.8833312988281,\r
2389     "z": "4456793a.59a288",\r
2390     "wires": []\r
2391   },\r
2392   {\r
2393     "id": "b9324a20.74a63",\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": 3672.883331298828,\r
2400     "y": 2365.883331298828,\r
2401     "z": "4456793a.59a288",\r
2402     "wires": [\r
2403       [\r
2404         "f10be91.1b09d98",\r
2405         "d09bd461.c7ba88"\r
2406       ]\r
2407     ]\r
2408   },\r
2409   {\r
2410     "id": "56bce95e.90bfe",\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": 3500.216827392578,\r
2417     "y": 2366.883331298828,\r
2418     "z": "4456793a.59a288",\r
2419     "wires": [\r
2420       [\r
2421         "b9324a20.74a63"\r
2422       ]\r
2423     ]\r
2424   },\r
2425   {\r
2426     "id": "aea1bf99.8fdcc",\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": 3509.707794189453,\r
2433     "y": 2409.4573669433594,\r
2434     "z": "4456793a.59a288",\r
2435     "wires": [\r
2436       [\r
2437         "29a46b5c.88b5bc"\r
2438       ]\r
2439     ]\r
2440   },\r
2441   {\r
2442     "id": "87e0206.8796c6",\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": 3498.216827392578,\r
2449     "y": 2455.883331298828,\r
2450     "z": "4456793a.59a288",\r
2451     "wires": [\r
2452       [\r
2453         "1d955e57.2601ca"\r
2454       ]\r
2455     ]\r
2456   },\r
2457   {\r
2458     "id": "29a46b5c.88b5bc",\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": 3663.2792053222656,\r
2464     "y": 2412.7431030273438,\r
2465     "z": "4456793a.59a288",\r
2466     "wires": []\r
2467   },\r
2468   {\r
2469     "id": "1d955e57.2601ca",\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": 3667.216827392578,\r
2475     "y": 2456.883331298828,\r
2476     "z": "4456793a.59a288",\r
2477     "wires": []\r
2478   },\r
2479   {\r
2480     "id": "f10be91.1b09d98",\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": 3959.216827392578,\r
2487     "y": 2369.8834533691406,\r
2488     "z": "4456793a.59a288",\r
2489     "wires": [\r
2490       [\r
2491         "fda7c536.3acee",\r
2492         "c79b96a2.97ef58"\r
2493       ]\r
2494     ]\r
2495   },\r
2496   {\r
2497     "id": "c79b96a2.97ef58",\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": 4182.216827392578,\r
2504     "y": 2324.8834533691406,\r
2505     "z": "4456793a.59a288",\r
2506     "wires": [\r
2507       [\r
2508         "81ad908f.6a16e"\r
2509       ]\r
2510     ]\r
2511   },\r
2512   {\r
2513     "id": "fda7c536.3acee",\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": 4184.216827392578,\r
2520     "y": 2388.8834533691406,\r
2521     "z": "4456793a.59a288",\r
2522     "wires": [\r
2523       [\r
2524         "e8b14d91.9e5c88"\r
2525       ]\r
2526     ]\r
2527   },\r
2528   {\r
2529     "id": "e8b14d91.9e5c88",\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": 4343.216827392578,\r
2535     "y": 2407.8834533691406,\r
2536     "z": "4456793a.59a288",\r
2537     "wires": []\r
2538   },\r
2539   {\r
2540     "id": "81ad908f.6a16e",\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": 4347.216827392578,\r
2547     "y": 2321.8834533691406,\r
2548     "z": "4456793a.59a288",\r
2549     "wires": [\r
2550       [\r
2551         "cad9326b.b2da",\r
2552         "3eb5f127.732d1e"\r
2553       ]\r
2554     ]\r
2555   },\r
2556   {\r
2557     "id": "cf8b334d.12d69",\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": 3961.216827392578,\r
2564     "y": 2528.8834533691406,\r
2565     "z": "4456793a.59a288",\r
2566     "wires": [\r
2567       []\r
2568     ]\r
2569   },\r
2570   {\r
2571     "id": "a51bfc6c.2ab4b",\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": 4006.216827392578,\r
2578     "y": 2438.8834533691406,\r
2579     "z": "4456793a.59a288",\r
2580     "wires": [\r
2581       []\r
2582     ]\r
2583   },\r
2584   {\r
2585     "id": "5d70457e.e444e4",\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": 4088.216827392578,\r
2592     "y": 2593.8834533691406,\r
2593     "z": "4456793a.59a288",\r
2594     "wires": [\r
2595       []\r
2596     ]\r
2597   },\r
2598   {\r
2599     "id": "ff1965cc.9c6318",\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": 3272.216827392578,\r
2606     "y": 2401.883331298828,\r
2607     "z": "4456793a.59a288",\r
2608     "wires": [\r
2609       [\r
2610         "56bce95e.90bfe",\r
2611         "aea1bf99.8fdcc",\r
2612         "87e0206.8796c6"\r
2613       ]\r
2614     ]\r
2615   },\r
2616   {\r
2617     "id": "e04ad761.fdc11",\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": 3233.216827392578,\r
2623     "y": 2345.883331298828,\r
2624     "z": "4456793a.59a288",\r
2625     "wires": []\r
2626   },\r
2627   {\r
2628     "id": "3d22a200.42e29e",\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": 3290.216827392578,\r
2635     "y": 2064.8832092285156,\r
2636     "z": "4456793a.59a288",\r
2637     "wires": [\r
2638       [\r
2639         "f0778891.f400f",\r
2640         "2be980fe.83d6b8"\r
2641       ]\r
2642     ]\r
2643   },\r
2644   {\r
2645     "id": "2be980fe.83d6b8",\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": 3513.216827392578,\r
2652     "y": 2050.8832092285156,\r
2653     "z": "4456793a.59a288",\r
2654     "wires": [\r
2655       [\r
2656         "1ec9f8d.bab6807"\r
2657       ]\r
2658     ]\r
2659   },\r
2660   {\r
2661     "id": "f0778891.f400f",\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": 3515.216827392578,\r
2668     "y": 2083.8832092285156,\r
2669     "z": "4456793a.59a288",\r
2670     "wires": [\r
2671       [\r
2672         "45edb459.c45c8c"\r
2673       ]\r
2674     ]\r
2675   },\r
2676   {\r
2677     "id": "45edb459.c45c8c",\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": 3658.216827392578,\r
2683     "y": 2080.8832092285156,\r
2684     "z": "4456793a.59a288",\r
2685     "wires": []\r
2686   },\r
2687   {\r
2688     "id": "1ec9f8d.bab6807",\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": 3661.216827392578,\r
2695     "y": 2043.8832092285156,\r
2696     "z": "4456793a.59a288",\r
2697     "wires": [\r
2698       [\r
2699         "8bf99b8b.4af368",\r
2700         "57c842ba.83379c"\r
2701       ]\r
2702     ]\r
2703   },\r
2704   {\r
2705     "id": "8bf99b8b.4af368",\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": 3855.216827392578,\r
2711     "y": 2046.8833312988281,\r
2712     "z": "4456793a.59a288",\r
2713     "wires": []\r
2714   },\r
2715   {\r
2716     "id": "d09bd461.c7ba88",\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": 3918.216827392578,\r
2723     "y": 2678.883331298828,\r
2724     "z": "4456793a.59a288",\r
2725     "wires": [\r
2726       [\r
2727         "adbd165.7c69a68"\r
2728       ]\r
2729     ]\r
2730   },\r
2731   {\r
2732     "id": "adbd165.7c69a68",\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": 4124.216827392578,\r
2739     "y": 2678.883331298828,\r
2740     "z": "4456793a.59a288",\r
2741     "wires": [\r
2742       [\r
2743         "9b58a38.dc3806"\r
2744       ]\r
2745     ]\r
2746   },\r
2747   {\r
2748     "id": "9b58a38.dc3806",\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": 4341.502471923828,\r
2755     "y": 2677.705108642578,\r
2756     "z": "4456793a.59a288",\r
2757     "wires": [\r
2758       [\r
2759         "ec0e6199.3c529"\r
2760       ]\r
2761     ]\r
2762   },\r
2763   {\r
2764     "id": "57c842ba.83379c",\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": 3877.216827392578,\r
2771     "y": 2114.883331298828,\r
2772     "z": "4456793a.59a288",\r
2773     "wires": [\r
2774       [\r
2775         "34626e8a.0bbe1a",\r
2776         "390dcffe.f00898",\r
2777         "4d1fe4fe.2890ec"\r
2778       ]\r
2779     ]\r
2780   },\r
2781   {\r
2782     "id": "34626e8a.0bbe1a",\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": 4072.7169494628906,\r
2789     "y": 2066.883331298828,\r
2790     "z": "4456793a.59a288",\r
2791     "wires": [\r
2792       [\r
2793         "95be6ff8.bea0e"\r
2794       ]\r
2795     ]\r
2796   },\r
2797   {\r
2798     "id": "390dcffe.f00898",\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": 4064.7169494628906,\r
2805     "y": 2121.883331298828,\r
2806     "z": "4456793a.59a288",\r
2807     "wires": [\r
2808       [\r
2809         "46312f08.59959"\r
2810       ]\r
2811     ]\r
2812   },\r
2813   {\r
2814     "id": "4d1fe4fe.2890ec",\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": 4069.7169494628906,\r
2821     "y": 2178.883331298828,\r
2822     "z": "4456793a.59a288",\r
2823     "wires": [\r
2824       [\r
2825         "15450853.01aa88"\r
2826       ]\r
2827     ]\r
2828   },\r
2829   {\r
2830     "id": "15450853.01aa88",\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": 4221.716949462891,\r
2836     "y": 2179.883331298828,\r
2837     "z": "4456793a.59a288",\r
2838     "wires": []\r
2839   },\r
2840   {\r
2841     "id": "46312f08.59959",\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": 4232.716949462891,\r
2847     "y": 2124.883331298828,\r
2848     "z": "4456793a.59a288",\r
2849     "wires": []\r
2850   },\r
2851   {\r
2852     "id": "95be6ff8.bea0e",\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": 4217.099273681641,\r
2860     "y": 2064.5390014648438,\r
2861     "z": "4456793a.59a288",\r
2862     "wires": [\r
2863       [\r
2864         "691678af.c2875"\r
2865       ]\r
2866     ]\r
2867   },\r
2868   {\r
2869     "id": "cad9326b.b2da",\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": 4517.216827392578,\r
2875     "y": 2282.8834533691406,\r
2876     "z": "4456793a.59a288",\r
2877     "wires": []\r
2878   },\r
2879   {\r
2880     "id": "3eb5f127.732d1e",\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": 4518.216827392578,\r
2886     "y": 2387.8834533691406,\r
2887     "z": "4456793a.59a288",\r
2888     "wires": []\r
2889   },\r
2890   {\r
2891     "id": "bf01d807.ca2a6",\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": 4513.216827392578,\r
2897     "y": 2336.8834533691406,\r
2898     "z": "4456793a.59a288",\r
2899     "wires": []\r
2900   },\r
2901   {\r
2902     "id": "ec0e6199.3c529",\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": 4548.334014892578,\r
2909     "y": 2667.2237854003906,\r
2910     "z": "4456793a.59a288",\r
2911     "wires": [\r
2912       [\r
2913         "310c30a2.98cdd8",\r
2914         "f852afcd.3e249",\r
2915         "77117052.72541"\r
2916       ]\r
2917     ]\r
2918   },\r
2919   {\r
2920     "id": "310c30a2.98cdd8",\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": 4763.334014892578,\r
2926     "y": 2629.2237854003906,\r
2927     "z": "4456793a.59a288",\r
2928     "wires": []\r
2929   },\r
2930   {\r
2931     "id": "f852afcd.3e249",\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": 4760.334014892578,\r
2938     "y": 2668.2237854003906,\r
2939     "z": "4456793a.59a288",\r
2940     "wires": [\r
2941       [\r
2942         "8dd58be1.de6918"\r
2943       ]\r
2944     ]\r
2945   },\r
2946   {\r
2947     "id": "77117052.72541",\r
2948     "type": "break",\r
2949     "name": "break",\r
2950     "xml": "<break>\n",\r
2951     "comments": "",\r
2952     "x": 4715.834014892578,\r
2953     "y": 2710.2237854003906,\r
2954     "z": "4456793a.59a288",\r
2955     "wires": []\r
2956   },\r
2957   {\r
2958     "id": "8dd58be1.de6918",\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": 4940.834014892578,\r
2965     "y": 2667.2237854003906,\r
2966     "z": "4456793a.59a288",\r
2967     "wires": [\r
2968       [\r
2969         "bf6de4b9.07a8d8"\r
2970       ]\r
2971     ]\r
2972   },\r
2973   {\r
2974     "id": "bf6de4b9.07a8d8",\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": 5098.834014892578,\r
2981     "y": 2667.2237854003906,\r
2982     "z": "4456793a.59a288",\r
2983     "wires": [\r
2984       [\r
2985         "4337b0b8.5fd258"\r
2986       ]\r
2987     ]\r
2988   },\r
2989   {\r
2990     "id": "4337b0b8.5fd258",\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": 5305.834014892578,\r
2996     "y": 2667.2237854003906,\r
2997     "z": "4456793a.59a288",\r
2998     "wires": []\r
2999   },\r
3000   {\r
3001     "id": "290c1291.0be836",\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": 4799.216827392578,\r
3008     "y": 2082.883331298828,\r
3009     "z": "4456793a.59a288",\r
3010     "wires": [\r
3011       [\r
3012         "4a42d224.6e916c"\r
3013       ]\r
3014     ]\r
3015   },\r
3016   {\r
3017     "id": "4a42d224.6e916c",\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": 4976.216827392578,\r
3024     "y": 2074.883331298828,\r
3025     "z": "4456793a.59a288",\r
3026     "wires": [\r
3027       [\r
3028         "44500a36.8314c4",\r
3029         "edf4775.6feec88"\r
3030       ]\r
3031     ]\r
3032   },\r
3033   {\r
3034     "id": "691678af.c2875",\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": 4401.216827392578,\r
3041     "y": 2078.883331298828,\r
3042     "z": "4456793a.59a288",\r
3043     "wires": [\r
3044       [\r
3045         "e26ac43.7b22838"\r
3046       ]\r
3047     ]\r
3048   },\r
3049   {\r
3050     "id": "e26ac43.7b22838",\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": 4596.216827392578,\r
3057     "y": 2078.883331298828,\r
3058     "z": "4456793a.59a288",\r
3059     "wires": [\r
3060       [\r
3061         "290c1291.0be836",\r
3062         "91efe90a.a989f"\r
3063       ]\r
3064     ]\r
3065   },\r
3066   {\r
3067     "id": "edf4775.6feec88",\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": 5184.216827392578,\r
3074     "y": 2081.883331298828,\r
3075     "z": "4456793a.59a288",\r
3076     "wires": [\r
3077       [\r
3078         "ccc8d651.608a58",\r
3079         "4c1a6f18.7cad4",\r
3080         "d7a69532.21f81"\r
3081       ]\r
3082     ]\r
3083   },\r
3084   {\r
3085     "id": "1e83e9df.5f1ca6",\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": 4978.216827392578,\r
3092     "y": 2147.883331298828,\r
3093     "z": "4456793a.59a288",\r
3094     "wires": [\r
3095       [\r
3096         "36af6584.4e4842"\r
3097       ]\r
3098     ]\r
3099   },\r
3100   {\r
3101     "id": "91efe90a.a989f",\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": 4801.216827392578,\r
3108     "y": 2155.883331298828,\r
3109     "z": "4456793a.59a288",\r
3110     "wires": [\r
3111       [\r
3112         "1e83e9df.5f1ca6"\r
3113       ]\r
3114     ]\r
3115   },\r
3116   {\r
3117     "id": "44500a36.8314c4",\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": 5214.216827392578,\r
3123     "y": 2029.8833312988281,\r
3124     "z": "4456793a.59a288",\r
3125     "wires": []\r
3126   },\r
3127   {\r
3128     "id": "36af6584.4e4842",\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": 5213.216827392578,\r
3134     "y": 2271.883331298828,\r
3135     "z": "4456793a.59a288",\r
3136     "wires": []\r
3137   },\r
3138   {\r
3139     "id": "ccc8d651.608a58",\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": 5394.216827392578,\r
3146     "y": 2072.883331298828,\r
3147     "z": "4456793a.59a288",\r
3148     "wires": [\r
3149       [\r
3150         "39681472.975784"\r
3151       ]\r
3152     ]\r
3153   },\r
3154   {\r
3155     "id": "4c1a6f18.7cad4",\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": 5386.216827392578,\r
3162     "y": 2127.883331298828,\r
3163     "z": "4456793a.59a288",\r
3164     "wires": [\r
3165       [\r
3166         "bc7c4cb6.e261e8"\r
3167       ]\r
3168     ]\r
3169   },\r
3170   {\r
3171     "id": "d7a69532.21f81",\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": 5391.216827392578,\r
3178     "y": 2184.883331298828,\r
3179     "z": "4456793a.59a288",\r
3180     "wires": [\r
3181       [\r
3182         "10a038dd.f22947"\r
3183       ]\r
3184     ]\r
3185   },\r
3186   {\r
3187     "id": "10a038dd.f22947",\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": 5543.216827392578,\r
3193     "y": 2185.883331298828,\r
3194     "z": "4456793a.59a288",\r
3195     "wires": []\r
3196   },\r
3197   {\r
3198     "id": "bc7c4cb6.e261e8",\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": 5554.216827392578,\r
3204     "y": 2130.883331298828,\r
3205     "z": "4456793a.59a288",\r
3206     "wires": []\r
3207   },\r
3208   {\r
3209     "id": "39681472.975784",\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": 5538.599151611328,\r
3217     "y": 2070.5390014648438,\r
3218     "z": "4456793a.59a288",\r
3219     "wires": [\r
3220       [\r
3221         "19f3508c.df2467"\r
3222       ]\r
3223     ]\r
3224   },\r
3225   {\r
3226     "id": "19f3508c.df2467",\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": 5753.216827392578,\r
3232     "y": 2066.883331298828,\r
3233     "z": "4456793a.59a288",\r
3234     "wires": []\r
3235   },\r
3236   {\r
3237     "id": "a8011cb7.dd8288",\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": 3251.883331298828,\r
3243     "y": 1676.8833312988281,\r
3244     "z": "4456793a.59a288",\r
3245     "wires": []\r
3246   },\r
3247   {\r
3248     "id": "48c20a24.e1d944",\r
3249     "type": "comment",\r
3250     "name": "This is it (should be)",\r
3251     "info": "",\r
3252     "comments": "",\r
3253     "x": 4473.883331298828,\r
3254     "y": 959.8833312988281,\r
3255     "z": "4456793a.59a288",\r
3256     "wires": []\r
3257   },\r
3258   {\r
3259     "id": "33f8c668.c00922",\r
3260     "type": "comment",\r
3261     "name": "This is it (should be)",\r
3262     "info": "",\r
3263     "comments": "",\r
3264     "x": 4465.883331298828,\r
3265     "y": 1049.8833312988281,\r
3266     "z": "4456793a.59a288",\r
3267     "wires": []\r
3268   },\r
3269   {\r
3270     "id": "60be6b60.c49e7c",\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": 3232.883331298828,\r
3276     "y": 2532.883331298828,\r
3277     "z": "4456793a.59a288",\r
3278     "wires": []\r
3279   },\r
3280   {\r
3281     "id": "77fe2bdc.eed0c4",\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": 3383.883331298828,\r
3288     "y": 2780.883331298828,\r
3289     "z": "4456793a.59a288",\r
3290     "wires": [\r
3291       []\r
3292     ]\r
3293   },\r
3294   {\r
3295     "id": "c658e7ef.0b11d8",\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": 3260.883331298828,\r
3302     "y": 2890.883331298828,\r
3303     "z": "4456793a.59a288",\r
3304     "wires": [\r
3305       [\r
3306         "5eb047e9.2f7668",\r
3307         "a0bb1c61.b88728"\r
3308       ]\r
3309     ]\r
3310   },\r
3311   {\r
3312     "id": "5eb047e9.2f7668",\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": 3444.883331298828,\r
3319     "y": 2869.883331298828,\r
3320     "z": "4456793a.59a288",\r
3321     "wires": [\r
3322       [\r
3323         "fb1841e2.6264"\r
3324       ]\r
3325     ]\r
3326   },\r
3327   {\r
3328     "id": "a0bb1c61.b88728",\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": 3336.883331298828,\r
3335     "y": 5047.883331298828,\r
3336     "z": "4456793a.59a288",\r
3337     "wires": [\r
3338       [\r
3339         "4d88182e.2579a"\r
3340       ]\r
3341     ]\r
3342   },\r
3343   {\r
3344     "id": "4d88182e.2579a",\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": 3491.883331298828,\r
3352     "y": 5040.883331298828,\r
3353     "z": "4456793a.59a288",\r
3354     "wires": [\r
3355       [\r
3356         "44d48088.590d78",\r
3357         "a2dd9c19.75287",\r
3358         "906b118c.b5ca4",\r
3359         "80cc4c1e.a6bfe",\r
3360         "3d1de5ec.2ac45a"\r
3361       ]\r
3362     ]\r
3363   },\r
3364   {\r
3365     "id": "fb1841e2.6264",\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": 3587.883331298828,\r
3373     "y": 2869.883331298828,\r
3374     "z": "4456793a.59a288",\r
3375     "wires": [\r
3376       [\r
3377         "e6eab534.0772a8",\r
3378         "b10b9835.71fc5",\r
3379         "9c84ab4f.a1a008",\r
3380         "50925bce.958aec",\r
3381         "eab645cb.c973",\r
3382         "74310cc1.794b3c",\r
3383         "b442de01.03d108",\r
3384         "a559e6ec.97fea8",\r
3385         "c65cb0db.1db578",\r
3386         "c0792f26.4d13b8",\r
3387         "e82ea719.e6f068",\r
3388         "c4a1bace.0d4bb",\r
3389         "8f561f42.000fe8",\r
3390         "aa738c85.1c137",\r
3391         "54d18bcb.0986c4",\r
3392         "4494cc45.3ce764",\r
3393         "b937ed07.a77618",\r
3394         "d5c180c8.9f0b08",\r
3395         "123d53b6.2c62dc"\r
3396       ]\r
3397     ]\r
3398   },\r
3399   {\r
3400     "id": "c65cb0db.1db578",\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": 3898.883331298828,\r
3407     "y": 3224.883331298828,\r
3408     "z": "4456793a.59a288",\r
3409     "wires": [\r
3410       []\r
3411     ]\r
3412   },\r
3413   {\r
3414     "id": "e6eab534.0772a8",\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": 3852.883331298828,\r
3421     "y": 3322.883331298828,\r
3422     "z": "4456793a.59a288",\r
3423     "wires": [\r
3424       []\r
3425     ]\r
3426   },\r
3427   {\r
3428     "id": "b10b9835.71fc5",\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": 3988.883331298828,\r
3435     "y": 3369.883331298828,\r
3436     "z": "4456793a.59a288",\r
3437     "wires": [\r
3438       []\r
3439     ]\r
3440   },\r
3441   {\r
3442     "id": "6e8e8040.0d64",\r
3443     "type": "comment",\r
3444     "name": "Create ROOT connectivity",\r
3445     "info": "",\r
3446     "comments": "",\r
3447     "x": 3819.883331298828,\r
3448     "y": 3173.883331298828,\r
3449     "z": "4456793a.59a288",\r
3450     "wires": []\r
3451   },\r
3452   {\r
3453     "id": "69147836.dfe478",\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": 4345.883331298828,\r
3459     "y": 3664.883331298828,\r
3460     "z": "4456793a.59a288",\r
3461     "wires": []\r
3462   },\r
3463   {\r
3464     "id": "9c84ab4f.a1a008",\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": 3909.883331298828,\r
3471     "y": 3703.883331298828,\r
3472     "z": "4456793a.59a288",\r
3473     "wires": [\r
3474       []\r
3475     ]\r
3476   },\r
3477   {\r
3478     "id": "50925bce.958aec",\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": 3857.883331298828,\r
3485     "y": 3754.883331298828,\r
3486     "z": "4456793a.59a288",\r
3487     "wires": [\r
3488       []\r
3489     ]\r
3490   },\r
3491   {\r
3492     "id": "eab645cb.c973",\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": 3993.883331298828,\r
3499     "y": 3801.883331298828,\r
3500     "z": "4456793a.59a288",\r
3501     "wires": [\r
3502       []\r
3503     ]\r
3504   },\r
3505   {\r
3506     "id": "921a5ccf.2b2f38",\r
3507     "type": "comment",\r
3508     "name": "Create MIDDLE-MAN connectivity",\r
3509     "info": "",\r
3510     "comments": "",\r
3511     "x": 3850.883331298828,\r
3512     "y": 3663.883331298828,\r
3513     "z": "4456793a.59a288",\r
3514     "wires": []\r
3515   },\r
3516   {\r
3517     "id": "8fa15646.014b68",\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": 4280.883331298828,\r
3525     "y": 3860.883331298828,\r
3526     "z": "4456793a.59a288",\r
3527     "wires": [\r
3528       []\r
3529     ]\r
3530   },\r
3531   {\r
3532     "id": "74310cc1.794b3c",\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": 3871.883331298828,\r
3539     "y": 3907.883331298828,\r
3540     "z": "4456793a.59a288",\r
3541     "wires": [\r
3542       [\r
3543         "9785079b.24c0f8",\r
3544         "81e9c000.43765",\r
3545         "377b8f18.e7499"\r
3546       ]\r
3547     ]\r
3548   },\r
3549   {\r
3550     "id": "9785079b.24c0f8",\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": 4118.883331298828,\r
3557     "y": 3861.883331298828,\r
3558     "z": "4456793a.59a288",\r
3559     "wires": [\r
3560       [\r
3561         "8fa15646.014b68"\r
3562       ]\r
3563     ]\r
3564   },\r
3565   {\r
3566     "id": "81e9c000.43765",\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": 4119.374298095703,\r
3573     "y": 3907.4573669433594,\r
3574     "z": "4456793a.59a288",\r
3575     "wires": [\r
3576       [\r
3577         "b389b203.4af2"\r
3578       ]\r
3579     ]\r
3580   },\r
3581   {\r
3582     "id": "377b8f18.e7499",\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": 4116.883331298828,\r
3589     "y": 3950.883331298828,\r
3590     "z": "4456793a.59a288",\r
3591     "wires": [\r
3592       [\r
3593         "7f887f7.029e08"\r
3594       ]\r
3595     ]\r
3596   },\r
3597   {\r
3598     "id": "b389b203.4af2",\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": 4281.945709228516,\r
3604     "y": 3907.7431030273438,\r
3605     "z": "4456793a.59a288",\r
3606     "wires": []\r
3607   },\r
3608   {\r
3609     "id": "7f887f7.029e08",\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": 4285.883331298828,\r
3615     "y": 3951.883331298828,\r
3616     "z": "4456793a.59a288",\r
3617     "wires": []\r
3618   },\r
3619   {\r
3620     "id": "54d18bcb.0986c4",\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": 3928.883331298828,\r
3627     "y": 4186.883331298828,\r
3628     "z": "4456793a.59a288",\r
3629     "wires": [\r
3630       []\r
3631     ]\r
3632   },\r
3633   {\r
3634     "id": "4494cc45.3ce764",\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": 3931.883331298828,\r
3641     "y": 4231.883331298828,\r
3642     "z": "4456793a.59a288",\r
3643     "wires": [\r
3644       []\r
3645     ]\r
3646   },\r
3647   {\r
3648     "id": "d5c180c8.9f0b08",\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": 3920.883331298828,\r
3655     "y": 4022.883331298828,\r
3656     "z": "4456793a.59a288",\r
3657     "wires": [\r
3658       []\r
3659     ]\r
3660   },\r
3661   {\r
3662     "id": "123d53b6.2c62dc",\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": 3922.883331298828,\r
3669     "y": 4069.883331298828,\r
3670     "z": "4456793a.59a288",\r
3671     "wires": [\r
3672       []\r
3673     ]\r
3674   },\r
3675   {\r
3676     "id": "8369bd06.57f78",\r
3677     "type": "comment",\r
3678     "name": "The following two will be done in F1",\r
3679     "info": "",\r
3680     "comments": "",\r
3681     "x": 3844.883331298828,\r
3682     "y": 4139.883331298828,\r
3683     "z": "4456793a.59a288",\r
3684     "wires": []\r
3685   },\r
3686   {\r
3687     "id": "487123e4.9cc8ac",\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": 4451.883331298828,\r
3694     "y": 4868.883331298828,\r
3695     "z": "4456793a.59a288",\r
3696     "wires": [\r
3697       []\r
3698     ]\r
3699   },\r
3700   {\r
3701     "id": "44d48088.590d78",\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": 3706.883331298828,\r
3708     "y": 5021.883331298828,\r
3709     "z": "4456793a.59a288",\r
3710     "wires": [\r
3711       [\r
3712         "876b39f.35a52c8",\r
3713         "8bc7cacf.04871"\r
3714       ]\r
3715     ]\r
3716   },\r
3717   {\r
3718     "id": "8bc7cacf.04871",\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": 3878.883331298828,\r
3725     "y": 5018.883331298828,\r
3726     "z": "4456793a.59a288",\r
3727     "wires": [\r
3728       [\r
3729         "682f4705.be7878"\r
3730       ]\r
3731     ]\r
3732   },\r
3733   {\r
3734     "id": "876b39f.35a52c8",\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": 3830.883331298828,\r
3741     "y": 5865.883331298828,\r
3742     "z": "4456793a.59a288",\r
3743     "wires": [\r
3744       [\r
3745         "dd90ad1a.7eef1"\r
3746       ]\r
3747     ]\r
3748   },\r
3749   {\r
3750     "id": "270e251f.118d82",\r
3751     "type": "comment",\r
3752     "name": "1 --> PCE is needed",\r
3753     "info": "",\r
3754     "comments": "",\r
3755     "x": 3891.883331298828,\r
3756     "y": 4988.883331298828,\r
3757     "z": "4456793a.59a288",\r
3758     "wires": []\r
3759   },\r
3760   {\r
3761     "id": "4e629c01.10676c",\r
3762     "type": "comment",\r
3763     "name": "2 --> no need to call PCE",\r
3764     "info": "",\r
3765     "comments": "",\r
3766     "x": 3901.883331298828,\r
3767     "y": 5823.883331298828,\r
3768     "z": "4456793a.59a288",\r
3769     "wires": []\r
3770   },\r
3771   {\r
3772     "id": "b442de01.03d108",\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": 3928.883331298828,\r
3779     "y": 4295.883331298828,\r
3780     "z": "4456793a.59a288",\r
3781     "wires": [\r
3782       []\r
3783     ]\r
3784   },\r
3785   {\r
3786     "id": "682f4705.be7878",\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": 4054.883331298828,\r
3794     "y": 5020.883331298828,\r
3795     "z": "4456793a.59a288",\r
3796     "wires": [\r
3797       [\r
3798         "bf69d5f0.d5943",\r
3799         "50051e09.5a44c8",\r
3800         "d933fbbc.703308",\r
3801         "52cab496.bab24c",\r
3802         "86c9672.840f818",\r
3803         "81a4b89b.48797",\r
3804         "487123e4.9cc8ac"\r
3805       ]\r
3806     ]\r
3807   },\r
3808   {\r
3809     "id": "b674f25b.3aa2a8",\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": 5499.883331298828,\r
3815     "y": 4493.883331298828,\r
3816     "z": "4456793a.59a288",\r
3817     "wires": []\r
3818   },\r
3819   {\r
3820     "id": "bf69d5f0.d5943",\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": 4446.883331298828,\r
3827     "y": 5171.883331298828,\r
3828     "z": "4456793a.59a288",\r
3829     "wires": [\r
3830       []\r
3831     ]\r
3832   },\r
3833   {\r
3834     "id": "5c84b550.a10344",\r
3835     "type": "call",\r
3836     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
3837     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
3838     "comments": "",\r
3839     "outputs": 1,\r
3840     "x": 3938.883331298828,\r
3841     "y": 4350.883331298828,\r
3842     "z": "4456793a.59a288",\r
3843     "wires": [\r
3844       []\r
3845     ]\r
3846   },\r
3847   {\r
3848     "id": "a559e6ec.97fea8",\r
3849     "type": "save",\r
3850     "name": "save connectivityB relationship to UNI-ROOT, 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-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
3852     "comments": "",\r
3853     "outputs": 1,\r
3854     "x": 3904.883331298828,\r
3855     "y": 3563.883331298828,\r
3856     "z": "4456793a.59a288",\r
3857     "wires": [\r
3858       []\r
3859     ]\r
3860   },\r
3861   {\r
3862     "id": "ce126dd2.e4e358",\r
3863     "type": "save",\r
3864     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3865     "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
3866     "comments": "",\r
3867     "outputs": 1,\r
3868     "x": 3364.883331298828,\r
3869     "y": 1782.8833312988281,\r
3870     "z": "4456793a.59a288",\r
3871     "wires": [\r
3872       []\r
3873     ]\r
3874   },\r
3875   {\r
3876     "id": "b48deb35.d704b8",\r
3877     "type": "save",\r
3878     "name": "save LEAF UNI in AAI",\r
3879     "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
3880     "comments": "",\r
3881     "outputs": 1,\r
3882     "x": 3271.883331298828,\r
3883     "y": 1729.8833312988281,\r
3884     "z": "4456793a.59a288",\r
3885     "wires": [\r
3886       []\r
3887     ]\r
3888   },\r
3889   {\r
3890     "id": "dfa7cbf8.916408",\r
3891     "type": "set",\r
3892     "name": "set prop.connectivity-domainB-uuid=tmp.ROOT.uni-p-interface-long",\r
3893     "xml": "<set>\n<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />\n",\r
3894     "comments": "",\r
3895     "x": 3954.883331298828,\r
3896     "y": 3266.883331298828,\r
3897     "z": "4456793a.59a288",\r
3898     "wires": []\r
3899   },\r
3900   {\r
3901     "id": "c0792f26.4d13b8",\r
3902     "type": "execute",\r
3903     "name": "execute UUID generator for connectivity domainA",\r
3904     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3905     "comments": "",\r
3906     "outputs": 1,\r
3907     "x": 3901.883331298828,\r
3908     "y": 2854.883331298828,\r
3909     "z": "4456793a.59a288",\r
3910     "wires": [\r
3911       []\r
3912     ]\r
3913   },\r
3914   {\r
3915     "id": "e82ea719.e6f068",\r
3916     "type": "save",\r
3917     "name": "save connectivity resource in AAI",\r
3918     "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
3919     "comments": "",\r
3920     "outputs": 1,\r
3921     "x": 3849.883331298828,\r
3922     "y": 2902.883331298828,\r
3923     "z": "4456793a.59a288",\r
3924     "wires": [\r
3925       []\r
3926     ]\r
3927   },\r
3928   {\r
3929     "id": "c4a1bace.0d4bb",\r
3930     "type": "save",\r
3931     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3932     "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
3933     "comments": "",\r
3934     "outputs": 1,\r
3935     "x": 3977.883331298828,\r
3936     "y": 2949.883331298828,\r
3937     "z": "4456793a.59a288",\r
3938     "wires": [\r
3939       []\r
3940     ]\r
3941   },\r
3942   {\r
3943     "id": "c598b640.a89e8",\r
3944     "type": "comment",\r
3945     "name": "Create LEAF connectivity",\r
3946     "info": "",\r
3947     "comments": "",\r
3948     "x": 3814.883331298828,\r
3949     "y": 2812.883331298828,\r
3950     "z": "4456793a.59a288",\r
3951     "wires": []\r
3952   },\r
3953   {\r
3954     "id": "8f561f42.000fe8",\r
3955     "type": "save",\r
3956     "name": "save LEAF UNI in AAI",\r
3957     "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
3958     "comments": "",\r
3959     "outputs": 1,\r
3960     "x": 3811.883331298828,\r
3961     "y": 3040.883331298828,\r
3962     "z": "4456793a.59a288",\r
3963     "wires": [\r
3964       []\r
3965     ]\r
3966   },\r
3967   {\r
3968     "id": "aa738c85.1c137",\r
3969     "type": "save",\r
3970     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3971     "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
3972     "comments": "",\r
3973     "outputs": 1,\r
3974     "x": 3904.883331298828,\r
3975     "y": 3093.883331298828,\r
3976     "z": "4456793a.59a288",\r
3977     "wires": [\r
3978       []\r
3979     ]\r
3980   },\r
3981   {\r
3982     "id": "b51a7f91.5cff9",\r
3983     "type": "comment",\r
3984     "name": "Create LEAF UNI",\r
3985     "info": "",\r
3986     "comments": "",\r
3987     "x": 3795.883331298828,\r
3988     "y": 2996.883331298828,\r
3989     "z": "4456793a.59a288",\r
3990     "wires": []\r
3991   },\r
3992   {\r
3993     "id": "4ec3384a.676a5",\r
3994     "type": "comment",\r
3995     "name": "Create ROOT UNI",\r
3996     "info": "",\r
3997     "comments": "",\r
3998     "x": 3801.883331298828,\r
3999     "y": 3446.883331298828,\r
4000     "z": "4456793a.59a288",\r
4001     "wires": []\r
4002   },\r
4003   {\r
4004     "id": "52cab496.bab24c",\r
4005     "type": "save",\r
4006     "name": "save LEAF UNI in AAI",\r
4007     "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
4008     "comments": "",\r
4009     "outputs": 1,\r
4010     "x": 4368.883331298828,\r
4011     "y": 4501.883331298828,\r
4012     "z": "4456793a.59a288",\r
4013     "wires": [\r
4014       []\r
4015     ]\r
4016   },\r
4017   {\r
4018     "id": "1646f155.836fb7",\r
4019     "type": "comment",\r
4020     "name": "Create LEAF UNI",\r
4021     "info": "",\r
4022     "comments": "",\r
4023     "x": 4352.883331298828,\r
4024     "y": 4457.883331298828,\r
4025     "z": "4456793a.59a288",\r
4026     "wires": []\r
4027   },\r
4028   {\r
4029     "id": "778ce84a.a3568",\r
4030     "type": "comment",\r
4031     "name": "Create LEAF connectivity",\r
4032     "info": "",\r
4033     "comments": "",\r
4034     "x": 5099.883331298828,\r
4035     "y": 4488.883331298828,\r
4036     "z": "4456793a.59a288",\r
4037     "wires": []\r
4038   },\r
4039   {\r
4040     "id": "b61f10f5.eeecf",\r
4041     "type": "execute",\r
4042     "name": "execute UUID generator for connectivity domainA",\r
4043     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
4044     "comments": "",\r
4045     "outputs": 1,\r
4046     "x": 5186.883331298828,\r
4047     "y": 4530.883331298828,\r
4048     "z": "4456793a.59a288",\r
4049     "wires": [\r
4050       []\r
4051     ]\r
4052   },\r
4053   {\r
4054     "id": "90640d99.12302",\r
4055     "type": "save",\r
4056     "name": "save connectivity resource in AAI",\r
4057     "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
4058     "comments": "",\r
4059     "outputs": 1,\r
4060     "x": 5134.883331298828,\r
4061     "y": 4578.883331298828,\r
4062     "z": "4456793a.59a288",\r
4063     "wires": [\r
4064       []\r
4065     ]\r
4066   },\r
4067   {\r
4068     "id": "42e8372d.d506e",\r
4069     "type": "save",\r
4070     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
4071     "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
4072     "comments": "",\r
4073     "outputs": 1,\r
4074     "x": 5262.883331298828,\r
4075     "y": 4625.883331298828,\r
4076     "z": "4456793a.59a288",\r
4077     "wires": [\r
4078       []\r
4079     ]\r
4080   },\r
4081   {\r
4082     "id": "81a4b89b.48797",\r
4083     "type": "save",\r
4084     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
4085     "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
4086     "comments": "",\r
4087     "outputs": 1,\r
4088     "x": 4439.883331298828,\r
4089     "y": 4910.883331298828,\r
4090     "z": "4456793a.59a288",\r
4091     "wires": [\r
4092       []\r
4093     ]\r
4094   },\r
4095   {\r
4096     "id": "a53bc0fc.34d448",\r
4097     "type": "comment",\r
4098     "name": "populate connectivity-B variable in the context map",\r
4099     "info": "",\r
4100     "comments": "",\r
4101     "x": 4422.883331298828,\r
4102     "y": 4972.883331298828,\r
4103     "z": "4456793a.59a288",\r
4104     "wires": []\r
4105   },\r
4106   {\r
4107     "id": "50051e09.5a44c8",\r
4108     "type": "call",\r
4109     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
4110     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
4111     "comments": "",\r
4112     "outputs": 1,\r
4113     "x": 4533.883331298828,\r
4114     "y": 5014.883331298828,\r
4115     "z": "4456793a.59a288",\r
4116     "wires": [\r
4117       []\r
4118     ]\r
4119   },\r
4120   {\r
4121     "id": "3073b323.349b7c",\r
4122     "type": "set",\r
4123     "name": "set prop.connectivity-domainB-uuid",\r
4124     "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
4125     "comments": "",\r
4126     "x": 4981.883331298828,\r
4127     "y": 5067.883331298828,\r
4128     "z": "4456793a.59a288",\r
4129     "wires": []\r
4130   },\r
4131   {\r
4132     "id": "dbdd7c00.c39698",\r
4133     "type": "save",\r
4134     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
4135     "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
4136     "comments": "",\r
4137     "outputs": 1,\r
4138     "x": 4291.883331298828,\r
4139     "y": 5765.883331298828,\r
4140     "z": "4456793a.59a288",\r
4141     "wires": [\r
4142       []\r
4143     ]\r
4144   },\r
4145   {\r
4146     "id": "1d6ec4bb.ad8c0b",\r
4147     "type": "save",\r
4148     "name": "save LEAF UNI in AAI",\r
4149     "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
4150     "comments": "",\r
4151     "outputs": 1,\r
4152     "x": 4189.883331298828,\r
4153     "y": 5714.883331298828,\r
4154     "z": "4456793a.59a288",\r
4155     "wires": [\r
4156       []\r
4157     ]\r
4158   },\r
4159   {\r
4160     "id": "41eb9866.4372",\r
4161     "type": "comment",\r
4162     "name": "Create LEAF UNI",\r
4163     "info": "",\r
4164     "comments": "",\r
4165     "x": 4173.883331298828,\r
4166     "y": 5670.883331298828,\r
4167     "z": "4456793a.59a288",\r
4168     "wires": []\r
4169   },\r
4170   {\r
4171     "id": "c54f6272.9ba24",\r
4172     "type": "save",\r
4173     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
4174     "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
4175     "comments": "",\r
4176     "outputs": 1,\r
4177     "x": 4980.883087158203,\r
4178     "y": 5868.883331298828,\r
4179     "z": "4456793a.59a288",\r
4180     "wires": [\r
4181       []\r
4182     ]\r
4183   },\r
4184   {\r
4185     "id": "d933fbbc.703308",\r
4186     "type": "switchNode",\r
4187     "name": "switch found-root-connectivity",\r
4188     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4189     "comments": "",\r
4190     "outputs": 1,\r
4191     "x": 4360.883331298828,\r
4192     "y": 5071.883331298828,\r
4193     "z": "4456793a.59a288",\r
4194     "wires": [\r
4195       [\r
4196         "4c2996a3.75ee88",\r
4197         "d5943bd2.ad1f5"\r
4198       ]\r
4199     ]\r
4200   },\r
4201   {\r
4202     "id": "4c2996a3.75ee88",\r
4203     "type": "outcomeTrue",\r
4204     "name": "true",\r
4205     "xml": "<outcome value='true'>\n",\r
4206     "comments": "",\r
4207     "outputs": 1,\r
4208     "x": 4571.883331298828,\r
4209     "y": 5071.883331298828,\r
4210     "z": "4456793a.59a288",\r
4211     "wires": [\r
4212       [\r
4213         "8f5805d9.890fd8"\r
4214       ]\r
4215     ]\r
4216   },\r
4217   {\r
4218     "id": "8f5805d9.890fd8",\r
4219     "type": "block",\r
4220     "name": "block : atomic",\r
4221     "xml": "<block atomic='true'>",\r
4222     "atomic": "true",\r
4223     "comments": "",\r
4224     "outputs": 1,\r
4225     "x": 4727.883331298828,\r
4226     "y": 5067.883331298828,\r
4227     "z": "4456793a.59a288",\r
4228     "wires": [\r
4229       [\r
4230         "3073b323.349b7c",\r
4231         "7eeebeb3.54b298",\r
4232         "eadd33f3.5f43"\r
4233       ]\r
4234     ]\r
4235   },\r
4236   {\r
4237     "id": "d5943bd2.ad1f5",\r
4238     "type": "outcomeFalse",\r
4239     "name": "false",\r
4240     "xml": "<outcome value='false'>\n",\r
4241     "comments": "",\r
4242     "outputs": 1,\r
4243     "x": 4567.883331298828,\r
4244     "y": 5119.883331298828,\r
4245     "z": "4456793a.59a288",\r
4246     "wires": [\r
4247       [\r
4248         "329fba30.af81ce"\r
4249       ]\r
4250     ]\r
4251   },\r
4252   {\r
4253     "id": "329fba30.af81ce",\r
4254     "type": "returnFailure",\r
4255     "name": "return failure",\r
4256     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4257     "comments": "",\r
4258     "x": 4715.883331298828,\r
4259     "y": 5114.883331298828,\r
4260     "z": "4456793a.59a288",\r
4261     "wires": []\r
4262   },\r
4263   {\r
4264     "id": "7679135b.31e8e4",\r
4265     "type": "save",\r
4266     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
4267     "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
4268     "comments": "",\r
4269     "outputs": 1,\r
4270     "x": 5223.883331298828,\r
4271     "y": 4696.883331298828,\r
4272     "z": "4456793a.59a288",\r
4273     "wires": [\r
4274       []\r
4275     ]\r
4276   },\r
4277   {\r
4278     "id": "d050303.0f4a3d",\r
4279     "type": "execute",\r
4280     "name": "execute UUID generator for ethernet-service-name",\r
4281     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
4282     "comments": "",\r
4283     "outputs": 1,\r
4284     "x": 2389.883331298828,\r
4285     "y": 107.88333129882812,\r
4286     "z": "4456793a.59a288",\r
4287     "wires": [\r
4288       []\r
4289     ]\r
4290   },\r
4291   {\r
4292     "id": "c2f95f80.985fc",\r
4293     "type": "set",\r
4294     "name": "set new ethernet-service-name",\r
4295     "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
4296     "comments": "",\r
4297     "x": 2323.883331298828,\r
4298     "y": 143.88333129882812,\r
4299     "z": "4456793a.59a288",\r
4300     "wires": []\r
4301   },\r
4302   {\r
4303     "id": "360465cd.d1fc3a",\r
4304     "type": "comment",\r
4305     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
4306     "info": "",\r
4307     "comments": "",\r
4308     "x": 2508.883331298828,\r
4309     "y": 70.88333129882812,\r
4310     "z": "4456793a.59a288",\r
4311     "wires": []\r
4312   },\r
4313   {\r
4314     "id": "33673680.57cf72",\r
4315     "type": "set",\r
4316     "name": "set current-provider-id and current-cvlan-id",\r
4317     "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
4318     "comments": "",\r
4319     "x": 4258.883331298828,\r
4320     "y": 5831.883331298828,\r
4321     "z": "4456793a.59a288",\r
4322     "wires": []\r
4323   },\r
4324   {\r
4325     "id": "e2cec405.b0409",\r
4326     "type": "call",\r
4327     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4328     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4329     "comments": "",\r
4330     "outputs": 1,\r
4331     "x": 4391.883331298828,\r
4332     "y": 5879.883331298828,\r
4333     "z": "4456793a.59a288",\r
4334     "wires": [\r
4335       []\r
4336     ]\r
4337   },\r
4338   {\r
4339     "id": "6e2ab292.566884",\r
4340     "type": "switchNode",\r
4341     "name": "switch found-connectivity?",\r
4342     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4343     "comments": "",\r
4344     "outputs": 1,\r
4345     "x": 4210.883331298828,\r
4346     "y": 5937.883331298828,\r
4347     "z": "4456793a.59a288",\r
4348     "wires": [\r
4349       [\r
4350         "9073e816.ad482",\r
4351         "45d66689.aaaf7"\r
4352       ]\r
4353     ]\r
4354   },\r
4355   {\r
4356     "id": "9073e816.ad482",\r
4357     "type": "outcomeFalse",\r
4358     "name": "false",\r
4359     "xml": "<outcome value='false'>\n",\r
4360     "comments": "",\r
4361     "outputs": 1,\r
4362     "x": 4403.883331298828,\r
4363     "y": 5938.883331298828,\r
4364     "z": "4456793a.59a288",\r
4365     "wires": [\r
4366       [\r
4367         "db09f17e.79bb3"\r
4368       ]\r
4369     ]\r
4370   },\r
4371   {\r
4372     "id": "db09f17e.79bb3",\r
4373     "type": "returnFailure",\r
4374     "name": "return failure",\r
4375     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
4376     "comments": "",\r
4377     "x": 4559.883331298828,\r
4378     "y": 5935.883331298828,\r
4379     "z": "4456793a.59a288",\r
4380     "wires": []\r
4381   },\r
4382   {\r
4383     "id": "45d66689.aaaf7",\r
4384     "type": "outcomeTrue",\r
4385     "name": "true",\r
4386     "xml": "<outcome value='true'>\n",\r
4387     "comments": "",\r
4388     "outputs": 1,\r
4389     "x": 4407.883331298828,\r
4390     "y": 5982.883331298828,\r
4391     "z": "4456793a.59a288",\r
4392     "wires": [\r
4393       [\r
4394         "2adb498f.b3f97e"\r
4395       ]\r
4396     ]\r
4397   },\r
4398   {\r
4399     "id": "2adb498f.b3f97e",\r
4400     "type": "block",\r
4401     "name": "block",\r
4402     "xml": "<block>\n",\r
4403     "atomic": "false",\r
4404     "comments": "",\r
4405     "outputs": 1,\r
4406     "x": 4546.883331298828,\r
4407     "y": 5977.883331298828,\r
4408     "z": "4456793a.59a288",\r
4409     "wires": [\r
4410       [\r
4411         "c54f6272.9ba24",\r
4412         "6998ca1d.92c5d4",\r
4413         "15021f96.80eb18",\r
4414         "e6e1dbd3.6e0a6",\r
4415         "67962261.2516d4",\r
4416         "1b601be6.7f6134",\r
4417         "27a83227.012ede",\r
4418         "b320b0e.20770d",\r
4419         "34955381.c5797c",\r
4420         "9ca77368.01f7",\r
4421         "6922fe88.2fe5f8",\r
4422         "4514c9c4.eaef1"\r
4423       ]\r
4424     ]\r
4425   },\r
4426   {\r
4427     "id": "27a83227.012ede",\r
4428     "type": "save",\r
4429     "name": "get all-vpn-bindings from aai",\r
4430     "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
4431     "comments": "",\r
4432     "outputs": 1,\r
4433     "x": 4743.883331298828,\r
4434     "y": 6656.883331298828,\r
4435     "z": "4456793a.59a288",\r
4436     "wires": [\r
4437       [\r
4438         "c2308ca7.57dff",\r
4439         "aeb0b0d0.9dedb8",\r
4440         "b67a59a3.18fb1"\r
4441       ]\r
4442     ]\r
4443   },\r
4444   {\r
4445     "id": "c2308ca7.57dff",\r
4446     "type": "success",\r
4447     "name": "success",\r
4448     "xml": "<outcome value='success'>\n",\r
4449     "comments": "",\r
4450     "outputs": 1,\r
4451     "x": 4948.883331298828,\r
4452     "y": 6653.883331298828,\r
4453     "z": "4456793a.59a288",\r
4454     "wires": [\r
4455       [\r
4456         "eeeb2441.6710c8"\r
4457       ]\r
4458     ]\r
4459   },\r
4460   {\r
4461     "id": "aeb0b0d0.9dedb8",\r
4462     "type": "not-found",\r
4463     "name": "not-found",\r
4464     "xml": "<outcome value='not-found'>\n",\r
4465     "comments": "",\r
4466     "outputs": 1,\r
4467     "x": 4932.374298095703,\r
4468     "y": 6715.457366943359,\r
4469     "z": "4456793a.59a288",\r
4470     "wires": [\r
4471       [\r
4472         "77e5496.94ba0b8"\r
4473       ]\r
4474     ]\r
4475   },\r
4476   {\r
4477     "id": "b67a59a3.18fb1",\r
4478     "type": "failure",\r
4479     "name": "failure",\r
4480     "xml": "<outcome value='failure'>\n",\r
4481     "comments": "",\r
4482     "outputs": 1,\r
4483     "x": 4929.883331298828,\r
4484     "y": 6758.883331298828,\r
4485     "z": "4456793a.59a288",\r
4486     "wires": [\r
4487       [\r
4488         "f70b29bb.3fb788"\r
4489       ]\r
4490     ]\r
4491   },\r
4492   {\r
4493     "id": "eeeb2441.6710c8",\r
4494     "type": "block",\r
4495     "name": "block : atomic",\r
4496     "xml": "<block atomic=\"true\">",\r
4497     "atomic": "true",\r
4498     "outputs": 1,\r
4499     "x": 5104.883331298828,\r
4500     "y": 6667.883331298828,\r
4501     "z": "4456793a.59a288",\r
4502     "wires": [\r
4503       [\r
4504         "a3bf8aa6.020cb8"\r
4505       ]\r
4506     ]\r
4507   },\r
4508   {\r
4509     "id": "77e5496.94ba0b8",\r
4510     "type": "returnFailure",\r
4511     "name": "return failure",\r
4512     "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
4513     "comments": "",\r
4514     "x": 5094.945709228516,\r
4515     "y": 6715.743103027344,\r
4516     "z": "4456793a.59a288",\r
4517     "wires": []\r
4518   },\r
4519   {\r
4520     "id": "f70b29bb.3fb788",\r
4521     "type": "returnFailure",\r
4522     "name": "return failure",\r
4523     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4524     "comments": "",\r
4525     "x": 5096.883331298828,\r
4526     "y": 6757.883331298828,\r
4527     "z": "4456793a.59a288",\r
4528     "wires": []\r
4529   },\r
4530   {\r
4531     "id": "a3bf8aa6.020cb8",\r
4532     "type": "for",\r
4533     "name": "for vpnidx in all-vpn-bindings",\r
4534     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4535     "comments": "",\r
4536     "outputs": 1,\r
4537     "x": 5351.883331298828,\r
4538     "y": 6664.883331298828,\r
4539     "z": "4456793a.59a288",\r
4540     "wires": [\r
4541       [\r
4542         "8a5692b6.b002c8"\r
4543       ]\r
4544     ]\r
4545   },\r
4546   {\r
4547     "id": "8a5692b6.b002c8",\r
4548     "type": "block",\r
4549     "name": "block : atomic",\r
4550     "xml": "<block atomic='true'>",\r
4551     "atomic": "true",\r
4552     "comments": "",\r
4553     "outputs": 1,\r
4554     "x": 5588.883331298828,\r
4555     "y": 6660.883331298828,\r
4556     "z": "4456793a.59a288",\r
4557     "wires": [\r
4558       [\r
4559         "eabc4609.9defb"\r
4560       ]\r
4561     ]\r
4562   },\r
4563   {\r
4564     "id": "98f388ed.2cda7",\r
4565     "type": "switchNode",\r
4566     "name": "switch vpnuuid is for this slice",\r
4567     "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
4568     "comments": "",\r
4569     "outputs": 1,\r
4570     "x": 5831.883331298828,\r
4571     "y": 6632.883331298828,\r
4572     "z": "4456793a.59a288",\r
4573     "wires": [\r
4574       [\r
4575         "6a0ae6a2.ba9fb",\r
4576         "25f881ea.6e0566"\r
4577       ]\r
4578     ]\r
4579   },\r
4580   {\r
4581     "id": "6a0ae6a2.ba9fb",\r
4582     "type": "outcomeTrue",\r
4583     "name": "true",\r
4584     "xml": "<outcome value='true'>\n",\r
4585     "comments": "",\r
4586     "outputs": 1,\r
4587     "x": 6036.883331298828,\r
4588     "y": 6652.883331298828,\r
4589     "z": "4456793a.59a288",\r
4590     "wires": [\r
4591       [\r
4592         "eabc4609.9defb"\r
4593       ]\r
4594     ]\r
4595   },\r
4596   {\r
4597     "id": "25f881ea.6e0566",\r
4598     "type": "outcomeFalse",\r
4599     "name": "false",\r
4600     "xml": "<outcome value='false'>\n",\r
4601     "comments": "",\r
4602     "outputs": 1,\r
4603     "x": 6035.883331298828,\r
4604     "y": 6605.883331298828,\r
4605     "z": "4456793a.59a288",\r
4606     "wires": [\r
4607       []\r
4608     ]\r
4609   },\r
4610   {\r
4611     "id": "eabc4609.9defb",\r
4612     "type": "block",\r
4613     "name": "block : atomic",\r
4614     "xml": "<block atomic='true'>",\r
4615     "atomic": "true",\r
4616     "comments": "",\r
4617     "outputs": 1,\r
4618     "x": 4779.883331298828,\r
4619     "y": 6927.883331298828,\r
4620     "z": "4456793a.59a288",\r
4621     "wires": [\r
4622       [\r
4623         "392e3f81.e0a6a8"\r
4624       ]\r
4625     ]\r
4626   },\r
4627   {\r
4628     "id": "f8de35a7.d0325",\r
4629     "type": "set",\r
4630     "name": "set tmp.aai.the-vpn-binding",\r
4631     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4632     "comments": "",\r
4633     "x": 6241.88330078125,\r
4634     "y": 6865.88330078125,\r
4635     "z": "4456793a.59a288",\r
4636     "wires": []\r
4637   },\r
4638   {\r
4639     "id": "8d84ad9.3a159d",\r
4640     "type": "comment",\r
4641     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4642     "info": "",\r
4643     "comments": "",\r
4644     "x": 4841.883331298828,\r
4645     "y": 6603.883331298828,\r
4646     "z": "4456793a.59a288",\r
4647     "wires": []\r
4648   },\r
4649   {\r
4650     "id": "1b601be6.7f6134",\r
4651     "type": "set",\r
4652     "name": "set srcTtp OTN layer",\r
4653     "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
4654     "comments": "",\r
4655     "x": 4725.883331298828,\r
4656     "y": 6452.883331298828,\r
4657     "z": "4456793a.59a288",\r
4658     "wires": []\r
4659   },\r
4660   {\r
4661     "id": "6e7ae435.b7607c",\r
4662     "type": "switchNode",\r
4663     "name": "switch provider-id domainA",\r
4664     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
4665     "comments": "",\r
4666     "outputs": 1,\r
4667     "x": 5070.883331298828,\r
4668     "y": 6283.883331298828,\r
4669     "z": "4456793a.59a288",\r
4670     "wires": [\r
4671       [\r
4672         "82ed19a6.aafd78"\r
4673       ]\r
4674     ]\r
4675   },\r
4676   {\r
4677     "id": "82ed19a6.aafd78",\r
4678     "type": "outcomeTrue",\r
4679     "name": "true",\r
4680     "xml": "<outcome value='true'>\n",\r
4681     "comments": "",\r
4682     "outputs": 1,\r
4683     "x": 5290.883331298828,\r
4684     "y": 6289.883331298828,\r
4685     "z": "4456793a.59a288",\r
4686     "wires": [\r
4687       [\r
4688         "fa1ec726.b4647"\r
4689       ]\r
4690     ]\r
4691   },\r
4692   {\r
4693     "id": "fa1ec726.b4647",\r
4694     "type": "switchNode",\r
4695     "name": "switch te-topo-id",\r
4696     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4697     "comments": "",\r
4698     "outputs": 1,\r
4699     "x": 5475.883331298828,\r
4700     "y": 6288.883331298828,\r
4701     "z": "4456793a.59a288",\r
4702     "wires": [\r
4703       [\r
4704         "46306bd4.ee79e4"\r
4705       ]\r
4706     ]\r
4707   },\r
4708   {\r
4709     "id": "46306bd4.ee79e4",\r
4710     "type": "outcomeTrue",\r
4711     "name": "true",\r
4712     "xml": "<outcome value='true'>\n",\r
4713     "comments": "",\r
4714     "outputs": 1,\r
4715     "x": 5667.883331298828,\r
4716     "y": 6291.883331298828,\r
4717     "z": "4456793a.59a288",\r
4718     "wires": [\r
4719       [\r
4720         "3b3ddb68.994c3c"\r
4721       ]\r
4722     ]\r
4723   },\r
4724   {\r
4725     "id": "3b3ddb68.994c3c",\r
4726     "type": "set",\r
4727     "name": "set otnTopoIdSrc",\r
4728     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4729     "comments": "",\r
4730     "x": 5876.883331298828,\r
4731     "y": 6289.883331298828,\r
4732     "z": "4456793a.59a288",\r
4733     "wires": []\r
4734   },\r
4735   {\r
4736     "id": "b320b0e.20770d",\r
4737     "type": "for",\r
4738     "name": "for netwidx..allNetworksList_length",\r
4739     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4740     "comments": "",\r
4741     "outputs": 1,\r
4742     "x": 4777.883331298828,\r
4743     "y": 6277.883331298828,\r
4744     "z": "4456793a.59a288",\r
4745     "wires": [\r
4746       [\r
4747         "6e7ae435.b7607c"\r
4748       ]\r
4749     ]\r
4750   },\r
4751   {\r
4752     "id": "15021f96.80eb18",\r
4753     "type": "get-resource",\r
4754     "name": "get-resource network-resources-list",\r
4755     "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
4756     "comments": "",\r
4757     "outputs": 1,\r
4758     "x": 4785.883331298828,\r
4759     "y": 6170.883331298828,\r
4760     "z": "4456793a.59a288",\r
4761     "wires": [\r
4762       [\r
4763         "90de6696.037bd8",\r
4764         "ce29f9bd.7d263",\r
4765         "94bbebf0.09f428"\r
4766       ]\r
4767     ]\r
4768   },\r
4769   {\r
4770     "id": "90de6696.037bd8",\r
4771     "type": "success",\r
4772     "name": "success",\r
4773     "xml": "<outcome value='success'>\n",\r
4774     "comments": "",\r
4775     "outputs": 1,\r
4776     "x": 5021.883331298828,\r
4777     "y": 6153.883331298828,\r
4778     "z": "4456793a.59a288",\r
4779     "wires": [\r
4780       []\r
4781     ]\r
4782   },\r
4783   {\r
4784     "id": "ce29f9bd.7d263",\r
4785     "type": "other",\r
4786     "name": "other",\r
4787     "xml": "<outcome value='Other'>\n",\r
4788     "comments": "",\r
4789     "outputs": 1,\r
4790     "x": 5018.883331298828,\r
4791     "y": 6194.883331298828,\r
4792     "z": "4456793a.59a288",\r
4793     "wires": [\r
4794       []\r
4795     ]\r
4796   },\r
4797   {\r
4798     "id": "94bbebf0.09f428",\r
4799     "type": "not-found",\r
4800     "name": "not-found",\r
4801     "xml": "<outcome value='not-found'>\n",\r
4802     "comments": "",\r
4803     "outputs": 1,\r
4804     "x": 5032.883331298828,\r
4805     "y": 6234.883331298828,\r
4806     "z": "4456793a.59a288",\r
4807     "wires": [\r
4808       []\r
4809     ]\r
4810   },\r
4811   {\r
4812     "id": "e6e1dbd3.6e0a6",\r
4813     "type": "set",\r
4814     "name": "unset parameters",\r
4815     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4816     "comments": "",\r
4817     "x": 4721.883331298828,\r
4818     "y": 6329.883331298828,\r
4819     "z": "4456793a.59a288",\r
4820     "wires": []\r
4821   },\r
4822   {\r
4823     "id": "67962261.2516d4",\r
4824     "type": "set",\r
4825     "name": "set tmp.pce-src-node",\r
4826     "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
4827     "comments": "",\r
4828     "x": 4729.883331298828,\r
4829     "y": 6387.883331298828,\r
4830     "z": "4456793a.59a288",\r
4831     "wires": []\r
4832   },\r
4833   {\r
4834     "id": "6998ca1d.92c5d4",\r
4835     "type": "set",\r
4836     "name": "unset parameters",\r
4837     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4838     "comments": "",\r
4839     "x": 4734.883331298828,\r
4840     "y": 6127.883331298828,\r
4841     "z": "4456793a.59a288",\r
4842     "wires": []\r
4843   },\r
4844   {\r
4845     "id": "94b4d538.041a9",\r
4846     "type": "comment",\r
4847     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4848     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4849     "comments": "",\r
4850     "x": 4849.883331298828,\r
4851     "y": 6079.883331298828,\r
4852     "z": "4456793a.59a288",\r
4853     "wires": []\r
4854   },\r
4855   {\r
4856     "id": "392e3f81.e0a6a8",\r
4857     "type": "switchNode",\r
4858     "name": "switch ops-note is srcTtpOtnLayer",\r
4859     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4860     "comments": "",\r
4861     "outputs": 1,\r
4862     "x": 5022.883331298828,\r
4863     "y": 6924.883331298828,\r
4864     "z": "4456793a.59a288",\r
4865     "wires": [\r
4866       [\r
4867         "84fb2e7.f2e54d",\r
4868         "113d3615.17adaa"\r
4869       ]\r
4870     ]\r
4871   },\r
4872   {\r
4873     "id": "84fb2e7.f2e54d",\r
4874     "type": "outcomeTrue",\r
4875     "name": "true",\r
4876     "xml": "<outcome value='true'>\n",\r
4877     "comments": "",\r
4878     "outputs": 1,\r
4879     "x": 5251.883331298828,\r
4880     "y": 6901.883331298828,\r
4881     "z": "4456793a.59a288",\r
4882     "wires": [\r
4883       [\r
4884         "c3b316fd.fba0a8"\r
4885       ]\r
4886     ]\r
4887   },\r
4888   {\r
4889     "id": "113d3615.17adaa",\r
4890     "type": "outcomeFalse",\r
4891     "name": "false",\r
4892     "xml": "<outcome value='false'>\n",\r
4893     "comments": "",\r
4894     "outputs": 1,\r
4895     "x": 5251.883331298828,\r
4896     "y": 6950.883331298828,\r
4897     "z": "4456793a.59a288",\r
4898     "wires": [\r
4899       []\r
4900     ]\r
4901   },\r
4902   {\r
4903     "id": "b6424391.0ceee8",\r
4904     "type": "block",\r
4905     "name": "block : atomic",\r
4906     "xml": "<block atomic='true'>",\r
4907     "atomic": "true",\r
4908     "comments": "",\r
4909     "outputs": 1,\r
4910     "x": 5984.88330078125,\r
4911     "y": 6956.88330078125,\r
4912     "z": "4456793a.59a288",\r
4913     "wires": [\r
4914       [\r
4915         "1cb2d5ed.65008a",\r
4916         "f8de35a7.d0325",\r
4917         "515cca2b.2a6e8c"\r
4918       ]\r
4919     ]\r
4920   },\r
4921   {\r
4922     "id": "b0305853.25009",\r
4923     "type": "comment",\r
4924     "name": "increase the bw of the-vpn-binding and change status to modified",\r
4925     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
4926     "comments": "",\r
4927     "x": 6369.88330078125,\r
4928     "y": 6919.88330078125,\r
4929     "z": "4456793a.59a288",\r
4930     "wires": []\r
4931   },\r
4932   {\r
4933     "id": "515cca2b.2a6e8c",\r
4934     "type": "save",\r
4935     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4936     "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
4937     "comments": "",\r
4938     "outputs": 1,\r
4939     "x": 6339.88330078125,\r
4940     "y": 6979.88330078125,\r
4941     "z": "4456793a.59a288",\r
4942     "wires": [\r
4943       []\r
4944     ]\r
4945   },\r
4946   {\r
4947     "id": "1cb2d5ed.65008a",\r
4948     "type": "set",\r
4949     "name": "unset tmp.aai.the-vpn-binding",\r
4950     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4951     "comments": "",\r
4952     "x": 6246.88330078125,\r
4953     "y": 6807.88330078125,\r
4954     "z": "4456793a.59a288",\r
4955     "wires": []\r
4956   },\r
4957   {\r
4958     "id": "dd90ad1a.7eef1",\r
4959     "type": "block",\r
4960     "name": "block : atomic",\r
4961     "xml": "<block atomic='true'>",\r
4962     "atomic": "true",\r
4963     "comments": "",\r
4964     "outputs": 1,\r
4965     "x": 3982.883331298828,\r
4966     "y": 5864.883331298828,\r
4967     "z": "4456793a.59a288",\r
4968     "wires": [\r
4969       [\r
4970         "1d6ec4bb.ad8c0b",\r
4971         "33673680.57cf72",\r
4972         "e2cec405.b0409",\r
4973         "6e2ab292.566884",\r
4974         "dbdd7c00.c39698"\r
4975       ]\r
4976     ]\r
4977   },\r
4978   {\r
4979     "id": "74fcf6b5.dbb39",\r
4980     "type": "set",\r
4981     "name": "unset otnTopoIdSrc",\r
4982     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4983     "comments": "",\r
4984     "x": 4726.883331298828,\r
4985     "y": 6227.883331298828,\r
4986     "z": "4456793a.59a288",\r
4987     "wires": []\r
4988   },\r
4989   {\r
4990     "id": "34955381.c5797c",\r
4991     "type": "save",\r
4992     "name": "update connectivity resource in AAI",\r
4993     "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
4994     "comments": "",\r
4995     "outputs": 1,\r
4996     "x": 4873.883087158203,\r
4997     "y": 5949.883331298828,\r
4998     "z": "4456793a.59a288",\r
4999     "wires": [\r
5000       []\r
5001     ]\r
5002   },\r
5003   {\r
5004     "id": "2a032dd9.9380b2",\r
5005     "type": "comment",\r
5006     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
5007     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
5008     "comments": "",\r
5009     "x": 5010.883087158203,\r
5010     "y": 5899.883331298828,\r
5011     "z": "4456793a.59a288",\r
5012     "wires": []\r
5013   },\r
5014   {\r
5015     "id": "b937ed07.a77618",\r
5016     "type": "save",\r
5017     "name": "save ROOT UNI in AAI",\r
5018     "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
5019     "comments": "",\r
5020     "outputs": 1,\r
5021     "x": 3817.883331298828,\r
5022     "y": 3505.883331298828,\r
5023     "z": "4456793a.59a288",\r
5024     "wires": [\r
5025       []\r
5026     ]\r
5027   },\r
5028   {\r
5029     "id": "3dd82151.976f0e",\r
5030     "type": "comment",\r
5031     "name": "NOT NEEDED ANYMORE?",\r
5032     "info": "",\r
5033     "comments": "",\r
5034     "x": 3999.883331298828,\r
5035     "y": 1760.8833312988281,\r
5036     "z": "4456793a.59a288",\r
5037     "wires": []\r
5038   },\r
5039   {\r
5040     "id": "6b6522.bc964ae",\r
5041     "type": "comment",\r
5042     "name": "NOT NEEDED ANYMORE?",\r
5043     "info": "",\r
5044     "comments": "",\r
5045     "x": 3977.883331298828,\r
5046     "y": 2630.883331298828,\r
5047     "z": "4456793a.59a288",\r
5048     "wires": []\r
5049   },\r
5050   {\r
5051     "id": "195c3e5b.085da2",\r
5052     "type": "comment",\r
5053     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
5054     "info": "",\r
5055     "comments": "",\r
5056     "x": 3808.883331298828,\r
5057     "y": 3972.883331298828,\r
5058     "z": "4456793a.59a288",\r
5059     "wires": []\r
5060   },\r
5061   {\r
5062     "id": "a8e7354f.a1833",\r
5063     "type": "call",\r
5064     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
5065     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
5066     "comments": "",\r
5067     "outputs": 1,\r
5068     "x": 3489.883331298828,\r
5069     "y": 6004.883331298828,\r
5070     "z": "4456793a.59a288",\r
5071     "wires": [\r
5072       []\r
5073     ]\r
5074   },\r
5075   {\r
5076     "id": "a2dd9c19.75287",\r
5077     "type": "set",\r
5078     "name": "set current-provider-id and current-cvlan-id",\r
5079     "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
5080     "comments": "",\r
5081     "x": 3700.883331298828,\r
5082     "y": 4881.883331298828,\r
5083     "z": "4456793a.59a288",\r
5084     "wires": []\r
5085   },\r
5086   {\r
5087     "id": "906b118c.b5ca4",\r
5088     "type": "call",\r
5089     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
5090     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
5091     "comments": "",\r
5092     "outputs": 1,\r
5093     "x": 3833.883331298828,\r
5094     "y": 4929.883331298828,\r
5095     "z": "4456793a.59a288",\r
5096     "wires": [\r
5097       []\r
5098     ]\r
5099   },\r
5100   {\r
5101     "id": "86c9672.840f818",\r
5102     "type": "switchNode",\r
5103     "name": "switch found-connectivity?",\r
5104     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
5105     "comments": "",\r
5106     "outputs": 1,\r
5107     "x": 4379.883331298828,\r
5108     "y": 4557.883331298828,\r
5109     "z": "4456793a.59a288",\r
5110     "wires": [\r
5111       [\r
5112         "b9a92126.1d0eb",\r
5113         "e7523195.456808"\r
5114       ]\r
5115     ]\r
5116   },\r
5117   {\r
5118     "id": "b9a92126.1d0eb",\r
5119     "type": "outcomeFalse",\r
5120     "name": "false",\r
5121     "xml": "<outcome value='false'>\n",\r
5122     "comments": "",\r
5123     "outputs": 1,\r
5124     "x": 4572.883331298828,\r
5125     "y": 4558.883331298828,\r
5126     "z": "4456793a.59a288",\r
5127     "wires": [\r
5128       [\r
5129         "71a4d763.a9eac"\r
5130       ]\r
5131     ]\r
5132   },\r
5133   {\r
5134     "id": "e7523195.456808",\r
5135     "type": "outcomeTrue",\r
5136     "name": "true",\r
5137     "xml": "<outcome value='true'>\n",\r
5138     "comments": "",\r
5139     "outputs": 1,\r
5140     "x": 4576.883331298828,\r
5141     "y": 4602.883331298828,\r
5142     "z": "4456793a.59a288",\r
5143     "wires": [\r
5144       [\r
5145         "6742a953.fe0d28"\r
5146       ]\r
5147     ]\r
5148   },\r
5149   {\r
5150     "id": "6742a953.fe0d28",\r
5151     "type": "block",\r
5152     "name": "block : atomic",\r
5153     "xml": "<block atomic='true'>",\r
5154     "atomic": "true",\r
5155     "comments": "",\r
5156     "outputs": 1,\r
5157     "x": 4715.883331298828,\r
5158     "y": 4597.883331298828,\r
5159     "z": "4456793a.59a288",\r
5160     "wires": [\r
5161       [\r
5162         "34f2cb8a.7f3954",\r
5163         "50607a4b.9927b4",\r
5164         "d6e6e1de.8f0598"\r
5165       ]\r
5166     ]\r
5167   },\r
5168   {\r
5169     "id": "71a4d763.a9eac",\r
5170     "type": "block",\r
5171     "name": "block : atomic",\r
5172     "xml": "<block atomic='true'>",\r
5173     "atomic": "true",\r
5174     "comments": "",\r
5175     "outputs": 1,\r
5176     "x": 4715.883331298828,\r
5177     "y": 4554.883331298828,\r
5178     "z": "4456793a.59a288",\r
5179     "wires": [\r
5180       [\r
5181         "b61f10f5.eeecf",\r
5182         "90640d99.12302",\r
5183         "42e8372d.d506e",\r
5184         "7679135b.31e8e4"\r
5185       ]\r
5186     ]\r
5187   },\r
5188   {\r
5189     "id": "34f2cb8a.7f3954",\r
5190     "type": "set",\r
5191     "name": "set prop.connectivity-domainA-uuid",\r
5192     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
5193     "comments": "",\r
5194     "x": 5117.883575439453,\r
5195     "y": 4819.883331298828,\r
5196     "z": "4456793a.59a288",\r
5197     "wires": []\r
5198   },\r
5199   {\r
5200     "id": "9d0b91dc.02ae8",\r
5201     "type": "comment",\r
5202     "name": "populate connectivity-A variable in the context map",\r
5203     "info": "",\r
5204     "comments": "",\r
5205     "x": 5124.883575439453,\r
5206     "y": 4773.883331298828,\r
5207     "z": "4456793a.59a288",\r
5208     "wires": []\r
5209   },\r
5210   {\r
5211     "id": "9ca77368.01f7",\r
5212     "type": "call",\r
5213     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
5214     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5215     "comments": "",\r
5216     "outputs": 1,\r
5217     "x": 4914.883331298828,\r
5218     "y": 6552.883331298828,\r
5219     "z": "4456793a.59a288",\r
5220     "wires": [\r
5221       []\r
5222     ]\r
5223   },\r
5224   {\r
5225     "id": "50607a4b.9927b4",\r
5226     "type": "save",\r
5227     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5228     "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
5229     "comments": "",\r
5230     "outputs": 1,\r
5231     "x": 5235.883575439453,\r
5232     "y": 4861.883331298828,\r
5233     "z": "4456793a.59a288",\r
5234     "wires": [\r
5235       []\r
5236     ]\r
5237   },\r
5238   {\r
5239     "id": "7eeebeb3.54b298",\r
5240     "type": "save",\r
5241     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5242     "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
5243     "comments": "",\r
5244     "outputs": 1,\r
5245     "x": 5110.883331298828,\r
5246     "y": 5119.883331298828,\r
5247     "z": "4456793a.59a288",\r
5248     "wires": [\r
5249       []\r
5250     ]\r
5251   },\r
5252   {\r
5253     "id": "d039e4e7.e91be8",\r
5254     "type": "comment",\r
5255     "name": "Update ROOT UNI's bw",\r
5256     "info": "",\r
5257     "comments": "",\r
5258     "x": 3664.883331298828,\r
5259     "y": 4479.883331298828,\r
5260     "z": "4456793a.59a288",\r
5261     "wires": []\r
5262   },\r
5263   {\r
5264     "id": "3c0dfd8f.f0eaca",\r
5265     "type": "save",\r
5266     "name": "update ROOT UNI in AAI",\r
5267     "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
5268     "comments": "",\r
5269     "outputs": 1,\r
5270     "x": 3998.883331298828,\r
5271     "y": 4662.883331298828,\r
5272     "z": "4456793a.59a288",\r
5273     "wires": [\r
5274       []\r
5275     ]\r
5276   },\r
5277   {\r
5278     "id": "80cc4c1e.a6bfe",\r
5279     "type": "save",\r
5280     "name": "get root uni from aai",\r
5281     "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
5282     "comments": "",\r
5283     "outputs": 1,\r
5284     "x": 3610.883331298828,\r
5285     "y": 4529.883331298828,\r
5286     "z": "4456793a.59a288",\r
5287     "wires": [\r
5288       [\r
5289         "ef8f5d34.35bfc8",\r
5290         "7b54fcfe.00d69c",\r
5291         "e9708f34.58ed3"\r
5292       ]\r
5293     ]\r
5294   },\r
5295   {\r
5296     "id": "7b54fcfe.00d69c",\r
5297     "type": "not-found",\r
5298     "name": "not-found",\r
5299     "xml": "<outcome value='not-found'>\n",\r
5300     "comments": "",\r
5301     "outputs": 1,\r
5302     "x": 3838.374298095703,\r
5303     "y": 4502.457305908203,\r
5304     "z": "4456793a.59a288",\r
5305     "wires": [\r
5306       [\r
5307         "edc83f73.f7df38"\r
5308       ]\r
5309     ]\r
5310   },\r
5311   {\r
5312     "id": "e9708f34.58ed3",\r
5313     "type": "failure",\r
5314     "name": "failure",\r
5315     "xml": "<outcome value='failure'>\n",\r
5316     "comments": "",\r
5317     "outputs": 1,\r
5318     "x": 3833.883331298828,\r
5319     "y": 4546.883270263672,\r
5320     "z": "4456793a.59a288",\r
5321     "wires": [\r
5322       [\r
5323         "a66e06b4.3bd7c"\r
5324       ]\r
5325     ]\r
5326   },\r
5327   {\r
5328     "id": "edc83f73.f7df38",\r
5329     "type": "returnFailure",\r
5330     "name": "return failure",\r
5331     "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
5332     "comments": "",\r
5333     "x": 4000.945831298828,\r
5334     "y": 4501.743011474609,\r
5335     "z": "4456793a.59a288",\r
5336     "wires": []\r
5337   },\r
5338   {\r
5339     "id": "a66e06b4.3bd7c",\r
5340     "type": "returnFailure",\r
5341     "name": "return failure",\r
5342     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5343     "comments": "",\r
5344     "x": 4001.883331298828,\r
5345     "y": 4546.883270263672,\r
5346     "z": "4456793a.59a288",\r
5347     "wires": []\r
5348   },\r
5349   {\r
5350     "id": "fa42d876.f3bfc8",\r
5351     "type": "block",\r
5352     "name": "block : atomic",\r
5353     "xml": "<block atomic=\"true\">",\r
5354     "atomic": "true",\r
5355     "outputs": 1,\r
5356     "x": 3786.883331298828,\r
5357     "y": 4619.883331298828,\r
5358     "z": "4456793a.59a288",\r
5359     "wires": [\r
5360       [\r
5361         "b660a30a.8893a8",\r
5362         "3c0dfd8f.f0eaca"\r
5363       ]\r
5364     ]\r
5365   },\r
5366   {\r
5367     "id": "ef8f5d34.35bfc8",\r
5368     "type": "success",\r
5369     "name": "success",\r
5370     "xml": "<outcome value='success'>\n",\r
5371     "comments": "",\r
5372     "outputs": 1,\r
5373     "x": 3617.883331298828,\r
5374     "y": 4619.883331298828,\r
5375     "z": "4456793a.59a288",\r
5376     "wires": [\r
5377       [\r
5378         "fa42d876.f3bfc8"\r
5379       ]\r
5380     ]\r
5381   },\r
5382   {\r
5383     "id": "b660a30a.8893a8",\r
5384     "type": "set",\r
5385     "name": "set new bw",\r
5386     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
5387     "comments": "",\r
5388     "x": 3975.883331298828,\r
5389     "y": 4611.883331298828,\r
5390     "z": "4456793a.59a288",\r
5391     "wires": []\r
5392   },\r
5393   {\r
5394     "id": "3d1de5ec.2ac45a",\r
5395     "type": "save",\r
5396     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5397     "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
5398     "comments": "",\r
5399     "outputs": 1,\r
5400     "x": 3808.883331298828,\r
5401     "y": 4757.883331298828,\r
5402     "z": "4456793a.59a288",\r
5403     "wires": [\r
5404       []\r
5405     ]\r
5406   },\r
5407   {\r
5408     "id": "25e4380.733ab48",\r
5409     "type": "comment",\r
5410     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
5411     "info": "",\r
5412     "comments": "",\r
5413     "x": 5915.766632080078,\r
5414     "y": 6570.766632080078,\r
5415     "z": "4456793a.59a288",\r
5416     "wires": []\r
5417   },\r
5418   {\r
5419     "id": "d6e6e1de.8f0598",\r
5420     "type": "save",\r
5421     "name": "update connectivity resource in AAI",\r
5422     "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
5423     "comments": "",\r
5424     "outputs": 1,\r
5425     "x": 5115.550567626953,\r
5426     "y": 4957.966827392578,\r
5427     "z": "4456793a.59a288",\r
5428     "wires": [\r
5429       []\r
5430     ]\r
5431   },\r
5432   {\r
5433     "id": "924c8eb8.8bcc2",\r
5434     "type": "comment",\r
5435     "name": "Update connectivity status to modified",\r
5436     "info": "",\r
5437     "comments": "",\r
5438     "x": 5117.767364501953,\r
5439     "y": 4917.766632080078,\r
5440     "z": "4456793a.59a288",\r
5441     "wires": []\r
5442   },\r
5443   {\r
5444     "id": "eadd33f3.5f43",\r
5445     "type": "save",\r
5446     "name": "update connectivity resource in AAI",\r
5447     "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
5448     "comments": "",\r
5449     "outputs": 1,\r
5450     "x": 4991.550323486328,\r
5451     "y": 5207.966827392578,\r
5452     "z": "4456793a.59a288",\r
5453     "wires": [\r
5454       []\r
5455     ]\r
5456   },\r
5457   {\r
5458     "id": "33d164e6.6e7844",\r
5459     "type": "comment",\r
5460     "name": "Update connectivity status to modified",\r
5461     "info": "",\r
5462     "comments": "",\r
5463     "x": 4993.767120361328,\r
5464     "y": 5167.766632080078,\r
5465     "z": "4456793a.59a288",\r
5466     "wires": []\r
5467   },\r
5468   {\r
5469     "id": "3216abfb.82724c",\r
5470     "type": "call",\r
5471     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
5472     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
5473     "comments": "",\r
5474     "outputs": 1,\r
5475     "x": 5086.350128173828,\r
5476     "y": 5663.399932861328,\r
5477     "z": "4456793a.59a288",\r
5478     "wires": [\r
5479       []\r
5480     ]\r
5481   },\r
5482   {\r
5483     "id": "723b66c7.37bb08",\r
5484     "type": "switchNode",\r
5485     "name": "switch found-root-connectivity",\r
5486     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
5487     "comments": "",\r
5488     "outputs": 1,\r
5489     "x": 4913.350128173828,\r
5490     "y": 5720.399932861328,\r
5491     "z": "4456793a.59a288",\r
5492     "wires": [\r
5493       [\r
5494         "4b59f245.4d6edc",\r
5495         "fb820a66.06fc1"\r
5496       ]\r
5497     ]\r
5498   },\r
5499   {\r
5500     "id": "4b59f245.4d6edc",\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": 5124.350128173828,\r
5507     "y": 5720.399932861328,\r
5508     "z": "4456793a.59a288",\r
5509     "wires": [\r
5510       [\r
5511         "95f01780.285928"\r
5512       ]\r
5513     ]\r
5514   },\r
5515   {\r
5516     "id": "fb820a66.06fc1",\r
5517     "type": "outcomeFalse",\r
5518     "name": "false",\r
5519     "xml": "<outcome value='false'>\n",\r
5520     "comments": "",\r
5521     "outputs": 1,\r
5522     "x": 5120.350128173828,\r
5523     "y": 5768.399932861328,\r
5524     "z": "4456793a.59a288",\r
5525     "wires": [\r
5526       [\r
5527         "ceaa430d.e25cf8"\r
5528       ]\r
5529     ]\r
5530   },\r
5531   {\r
5532     "id": "95f01780.285928",\r
5533     "type": "block",\r
5534     "name": "block : atomic",\r
5535     "xml": "<block atomic='true'>",\r
5536     "atomic": "true",\r
5537     "comments": "",\r
5538     "outputs": 1,\r
5539     "x": 5280.350128173828,\r
5540     "y": 5716.399932861328,\r
5541     "z": "4456793a.59a288",\r
5542     "wires": [\r
5543       [\r
5544         "363f2480.f640d4",\r
5545         "ec57c9d5.e1e658",\r
5546         "18db1f41.a7c409"\r
5547       ]\r
5548     ]\r
5549   },\r
5550   {\r
5551     "id": "ceaa430d.e25cf8",\r
5552     "type": "returnFailure",\r
5553     "name": "return failure",\r
5554     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
5555     "comments": "",\r
5556     "x": 5268.350128173828,\r
5557     "y": 5763.399932861328,\r
5558     "z": "4456793a.59a288",\r
5559     "wires": []\r
5560   },\r
5561   {\r
5562     "id": "7a15e8cb.5f6df8",\r
5563     "type": "comment",\r
5564     "name": "Update connectivity status to modified",\r
5565     "info": "",\r
5566     "comments": "",\r
5567     "x": 5546.233917236328,\r
5568     "y": 5816.283233642578,\r
5569     "z": "4456793a.59a288",\r
5570     "wires": []\r
5571   },\r
5572   {\r
5573     "id": "18db1f41.a7c409",\r
5574     "type": "save",\r
5575     "name": "update connectivity resource in AAI",\r
5576     "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
5577     "comments": "",\r
5578     "outputs": 1,\r
5579     "x": 5544.017120361328,\r
5580     "y": 5856.483428955078,\r
5581     "z": "4456793a.59a288",\r
5582     "wires": [\r
5583       []\r
5584     ]\r
5585   },\r
5586   {\r
5587     "id": "ec57c9d5.e1e658",\r
5588     "type": "save",\r
5589     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5590     "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
5591     "comments": "",\r
5592     "outputs": 1,\r
5593     "x": 5663.350128173828,\r
5594     "y": 5768.399932861328,\r
5595     "z": "4456793a.59a288",\r
5596     "wires": [\r
5597       []\r
5598     ]\r
5599   },\r
5600   {\r
5601     "id": "363f2480.f640d4",\r
5602     "type": "set",\r
5603     "name": "set prop.connectivity-domainB-uuid",\r
5604     "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
5605     "comments": "",\r
5606     "x": 5534.350128173828,\r
5607     "y": 5716.399932861328,\r
5608     "z": "4456793a.59a288",\r
5609     "wires": []\r
5610   },\r
5611   {\r
5612     "id": "60039858.187258",\r
5613     "type": "comment",\r
5614     "name": "populate connectivity-B variable in the context map",\r
5615     "info": "",\r
5616     "comments": "",\r
5617     "x": 4975.350128173828,\r
5618     "y": 5621.399932861328,\r
5619     "z": "4456793a.59a288",\r
5620     "wires": []\r
5621   },\r
5622   {\r
5623     "id": "6922fe88.2fe5f8",\r
5624     "type": "block",\r
5625     "name": "block",\r
5626     "xml": "<block>\n",\r
5627     "atomic": "false",\r
5628     "comments": "",\r
5629     "outputs": 1,\r
5630     "x": 4682.683135986328,\r
5631     "y": 5703.399932861328,\r
5632     "z": "4456793a.59a288",\r
5633     "wires": [\r
5634       [\r
5635         "3216abfb.82724c",\r
5636         "723b66c7.37bb08"\r
5637       ]\r
5638     ]\r
5639   },\r
5640   {\r
5641     "id": "4514c9c4.eaef1",\r
5642     "type": "save",\r
5643     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5644     "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
5645     "comments": "",\r
5646     "outputs": 1,\r
5647     "x": 5003.716094970703,\r
5648     "y": 6005.083526611328,\r
5649     "z": "4456793a.59a288",\r
5650     "wires": [\r
5651       []\r
5652     ]\r
5653   },\r
5654   {\r
5655     "id": "d7548734.759b08",\r
5656     "type": "call",\r
5657     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
5658     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
5659     "comments": "",\r
5660     "outputs": 1,\r
5661     "x": 5789,\r
5662     "y": 6901,\r
5663     "z": "4456793a.59a288",\r
5664     "wires": [\r
5665       []\r
5666     ]\r
5667   },\r
5668   {\r
5669     "id": "c3b316fd.fba0a8",\r
5670     "type": "block",\r
5671     "name": "block : atomic",\r
5672     "xml": "<block atomic='true'>",\r
5673     "atomic": "true",\r
5674     "comments": "",\r
5675     "outputs": 1,\r
5676     "x": 5408,\r
5677     "y": 6904,\r
5678     "z": "4456793a.59a288",\r
5679     "wires": [\r
5680       [\r
5681         "d7548734.759b08",\r
5682         "d42bdb23.7a5dc8",\r
5683         "40573be3.cee89c"\r
5684       ]\r
5685     ]\r
5686   },\r
5687   {\r
5688     "id": "d42bdb23.7a5dc8",\r
5689     "type": "switchNode",\r
5690     "name": "switch $foundVpnName",\r
5691     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
5692     "comments": "",\r
5693     "outputs": 1,\r
5694     "x": 5634,\r
5695     "y": 6956,\r
5696     "z": "4456793a.59a288",\r
5697     "wires": [\r
5698       [\r
5699         "4a08f8b2.c71278"\r
5700       ]\r
5701     ]\r
5702   },\r
5703   {\r
5704     "id": "4a08f8b2.c71278",\r
5705     "type": "outcomeTrue",\r
5706     "name": "true",\r
5707     "xml": "<outcome value='true'>\n",\r
5708     "comments": "",\r
5709     "outputs": 1,\r
5710     "x": 5813,\r
5711     "y": 6955,\r
5712     "z": "4456793a.59a288",\r
5713     "wires": [\r
5714       [\r
5715         "b6424391.0ceee8"\r
5716       ]\r
5717     ]\r
5718   },\r
5719   {\r
5720     "id": "40573be3.cee89c",\r
5721     "type": "set",\r
5722     "name": "set vpnNameToSearch",\r
5723     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
5724     "comments": "",\r
5725     "x": 5635,\r
5726     "y": 6849,\r
5727     "z": "4456793a.59a288",\r
5728     "wires": []\r
5729   }\r
5730 ]