Support for 1+1 protection path for a cloud leased-line (CLL) service.
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / cloud_leased_line / GENERIC-RESOURCE-API_cll-vnf-topology-operation-cll-create-clean.json
1 [\r
2   {\r
3     "id": "eebfe6b4.36c4f8",\r
4     "type": "dgstart",\r
5     "name": "DGSTART",\r
6     "outputs": 1,\r
7     "x": 140,\r
8     "y": 119,\r
9     "z": "f8944603.71553",\r
10     "wires": [\r
11       [\r
12         "f39097a1.daa63"\r
13       ]\r
14     ]\r
15   },\r
16   {\r
17     "id": "f39097a1.daa63",\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": 424.2856903076172,\r
26     "y": 180.23810863494873,\r
27     "z": "f8944603.71553",\r
28     "wires": [\r
29       [\r
30         "af444c12.6df4"\r
31       ]\r
32     ]\r
33   },\r
34   {\r
35     "id": "af444c12.6df4",\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": 430.42860412597656,\r
42     "y": 265.0000305175781,\r
43     "z": "f8944603.71553",\r
44     "wires": [\r
45       [\r
46         "cd7fb41b.b80af8"\r
47       ]\r
48     ]\r
49   },\r
50   {\r
51     "id": "cd7fb41b.b80af8",\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": 780,\r
58     "y": 324,\r
59     "z": "f8944603.71553",\r
60     "wires": [\r
61       [\r
62         "1330d7b6.40f6",\r
63         "327e5a08.352bde",\r
64         "b36ceae.9917d98"\r
65       ]\r
66     ]\r
67   },\r
68   {\r
69     "id": "1330d7b6.40f6",\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": 1081.33349609375,\r
75     "y": 594.9302978515625,\r
76     "z": "f8944603.71553",\r
77     "wires": []\r
78   },\r
79   {\r
80     "id": "327e5a08.352bde",\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": 1102.761962890625,\r
87     "y": 297.33331298828125,\r
88     "z": "f8944603.71553",\r
89     "wires": [\r
90       [\r
91         "393ddb72.9cdaac",\r
92         "27423ab.7bf7dc6",\r
93         "e70357b.8e78fa8"\r
94       ]\r
95     ]\r
96   },\r
97   {\r
98     "id": "393ddb72.9cdaac",\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": 1327.761962890625,\r
105     "y": 155.33331298828125,\r
106     "z": "f8944603.71553",\r
107     "wires": [\r
108       [\r
109         "db827fdb.ec8a7"\r
110       ]\r
111     ]\r
112   },\r
113   {\r
114     "id": "27423ab.7bf7dc6",\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": 1323.2529296875,\r
121     "y": 224.9073486328125,\r
122     "z": "f8944603.71553",\r
123     "wires": [\r
124       [\r
125         "2aba6522.745fa2"\r
126       ]\r
127     ]\r
128   },\r
129   {\r
130     "id": "e70357b.8e78fa8",\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": 1311.761962890625,\r
137     "y": 271.33331298828125,\r
138     "z": "f8944603.71553",\r
139     "wires": [\r
140       [\r
141         "85c2ab27.5d7c"\r
142       ]\r
143     ]\r
144   },\r
145   {\r
146     "id": "d67dd652.2acc48",\r
147     "type": "comment",\r
148     "name": "new for TransportSlicing",\r
149     "info": "",\r
150     "comments": "",\r
151     "x": 1081.761962890625,\r
152     "y": 185.33331298828125,\r
153     "z": "f8944603.71553",\r
154     "wires": []\r
155   },\r
156   {\r
157     "id": "b36ceae.9917d98",\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": 1069.761962890625,\r
164     "y": 237.33331298828125,\r
165     "z": "f8944603.71553",\r
166     "wires": [\r
167       []\r
168     ]\r
169   },\r
170   {\r
171     "id": "db827fdb.ec8a7",\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": 1568,\r
178     "y": 152,\r
179     "z": "f8944603.71553",\r
180     "wires": [\r
181       [\r
182         "cb5b5e94.b15ef8",\r
183         "b997ad22.d70e8"\r
184       ]\r
185     ]\r
186   },\r
187   {\r
188     "id": "2aba6522.745fa2",\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": 1478.0623779296875,\r
194     "y": 227.85977172851562,\r
195     "z": "f8944603.71553",\r
196     "wires": []\r
197   },\r
198   {\r
199     "id": "85c2ab27.5d7c",\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": 1482,\r
205     "y": 272,\r
206     "z": "f8944603.71553",\r
207     "wires": []\r
208   },\r
209   {\r
210     "id": "cb5b5e94.b15ef8",\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": 1773,\r
217     "y": 189,\r
218     "z": "f8944603.71553",\r
219     "wires": [\r
220       [\r
221         "3cb72715.02a808"\r
222       ]\r
223     ]\r
224   },\r
225   {\r
226     "id": "b997ad22.d70e8",\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": 1783,\r
233     "y": 116,\r
234     "z": "f8944603.71553",\r
235     "wires": [\r
236       []\r
237     ]\r
238   },\r
239   {\r
240     "id": "3cb72715.02a808",\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": 1766,\r
248     "y": 264,\r
249     "z": "f8944603.71553",\r
250     "wires": [\r
251       [\r
252         "ebf5f2d6.b4c7b8",\r
253         "490f1cae.a20b64",\r
254         "b4dd975f.8385a8",\r
255         "43a803a5.2842f4",\r
256         "651a17c0.63b678"\r
257       ]\r
258     ]\r
259   },\r
260   {\r
261     "id": "d707b8ba.d22b28",\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": 2252,\r
268     "y": 315,\r
269     "z": "f8944603.71553",\r
270     "wires": [\r
271       [\r
272         "3717142f.9eacbc",\r
273         "81f224b1.8ce278",\r
274         "360e18d9.8e8878"\r
275       ]\r
276     ]\r
277   },\r
278   {\r
279     "id": "3717142f.9eacbc",\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": 2468,\r
286     "y": 382,\r
287     "z": "f8944603.71553",\r
288     "wires": [\r
289       [\r
290         "90fe9f39.2d3b48"\r
291       ]\r
292     ]\r
293   },\r
294   {\r
295     "id": "81f224b1.8ce278",\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": 2468.490966796875,\r
302     "y": 281.573974609375,\r
303     "z": "f8944603.71553",\r
304     "wires": [\r
305       [\r
306         "fa7677d5.848dd"\r
307       ]\r
308     ]\r
309   },\r
310   {\r
311     "id": "360e18d9.8e8878",\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": 2464,\r
318     "y": 331,\r
319     "z": "f8944603.71553",\r
320     "wires": [\r
321       [\r
322         "72c2923b.56a34c"\r
323       ]\r
324     ]\r
325   },\r
326   {\r
327     "id": "ebf5f2d6.b4c7b8",\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": 1969,\r
334     "y": 296,\r
335     "z": "f8944603.71553",\r
336     "wires": [\r
337       [\r
338         "618e3f4f.a42bf",\r
339         "d707b8ba.d22b28",\r
340         "e8527008.db6228",\r
341         "a669b945.663408"\r
342       ]\r
343     ]\r
344   },\r
345   {\r
346     "id": "618e3f4f.a42bf",\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": 2249,\r
352     "y": 234,\r
353     "z": "f8944603.71553",\r
354     "wires": []\r
355   },\r
356   {\r
357     "id": "43a803a5.2842f4",\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": 1943,\r
363     "y": 246,\r
364     "z": "f8944603.71553",\r
365     "wires": []\r
366   },\r
367   {\r
368     "id": "490f1cae.a20b64",\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": 1986,\r
375     "y": 105,\r
376     "z": "f8944603.71553",\r
377     "wires": [\r
378       []\r
379     ]\r
380   },\r
381   {\r
382     "id": "b4dd975f.8385a8",\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": 1998,\r
389     "y": 146,\r
390     "z": "f8944603.71553",\r
391     "wires": [\r
392       []\r
393     ]\r
394   },\r
395   {\r
396     "id": "d38afd8a.8bc96",\r
397     "type": "comment",\r
398     "name": "The following two nodes are for PCE",\r
399     "info": "",\r
400     "comments": "",\r
401     "x": 2023,\r
402     "y": 58,\r
403     "z": "f8944603.71553",\r
404     "wires": []\r
405   },\r
406   {\r
407     "id": "8fedb211.a1c3d8",\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": 1943,\r
413     "y": 192,\r
414     "z": "f8944603.71553",\r
415     "wires": []\r
416   },\r
417   {\r
418     "id": "fa7677d5.848dd",\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": 2647,\r
424     "y": 284,\r
425     "z": "f8944603.71553",\r
426     "wires": []\r
427   },\r
428   {\r
429     "id": "72c2923b.56a34c",\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": 2646.9375,\r
435     "y": 333.1402587890625,\r
436     "z": "f8944603.71553",\r
437     "wires": []\r
438   },\r
439   {\r
440     "id": "90fe9f39.2d3b48",\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": 2648.9375,\r
447     "y": 384.1402587890625,\r
448     "z": "f8944603.71553",\r
449     "wires": [\r
450       [\r
451         "458d5965.a3abf"\r
452       ]\r
453     ]\r
454   },\r
455   {\r
456     "id": "458d5965.a3abf",\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": 2941.9375,\r
463     "y": 331.1402587890625,\r
464     "z": "f8944603.71553",\r
465     "wires": [\r
466       [\r
467         "9e8135ff.08a04",\r
468         "11480c56.53825c",\r
469         "c18b528b.950eb"\r
470       ]\r
471     ]\r
472   },\r
473   {\r
474     "id": "11480c56.53825c",\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": 3245.428436279297,\r
481     "y": 63.7142333984375,\r
482     "z": "f8944603.71553",\r
483     "wires": [\r
484       [\r
485         "fafa91c8.b89"\r
486       ]\r
487     ]\r
488   },\r
489   {\r
490     "id": "fafa91c8.b89",\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": 3422.999969482422,\r
496     "y": 64,\r
497     "z": "f8944603.71553",\r
498     "wires": []\r
499   },\r
500   {\r
501     "id": "c18b528b.950eb",\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": 3240.937469482422,\r
508     "y": 113.1402587890625,\r
509     "z": "f8944603.71553",\r
510     "wires": [\r
511       [\r
512         "c9c4d95e.e78bc8"\r
513       ]\r
514     ]\r
515   },\r
516   {\r
517     "id": "c9c4d95e.e78bc8",\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": 3422.937469482422,\r
523     "y": 113.1402587890625,\r
524     "z": "f8944603.71553",\r
525     "wires": []\r
526   },\r
527   {\r
528     "id": "9e8135ff.08a04",\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": 3244.937469482422,\r
535     "y": 164.1402587890625,\r
536     "z": "f8944603.71553",\r
537     "wires": [\r
538       [\r
539         "249c683e.fa6548"\r
540       ]\r
541     ]\r
542   },\r
543   {\r
544     "id": "249c683e.fa6548",\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": 3424.937469482422,\r
551     "y": 164.1402587890625,\r
552     "z": "f8944603.71553",\r
553     "wires": [\r
554       [\r
555         "8380148b.ccdda"\r
556       ]\r
557     ]\r
558   },\r
559   {\r
560     "id": "8380148b.ccdda",\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": 2961,\r
567     "y": 459,\r
568     "z": "f8944603.71553",\r
569     "wires": [\r
570       [\r
571         "f9f860ee.48ada",\r
572         "3ee71a32.7e39ae"\r
573       ]\r
574     ]\r
575   },\r
576   {\r
577     "id": "3ee71a32.7e39ae",\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": 3300.999969482422,\r
584     "y": 306,\r
585     "z": "f8944603.71553",\r
586     "wires": [\r
587       []\r
588     ]\r
589   },\r
590   {\r
591     "id": "f9f860ee.48ada",\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": 3299.999969482422,\r
598     "y": 360,\r
599     "z": "f8944603.71553",\r
600     "wires": [\r
601       [\r
602         "88c3b86.63e2c48"\r
603       ]\r
604     ]\r
605   },\r
606   {\r
607     "id": "b0fb22ca.f9ce1",\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": 4044.999969482422,\r
614     "y": 314,\r
615     "z": "f8944603.71553",\r
616     "wires": [\r
617       [\r
618         "5f3f920d.e5225c"\r
619       ]\r
620     ]\r
621   },\r
622   {\r
623     "id": "5f3f920d.e5225c",\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": 4221.999847412109,\r
630     "y": 306.9998779296875,\r
631     "z": "f8944603.71553",\r
632     "wires": [\r
633       [\r
634         "8197a230.f5fc28",\r
635         "add943b3.661de"\r
636       ]\r
637     ]\r
638   },\r
639   {\r
640     "id": "88c3b86.63e2c48",\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": 3463.999969482422,\r
647     "y": 286,\r
648     "z": "f8944603.71553",\r
649     "wires": [\r
650       [\r
651         "b1327250.c3733",\r
652         "de9a0d51.d824a"\r
653       ]\r
654     ]\r
655   },\r
656   {\r
657     "id": "b1327250.c3733",\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": 3744.999969482422,\r
664     "y": 242,\r
665     "z": "f8944603.71553",\r
666     "wires": [\r
667       [\r
668         "64d386dc.4f4038"\r
669       ]\r
670     ]\r
671   },\r
672   {\r
673     "id": "64d386dc.4f4038",\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": 4006.999969482422,\r
680     "y": 242,\r
681     "z": "f8944603.71553",\r
682     "wires": [\r
683       [\r
684         "b0fb22ca.f9ce1"\r
685       ]\r
686     ]\r
687   },\r
688   {\r
689     "id": "8197a230.f5fc28",\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": 4464.999847412109,\r
695     "y": 263.9998779296875,\r
696     "z": "f8944603.71553",\r
697     "wires": []\r
698   },\r
699   {\r
700     "id": "add943b3.661de",\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": 4453.999847412109,\r
707     "y": 318.9998779296875,\r
708     "z": "f8944603.71553",\r
709     "wires": [\r
710       [\r
711         "584012e4.8af54c",\r
712         "84e11e56.e2a698",\r
713         "b5114711.48fe28"\r
714       ]\r
715     ]\r
716   },\r
717   {\r
718     "id": "b5114711.48fe28",\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": 4705.000213623047,\r
725     "y": 260,\r
726     "z": "f8944603.71553",\r
727     "wires": [\r
728       [\r
729         "3ff18282.41fa7e"\r
730       ]\r
731     ]\r
732   },\r
733   {\r
734     "id": "3ff18282.41fa7e",\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": 4853.571746826172,\r
740     "y": 260.2857666015625,\r
741     "z": "f8944603.71553",\r
742     "wires": []\r
743   },\r
744   {\r
745     "id": "576f251.536f1dc",\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": 4852.509246826172,\r
751     "y": 304.426025390625,\r
752     "z": "f8944603.71553",\r
753     "wires": []\r
754   },\r
755   {\r
756     "id": "84e11e56.e2a698",\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": 4693.509246826172,\r
763     "y": 304.426025390625,\r
764     "z": "f8944603.71553",\r
765     "wires": [\r
766       [\r
767         "576f251.536f1dc"\r
768       ]\r
769     ]\r
770   },\r
771   {\r
772     "id": "584012e4.8af54c",\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": 4700.509246826172,\r
779     "y": 383.426025390625,\r
780     "z": "f8944603.71553",\r
781     "wires": [\r
782       [\r
783         "84e0295.fec0058"\r
784       ]\r
785     ]\r
786   },\r
787   {\r
788     "id": "84e0295.fec0058",\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": 4839.509246826172,\r
796     "y": 383.426025390625,\r
797     "z": "f8944603.71553",\r
798     "wires": [\r
799       [\r
800         "40dc732c.a37574",\r
801         "72f9e36c.5c6004"\r
802       ]\r
803     ]\r
804   },\r
805   {\r
806     "id": "40dc732c.a37574",\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": 5045.000213623047,\r
812     "y": 381,\r
813     "z": "f8944603.71553",\r
814     "wires": []\r
815   },\r
816   {\r
817     "id": "72f9e36c.5c6004",\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": 5044.000213623047,\r
823     "y": 427,\r
824     "z": "f8944603.71553",\r
825     "wires": []\r
826   },\r
827   {\r
828     "id": "de9a0d51.d824a",\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": 3561.999969482422,\r
835     "y": 358,\r
836     "z": "f8944603.71553",\r
837     "wires": [\r
838       [\r
839         "1f9cf648.b23842"\r
840       ]\r
841     ]\r
842   },\r
843   {\r
844     "id": "1f9cf648.b23842",\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": 3841.999969482422,\r
851     "y": 358,\r
852     "z": "f8944603.71553",\r
853     "wires": [\r
854       [\r
855         "9a7f86a9.e4bc3"\r
856       ]\r
857     ]\r
858   },\r
859   {\r
860     "id": "9a7f86a9.e4bc3",\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": 2225.0001220703125,\r
867     "y": 771.0001220703125,\r
868     "z": "f8944603.71553",\r
869     "wires": [\r
870       [\r
871         "a00c69ca.adce48"\r
872       ]\r
873     ]\r
874   },\r
875   {\r
876     "id": "a00c69ca.adce48",\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": 2402,\r
883     "y": 764,\r
884     "z": "f8944603.71553",\r
885     "wires": [\r
886       [\r
887         "b1915aed.463e4",\r
888         "2d618162.692d86"\r
889       ]\r
890     ]\r
891   },\r
892   {\r
893     "id": "b1915aed.463e4",\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": 2645,\r
899     "y": 721,\r
900     "z": "f8944603.71553",\r
901     "wires": []\r
902   },\r
903   {\r
904     "id": "2d618162.692d86",\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": 2634,\r
911     "y": 776,\r
912     "z": "f8944603.71553",\r
913     "wires": [\r
914       [\r
915         "e482931e.42ecd",\r
916         "ed5f6487.2f87b",\r
917         "f8d33751.7b5a4"\r
918       ]\r
919     ]\r
920   },\r
921   {\r
922     "id": "e482931e.42ecd",\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": 2925.490966796875,\r
929     "y": 754.573974609375,\r
930     "z": "f8944603.71553",\r
931     "wires": [\r
932       [\r
933         "57635b4b.26640c"\r
934       ]\r
935     ]\r
936   },\r
937   {\r
938     "id": "ed5f6487.2f87b",\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": 2914,\r
945     "y": 799,\r
946     "z": "f8944603.71553",\r
947     "wires": [\r
948       [\r
949         "a7b92e8f.8c52e8"\r
950       ]\r
951     ]\r
952   },\r
953   {\r
954     "id": "57635b4b.26640c",\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": 3074.0625,\r
960     "y": 754.8597412109375,\r
961     "z": "f8944603.71553",\r
962     "wires": []\r
963   },\r
964   {\r
965     "id": "a7b92e8f.8c52e8",\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": 3073,\r
971     "y": 799,\r
972     "z": "f8944603.71553",\r
973     "wires": []\r
974   },\r
975   {\r
976     "id": "f8d33751.7b5a4",\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": 2921,\r
983     "y": 878,\r
984     "z": "f8944603.71553",\r
985     "wires": [\r
986       [\r
987         "98a40400.3efa78"\r
988       ]\r
989     ]\r
990   },\r
991   {\r
992     "id": "98a40400.3efa78",\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": 3060,\r
1000     "y": 878,\r
1001     "z": "f8944603.71553",\r
1002     "wires": [\r
1003       [\r
1004         "71736994.8ef448",\r
1005         "262a2cdd.1722ec",\r
1006         "6dffa8a4.87ef28",\r
1007         "19dc8ab.73ff975",\r
1008         "442ee5c4.7ebc14",\r
1009         "55e39af5.a2b61c",\r
1010         "22efa8c9.c8576",\r
1011         "d6e1611b.9ddcf",\r
1012         "b18620c8.640928",\r
1013         "11e0f934.faeab7",\r
1014         "b71f57a7.e2a288",\r
1015         "f7d11626.bd108",\r
1016         "7d22810d.66642",\r
1017         "5fc2699f.6720b8",\r
1018         "d4db1de6.243c9",\r
1019         "4c9f1a43.e137e4",\r
1020         "f953800.9cf34",\r
1021         "1931dff5.72d728",\r
1022         "be1fed24.75522",\r
1023         "3ab03c8.bdf8544",\r
1024         "d566dc7.835f6a"\r
1025       ]\r
1026     ]\r
1027   },\r
1028   {\r
1029     "id": "8992052.d396a78",\r
1030     "type": "execute",\r
1031     "name": "execute UUID generator for ethernet-service-name",\r
1032     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
1033     "comments": "",\r
1034     "outputs": 1,\r
1035     "x": 3409,\r
1036     "y": 411.9999694824219,\r
1037     "z": "f8944603.71553",\r
1038     "wires": [\r
1039       []\r
1040     ]\r
1041   },\r
1042   {\r
1043     "id": "71736994.8ef448",\r
1044     "type": "execute",\r
1045     "name": "execute UUID generator for otn-tunnel-name",\r
1046     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.otn-tunnel-name\"/>\n",\r
1047     "comments": "",\r
1048     "outputs": 1,\r
1049     "x": 3389.9999389648438,\r
1050     "y": 490.9999694824219,\r
1051     "z": "f8944603.71553",\r
1052     "wires": [\r
1053       []\r
1054     ]\r
1055   },\r
1056   {\r
1057     "id": "5fc2699f.6720b8",\r
1058     "type": "set",\r
1059     "name": "set new ethernet-service-name",\r
1060     "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
1061     "comments": "",\r
1062     "x": 3346.9999389648438,\r
1063     "y": 535.9999694824219,\r
1064     "z": "f8944603.71553",\r
1065     "wires": []\r
1066   },\r
1067   {\r
1068     "id": "262a2cdd.1722ec",\r
1069     "type": "set",\r
1070     "name": "set network-route-one",\r
1071     "xml": "<set>\n<parameter name='network-route-one' value=\"`$tmp.aai.logical-link.link-name`\" />\n\n\n",\r
1072     "comments": "",\r
1073     "x": 3311.999969482422,\r
1074     "y": 589.9999694824219,\r
1075     "z": "f8944603.71553",\r
1076     "wires": []\r
1077   },\r
1078   {\r
1079     "id": "6dffa8a4.87ef28",\r
1080     "type": "set",\r
1081     "name": "set network-route-two",\r
1082     "xml": "<set>\n<parameter name='network-route-two' value=\"`$tmp.aai.logical-link.link-name2`\" />\n\n\n",\r
1083     "comments": "",\r
1084     "x": 3312.999969482422,\r
1085     "y": 644.9999694824219,\r
1086     "z": "f8944603.71553",\r
1087     "wires": []\r
1088   },\r
1089   {\r
1090     "id": "19dc8ab.73ff975",\r
1091     "type": "save",\r
1092     "name": "get network-route-one from aai",\r
1093     "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
1094     "comments": "",\r
1095     "outputs": 1,\r
1096     "x": 3310.999969482422,\r
1097     "y": 908.9999694824219,\r
1098     "z": "f8944603.71553",\r
1099     "wires": [\r
1100       [\r
1101         "6a238476.e2fb94",\r
1102         "535decdf.f72024",\r
1103         "ae1cf5c7.80a6f8"\r
1104       ]\r
1105     ]\r
1106   },\r
1107   {\r
1108     "id": "442ee5c4.7ebc14",\r
1109     "type": "save",\r
1110     "name": "get network-route-two from aai",\r
1111     "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
1112     "comments": "",\r
1113     "outputs": 1,\r
1114     "x": 3305.999969482422,\r
1115     "y": 969.9998474121094,\r
1116     "z": "f8944603.71553",\r
1117     "wires": [\r
1118       [\r
1119         "3acf80af.f43f8",\r
1120         "d256cf0d.9aea78",\r
1121         "e101efde.aba"\r
1122       ]\r
1123     ]\r
1124   },\r
1125   {\r
1126     "id": "6a238476.e2fb94",\r
1127     "type": "not-found",\r
1128     "name": "not-found",\r
1129     "xml": "<outcome value='not-found'>\n",\r
1130     "comments": "",\r
1131     "outputs": 1,\r
1132     "x": 3621.999969482422,\r
1133     "y": 679.9999694824219,\r
1134     "z": "f8944603.71553",\r
1135     "wires": [\r
1136       [\r
1137         "ab9f09fe.f29c98"\r
1138       ]\r
1139     ]\r
1140   },\r
1141   {\r
1142     "id": "535decdf.f72024",\r
1143     "type": "failure",\r
1144     "name": "failure",\r
1145     "xml": "<outcome value='failure'>\n",\r
1146     "comments": "",\r
1147     "outputs": 1,\r
1148     "x": 3617.509002685547,\r
1149     "y": 729.4259948730469,\r
1150     "z": "f8944603.71553",\r
1151     "wires": [\r
1152       [\r
1153         "e4e6f924.884bf"\r
1154       ]\r
1155     ]\r
1156   },\r
1157   {\r
1158     "id": "ae1cf5c7.80a6f8",\r
1159     "type": "success",\r
1160     "name": "success",\r
1161     "xml": "<outcome value='success'>\n",\r
1162     "comments": "",\r
1163     "outputs": 1,\r
1164     "x": 3621.509002685547,\r
1165     "y": 782.4259948730469,\r
1166     "z": "f8944603.71553",\r
1167     "wires": [\r
1168       [\r
1169         "ab5ff9c2.10c8a"\r
1170       ]\r
1171     ]\r
1172   },\r
1173   {\r
1174     "id": "ab9f09fe.f29c98",\r
1175     "type": "returnFailure",\r
1176     "name": "return failure",\r
1177     "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
1178     "comments": "",\r
1179     "x": 3770.571502685547,\r
1180     "y": 679.2857360839844,\r
1181     "z": "f8944603.71553",\r
1182     "wires": []\r
1183   },\r
1184   {\r
1185     "id": "e4e6f924.884bf",\r
1186     "type": "returnFailure",\r
1187     "name": "return failure",\r
1188     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1189     "comments": "",\r
1190     "x": 3760.509002685547,\r
1191     "y": 729.4259948730469,\r
1192     "z": "f8944603.71553",\r
1193     "wires": []\r
1194   },\r
1195   {\r
1196     "id": "3acf80af.f43f8",\r
1197     "type": "not-found",\r
1198     "name": "not-found",\r
1199     "xml": "<outcome value='not-found'>\n",\r
1200     "comments": "",\r
1201     "outputs": 1,\r
1202     "x": 3583.9999389648438,\r
1203     "y": 869.9998168945312,\r
1204     "z": "f8944603.71553",\r
1205     "wires": [\r
1206       [\r
1207         "87a2e14c.f364a"\r
1208       ]\r
1209     ]\r
1210   },\r
1211   {\r
1212     "id": "d256cf0d.9aea78",\r
1213     "type": "failure",\r
1214     "name": "failure",\r
1215     "xml": "<outcome value='failure'>\n",\r
1216     "comments": "",\r
1217     "outputs": 1,\r
1218     "x": 3579.509002685547,\r
1219     "y": 912.4258728027344,\r
1220     "z": "f8944603.71553",\r
1221     "wires": [\r
1222       [\r
1223         "98a18e9a.d4f5a"\r
1224       ]\r
1225     ]\r
1226   },\r
1227   {\r
1228     "id": "e101efde.aba",\r
1229     "type": "success",\r
1230     "name": "success",\r
1231     "xml": "<outcome value='success'>\n",\r
1232     "comments": "",\r
1233     "outputs": 1,\r
1234     "x": 3580.509002685547,\r
1235     "y": 965.4258728027344,\r
1236     "z": "f8944603.71553",\r
1237     "wires": [\r
1238       [\r
1239         "4d45fe17.38da58"\r
1240       ]\r
1241     ]\r
1242   },\r
1243   {\r
1244     "id": "87a2e14c.f364a",\r
1245     "type": "returnFailure",\r
1246     "name": "return failure",\r
1247     "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
1248     "comments": "",\r
1249     "x": 3732.5714721679688,\r
1250     "y": 869.2855834960938,\r
1251     "z": "f8944603.71553",\r
1252     "wires": []\r
1253   },\r
1254   {\r
1255     "id": "98a18e9a.d4f5a",\r
1256     "type": "returnFailure",\r
1257     "name": "return failure",\r
1258     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1259     "comments": "",\r
1260     "x": 3722.509002685547,\r
1261     "y": 912.4258728027344,\r
1262     "z": "f8944603.71553",\r
1263     "wires": []\r
1264   },\r
1265   {\r
1266     "id": "ab5ff9c2.10c8a",\r
1267     "type": "block",\r
1268     "name": "block : atomic",\r
1269     "xml": "<block atomic=\"true\">",\r
1270     "atomic": "true",\r
1271     "outputs": 1,\r
1272     "x": 3782.999969482422,\r
1273     "y": 781.9999694824219,\r
1274     "z": "f8944603.71553",\r
1275     "wires": [\r
1276       [\r
1277         "84478c6a.6d587"\r
1278       ]\r
1279     ]\r
1280   },\r
1281   {\r
1282     "id": "4d45fe17.38da58",\r
1283     "type": "block",\r
1284     "name": "block : atomic",\r
1285     "xml": "<block atomic=\"true\">",\r
1286     "atomic": "true",\r
1287     "outputs": 1,\r
1288     "x": 3733.999969482422,\r
1289     "y": 964.9998474121094,\r
1290     "z": "f8944603.71553",\r
1291     "wires": [\r
1292       [\r
1293         "2dfc998d.a2b3e6"\r
1294       ]\r
1295     ]\r
1296   },\r
1297   {\r
1298     "id": "84478c6a.6d587",\r
1299     "type": "switchNode",\r
1300     "name": "switch nr type",\r
1301     "xml": "<switch test='`$tmp.aai.network-route-one.type`'>\n",\r
1302     "comments": "",\r
1303     "outputs": 1,\r
1304     "x": 3957.999969482422,\r
1305     "y": 755.9999694824219,\r
1306     "z": "f8944603.71553",\r
1307     "wires": [\r
1308       [\r
1309         "be084505.b458",\r
1310         "5b2d2057.dd8c4",\r
1311         "83ce05e.7f315f8"\r
1312       ]\r
1313     ]\r
1314   },\r
1315   {\r
1316     "id": "2dfc998d.a2b3e6",\r
1317     "type": "switchNode",\r
1318     "name": "switch nr type",\r
1319     "xml": "<switch test='`$tmp.aai.network-route-two.type`'>\n",\r
1320     "comments": "",\r
1321     "outputs": 1,\r
1322     "x": 3917.999969482422,\r
1323     "y": 872.9999694824219,\r
1324     "z": "f8944603.71553",\r
1325     "wires": [\r
1326       [\r
1327         "27a94561.e70e32",\r
1328         "e39a6c9c.1e6dd8",\r
1329         "fe4b773c.0eae98"\r
1330       ]\r
1331     ]\r
1332   },\r
1333   {\r
1334     "id": "be084505.b458",\r
1335     "type": "outcome",\r
1336     "name": "ROOT",\r
1337     "xml": "<outcome value='ROOT'>\n",\r
1338     "comments": "",\r
1339     "outputs": 1,\r
1340     "x": 4079.999969482422,\r
1341     "y": 540.9999694824219,\r
1342     "z": "f8944603.71553",\r
1343     "wires": [\r
1344       [\r
1345         "86b880d.ad45d"\r
1346       ]\r
1347     ]\r
1348   },\r
1349   {\r
1350     "id": "5b2d2057.dd8c4",\r
1351     "type": "outcome",\r
1352     "name": "LEAF",\r
1353     "xml": "<outcome value='LEAF'>\n",\r
1354     "comments": "",\r
1355     "outputs": 1,\r
1356     "x": 4081.999969482422,\r
1357     "y": 594.9999694824219,\r
1358     "z": "f8944603.71553",\r
1359     "wires": [\r
1360       [\r
1361         "10eaea8a.998afd"\r
1362       ]\r
1363     ]\r
1364   },\r
1365   {\r
1366     "id": "27a94561.e70e32",\r
1367     "type": "outcome",\r
1368     "name": "ROOT",\r
1369     "xml": "<outcome value='ROOT'>\n",\r
1370     "comments": "",\r
1371     "outputs": 1,\r
1372     "x": 4099,\r
1373     "y": 811,\r
1374     "z": "f8944603.71553",\r
1375     "wires": [\r
1376       [\r
1377         "e84921e.f8ecce"\r
1378       ]\r
1379     ]\r
1380   },\r
1381   {\r
1382     "id": "e39a6c9c.1e6dd8",\r
1383     "type": "outcome",\r
1384     "name": "LEAF",\r
1385     "xml": "<outcome value='LEAF'>\n",\r
1386     "comments": "",\r
1387     "outputs": 1,\r
1388     "x": 4101,\r
1389     "y": 865,\r
1390     "z": "f8944603.71553",\r
1391     "wires": [\r
1392       [\r
1393         "b7ebf9b7.e2f348"\r
1394       ]\r
1395     ]\r
1396   },\r
1397   {\r
1398     "id": "4ebe65d0.3ec92c",\r
1399     "type": "set",\r
1400     "name": "set network-route-ROOT",\r
1401     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1402     "comments": "",\r
1403     "x": 4389.999969482422,\r
1404     "y": 492.9999694824219,\r
1405     "z": "f8944603.71553",\r
1406     "wires": []\r
1407   },\r
1408   {\r
1409     "id": "b5b3e89e.18b28",\r
1410     "type": "set",\r
1411     "name": "set network-route-LEAF",\r
1412     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
1413     "comments": "",\r
1414     "x": 4382.999969482422,\r
1415     "y": 590.9999694824219,\r
1416     "z": "f8944603.71553",\r
1417     "wires": []\r
1418   },\r
1419   {\r
1420     "id": "81270995.5d712",\r
1421     "type": "set",\r
1422     "name": "set network-route-ROOT",\r
1423     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1424     "comments": "",\r
1425     "x": 4401,\r
1426     "y": 784,\r
1427     "z": "f8944603.71553",\r
1428     "wires": []\r
1429   },\r
1430   {\r
1431     "id": "7db54dd4.f36624",\r
1432     "type": "set",\r
1433     "name": "set network-route-LEAF",\r
1434     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
1435     "comments": "",\r
1436     "x": 4405,\r
1437     "y": 877,\r
1438     "z": "f8944603.71553",\r
1439     "wires": []\r
1440   },\r
1441   {\r
1442     "id": "3464c217.ddf82e",\r
1443     "type": "success",\r
1444     "name": "success",\r
1445     "xml": "<outcome value='success'>\n",\r
1446     "comments": "",\r
1447     "outputs": 1,\r
1448     "x": 3548,\r
1449     "y": 1549,\r
1450     "z": "f8944603.71553",\r
1451     "wires": [\r
1452       [\r
1453         "5c2f3801.4eed3"\r
1454       ]\r
1455     ]\r
1456   },\r
1457   {\r
1458     "id": "e12bcc6e.caae8",\r
1459     "type": "not-found",\r
1460     "name": "not-found",\r
1461     "xml": "<outcome value='not-found'>\n",\r
1462     "comments": "",\r
1463     "outputs": 1,\r
1464     "x": 3557.490966796875,\r
1465     "y": 1591.5740356445312,\r
1466     "z": "f8944603.71553",\r
1467     "wires": [\r
1468       [\r
1469         "fb3f4046.01bc4"\r
1470       ]\r
1471     ]\r
1472   },\r
1473   {\r
1474     "id": "a3a68564.d1334",\r
1475     "type": "failure",\r
1476     "name": "failure",\r
1477     "xml": "<outcome value='failure'>\n",\r
1478     "comments": "",\r
1479     "outputs": 1,\r
1480     "x": 3546,\r
1481     "y": 1638,\r
1482     "z": "f8944603.71553",\r
1483     "wires": [\r
1484       [\r
1485         "9f68f9be.d7aab8"\r
1486       ]\r
1487     ]\r
1488   },\r
1489   {\r
1490     "id": "8a9b7f74.e3a568",\r
1491     "type": "comment",\r
1492     "name": "Question?",\r
1493     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
1494     "comments": "",\r
1495     "x": 3248,\r
1496     "y": 1511,\r
1497     "z": "f8944603.71553",\r
1498     "wires": []\r
1499   },\r
1500   {\r
1501     "id": "22efa8c9.c8576",\r
1502     "type": "save",\r
1503     "name": "get p-interface-src from aai",\r
1504     "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
1505     "comments": "",\r
1506     "outputs": 1,\r
1507     "x": 3291,\r
1508     "y": 1576,\r
1509     "z": "f8944603.71553",\r
1510     "wires": [\r
1511       [\r
1512         "3464c217.ddf82e",\r
1513         "e12bcc6e.caae8",\r
1514         "a3a68564.d1334"\r
1515       ]\r
1516     ]\r
1517   },\r
1518   {\r
1519     "id": "55e39af5.a2b61c",\r
1520     "type": "execute",\r
1521     "name": "execute split tp-id to get pnf-name",\r
1522     "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
1523     "comments": "",\r
1524     "outputs": 1,\r
1525     "x": 3292,\r
1526     "y": 1246,\r
1527     "z": "f8944603.71553",\r
1528     "wires": [\r
1529       [\r
1530         "cbe70d53.b79168",\r
1531         "9e0cb899.0e0f"\r
1532       ]\r
1533     ]\r
1534   },\r
1535   {\r
1536     "id": "9e0cb899.0e0f",\r
1537     "type": "failure",\r
1538     "name": "success",\r
1539     "xml": "<outcome value='success'>\n",\r
1540     "comments": "",\r
1541     "outputs": 1,\r
1542     "x": 3512.999969482422,\r
1543     "y": 1298.9999694824219,\r
1544     "z": "f8944603.71553",\r
1545     "wires": [\r
1546       [\r
1547         "300fab87.54654c"\r
1548       ]\r
1549     ]\r
1550   },\r
1551   {\r
1552     "id": "cbe70d53.b79168",\r
1553     "type": "failure",\r
1554     "name": "failure",\r
1555     "xml": "<outcome value='failure'>\n",\r
1556     "comments": "",\r
1557     "outputs": 1,\r
1558     "x": 3514.999969482422,\r
1559     "y": 1331.9999694824219,\r
1560     "z": "f8944603.71553",\r
1561     "wires": [\r
1562       [\r
1563         "ad0b83ff.4cb308"\r
1564       ]\r
1565     ]\r
1566   },\r
1567   {\r
1568     "id": "5c2f3801.4eed3",\r
1569     "type": "block",\r
1570     "name": "block : atomic",\r
1571     "xml": "<block atomic=\"true\">",\r
1572     "atomic": "true",\r
1573     "outputs": 1,\r
1574     "x": 3720.66650390625,\r
1575     "y": 1548,\r
1576     "z": "f8944603.71553",\r
1577     "wires": [\r
1578       [\r
1579         "fe2c6692.47101",\r
1580         "9af14a91.b12a68"\r
1581       ]\r
1582     ]\r
1583   },\r
1584   {\r
1585     "id": "fb3f4046.01bc4",\r
1586     "type": "returnFailure",\r
1587     "name": "return failure",\r
1588     "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
1589     "comments": "",\r
1590     "x": 3711.0623779296875,\r
1591     "y": 1594.8597717285156,\r
1592     "z": "f8944603.71553",\r
1593     "wires": []\r
1594   },\r
1595   {\r
1596     "id": "9f68f9be.d7aab8",\r
1597     "type": "returnFailure",\r
1598     "name": "return failure",\r
1599     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
1600     "comments": "",\r
1601     "x": 3715,\r
1602     "y": 1639,\r
1603     "z": "f8944603.71553",\r
1604     "wires": []\r
1605   },\r
1606   {\r
1607     "id": "fe2c6692.47101",\r
1608     "type": "execute",\r
1609     "name": "execute split tp-id to get pnf-name",\r
1610     "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
1611     "comments": "",\r
1612     "outputs": 1,\r
1613     "x": 3985,\r
1614     "y": 1532,\r
1615     "z": "f8944603.71553",\r
1616     "wires": [\r
1617       [\r
1618         "37956c14.cf1964",\r
1619         "7f26a273.a5f25c"\r
1620       ]\r
1621     ]\r
1622   },\r
1623   {\r
1624     "id": "7f26a273.a5f25c",\r
1625     "type": "failure",\r
1626     "name": "success",\r
1627     "xml": "<outcome value='success'>\n",\r
1628     "comments": "",\r
1629     "outputs": 1,\r
1630     "x": 4208,\r
1631     "y": 1487,\r
1632     "z": "f8944603.71553",\r
1633     "wires": [\r
1634       [\r
1635         "d180abab.fe69a"\r
1636       ]\r
1637     ]\r
1638   },\r
1639   {\r
1640     "id": "37956c14.cf1964",\r
1641     "type": "failure",\r
1642     "name": "failure",\r
1643     "xml": "<outcome value='failure'>\n",\r
1644     "comments": "",\r
1645     "outputs": 1,\r
1646     "x": 4210,\r
1647     "y": 1551,\r
1648     "z": "f8944603.71553",\r
1649     "wires": [\r
1650       [\r
1651         "11875f6b.e538c1"\r
1652       ]\r
1653     ]\r
1654   },\r
1655   {\r
1656     "id": "11875f6b.e538c1",\r
1657     "type": "returnFailure",\r
1658     "name": "return failure",\r
1659     "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
1660     "comments": "",\r
1661     "x": 4372,\r
1662     "y": 1547,\r
1663     "z": "f8944603.71553",\r
1664     "wires": []\r
1665   },\r
1666   {\r
1667     "id": "d180abab.fe69a",\r
1668     "type": "block",\r
1669     "name": "block : atomic",\r
1670     "xml": "<block atomic=\"true\">",\r
1671     "atomic": "true",\r
1672     "outputs": 1,\r
1673     "x": 4373,\r
1674     "y": 1484,\r
1675     "z": "f8944603.71553",\r
1676     "wires": [\r
1677       [\r
1678         "c42ee54d.ec9ea",\r
1679         "e2dee17e.90746"\r
1680       ]\r
1681     ]\r
1682   },\r
1683   {\r
1684     "id": "ad0b83ff.4cb308",\r
1685     "type": "returnFailure",\r
1686     "name": "return failure",\r
1687     "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
1688     "comments": "",\r
1689     "x": 3657.999969482422,\r
1690     "y": 1328.9999694824219,\r
1691     "z": "f8944603.71553",\r
1692     "wires": []\r
1693   },\r
1694   {\r
1695     "id": "300fab87.54654c",\r
1696     "type": "block",\r
1697     "name": "block : atomic",\r
1698     "xml": "<block atomic=\"true\">",\r
1699     "atomic": "true",\r
1700     "outputs": 1,\r
1701     "x": 3660.999969482422,\r
1702     "y": 1291.9999694824219,\r
1703     "z": "f8944603.71553",\r
1704     "wires": [\r
1705       [\r
1706         "844bb618.6c32e8",\r
1707         "99a55ff.3057da"\r
1708       ]\r
1709     ]\r
1710   },\r
1711   {\r
1712     "id": "844bb618.6c32e8",\r
1713     "type": "set",\r
1714     "name": "set pnf-name",\r
1715     "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
1716     "comments": "",\r
1717     "x": 3834.999969482422,\r
1718     "y": 1247.9999694824219,\r
1719     "z": "f8944603.71553",\r
1720     "wires": []\r
1721   },\r
1722   {\r
1723     "id": "9af14a91.b12a68",\r
1724     "type": "for",\r
1725     "name": "for each relationship",\r
1726     "xml": "<for silentFailure='true' index='pividx' start='0' end='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship_length`' >\n",\r
1727     "comments": "",\r
1728     "outputs": 1,\r
1729     "x": 3933.999969482422,\r
1730     "y": 1641.9999694824219,\r
1731     "z": "f8944603.71553",\r
1732     "wires": [\r
1733       [\r
1734         "1b19176e.822411"\r
1735       ]\r
1736     ]\r
1737   },\r
1738   {\r
1739     "id": "1b19176e.822411",\r
1740     "type": "switchNode",\r
1741     "name": "switch related-to",\r
1742     "xml": "<switch test='`$tmp.aai.network-route-A.p-interface-src.relationship-list.relationship[$pividx].related-to`'>\n",\r
1743     "comments": "",\r
1744     "outputs": 1,\r
1745     "x": 4139.999969482422,\r
1746     "y": 1641.9999694824219,\r
1747     "z": "f8944603.71553",\r
1748     "wires": [\r
1749       [\r
1750         "c875ac48.6e9"\r
1751       ]\r
1752     ]\r
1753   },\r
1754   {\r
1755     "id": "c875ac48.6e9",\r
1756     "type": "outcome",\r
1757     "name": "tunnel-termination-point",\r
1758     "xml": "<outcome value='tunnel-termination-point'>\n",\r
1759     "comments": "",\r
1760     "outputs": 1,\r
1761     "x": 4355.285614013672,\r
1762     "y": 1641.8217468261719,\r
1763     "z": "f8944603.71553",\r
1764     "wires": [\r
1765       [\r
1766         "6e0bf03.4de201"\r
1767       ]\r
1768     ]\r
1769   },\r
1770   {\r
1771     "id": "99a55ff.3057da",\r
1772     "type": "get-resource",\r
1773     "name": "get-resource src pnf",\r
1774     "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
1775     "comments": "",\r
1776     "outputs": 1,\r
1777     "x": 3849.999969482422,\r
1778     "y": 1358.9999694824219,\r
1779     "z": "f8944603.71553",\r
1780     "wires": [\r
1781       [\r
1782         "26c5a31d.0e26c4",\r
1783         "1dba38b8.e09647",\r
1784         "703777cb.7523f"\r
1785       ]\r
1786     ]\r
1787   },\r
1788   {\r
1789     "id": "26c5a31d.0e26c4",\r
1790     "type": "success",\r
1791     "name": "success",\r
1792     "xml": "<outcome value='success'>\n",\r
1793     "comments": "",\r
1794     "outputs": 1,\r
1795     "x": 4045.5000915527344,\r
1796     "y": 1310.9999694824219,\r
1797     "z": "f8944603.71553",\r
1798     "wires": [\r
1799       [\r
1800         "3f157e84.d62172"\r
1801       ]\r
1802     ]\r
1803   },\r
1804   {\r
1805     "id": "1dba38b8.e09647",\r
1806     "type": "not-found",\r
1807     "name": "not-found",\r
1808     "xml": "<outcome value='not-found'>\n",\r
1809     "comments": "",\r
1810     "outputs": 1,\r
1811     "x": 4037.5000915527344,\r
1812     "y": 1365.9999694824219,\r
1813     "z": "f8944603.71553",\r
1814     "wires": [\r
1815       [\r
1816         "7126adde.e76d1c"\r
1817       ]\r
1818     ]\r
1819   },\r
1820   {\r
1821     "id": "703777cb.7523f",\r
1822     "type": "other",\r
1823     "name": "other",\r
1824     "xml": "<outcome value='Other'>\n",\r
1825     "comments": "",\r
1826     "outputs": 1,\r
1827     "x": 4042.5000915527344,\r
1828     "y": 1422.9999694824219,\r
1829     "z": "f8944603.71553",\r
1830     "wires": [\r
1831       [\r
1832         "f85ce86b.434b48"\r
1833       ]\r
1834     ]\r
1835   },\r
1836   {\r
1837     "id": "f85ce86b.434b48",\r
1838     "type": "returnFailure",\r
1839     "name": "return failure",\r
1840     "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
1841     "comments": "",\r
1842     "x": 4194.500091552734,\r
1843     "y": 1423.9999694824219,\r
1844     "z": "f8944603.71553",\r
1845     "wires": []\r
1846   },\r
1847   {\r
1848     "id": "7126adde.e76d1c",\r
1849     "type": "returnFailure",\r
1850     "name": "return failure",\r
1851     "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
1852     "comments": "",\r
1853     "x": 4205.500091552734,\r
1854     "y": 1368.9999694824219,\r
1855     "z": "f8944603.71553",\r
1856     "wires": []\r
1857   },\r
1858   {\r
1859     "id": "3f157e84.d62172",\r
1860     "type": "block",\r
1861     "name": "block",\r
1862     "xml": "<block>\n",\r
1863     "atomic": "false",\r
1864     "comments": "",\r
1865     "outputs": 1,\r
1866     "x": 4189.882415771484,\r
1867     "y": 1308.6556396484375,\r
1868     "z": "f8944603.71553",\r
1869     "wires": [\r
1870       [\r
1871         "61a6617b.c1f918"\r
1872       ]\r
1873     ]\r
1874   },\r
1875   {\r
1876     "id": "61a6617b.c1f918",\r
1877     "type": "for",\r
1878     "name": "for each relationship",\r
1879     "xml": "<for silentFailure='true' index='spvidx' start='0' end='`$tmp.aai.source-pnf.relationship-list.relationship_length`' >\n",\r
1880     "comments": "",\r
1881     "outputs": 1,\r
1882     "x": 4373.999969482422,\r
1883     "y": 1322.9999694824219,\r
1884     "z": "f8944603.71553",\r
1885     "wires": [\r
1886       [\r
1887         "c94ffafa.dcbd38"\r
1888       ]\r
1889     ]\r
1890   },\r
1891   {\r
1892     "id": "e2dee17e.90746",\r
1893     "type": "set",\r
1894     "name": "set ltpId",\r
1895     "xml": "<set>\n<parameter name='tmp.src.ltpId' value='`$param-prefix-domainA[$param-prefix-domainA_length -1]`' />\n",\r
1896     "comments": "",\r
1897     "x": 4543,\r
1898     "y": 1442,\r
1899     "z": "f8944603.71553",\r
1900     "wires": []\r
1901   },\r
1902   {\r
1903     "id": "c42ee54d.ec9ea",\r
1904     "type": "set",\r
1905     "name": "set pnf-name",\r
1906     "xml": "<set>\n<parameter name='tmp.src.pnf-name' value='`$param-prefix-domainA[$param-prefix-domainA_length -3]`' />\n",\r
1907     "comments": "",\r
1908     "x": 4544,\r
1909     "y": 1550,\r
1910     "z": "f8944603.71553",\r
1911     "wires": []\r
1912   },\r
1913   {\r
1914     "id": "a1e5e819.9ba388",\r
1915     "type": "comment",\r
1916     "name": "TODO: FIXME",\r
1917     "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
1918     "comments": "",\r
1919     "x": 4545,\r
1920     "y": 1499,\r
1921     "z": "f8944603.71553",\r
1922     "wires": []\r
1923   },\r
1924   {\r
1925     "id": "6e0bf03.4de201",\r
1926     "type": "block",\r
1927     "name": "block : atomic",\r
1928     "xml": "<block atomic=\"true\">",\r
1929     "atomic": "true",\r
1930     "outputs": 1,\r
1931     "x": 4562.117156982422,\r
1932     "y": 1642.3403015136719,\r
1933     "z": "f8944603.71553",\r
1934     "wires": [\r
1935       [\r
1936         "663b6226.995afc",\r
1937         "dd7e9ff0.ed3a48",\r
1938         "21e8d5ce.795f42"\r
1939       ]\r
1940     ]\r
1941   },\r
1942   {\r
1943     "id": "663b6226.995afc",\r
1944     "type": "set",\r
1945     "name": "set source ttp-id",\r
1946     "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
1947     "comments": "",\r
1948     "x": 4777.117156982422,\r
1949     "y": 1604.3403015136719,\r
1950     "z": "f8944603.71553",\r
1951     "wires": []\r
1952   },\r
1953   {\r
1954     "id": "dd7e9ff0.ed3a48",\r
1955     "type": "get-resource",\r
1956     "name": "get-resource src TTP",\r
1957     "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
1958     "comments": "",\r
1959     "outputs": 1,\r
1960     "x": 4774.117156982422,\r
1961     "y": 1643.3403015136719,\r
1962     "z": "f8944603.71553",\r
1963     "wires": [\r
1964       [\r
1965         "49a01492.84fe34"\r
1966       ]\r
1967     ]\r
1968   },\r
1969   {\r
1970     "id": "21e8d5ce.795f42",\r
1971     "type": "break",\r
1972     "name": "break",\r
1973     "xml": "<break>\n",\r
1974     "comments": "",\r
1975     "x": 4729.617156982422,\r
1976     "y": 1685.3403015136719,\r
1977     "z": "f8944603.71553",\r
1978     "wires": []\r
1979   },\r
1980   {\r
1981     "id": "49a01492.84fe34",\r
1982     "type": "success",\r
1983     "name": "success",\r
1984     "xml": "<outcome value='success'>\n",\r
1985     "comments": "",\r
1986     "outputs": 1,\r
1987     "x": 4954.617156982422,\r
1988     "y": 1642.3403015136719,\r
1989     "z": "f8944603.71553",\r
1990     "wires": [\r
1991       [\r
1992         "292cacf5.882694"\r
1993       ]\r
1994     ]\r
1995   },\r
1996   {\r
1997     "id": "ccfcf164.268f1",\r
1998     "type": "outcome",\r
1999     "name": "esr-thirdparty-sdnc",\r
2000     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2001     "comments": "",\r
2002     "outputs": 1,\r
2003     "x": 4774,\r
2004     "y": 1260,\r
2005     "z": "f8944603.71553",\r
2006     "wires": [\r
2007       [\r
2008         "c88ef5fa.00d8b"\r
2009       ]\r
2010     ]\r
2011   },\r
2012   {\r
2013     "id": "c88ef5fa.00d8b",\r
2014     "type": "block",\r
2015     "name": "block : atomic",\r
2016     "xml": "<block atomic=\"true\">",\r
2017     "atomic": "true",\r
2018     "outputs": 1,\r
2019     "x": 4951,\r
2020     "y": 1252,\r
2021     "z": "f8944603.71553",\r
2022     "wires": [\r
2023       [\r
2024         "889b0a64.f04af",\r
2025         "b7b819bd.9ab3a"\r
2026       ]\r
2027     ]\r
2028   },\r
2029   {\r
2030     "id": "c94ffafa.dcbd38",\r
2031     "type": "switchNode",\r
2032     "name": "switch related-to",\r
2033     "xml": "<switch test='`$tmp.aai.source-pnf.relationship-list.relationship[$spvidx].related-to`'>\n",\r
2034     "comments": "",\r
2035     "outputs": 1,\r
2036     "x": 4568.999969482422,\r
2037     "y": 1322.9999694824219,\r
2038     "z": "f8944603.71553",\r
2039     "wires": [\r
2040       [\r
2041         "ccfcf164.268f1",\r
2042         "109fb904.331fef"\r
2043       ]\r
2044     ]\r
2045   },\r
2046   {\r
2047     "id": "109fb904.331fef",\r
2048     "type": "outcome",\r
2049     "name": "network-resource",\r
2050     "xml": "<outcome value='network-resource'>",\r
2051     "comments": "",\r
2052     "outputs": 1,\r
2053     "x": 4777,\r
2054     "y": 1334,\r
2055     "z": "f8944603.71553",\r
2056     "wires": [\r
2057       [\r
2058         "c72b69fd.2d015"\r
2059       ]\r
2060     ]\r
2061   },\r
2062   {\r
2063     "id": "c72b69fd.2d015",\r
2064     "type": "block",\r
2065     "name": "block : atomic",\r
2066     "xml": "<block atomic=\"true\">",\r
2067     "atomic": "true",\r
2068     "outputs": 1,\r
2069     "x": 4954,\r
2070     "y": 1326,\r
2071     "z": "f8944603.71553",\r
2072     "wires": [\r
2073       [\r
2074         "7fcaaf72.ffd618"\r
2075       ]\r
2076     ]\r
2077   },\r
2078   {\r
2079     "id": "292cacf5.882694",\r
2080     "type": "block",\r
2081     "name": "block : atomic",\r
2082     "xml": "<block atomic=\"true\">",\r
2083     "atomic": "true",\r
2084     "outputs": 1,\r
2085     "x": 5112.617156982422,\r
2086     "y": 1642.3403015136719,\r
2087     "z": "f8944603.71553",\r
2088     "wires": [\r
2089       [\r
2090         "63e30873.d5c4b8"\r
2091       ]\r
2092     ]\r
2093   },\r
2094   {\r
2095     "id": "63e30873.d5c4b8",\r
2096     "type": "set",\r
2097     "name": "set source tunnel tp ip",\r
2098     "xml": "<set>\n<parameter name='source.tunnel-tp-id' value=\"`$tmp.aai.source-ttp.tunnel-tp-id`\" />\n",\r
2099     "comments": "",\r
2100     "x": 5319.617156982422,\r
2101     "y": 1642.3403015136719,\r
2102     "z": "f8944603.71553",\r
2103     "wires": []\r
2104   },\r
2105   {\r
2106     "id": "b7b819bd.9ab3a",\r
2107     "type": "execute",\r
2108     "name": "get esr-thirdparty-sdnc",\r
2109     "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
2110     "comments": "",\r
2111     "outputs": 1,\r
2112     "x": 5159,\r
2113     "y": 1259,\r
2114     "z": "f8944603.71553",\r
2115     "wires": [\r
2116       [\r
2117         "b062763c.d2a4c",\r
2118         "54b52301.01aeac",\r
2119         "c657b443.273d9"\r
2120       ]\r
2121     ]\r
2122   },\r
2123   {\r
2124     "id": "889b0a64.f04af",\r
2125     "type": "set",\r
2126     "name": "set esr-thirdparty-sdnc domainA id",\r
2127     "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
2128     "comments": "",\r
2129     "x": 5189,\r
2130     "y": 1207,\r
2131     "z": "f8944603.71553",\r
2132     "wires": []\r
2133   },\r
2134   {\r
2135     "id": "b062763c.d2a4c",\r
2136     "type": "success",\r
2137     "name": "success",\r
2138     "xml": "<outcome value='success'>\n",\r
2139     "comments": "",\r
2140     "outputs": 1,\r
2141     "x": 5369,\r
2142     "y": 1250,\r
2143     "z": "f8944603.71553",\r
2144     "wires": [\r
2145       [\r
2146         "be5642b7.4ae158"\r
2147       ]\r
2148     ]\r
2149   },\r
2150   {\r
2151     "id": "54b52301.01aeac",\r
2152     "type": "not-found",\r
2153     "name": "not-found",\r
2154     "xml": "<outcome value='not-found'>\n",\r
2155     "comments": "",\r
2156     "outputs": 1,\r
2157     "x": 5361,\r
2158     "y": 1305,\r
2159     "z": "f8944603.71553",\r
2160     "wires": [\r
2161       [\r
2162         "4c818fe4.79442"\r
2163       ]\r
2164     ]\r
2165   },\r
2166   {\r
2167     "id": "c657b443.273d9",\r
2168     "type": "other",\r
2169     "name": "other",\r
2170     "xml": "<outcome value='Other'>\n",\r
2171     "comments": "",\r
2172     "outputs": 1,\r
2173     "x": 5366,\r
2174     "y": 1362,\r
2175     "z": "f8944603.71553",\r
2176     "wires": [\r
2177       [\r
2178         "efb52045.6ba93"\r
2179       ]\r
2180     ]\r
2181   },\r
2182   {\r
2183     "id": "efb52045.6ba93",\r
2184     "type": "returnFailure",\r
2185     "name": "return failure",\r
2186     "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
2187     "comments": "",\r
2188     "x": 5518,\r
2189     "y": 1363,\r
2190     "z": "f8944603.71553",\r
2191     "wires": []\r
2192   },\r
2193   {\r
2194     "id": "4c818fe4.79442",\r
2195     "type": "returnFailure",\r
2196     "name": "return failure",\r
2197     "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
2198     "comments": "",\r
2199     "x": 5529,\r
2200     "y": 1308,\r
2201     "z": "f8944603.71553",\r
2202     "wires": []\r
2203   },\r
2204   {\r
2205     "id": "be5642b7.4ae158",\r
2206     "type": "block",\r
2207     "name": "block",\r
2208     "xml": "<block>\n",\r
2209     "atomic": "false",\r
2210     "comments": "",\r
2211     "outputs": 1,\r
2212     "x": 5513.38232421875,\r
2213     "y": 1247.6556701660156,\r
2214     "z": "f8944603.71553",\r
2215     "wires": [\r
2216       [\r
2217         "6763b660.709548"\r
2218       ]\r
2219     ]\r
2220   },\r
2221   {\r
2222     "id": "7fcaaf72.ffd618",\r
2223     "type": "set",\r
2224     "name": "set domainA ethernet layer network-id",\r
2225     "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
2226     "comments": "",\r
2227     "x": 5189,\r
2228     "y": 1450,\r
2229     "z": "f8944603.71553",\r
2230     "wires": []\r
2231   },\r
2232   {\r
2233     "id": "6763b660.709548",\r
2234     "type": "set",\r
2235     "name": "set controller domainA data",\r
2236     "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
2237     "comments": "",\r
2238     "x": 5728,\r
2239     "y": 1244,\r
2240     "z": "f8944603.71553",\r
2241     "wires": []\r
2242   },\r
2243   {\r
2244     "id": "1bc82fcd.e38b3",\r
2245     "type": "set",\r
2246     "name": "set network-route-B",\r
2247     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2248     "comments": "",\r
2249     "x": 4377.999969482422,\r
2250     "y": 528.9999694824219,\r
2251     "z": "f8944603.71553",\r
2252     "wires": []\r
2253   },\r
2254   {\r
2255     "id": "1ea9819.2a7577e",\r
2256     "type": "set",\r
2257     "name": "set network-route-A",\r
2258     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
2259     "comments": "",\r
2260     "x": 4368.999969482422,\r
2261     "y": 626.9999694824219,\r
2262     "z": "f8944603.71553",\r
2263     "wires": []\r
2264   },\r
2265   {\r
2266     "id": "86b880d.ad45d",\r
2267     "type": "block",\r
2268     "name": "block",\r
2269     "xml": "<block>\n",\r
2270     "atomic": "false",\r
2271     "comments": "",\r
2272     "outputs": 1,\r
2273     "x": 4202.999969482422,\r
2274     "y": 534.9999694824219,\r
2275     "z": "f8944603.71553",\r
2276     "wires": [\r
2277       [\r
2278         "4ebe65d0.3ec92c",\r
2279         "1bc82fcd.e38b3"\r
2280       ]\r
2281     ]\r
2282   },\r
2283   {\r
2284     "id": "10eaea8a.998afd",\r
2285     "type": "block",\r
2286     "name": "block",\r
2287     "xml": "<block>\n",\r
2288     "atomic": "false",\r
2289     "comments": "",\r
2290     "outputs": 1,\r
2291     "x": 4208.999969482422,\r
2292     "y": 598.9999694824219,\r
2293     "z": "f8944603.71553",\r
2294     "wires": [\r
2295       [\r
2296         "b5b3e89e.18b28",\r
2297         "1ea9819.2a7577e"\r
2298       ]\r
2299     ]\r
2300   },\r
2301   {\r
2302     "id": "e84921e.f8ecce",\r
2303     "type": "block",\r
2304     "name": "block",\r
2305     "xml": "<block>\n",\r
2306     "atomic": "false",\r
2307     "comments": "",\r
2308     "outputs": 1,\r
2309     "x": 4227,\r
2310     "y": 811,\r
2311     "z": "f8944603.71553",\r
2312     "wires": [\r
2313       [\r
2314         "81270995.5d712",\r
2315         "aacd9933.603dc8"\r
2316       ]\r
2317     ]\r
2318   },\r
2319   {\r
2320     "id": "b7ebf9b7.e2f348",\r
2321     "type": "block",\r
2322     "name": "block",\r
2323     "xml": "<block>\n",\r
2324     "atomic": "false",\r
2325     "comments": "",\r
2326     "outputs": 1,\r
2327     "x": 4230,\r
2328     "y": 864,\r
2329     "z": "f8944603.71553",\r
2330     "wires": [\r
2331       [\r
2332         "7db54dd4.f36624",\r
2333         "bffe7efa.872038"\r
2334       ]\r
2335     ]\r
2336   },\r
2337   {\r
2338     "id": "aacd9933.603dc8",\r
2339     "type": "set",\r
2340     "name": "set network-route-B",\r
2341     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2342     "comments": "",\r
2343     "x": 4387,\r
2344     "y": 824,\r
2345     "z": "f8944603.71553",\r
2346     "wires": []\r
2347   },\r
2348   {\r
2349     "id": "bffe7efa.872038",\r
2350     "type": "set",\r
2351     "name": "set network-route-A",\r
2352     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
2353     "comments": "",\r
2354     "x": 4390,\r
2355     "y": 915,\r
2356     "z": "f8944603.71553",\r
2357     "wires": []\r
2358   },\r
2359   {\r
2360     "id": "786dd6d1.bb9f",\r
2361     "type": "block",\r
2362     "name": "block : atomic",\r
2363     "xml": "<block atomic=\"true\">",\r
2364     "atomic": "true",\r
2365     "outputs": 1,\r
2366     "x": 3681.999969482422,\r
2367     "y": 2041.9999694824219,\r
2368     "z": "f8944603.71553",\r
2369     "wires": [\r
2370       [\r
2371         "ced1d6e7.1761a",\r
2372         "debfaec3.11449"\r
2373       ]\r
2374     ]\r
2375   },\r
2376   {\r
2377     "id": "4b469f00.bbd698",\r
2378     "type": "success",\r
2379     "name": "success",\r
2380     "xml": "<outcome value='success'>\n",\r
2381     "comments": "",\r
2382     "outputs": 1,\r
2383     "x": 3509.333465576172,\r
2384     "y": 2042.9999694824219,\r
2385     "z": "f8944603.71553",\r
2386     "wires": [\r
2387       [\r
2388         "786dd6d1.bb9f"\r
2389       ]\r
2390     ]\r
2391   },\r
2392   {\r
2393     "id": "abe29976.f7b82",\r
2394     "type": "not-found",\r
2395     "name": "not-found",\r
2396     "xml": "<outcome value='not-found'>\n",\r
2397     "comments": "",\r
2398     "outputs": 1,\r
2399     "x": 3518.824432373047,\r
2400     "y": 2085.574005126953,\r
2401     "z": "f8944603.71553",\r
2402     "wires": [\r
2403       [\r
2404         "fd5b7bb5.9eb778"\r
2405       ]\r
2406     ]\r
2407   },\r
2408   {\r
2409     "id": "df5e24e1.4bbfc8",\r
2410     "type": "failure",\r
2411     "name": "failure",\r
2412     "xml": "<outcome value='failure'>\n",\r
2413     "comments": "",\r
2414     "outputs": 1,\r
2415     "x": 3507.333465576172,\r
2416     "y": 2131.999969482422,\r
2417     "z": "f8944603.71553",\r
2418     "wires": [\r
2419       [\r
2420         "8efc96df.7aca9"\r
2421       ]\r
2422     ]\r
2423   },\r
2424   {\r
2425     "id": "fd5b7bb5.9eb778",\r
2426     "type": "returnFailure",\r
2427     "name": "return failure",\r
2428     "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
2429     "comments": "",\r
2430     "x": 3672.3958435058594,\r
2431     "y": 2088.8597412109375,\r
2432     "z": "f8944603.71553",\r
2433     "wires": []\r
2434   },\r
2435   {\r
2436     "id": "8efc96df.7aca9",\r
2437     "type": "returnFailure",\r
2438     "name": "return failure",\r
2439     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
2440     "comments": "",\r
2441     "x": 3676.333465576172,\r
2442     "y": 2132.999969482422,\r
2443     "z": "f8944603.71553",\r
2444     "wires": []\r
2445   },\r
2446   {\r
2447     "id": "ced1d6e7.1761a",\r
2448     "type": "execute",\r
2449     "name": "execute split tp-id to get pnf-name",\r
2450     "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
2451     "comments": "",\r
2452     "outputs": 1,\r
2453     "x": 3968.333465576172,\r
2454     "y": 2046.0000915527344,\r
2455     "z": "f8944603.71553",\r
2456     "wires": [\r
2457       [\r
2458         "8ff8205e.94493",\r
2459         "d23599ca.696b88"\r
2460       ]\r
2461     ]\r
2462   },\r
2463   {\r
2464     "id": "d23599ca.696b88",\r
2465     "type": "failure",\r
2466     "name": "success",\r
2467     "xml": "<outcome value='success'>\n",\r
2468     "comments": "",\r
2469     "outputs": 1,\r
2470     "x": 4191.333465576172,\r
2471     "y": 2001.0000915527344,\r
2472     "z": "f8944603.71553",\r
2473     "wires": [\r
2474       [\r
2475         "9c58fe22.c1b4f8"\r
2476       ]\r
2477     ]\r
2478   },\r
2479   {\r
2480     "id": "8ff8205e.94493",\r
2481     "type": "failure",\r
2482     "name": "failure",\r
2483     "xml": "<outcome value='failure'>\n",\r
2484     "comments": "",\r
2485     "outputs": 1,\r
2486     "x": 4193.333465576172,\r
2487     "y": 2065.0000915527344,\r
2488     "z": "f8944603.71553",\r
2489     "wires": [\r
2490       [\r
2491         "f9f53a1b.e6879"\r
2492       ]\r
2493     ]\r
2494   },\r
2495   {\r
2496     "id": "f9f53a1b.e6879",\r
2497     "type": "returnFailure",\r
2498     "name": "return failure",\r
2499     "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
2500     "comments": "",\r
2501     "x": 4352.333465576172,\r
2502     "y": 2084.0000915527344,\r
2503     "z": "f8944603.71553",\r
2504     "wires": []\r
2505   },\r
2506   {\r
2507     "id": "9c58fe22.c1b4f8",\r
2508     "type": "block",\r
2509     "name": "block : atomic",\r
2510     "xml": "<block atomic=\"true\">",\r
2511     "atomic": "true",\r
2512     "outputs": 1,\r
2513     "x": 4356.333465576172,\r
2514     "y": 1998.0000915527344,\r
2515     "z": "f8944603.71553",\r
2516     "wires": [\r
2517       [\r
2518         "a3891ddf.35707",\r
2519         "dedb2135.03f5b8"\r
2520       ]\r
2521     ]\r
2522   },\r
2523   {\r
2524     "id": "b18620c8.640928",\r
2525     "type": "save",\r
2526     "name": "get p-interface-dst from aai",\r
2527     "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
2528     "comments": "",\r
2529     "outputs": 1,\r
2530     "x": 3281.333465576172,\r
2531     "y": 2077.999969482422,\r
2532     "z": "f8944603.71553",\r
2533     "wires": [\r
2534       [\r
2535         "4b469f00.bbd698",\r
2536         "abe29976.f7b82",\r
2537         "df5e24e1.4bbfc8"\r
2538       ]\r
2539     ]\r
2540   },\r
2541   {\r
2542     "id": "2363f2d1.c22566",\r
2543     "type": "comment",\r
2544     "name": "Question?",\r
2545     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
2546     "comments": "",\r
2547     "x": 3242.333465576172,\r
2548     "y": 2021.9999694824219,\r
2549     "z": "f8944603.71553",\r
2550     "wires": []\r
2551   },\r
2552   {\r
2553     "id": "d6e1611b.9ddcf",\r
2554     "type": "execute",\r
2555     "name": "execute split tp-id to get pnf-name",\r
2556     "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
2557     "comments": "",\r
2558     "outputs": 1,\r
2559     "x": 3301.333465576172,\r
2560     "y": 1817.9999694824219,\r
2561     "z": "f8944603.71553",\r
2562     "wires": [\r
2563       [\r
2564         "cf2f2f41.e3b378",\r
2565         "39e668ff.f44578"\r
2566       ]\r
2567     ]\r
2568   },\r
2569   {\r
2570     "id": "39e668ff.f44578",\r
2571     "type": "failure",\r
2572     "name": "success",\r
2573     "xml": "<outcome value='success'>\n",\r
2574     "comments": "",\r
2575     "outputs": 1,\r
2576     "x": 3524.333465576172,\r
2577     "y": 1803.9999694824219,\r
2578     "z": "f8944603.71553",\r
2579     "wires": [\r
2580       [\r
2581         "a19c910d.573ee"\r
2582       ]\r
2583     ]\r
2584   },\r
2585   {\r
2586     "id": "cf2f2f41.e3b378",\r
2587     "type": "failure",\r
2588     "name": "failure",\r
2589     "xml": "<outcome value='failure'>\n",\r
2590     "comments": "",\r
2591     "outputs": 1,\r
2592     "x": 3526.333465576172,\r
2593     "y": 1836.9999694824219,\r
2594     "z": "f8944603.71553",\r
2595     "wires": [\r
2596       [\r
2597         "13f310d4.058aff"\r
2598       ]\r
2599     ]\r
2600   },\r
2601   {\r
2602     "id": "13f310d4.058aff",\r
2603     "type": "returnFailure",\r
2604     "name": "return failure",\r
2605     "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
2606     "comments": "",\r
2607     "x": 3669.333465576172,\r
2608     "y": 1833.9999694824219,\r
2609     "z": "f8944603.71553",\r
2610     "wires": []\r
2611   },\r
2612   {\r
2613     "id": "a19c910d.573ee",\r
2614     "type": "block",\r
2615     "name": "block : atomic",\r
2616     "xml": "<block atomic=\"true\">",\r
2617     "atomic": "true",\r
2618     "outputs": 1,\r
2619     "x": 3672.333465576172,\r
2620     "y": 1796.9999694824219,\r
2621     "z": "f8944603.71553",\r
2622     "wires": [\r
2623       [\r
2624         "f7d74c47.1bc978",\r
2625         "f5bac544.61fa48"\r
2626       ]\r
2627     ]\r
2628   },\r
2629   {\r
2630     "id": "f7d74c47.1bc978",\r
2631     "type": "set",\r
2632     "name": "set pnf-name",\r
2633     "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
2634     "comments": "",\r
2635     "x": 3866.333465576172,\r
2636     "y": 1800.0000915527344,\r
2637     "z": "f8944603.71553",\r
2638     "wires": []\r
2639   },\r
2640   {\r
2641     "id": "debfaec3.11449",\r
2642     "type": "for",\r
2643     "name": "for each relationship",\r
2644     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship_length`' >\n",\r
2645     "comments": "",\r
2646     "outputs": 1,\r
2647     "x": 3919.3334350585938,\r
2648     "y": 2168.9999389648438,\r
2649     "z": "f8944603.71553",\r
2650     "wires": [\r
2651       [\r
2652         "9615e6c.711fd18"\r
2653       ]\r
2654     ]\r
2655   },\r
2656   {\r
2657     "id": "9615e6c.711fd18",\r
2658     "type": "switchNode",\r
2659     "name": "switch related-to",\r
2660     "xml": "<switch test='`$tmp.aai.network-route-B.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
2661     "comments": "",\r
2662     "outputs": 1,\r
2663     "x": 4125.333435058594,\r
2664     "y": 2168.9999389648438,\r
2665     "z": "f8944603.71553",\r
2666     "wires": [\r
2667       [\r
2668         "cbe4341f.004078"\r
2669       ]\r
2670     ]\r
2671   },\r
2672   {\r
2673     "id": "cbe4341f.004078",\r
2674     "type": "outcome",\r
2675     "name": "tunnel-termination-point",\r
2676     "xml": "<outcome value='tunnel-termination-point'>\n",\r
2677     "comments": "",\r
2678     "outputs": 1,\r
2679     "x": 4342.619079589844,\r
2680     "y": 2167.8217163085938,\r
2681     "z": "f8944603.71553",\r
2682     "wires": [\r
2683       [\r
2684         "c7f950c4.309208"\r
2685       ]\r
2686     ]\r
2687   },\r
2688   {\r
2689     "id": "f5bac544.61fa48",\r
2690     "type": "get-resource",\r
2691     "name": "get-resource src pnf",\r
2692     "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
2693     "comments": "",\r
2694     "outputs": 1,\r
2695     "x": 3888.333465576172,\r
2696     "y": 1868.0000915527344,\r
2697     "z": "f8944603.71553",\r
2698     "wires": [\r
2699       [\r
2700         "2c3b0cc0.e9a8bc",\r
2701         "964d0d68.ea7238",\r
2702         "c9fecb15.92dc4"\r
2703       ]\r
2704     ]\r
2705   },\r
2706   {\r
2707     "id": "2c3b0cc0.e9a8bc",\r
2708     "type": "success",\r
2709     "name": "success",\r
2710     "xml": "<outcome value='success'>\n",\r
2711     "comments": "",\r
2712     "outputs": 1,\r
2713     "x": 4083.8335876464844,\r
2714     "y": 1820.0000915527344,\r
2715     "z": "f8944603.71553",\r
2716     "wires": [\r
2717       [\r
2718         "d8e08a6a.bad6c"\r
2719       ]\r
2720     ]\r
2721   },\r
2722   {\r
2723     "id": "964d0d68.ea7238",\r
2724     "type": "not-found",\r
2725     "name": "not-found",\r
2726     "xml": "<outcome value='not-found'>\n",\r
2727     "comments": "",\r
2728     "outputs": 1,\r
2729     "x": 4075.8335876464844,\r
2730     "y": 1875.0000915527344,\r
2731     "z": "f8944603.71553",\r
2732     "wires": [\r
2733       [\r
2734         "30330606.c5c78a"\r
2735       ]\r
2736     ]\r
2737   },\r
2738   {\r
2739     "id": "c9fecb15.92dc4",\r
2740     "type": "other",\r
2741     "name": "other",\r
2742     "xml": "<outcome value='Other'>\n",\r
2743     "comments": "",\r
2744     "outputs": 1,\r
2745     "x": 4080.8335876464844,\r
2746     "y": 1932.0000915527344,\r
2747     "z": "f8944603.71553",\r
2748     "wires": [\r
2749       [\r
2750         "7d5217b1.764cf"\r
2751       ]\r
2752     ]\r
2753   },\r
2754   {\r
2755     "id": "7d5217b1.764cf",\r
2756     "type": "returnFailure",\r
2757     "name": "return failure",\r
2758     "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
2759     "comments": "",\r
2760     "x": 4232.833587646484,\r
2761     "y": 1933.0000915527344,\r
2762     "z": "f8944603.71553",\r
2763     "wires": []\r
2764   },\r
2765   {\r
2766     "id": "30330606.c5c78a",\r
2767     "type": "returnFailure",\r
2768     "name": "return failure",\r
2769     "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
2770     "comments": "",\r
2771     "x": 4243.833587646484,\r
2772     "y": 1878.0000915527344,\r
2773     "z": "f8944603.71553",\r
2774     "wires": []\r
2775   },\r
2776   {\r
2777     "id": "d8e08a6a.bad6c",\r
2778     "type": "block",\r
2779     "name": "block",\r
2780     "xml": "<block>\n",\r
2781     "atomic": "false",\r
2782     "comments": "",\r
2783     "outputs": 1,\r
2784     "x": 4228.215911865234,\r
2785     "y": 1817.65576171875,\r
2786     "z": "f8944603.71553",\r
2787     "wires": [\r
2788       [\r
2789         "57c065bf.a4bd5c"\r
2790       ]\r
2791     ]\r
2792   },\r
2793   {\r
2794     "id": "a3891ddf.35707",\r
2795     "type": "set",\r
2796     "name": "set ltpId",\r
2797     "xml": "<set>\n<parameter name='tmp.dst.ltpId' value='`$param-prefix-domainB[$param-prefix-domainB_length -1]`' />\n",\r
2798     "comments": "",\r
2799     "x": 4526.333465576172,\r
2800     "y": 1959.0000915527344,\r
2801     "z": "f8944603.71553",\r
2802     "wires": []\r
2803   },\r
2804   {\r
2805     "id": "dedb2135.03f5b8",\r
2806     "type": "set",\r
2807     "name": "set pnf-name",\r
2808     "xml": "<set>\n<parameter name='tmp.dst.pnf-name' value='`$param-prefix-domainB[$param-prefix-domainB_length -3]`' />\n",\r
2809     "comments": "",\r
2810     "x": 4527.333465576172,\r
2811     "y": 2064.0000915527344,\r
2812     "z": "f8944603.71553",\r
2813     "wires": []\r
2814   },\r
2815   {\r
2816     "id": "cd4b037.d584a",\r
2817     "type": "comment",\r
2818     "name": "TODO: FIXME",\r
2819     "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
2820     "comments": "",\r
2821     "x": 4522.333465576172,\r
2822     "y": 2013.0000915527344,\r
2823     "z": "f8944603.71553",\r
2824     "wires": []\r
2825   },\r
2826   {\r
2827     "id": "c7f950c4.309208",\r
2828     "type": "block",\r
2829     "name": "block : atomic",\r
2830     "xml": "<block atomic=\"true\">",\r
2831     "atomic": "true",\r
2832     "outputs": 1,\r
2833     "x": 4549.450622558594,\r
2834     "y": 2157.3403930664062,\r
2835     "z": "f8944603.71553",\r
2836     "wires": [\r
2837       [\r
2838         "dd90bf13.7024b8",\r
2839         "71302a26.8b2194",\r
2840         "1d143619.b4c942"\r
2841       ]\r
2842     ]\r
2843   },\r
2844   {\r
2845     "id": "dd90bf13.7024b8",\r
2846     "type": "set",\r
2847     "name": "set destination ttp-id",\r
2848     "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
2849     "comments": "",\r
2850     "x": 4764.450622558594,\r
2851     "y": 2119.3403930664062,\r
2852     "z": "f8944603.71553",\r
2853     "wires": []\r
2854   },\r
2855   {\r
2856     "id": "71302a26.8b2194",\r
2857     "type": "get-resource",\r
2858     "name": "get-resource src TTP",\r
2859     "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
2860     "comments": "",\r
2861     "outputs": 1,\r
2862     "x": 4761.450622558594,\r
2863     "y": 2158.3403930664062,\r
2864     "z": "f8944603.71553",\r
2865     "wires": [\r
2866       [\r
2867         "d8986410.1ab67"\r
2868       ]\r
2869     ]\r
2870   },\r
2871   {\r
2872     "id": "1d143619.b4c942",\r
2873     "type": "break",\r
2874     "name": "break",\r
2875     "xml": "<break>\n",\r
2876     "comments": "",\r
2877     "x": 4716.950622558594,\r
2878     "y": 2200.3403930664062,\r
2879     "z": "f8944603.71553",\r
2880     "wires": []\r
2881   },\r
2882   {\r
2883     "id": "d8986410.1ab67",\r
2884     "type": "success",\r
2885     "name": "success",\r
2886     "xml": "<outcome value='success'>\n",\r
2887     "comments": "",\r
2888     "outputs": 1,\r
2889     "x": 4941.950622558594,\r
2890     "y": 2157.3403930664062,\r
2891     "z": "f8944603.71553",\r
2892     "wires": [\r
2893       [\r
2894         "ce977a1e.eca43"\r
2895       ]\r
2896     ]\r
2897   },\r
2898   {\r
2899     "id": "ce977a1e.eca43",\r
2900     "type": "block",\r
2901     "name": "block : atomic",\r
2902     "xml": "<block atomic=\"true\">",\r
2903     "atomic": "true",\r
2904     "outputs": 1,\r
2905     "x": 5099.950622558594,\r
2906     "y": 2157.3403930664062,\r
2907     "z": "f8944603.71553",\r
2908     "wires": [\r
2909       [\r
2910         "fad51809.c9b758"\r
2911       ]\r
2912     ]\r
2913   },\r
2914   {\r
2915     "id": "fad51809.c9b758",\r
2916     "type": "set",\r
2917     "name": "set destination tunnel tp ip",\r
2918     "xml": "<set>\n<parameter name='destination.tunnel-tp-id' value=\"`$tmp.aai.destination-ttp.tunnel-tp-id`\" />\n",\r
2919     "comments": "",\r
2920     "x": 5306.950622558594,\r
2921     "y": 2157.3403930664062,\r
2922     "z": "f8944603.71553",\r
2923     "wires": []\r
2924   },\r
2925   {\r
2926     "id": "3e817052.af0e48",\r
2927     "type": "outcome",\r
2928     "name": "esr-thirdparty-sdnc",\r
2929     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
2930     "comments": "",\r
2931     "outputs": 1,\r
2932     "x": 4810.333465576172,\r
2933     "y": 1836.0000915527344,\r
2934     "z": "f8944603.71553",\r
2935     "wires": [\r
2936       [\r
2937         "41d964fa.bed18c"\r
2938       ]\r
2939     ]\r
2940   },\r
2941   {\r
2942     "id": "41d964fa.bed18c",\r
2943     "type": "block",\r
2944     "name": "block : atomic",\r
2945     "xml": "<block atomic=\"true\">",\r
2946     "atomic": "true",\r
2947     "outputs": 1,\r
2948     "x": 4987.333465576172,\r
2949     "y": 1828.0000915527344,\r
2950     "z": "f8944603.71553",\r
2951     "wires": [\r
2952       [\r
2953         "286abe4.161a1c2",\r
2954         "51859ea0.e5a788"\r
2955       ]\r
2956     ]\r
2957   },\r
2958   {\r
2959     "id": "57c065bf.a4bd5c",\r
2960     "type": "for",\r
2961     "name": "for each relationship",\r
2962     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-pnf.relationship-list.relationship_length`' >\n",\r
2963     "comments": "",\r
2964     "outputs": 1,\r
2965     "x": 4412.333465576172,\r
2966     "y": 1832.0000915527344,\r
2967     "z": "f8944603.71553",\r
2968     "wires": [\r
2969       [\r
2970         "89b46226.1281f"\r
2971       ]\r
2972     ]\r
2973   },\r
2974   {\r
2975     "id": "89b46226.1281f",\r
2976     "type": "switchNode",\r
2977     "name": "switch related-to",\r
2978     "xml": "<switch test='`$tmp.aai.destination-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
2979     "comments": "",\r
2980     "outputs": 1,\r
2981     "x": 4607.333465576172,\r
2982     "y": 1832.0000915527344,\r
2983     "z": "f8944603.71553",\r
2984     "wires": [\r
2985       [\r
2986         "3e817052.af0e48",\r
2987         "56bdf4f5.249c24"\r
2988       ]\r
2989     ]\r
2990   },\r
2991   {\r
2992     "id": "51859ea0.e5a788",\r
2993     "type": "execute",\r
2994     "name": "get esr-thirdparty-sdnc",\r
2995     "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
2996     "comments": "",\r
2997     "outputs": 1,\r
2998     "x": 5195.333465576172,\r
2999     "y": 1835.0000915527344,\r
3000     "z": "f8944603.71553",\r
3001     "wires": [\r
3002       [\r
3003         "d1ce3d2f.531928",\r
3004         "ba2a8dba.a8d52",\r
3005         "4ba192d1.030d84"\r
3006       ]\r
3007     ]\r
3008   },\r
3009   {\r
3010     "id": "f8a3b14d.675a5",\r
3011     "type": "block",\r
3012     "name": "block : atomic",\r
3013     "xml": "<block atomic=\"true\">",\r
3014     "atomic": "true",\r
3015     "outputs": 1,\r
3016     "x": 4989.333465576172,\r
3017     "y": 1901.0000915527344,\r
3018     "z": "f8944603.71553",\r
3019     "wires": [\r
3020       [\r
3021         "25c16268.66f006"\r
3022       ]\r
3023     ]\r
3024   },\r
3025   {\r
3026     "id": "56bdf4f5.249c24",\r
3027     "type": "outcome",\r
3028     "name": "network-resource",\r
3029     "xml": "<outcome value='network-resource'>",\r
3030     "comments": "",\r
3031     "outputs": 1,\r
3032     "x": 4812.333465576172,\r
3033     "y": 1909.0000915527344,\r
3034     "z": "f8944603.71553",\r
3035     "wires": [\r
3036       [\r
3037         "f8a3b14d.675a5"\r
3038       ]\r
3039     ]\r
3040   },\r
3041   {\r
3042     "id": "286abe4.161a1c2",\r
3043     "type": "set",\r
3044     "name": "set esr-thirdparty-sdnc domainB id",\r
3045     "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
3046     "comments": "",\r
3047     "x": 5225.333465576172,\r
3048     "y": 1783.0000915527344,\r
3049     "z": "f8944603.71553",\r
3050     "wires": []\r
3051   },\r
3052   {\r
3053     "id": "25c16268.66f006",\r
3054     "type": "set",\r
3055     "name": "set domainB ethernet layer network-id",\r
3056     "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
3057     "comments": "",\r
3058     "x": 5224.333465576172,\r
3059     "y": 2025.0000915527344,\r
3060     "z": "f8944603.71553",\r
3061     "wires": []\r
3062   },\r
3063   {\r
3064     "id": "d1ce3d2f.531928",\r
3065     "type": "success",\r
3066     "name": "success",\r
3067     "xml": "<outcome value='success'>\n",\r
3068     "comments": "",\r
3069     "outputs": 1,\r
3070     "x": 5405.333465576172,\r
3071     "y": 1826.0000915527344,\r
3072     "z": "f8944603.71553",\r
3073     "wires": [\r
3074       [\r
3075         "9d788655.20f98"\r
3076       ]\r
3077     ]\r
3078   },\r
3079   {\r
3080     "id": "ba2a8dba.a8d52",\r
3081     "type": "not-found",\r
3082     "name": "not-found",\r
3083     "xml": "<outcome value='not-found'>\n",\r
3084     "comments": "",\r
3085     "outputs": 1,\r
3086     "x": 5397.333465576172,\r
3087     "y": 1881.0000915527344,\r
3088     "z": "f8944603.71553",\r
3089     "wires": [\r
3090       [\r
3091         "96363bdc.091"\r
3092       ]\r
3093     ]\r
3094   },\r
3095   {\r
3096     "id": "4ba192d1.030d84",\r
3097     "type": "other",\r
3098     "name": "other",\r
3099     "xml": "<outcome value='Other'>\n",\r
3100     "comments": "",\r
3101     "outputs": 1,\r
3102     "x": 5402.333465576172,\r
3103     "y": 1938.0000915527344,\r
3104     "z": "f8944603.71553",\r
3105     "wires": [\r
3106       [\r
3107         "6a0588e1.3fd2b8"\r
3108       ]\r
3109     ]\r
3110   },\r
3111   {\r
3112     "id": "6a0588e1.3fd2b8",\r
3113     "type": "returnFailure",\r
3114     "name": "return failure",\r
3115     "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
3116     "comments": "",\r
3117     "x": 5554.333465576172,\r
3118     "y": 1939.0000915527344,\r
3119     "z": "f8944603.71553",\r
3120     "wires": []\r
3121   },\r
3122   {\r
3123     "id": "96363bdc.091",\r
3124     "type": "returnFailure",\r
3125     "name": "return failure",\r
3126     "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
3127     "comments": "",\r
3128     "x": 5565.333465576172,\r
3129     "y": 1884.0000915527344,\r
3130     "z": "f8944603.71553",\r
3131     "wires": []\r
3132   },\r
3133   {\r
3134     "id": "9d788655.20f98",\r
3135     "type": "block",\r
3136     "name": "block",\r
3137     "xml": "<block>\n",\r
3138     "atomic": "false",\r
3139     "comments": "",\r
3140     "outputs": 1,\r
3141     "x": 5549.715789794922,\r
3142     "y": 1823.65576171875,\r
3143     "z": "f8944603.71553",\r
3144     "wires": [\r
3145       [\r
3146         "f42174ac.a42b5"\r
3147       ]\r
3148     ]\r
3149   },\r
3150   {\r
3151     "id": "f42174ac.a42b5",\r
3152     "type": "set",\r
3153     "name": "set controller domainB data",\r
3154     "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
3155     "comments": "",\r
3156     "x": 5764.333465576172,\r
3157     "y": 1820.0000915527344,\r
3158     "z": "f8944603.71553",\r
3159     "wires": []\r
3160   },\r
3161   {\r
3162     "id": "11e0f934.faeab7",\r
3163     "type": "set",\r
3164     "name": "set LEAF stuff",\r
3165     "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
3166     "comments": "",\r
3167     "x": 3248.999969482422,\r
3168     "y": 1638.9999694824219,\r
3169     "z": "f8944603.71553",\r
3170     "wires": []\r
3171   },\r
3172   {\r
3173     "id": "87d62238.4ede38",\r
3174     "type": "comment",\r
3175     "name": "This is it (should be)",\r
3176     "info": "",\r
3177     "comments": "",\r
3178     "x": 4544.999969482422,\r
3179     "y": 612.9999694824219,\r
3180     "z": "f8944603.71553",\r
3181     "wires": []\r
3182   },\r
3183   {\r
3184     "id": "da6b2335.2cb2",\r
3185     "type": "comment",\r
3186     "name": "This is it (should be)",\r
3187     "info": "",\r
3188     "comments": "",\r
3189     "x": 4555,\r
3190     "y": 809,\r
3191     "z": "f8944603.71553",\r
3192     "wires": []\r
3193   },\r
3194   {\r
3195     "id": "b71f57a7.e2a288",\r
3196     "type": "set",\r
3197     "name": "set ROOT stuff",\r
3198     "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
3199     "comments": "",\r
3200     "x": 3251.9999389648438,\r
3201     "y": 2146.9999389648438,\r
3202     "z": "f8944603.71553",\r
3203     "wires": []\r
3204   },\r
3205   {\r
3206     "id": "f7d11626.bd108",\r
3207     "type": "call",\r
3208     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-logic",\r
3209     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-logic' mode='sync' >\n\n",\r
3210     "comments": "",\r
3211     "outputs": 1,\r
3212     "x": 3389,\r
3213     "y": 2803,\r
3214     "z": "f8944603.71553",\r
3215     "wires": [\r
3216       []\r
3217     ]\r
3218   },\r
3219   {\r
3220     "id": "7d22810d.66642",\r
3221     "type": "switchNode",\r
3222     "name": "switch found-middle-man?",\r
3223     "xml": "<switch test='`$found-middle-man`'>\n",\r
3224     "comments": "",\r
3225     "outputs": 1,\r
3226     "x": 3266,\r
3227     "y": 2913,\r
3228     "z": "f8944603.71553",\r
3229     "wires": [\r
3230       [\r
3231         "74458dfb.e82acc",\r
3232         "6d43d493.c2ab14"\r
3233       ]\r
3234     ]\r
3235   },\r
3236   {\r
3237     "id": "74458dfb.e82acc",\r
3238     "type": "outcomeFalse",\r
3239     "name": "false",\r
3240     "xml": "<outcome value='false'>\n",\r
3241     "comments": "",\r
3242     "outputs": 1,\r
3243     "x": 3450,\r
3244     "y": 2892,\r
3245     "z": "f8944603.71553",\r
3246     "wires": [\r
3247       [\r
3248         "bd8c7362.5e86a8"\r
3249       ]\r
3250     ]\r
3251   },\r
3252   {\r
3253     "id": "6d43d493.c2ab14",\r
3254     "type": "outcomeTrue",\r
3255     "name": "true",\r
3256     "xml": "<outcome value='true'>\n",\r
3257     "comments": "",\r
3258     "outputs": 1,\r
3259     "x": 3342,\r
3260     "y": 5070,\r
3261     "z": "f8944603.71553",\r
3262     "wires": [\r
3263       [\r
3264         "f235a0e0.02a8"\r
3265       ]\r
3266     ]\r
3267   },\r
3268   {\r
3269     "id": "f235a0e0.02a8",\r
3270     "type": "block",\r
3271     "name": "block : atomic",\r
3272     "xml": "<block atomic='true'>",\r
3273     "atomic": "true",\r
3274     "comments": "",\r
3275     "outputs": 1,\r
3276     "x": 3497,\r
3277     "y": 5063,\r
3278     "z": "f8944603.71553",\r
3279     "wires": [\r
3280       [\r
3281         "69d3ed18.577c3c",\r
3282         "f2a7dc4a.68ede",\r
3283         "a789852e.51cd48",\r
3284         "434bd8c2.bae4f8",\r
3285         "cd1fc06c.124968",\r
3286         "c32fbe2a.4ce3f"\r
3287       ]\r
3288     ]\r
3289   },\r
3290   {\r
3291     "id": "bd8c7362.5e86a8",\r
3292     "type": "block",\r
3293     "name": "block : atomic",\r
3294     "xml": "<block atomic='true'>",\r
3295     "atomic": "true",\r
3296     "comments": "",\r
3297     "outputs": 1,\r
3298     "x": 3593,\r
3299     "y": 2892,\r
3300     "z": "f8944603.71553",\r
3301     "wires": [\r
3302       [\r
3303         "edf6563f.502118",\r
3304         "59e68189.ade8e8",\r
3305         "39d89d00.a48b3c",\r
3306         "f51c657e.c3fcc8",\r
3307         "3b5e2d55.c49c42",\r
3308         "c40c923d.ffb318",\r
3309         "3d1335ab.d13122",\r
3310         "441ba30c.ae2a1c",\r
3311         "5bfaebb4.b0d114",\r
3312         "32f3c697.c51f22",\r
3313         "f60b0d1b.343218",\r
3314         "51fbee04.79f4f",\r
3315         "a2a5771a.032e88",\r
3316         "a39c337f.4b8598",\r
3317         "f9369eb9.dd61b",\r
3318         "dad20130.739d78",\r
3319         "124ab46d.2d752c",\r
3320         "fdfcc8c4.b3e8a8",\r
3321         "8b9dcfa3.01c508",\r
3322         "87dcb71b.a618f",\r
3323         "286f0ec8.852352",\r
3324         "2bbca6cc.0ec622"\r
3325       ]\r
3326     ]\r
3327   },\r
3328   {\r
3329     "id": "5bfaebb4.b0d114",\r
3330     "type": "execute",\r
3331     "name": "execute UUID generator for connectivity domainB",\r
3332     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainB-uuid\"/>\n",\r
3333     "comments": "",\r
3334     "outputs": 1,\r
3335     "x": 3903,\r
3336     "y": 3207,\r
3337     "z": "f8944603.71553",\r
3338     "wires": [\r
3339       []\r
3340     ]\r
3341   },\r
3342   {\r
3343     "id": "edf6563f.502118",\r
3344     "type": "save",\r
3345     "name": "save connectivity resource in AAI",\r
3346     "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
3347     "comments": "",\r
3348     "outputs": 1,\r
3349     "x": 3851,\r
3350     "y": 3249,\r
3351     "z": "f8944603.71553",\r
3352     "wires": [\r
3353       []\r
3354     ]\r
3355   },\r
3356   {\r
3357     "id": "59e68189.ade8e8",\r
3358     "type": "save",\r
3359     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3360     "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
3361     "comments": "",\r
3362     "outputs": 1,\r
3363     "x": 3980,\r
3364     "y": 3291,\r
3365     "z": "f8944603.71553",\r
3366     "wires": [\r
3367       []\r
3368     ]\r
3369   },\r
3370   {\r
3371     "id": "c425c4b.b5f8838",\r
3372     "type": "comment",\r
3373     "name": "Create ROOT connectivity",\r
3374     "info": "",\r
3375     "comments": "",\r
3376     "x": 3826,\r
3377     "y": 3166,\r
3378     "z": "f8944603.71553",\r
3379     "wires": []\r
3380   },\r
3381   {\r
3382     "id": "78e08e98.7c634",\r
3383     "type": "comment",\r
3384     "name": "create middle man connectivity and ...",\r
3385     "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
3386     "comments": "",\r
3387     "x": 4351,\r
3388     "y": 3687,\r
3389     "z": "f8944603.71553",\r
3390     "wires": []\r
3391   },\r
3392   {\r
3393     "id": "39d89d00.a48b3c",\r
3394     "type": "execute",\r
3395     "name": "execute UUID generator for connectivity middle-man",\r
3396     "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
3397     "comments": "",\r
3398     "outputs": 1,\r
3399     "x": 3915,\r
3400     "y": 3726,\r
3401     "z": "f8944603.71553",\r
3402     "wires": [\r
3403       []\r
3404     ]\r
3405   },\r
3406   {\r
3407     "id": "f51c657e.c3fcc8",\r
3408     "type": "save",\r
3409     "name": "save connectivity resource in AAI",\r
3410     "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
3411     "comments": "",\r
3412     "outputs": 1,\r
3413     "x": 3863,\r
3414     "y": 3777,\r
3415     "z": "f8944603.71553",\r
3416     "wires": [\r
3417       []\r
3418     ]\r
3419   },\r
3420   {\r
3421     "id": "3b5e2d55.c49c42",\r
3422     "type": "save",\r
3423     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3424     "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
3425     "comments": "",\r
3426     "outputs": 1,\r
3427     "x": 3999,\r
3428     "y": 3824,\r
3429     "z": "f8944603.71553",\r
3430     "wires": [\r
3431       []\r
3432     ]\r
3433   },\r
3434   {\r
3435     "id": "62d7e2a.9cbc61c",\r
3436     "type": "comment",\r
3437     "name": "Create MIDDLE-MAN connectivity",\r
3438     "info": "",\r
3439     "comments": "",\r
3440     "x": 3856,\r
3441     "y": 3686,\r
3442     "z": "f8944603.71553",\r
3443     "wires": []\r
3444   },\r
3445   {\r
3446     "id": "1f0597e7.f750d8",\r
3447     "type": "block",\r
3448     "name": "block : atomic",\r
3449     "xml": "<block atomic='true'>",\r
3450     "atomic": "true",\r
3451     "comments": "",\r
3452     "outputs": 1,\r
3453     "x": 4286,\r
3454     "y": 3883,\r
3455     "z": "f8944603.71553",\r
3456     "wires": [\r
3457       []\r
3458     ]\r
3459   },\r
3460   {\r
3461     "id": "c40c923d.ffb318",\r
3462     "type": "save",\r
3463     "name": "get middle-man connectivity from aai",\r
3464     "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
3465     "comments": "",\r
3466     "outputs": 1,\r
3467     "x": 3877,\r
3468     "y": 3930,\r
3469     "z": "f8944603.71553",\r
3470     "wires": [\r
3471       [\r
3472         "b2dc6149.43ec28",\r
3473         "f8c162ee.8e2a8",\r
3474         "a8c36503.377908"\r
3475       ]\r
3476     ]\r
3477   },\r
3478   {\r
3479     "id": "b2dc6149.43ec28",\r
3480     "type": "success",\r
3481     "name": "success",\r
3482     "xml": "<outcome value='success'>\n",\r
3483     "comments": "",\r
3484     "outputs": 1,\r
3485     "x": 4124,\r
3486     "y": 3884,\r
3487     "z": "f8944603.71553",\r
3488     "wires": [\r
3489       [\r
3490         "1f0597e7.f750d8"\r
3491       ]\r
3492     ]\r
3493   },\r
3494   {\r
3495     "id": "f8c162ee.8e2a8",\r
3496     "type": "not-found",\r
3497     "name": "not-found",\r
3498     "xml": "<outcome value='not-found'>\n",\r
3499     "comments": "",\r
3500     "outputs": 1,\r
3501     "x": 4124.490966796875,\r
3502     "y": 3929.5740356445312,\r
3503     "z": "f8944603.71553",\r
3504     "wires": [\r
3505       [\r
3506         "244505cb.7c97da"\r
3507       ]\r
3508     ]\r
3509   },\r
3510   {\r
3511     "id": "a8c36503.377908",\r
3512     "type": "failure",\r
3513     "name": "failure",\r
3514     "xml": "<outcome value='failure'>\n",\r
3515     "comments": "",\r
3516     "outputs": 1,\r
3517     "x": 4122,\r
3518     "y": 3973,\r
3519     "z": "f8944603.71553",\r
3520     "wires": [\r
3521       [\r
3522         "fac0a6c3.57a578"\r
3523       ]\r
3524     ]\r
3525   },\r
3526   {\r
3527     "id": "244505cb.7c97da",\r
3528     "type": "returnFailure",\r
3529     "name": "return failure",\r
3530     "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
3531     "comments": "",\r
3532     "x": 4287.0623779296875,\r
3533     "y": 3929.8597717285156,\r
3534     "z": "f8944603.71553",\r
3535     "wires": []\r
3536   },\r
3537   {\r
3538     "id": "fac0a6c3.57a578",\r
3539     "type": "returnFailure",\r
3540     "name": "return failure",\r
3541     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
3542     "comments": "",\r
3543     "x": 4291,\r
3544     "y": 3974,\r
3545     "z": "f8944603.71553",\r
3546     "wires": []\r
3547   },\r
3548   {\r
3549     "id": "f9369eb9.dd61b",\r
3550     "type": "save",\r
3551     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
3552     "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
3553     "comments": "",\r
3554     "outputs": 1,\r
3555     "x": 3931,\r
3556     "y": 4272,\r
3557     "z": "f8944603.71553",\r
3558     "wires": [\r
3559       []\r
3560     ]\r
3561   },\r
3562   {\r
3563     "id": "dad20130.739d78",\r
3564     "type": "save",\r
3565     "name": "save middle-man-conn relationship to connectivity-ROOT, in AAI",\r
3566     "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
3567     "comments": "",\r
3568     "outputs": 1,\r
3569     "x": 3934,\r
3570     "y": 4317,\r
3571     "z": "f8944603.71553",\r
3572     "wires": [\r
3573       []\r
3574     ]\r
3575   },\r
3576   {\r
3577     "id": "fdfcc8c4.b3e8a8",\r
3578     "type": "save",\r
3579     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3580     "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
3581     "comments": "",\r
3582     "outputs": 1,\r
3583     "x": 3926,\r
3584     "y": 4045,\r
3585     "z": "f8944603.71553",\r
3586     "wires": [\r
3587       []\r
3588     ]\r
3589   },\r
3590   {\r
3591     "id": "8b9dcfa3.01c508",\r
3592     "type": "save",\r
3593     "name": "save middle-man-conn relationship to UNI-ROOT, in AAI",\r
3594     "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
3595     "comments": "",\r
3596     "outputs": 1,\r
3597     "x": 3928,\r
3598     "y": 4092,\r
3599     "z": "f8944603.71553",\r
3600     "wires": [\r
3601       []\r
3602     ]\r
3603   },\r
3604   {\r
3605     "id": "ed841a30.7664d",\r
3606     "type": "comment",\r
3607     "name": "The following two will be done in F1",\r
3608     "info": "",\r
3609     "comments": "",\r
3610     "x": 3847,\r
3611     "y": 4225,\r
3612     "z": "f8944603.71553",\r
3613     "wires": []\r
3614   },\r
3615   {\r
3616     "id": "7144ff5f.c519e8",\r
3617     "type": "save",\r
3618     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
3619     "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
3620     "comments": "",\r
3621     "outputs": 1,\r
3622     "x": 4457,\r
3623     "y": 4891,\r
3624     "z": "f8944603.71553",\r
3625     "wires": [\r
3626       []\r
3627     ]\r
3628   },\r
3629   {\r
3630     "id": "69d3ed18.577c3c",\r
3631     "type": "switchNode",\r
3632     "name": "switch no-pce-call",\r
3633     "xml": "<switch test='`$no-pce-call`'>\n",\r
3634     "comments": "",\r
3635     "outputs": 1,\r
3636     "x": 3712,\r
3637     "y": 5044,\r
3638     "z": "f8944603.71553",\r
3639     "wires": [\r
3640       [\r
3641         "ae7574f4.3ebe3",\r
3642         "8bd2d4fd.8c4f1"\r
3643       ]\r
3644     ]\r
3645   },\r
3646   {\r
3647     "id": "8bd2d4fd.8c4f1",\r
3648     "type": "outcomeFalse",\r
3649     "name": "false",\r
3650     "xml": "<outcome value='false'>\n",\r
3651     "comments": "",\r
3652     "outputs": 1,\r
3653     "x": 3884,\r
3654     "y": 5041,\r
3655     "z": "f8944603.71553",\r
3656     "wires": [\r
3657       [\r
3658         "439959aa.a8d0e"\r
3659       ]\r
3660     ]\r
3661   },\r
3662   {\r
3663     "id": "ae7574f4.3ebe3",\r
3664     "type": "outcomeFalse",\r
3665     "name": "true",\r
3666     "xml": "<outcome value='true'>\n",\r
3667     "comments": "",\r
3668     "outputs": 1,\r
3669     "x": 3836,\r
3670     "y": 5888,\r
3671     "z": "f8944603.71553",\r
3672     "wires": [\r
3673       [\r
3674         "b05d129.ef1b1f"\r
3675       ]\r
3676     ]\r
3677   },\r
3678   {\r
3679     "id": "bbd89123.3c84c8",\r
3680     "type": "comment",\r
3681     "name": "1 --> PCE is needed",\r
3682     "info": "",\r
3683     "comments": "",\r
3684     "x": 3897,\r
3685     "y": 5011,\r
3686     "z": "f8944603.71553",\r
3687     "wires": []\r
3688   },\r
3689   {\r
3690     "id": "88e636e4.0ad278",\r
3691     "type": "comment",\r
3692     "name": "2 --> no need to call PCE",\r
3693     "info": "",\r
3694     "comments": "",\r
3695     "x": 3907,\r
3696     "y": 5846,\r
3697     "z": "f8944603.71553",\r
3698     "wires": []\r
3699   },\r
3700   {\r
3701     "id": "3d1335ab.d13122",\r
3702     "type": "call",\r
3703     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3704     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3705     "comments": "",\r
3706     "outputs": 1,\r
3707     "x": 3930,\r
3708     "y": 4420,\r
3709     "z": "f8944603.71553",\r
3710     "wires": [\r
3711       []\r
3712     ]\r
3713   },\r
3714   {\r
3715     "id": "439959aa.a8d0e",\r
3716     "type": "block",\r
3717     "name": "block : atomic",\r
3718     "xml": "<block atomic='true'>",\r
3719     "atomic": "true",\r
3720     "comments": "",\r
3721     "outputs": 1,\r
3722     "x": 4060,\r
3723     "y": 5043,\r
3724     "z": "f8944603.71553",\r
3725     "wires": [\r
3726       [\r
3727         "398ca5b9.10ae92",\r
3728         "26315d76.5ba5da",\r
3729         "70413194.4e4218",\r
3730         "36f7b692.fe5f9a",\r
3731         "23762b83.94d65c",\r
3732         "1981b041.f96778",\r
3733         "7144ff5f.c519e8",\r
3734         "d1a4e2c9.15ac9",\r
3735         "24040f90.d6a4"\r
3736       ]\r
3737     ]\r
3738   },\r
3739   {\r
3740     "id": "9b6d23e8.2f4c1",\r
3741     "type": "comment",\r
3742     "name": "Use the middle-man-conn.eth-srv-name for the LEAF connectivity's eth srv name",\r
3743     "info": "",\r
3744     "comments": "",\r
3745     "x": 5505,\r
3746     "y": 4516,\r
3747     "z": "f8944603.71553",\r
3748     "wires": []\r
3749   },\r
3750   {\r
3751     "id": "398ca5b9.10ae92",\r
3752     "type": "call",\r
3753     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1",\r
3754     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1' mode='sync' >\n\n",\r
3755     "comments": "",\r
3756     "outputs": 1,\r
3757     "x": 4438,\r
3758     "y": 5546,\r
3759     "z": "f8944603.71553",\r
3760     "wires": [\r
3761       []\r
3762     ]\r
3763   },\r
3764   {\r
3765     "id": "441ba30c.ae2a1c",\r
3766     "type": "save",\r
3767     "name": "save connectivityB relationship to UNI-ROOT, in AAI",\r
3768     "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
3769     "comments": "",\r
3770     "outputs": 1,\r
3771     "x": 3909,\r
3772     "y": 3420,\r
3773     "z": "f8944603.71553",\r
3774     "wires": [\r
3775       []\r
3776     ]\r
3777   },\r
3778   {\r
3779     "id": "32f3c697.c51f22",\r
3780     "type": "execute",\r
3781     "name": "execute UUID generator for connectivity domainA",\r
3782     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3783     "comments": "",\r
3784     "outputs": 1,\r
3785     "x": 3907,\r
3786     "y": 2877,\r
3787     "z": "f8944603.71553",\r
3788     "wires": [\r
3789       []\r
3790     ]\r
3791   },\r
3792   {\r
3793     "id": "f60b0d1b.343218",\r
3794     "type": "save",\r
3795     "name": "save connectivity resource in AAI",\r
3796     "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
3797     "comments": "",\r
3798     "outputs": 1,\r
3799     "x": 3855,\r
3800     "y": 2925,\r
3801     "z": "f8944603.71553",\r
3802     "wires": [\r
3803       []\r
3804     ]\r
3805   },\r
3806   {\r
3807     "id": "51fbee04.79f4f",\r
3808     "type": "save",\r
3809     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3810     "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
3811     "comments": "",\r
3812     "outputs": 1,\r
3813     "x": 3983,\r
3814     "y": 2972,\r
3815     "z": "f8944603.71553",\r
3816     "wires": [\r
3817       []\r
3818     ]\r
3819   },\r
3820   {\r
3821     "id": "f3326814.1ece9",\r
3822     "type": "comment",\r
3823     "name": "Create LEAF connectivity",\r
3824     "info": "",\r
3825     "comments": "",\r
3826     "x": 3820,\r
3827     "y": 2835,\r
3828     "z": "f8944603.71553",\r
3829     "wires": []\r
3830   },\r
3831   {\r
3832     "id": "a2a5771a.032e88",\r
3833     "type": "save",\r
3834     "name": "save LEAF UNI in AAI",\r
3835     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />",\r
3836     "comments": "",\r
3837     "outputs": 1,\r
3838     "x": 3817,\r
3839     "y": 3063,\r
3840     "z": "f8944603.71553",\r
3841     "wires": [\r
3842       []\r
3843     ]\r
3844   },\r
3845   {\r
3846     "id": "a39c337f.4b8598",\r
3847     "type": "save",\r
3848     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3849     "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
3850     "comments": "",\r
3851     "outputs": 1,\r
3852     "x": 3910,\r
3853     "y": 3116,\r
3854     "z": "f8944603.71553",\r
3855     "wires": [\r
3856       []\r
3857     ]\r
3858   },\r
3859   {\r
3860     "id": "71641615.6f44c8",\r
3861     "type": "comment",\r
3862     "name": "Create LEAF UNI",\r
3863     "info": "",\r
3864     "comments": "",\r
3865     "x": 3801,\r
3866     "y": 3019,\r
3867     "z": "f8944603.71553",\r
3868     "wires": []\r
3869   },\r
3870   {\r
3871     "id": "11067d29.f83e4b",\r
3872     "type": "comment",\r
3873     "name": "Create ROOT UNI",\r
3874     "info": "",\r
3875     "comments": "",\r
3876     "x": 3805,\r
3877     "y": 3335,\r
3878     "z": "f8944603.71553",\r
3879     "wires": []\r
3880   },\r
3881   {\r
3882     "id": "36f7b692.fe5f9a",\r
3883     "type": "save",\r
3884     "name": "save LEAF UNI in AAI",\r
3885     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
3886     "comments": "",\r
3887     "outputs": 1,\r
3888     "x": 4374,\r
3889     "y": 4524,\r
3890     "z": "f8944603.71553",\r
3891     "wires": [\r
3892       []\r
3893     ]\r
3894   },\r
3895   {\r
3896     "id": "fa6ec7f0.b5b858",\r
3897     "type": "comment",\r
3898     "name": "Create LEAF UNI",\r
3899     "info": "",\r
3900     "comments": "",\r
3901     "x": 4358,\r
3902     "y": 4480,\r
3903     "z": "f8944603.71553",\r
3904     "wires": []\r
3905   },\r
3906   {\r
3907     "id": "87e40dc2.3dae2",\r
3908     "type": "comment",\r
3909     "name": "Create LEAF connectivity",\r
3910     "info": "",\r
3911     "comments": "",\r
3912     "x": 5105,\r
3913     "y": 4511,\r
3914     "z": "f8944603.71553",\r
3915     "wires": []\r
3916   },\r
3917   {\r
3918     "id": "a4406b4c.17bbc",\r
3919     "type": "execute",\r
3920     "name": "execute UUID generator for connectivity domainA",\r
3921     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"uuid.connectivity-domainA-uuid\"/>\n",\r
3922     "comments": "",\r
3923     "outputs": 1,\r
3924     "x": 5192,\r
3925     "y": 4553,\r
3926     "z": "f8944603.71553",\r
3927     "wires": [\r
3928       []\r
3929     ]\r
3930   },\r
3931   {\r
3932     "id": "18ca4a3.634f536",\r
3933     "type": "save",\r
3934     "name": "save connectivity resource in AAI",\r
3935     "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
3936     "comments": "",\r
3937     "outputs": 1,\r
3938     "x": 5140,\r
3939     "y": 4601,\r
3940     "z": "f8944603.71553",\r
3941     "wires": [\r
3942       []\r
3943     ]\r
3944   },\r
3945   {\r
3946     "id": "b4f57662.21d798",\r
3947     "type": "save",\r
3948     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
3949     "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
3950     "comments": "",\r
3951     "outputs": 1,\r
3952     "x": 5268,\r
3953     "y": 4648,\r
3954     "z": "f8944603.71553",\r
3955     "wires": [\r
3956       []\r
3957     ]\r
3958   },\r
3959   {\r
3960     "id": "1981b041.f96778",\r
3961     "type": "save",\r
3962     "name": "save connectivityA relationship to UNI-LEAF, in AAI",\r
3963     "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
3964     "comments": "",\r
3965     "outputs": 1,\r
3966     "x": 4445,\r
3967     "y": 4933,\r
3968     "z": "f8944603.71553",\r
3969     "wires": [\r
3970       []\r
3971     ]\r
3972   },\r
3973   {\r
3974     "id": "1ff0ab3b.554fd5",\r
3975     "type": "comment",\r
3976     "name": "populate connectivity-B variable in the context map",\r
3977     "info": "",\r
3978     "comments": "",\r
3979     "x": 4428,\r
3980     "y": 4995,\r
3981     "z": "f8944603.71553",\r
3982     "wires": []\r
3983   },\r
3984   {\r
3985     "id": "26315d76.5ba5da",\r
3986     "type": "call",\r
3987     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
3988     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
3989     "comments": "",\r
3990     "outputs": 1,\r
3991     "x": 4539,\r
3992     "y": 5037,\r
3993     "z": "f8944603.71553",\r
3994     "wires": [\r
3995       []\r
3996     ]\r
3997   },\r
3998   {\r
3999     "id": "99476299.d65948",\r
4000     "type": "set",\r
4001     "name": "set prop.connectivity-domainB-uuid",\r
4002     "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
4003     "comments": "",\r
4004     "x": 4987,\r
4005     "y": 5090,\r
4006     "z": "f8944603.71553",\r
4007     "wires": []\r
4008   },\r
4009   {\r
4010     "id": "7e1b41de.44cf5",\r
4011     "type": "save",\r
4012     "name": "save middle-man-conn relationship to UNI-LEAF, in AAI",\r
4013     "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
4014     "comments": "",\r
4015     "outputs": 1,\r
4016     "x": 4297,\r
4017     "y": 5788,\r
4018     "z": "f8944603.71553",\r
4019     "wires": [\r
4020       []\r
4021     ]\r
4022   },\r
4023   {\r
4024     "id": "99207b39.65e8d8",\r
4025     "type": "save",\r
4026     "name": "save LEAF UNI in AAI",\r
4027     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.LEAF.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.LEAF.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.LEAF.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-A.logical-interface-id`' />\n<parameter name='type' value='leaf' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
4028     "comments": "",\r
4029     "outputs": 1,\r
4030     "x": 4195,\r
4031     "y": 5737,\r
4032     "z": "f8944603.71553",\r
4033     "wires": [\r
4034       []\r
4035     ]\r
4036   },\r
4037   {\r
4038     "id": "fc9d3b48.0b961",\r
4039     "type": "comment",\r
4040     "name": "Create LEAF UNI",\r
4041     "info": "",\r
4042     "comments": "",\r
4043     "x": 4179,\r
4044     "y": 5693,\r
4045     "z": "f8944603.71553",\r
4046     "wires": []\r
4047   },\r
4048   {\r
4049     "id": "cdbca407.a3714",\r
4050     "type": "save",\r
4051     "name": "save the-connectivity relationship to UNI-LEAF, in AAI",\r
4052     "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
4053     "comments": "",\r
4054     "outputs": 1,\r
4055     "x": 4965,\r
4056     "y": 5950,\r
4057     "z": "f8944603.71553",\r
4058     "wires": [\r
4059       []\r
4060     ]\r
4061   },\r
4062   {\r
4063     "id": "70413194.4e4218",\r
4064     "type": "switchNode",\r
4065     "name": "switch found-root-connectivity",\r
4066     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
4067     "comments": "",\r
4068     "outputs": 1,\r
4069     "x": 4366,\r
4070     "y": 5094,\r
4071     "z": "f8944603.71553",\r
4072     "wires": [\r
4073       [\r
4074         "9e68e3f9.d79778",\r
4075         "3f3ed24c.0decee"\r
4076       ]\r
4077     ]\r
4078   },\r
4079   {\r
4080     "id": "9e68e3f9.d79778",\r
4081     "type": "outcomeTrue",\r
4082     "name": "true",\r
4083     "xml": "<outcome value='true'>\n",\r
4084     "comments": "",\r
4085     "outputs": 1,\r
4086     "x": 4577,\r
4087     "y": 5094,\r
4088     "z": "f8944603.71553",\r
4089     "wires": [\r
4090       [\r
4091         "e924e4da.1f13b"\r
4092       ]\r
4093     ]\r
4094   },\r
4095   {\r
4096     "id": "e924e4da.1f13b",\r
4097     "type": "block",\r
4098     "name": "block : atomic",\r
4099     "xml": "<block atomic='true'>",\r
4100     "atomic": "true",\r
4101     "comments": "",\r
4102     "outputs": 1,\r
4103     "x": 4733,\r
4104     "y": 5090,\r
4105     "z": "f8944603.71553",\r
4106     "wires": [\r
4107       [\r
4108         "99476299.d65948",\r
4109         "259aff1b.d97a1",\r
4110         "b61f1c95.4694d"\r
4111       ]\r
4112     ]\r
4113   },\r
4114   {\r
4115     "id": "3f3ed24c.0decee",\r
4116     "type": "outcomeFalse",\r
4117     "name": "false",\r
4118     "xml": "<outcome value='false'>\n",\r
4119     "comments": "",\r
4120     "outputs": 1,\r
4121     "x": 4573,\r
4122     "y": 5142,\r
4123     "z": "f8944603.71553",\r
4124     "wires": [\r
4125       [\r
4126         "6bc2c49e.5247fc"\r
4127       ]\r
4128     ]\r
4129   },\r
4130   {\r
4131     "id": "6bc2c49e.5247fc",\r
4132     "type": "returnFailure",\r
4133     "name": "return failure",\r
4134     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
4135     "comments": "",\r
4136     "x": 4721,\r
4137     "y": 5137,\r
4138     "z": "f8944603.71553",\r
4139     "wires": []\r
4140   },\r
4141   {\r
4142     "id": "540d81b.ac8608",\r
4143     "type": "save",\r
4144     "name": "save middle-man-conn relationship to connectivity-LEAF, in AAI",\r
4145     "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
4146     "comments": "",\r
4147     "outputs": 1,\r
4148     "x": 5229,\r
4149     "y": 4719,\r
4150     "z": "f8944603.71553",\r
4151     "wires": [\r
4152       []\r
4153     ]\r
4154   },\r
4155   {\r
4156     "id": "e8527008.db6228",\r
4157     "type": "execute",\r
4158     "name": "execute UUID generator for ethernet-service-name",\r
4159     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.ethernet-service-name\"/>\n",\r
4160     "comments": "",\r
4161     "outputs": 1,\r
4162     "x": 2395,\r
4163     "y": 130,\r
4164     "z": "f8944603.71553",\r
4165     "wires": [\r
4166       []\r
4167     ]\r
4168   },\r
4169   {\r
4170     "id": "a669b945.663408",\r
4171     "type": "set",\r
4172     "name": "set new ethernet-service-name",\r
4173     "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
4174     "comments": "",\r
4175     "x": 2329,\r
4176     "y": 166,\r
4177     "z": "f8944603.71553",\r
4178     "wires": []\r
4179   },\r
4180   {\r
4181     "id": "ba20200a.599368",\r
4182     "type": "comment",\r
4183     "name": "The following two nodes are to make sure all connectivities for an E-Tree have same etht-srv-name",\r
4184     "info": "",\r
4185     "comments": "",\r
4186     "x": 2514,\r
4187     "y": 93,\r
4188     "z": "f8944603.71553",\r
4189     "wires": []\r
4190   },\r
4191   {\r
4192     "id": "f5cafc97.3be338",\r
4193     "type": "set",\r
4194     "name": "set current-provider-id and current-cvlan-id",\r
4195     "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
4196     "comments": "",\r
4197     "x": 4264,\r
4198     "y": 5854,\r
4199     "z": "f8944603.71553",\r
4200     "wires": []\r
4201   },\r
4202   {\r
4203     "id": "433677c1.52ee48",\r
4204     "type": "call",\r
4205     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4206     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4207     "comments": "",\r
4208     "outputs": 1,\r
4209     "x": 4397,\r
4210     "y": 5902,\r
4211     "z": "f8944603.71553",\r
4212     "wires": [\r
4213       []\r
4214     ]\r
4215   },\r
4216   {\r
4217     "id": "fabf4cab.b217e",\r
4218     "type": "switchNode",\r
4219     "name": "switch found-connectivity?",\r
4220     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4221     "comments": "",\r
4222     "outputs": 1,\r
4223     "x": 4216,\r
4224     "y": 5960,\r
4225     "z": "f8944603.71553",\r
4226     "wires": [\r
4227       [\r
4228         "d58843e6.45b67",\r
4229         "5480ce12.618198"\r
4230       ]\r
4231     ]\r
4232   },\r
4233   {\r
4234     "id": "d58843e6.45b67",\r
4235     "type": "outcomeFalse",\r
4236     "name": "false",\r
4237     "xml": "<outcome value='false'>\n",\r
4238     "comments": "",\r
4239     "outputs": 1,\r
4240     "x": 4409,\r
4241     "y": 5961,\r
4242     "z": "f8944603.71553",\r
4243     "wires": [\r
4244       [\r
4245         "3584d606.ea3b92"\r
4246       ]\r
4247     ]\r
4248   },\r
4249   {\r
4250     "id": "3584d606.ea3b92",\r
4251     "type": "returnFailure",\r
4252     "name": "return failure",\r
4253     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Connectivity should have been created' />\n",\r
4254     "comments": "",\r
4255     "x": 4565,\r
4256     "y": 5958,\r
4257     "z": "f8944603.71553",\r
4258     "wires": []\r
4259   },\r
4260   {\r
4261     "id": "5480ce12.618198",\r
4262     "type": "outcomeTrue",\r
4263     "name": "true",\r
4264     "xml": "<outcome value='true'>\n",\r
4265     "comments": "",\r
4266     "outputs": 1,\r
4267     "x": 4413,\r
4268     "y": 6005,\r
4269     "z": "f8944603.71553",\r
4270     "wires": [\r
4271       [\r
4272         "2c5800b.fe6138"\r
4273       ]\r
4274     ]\r
4275   },\r
4276   {\r
4277     "id": "2c5800b.fe6138",\r
4278     "type": "block",\r
4279     "name": "block",\r
4280     "xml": "<block>\n",\r
4281     "atomic": "false",\r
4282     "comments": "",\r
4283     "outputs": 1,\r
4284     "x": 4552,\r
4285     "y": 6000,\r
4286     "z": "f8944603.71553",\r
4287     "wires": [\r
4288       [\r
4289         "cdbca407.a3714",\r
4290         "908326bd.db0de8",\r
4291         "252b791f.9db75e",\r
4292         "275b22ee.4a806e",\r
4293         "331c47e0.bff598",\r
4294         "cf9d9601.e8d088",\r
4295         "b92b2881.bc3e18",\r
4296         "19e51740.b8f8a1",\r
4297         "2ded21f8.219046",\r
4298         "a0a762d0.469c28",\r
4299         "60c16c76.a98d34",\r
4300         "8396080f.a7f6c8"\r
4301       ]\r
4302     ]\r
4303   },\r
4304   {\r
4305     "id": "b92b2881.bc3e18",\r
4306     "type": "save",\r
4307     "name": "get all-vpn-bindings from aai",\r
4308     "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
4309     "comments": "",\r
4310     "outputs": 1,\r
4311     "x": 4749,\r
4312     "y": 6679,\r
4313     "z": "f8944603.71553",\r
4314     "wires": [\r
4315       [\r
4316         "b068e9a3.d4db4",\r
4317         "b79debc6.f268c",\r
4318         "599f79e1.6940a8"\r
4319       ]\r
4320     ]\r
4321   },\r
4322   {\r
4323     "id": "b068e9a3.d4db4",\r
4324     "type": "success",\r
4325     "name": "success",\r
4326     "xml": "<outcome value='success'>\n",\r
4327     "comments": "",\r
4328     "outputs": 1,\r
4329     "x": 4954,\r
4330     "y": 6676,\r
4331     "z": "f8944603.71553",\r
4332     "wires": [\r
4333       [\r
4334         "be7eb0d3.672b2"\r
4335       ]\r
4336     ]\r
4337   },\r
4338   {\r
4339     "id": "b79debc6.f268c",\r
4340     "type": "not-found",\r
4341     "name": "not-found",\r
4342     "xml": "<outcome value='not-found'>\n",\r
4343     "comments": "",\r
4344     "outputs": 1,\r
4345     "x": 4937.490966796875,\r
4346     "y": 6737.574035644531,\r
4347     "z": "f8944603.71553",\r
4348     "wires": [\r
4349       [\r
4350         "7384abca.e83424"\r
4351       ]\r
4352     ]\r
4353   },\r
4354   {\r
4355     "id": "599f79e1.6940a8",\r
4356     "type": "failure",\r
4357     "name": "failure",\r
4358     "xml": "<outcome value='failure'>\n",\r
4359     "comments": "",\r
4360     "outputs": 1,\r
4361     "x": 4935,\r
4362     "y": 6781,\r
4363     "z": "f8944603.71553",\r
4364     "wires": [\r
4365       [\r
4366         "5c72f79d.0cafa"\r
4367       ]\r
4368     ]\r
4369   },\r
4370   {\r
4371     "id": "be7eb0d3.672b2",\r
4372     "type": "block",\r
4373     "name": "block : atomic",\r
4374     "xml": "<block atomic=\"true\">",\r
4375     "atomic": "true",\r
4376     "outputs": 1,\r
4377     "x": 5110,\r
4378     "y": 6690,\r
4379     "z": "f8944603.71553",\r
4380     "wires": [\r
4381       [\r
4382         "477f7936.afbf38"\r
4383       ]\r
4384     ]\r
4385   },\r
4386   {\r
4387     "id": "7384abca.e83424",\r
4388     "type": "returnFailure",\r
4389     "name": "return failure",\r
4390     "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
4391     "comments": "",\r
4392     "x": 5100.0623779296875,\r
4393     "y": 6737.859771728516,\r
4394     "z": "f8944603.71553",\r
4395     "wires": []\r
4396   },\r
4397   {\r
4398     "id": "5c72f79d.0cafa",\r
4399     "type": "returnFailure",\r
4400     "name": "return failure",\r
4401     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
4402     "comments": "",\r
4403     "x": 5102,\r
4404     "y": 6780,\r
4405     "z": "f8944603.71553",\r
4406     "wires": []\r
4407   },\r
4408   {\r
4409     "id": "477f7936.afbf38",\r
4410     "type": "for",\r
4411     "name": "for vpnidx in all-vpn-bindings",\r
4412     "xml": "<for index='vpnbidx' start='0' end='`$tmp.aai.all-vpn-bindings.vpn-binding_length`' >\n",\r
4413     "comments": "",\r
4414     "outputs": 1,\r
4415     "x": 5357,\r
4416     "y": 6687,\r
4417     "z": "f8944603.71553",\r
4418     "wires": [\r
4419       [\r
4420         "8d0d8dd8.5dff18"\r
4421       ]\r
4422     ]\r
4423   },\r
4424   {\r
4425     "id": "8d0d8dd8.5dff18",\r
4426     "type": "block",\r
4427     "name": "block : atomic",\r
4428     "xml": "<block atomic='true'>",\r
4429     "atomic": "true",\r
4430     "comments": "",\r
4431     "outputs": 1,\r
4432     "x": 5594,\r
4433     "y": 6683,\r
4434     "z": "f8944603.71553",\r
4435     "wires": [\r
4436       [\r
4437         "234239f1.092ec6"\r
4438       ]\r
4439     ]\r
4440   },\r
4441   {\r
4442     "id": "af0f93b9.f63018",\r
4443     "type": "switchNode",\r
4444     "name": "switch vpnuuid is for this slice",\r
4445     "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
4446     "comments": "",\r
4447     "outputs": 1,\r
4448     "x": 5837,\r
4449     "y": 6655,\r
4450     "z": "f8944603.71553",\r
4451     "wires": [\r
4452       [\r
4453         "1906307e.4f6708",\r
4454         "7e26fbb1.9c733c"\r
4455       ]\r
4456     ]\r
4457   },\r
4458   {\r
4459     "id": "1906307e.4f6708",\r
4460     "type": "outcomeTrue",\r
4461     "name": "true",\r
4462     "xml": "<outcome value='true'>\n",\r
4463     "comments": "",\r
4464     "outputs": 1,\r
4465     "x": 6042,\r
4466     "y": 6675,\r
4467     "z": "f8944603.71553",\r
4468     "wires": [\r
4469       [\r
4470         "234239f1.092ec6"\r
4471       ]\r
4472     ]\r
4473   },\r
4474   {\r
4475     "id": "7e26fbb1.9c733c",\r
4476     "type": "outcomeFalse",\r
4477     "name": "false",\r
4478     "xml": "<outcome value='false'>\n",\r
4479     "comments": "",\r
4480     "outputs": 1,\r
4481     "x": 6041,\r
4482     "y": 6628,\r
4483     "z": "f8944603.71553",\r
4484     "wires": [\r
4485       []\r
4486     ]\r
4487   },\r
4488   {\r
4489     "id": "234239f1.092ec6",\r
4490     "type": "block",\r
4491     "name": "block : atomic",\r
4492     "xml": "<block atomic='true'>",\r
4493     "atomic": "true",\r
4494     "comments": "",\r
4495     "outputs": 1,\r
4496     "x": 4785,\r
4497     "y": 6950,\r
4498     "z": "f8944603.71553",\r
4499     "wires": [\r
4500       [\r
4501         "9c243a63.6beae8"\r
4502       ]\r
4503     ]\r
4504   },\r
4505   {\r
4506     "id": "7d275a16.b90c94",\r
4507     "type": "set",\r
4508     "name": "set tmp.aai.the-vpn-binding",\r
4509     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].`\" />\n",\r
4510     "comments": "",\r
4511     "x": 6246.999969482422,\r
4512     "y": 6887.999969482422,\r
4513     "z": "f8944603.71553",\r
4514     "wires": []\r
4515   },\r
4516   {\r
4517     "id": "62c83b20.7bb344",\r
4518     "type": "comment",\r
4519     "name": "find all OTNs that have srcTtpOtnLayer and increase their bandwidth",\r
4520     "info": "",\r
4521     "comments": "",\r
4522     "x": 4847,\r
4523     "y": 6626,\r
4524     "z": "f8944603.71553",\r
4525     "wires": []\r
4526   },\r
4527   {\r
4528     "id": "cf9d9601.e8d088",\r
4529     "type": "set",\r
4530     "name": "set srcTtp OTN layer",\r
4531     "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
4532     "comments": "",\r
4533     "x": 4729,\r
4534     "y": 6514,\r
4535     "z": "f8944603.71553",\r
4536     "wires": []\r
4537   },\r
4538   {\r
4539     "id": "fb325d12.16a73",\r
4540     "type": "switchNode",\r
4541     "name": "switch provider-id domainA",\r
4542     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].provider-id == $param-prefix-domainA-pnfName[2]`'>\n",\r
4543     "comments": "",\r
4544     "outputs": 1,\r
4545     "x": 5074,\r
4546     "y": 6345,\r
4547     "z": "f8944603.71553",\r
4548     "wires": [\r
4549       [\r
4550         "2ae3447b.0a1c44"\r
4551       ]\r
4552     ]\r
4553   },\r
4554   {\r
4555     "id": "2ae3447b.0a1c44",\r
4556     "type": "outcomeTrue",\r
4557     "name": "true",\r
4558     "xml": "<outcome value='true'>\n",\r
4559     "comments": "",\r
4560     "outputs": 1,\r
4561     "x": 5294,\r
4562     "y": 6351,\r
4563     "z": "f8944603.71553",\r
4564     "wires": [\r
4565       [\r
4566         "47fb23b1.c734fc"\r
4567       ]\r
4568     ]\r
4569   },\r
4570   {\r
4571     "id": "47fb23b1.c734fc",\r
4572     "type": "switchNode",\r
4573     "name": "switch te-topo-id",\r
4574     "xml": "<switch test='`$allNetworksList.network-resource[$netwidx].te-topo-id != $param-prefix-domainA-pnfName[6]`'>\n",\r
4575     "comments": "",\r
4576     "outputs": 1,\r
4577     "x": 5481,\r
4578     "y": 6311,\r
4579     "z": "f8944603.71553",\r
4580     "wires": [\r
4581       [\r
4582         "504a47cd.0300d8"\r
4583       ]\r
4584     ]\r
4585   },\r
4586   {\r
4587     "id": "504a47cd.0300d8",\r
4588     "type": "outcomeTrue",\r
4589     "name": "true",\r
4590     "xml": "<outcome value='true'>\n",\r
4591     "comments": "",\r
4592     "outputs": 1,\r
4593     "x": 5673,\r
4594     "y": 6314,\r
4595     "z": "f8944603.71553",\r
4596     "wires": [\r
4597       [\r
4598         "70b7cd06.f487e4"\r
4599       ]\r
4600     ]\r
4601   },\r
4602   {\r
4603     "id": "70b7cd06.f487e4",\r
4604     "type": "set",\r
4605     "name": "set otnTopoIdSrc",\r
4606     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='`$allNetworksList.network-resource[$netwidx].te-topo-id`' />\n",\r
4607     "comments": "",\r
4608     "x": 5882,\r
4609     "y": 6312,\r
4610     "z": "f8944603.71553",\r
4611     "wires": []\r
4612   },\r
4613   {\r
4614     "id": "19e51740.b8f8a1",\r
4615     "type": "for",\r
4616     "name": "for netwidx..allNetworksList_length",\r
4617     "xml": "<for index='netwidx' start='0' end='`$allNetworksList.network-resource_length`' >",\r
4618     "comments": "",\r
4619     "outputs": 1,\r
4620     "x": 4781,\r
4621     "y": 6339,\r
4622     "z": "f8944603.71553",\r
4623     "wires": [\r
4624       [\r
4625         "fb325d12.16a73"\r
4626       ]\r
4627     ]\r
4628   },\r
4629   {\r
4630     "id": "252b791f.9db75e",\r
4631     "type": "get-resource",\r
4632     "name": "get-resource network-resources-list",\r
4633     "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
4634     "comments": "",\r
4635     "outputs": 1,\r
4636     "x": 4789,\r
4637     "y": 6232,\r
4638     "z": "f8944603.71553",\r
4639     "wires": [\r
4640       [\r
4641         "ab2e0e9b.e6e2a",\r
4642         "175d6a26.e8f2ae",\r
4643         "30472c6d.7bfeec"\r
4644       ]\r
4645     ]\r
4646   },\r
4647   {\r
4648     "id": "ab2e0e9b.e6e2a",\r
4649     "type": "success",\r
4650     "name": "success",\r
4651     "xml": "<outcome value='success'>\n",\r
4652     "comments": "",\r
4653     "outputs": 1,\r
4654     "x": 5025,\r
4655     "y": 6215,\r
4656     "z": "f8944603.71553",\r
4657     "wires": [\r
4658       []\r
4659     ]\r
4660   },\r
4661   {\r
4662     "id": "175d6a26.e8f2ae",\r
4663     "type": "other",\r
4664     "name": "other",\r
4665     "xml": "<outcome value='Other'>\n",\r
4666     "comments": "",\r
4667     "outputs": 1,\r
4668     "x": 5022,\r
4669     "y": 6256,\r
4670     "z": "f8944603.71553",\r
4671     "wires": [\r
4672       []\r
4673     ]\r
4674   },\r
4675   {\r
4676     "id": "30472c6d.7bfeec",\r
4677     "type": "not-found",\r
4678     "name": "not-found",\r
4679     "xml": "<outcome value='not-found'>\n",\r
4680     "comments": "",\r
4681     "outputs": 1,\r
4682     "x": 5036,\r
4683     "y": 6296,\r
4684     "z": "f8944603.71553",\r
4685     "wires": [\r
4686       []\r
4687     ]\r
4688   },\r
4689   {\r
4690     "id": "275b22ee.4a806e",\r
4691     "type": "set",\r
4692     "name": "unset parameters",\r
4693     "xml": "<set>\n<parameter name='tmp.pce-src-node.' value='' />\n",\r
4694     "comments": "",\r
4695     "x": 4725,\r
4696     "y": 6391,\r
4697     "z": "f8944603.71553",\r
4698     "wires": []\r
4699   },\r
4700   {\r
4701     "id": "331c47e0.bff598",\r
4702     "type": "set",\r
4703     "name": "set tmp.pce-src-node",\r
4704     "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
4705     "comments": "",\r
4706     "x": 4733,\r
4707     "y": 6449,\r
4708     "z": "f8944603.71553",\r
4709     "wires": []\r
4710   },\r
4711   {\r
4712     "id": "908326bd.db0de8",\r
4713     "type": "set",\r
4714     "name": "unset parameters",\r
4715     "xml": "<set>\n<parameter name='allNetworksList.' value='' />\n",\r
4716     "comments": "",\r
4717     "x": 4738,\r
4718     "y": 6189,\r
4719     "z": "f8944603.71553",\r
4720     "wires": []\r
4721   },\r
4722   {\r
4723     "id": "8ef1afe7.71ad38",\r
4724     "type": "comment",\r
4725     "name": "The following section is to find srcTtp OTN layer (its long name)",\r
4726     "info": "The following section is to find srcTtp OTN layer (its long name)",\r
4727     "comments": "",\r
4728     "x": 4853,\r
4729     "y": 6141,\r
4730     "z": "f8944603.71553",\r
4731     "wires": []\r
4732   },\r
4733   {\r
4734     "id": "9c243a63.6beae8",\r
4735     "type": "switchNode",\r
4736     "name": "switch ops-note is srcTtpOtnLayer",\r
4737     "xml": "<switch test=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].ops-note == $tmp.srcTtpOtnLayer `\">\n\n",\r
4738     "comments": "",\r
4739     "outputs": 1,\r
4740     "x": 5028,\r
4741     "y": 6947,\r
4742     "z": "f8944603.71553",\r
4743     "wires": [\r
4744       [\r
4745         "14533561.0c5673",\r
4746         "af779ea0.7fb81"\r
4747       ]\r
4748     ]\r
4749   },\r
4750   {\r
4751     "id": "14533561.0c5673",\r
4752     "type": "outcomeTrue",\r
4753     "name": "true",\r
4754     "xml": "<outcome value='true'>\n",\r
4755     "comments": "",\r
4756     "outputs": 1,\r
4757     "x": 5257,\r
4758     "y": 6924,\r
4759     "z": "f8944603.71553",\r
4760     "wires": [\r
4761       [\r
4762         "55635f65.d76ee8"\r
4763       ]\r
4764     ]\r
4765   },\r
4766   {\r
4767     "id": "af779ea0.7fb81",\r
4768     "type": "outcomeFalse",\r
4769     "name": "false",\r
4770     "xml": "<outcome value='false'>\n",\r
4771     "comments": "",\r
4772     "outputs": 1,\r
4773     "x": 5257,\r
4774     "y": 6973,\r
4775     "z": "f8944603.71553",\r
4776     "wires": [\r
4777       []\r
4778     ]\r
4779   },\r
4780   {\r
4781     "id": "494eed0f.99eb84",\r
4782     "type": "block",\r
4783     "name": "block : atomic",\r
4784     "xml": "<block atomic='true'>",\r
4785     "atomic": "true",\r
4786     "comments": "",\r
4787     "outputs": 1,\r
4788     "x": 5989.999969482422,\r
4789     "y": 6978.999969482422,\r
4790     "z": "f8944603.71553",\r
4791     "wires": [\r
4792       [\r
4793         "6ed262af.6482c4",\r
4794         "7d275a16.b90c94",\r
4795         "ea085aad.03ece"\r
4796       ]\r
4797     ]\r
4798   },\r
4799   {\r
4800     "id": "eb8bdae2.80aaf8",\r
4801     "type": "comment",\r
4802     "name": "increase the bw of the-vpn-binding and change status to modified",\r
4803     "info": "increase the bw of the-vpn-binding\nchange status to modified\n",\r
4804     "comments": "",\r
4805     "x": 6374.999969482422,\r
4806     "y": 6941.999969482422,\r
4807     "z": "f8944603.71553",\r
4808     "wires": []\r
4809   },\r
4810   {\r
4811     "id": "ea085aad.03ece",\r
4812     "type": "save",\r
4813     "name": "update vpn-binding otnIdx resource (aka. OTN) in AAI",\r
4814     "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
4815     "comments": "",\r
4816     "outputs": 1,\r
4817     "x": 6344.999969482422,\r
4818     "y": 7001.999969482422,\r
4819     "z": "f8944603.71553",\r
4820     "wires": [\r
4821       []\r
4822     ]\r
4823   },\r
4824   {\r
4825     "id": "6ed262af.6482c4",\r
4826     "type": "set",\r
4827     "name": "unset tmp.aai.the-vpn-binding",\r
4828     "xml": "<set>\n<parameter name='tmp.aai.the-vpn-binding.' value=\"\" />\n",\r
4829     "comments": "",\r
4830     "x": 6251.999969482422,\r
4831     "y": 6829.999969482422,\r
4832     "z": "f8944603.71553",\r
4833     "wires": []\r
4834   },\r
4835   {\r
4836     "id": "b05d129.ef1b1f",\r
4837     "type": "block",\r
4838     "name": "block : atomic",\r
4839     "xml": "<block atomic='true'>",\r
4840     "atomic": "true",\r
4841     "comments": "",\r
4842     "outputs": 1,\r
4843     "x": 3988,\r
4844     "y": 5887,\r
4845     "z": "f8944603.71553",\r
4846     "wires": [\r
4847       [\r
4848         "99207b39.65e8d8",\r
4849         "f5cafc97.3be338",\r
4850         "433677c1.52ee48",\r
4851         "fabf4cab.b217e",\r
4852         "7e1b41de.44cf5"\r
4853       ]\r
4854     ]\r
4855   },\r
4856   {\r
4857     "id": "e2f1cfff.a8b258",\r
4858     "type": "set",\r
4859     "name": "unset otnTopoIdSrc",\r
4860     "xml": "<set>\n<parameter name='otnTopoIdSrc' value='' />\n",\r
4861     "comments": "",\r
4862     "x": 4730,\r
4863     "y": 6289,\r
4864     "z": "f8944603.71553",\r
4865     "wires": []\r
4866   },\r
4867   {\r
4868     "id": "2ded21f8.219046",\r
4869     "type": "save",\r
4870     "name": "update connectivity resource in AAI",\r
4871     "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
4872     "comments": "",\r
4873     "outputs": 1,\r
4874     "x": 4858,\r
4875     "y": 6031,\r
4876     "z": "f8944603.71553",\r
4877     "wires": [\r
4878       []\r
4879     ]\r
4880   },\r
4881   {\r
4882     "id": "4a18264c.6d9e",\r
4883     "type": "comment",\r
4884     "name": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4885     "info": "Update the existing eth-srv by adding the new LEAF UNI into its list of endpoints",\r
4886     "comments": "",\r
4887     "x": 4995,\r
4888     "y": 5981,\r
4889     "z": "f8944603.71553",\r
4890     "wires": []\r
4891   },\r
4892   {\r
4893     "id": "124ab46d.2d752c",\r
4894     "type": "save",\r
4895     "name": "save ROOT UNI in AAI",\r
4896     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-B.logical-interface-id`' />\n<parameter name='type' value='root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
4897     "comments": "",\r
4898     "outputs": 1,\r
4899     "x": 3822,\r
4900     "y": 3374,\r
4901     "z": "f8944603.71553",\r
4902     "wires": [\r
4903       []\r
4904     ]\r
4905   },\r
4906   {\r
4907     "id": "826efc02.44c7b",\r
4908     "type": "comment",\r
4909     "name": "NOT NEEDED ANYMORE?",\r
4910     "info": "",\r
4911     "comments": "",\r
4912     "x": 3999.999969482422,\r
4913     "y": 1608.9999694824219,\r
4914     "z": "f8944603.71553",\r
4915     "wires": []\r
4916   },\r
4917   {\r
4918     "id": "3746cfac.cfad98",\r
4919     "type": "comment",\r
4920     "name": "NOT NEEDED ANYMORE?",\r
4921     "info": "",\r
4922     "comments": "",\r
4923     "x": 3978.9999389648438,\r
4924     "y": 2120.9999389648438,\r
4925     "z": "f8944603.71553",\r
4926     "wires": []\r
4927   },\r
4928   {\r
4929     "id": "b5ea3d16.fd41f",\r
4930     "type": "comment",\r
4931     "name": "TEMPORARY REMOVING THE FOLLOWING TWO NODES",\r
4932     "info": "",\r
4933     "comments": "",\r
4934     "x": 3814,\r
4935     "y": 3995,\r
4936     "z": "f8944603.71553",\r
4937     "wires": []\r
4938   },\r
4939   {\r
4940     "id": "9d7f2116.baeda",\r
4941     "type": "call",\r
4942     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate",\r
4943     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate' mode='sync' >\n\n",\r
4944     "comments": "",\r
4945     "outputs": 1,\r
4946     "x": 3904,\r
4947     "y": 6375,\r
4948     "z": "f8944603.71553",\r
4949     "wires": [\r
4950       []\r
4951     ]\r
4952   },\r
4953   {\r
4954     "id": "f2a7dc4a.68ede",\r
4955     "type": "set",\r
4956     "name": "set current-provider-id and current-cvlan-id",\r
4957     "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
4958     "comments": "",\r
4959     "x": 3706,\r
4960     "y": 4904,\r
4961     "z": "f8944603.71553",\r
4962     "wires": []\r
4963   },\r
4964   {\r
4965     "id": "a789852e.51cd48",\r
4966     "type": "call",\r
4967     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-connectivity",\r
4968     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-connectivity' mode='sync' >\n\n",\r
4969     "comments": "",\r
4970     "outputs": 1,\r
4971     "x": 3839,\r
4972     "y": 4952,\r
4973     "z": "f8944603.71553",\r
4974     "wires": [\r
4975       []\r
4976     ]\r
4977   },\r
4978   {\r
4979     "id": "23762b83.94d65c",\r
4980     "type": "switchNode",\r
4981     "name": "switch found-connectivity?",\r
4982     "xml": "\n<switch test=\"`$found-connectivity`\">\n\n",\r
4983     "comments": "",\r
4984     "outputs": 1,\r
4985     "x": 4385,\r
4986     "y": 4580,\r
4987     "z": "f8944603.71553",\r
4988     "wires": [\r
4989       [\r
4990         "e4f34350.306628",\r
4991         "84eda9bb.13e58"\r
4992       ]\r
4993     ]\r
4994   },\r
4995   {\r
4996     "id": "e4f34350.306628",\r
4997     "type": "outcomeFalse",\r
4998     "name": "false",\r
4999     "xml": "<outcome value='false'>\n",\r
5000     "comments": "",\r
5001     "outputs": 1,\r
5002     "x": 4578,\r
5003     "y": 4581,\r
5004     "z": "f8944603.71553",\r
5005     "wires": [\r
5006       [\r
5007         "d93f9a59.274b5"\r
5008       ]\r
5009     ]\r
5010   },\r
5011   {\r
5012     "id": "84eda9bb.13e58",\r
5013     "type": "outcomeTrue",\r
5014     "name": "true",\r
5015     "xml": "<outcome value='true'>\n",\r
5016     "comments": "",\r
5017     "outputs": 1,\r
5018     "x": 4582,\r
5019     "y": 4625,\r
5020     "z": "f8944603.71553",\r
5021     "wires": [\r
5022       [\r
5023         "fa8add54.9c2898"\r
5024       ]\r
5025     ]\r
5026   },\r
5027   {\r
5028     "id": "fa8add54.9c2898",\r
5029     "type": "block",\r
5030     "name": "block : atomic",\r
5031     "xml": "<block atomic='true'>",\r
5032     "atomic": "true",\r
5033     "comments": "",\r
5034     "outputs": 1,\r
5035     "x": 4721,\r
5036     "y": 4620,\r
5037     "z": "f8944603.71553",\r
5038     "wires": [\r
5039       [\r
5040         "48346123.4f10a8",\r
5041         "5e210590.033b4c",\r
5042         "140ccb32.dd72dd"\r
5043       ]\r
5044     ]\r
5045   },\r
5046   {\r
5047     "id": "d93f9a59.274b5",\r
5048     "type": "block",\r
5049     "name": "block : atomic",\r
5050     "xml": "<block atomic='true'>",\r
5051     "atomic": "true",\r
5052     "comments": "",\r
5053     "outputs": 1,\r
5054     "x": 4721,\r
5055     "y": 4577,\r
5056     "z": "f8944603.71553",\r
5057     "wires": [\r
5058       [\r
5059         "a4406b4c.17bbc",\r
5060         "18ca4a3.634f536",\r
5061         "b4f57662.21d798",\r
5062         "540d81b.ac8608"\r
5063       ]\r
5064     ]\r
5065   },\r
5066   {\r
5067     "id": "48346123.4f10a8",\r
5068     "type": "set",\r
5069     "name": "set prop.connectivity-domainA-uuid",\r
5070     "xml": "<set>\n<parameter name='uuid.connectivity-domainA-uuid' value=\"`$tmp.the-connectivity.connectivity-id`\" />\n\n\n",\r
5071     "comments": "",\r
5072     "x": 5123.000244140625,\r
5073     "y": 4842,\r
5074     "z": "f8944603.71553",\r
5075     "wires": []\r
5076   },\r
5077   {\r
5078     "id": "54a11c60.7fd1ec",\r
5079     "type": "comment",\r
5080     "name": "populate connectivity-A variable in the context map",\r
5081     "info": "",\r
5082     "comments": "",\r
5083     "x": 5130.000244140625,\r
5084     "y": 4796,\r
5085     "z": "f8944603.71553",\r
5086     "wires": []\r
5087   },\r
5088   {\r
5089     "id": "a0a762d0.469c28",\r
5090     "type": "call",\r
5091     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-find-maximum-used-tpn",\r
5092     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-find-maximum-used-tpn' mode='sync' >\n\n",\r
5093     "comments": "",\r
5094     "outputs": 1,\r
5095     "x": 4920,\r
5096     "y": 6575,\r
5097     "z": "f8944603.71553",\r
5098     "wires": [\r
5099       []\r
5100     ]\r
5101   },\r
5102   {\r
5103     "id": "5e210590.033b4c",\r
5104     "type": "save",\r
5105     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5106     "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
5107     "comments": "",\r
5108     "outputs": 1,\r
5109     "x": 5241.000244140625,\r
5110     "y": 4884,\r
5111     "z": "f8944603.71553",\r
5112     "wires": [\r
5113       []\r
5114     ]\r
5115   },\r
5116   {\r
5117     "id": "259aff1b.d97a1",\r
5118     "type": "save",\r
5119     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5120     "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
5121     "comments": "",\r
5122     "outputs": 1,\r
5123     "x": 5116,\r
5124     "y": 5142,\r
5125     "z": "f8944603.71553",\r
5126     "wires": [\r
5127       []\r
5128     ]\r
5129   },\r
5130   {\r
5131     "id": "80314ddc.393748",\r
5132     "type": "comment",\r
5133     "name": "Update ROOT UNI's bw",\r
5134     "info": "",\r
5135     "comments": "",\r
5136     "x": 3461,\r
5137     "y": 4475,\r
5138     "z": "f8944603.71553",\r
5139     "wires": []\r
5140   },\r
5141   {\r
5142     "id": "d1326c21.abc33",\r
5143     "type": "save",\r
5144     "name": "update ROOT UNI in AAI",\r
5145     "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
5146     "comments": "",\r
5147     "outputs": 1,\r
5148     "x": 3983,\r
5149     "y": 4576,\r
5150     "z": "f8944603.71553",\r
5151     "wires": [\r
5152       []\r
5153     ]\r
5154   },\r
5155   {\r
5156     "id": "434bd8c2.bae4f8",\r
5157     "type": "save",\r
5158     "name": "get root uni from aai",\r
5159     "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
5160     "comments": "",\r
5161     "outputs": 1,\r
5162     "x": 3440,\r
5163     "y": 4519,\r
5164     "z": "f8944603.71553",\r
5165     "wires": [\r
5166       [\r
5167         "7ea7dff4.93abc",\r
5168         "616c8d40.285e14",\r
5169         "ffe0a536.7eaff8"\r
5170       ]\r
5171     ]\r
5172   },\r
5173   {\r
5174     "id": "616c8d40.285e14",\r
5175     "type": "not-found",\r
5176     "name": "not-found",\r
5177     "xml": "<outcome value='not-found'>\n",\r
5178     "comments": "",\r
5179     "outputs": 1,\r
5180     "x": 3628.490966796875,\r
5181     "y": 4487.57421875,\r
5182     "z": "f8944603.71553",\r
5183     "wires": [\r
5184       [\r
5185         "739b53.f4a4fcac"\r
5186       ]\r
5187     ]\r
5188   },\r
5189   {\r
5190     "id": "ffe0a536.7eaff8",\r
5191     "type": "failure",\r
5192     "name": "failure",\r
5193     "xml": "<outcome value='failure'>\n",\r
5194     "comments": "",\r
5195     "outputs": 1,\r
5196     "x": 3617,\r
5197     "y": 4527,\r
5198     "z": "f8944603.71553",\r
5199     "wires": [\r
5200       [\r
5201         "68d1064e.ebb3b8"\r
5202       ]\r
5203     ]\r
5204   },\r
5205   {\r
5206     "id": "739b53.f4a4fcac",\r
5207     "type": "returnFailure",\r
5208     "name": "return failure",\r
5209     "xml": "<return status='failure'>\n\t<parameter name='ack-final' value='Y'/>\n\t<parameter name=\"error-code\" value=\"500\" />\n    <parameter name=\"error-message\" value=\"`'An error occurred while querying pnf from AnAI with pnf-name = ' + $prop.l3vpn.pe1_id`\" />\n\n",\r
5210     "comments": "",\r
5211     "x": 3788.0625,\r
5212     "y": 4485.85986328125,\r
5213     "z": "f8944603.71553",\r
5214     "wires": []\r
5215   },\r
5216   {\r
5217     "id": "68d1064e.ebb3b8",\r
5218     "type": "returnFailure",\r
5219     "name": "return failure",\r
5220     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
5221     "comments": "",\r
5222     "x": 3778,\r
5223     "y": 4528,\r
5224     "z": "f8944603.71553",\r
5225     "wires": []\r
5226   },\r
5227   {\r
5228     "id": "aedbd8f5.94f11",\r
5229     "type": "block",\r
5230     "name": "block : atomic",\r
5231     "xml": "<block atomic=\"true\">",\r
5232     "atomic": "true",\r
5233     "outputs": 1,\r
5234     "x": 3780,\r
5235     "y": 4572,\r
5236     "z": "f8944603.71553",\r
5237     "wires": [\r
5238       [\r
5239         "530f885c.d5a28",\r
5240         "d1326c21.abc33"\r
5241       ]\r
5242     ]\r
5243   },\r
5244   {\r
5245     "id": "7ea7dff4.93abc",\r
5246     "type": "success",\r
5247     "name": "success",\r
5248     "xml": "<outcome value='success'>\n",\r
5249     "comments": "",\r
5250     "outputs": 1,\r
5251     "x": 3622,\r
5252     "y": 4564,\r
5253     "z": "f8944603.71553",\r
5254     "wires": [\r
5255       [\r
5256         "aedbd8f5.94f11"\r
5257       ]\r
5258     ]\r
5259   },\r
5260   {\r
5261     "id": "530f885c.d5a28",\r
5262     "type": "set",\r
5263     "name": "set new bw",\r
5264     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.rootuni.data-source + $gfp`' />\n",\r
5265     "comments": "",\r
5266     "x": 3941,\r
5267     "y": 4504,\r
5268     "z": "f8944603.71553",\r
5269     "wires": []\r
5270   },\r
5271   {\r
5272     "id": "cd1fc06c.124968",\r
5273     "type": "save",\r
5274     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5275     "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
5276     "comments": "",\r
5277     "outputs": 1,\r
5278     "x": 3806,\r
5279     "y": 4843,\r
5280     "z": "f8944603.71553",\r
5281     "wires": [\r
5282       []\r
5283     ]\r
5284   },\r
5285   {\r
5286     "id": "ac8fc812.ca8b88",\r
5287     "type": "comment",\r
5288     "name": "Temporary skipping this check - to support multiple instances in one slice",\r
5289     "info": "",\r
5290     "comments": "",\r
5291     "x": 5920.88330078125,\r
5292     "y": 6592.88330078125,\r
5293     "z": "f8944603.71553",\r
5294     "wires": []\r
5295   },\r
5296   {\r
5297     "id": "140ccb32.dd72dd",\r
5298     "type": "save",\r
5299     "name": "update connectivity resource in AAI",\r
5300     "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
5301     "comments": "",\r
5302     "outputs": 1,\r
5303     "x": 5120.667236328125,\r
5304     "y": 4980.08349609375,\r
5305     "z": "f8944603.71553",\r
5306     "wires": [\r
5307       []\r
5308     ]\r
5309   },\r
5310   {\r
5311     "id": "60fccea7.c83a28",\r
5312     "type": "comment",\r
5313     "name": "Update connectivity status to modified",\r
5314     "info": "",\r
5315     "comments": "",\r
5316     "x": 5122.884033203125,\r
5317     "y": 4939.88330078125,\r
5318     "z": "f8944603.71553",\r
5319     "wires": []\r
5320   },\r
5321   {\r
5322     "id": "b61f1c95.4694d",\r
5323     "type": "save",\r
5324     "name": "update connectivity resource in AAI",\r
5325     "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
5326     "comments": "",\r
5327     "outputs": 1,\r
5328     "x": 4996.6669921875,\r
5329     "y": 5230.08349609375,\r
5330     "z": "f8944603.71553",\r
5331     "wires": [\r
5332       []\r
5333     ]\r
5334   },\r
5335   {\r
5336     "id": "82a40a13.767da8",\r
5337     "type": "comment",\r
5338     "name": "Update connectivity status to modified",\r
5339     "info": "",\r
5340     "comments": "",\r
5341     "x": 4998.8837890625,\r
5342     "y": 5189.88330078125,\r
5343     "z": "f8944603.71553",\r
5344     "wires": []\r
5345   },\r
5346   {\r
5347     "id": "91bd4596.74f628",\r
5348     "type": "call",\r
5349     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-ROOT-conn",\r
5350     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-ROOT-conn' mode='sync' >\n\n",\r
5351     "comments": "",\r
5352     "outputs": 1,\r
5353     "x": 5086.466796875,\r
5354     "y": 5592.5166015625,\r
5355     "z": "f8944603.71553",\r
5356     "wires": [\r
5357       []\r
5358     ]\r
5359   },\r
5360   {\r
5361     "id": "f50c2a2e.93dfe8",\r
5362     "type": "switchNode",\r
5363     "name": "switch found-root-connectivity",\r
5364     "xml": "\n<switch test=\"`$found-root-connectivity`\">\n\n",\r
5365     "comments": "",\r
5366     "outputs": 1,\r
5367     "x": 4913.466796875,\r
5368     "y": 5649.5166015625,\r
5369     "z": "f8944603.71553",\r
5370     "wires": [\r
5371       [\r
5372         "8646fa93.554c38",\r
5373         "a6ded94a.e3e54"\r
5374       ]\r
5375     ]\r
5376   },\r
5377   {\r
5378     "id": "8646fa93.554c38",\r
5379     "type": "outcomeTrue",\r
5380     "name": "true",\r
5381     "xml": "<outcome value='true'>\n",\r
5382     "comments": "",\r
5383     "outputs": 1,\r
5384     "x": 5124.466796875,\r
5385     "y": 5649.5166015625,\r
5386     "z": "f8944603.71553",\r
5387     "wires": [\r
5388       [\r
5389         "258b63bd.85fb7c"\r
5390       ]\r
5391     ]\r
5392   },\r
5393   {\r
5394     "id": "a6ded94a.e3e54",\r
5395     "type": "outcomeFalse",\r
5396     "name": "false",\r
5397     "xml": "<outcome value='false'>\n",\r
5398     "comments": "",\r
5399     "outputs": 1,\r
5400     "x": 5120.466796875,\r
5401     "y": 5697.5166015625,\r
5402     "z": "f8944603.71553",\r
5403     "wires": [\r
5404       [\r
5405         "d925f9fa.8153b8"\r
5406       ]\r
5407     ]\r
5408   },\r
5409   {\r
5410     "id": "258b63bd.85fb7c",\r
5411     "type": "block",\r
5412     "name": "block : atomic",\r
5413     "xml": "<block atomic='true'>",\r
5414     "atomic": "true",\r
5415     "comments": "",\r
5416     "outputs": 1,\r
5417     "x": 5280.466796875,\r
5418     "y": 5645.5166015625,\r
5419     "z": "f8944603.71553",\r
5420     "wires": [\r
5421       [\r
5422         "8d6cf51e.6059f8",\r
5423         "44488697.cdb02",\r
5424         "c9ce352b.46ce88"\r
5425       ]\r
5426     ]\r
5427   },\r
5428   {\r
5429     "id": "d925f9fa.8153b8",\r
5430     "type": "returnFailure",\r
5431     "name": "return failure",\r
5432     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='Root Connectivity was not found' />\n",\r
5433     "comments": "",\r
5434     "x": 5268.466796875,\r
5435     "y": 5692.5166015625,\r
5436     "z": "f8944603.71553",\r
5437     "wires": []\r
5438   },\r
5439   {\r
5440     "id": "df7464c9.77f0d",\r
5441     "type": "comment",\r
5442     "name": "Update connectivity status to modified",\r
5443     "info": "",\r
5444     "comments": "",\r
5445     "x": 5590.3505859375,\r
5446     "y": 5746.39990234375,\r
5447     "z": "f8944603.71553",\r
5448     "wires": []\r
5449   },\r
5450   {\r
5451     "id": "c9ce352b.46ce88",\r
5452     "type": "save",\r
5453     "name": "update connectivity resource in AAI",\r
5454     "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
5455     "comments": "",\r
5456     "outputs": 1,\r
5457     "x": 5594.1337890625,\r
5458     "y": 5784.60009765625,\r
5459     "z": "f8944603.71553",\r
5460     "wires": [\r
5461       []\r
5462     ]\r
5463   },\r
5464   {\r
5465     "id": "44488697.cdb02",\r
5466     "type": "save",\r
5467     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5468     "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
5469     "comments": "",\r
5470     "outputs": 1,\r
5471     "x": 5700.466796875,\r
5472     "y": 5697.5166015625,\r
5473     "z": "f8944603.71553",\r
5474     "wires": [\r
5475       []\r
5476     ]\r
5477   },\r
5478   {\r
5479     "id": "8d6cf51e.6059f8",\r
5480     "type": "set",\r
5481     "name": "set prop.connectivity-domainB-uuid",\r
5482     "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
5483     "comments": "",\r
5484     "x": 5584.466796875,\r
5485     "y": 5645.5166015625,\r
5486     "z": "f8944603.71553",\r
5487     "wires": []\r
5488   },\r
5489   {\r
5490     "id": "7e224339.ebcda4",\r
5491     "type": "comment",\r
5492     "name": "populate connectivity-B variable in the context map",\r
5493     "info": "",\r
5494     "comments": "",\r
5495     "x": 4975.466796875,\r
5496     "y": 5550.5166015625,\r
5497     "z": "f8944603.71553",\r
5498     "wires": []\r
5499   },\r
5500   {\r
5501     "id": "60c16c76.a98d34",\r
5502     "type": "block",\r
5503     "name": "block",\r
5504     "xml": "<block>\n",\r
5505     "atomic": "false",\r
5506     "comments": "",\r
5507     "outputs": 1,\r
5508     "x": 4687.7998046875,\r
5509     "y": 5725.5166015625,\r
5510     "z": "f8944603.71553",\r
5511     "wires": [\r
5512       [\r
5513         "91bd4596.74f628",\r
5514         "f50c2a2e.93dfe8",\r
5515         "b08c7802.5d204",\r
5516         "7492e58a.da53dc"\r
5517       ]\r
5518     ]\r
5519   },\r
5520   {\r
5521     "id": "8396080f.a7f6c8",\r
5522     "type": "save",\r
5523     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
5524     "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
5525     "comments": "",\r
5526     "outputs": 1,\r
5527     "x": 4987.8330078125,\r
5528     "y": 6086.2001953125,\r
5529     "z": "f8944603.71553",\r
5530     "wires": [\r
5531       []\r
5532     ]\r
5533   },\r
5534   {\r
5535     "id": "e07ba4bc.bfaae8",\r
5536     "type": "call",\r
5537     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-searchVpnName",\r
5538     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-searchVpnName' mode='sync' >\n\n",\r
5539     "comments": "",\r
5540     "outputs": 1,\r
5541     "x": 5794.116668701172,\r
5542     "y": 6923.116668701172,\r
5543     "z": "f8944603.71553",\r
5544     "wires": [\r
5545       []\r
5546     ]\r
5547   },\r
5548   {\r
5549     "id": "55635f65.d76ee8",\r
5550     "type": "block",\r
5551     "name": "block : atomic",\r
5552     "xml": "<block atomic='true'>",\r
5553     "atomic": "true",\r
5554     "comments": "",\r
5555     "outputs": 1,\r
5556     "x": 5413.116668701172,\r
5557     "y": 6926.116668701172,\r
5558     "z": "f8944603.71553",\r
5559     "wires": [\r
5560       [\r
5561         "e07ba4bc.bfaae8",\r
5562         "d0282e45.27576",\r
5563         "be279863.754a6"\r
5564       ]\r
5565     ]\r
5566   },\r
5567   {\r
5568     "id": "d0282e45.27576",\r
5569     "type": "switchNode",\r
5570     "name": "switch $foundVpnName",\r
5571     "xml": "<switch test=\"`$foundVpnName`\">\n\n",\r
5572     "comments": "",\r
5573     "outputs": 1,\r
5574     "x": 5639.116668701172,\r
5575     "y": 6978.116668701172,\r
5576     "z": "f8944603.71553",\r
5577     "wires": [\r
5578       [\r
5579         "adb0d898.09cba8"\r
5580       ]\r
5581     ]\r
5582   },\r
5583   {\r
5584     "id": "adb0d898.09cba8",\r
5585     "type": "outcomeTrue",\r
5586     "name": "true",\r
5587     "xml": "<outcome value='true'>\n",\r
5588     "comments": "",\r
5589     "outputs": 1,\r
5590     "x": 5818.116668701172,\r
5591     "y": 6977.116668701172,\r
5592     "z": "f8944603.71553",\r
5593     "wires": [\r
5594       [\r
5595         "494eed0f.99eb84"\r
5596       ]\r
5597     ]\r
5598   },\r
5599   {\r
5600     "id": "be279863.754a6",\r
5601     "type": "set",\r
5602     "name": "set vpnNameToSearch",\r
5603     "xml": "<set>\n<parameter name='vpnNameToSearch' value=\"`$tmp.aai.all-vpn-bindings.vpn-binding[$vpnbidx].vpn-name`\" />\n",\r
5604     "comments": "",\r
5605     "x": 5640.116668701172,\r
5606     "y": 6871.116668701172,\r
5607     "z": "f8944603.71553",\r
5608     "wires": []\r
5609   },\r
5610   {\r
5611     "id": "3cd9264c.3cdbea",\r
5612     "type": "notify",\r
5613     "name": "notify",\r
5614     "xml": "<notify plugin='' resource='' action='' >\n",\r
5615     "comments": "",\r
5616     "outputs": 1,\r
5617     "x": 2634.116668701172,\r
5618     "y": 920.1166687011719,\r
5619     "z": "f8944603.71553",\r
5620     "wires": [\r
5621       []\r
5622     ]\r
5623   },\r
5624   {\r
5625     "id": "d4db1de6.243c9",\r
5626     "type": "set",\r
5627     "name": "set network-route-three",\r
5628     "xml": "<set>\n<parameter name='network-route-three' value=\"`$tmp.aai.logical-link.segment-id`\" />\n\n\n",\r
5629     "comments": "",\r
5630     "x": 3312.116668701172,\r
5631     "y": 696.1166687011719,\r
5632     "z": "f8944603.71553",\r
5633     "wires": []\r
5634   },\r
5635   {\r
5636     "id": "b2eea3d4.d83b2",\r
5637     "type": "not-found",\r
5638     "name": "not-found",\r
5639     "xml": "<outcome value='not-found'>\n",\r
5640     "comments": "",\r
5641     "outputs": 1,\r
5642     "x": 3528.116668701172,\r
5643     "y": 1024.1166687011719,\r
5644     "z": "f8944603.71553",\r
5645     "wires": [\r
5646       []\r
5647     ]\r
5648   },\r
5649   {\r
5650     "id": "c92a9c74.6d8cb",\r
5651     "type": "failure",\r
5652     "name": "failure",\r
5653     "xml": "<outcome value='failure'>\n",\r
5654     "comments": "",\r
5655     "outputs": 1,\r
5656     "x": 3523.625732421875,\r
5657     "y": 1066.542724609375,\r
5658     "z": "f8944603.71553",\r
5659     "wires": [\r
5660       []\r
5661     ]\r
5662   },\r
5663   {\r
5664     "id": "be6d3c2.c1bdfc",\r
5665     "type": "success",\r
5666     "name": "success",\r
5667     "xml": "<outcome value='success'>\n",\r
5668     "comments": "",\r
5669     "outputs": 1,\r
5670     "x": 3527.625701904297,\r
5671     "y": 1114.5426940917969,\r
5672     "z": "f8944603.71553",\r
5673     "wires": [\r
5674       [\r
5675         "82044de7.824378"\r
5676       ]\r
5677     ]\r
5678   },\r
5679   {\r
5680     "id": "82044de7.824378",\r
5681     "type": "block",\r
5682     "name": "block : atomic",\r
5683     "xml": "<block atomic=\"true\">",\r
5684     "atomic": "true",\r
5685     "outputs": 1,\r
5686     "x": 3685.116668701172,\r
5687     "y": 1114.1166687011719,\r
5688     "z": "f8944603.71553",\r
5689     "wires": [\r
5690       [\r
5691         "9732d3c5.76e0c8"\r
5692       ]\r
5693     ]\r
5694   },\r
5695   {\r
5696     "id": "9732d3c5.76e0c8",\r
5697     "type": "switchNode",\r
5698     "name": "switch nr type",\r
5699     "xml": "<switch test='`$tmp.aai.network-route-three.type`'>\n",\r
5700     "comments": "",\r
5701     "outputs": 1,\r
5702     "x": 3855.11669921875,\r
5703     "y": 1117.1168212890625,\r
5704     "z": "f8944603.71553",\r
5705     "wires": [\r
5706       [\r
5707         "7d1d73b.5c3fc8c",\r
5708         "8cd6f95a.d7c4d",\r
5709         "68098f91.a64618"\r
5710       ]\r
5711     ]\r
5712   },\r
5713   {\r
5714     "id": "7d1d73b.5c3fc8c",\r
5715     "type": "outcome",\r
5716     "name": "ROOT",\r
5717     "xml": "<outcome value='ROOT'>\n",\r
5718     "comments": "",\r
5719     "outputs": 1,\r
5720     "x": 4029.116668701172,\r
5721     "y": 1055.1167907714844,\r
5722     "z": "f8944603.71553",\r
5723     "wires": [\r
5724       [\r
5725         "a9479bec.894888"\r
5726       ]\r
5727     ]\r
5728   },\r
5729   {\r
5730     "id": "8cd6f95a.d7c4d",\r
5731     "type": "outcome",\r
5732     "name": "LEAF",\r
5733     "xml": "<outcome value='LEAF'>\n",\r
5734     "comments": "",\r
5735     "outputs": 1,\r
5736     "x": 4031.116668701172,\r
5737     "y": 1109.1167907714844,\r
5738     "z": "f8944603.71553",\r
5739     "wires": [\r
5740       [\r
5741         "d844935e.741748"\r
5742       ]\r
5743     ]\r
5744   },\r
5745   {\r
5746     "id": "a9479bec.894888",\r
5747     "type": "block",\r
5748     "name": "block",\r
5749     "xml": "<block>\n",\r
5750     "atomic": "false",\r
5751     "comments": "",\r
5752     "outputs": 1,\r
5753     "x": 4157.116668701172,\r
5754     "y": 1055.1167907714844,\r
5755     "z": "f8944603.71553",\r
5756     "wires": [\r
5757       [\r
5758         "7a232bae.539a2c",\r
5759         "19f7263a.0f2e72"\r
5760       ]\r
5761     ]\r
5762   },\r
5763   {\r
5764     "id": "d844935e.741748",\r
5765     "type": "block",\r
5766     "name": "block",\r
5767     "xml": "<block>\n",\r
5768     "atomic": "false",\r
5769     "comments": "",\r
5770     "outputs": 1,\r
5771     "x": 4160.116668701172,\r
5772     "y": 1108.1167907714844,\r
5773     "z": "f8944603.71553",\r
5774     "wires": [\r
5775       [\r
5776         "e31191f4.c7e44",\r
5777         "c783c2e3.52d62"\r
5778       ]\r
5779     ]\r
5780   },\r
5781   {\r
5782     "id": "19f7263a.0f2e72",\r
5783     "type": "set",\r
5784     "name": "set network-route-B",\r
5785     "xml": "<set>\n<parameter name='tmp.aai.network-route-B.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5786     "comments": "",\r
5787     "x": 4318.116668701172,\r
5788     "y": 1079.1167907714844,\r
5789     "z": "f8944603.71553",\r
5790     "wires": []\r
5791   },\r
5792   {\r
5793     "id": "e31191f4.c7e44",\r
5794     "type": "set",\r
5795     "name": "set network-route-LEAF",\r
5796     "xml": "<set>\n<parameter name='tmp.aai.network-route-LEAF.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5797     "comments": "",\r
5798     "x": 4335.116668701172,\r
5799     "y": 1121.1167907714844,\r
5800     "z": "f8944603.71553",\r
5801     "wires": []\r
5802   },\r
5803   {\r
5804     "id": "c783c2e3.52d62",\r
5805     "type": "set",\r
5806     "name": "set network-route-A",\r
5807     "xml": "<set>\n<parameter name='tmp.aai.network-route-A.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5808     "comments": "",\r
5809     "x": 4320.116668701172,\r
5810     "y": 1159.1167907714844,\r
5811     "z": "f8944603.71553",\r
5812     "wires": []\r
5813   },\r
5814   {\r
5815     "id": "7a232bae.539a2c",\r
5816     "type": "set",\r
5817     "name": "set network-route-ROOT",\r
5818     "xml": "<set>\n<parameter name='tmp.aai.network-route-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5819     "comments": "",\r
5820     "x": 4332.116668701172,\r
5821     "y": 1039.1167907714844,\r
5822     "z": "f8944603.71553",\r
5823     "wires": []\r
5824   },\r
5825   {\r
5826     "id": "5dbb2ad5.55ee04",\r
5827     "type": "comment",\r
5828     "name": "This is it (should be)",\r
5829     "info": "",\r
5830     "comments": "",\r
5831     "x": 4497.116668701172,\r
5832     "y": 1055.1167907714844,\r
5833     "z": "f8944603.71553",\r
5834     "wires": []\r
5835   },\r
5836   {\r
5837     "id": "4c9f1a43.e137e4",\r
5838     "type": "save",\r
5839     "name": "get network-route-three from aai",\r
5840     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"network-route\"\n\tkey='network-route.route-id = $network-route-three'\n\tlocal-only=\"false\"\n\tforce=\"true\" pfx=\"tmp.aai.network-route-three\">",\r
5841     "comments": "",\r
5842     "outputs": 1,\r
5843     "x": 3288.116668701172,\r
5844     "y": 1041.1166687011719,\r
5845     "z": "f8944603.71553",\r
5846     "wires": [\r
5847       [\r
5848         "b2eea3d4.d83b2",\r
5849         "c92a9c74.6d8cb",\r
5850         "be6d3c2.c1bdfc"\r
5851       ]\r
5852     ]\r
5853   },\r
5854   {\r
5855     "id": "68098f91.a64618",\r
5856     "type": "outcome",\r
5857     "name": "SECONDARY-ROOT",\r
5858     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
5859     "comments": "",\r
5860     "outputs": 1,\r
5861     "x": 3974.116668701172,\r
5862     "y": 1173.1166687011719,\r
5863     "z": "f8944603.71553",\r
5864     "wires": [\r
5865       [\r
5866         "3baeb12d.78947e"\r
5867       ]\r
5868     ]\r
5869   },\r
5870   {\r
5871     "id": "3baeb12d.78947e",\r
5872     "type": "block",\r
5873     "name": "block",\r
5874     "xml": "<block>\n",\r
5875     "atomic": "false",\r
5876     "comments": "",\r
5877     "outputs": 1,\r
5878     "x": 4148.116668701172,\r
5879     "y": 1168.1166687011719,\r
5880     "z": "f8944603.71553",\r
5881     "wires": [\r
5882       [\r
5883         "f32a06d7.18ee6",\r
5884         "9c8c5f6f.4f4828"\r
5885       ]\r
5886     ]\r
5887   },\r
5888   {\r
5889     "id": "9c8c5f6f.4f4828",\r
5890     "type": "set",\r
5891     "name": "set network-route-C",\r
5892     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
5893     "comments": "",\r
5894     "x": 4318.116668701172,\r
5895     "y": 1241.1166687011719,\r
5896     "z": "f8944603.71553",\r
5897     "wires": []\r
5898   },\r
5899   {\r
5900     "id": "f32a06d7.18ee6",\r
5901     "type": "set",\r
5902     "name": "set network-route-SECONDARY-ROOT",\r
5903     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-three.`\" />\n\n\n",\r
5904     "comments": "",\r
5905     "x": 4372.116668701172,\r
5906     "y": 1201.1166687011719,\r
5907     "z": "f8944603.71553",\r
5908     "wires": []\r
5909   },\r
5910   {\r
5911     "id": "89b3411b.fe2cb",\r
5912     "type": "comment",\r
5913     "name": "This is it (should be)",\r
5914     "info": "",\r
5915     "comments": "",\r
5916     "x": 4486.116668701172,\r
5917     "y": 1226.1166687011719,\r
5918     "z": "f8944603.71553",\r
5919     "wires": []\r
5920   },\r
5921   {\r
5922     "id": "fe4b773c.0eae98",\r
5923     "type": "outcome",\r
5924     "name": "SECONDARY-ROOT",\r
5925     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
5926     "comments": "",\r
5927     "outputs": 1,\r
5928     "x": 4045.116668701172,\r
5929     "y": 929.1166687011719,\r
5930     "z": "f8944603.71553",\r
5931     "wires": [\r
5932       [\r
5933         "a6d4107d.6655f"\r
5934       ]\r
5935     ]\r
5936   },\r
5937   {\r
5938     "id": "e8ae3a08.56b988",\r
5939     "type": "set",\r
5940     "name": "set network-route-C",\r
5941     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5942     "comments": "",\r
5943     "x": 4389.116668701172,\r
5944     "y": 997.1166687011719,\r
5945     "z": "f8944603.71553",\r
5946     "wires": []\r
5947   },\r
5948   {\r
5949     "id": "8ecb2104.b1fc58",\r
5950     "type": "set",\r
5951     "name": "set network-route-SECONDARY-ROOT",\r
5952     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-two.`\" />\n\n\n",\r
5953     "comments": "",\r
5954     "x": 4443.116668701172,\r
5955     "y": 957.1166687011719,\r
5956     "z": "f8944603.71553",\r
5957     "wires": []\r
5958   },\r
5959   {\r
5960     "id": "a817660e.e9d2",\r
5961     "type": "comment",\r
5962     "name": "This is it (should be)",\r
5963     "info": "",\r
5964     "comments": "",\r
5965     "x": 4587.116668701172,\r
5966     "y": 986.1166687011719,\r
5967     "z": "f8944603.71553",\r
5968     "wires": []\r
5969   },\r
5970   {\r
5971     "id": "a6d4107d.6655f",\r
5972     "type": "block",\r
5973     "name": "block",\r
5974     "xml": "<block>\n",\r
5975     "atomic": "false",\r
5976     "comments": "",\r
5977     "outputs": 1,\r
5978     "x": 4219.116668701172,\r
5979     "y": 924.1166687011719,\r
5980     "z": "f8944603.71553",\r
5981     "wires": [\r
5982       [\r
5983         "8ecb2104.b1fc58",\r
5984         "e8ae3a08.56b988"\r
5985       ]\r
5986     ]\r
5987   },\r
5988   {\r
5989     "id": "83ce05e.7f315f8",\r
5990     "type": "outcome",\r
5991     "name": "SECONDARY-ROOT",\r
5992     "xml": "<outcome value='SECONDARY-ROOT'>\n",\r
5993     "comments": "",\r
5994     "outputs": 1,\r
5995     "x": 4105.116668701172,\r
5996     "y": 667.1166687011719,\r
5997     "z": "f8944603.71553",\r
5998     "wires": [\r
5999       [\r
6000         "d03cb873.c57328"\r
6001       ]\r
6002     ]\r
6003   },\r
6004   {\r
6005     "id": "2049e56d.3172ca",\r
6006     "type": "set",\r
6007     "name": "set network-route-C",\r
6008     "xml": "<set>\n<parameter name='tmp.aai.network-route-C.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
6009     "comments": "",\r
6010     "x": 4449.116668701172,\r
6011     "y": 735.1166687011719,\r
6012     "z": "f8944603.71553",\r
6013     "wires": []\r
6014   },\r
6015   {\r
6016     "id": "6995e48e.171b9c",\r
6017     "type": "set",\r
6018     "name": "set network-route-SECONDARY-ROOT",\r
6019     "xml": "<set>\n<parameter name='tmp.aai.network-route-SECONDARY-ROOT.' value=\"`$tmp.aai.network-route-one.`\" />\n\n\n",\r
6020     "comments": "",\r
6021     "x": 4503.116668701172,\r
6022     "y": 695.1166687011719,\r
6023     "z": "f8944603.71553",\r
6024     "wires": []\r
6025   },\r
6026   {\r
6027     "id": "80fe4b30.9273d",\r
6028     "type": "comment",\r
6029     "name": "This is it (should be)",\r
6030     "info": "",\r
6031     "comments": "",\r
6032     "x": 4617.116668701172,\r
6033     "y": 720.1166687011719,\r
6034     "z": "f8944603.71553",\r
6035     "wires": []\r
6036   },\r
6037   {\r
6038     "id": "d03cb873.c57328",\r
6039     "type": "block",\r
6040     "name": "block",\r
6041     "xml": "<block>\n",\r
6042     "atomic": "false",\r
6043     "comments": "",\r
6044     "outputs": 1,\r
6045     "x": 4279.116668701172,\r
6046     "y": 662.1166687011719,\r
6047     "z": "f8944603.71553",\r
6048     "wires": [\r
6049       [\r
6050         "6995e48e.171b9c",\r
6051         "2049e56d.3172ca"\r
6052       ]\r
6053     ]\r
6054   },\r
6055   {\r
6056     "id": "d8eb368d.7e35e8",\r
6057     "type": "block",\r
6058     "name": "block : atomic",\r
6059     "xml": "<block atomic=\"true\">",\r
6060     "atomic": "true",\r
6061     "outputs": 1,\r
6062     "x": 3686.116668701172,\r
6063     "y": 2544.116668701172,\r
6064     "z": "f8944603.71553",\r
6065     "wires": [\r
6066       [\r
6067         "9d31c4f.62b63b8",\r
6068         "42d540.6e2552c"\r
6069       ]\r
6070     ]\r
6071   },\r
6072   {\r
6073     "id": "4acebe87.51a2e",\r
6074     "type": "success",\r
6075     "name": "success",\r
6076     "xml": "<outcome value='success'>\n",\r
6077     "comments": "",\r
6078     "outputs": 1,\r
6079     "x": 3513.450164794922,\r
6080     "y": 2545.116668701172,\r
6081     "z": "f8944603.71553",\r
6082     "wires": [\r
6083       [\r
6084         "d8eb368d.7e35e8"\r
6085       ]\r
6086     ]\r
6087   },\r
6088   {\r
6089     "id": "faf79ca9.39c718",\r
6090     "type": "not-found",\r
6091     "name": "not-found",\r
6092     "xml": "<outcome value='not-found'>\n",\r
6093     "comments": "",\r
6094     "outputs": 1,\r
6095     "x": 3522.941131591797,\r
6096     "y": 2587.690704345703,\r
6097     "z": "f8944603.71553",\r
6098     "wires": [\r
6099       []\r
6100     ]\r
6101   },\r
6102   {\r
6103     "id": "760b8826.a76aa",\r
6104     "type": "failure",\r
6105     "name": "failure",\r
6106     "xml": "<outcome value='failure'>\n",\r
6107     "comments": "",\r
6108     "outputs": 1,\r
6109     "x": 3511.450164794922,\r
6110     "y": 2634.116668701172,\r
6111     "z": "f8944603.71553",\r
6112     "wires": [\r
6113       []\r
6114     ]\r
6115   },\r
6116   {\r
6117     "id": "9d31c4f.62b63b8",\r
6118     "type": "execute",\r
6119     "name": "execute split tp-id to get pnf-name",\r
6120     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.p-interface-dst.interface-name`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC\"/>\n\n\n",\r
6121     "comments": "",\r
6122     "outputs": 1,\r
6123     "x": 3972.450164794922,\r
6124     "y": 2548.1167907714844,\r
6125     "z": "f8944603.71553",\r
6126     "wires": [\r
6127       [\r
6128         "beea1414.622ca8",\r
6129         "e0900c85.f5153"\r
6130       ]\r
6131     ]\r
6132   },\r
6133   {\r
6134     "id": "e0900c85.f5153",\r
6135     "type": "failure",\r
6136     "name": "success",\r
6137     "xml": "<outcome value='success'>\n",\r
6138     "comments": "",\r
6139     "outputs": 1,\r
6140     "x": 4195.450164794922,\r
6141     "y": 2503.1167907714844,\r
6142     "z": "f8944603.71553",\r
6143     "wires": [\r
6144       [\r
6145         "b1fce547.cdefa8"\r
6146       ]\r
6147     ]\r
6148   },\r
6149   {\r
6150     "id": "beea1414.622ca8",\r
6151     "type": "failure",\r
6152     "name": "failure",\r
6153     "xml": "<outcome value='failure'>\n",\r
6154     "comments": "",\r
6155     "outputs": 1,\r
6156     "x": 4197.450164794922,\r
6157     "y": 2567.1167907714844,\r
6158     "z": "f8944603.71553",\r
6159     "wires": [\r
6160       [\r
6161         "1f2077c9.d2f12"\r
6162       ]\r
6163     ]\r
6164   },\r
6165   {\r
6166     "id": "1931dff5.72d728",\r
6167     "type": "save",\r
6168     "name": "get p-interface-dst from aai",\r
6169     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"p-interface\"\n\t    key=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\n\t        AND p-interface.interface-name = $tmp.aai.network-route-C.next-hop\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.network-route-C.p-interface-dst\" >\n\n<!--<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" -->\n<!--\tresource=\"p-interface\"-->\n<!--\t    key=\"pnf.pnf-name = $unique-src-node-Id-->\n<!--\t        and p-interface.interface-name = $tmp.aai.endpointA.relationship-list.relationship[$rel-index].relationship-data[0].relationship-value\"-->\n<!--\t\tlocal-only=\"false\" -->\n<!--\t\tpfx=\"tmp.aai.endpointA.p-interface-src\" >-->\n",\r
6170     "comments": "",\r
6171     "outputs": 1,\r
6172     "x": 3285.450164794922,\r
6173     "y": 2580.116668701172,\r
6174     "z": "f8944603.71553",\r
6175     "wires": [\r
6176       [\r
6177         "4acebe87.51a2e",\r
6178         "faf79ca9.39c718",\r
6179         "760b8826.a76aa"\r
6180       ]\r
6181     ]\r
6182   },\r
6183   {\r
6184     "id": "20a2805c.f7ce68",\r
6185     "type": "comment",\r
6186     "name": "Question?",\r
6187     "info": "How to know if DG would send this get request\nin \"nodes\" namespace instead of \"network\" namespace?",\r
6188     "comments": "",\r
6189     "x": 3246.450164794922,\r
6190     "y": 2524.116668701172,\r
6191     "z": "f8944603.71553",\r
6192     "wires": []\r
6193   },\r
6194   {\r
6195     "id": "f953800.9cf34",\r
6196     "type": "execute",\r
6197     "name": "execute split tp-id to get pnf-name",\r
6198     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliStringUtils' method='split' >\n<parameter name=\"original_string\" value='`$tmp.aai.network-route-C.next-hop`'/>\n<!--<parameter name=\"regex\" value=\"[^-]+$\"/>-->\n<parameter name=\"regex\" value=\"[-]+\"/>\n<parameter name=\"ctx_memory_result_key\" value=\"param-prefix-domainC-pnfName\"/>\n\n",\r
6199     "comments": "",\r
6200     "outputs": 1,\r
6201     "x": 3305.450164794922,\r
6202     "y": 2320.116668701172,\r
6203     "z": "f8944603.71553",\r
6204     "wires": [\r
6205       [\r
6206         "1523d633.28a802",\r
6207         "23587c7d.fbba4c"\r
6208       ]\r
6209     ]\r
6210   },\r
6211   {\r
6212     "id": "23587c7d.fbba4c",\r
6213     "type": "failure",\r
6214     "name": "success",\r
6215     "xml": "<outcome value='success'>\n",\r
6216     "comments": "",\r
6217     "outputs": 1,\r
6218     "x": 3528.450164794922,\r
6219     "y": 2306.116668701172,\r
6220     "z": "f8944603.71553",\r
6221     "wires": [\r
6222       [\r
6223         "c7b4b7e7.8e8b78"\r
6224       ]\r
6225     ]\r
6226   },\r
6227   {\r
6228     "id": "1523d633.28a802",\r
6229     "type": "failure",\r
6230     "name": "failure",\r
6231     "xml": "<outcome value='failure'>\n",\r
6232     "comments": "",\r
6233     "outputs": 1,\r
6234     "x": 3530.450164794922,\r
6235     "y": 2339.116668701172,\r
6236     "z": "f8944603.71553",\r
6237     "wires": [\r
6238       []\r
6239     ]\r
6240   },\r
6241   {\r
6242     "id": "c7b4b7e7.8e8b78",\r
6243     "type": "block",\r
6244     "name": "block : atomic",\r
6245     "xml": "<block atomic=\"true\">",\r
6246     "atomic": "true",\r
6247     "outputs": 1,\r
6248     "x": 3676.450164794922,\r
6249     "y": 2299.116668701172,\r
6250     "z": "f8944603.71553",\r
6251     "wires": [\r
6252       [\r
6253         "cb965cfe.67a2f",\r
6254         "1a7add8d.af97ca"\r
6255       ]\r
6256     ]\r
6257   },\r
6258   {\r
6259     "id": "cb965cfe.67a2f",\r
6260     "type": "set",\r
6261     "name": "set pnf-name",\r
6262     "xml": "<set>\n<parameter name='tmp.dst.domainC.pnf-name' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n",\r
6263     "comments": "",\r
6264     "x": 3870.450164794922,\r
6265     "y": 2302.1167907714844,\r
6266     "z": "f8944603.71553",\r
6267     "wires": []\r
6268   },\r
6269   {\r
6270     "id": "42d540.6e2552c",\r
6271     "type": "for",\r
6272     "name": "for each relationship",\r
6273     "xml": "<for silentFailure='true' index='dividx' start='0' end='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship_length`' >\n",\r
6274     "comments": "",\r
6275     "outputs": 1,\r
6276     "x": 3923.4501342773438,\r
6277     "y": 2671.1166381835938,\r
6278     "z": "f8944603.71553",\r
6279     "wires": [\r
6280       [\r
6281         "b84e7511.3844a8"\r
6282       ]\r
6283     ]\r
6284   },\r
6285   {\r
6286     "id": "b84e7511.3844a8",\r
6287     "type": "switchNode",\r
6288     "name": "switch related-to",\r
6289     "xml": "<switch test='`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].related-to`'>\n",\r
6290     "comments": "",\r
6291     "outputs": 1,\r
6292     "x": 4129.450134277344,\r
6293     "y": 2671.1166381835938,\r
6294     "z": "f8944603.71553",\r
6295     "wires": [\r
6296       [\r
6297         "ac19c527.29aaf8"\r
6298       ]\r
6299     ]\r
6300   },\r
6301   {\r
6302     "id": "1a7add8d.af97ca",\r
6303     "type": "get-resource",\r
6304     "name": "get-resource src pnf",\r
6305     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"pnf\" \n\t\tkey=\"pnf.pnf-name = $tmp.dst.domainC.pnf-name\"\n        pfx='tmp.aai.destination-secondary-pnf' local-only='false' >\n\n        <!--AND depth = '0'\"-->\n",\r
6306     "comments": "",\r
6307     "outputs": 1,\r
6308     "x": 3892.450164794922,\r
6309     "y": 2370.1167907714844,\r
6310     "z": "f8944603.71553",\r
6311     "wires": [\r
6312       [\r
6313         "c6c93f82.1aa228",\r
6314         "f4da497f.0275c8",\r
6315         "6e9758a5.eabec"\r
6316       ]\r
6317     ]\r
6318   },\r
6319   {\r
6320     "id": "c6c93f82.1aa228",\r
6321     "type": "success",\r
6322     "name": "success",\r
6323     "xml": "<outcome value='success'>\n",\r
6324     "comments": "",\r
6325     "outputs": 1,\r
6326     "x": 4087.9502868652344,\r
6327     "y": 2322.1167907714844,\r
6328     "z": "f8944603.71553",\r
6329     "wires": [\r
6330       [\r
6331         "a1f1dc1c.4be4e8"\r
6332       ]\r
6333     ]\r
6334   },\r
6335   {\r
6336     "id": "f4da497f.0275c8",\r
6337     "type": "not-found",\r
6338     "name": "not-found",\r
6339     "xml": "<outcome value='not-found'>\n",\r
6340     "comments": "",\r
6341     "outputs": 1,\r
6342     "x": 4079.9502868652344,\r
6343     "y": 2377.1167907714844,\r
6344     "z": "f8944603.71553",\r
6345     "wires": [\r
6346       [\r
6347         "dd2530b3.0ce388"\r
6348       ]\r
6349     ]\r
6350   },\r
6351   {\r
6352     "id": "6e9758a5.eabec",\r
6353     "type": "other",\r
6354     "name": "other",\r
6355     "xml": "<outcome value='Other'>\n",\r
6356     "comments": "",\r
6357     "outputs": 1,\r
6358     "x": 4084.9502868652344,\r
6359     "y": 2434.1167907714844,\r
6360     "z": "f8944603.71553",\r
6361     "wires": [\r
6362       [\r
6363         "35cb1b46.9ab3ac"\r
6364       ]\r
6365     ]\r
6366   },\r
6367   {\r
6368     "id": "35cb1b46.9ab3ac",\r
6369     "type": "returnFailure",\r
6370     "name": "return failure",\r
6371     "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
6372     "comments": "",\r
6373     "x": 4236.950286865234,\r
6374     "y": 2435.1167907714844,\r
6375     "z": "f8944603.71553",\r
6376     "wires": []\r
6377   },\r
6378   {\r
6379     "id": "a1f1dc1c.4be4e8",\r
6380     "type": "block",\r
6381     "name": "block",\r
6382     "xml": "<block>\n",\r
6383     "atomic": "false",\r
6384     "comments": "",\r
6385     "outputs": 1,\r
6386     "x": 4232.332611083984,\r
6387     "y": 2319.7724609375,\r
6388     "z": "f8944603.71553",\r
6389     "wires": [\r
6390       [\r
6391         "807e8aa5.b5f288"\r
6392       ]\r
6393     ]\r
6394   },\r
6395   {\r
6396     "id": "be1fed24.75522",\r
6397     "type": "set",\r
6398     "name": "set SECONDARY-ROOT stuff",\r
6399     "xml": "<set>\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-long' value=\"`$param-prefix-domainC-pnfName[0] + '-' +\n                                                   $param-prefix-domainC-pnfName[1] + '-' +\n                                                   $param-prefix-domainC-pnfName[2] + '-' +\n                                                   $param-prefix-domainC-pnfName[3] + '-' +\n                                                   $param-prefix-domainC-pnfName[4] + '-' +\n                                                   $param-prefix-domainC-pnfName[5] + '-' +\n                                                   $param-prefix-domainC-pnfName[6] + '-' +\n                                                   $param-prefix-domainC-pnfName[7] + '-' +\n                                                   $param-prefix-domainC-pnfName[8]`\" />\n\n<!--<parameter name='tmp.ROOT.pnf-name-short' value=\"`$param-prefix-domainB-pnfName[8]`\" />-->\n<parameter name='tmp.SECONDARY-ROOT.pnf-name-short' value=\"`$tmp.dst-secondary.pnf-name`\" />\n\n<parameter name='tmp.SECONDARY-ROOT.uni-p-interface-long' value=\"`$tmp.aai.network-route-C.next-hop + '-' + $tmp.aai.network-route-C.logical-interface-id`\" />\n<parameter name='tmp.SECONDARY-ROOT.uni-tp-id' value=\"`$tmp.dst-secondary.ltpId`\" />\n",\r
6400     "comments": "",\r
6401     "x": 3308.116668701172,\r
6402     "y": 2659.116668701172,\r
6403     "z": "f8944603.71553",\r
6404     "wires": []\r
6405   },\r
6406   {\r
6407     "id": "89002347.f12fb8",\r
6408     "type": "comment",\r
6409     "name": "NOT NEEDED ANYMORE?",\r
6410     "info": "",\r
6411     "comments": "",\r
6412     "x": 3983.1166381835938,\r
6413     "y": 2623.1166381835938,\r
6414     "z": "f8944603.71553",\r
6415     "wires": []\r
6416   },\r
6417   {\r
6418     "id": "1f2077c9.d2f12",\r
6419     "type": "returnFailure",\r
6420     "name": "return failure",\r
6421     "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
6422     "comments": "",\r
6423     "x": 4356.450164794922,\r
6424     "y": 2586.1167907714844,\r
6425     "z": "f8944603.71553",\r
6426     "wires": []\r
6427   },\r
6428   {\r
6429     "id": "b1fce547.cdefa8",\r
6430     "type": "block",\r
6431     "name": "block : atomic",\r
6432     "xml": "<block atomic=\"true\">",\r
6433     "atomic": "true",\r
6434     "outputs": 1,\r
6435     "x": 4360.450164794922,\r
6436     "y": 2500.1167907714844,\r
6437     "z": "f8944603.71553",\r
6438     "wires": [\r
6439       [\r
6440         "9ddcbad2.3cd968",\r
6441         "a4909c74.16b3c"\r
6442       ]\r
6443     ]\r
6444   },\r
6445   {\r
6446     "id": "ac19c527.29aaf8",\r
6447     "type": "outcome",\r
6448     "name": "tunnel-termination-point",\r
6449     "xml": "<outcome value='tunnel-termination-point'>\n",\r
6450     "comments": "",\r
6451     "outputs": 1,\r
6452     "x": 4346.735778808594,\r
6453     "y": 2669.9384155273438,\r
6454     "z": "f8944603.71553",\r
6455     "wires": [\r
6456       [\r
6457         "aecc45b1.07799"\r
6458       ]\r
6459     ]\r
6460   },\r
6461   {\r
6462     "id": "dd2530b3.0ce388",\r
6463     "type": "returnFailure",\r
6464     "name": "return failure",\r
6465     "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
6466     "comments": "",\r
6467     "x": 4247.950286865234,\r
6468     "y": 2380.1167907714844,\r
6469     "z": "f8944603.71553",\r
6470     "wires": []\r
6471   },\r
6472   {\r
6473     "id": "9ddcbad2.3cd968",\r
6474     "type": "set",\r
6475     "name": "set ltpId",\r
6476     "xml": "<set>\n<parameter name='tmp.dst-secondary.ltpId' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n",\r
6477     "comments": "",\r
6478     "x": 4530.450164794922,\r
6479     "y": 2461.1167907714844,\r
6480     "z": "f8944603.71553",\r
6481     "wires": []\r
6482   },\r
6483   {\r
6484     "id": "a4909c74.16b3c",\r
6485     "type": "set",\r
6486     "name": "set pnf-name",\r
6487     "xml": "<set>\n<parameter name='tmp.dst-secondary.pnf-name' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n",\r
6488     "comments": "",\r
6489     "x": 4531.450164794922,\r
6490     "y": 2566.1167907714844,\r
6491     "z": "f8944603.71553",\r
6492     "wires": []\r
6493   },\r
6494   {\r
6495     "id": "90f369e0.1f5ea",\r
6496     "type": "comment",\r
6497     "name": "TODO: FIXME",\r
6498     "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
6499     "comments": "",\r
6500     "x": 4526.450164794922,\r
6501     "y": 2515.1167907714844,\r
6502     "z": "f8944603.71553",\r
6503     "wires": []\r
6504   },\r
6505   {\r
6506     "id": "aecc45b1.07799",\r
6507     "type": "block",\r
6508     "name": "block : atomic",\r
6509     "xml": "<block atomic=\"true\">",\r
6510     "atomic": "true",\r
6511     "outputs": 1,\r
6512     "x": 4553.567321777344,\r
6513     "y": 2659.4570922851562,\r
6514     "z": "f8944603.71553",\r
6515     "wires": [\r
6516       [\r
6517         "d7d46b6.f157298",\r
6518         "a76ccf28.3b019",\r
6519         "6d38c2ba.e73f94"\r
6520       ]\r
6521     ]\r
6522   },\r
6523   {\r
6524     "id": "d7d46b6.f157298",\r
6525     "type": "set",\r
6526     "name": "set destination ttp-id",\r
6527     "xml": "<set>\n<parameter name='tmp.destination-secondary.ttp-id' value=\"`$tmp.aai.network-route-C.p-interface-dst.relationship-list.relationship[$dividx].relationship-data[0].relationship-value`\" />\n",\r
6528     "comments": "",\r
6529     "x": 4768.567321777344,\r
6530     "y": 2621.4570922851562,\r
6531     "z": "f8944603.71553",\r
6532     "wires": []\r
6533   },\r
6534   {\r
6535     "id": "a76ccf28.3b019",\r
6536     "type": "get-resource",\r
6537     "name": "get-resource src TTP",\r
6538     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"tunnel-termination-point\" \n\t\tkey=\"tunnel-termination-point.ttp-id = $tmp.destination-secondary.ttp-id \n\t\tAND depth = '0'\"\n        pfx='tmp.aai.destination-secondary-ttp' local-only='false' >\n\n\n",\r
6539     "comments": "",\r
6540     "outputs": 1,\r
6541     "x": 4765.567321777344,\r
6542     "y": 2660.4570922851562,\r
6543     "z": "f8944603.71553",\r
6544     "wires": [\r
6545       [\r
6546         "af66a72d.a68048"\r
6547       ]\r
6548     ]\r
6549   },\r
6550   {\r
6551     "id": "6d38c2ba.e73f94",\r
6552     "type": "break",\r
6553     "name": "break",\r
6554     "xml": "<break>\n",\r
6555     "comments": "",\r
6556     "x": 4721.067321777344,\r
6557     "y": 2702.4570922851562,\r
6558     "z": "f8944603.71553",\r
6559     "wires": []\r
6560   },\r
6561   {\r
6562     "id": "56aae750.4bf18",\r
6563     "type": "outcome",\r
6564     "name": "esr-thirdparty-sdnc",\r
6565     "xml": "<outcome value='esr-thirdparty-sdnc'>\n",\r
6566     "comments": "",\r
6567     "outputs": 1,\r
6568     "x": 4814.450164794922,\r
6569     "y": 2338.1167907714844,\r
6570     "z": "f8944603.71553",\r
6571     "wires": [\r
6572       [\r
6573         "df2c6ab5.f8c7a"\r
6574       ]\r
6575     ]\r
6576   },\r
6577   {\r
6578     "id": "807e8aa5.b5f288",\r
6579     "type": "for",\r
6580     "name": "for each relationship",\r
6581     "xml": "<for silentFailure='true' index='dpvidx' start='0' end='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship_length`' >\n",\r
6582     "comments": "",\r
6583     "outputs": 1,\r
6584     "x": 4416.450164794922,\r
6585     "y": 2334.1167907714844,\r
6586     "z": "f8944603.71553",\r
6587     "wires": [\r
6588       [\r
6589         "83815f42.db62e8"\r
6590       ]\r
6591     ]\r
6592   },\r
6593   {\r
6594     "id": "83815f42.db62e8",\r
6595     "type": "switchNode",\r
6596     "name": "switch related-to",\r
6597     "xml": "<switch test='`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].related-to`'>\n",\r
6598     "comments": "",\r
6599     "outputs": 1,\r
6600     "x": 4611.450164794922,\r
6601     "y": 2334.1167907714844,\r
6602     "z": "f8944603.71553",\r
6603     "wires": [\r
6604       [\r
6605         "56aae750.4bf18",\r
6606         "ace3955f.b78118"\r
6607       ]\r
6608     ]\r
6609   },\r
6610   {\r
6611     "id": "ace3955f.b78118",\r
6612     "type": "outcome",\r
6613     "name": "network-resource",\r
6614     "xml": "<outcome value='network-resource'>",\r
6615     "comments": "",\r
6616     "outputs": 1,\r
6617     "x": 4816.450164794922,\r
6618     "y": 2411.1167907714844,\r
6619     "z": "f8944603.71553",\r
6620     "wires": [\r
6621       [\r
6622         "86fe5017.1c8158"\r
6623       ]\r
6624     ]\r
6625   },\r
6626   {\r
6627     "id": "af66a72d.a68048",\r
6628     "type": "success",\r
6629     "name": "success",\r
6630     "xml": "<outcome value='success'>\n",\r
6631     "comments": "",\r
6632     "outputs": 1,\r
6633     "x": 4946.067321777344,\r
6634     "y": 2659.4570922851562,\r
6635     "z": "f8944603.71553",\r
6636     "wires": [\r
6637       [\r
6638         "73b98dcb.d53e2c"\r
6639       ]\r
6640     ]\r
6641   },\r
6642   {\r
6643     "id": "73b98dcb.d53e2c",\r
6644     "type": "block",\r
6645     "name": "block : atomic",\r
6646     "xml": "<block atomic=\"true\">",\r
6647     "atomic": "true",\r
6648     "outputs": 1,\r
6649     "x": 5104.067321777344,\r
6650     "y": 2659.4570922851562,\r
6651     "z": "f8944603.71553",\r
6652     "wires": [\r
6653       [\r
6654         "35f64a50.ea71a6"\r
6655       ]\r
6656     ]\r
6657   },\r
6658   {\r
6659     "id": "35f64a50.ea71a6",\r
6660     "type": "set",\r
6661     "name": "set destination tunnel tp ip",\r
6662     "xml": "<set>\n<parameter name='destination-secondary.tunnel-tp-id' value=\"`$tmp.aai.destination-secondary-ttp.tunnel-tp-id`\" />\n",\r
6663     "comments": "",\r
6664     "x": 5311.067321777344,\r
6665     "y": 2659.4570922851562,\r
6666     "z": "f8944603.71553",\r
6667     "wires": []\r
6668   },\r
6669   {\r
6670     "id": "df2c6ab5.f8c7a",\r
6671     "type": "block",\r
6672     "name": "block : atomic",\r
6673     "xml": "<block atomic=\"true\">",\r
6674     "atomic": "true",\r
6675     "outputs": 1,\r
6676     "x": 4991.450164794922,\r
6677     "y": 2330.1167907714844,\r
6678     "z": "f8944603.71553",\r
6679     "wires": [\r
6680       [\r
6681         "b41095a1.9dd71",\r
6682         "c294b821.4082d"\r
6683       ]\r
6684     ]\r
6685   },\r
6686   {\r
6687     "id": "c294b821.4082d",\r
6688     "type": "execute",\r
6689     "name": "get esr-thirdparty-sdnc",\r
6690     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\t\tresource=\"esr-thirdparty-sdnc\" \n\t\tkey=\"esr-thirdparty-sdnc.thirdparty-sdnc-id = $tmp.domainC.esr-thirdparty-id AND \n\t\t     depth = '1'\"\n        pfx='tmp.aai.domainC.esr-thirdparty-sdnc' local-only='false' >",\r
6691     "comments": "",\r
6692     "outputs": 1,\r
6693     "x": 5199.450164794922,\r
6694     "y": 2337.1167907714844,\r
6695     "z": "f8944603.71553",\r
6696     "wires": [\r
6697       [\r
6698         "cbd53666.7a192",\r
6699         "70f8105c.8c53c8",\r
6700         "d07f4c5c.e57d28"\r
6701       ]\r
6702     ]\r
6703   },\r
6704   {\r
6705     "id": "86fe5017.1c8158",\r
6706     "type": "block",\r
6707     "name": "block : atomic",\r
6708     "xml": "<block atomic=\"true\">",\r
6709     "atomic": "true",\r
6710     "outputs": 1,\r
6711     "x": 4993.450164794922,\r
6712     "y": 2403.1167907714844,\r
6713     "z": "f8944603.71553",\r
6714     "wires": [\r
6715       [\r
6716         "29792fa0.312a5"\r
6717       ]\r
6718     ]\r
6719   },\r
6720   {\r
6721     "id": "b41095a1.9dd71",\r
6722     "type": "set",\r
6723     "name": "set esr-thirdparty-sdnc domainC id",\r
6724     "xml": "<set>\n<parameter name='tmp.domainC.esr-thirdparty-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
6725     "comments": "",\r
6726     "x": 5229.450164794922,\r
6727     "y": 2285.1167907714844,\r
6728     "z": "f8944603.71553",\r
6729     "wires": []\r
6730   },\r
6731   {\r
6732     "id": "29792fa0.312a5",\r
6733     "type": "set",\r
6734     "name": "set domainC ethernet layer network-id",\r
6735     "xml": "<set>\n<parameter name='tmp.domainC.eth-network-id' value=\"`$tmp.aai.destination-secondary-pnf.relationship-list.relationship[$dpvidx].relationship-data[0].relationship-value`\" />\n",\r
6736     "comments": "",\r
6737     "x": 5228.450164794922,\r
6738     "y": 2527.1167907714844,\r
6739     "z": "f8944603.71553",\r
6740     "wires": []\r
6741   },\r
6742   {\r
6743     "id": "cbd53666.7a192",\r
6744     "type": "success",\r
6745     "name": "success",\r
6746     "xml": "<outcome value='success'>\n",\r
6747     "comments": "",\r
6748     "outputs": 1,\r
6749     "x": 5409.450164794922,\r
6750     "y": 2328.1167907714844,\r
6751     "z": "f8944603.71553",\r
6752     "wires": [\r
6753       [\r
6754         "12fe1a85.5f5265"\r
6755       ]\r
6756     ]\r
6757   },\r
6758   {\r
6759     "id": "70f8105c.8c53c8",\r
6760     "type": "not-found",\r
6761     "name": "not-found",\r
6762     "xml": "<outcome value='not-found'>\n",\r
6763     "comments": "",\r
6764     "outputs": 1,\r
6765     "x": 5401.450164794922,\r
6766     "y": 2383.1167907714844,\r
6767     "z": "f8944603.71553",\r
6768     "wires": [\r
6769       [\r
6770         "720591da.7ff908"\r
6771       ]\r
6772     ]\r
6773   },\r
6774   {\r
6775     "id": "d07f4c5c.e57d28",\r
6776     "type": "other",\r
6777     "name": "other",\r
6778     "xml": "<outcome value='Other'>\n",\r
6779     "comments": "",\r
6780     "outputs": 1,\r
6781     "x": 5406.450164794922,\r
6782     "y": 2440.1167907714844,\r
6783     "z": "f8944603.71553",\r
6784     "wires": [\r
6785       [\r
6786         "50fd00db.804e78"\r
6787       ]\r
6788     ]\r
6789   },\r
6790   {\r
6791     "id": "50fd00db.804e78",\r
6792     "type": "returnFailure",\r
6793     "name": "return failure",\r
6794     "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
6795     "comments": "",\r
6796     "x": 5558.450164794922,\r
6797     "y": 2441.1167907714844,\r
6798     "z": "f8944603.71553",\r
6799     "wires": []\r
6800   },\r
6801   {\r
6802     "id": "720591da.7ff908",\r
6803     "type": "returnFailure",\r
6804     "name": "return failure",\r
6805     "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
6806     "comments": "",\r
6807     "x": 5569.450164794922,\r
6808     "y": 2386.1167907714844,\r
6809     "z": "f8944603.71553",\r
6810     "wires": []\r
6811   },\r
6812   {\r
6813     "id": "12fe1a85.5f5265",\r
6814     "type": "block",\r
6815     "name": "block",\r
6816     "xml": "<block>\n",\r
6817     "atomic": "false",\r
6818     "comments": "",\r
6819     "outputs": 1,\r
6820     "x": 5553.832489013672,\r
6821     "y": 2325.7724609375,\r
6822     "z": "f8944603.71553",\r
6823     "wires": [\r
6824       [\r
6825         "d4fbd78f.a8b058"\r
6826       ]\r
6827     ]\r
6828   },\r
6829   {\r
6830     "id": "d4fbd78f.a8b058",\r
6831     "type": "set",\r
6832     "name": "set controller domainC data",\r
6833     "xml": "<set>\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.url' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].service-url`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.user' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].user-name`\" />\n<parameter name='prop.sdncRestApi.thirdpartySdnc.domainC.password' value=\"`$tmp.aai.domainB.esr-thirdparty-sdnc.esr-system-info-list.esr-system-info[0].password`\" />\n\n\n<!--<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >-->\n<!--<parameter name=\"restapiUrl\" value=\"`$prop.sdncRestApi.thirdpartySdnc.url + '/restconf/data/ietf-network:networks'`\" />-->\n<!--<parameter name=\"restapiUser\" value=\"`$prop.sdncRestApi.thirdpartySdnc.user`\" />-->\n<!--<parameter name=\"restapiPassword\" value=\"`$prop.sdncRestApi.thirdpartySdnc.password`\" />-->\n<!--<parameter name=\"format\" value=\"json\"/>-->\n<!--<parameter name=\"httpMethod\" value=\"get\"/>-->\n<!--<parameter name=\"responsePrefix\" value=\"topology\"/>-->\n<!--<parameter name=\"trustStoreFileName\" value=\"/opt/onap/sdnc/data/stores/truststore.onap.client.jks\"/>-->\n<!--<parameter name=\"trustStorePassword\" value=\"adminadmin\"/>-->\n<!--<parameter name=\"keyStoreFileName\" value=\"/opt/onap/sdnc/data/stores/sdnc.p12\"/>-->\n<!--<parameter name=\"keyStorePassword\" value=\"adminadmin\"/>-->\n",\r
6834     "comments": "",\r
6835     "x": 5768.450164794922,\r
6836     "y": 2322.1167907714844,\r
6837     "z": "f8944603.71553",\r
6838     "wires": []\r
6839   },\r
6840   {\r
6841     "id": "3ab03c8.bdf8544",\r
6842     "type": "switchNode",\r
6843     "name": "switch secondary empty?",\r
6844     "xml": "<switch test='`length($network-route-three) == 0`'>\n\n",\r
6845     "comments": "",\r
6846     "outputs": 1,\r
6847     "x": 3282.116668701172,\r
6848     "y": 795.1166687011719,\r
6849     "z": "f8944603.71553",\r
6850     "wires": [\r
6851       [\r
6852         "7806cbe6.64ea14",\r
6853         "91bd4861.b38048"\r
6854       ]\r
6855     ]\r
6856   },\r
6857   {\r
6858     "id": "7806cbe6.64ea14",\r
6859     "type": "outcomeTrue",\r
6860     "name": "true",\r
6861     "xml": "<outcome value='true'>\n",\r
6862     "comments": "",\r
6863     "outputs": 1,\r
6864     "x": 3404.11669921875,\r
6865     "y": 740.11669921875,\r
6866     "z": "f8944603.71553",\r
6867     "wires": [\r
6868       [\r
6869         "4d1b7d4.397bf04"\r
6870       ]\r
6871     ]\r
6872   },\r
6873   {\r
6874     "id": "91bd4861.b38048",\r
6875     "type": "outcomeFalse",\r
6876     "name": "false",\r
6877     "xml": "<outcome value='false'>\n",\r
6878     "comments": "",\r
6879     "outputs": 1,\r
6880     "x": 3391.11669921875,\r
6881     "y": 849.11669921875,\r
6882     "z": "f8944603.71553",\r
6883     "wires": [\r
6884       [\r
6885         "a8d8fc87.45b9a"\r
6886       ]\r
6887     ]\r
6888   },\r
6889   {\r
6890     "id": "4d1b7d4.397bf04",\r
6891     "type": "set",\r
6892     "name": "set hasSecondary false",\r
6893     "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n\n\n",\r
6894     "comments": "",\r
6895     "x": 3619.116668701172,\r
6896     "y": 577.1166687011719,\r
6897     "z": "f8944603.71553",\r
6898     "wires": []\r
6899   },\r
6900   {\r
6901     "id": "a8d8fc87.45b9a",\r
6902     "type": "set",\r
6903     "name": "set hasSecondary true",\r
6904     "xml": "<set>\n<parameter name='hasSecondary' value=\"true\" />\n\n\n",\r
6905     "comments": "",\r
6906     "x": 3615.116668701172,\r
6907     "y": 621.1166687011719,\r
6908     "z": "f8944603.71553",\r
6909     "wires": []\r
6910   },\r
6911   {\r
6912     "id": "87dcb71b.a618f",\r
6913     "type": "switchNode",\r
6914     "name": "switch $hasSecondary",\r
6915     "xml": "<switch test='`$hasSecondary`'>\n",\r
6916     "comments": "",\r
6917     "outputs": 1,\r
6918     "x": 3812.11669921875,\r
6919     "y": 3521.11669921875,\r
6920     "z": "f8944603.71553",\r
6921     "wires": [\r
6922       [\r
6923         "9a1c6f33.80c0c"\r
6924       ]\r
6925     ]\r
6926   },\r
6927   {\r
6928     "id": "9a1c6f33.80c0c",\r
6929     "type": "outcomeTrue",\r
6930     "name": "true",\r
6931     "xml": "<outcome value='true'>\n",\r
6932     "comments": "",\r
6933     "outputs": 1,\r
6934     "x": 4003.11669921875,\r
6935     "y": 3525.11669921875,\r
6936     "z": "f8944603.71553",\r
6937     "wires": [\r
6938       [\r
6939         "8de09ee3.1f82b8"\r
6940       ]\r
6941     ]\r
6942   },\r
6943   {\r
6944     "id": "8de09ee3.1f82b8",\r
6945     "type": "block",\r
6946     "name": "block",\r
6947     "xml": "<block>\n",\r
6948     "atomic": "false",\r
6949     "comments": "",\r
6950     "outputs": 1,\r
6951     "x": 4130.11669921875,\r
6952     "y": 3524.11669921875,\r
6953     "z": "f8944603.71553",\r
6954     "wires": [\r
6955       [\r
6956         "cc59ae49.952b8",\r
6957         "3b72359b.f45e6a"\r
6958       ]\r
6959     ]\r
6960   },\r
6961   {\r
6962     "id": "3b72359b.f45e6a",\r
6963     "type": "save",\r
6964     "name": "save SECONDARY-ROOT UNI in AAI",\r
6965     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='tp-id' value='`$tmp.SECONDARY-ROOT.uni-tp-id`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='type' value='secondary-root' />\n<parameter name='data-source' value='`$gfp`' />\n",\r
6966     "comments": "",\r
6967     "outputs": 1,\r
6968     "x": 4352.11669921875,\r
6969     "y": 3413.11669921875,\r
6970     "z": "f8944603.71553",\r
6971     "wires": [\r
6972       []\r
6973     ]\r
6974   },\r
6975   {\r
6976     "id": "d566dc7.835f6a",\r
6977     "type": "set",\r
6978     "name": "unset secondary related variables",\r
6979     "xml": "<set>\n<parameter name='hasSecondary' value=\"false\" />\n<parameter name='network-route-three' value=\"\" />\n<parameter name='tmp.aai.network-route-three.' value=\"\" />\n<parameter name='tmp.aai.network-route-C.' value=\"\" />\n",\r
6980     "comments": "",\r
6981     "x": 3357,\r
6982     "y": 453,\r
6983     "z": "f8944603.71553",\r
6984     "wires": []\r
6985   },\r
6986   {\r
6987     "id": "cc59ae49.952b8",\r
6988     "type": "switchNode",\r
6989     "name": "switch 2-ROOTS in same domain?",\r
6990     "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
6991     "comments": "",\r
6992     "outputs": 1,\r
6993     "x": 4348,\r
6994     "y": 3472,\r
6995     "z": "f8944603.71553",\r
6996     "wires": [\r
6997       [\r
6998         "e0cf290a.3bb57",\r
6999         "91bee9e5.bd12c8"\r
7000       ]\r
7001     ]\r
7002   },\r
7003   {\r
7004     "id": "e0cf290a.3bb57",\r
7005     "type": "outcomeTrue",\r
7006     "name": "true",\r
7007     "xml": "<outcome value='true'>\n",\r
7008     "comments": "",\r
7009     "outputs": 1,\r
7010     "x": 4558,\r
7011     "y": 3449,\r
7012     "z": "f8944603.71553",\r
7013     "wires": [\r
7014       [\r
7015         "2e6c4f7b.89f37"\r
7016       ]\r
7017     ]\r
7018   },\r
7019   {\r
7020     "id": "2e6c4f7b.89f37",\r
7021     "type": "block",\r
7022     "name": "block",\r
7023     "xml": "<block>\n",\r
7024     "atomic": "false",\r
7025     "comments": "",\r
7026     "outputs": 1,\r
7027     "x": 4684,\r
7028     "y": 3449,\r
7029     "z": "f8944603.71553",\r
7030     "wires": [\r
7031       [\r
7032         "e80cf077.13626"\r
7033       ]\r
7034     ]\r
7035   },\r
7036   {\r
7037     "id": "eb956f81.674a8",\r
7038     "type": "block",\r
7039     "name": "block",\r
7040     "xml": "<block>\n",\r
7041     "atomic": "false",\r
7042     "comments": "",\r
7043     "outputs": 1,\r
7044     "x": 4689,\r
7045     "y": 3498,\r
7046     "z": "f8944603.71553",\r
7047     "wires": [\r
7048       [\r
7049         "538ba095.13ecb8",\r
7050         "a894e133.03a62",\r
7051         "bbac82b0.611ad8",\r
7052         "5d08bff9.d57b18"\r
7053       ]\r
7054     ]\r
7055   },\r
7056   {\r
7057     "id": "91bee9e5.bd12c8",\r
7058     "type": "outcomeTrue",\r
7059     "name": "false",\r
7060     "xml": "<outcome value='false'>\n",\r
7061     "comments": "",\r
7062     "outputs": 1,\r
7063     "x": 4563,\r
7064     "y": 3498,\r
7065     "z": "f8944603.71553",\r
7066     "wires": [\r
7067       [\r
7068         "eb956f81.674a8"\r
7069       ]\r
7070     ]\r
7071   },\r
7072   {\r
7073     "id": "e80cf077.13626",\r
7074     "type": "save",\r
7075     "name": "save connectivityB relationship to UNI-SECONDARY-ROOT, in AAI",\r
7076     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainB-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
7077     "comments": "",\r
7078     "outputs": 1,\r
7079     "x": 5012,\r
7080     "y": 3446,\r
7081     "z": "f8944603.71553",\r
7082     "wires": [\r
7083       []\r
7084     ]\r
7085   },\r
7086   {\r
7087     "id": "538ba095.13ecb8",\r
7088     "type": "execute",\r
7089     "name": "execute UUID generator for connectivity domainC",\r
7090     "xml": "<execute plugin='org.onap.ccsdk.sli.core.slipluginutils.SliPluginUtils' method='generateUUID' >\n<parameter name=\"ctx-destination\" value=\"prop.connectivity-domainC-uuid\"/>\n",\r
7091     "comments": "",\r
7092     "outputs": 1,\r
7093     "x": 4965,\r
7094     "y": 3537,\r
7095     "z": "f8944603.71553",\r
7096     "wires": [\r
7097       []\r
7098     ]\r
7099   },\r
7100   {\r
7101     "id": "a894e133.03a62",\r
7102     "type": "save",\r
7103     "name": "save connectivity resource in AAI",\r
7104     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' -->\n<!--      key='connectivity.connectivity-id = $tmp.ROOT.uni-p-interface-long'>-->\n<!--<parameter name='connectivity-id' value='`$tmp.ROOT.uni-p-interface-long`' />-->\n<parameter name='etht-svc-name' value='`$prop.ethernet-service-name`' />\n<parameter name='operational-status' value='Created' />\n<parameter name='access-provider-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -9]`' />\n<parameter name='access-client-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -7]`' />\n<parameter name='access-topology-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -5]`' />\n<parameter name='access-node-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -3]`' />\n<parameter name='access-ltp-id' value='`$param-prefix-domainC[$param-prefix-domainC_length -1]`' />\n<parameter name='cvlan' value='`$tmp.aai.network-route-C.logical-interface-id`' />\n<parameter name='color-aware' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='vpn-type' value='secondary-root' />\n\n\n<parameter name='bandwidth-profile-name' value='`$gfp`' />\n<parameter name='cir' value='`$gfp *1000000`' />\n<parameter name='eir' value='`$gfp *1000000`' />\n<parameter name='cbs' value='`$prop.sotn.cbs`' />\n<parameter name='ebs' value='`$prop.sotn.ebs`' />\n<!--<parameter name='color-aware' value='`$prop.sotn.colorAware`' />-->\n<!--<parameter name='coupling-flag' value='`$prop.sotn.couplingFlag`' />-->\n<!--<parameter name='etht-svc-name' value='`$prop.sotn.etht-svc-name`' />-->\n<parameter name='model-customization-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-customization-uuid`' />\n<parameter name='model-invariant-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-invariant-uuid`' />\n<parameter name='model-version-id' value='`$network-topology-operation-input.network-information.onap-model-information.model-uuid`' />\n<parameter name='connectivity-selflink' value=\"`'restconf/config/GENERIC-RESOURCE-API:services/service/'  + $network-topology-operation-input.service-information.service-instance-id  + '/service-data/networks/network/'  + $prop.sotn.network-id  + '/network-data/'` \" />\n",\r
7105     "comments": "",\r
7106     "outputs": 1,\r
7107     "x": 4913,\r
7108     "y": 3579,\r
7109     "z": "f8944603.71553",\r
7110     "wires": [\r
7111       []\r
7112     ]\r
7113   },\r
7114   {\r
7115     "id": "bbac82b0.611ad8",\r
7116     "type": "save",\r
7117     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7118     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
7119     "comments": "",\r
7120     "outputs": 1,\r
7121     "x": 5042,\r
7122     "y": 3621,\r
7123     "z": "f8944603.71553",\r
7124     "wires": [\r
7125       []\r
7126     ]\r
7127   },\r
7128   {\r
7129     "id": "7be6dab9.621efc",\r
7130     "type": "comment",\r
7131     "name": "Create SECONDARY-ROOT connectivity",\r
7132     "info": "",\r
7133     "comments": "",\r
7134     "x": 4928,\r
7135     "y": 3494,\r
7136     "z": "f8944603.71553",\r
7137     "wires": []\r
7138   },\r
7139   {\r
7140     "id": "5d08bff9.d57b18",\r
7141     "type": "save",\r
7142     "name": "save connectivityC relationship to UNI-SECONDARY-ROOT, in AAI",\r
7143     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
7144     "comments": "",\r
7145     "outputs": 1,\r
7146     "x": 5020,\r
7147     "y": 3669,\r
7148     "z": "f8944603.71553",\r
7149     "wires": [\r
7150       []\r
7151     ]\r
7152   },\r
7153   {\r
7154     "id": "748bc1ca.c78678",\r
7155     "type": "comment",\r
7156     "name": "Create SECONDARY-ROOT UNI",\r
7157     "info": "",\r
7158     "comments": "",\r
7159     "x": 3840,\r
7160     "y": 3472,\r
7161     "z": "f8944603.71553",\r
7162     "wires": []\r
7163   },\r
7164   {\r
7165     "id": "286f0ec8.852352",\r
7166     "type": "switchNode",\r
7167     "name": "switch $hasSecondary",\r
7168     "xml": "<switch test='`$hasSecondary`'>\n",\r
7169     "comments": "",\r
7170     "outputs": 1,\r
7171     "x": 3815,\r
7172     "y": 4143,\r
7173     "z": "f8944603.71553",\r
7174     "wires": [\r
7175       [\r
7176         "d7543b1f.0223a"\r
7177       ]\r
7178     ]\r
7179   },\r
7180   {\r
7181     "id": "d7543b1f.0223a",\r
7182     "type": "outcomeTrue",\r
7183     "name": "true",\r
7184     "xml": "<outcome value='true'>\n",\r
7185     "comments": "",\r
7186     "outputs": 1,\r
7187     "x": 4007,\r
7188     "y": 4138,\r
7189     "z": "f8944603.71553",\r
7190     "wires": [\r
7191       [\r
7192         "8aacb5a.7bd82c8"\r
7193       ]\r
7194     ]\r
7195   },\r
7196   {\r
7197     "id": "8aacb5a.7bd82c8",\r
7198     "type": "block",\r
7199     "name": "block",\r
7200     "xml": "<block>\n",\r
7201     "atomic": "false",\r
7202     "comments": "",\r
7203     "outputs": 1,\r
7204     "x": 4136,\r
7205     "y": 4138,\r
7206     "z": "f8944603.71553",\r
7207     "wires": [\r
7208       [\r
7209         "9ecf386c.da77f"\r
7210       ]\r
7211     ]\r
7212   },\r
7213   {\r
7214     "id": "9ecf386c.da77f",\r
7215     "type": "save",\r
7216     "name": "save middle-man-conn relationship to UNI-SECONDARY-ROOT, in AAI",\r
7217     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"uni\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/unis/uni/' + $tmp.SECONDARY-ROOT.uni-p-interface-long`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"uni.id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.SECONDARY-ROOT.uni-p-interface-long`\" />",\r
7218     "comments": "",\r
7219     "outputs": 1,\r
7220     "x": 4468,\r
7221     "y": 4136,\r
7222     "z": "f8944603.71553",\r
7223     "wires": [\r
7224       []\r
7225     ]\r
7226   },\r
7227   {\r
7228     "id": "2bbca6cc.0ec622",\r
7229     "type": "switchNode",\r
7230     "name": "switch $hasSecondary",\r
7231     "xml": "<switch test='`$hasSecondary`'>\n",\r
7232     "comments": "",\r
7233     "outputs": 1,\r
7234     "x": 3803,\r
7235     "y": 4367,\r
7236     "z": "f8944603.71553",\r
7237     "wires": [\r
7238       [\r
7239         "85f62fba.be3af8"\r
7240       ]\r
7241     ]\r
7242   },\r
7243   {\r
7244     "id": "85f62fba.be3af8",\r
7245     "type": "outcomeTrue",\r
7246     "name": "true",\r
7247     "xml": "<outcome value='true'>\n",\r
7248     "comments": "",\r
7249     "outputs": 1,\r
7250     "x": 3983,\r
7251     "y": 4366,\r
7252     "z": "f8944603.71553",\r
7253     "wires": [\r
7254       [\r
7255         "f0b10235.e7e788"\r
7256       ]\r
7257     ]\r
7258   },\r
7259   {\r
7260     "id": "f0b10235.e7e788",\r
7261     "type": "block",\r
7262     "name": "block",\r
7263     "xml": "<block>\n",\r
7264     "atomic": "false",\r
7265     "comments": "",\r
7266     "outputs": 1,\r
7267     "x": 4112,\r
7268     "y": 4366,\r
7269     "z": "f8944603.71553",\r
7270     "wires": [\r
7271       [\r
7272         "ccf3ecf0.96a2b"\r
7273       ]\r
7274     ]\r
7275   },\r
7276   {\r
7277     "id": "ccf3ecf0.96a2b",\r
7278     "type": "switchNode",\r
7279     "name": "switch 2-ROOTS in same domain?",\r
7280     "xml": "<!-- This is to check the provider-id of ROOt and SECONDARY-ROOT-->\n<switch test='`$param-prefix-domainB[$param-prefix-domainB_length -9] == $param-prefix-domainC[$param-prefix-domainC_length -9]`'>\n",\r
7281     "comments": "",\r
7282     "outputs": 1,\r
7283     "x": 4329.88330078125,\r
7284     "y": 4364.88330078125,\r
7285     "z": "f8944603.71553",\r
7286     "wires": [\r
7287       [\r
7288         "cabe89a7.9d69e"\r
7289       ]\r
7290     ]\r
7291   },\r
7292   {\r
7293     "id": "cabe89a7.9d69e",\r
7294     "type": "outcomeTrue",\r
7295     "name": "false",\r
7296     "xml": "<outcome value='false'>\n",\r
7297     "comments": "",\r
7298     "outputs": 1,\r
7299     "x": 4544.88330078125,\r
7300     "y": 4364.88330078125,\r
7301     "z": "f8944603.71553",\r
7302     "wires": [\r
7303       [\r
7304         "760290ae.a21e"\r
7305       ]\r
7306     ]\r
7307   },\r
7308   {\r
7309     "id": "760290ae.a21e",\r
7310     "type": "block",\r
7311     "name": "block",\r
7312     "xml": "<block>\n",\r
7313     "atomic": "false",\r
7314     "comments": "",\r
7315     "outputs": 1,\r
7316     "x": 4676.88330078125,\r
7317     "y": 4364.88330078125,\r
7318     "z": "f8944603.71553",\r
7319     "wires": [\r
7320       [\r
7321         "d0b7affb.c1db2"\r
7322       ]\r
7323     ]\r
7324   },\r
7325   {\r
7326     "id": "d0b7affb.c1db2",\r
7327     "type": "save",\r
7328     "name": "save middle-man-conn relationship to connectivity-SECONDARY-ROOT, in AAI",\r
7329     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity:relationship-list' \n      key='connectivity.connectivity-id = $middle-man-conn.connectivity-id' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.connectivity-domainC-uuid`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.connectivity-domainC-uuid`\" />",\r
7330     "comments": "",\r
7331     "outputs": 1,\r
7332     "x": 5041,\r
7333     "y": 4364,\r
7334     "z": "f8944603.71553",\r
7335     "wires": [\r
7336       []\r
7337     ]\r
7338   },\r
7339   {\r
7340     "id": "c32fbe2a.4ce3f",\r
7341     "type": "switchNode",\r
7342     "name": "switch $hasSecondary",\r
7343     "xml": "<switch test='`$hasSecondary`'>\n",\r
7344     "comments": "",\r
7345     "outputs": 1,\r
7346     "x": 3478,\r
7347     "y": 4622,\r
7348     "z": "f8944603.71553",\r
7349     "wires": [\r
7350       [\r
7351         "f2b98ff2.538df8"\r
7352       ]\r
7353     ]\r
7354   },\r
7355   {\r
7356     "id": "f2b98ff2.538df8",\r
7357     "type": "outcomeTrue",\r
7358     "name": "true",\r
7359     "xml": "<outcome value='true'>\n",\r
7360     "comments": "",\r
7361     "outputs": 1,\r
7362     "x": 3658,\r
7363     "y": 4621,\r
7364     "z": "f8944603.71553",\r
7365     "wires": [\r
7366       [\r
7367         "44866831.1c971"\r
7368       ]\r
7369     ]\r
7370   },\r
7371   {\r
7372     "id": "44866831.1c971",\r
7373     "type": "block",\r
7374     "name": "block",\r
7375     "xml": "<block>\n",\r
7376     "atomic": "false",\r
7377     "comments": "",\r
7378     "outputs": 1,\r
7379     "x": 3787,\r
7380     "y": 4621,\r
7381     "z": "f8944603.71553",\r
7382     "wires": [\r
7383       [\r
7384         "531a8e91.6c36e8"\r
7385       ]\r
7386     ]\r
7387   },\r
7388   {\r
7389     "id": "6aa2083f.c88dc",\r
7390     "type": "comment",\r
7391     "name": "Update SECONDARY-ROOT UNI's bw",\r
7392     "info": "",\r
7393     "comments": "",\r
7394     "x": 3523,\r
7395     "y": 4680,\r
7396     "z": "f8944603.71553",\r
7397     "wires": []\r
7398   },\r
7399   {\r
7400     "id": "5db121cf.f62b2",\r
7401     "type": "save",\r
7402     "name": "update S-ROOT UNI in AAI",\r
7403     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='uni' \n      key='uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long'>\n<parameter name='id' value='`$tmp.SECONDARY-ROOT.uni-p-interface-long`' />\n<parameter name='data-source' value='`$tmp.newbw`' />\n",\r
7404     "comments": "",\r
7405     "outputs": 1,\r
7406     "x": 4089,\r
7407     "y": 4779,\r
7408     "z": "f8944603.71553",\r
7409     "wires": [\r
7410       []\r
7411     ]\r
7412   },\r
7413   {\r
7414     "id": "531a8e91.6c36e8",\r
7415     "type": "save",\r
7416     "name": "get S-root uni from aai",\r
7417     "xml": "<get-resource plugin=\"org.onap.ccsdk.sli.adaptors.aai.AAIService\" \n\tresource=\"uni\"\n\t    key=\"uni.id = $tmp.SECONDARY-ROOT.uni-p-interface-long\"\n\t\tlocal-only=\"false\" \n\t\tpfx=\"tmp.aai.secondaryrootuni\" >\n",\r
7418     "comments": "",\r
7419     "outputs": 1,\r
7420     "x": 3553,\r
7421     "y": 4713,\r
7422     "z": "f8944603.71553",\r
7423     "wires": [\r
7424       [\r
7425         "5ffa37b0.a29d98",\r
7426         "2e65d2b6.ac2056",\r
7427         "b5462b77.92e368"\r
7428       ]\r
7429     ]\r
7430   },\r
7431   {\r
7432     "id": "2e65d2b6.ac2056",\r
7433     "type": "not-found",\r
7434     "name": "not-found",\r
7435     "xml": "<outcome value='not-found'>\n",\r
7436     "comments": "",\r
7437     "outputs": 1,\r
7438     "x": 3734.490966796875,\r
7439     "y": 4690.57421875,\r
7440     "z": "f8944603.71553",\r
7441     "wires": [\r
7442       [\r
7443         "5fe821cf.842878"\r
7444       ]\r
7445     ]\r
7446   },\r
7447   {\r
7448     "id": "b5462b77.92e368",\r
7449     "type": "failure",\r
7450     "name": "failure",\r
7451     "xml": "<outcome value='failure'>\n",\r
7452     "comments": "",\r
7453     "outputs": 1,\r
7454     "x": 3723,\r
7455     "y": 4730,\r
7456     "z": "f8944603.71553",\r
7457     "wires": [\r
7458       [\r
7459         "6ea658d1.17df7"\r
7460       ]\r
7461     ]\r
7462   },\r
7463   {\r
7464     "id": "5fe821cf.842878",\r
7465     "type": "returnFailure",\r
7466     "name": "return failure",\r
7467     "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
7468     "comments": "",\r
7469     "x": 3894.0625,\r
7470     "y": 4688.85986328125,\r
7471     "z": "f8944603.71553",\r
7472     "wires": []\r
7473   },\r
7474   {\r
7475     "id": "6ea658d1.17df7",\r
7476     "type": "returnFailure",\r
7477     "name": "return failure",\r
7478     "xml": "<return status='failure'>\n<parameter name='error-code' value='' />\n<parameter name='error-message' value='' />\n",\r
7479     "comments": "",\r
7480     "x": 3884,\r
7481     "y": 4731,\r
7482     "z": "f8944603.71553",\r
7483     "wires": []\r
7484   },\r
7485   {\r
7486     "id": "4792a0c5.aeb76",\r
7487     "type": "block",\r
7488     "name": "block : atomic",\r
7489     "xml": "<block atomic=\"true\">",\r
7490     "atomic": "true",\r
7491     "outputs": 1,\r
7492     "x": 3886,\r
7493     "y": 4775,\r
7494     "z": "f8944603.71553",\r
7495     "wires": [\r
7496       [\r
7497         "78930237.780be4",\r
7498         "5db121cf.f62b2"\r
7499       ]\r
7500     ]\r
7501   },\r
7502   {\r
7503     "id": "5ffa37b0.a29d98",\r
7504     "type": "success",\r
7505     "name": "success",\r
7506     "xml": "<outcome value='success'>\n",\r
7507     "comments": "",\r
7508     "outputs": 1,\r
7509     "x": 3728,\r
7510     "y": 4767,\r
7511     "z": "f8944603.71553",\r
7512     "wires": [\r
7513       [\r
7514         "4792a0c5.aeb76"\r
7515       ]\r
7516     ]\r
7517   },\r
7518   {\r
7519     "id": "78930237.780be4",\r
7520     "type": "set",\r
7521     "name": "set new bw",\r
7522     "xml": "<set>\n<parameter name='tmp.newbw' value='`$tmp.aai.secondaryrootuni.data-source + $gfp`' />\n",\r
7523     "comments": "",\r
7524     "x": 4047,\r
7525     "y": 4707,\r
7526     "z": "f8944603.71553",\r
7527     "wires": []\r
7528   },\r
7529   {\r
7530     "id": "74408c25.ef5164",\r
7531     "type": "comment",\r
7532     "name": "populate connectivity-C variable in the context map",\r
7533     "info": "",\r
7534     "comments": "",\r
7535     "x": 4413,\r
7536     "y": 5275,\r
7537     "z": "f8944603.71553",\r
7538     "wires": []\r
7539   },\r
7540   {\r
7541     "id": "d1a4e2c9.15ac9",\r
7542     "type": "call",\r
7543     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
7544     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
7545     "comments": "",\r
7546     "outputs": 1,\r
7547     "x": 4568,\r
7548     "y": 5316,\r
7549     "z": "f8944603.71553",\r
7550     "wires": [\r
7551       []\r
7552     ]\r
7553   },\r
7554   {\r
7555     "id": "748b1299.fd2144",\r
7556     "type": "set",\r
7557     "name": "set prop.connectivity-domainC-uuid",\r
7558     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
7559     "comments": "",\r
7560     "x": 5011,\r
7561     "y": 5364,\r
7562     "z": "f8944603.71553",\r
7563     "wires": []\r
7564   },\r
7565   {\r
7566     "id": "24040f90.d6a4",\r
7567     "type": "switchNode",\r
7568     "name": "switch found-secondary-root-connectivity",\r
7569     "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
7570     "comments": "",\r
7571     "outputs": 1,\r
7572     "x": 4384,\r
7573     "y": 5374,\r
7574     "z": "f8944603.71553",\r
7575     "wires": [\r
7576       [\r
7577         "f8d36d32.9ac71",\r
7578         "9cd0c03a.a311a"\r
7579       ]\r
7580     ]\r
7581   },\r
7582   {\r
7583     "id": "f8d36d32.9ac71",\r
7584     "type": "outcomeTrue",\r
7585     "name": "true",\r
7586     "xml": "<outcome value='true'>\n",\r
7587     "comments": "",\r
7588     "outputs": 1,\r
7589     "x": 4620,\r
7590     "y": 5358,\r
7591     "z": "f8944603.71553",\r
7592     "wires": [\r
7593       [\r
7594         "d753b8f.12e03c8"\r
7595       ]\r
7596     ]\r
7597   },\r
7598   {\r
7599     "id": "d753b8f.12e03c8",\r
7600     "type": "block",\r
7601     "name": "block : atomic",\r
7602     "xml": "<block atomic='true'>",\r
7603     "atomic": "true",\r
7604     "comments": "",\r
7605     "outputs": 1,\r
7606     "x": 4764,\r
7607     "y": 5360,\r
7608     "z": "f8944603.71553",\r
7609     "wires": [\r
7610       [\r
7611         "748b1299.fd2144",\r
7612         "9643625b.90e238",\r
7613         "c3f4caa.3b73cb8"\r
7614       ]\r
7615     ]\r
7616   },\r
7617   {\r
7618     "id": "9cd0c03a.a311a",\r
7619     "type": "outcomeFalse",\r
7620     "name": "false",\r
7621     "xml": "<outcome value='false'>\n",\r
7622     "comments": "",\r
7623     "outputs": 1,\r
7624     "x": 4619,\r
7625     "y": 5406,\r
7626     "z": "f8944603.71553",\r
7627     "wires": [\r
7628       []\r
7629     ]\r
7630   },\r
7631   {\r
7632     "id": "9643625b.90e238",\r
7633     "type": "save",\r
7634     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7635     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
7636     "comments": "",\r
7637     "outputs": 1,\r
7638     "x": 5132,\r
7639     "y": 5411,\r
7640     "z": "f8944603.71553",\r
7641     "wires": [\r
7642       []\r
7643     ]\r
7644   },\r
7645   {\r
7646     "id": "c3f4caa.3b73cb8",\r
7647     "type": "save",\r
7648     "name": "update connectivity resource in AAI",\r
7649     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7650     "comments": "",\r
7651     "outputs": 1,\r
7652     "x": 5013.6669921875,\r
7653     "y": 5496.08349609375,\r
7654     "z": "f8944603.71553",\r
7655     "wires": [\r
7656       []\r
7657     ]\r
7658   },\r
7659   {\r
7660     "id": "433011d7.349ae8",\r
7661     "type": "comment",\r
7662     "name": "Update connectivity status to modified",\r
7663     "info": "",\r
7664     "comments": "",\r
7665     "x": 5014.8837890625,\r
7666     "y": 5454.88330078125,\r
7667     "z": "f8944603.71553",\r
7668     "wires": []\r
7669   },\r
7670   {\r
7671     "id": "e2691c6e.49966",\r
7672     "type": "set",\r
7673     "name": "set prop.connectivity-domainC-uuid",\r
7674     "xml": "<set>\n<!--<parameter name='prop.connectivity-domainB-uuid' value=\"`$tmp.ROOT.uni-p-interface-long`\" />-->\n<!--OR-->\n<parameter name='prop.connectivity-domainC-uuid' value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n",\r
7675     "comments": "",\r
7676     "x": 5546,\r
7677     "y": 5843,\r
7678     "z": "f8944603.71553",\r
7679     "wires": []\r
7680   },\r
7681   {\r
7682     "id": "7492e58a.da53dc",\r
7683     "type": "switchNode",\r
7684     "name": "switch found-secondary-root-connectivity",\r
7685     "xml": "\n<switch test=\"`$found-secondary-root-connectivity`\">\n\n",\r
7686     "comments": "",\r
7687     "outputs": 1,\r
7688     "x": 4919,\r
7689     "y": 5853,\r
7690     "z": "f8944603.71553",\r
7691     "wires": [\r
7692       [\r
7693         "7d7daf2e.06b168",\r
7694         "1dddd00a.b82ef8"\r
7695       ]\r
7696     ]\r
7697   },\r
7698   {\r
7699     "id": "7d7daf2e.06b168",\r
7700     "type": "outcomeTrue",\r
7701     "name": "true",\r
7702     "xml": "<outcome value='true'>\n",\r
7703     "comments": "",\r
7704     "outputs": 1,\r
7705     "x": 5152,\r
7706     "y": 5847,\r
7707     "z": "f8944603.71553",\r
7708     "wires": [\r
7709       [\r
7710         "51e74c47.c309bc"\r
7711       ]\r
7712     ]\r
7713   },\r
7714   {\r
7715     "id": "51e74c47.c309bc",\r
7716     "type": "block",\r
7717     "name": "block : atomic",\r
7718     "xml": "<block atomic='true'>",\r
7719     "atomic": "true",\r
7720     "comments": "",\r
7721     "outputs": 1,\r
7722     "x": 5299,\r
7723     "y": 5855,\r
7724     "z": "f8944603.71553",\r
7725     "wires": [\r
7726       [\r
7727         "e2691c6e.49966",\r
7728         "f2071b27.722968",\r
7729         "ce8449a1.6c0af8"\r
7730       ]\r
7731     ]\r
7732   },\r
7733   {\r
7734     "id": "1dddd00a.b82ef8",\r
7735     "type": "outcomeFalse",\r
7736     "name": "false",\r
7737     "xml": "<outcome value='false'>\n",\r
7738     "comments": "",\r
7739     "outputs": 1,\r
7740     "x": 5153,\r
7741     "y": 5897,\r
7742     "z": "f8944603.71553",\r
7743     "wires": [\r
7744       []\r
7745     ]\r
7746   },\r
7747   {\r
7748     "id": "f2071b27.722968",\r
7749     "type": "save",\r
7750     "name": "save TNNSSI (transport service instance) relationship to connectivity in AAI",\r
7751     "xml": "<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' \n      key='service-instance.service-instance-id = $vnf-topology-operation-input.service-information.service-instance-id\n         AND customer.global-customer-id = $vnf-topology-operation-input.service-information.global-customer-id \n         AND service-subscription.service-type = $vnf-topology-operation-input.service-information.subscription-service-type' \n      force=\"true\" pfx=\"tmp.AnAI-data\">\n<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />\n<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />\n<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$tmp.aai.SECONDARY-ROOT.connectivity.connectivity-id`\" />\n\n\n<!--<save plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='service-instance:relationship-list' -->\n<!--      key='service-instance.service-instance-id = $service-data.service-information.service-instance-id -->\n<!--         AND customer.global-customer-id = $service-data.networks.network[$nidx].network-data.service-information.global-customer-id -->\n<!--         AND service-subscription.service-type = $service-data.networks.network[$nidx].network-data.service-information.subscription-service-type' -->\n<!--      force=\"true\" pfx=\"tmp.AnAI-data\">-->\n<!--<parameter name=\"relationship-list.relationship[0].related-to\" value=\"connectivity\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].related-link\" value=\"`'/network/connectivities/connectivity/' + $prop.sotn.network-id`\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-key\" value=\"connectivity.connectivity-id\" />-->\n<!--<parameter name=\"relationship-list.relationship[0].relationship-data[0].relationship-value\" value=\"`$prop.sotn.network-id`\" />-->",\r
7752     "comments": "",\r
7753     "outputs": 1,\r
7754     "x": 5667,\r
7755     "y": 5890,\r
7756     "z": "f8944603.71553",\r
7757     "wires": [\r
7758       []\r
7759     ]\r
7760   },\r
7761   {\r
7762     "id": "ce8449a1.6c0af8",\r
7763     "type": "save",\r
7764     "name": "update connectivity resource in AAI",\r
7765     "xml": "<update plugin='org.onap.ccsdk.sli.adaptors.aai.AAIService' resource='connectivity' \n      key='connectivity.connectivity-id = $prop.connectivity-domainC-uuid'>\n<parameter name='connectivity-id' value='`$prop.connectivity-domainC-uuid`' />\n<parameter name='operational-status' value='Modified' />\n",\r
7766     "comments": "",\r
7767     "outputs": 1,\r
7768     "x": 5548.6669921875,\r
7769     "y": 5975.08349609375,\r
7770     "z": "f8944603.71553",\r
7771     "wires": [\r
7772       []\r
7773     ]\r
7774   },\r
7775   {\r
7776     "id": "6cf05b70.9ecfd4",\r
7777     "type": "comment",\r
7778     "name": "Update connectivity status to modified",\r
7779     "info": "",\r
7780     "comments": "",\r
7781     "x": 5549.8837890625,\r
7782     "y": 5933.88330078125,\r
7783     "z": "f8944603.71553",\r
7784     "wires": []\r
7785   },\r
7786   {\r
7787     "id": "b08c7802.5d204",\r
7788     "type": "call",\r
7789     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn",\r
7790     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-helper-find-SECONDARY-ROOT-conn' mode='sync' >\n\n",\r
7791     "comments": "",\r
7792     "outputs": 1,\r
7793     "x": 5080,\r
7794     "y": 5803,\r
7795     "z": "f8944603.71553",\r
7796     "wires": [\r
7797       []\r
7798     ]\r
7799   },\r
7800   {\r
7801     "id": "e97fbec2.db6de",\r
7802     "type": "comment",\r
7803     "name": "populate connectivity-C variable in the context map",\r
7804     "info": "",\r
7805     "comments": "",\r
7806     "x": 4914,\r
7807     "y": 5764,\r
7808     "z": "f8944603.71553",\r
7809     "wires": []\r
7810   },\r
7811   {\r
7812     "id": "651a17c0.63b678",\r
7813     "type": "switchNode",\r
7814     "name": "switch $hasSecondary",\r
7815     "xml": "<switch test='`$hasSecondary`'>\n",\r
7816     "comments": "",\r
7817     "outputs": 1,\r
7818     "x": 3241.25,\r
7819     "y": 6373.25,\r
7820     "z": "f8944603.71553",\r
7821     "wires": [\r
7822       [\r
7823         "74077cd7.2a1a94",\r
7824         "f3174188.6084b"\r
7825       ]\r
7826     ]\r
7827   },\r
7828   {\r
7829     "id": "74077cd7.2a1a94",\r
7830     "type": "outcomeTrue",\r
7831     "name": "false",\r
7832     "xml": "<outcome value='false'>\n",\r
7833     "comments": "",\r
7834     "outputs": 1,\r
7835     "x": 3432.25,\r
7836     "y": 6377.25,\r
7837     "z": "f8944603.71553",\r
7838     "wires": [\r
7839       [\r
7840         "f2351c78.3536d"\r
7841       ]\r
7842     ]\r
7843   },\r
7844   {\r
7845     "id": "f2351c78.3536d",\r
7846     "type": "block",\r
7847     "name": "block",\r
7848     "xml": "<block>\n",\r
7849     "atomic": "false",\r
7850     "comments": "",\r
7851     "outputs": 1,\r
7852     "x": 3559.25,\r
7853     "y": 6376.25,\r
7854     "z": "f8944603.71553",\r
7855     "wires": [\r
7856       [\r
7857         "9d7f2116.baeda"\r
7858       ]\r
7859     ]\r
7860   },\r
7861   {\r
7862     "id": "f3174188.6084b",\r
7863     "type": "outcomeTrue",\r
7864     "name": "true",\r
7865     "xml": "<outcome value='true'>\n",\r
7866     "comments": "",\r
7867     "outputs": 1,\r
7868     "x": 3428.25,\r
7869     "y": 6447.25,\r
7870     "z": "f8944603.71553",\r
7871     "wires": [\r
7872       [\r
7873         "84ee4e22.34786"\r
7874       ]\r
7875     ]\r
7876   },\r
7877   {\r
7878     "id": "bf4fd4bd.d3efb",\r
7879     "type": "call",\r
7880     "name": "call GENERIC-RESOURCE-API:cll-vnf-topology-operation-cll-F1-activate-w-Protection",\r
7881     "xml": "<call module='GENERIC-RESOURCE-API' rpc='cll-vnf-topology-operation-cll-F1-activate-w-Protection' mode='sync' >\n\n",\r
7882     "comments": "",\r
7883     "outputs": 1,\r
7884     "x": 3977.75,\r
7885     "y": 6446.33349609375,\r
7886     "z": "f8944603.71553",\r
7887     "wires": [\r
7888       []\r
7889     ]\r
7890   },\r
7891   {\r
7892     "id": "84ee4e22.34786",\r
7893     "type": "block",\r
7894     "name": "block",\r
7895     "xml": "<block>\n",\r
7896     "atomic": "false",\r
7897     "comments": "",\r
7898     "outputs": 1,\r
7899     "x": 3561.75,\r
7900     "y": 6449.33349609375,\r
7901     "z": "f8944603.71553",\r
7902     "wires": [\r
7903       [\r
7904         "bf4fd4bd.d3efb"\r
7905       ]\r
7906     ]\r
7907   }\r
7908 ]